/* ===== ORIENT SOLUTIONS INC - SINGLE PRODUCT PAGE (NEUTRAL THEME) ===== */
.osi-product-wrapper {
    font-family: inherit;
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    color: #1a1a1a;
    position: relative;
    overflow-x: hidden;
}

.osi-product-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.osi-product-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Background Effects */
.osi-product-wrapper::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 20% 40%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 55%, rgba(37, 99, 235, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 75%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.osi-product-content-wrap {
    position: relative;
    z-index: 1;
    padding: 60px 0 80px;
}

/* ===== BREADCRUMB ===== */
.osi-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.osi-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.osi-breadcrumb a:hover {
    color: #0f172a;
}

.osi-breadcrumb .osi-separator {
    color: #9ca3af;
    font-size: 0.75rem;
}

.osi-breadcrumb .osi-current {
    color: #3b82f6;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== PRODUCT MAIN GRID ===== */
.osi-product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* ===== IMAGE SLIDER ===== */
.osi-product-gallery {
    position: relative;
}

.osi-slider-main {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.osi-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
}

.osi-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    user-select: none;
}

.osi-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.osi-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.osi-slider-arrow:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.osi-slider-arrow.osi-prev {
    left: 16px;
}

.osi-slider-arrow.osi-next {
    right: 16px;
}

.osi-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.osi-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.osi-slider-dot.osi-active-dot {
    background: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Thumbnail Strip */
.osi-thumbnail-strip {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.osi-thumbnail {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.osi-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.osi-thumbnail:hover {
    border-color: #cbd5e1;
}

.osi-thumbnail.osi-thumb-active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* ===== PRODUCT DETAILS ===== */
.osi-product-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.osi-product-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #475569;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    width: fit-content;
}

.osi-product-details h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.osi-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.osi-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.osi-rating-count {
    color: #64748b;
    font-size: 0.85rem;
}

.osi-product-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.osi-current-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
}

.osi-original-price {
    font-size: 1.1rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.osi-discount-badge {
    background: #fef2f2;
    color: #ef4444;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.osi-product-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.75;
}

.osi-product-features {
    list-style: none;
    display: grid;
    gap: 10px;
}

.osi-product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-size: 0.9rem;
}

.osi-feature-check {
    width: 20px;
    height: 20px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #fff;
    flex-shrink: 0;
}

.osi-product-tags-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.osi-product-tags-row span {
    color: #64748b;
    font-size: 0.85rem;
}

.osi-tag-badges {
    display: flex;
    gap: 8px;
}

.osi-tag-badge {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.85rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    cursor: default;
    font-weight: 500;
}

.osi-tag-badge:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

/* ===== ORDER BUTTONS ===== */
.osi-order-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.osi-btn-order-now {
    background: #0f172a;
    color: #ffffff;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.osi-btn-order-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #1e293b;
}

.osi-btn-inquire {
    background: #ffffff;
    color: #0f172a;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.osi-btn-inquire:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-3px);
}

/* ===== TABS SECTION ===== */
.osi-product-tabs {
    margin-bottom: 80px;
}

.osi-tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 32px;
}

.osi-tab-btn {
    background: none;
    border: none;
    color: #9ca3af;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.osi-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #3b82f6;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.osi-tab-btn:hover {
    color: #475569;
}

.osi-tab-btn.osi-tab-active {
    color: #3b82f6;
}

.osi-tab-btn.osi-tab-active::after {
    transform: scaleX(1);
}

.osi-tab-panel {
    display: none;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.8;
}

.osi-tab-panel.osi-tab-visible {
    display: block;
}

.osi-tab-panel ul {
    list-style: none;
    padding: 0;
}

.osi-tab-panel ul li {
    padding: 8px 0 8px 20px;
    position: relative;
}

.osi-tab-panel ul li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: #3b82f6;
}

/* ===== RELATED PRODUCTS ===== */
.osi-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.osi-section-label {
    display: inline-block;
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.osi-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.osi-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.osi-related-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 18px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.osi-related-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    background: #f8fafc;
}

.osi-related-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

.osi-related-card h4 {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.osi-related-card .osi-related-price {
    color: #0f172a;
    font-weight: 700;
}

/* ===== CUSTOM SCROLLBAR FOR MODAL ===== */
.osi-modal::-webkit-scrollbar {
    width: 6px;
}

.osi-modal::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
    margin: 10px 0;
}

.osi-modal::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.osi-modal::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.osi-modal {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

/* ===== MODAL OVERLAY ===== */
.osi-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    padding: 20px;
}

.osi-modal-overlay.osi-modal-open {
    opacity: 1;
    visibility: visible;
}

.osi-modal {
    background: #ffffff;
    border-radius: 24px;
    max-width: 560px;
    width: 100%;
    border: 1px solid #e2e8f0;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    position: relative;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.osi-modal-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #ffffff;
    padding: 28px 32px 20px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
    border-radius: 24px 24px 0 0;
}

.osi-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.osi-modal-header .osi-modal-product-name {
    color: #3b82f6;
    font-size: 0.9rem;
    font-weight: 500;
}

.osi-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 1.2rem;
    transition: all 0.3s;
    z-index: 11;
}

.osi-modal-close:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #ef4444;
}

.osi-modal-body {
    padding: 24px 32px 8px;
    overflow-y: auto;
    flex: 1;
}

.osi-modal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.osi-form-group label {
    display: block;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 7px;
}

.osi-form-group input,
.osi-form-group textarea,
.osi-form-group select {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 13px 16px;
    color: #0f172a;
    font-size: 0.92rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
    line-height: 1.5;
}

.osi-form-group input:hover,
.osi-form-group textarea:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.osi-form-group input:focus,
.osi-form-group textarea:focus,
.osi-form-group select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: #ffffff;
}

.osi-form-group input::placeholder,
.osi-form-group textarea::placeholder {
    color: #9ca3af;
}

.osi-form-group textarea {
    min-height: 70px;
    resize: vertical;
}

.osi-qty-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.osi-qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 600;
}

.osi-qty-btn:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #0f172a;
}

.osi-qty-btn:active {
    transform: scale(0.95);
}

.osi-qty-input {
    width: 70px !important;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem !important;
    padding: 12px 8px !important;
}

.osi-modal-footer {
    position: sticky;
    bottom: 0;
    z-index: 10;
    background: #ffffff;
    padding: 16px 32px 28px;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.osi-modal-submit {
    background: #0f172a;
    color: #ffffff;
    padding: 15px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.osi-modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #1e293b;
}

.osi-modal-submit:active {
    transform: scale(0.98);
}

.osi-modal-divider {
    text-align: center;
    color: #9ca3af;
    font-size: 0.8rem;
    position: relative;
}

.osi-modal-divider::before,
.osi-modal-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 38%;
    height: 1px;
    background: #e2e8f0;
}

.osi-modal-divider::before {
    left: 0;
}

.osi-modal-divider::after {
    right: 0;
}

.osi-modal-whatsapp {
    background: #25D366;
    color: #fff;
    padding: 15px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.osi-modal-whatsapp:hover {
    background: #1fbc55;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
    transform: translateY(-2px);
}

.osi-success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.osi-success-message.osi-success-visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.osi-success-icon {
    font-size: 5rem;
    display: block;
    margin-bottom: 20px;
    animation: osi-bounce-in 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes osi-bounce-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.25);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.osi-success-message h3 {
    color: #0f172a;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.osi-success-message p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 380px;
}

.osi-success-message .osi-order-ref {
    color: #3b82f6;
    font-weight: 700;
    margin-top: 10px;
}

.osi-btn-close-success {
    background: #f1f5f9;
    color: #475569;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    font-family: inherit;
    margin-top: 24px;
    transition: all 0.3s;
}

.osi-btn-close-success:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.osi-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.osi-reveal.osi-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .osi-product-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .osi-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .osi-product-container {
        padding: 0 20px;
    }

    .osi-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .osi-order-actions {
        flex-direction: column;
    }

    .osi-modal {
        max-height: 90vh;
        border-radius: 20px;
    }

    .osi-modal-header {
        padding: 22px 20px 16px;
        border-radius: 20px 20px 0 0;
    }

    .osi-modal-body {
        padding: 18px 20px 4px;
    }

    .osi-modal-footer {
        padding: 14px 20px 22px;
        border-radius: 0 0 20px 20px;
    }

    .osi-modal-header h3 {
        font-size: 1.3rem;
    }
}