    .product-page { padding: 2rem 0; }

    .product-gallery {
        display: flex;
        gap: 12px;
        background: transparent;
        border: none;
        border-radius: 0;
        overflow: visible;
    }

    .gallery-thumbs-col {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 80px;
        flex-shrink: 0;
    }

    .gallery-thumb {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        border: 2px solid var(--border-color);
        overflow: hidden;
        cursor: pointer;
        transition: all 0.2s ease;
        background: var(--bg-body);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .gallery-thumb:hover {
        border-color: var(--shop-primary);
    }

    .gallery-thumb.active {
        border-color: var(--shop-primary);
        box-shadow: 0 0 0 1px var(--shop-primary);
    }

    .gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 4px;
    }

    .main-image-container {
        flex: 1;
        position: relative;
        background: var(--bg-body);
        border-radius: 12px;
        border: 1px solid var(--border-color);
        overflow: visible;
    }

    .main-image {
        aspect-ratio: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        cursor: crosshair;
        overflow: hidden;
    }

    .main-image img {
        max-width: 85%;
        max-height: 85%;
        object-fit: contain;
        transition: opacity 0.2s;
        touch-action: none;
        transform-origin: center center;
    }

    .main-image .placeholder-icon {
        font-size: 6rem;
        color: var(--text-muted);
    }

    .main-image .image-counter {
        position: absolute;
        bottom: 12px;
        right: 12px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 500;
    }

    .gallery-nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 2;
        transition: all 0.2s;
        opacity: 0;
    }

    .main-image-container:hover .gallery-nav-btn {
        opacity: 1;
    }

    .gallery-nav-btn:hover {
        background: var(--bg-surface);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .gallery-nav-prev { left: 12px; }
    .gallery-nav-next { right: 12px; }

    /* Zoom lens overlay */
    .zoom-lens {
        display: none;
        position: absolute;
        width: 180px;
        height: 180px;
        border: 2px solid var(--shop-primary);
        background: rgba(8, 145, 178, 0.08);
        border-radius: 0;
        pointer-events: none;
        z-index: 3;
    }

    .zoom-result {
        display: none;
        position: absolute;
        top: 0;
        left: calc(100% + 16px);
        width: 400px;
        height: 400px;
        background-color: white;
        background-repeat: no-repeat;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        z-index: 100;
        overflow: hidden;
    }

    /* zoom-lens and zoom-result visibility controlled by JS */

    /* Hide zoom on touch/mobile */
    @media (hover: none) {
        .zoom-lens, .zoom-result { display: none !important; }
        .main-image { cursor: zoom-in; }
    }

    @media (max-width: 991px) {
        .product-gallery {
            flex-direction: column-reverse;
        }
        .gallery-thumbs-col {
            flex-direction: row;
            width: 100%;
            overflow-x: auto;
            padding-bottom: 4px;
        }
        .gallery-thumbs-col::-webkit-scrollbar {
            height: 4px;
        }
        .gallery-thumbs-col::-webkit-scrollbar-thumb {
            background: var(--border-color);
            border-radius: 4px;
        }
        .gallery-thumb {
            width: 64px;
            height: 64px;
        }
        .zoom-result { display: none !important; }
        .zoom-lens { display: none !important; }
        .main-image { cursor: zoom-in; }
    }

    /* ===== Lens Selection Panel ===== */
    .lens-panel-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        display: none;
        animation: fadeIn 0.2s ease;
    }

    .lens-panel-overlay.active { display: flex; justify-content: flex-end; }

    .lens-panel {
        width: 520px;
        max-width: 100%;
        height: 100%;
        background: var(--bg-surface);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
        animation: slideInRight 0.3s ease;
        overflow: hidden;
    }

    @keyframes slideInRight {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .lens-panel-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid #e5e7eb;
        flex-shrink: 0;
    }

    .lens-panel-header h3 {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 700;
    }

    .lens-panel-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-muted);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background 0.2s;
    }

    .lens-panel-close:hover { background: var(--bg-body); }

    .lens-panel-body {
        flex: 1;
        overflow-y: auto;
        padding: 1.5rem;
    }

    .lens-panel-footer {
        padding: 1rem 1.5rem;
        border-top: 1px solid var(--border-color);
        background: var(--bg-body);
        flex-shrink: 0;
    }

    .lens-panel-summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.75rem;
    }

    .lens-panel-summary .frame-name { font-size: 0.9rem; color: var(--text-muted); }
    .lens-panel-summary .frame-price { font-size: 1.1rem; font-weight: 700; }

    /* Step indicators */
    .lens-steps {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .lens-step-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #d1d5db;
        transition: all 0.2s;
    }

    .lens-step-dot.active { background: #5b21b6; width: 24px; border-radius: 4px; }
    .lens-step-dot.completed { background: #5b21b6; }

    /* Prescription type cards */
    .rx-type-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.25rem;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        margin-bottom: 0.75rem;
        cursor: pointer;
        transition: all 0.2s;
    }

    .rx-type-card:hover { border-color: #a78bfa; background: #faf5ff; }
    .rx-type-card.selected { border-color: #5b21b6; background: #faf5ff; }

    .rx-type-icon {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: #f3f4f6;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: #374151;
        flex-shrink: 0;
    }

    .rx-type-card.selected .rx-type-icon {
        background: #ede9fe;
        color: #5b21b6;
    }

    .rx-type-name { font-weight: 600; font-size: 1rem; color: #111827; }
    .rx-type-desc { font-size: 0.85rem; color: #6b7280; margin-top: 0.15rem; }

    /* Lens type cards */
    .lens-type-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.25rem;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        margin-bottom: 0.75rem;
        cursor: pointer;
        transition: all 0.2s;
    }

    .lens-type-card:hover { border-color: #a78bfa; background: #faf5ff; }
    .lens-type-card.selected { border-color: #5b21b6; background: #faf5ff; }

    .lens-type-icon {
        width: 56px;
        height: 56px;
        border-radius: 12px;
        background: #f3f4f6;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: #374151;
        flex-shrink: 0;
    }

    .lens-type-card.selected .lens-type-icon {
        background: #ede9fe;
        color: #5b21b6;
    }

    .lens-type-info { flex: 1; }
    .lens-type-name { font-weight: 600; font-size: 1rem; color: #111827; }
    .lens-type-desc { font-size: 0.85rem; color: #6b7280; margin-top: 0.25rem; }
    .lens-type-price { font-weight: 700; font-size: 1.05rem; color: #111827; white-space: nowrap; flex-shrink: 0; }

    /* Prescription form in panel */
    .rx-form-section { margin-top: 1rem; }

    .rx-on-file-banner {
        background: linear-gradient(135deg, #ede9fe 0%, #f3e8ff 100%);
        border: 1px solid #c4b5fd;
        border-radius: 12px;
        padding: 1rem 1.25rem;
        margin-bottom: 1.25rem;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .rx-on-file-banner .rx-icon {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #5b21b6;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .rx-on-file-info { flex: 1; }
    .rx-on-file-info strong { display: block; color: #5b21b6; }
    .rx-on-file-info small { color: #6b7280; }

    .rx-on-file-btn {
        background: #5b21b6;
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.85rem;
        cursor: pointer;
        white-space: nowrap;
    }

    .rx-on-file-btn:hover { background: #4c1d95; }

    .panel-rx-grid {
        display: grid;
        grid-template-columns: auto repeat(4, 1fr);
        gap: 0.5rem;
        margin-top: 0.75rem;
    }

    .panel-rx-grid .header {
        font-weight: 600;
        font-size: 0.75rem;
        color: #6b7280;
        text-align: center;
        text-transform: uppercase;
    }

    .panel-rx-grid .eye-label {
        font-weight: 600;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
    }

    .panel-rx-grid input {
        padding: 0.5rem;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        text-align: center;
        font-size: 0.9rem;
    }

    .panel-rx-grid input:focus {
        border-color: #5b21b6;
        outline: none;
        box-shadow: 0 0 0 2px rgba(91, 33, 182, 0.15);
    }

    .panel-pd-row {
        display: flex;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .panel-pd-row .form-group { flex: 1; }
    .panel-pd-row label { font-size: 0.8rem; color: #6b7280; margin-bottom: 0.25rem; display: block; }
    .panel-pd-row input { width: 100%; padding: 0.5rem; border: 1px solid #d1d5db; border-radius: 8px; text-align: center; }

    .lens-panel-add-btn {
        width: 100%;
        padding: 0.875rem;
        background: #5b21b6;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.2s;
    }

    .lens-panel-add-btn:hover { background: #4c1d95; }

    .lens-panel-back-btn {
        background: none;
        border: none;
        color: #6b7280;
        font-size: 0.9rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0;
    }

    .lens-panel-back-btn:hover { color: #111827; }

    /* Coating checkboxes in panel */
    .panel-coating-option {
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        cursor: pointer;
        transition: all 0.2s;
    }

    .panel-coating-option:hover { border-color: #a78bfa; }
    .panel-coating-option.checked { border-color: #5b21b6; background: #faf5ff; }

    .panel-coating-option input { margin-right: 0.75rem; accent-color: #5b21b6; }
    .panel-coating-option label { flex: 1; cursor: pointer; font-size: 0.9rem; }
    .panel-coating-price { font-weight: 600; color: #5b21b6; font-size: 0.9rem; }

    .rx-expired-warning {
        background: #fef2f2;
        border: 1px solid #fecaca;
        border-radius: 8px;
        padding: 0.75rem 1rem;
        margin-bottom: 1rem;
        color: #991b1b;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* Lens Education Modal */
    .lens-edu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 10001;
        display: none;
        align-items: center;
        justify-content: center;
    }
    .lens-edu-overlay.active { display: flex; }
    .lens-edu-modal {
        background: var(--bg-surface);
        border-radius: 16px;
        max-width: 600px;
        width: 90%;
        max-height: 85vh;
        overflow-y: auto;
        box-shadow: 0 16px 48px rgba(0,0,0,0.2);
        animation: fadeIn 0.2s ease;
    }
    .lens-edu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem;
        border-bottom: 1px solid #e5e7eb;
    }
    .lens-edu-header h4 { margin: 0; font-weight: 700; }
    .lens-edu-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #6b7280;
    }
    .lens-edu-body { padding: 1.5rem; }
    .lens-edu-body p { color: #4b5563; font-size: 0.95rem; line-height: 1.6; }
    .lens-edu-diagram {
        display: flex;
        gap: 2rem;
        justify-content: center;
        margin: 1.5rem 0;
    }
    .lens-diagram-item { text-align: center; }
    .lens-diagram-item h6 { font-weight: 700; margin-bottom: 0.75rem; }
    .lens-diagram-visual {
        width: 140px;
        height: 90px;
        border: 2px solid #374151;
        border-radius: 50% / 40%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        font-size: 0.8rem;
        color: #374151;
        text-align: center;
        line-height: 1.3;
    }
    .lens-edu-section { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #e5e7eb; }
    .lens-edu-section h5 { font-weight: 700; margin-bottom: 0.5rem; }
    .lens-edu-section p { margin-bottom: 0.5rem; }

    /* Lens index selection */
    .lens-index-card {
        padding: 1rem 1.25rem;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        margin-bottom: 0.75rem;
        cursor: pointer;
        transition: all 0.2s;
        position: relative;
    }
    .lens-index-card:hover { border-color: #a78bfa; background: #faf5ff; }
    .lens-index-card.selected { border-color: #5b21b6; background: #faf5ff; }
    .lens-index-card.recommended { border-color: #16a34a; }
    .lens-index-header { display: flex; justify-content: space-between; align-items: center; }
    .lens-index-name { font-weight: 600; font-size: 1rem; }
    .lens-index-price { font-weight: 700; font-size: 1.05rem; }
    .lens-index-brand { font-size: 0.8rem; color: #6b7280; }
    .lens-index-desc { font-size: 0.85rem; color: #6b7280; margin-top: 0.35rem; }
    .lens-index-stock {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.75rem;
        font-weight: 600;
        margin-top: 0.35rem;
        padding: 0.2rem 0.6rem;
        border-radius: 50px;
    }
    .lens-index-stock.in-stock { background: #dcfce7; color: #166534; }
    .lens-index-stock.by-order { background: #fef9c3; color: #854d0e; }
    .lens-index-badge {
        position: absolute;
        top: -10px;
        left: 16px;
        background: #16a34a;
        color: white;
        font-size: 0.7rem;
        font-weight: 700;
        padding: 0.2rem 0.75rem;
        border-radius: 50px;
    }
    .lens-index-note {
        background: #fffbeb;
        border: 1px solid #fde68a;
        border-radius: 8px;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        color: #92400e;
        margin-bottom: 1rem;
    }

    /* Sign in / Scan prescription */
    .rx-source-options {
        display: flex;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }
    .rx-source-btn {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.875rem 1rem;
        border: 2px solid var(--border-color);
        border-radius: 12px;
        background: var(--bg-surface);
        cursor: pointer;
        transition: all 0.2s;
        text-align: left;
    }
    .rx-source-btn:hover { border-color: #a78bfa; }
    .rx-source-btn i { font-size: 1.25rem; color: #5b21b6; }
    .rx-source-btn span { font-size: 0.9rem; font-weight: 500; }
    .rx-source-btn .chevron { margin-left: auto; color: #9ca3af; }

    /* Dropdown selectors for prescription */
    .rx-select-grid {
        display: grid;
        grid-template-columns: auto 1fr 1fr 1fr;
        gap: 0.5rem;
        margin-top: 1rem;
        background: #f9fafb;
        border-radius: 12px;
        padding: 1rem;
    }
    .rx-select-grid .header {
        font-weight: 600;
        font-size: 0.8rem;
        color: #6b7280;
        text-align: center;
        padding: 0.5rem;
        background: #eef2ff;
        border-radius: 6px;
    }
    .rx-select-grid .eye-label {
        font-weight: 700;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        padding: 0.5rem;
    }
    .rx-select-grid .eye-label small { display: block; font-weight: 400; color: #6b7280; font-size: 0.75rem; }
    .rx-select-grid select {
        padding: 0.5rem;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        font-size: 0.9rem;
        background: var(--bg-surface);
        color: var(--text-primary);
        cursor: pointer;
    }
    .rx-select-grid select:focus {
        border-color: #5b21b6;
        outline: none;
        box-shadow: 0 0 0 2px rgba(91,33,182,0.15);
    }
    .rx-pd-section {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-top: 1rem;
        background: var(--bg-body);
        border-radius: 12px;
        padding: 1rem;
    }
    .rx-pd-section label { font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
    .rx-pd-section select { padding: 0.5rem; border: 1px solid var(--border-color); border-radius: 8px; font-size: 0.9rem; background: var(--bg-surface); color: var(--text-primary); min-width: 100px; }
    .rx-2pd-toggle { font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
    .rx-2pd-toggle input { accent-color: #5b21b6; }

    /* Frame purchase options */
    .frame-purchase-options {
        display: flex;
        gap: 12px;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .frame-purchase-btn {
        flex: 1;
        padding: 1rem 1.5rem;
        border-radius: 8px;
        font-size: 1.05rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .frame-purchase-btn.btn-select-lenses {
        background: #5b21b6;
        color: white;
        border: 2px solid #5b21b6;
    }

    .frame-purchase-btn.btn-select-lenses:hover {
        background: #4c1d95;
        border-color: #4c1d95;
    }

    .frame-purchase-btn.btn-frame-only {
        background: var(--bg-surface);
        color: var(--text-primary);
        border: 2px solid var(--border-color);
    }

    .frame-purchase-btn.btn-frame-only:hover {
        border-color: var(--text-muted);
        background: var(--bg-body);
    }

    .prescription-info-section {
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 1.25rem;
        margin-top: 1rem;
    }

    .prescription-info-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-weight: 700;
        font-size: 1.05rem;
    }

    .prescription-types-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .prescription-type-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;
        color: #374151;
    }

    .prescription-type-item i {
        color: #374151;
        font-size: 0.85rem;
    }

    .product-details {
        background: var(--bg-surface);
        border-radius: 12px;
        padding: 2rem;
        border: 1px solid var(--border-color);
    }

    .product-brand {
        font-size: 0.85rem;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .product-title {
        font-size: 1.75rem;
        font-weight: 700;
        margin: 0.5rem 0 1rem;
    }

    .product-title-wrapper {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .product-title-wrapper h1 {
        flex: 1;
        margin: 0;
    }

    .wishlist-heart-btn {
        background: transparent;
        border: 2px solid var(--border-color);
        border-radius: 50%;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
        margin-top: 0.25rem;
    }

    .wishlist-heart-btn:hover {
        border-color: #ef4444;
        background: rgba(239, 68, 68, 0.1);
    }

    .wishlist-heart-btn i {
        font-size: 1.25rem;
        color: var(--text-muted);
        transition: all 0.3s ease;
    }

    .wishlist-heart-btn:hover i {
        color: #ef4444;
    }

    .wishlist-heart-btn.active {
        border-color: #ef4444;
        background: #ef4444;
    }

    .wishlist-heart-btn.active i {
        color: white;
    }

    .wishlist-heart-btn.active:hover {
        background: #dc2626;
        border-color: #dc2626;
    }

    .product-price {
        font-size: 2rem;
        font-weight: 700;
        color: var(--shop-primary);
    }

    /* Social Proof Badges */
    .social-proof-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        color: white;
        padding: 0.35rem 0.75rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        animation: pulse-glow 2s infinite;
    }

    @keyframes pulse-glow {
        0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4); }
        50% { box-shadow: 0 0 8px 2px rgba(255, 107, 53, 0.3); }
    }

    .viewer-count-badge {
        background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    }

    .viewer-count-badge.pulse {
        animation: viewer-pulse 0.5s ease-out;
    }

    @keyframes viewer-pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.08); }
        100% { transform: scale(1); }
    }

    .trust-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .trust-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.85rem;
        color: #059669;
        font-weight: 500;
    }

    .trust-badge i {
        font-size: 1rem;
    }

    .product-category, .product-subcategory {
        display: inline-block;
        background: rgba(8, 145, 178, 0.1);
        color: var(--shop-primary);
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.8rem;
    }

    .product-subcategory {
        background: rgba(100, 116, 139, 0.1);
        color: var(--text-muted);
    }

    .product-sku { font-family: monospace; }

    .stock-status .badge {
        font-size: 0.85rem;
        font-weight: 500;
    }

    /* Specifications Card */
    .specs-card {
        background: var(--bg-body);
        border-radius: 12px;
        border: 1px solid var(--border-color);
        overflow: hidden;
    }

    .specs-header {
        background: linear-gradient(135deg, var(--shop-primary) 0%, var(--shop-primary-dark) 100%);
        color: white;
        padding: 0.75rem 1rem;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .specs-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .spec-item {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .spec-item:nth-child(odd) {
        border-right: 1px solid var(--border-color);
    }

    .spec-label {
        font-size: 0.85rem;
        color: var(--text-muted);
    }

    .spec-value {
        font-weight: 600;
        color: var(--text-primary);
    }

    .frame-size-visual {
        text-align: center;
        padding: 1rem;
        background: rgba(8, 145, 178, 0.05);
        border-radius: 8px;
    }

    .size-notation {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--shop-primary);
        font-family: monospace;
    }

    .size-separator {
        margin: 0 0.25rem;
        opacity: 0.5;
    }

    .specs-section {
        background: var(--bg-body);
        border-radius: 8px;
        padding: 1rem;
        border: 1px solid var(--border-color);
    }

    .customization-section {
        background: var(--bg-body);
        border-radius: 8px;
        padding: 1.5rem;
        margin-top: 1.5rem;
        border: 1px solid var(--border-color);
    }

    .customization-title {
        font-weight: 600;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .customization-title i { color: var(--shop-primary); }

    .lens-option {
        display: flex;
        align-items: center;
        padding: 0.75rem;
        border: 2px solid var(--border-color);
        border-radius: 8px;
        margin-bottom: 0.5rem;
        cursor: pointer;
        transition: all 0.2s;
    }

    .lens-option:hover { border-color: var(--shop-primary); }
    .lens-option.selected { border-color: var(--shop-primary); background: rgba(8, 145, 178, 0.05); }

    .lens-option input { margin-right: 0.75rem; }

    .lens-option-info { flex: 1; }
    .lens-option-name { font-weight: 500; }
    .lens-option-desc { font-size: 0.8rem; color: var(--text-muted); }
    .lens-option-price { font-weight: 600; color: var(--shop-primary); }

    .coating-option {
        display: flex;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .coating-option:last-child { border-bottom: none; }
    .coating-option input { margin-right: 0.75rem; }
    .coating-option label { flex: 1; cursor: pointer; }
    .coating-price { font-weight: 500; color: var(--shop-primary); font-size: 0.9rem; }

    /* Pack Size Selector */
    .pack-size-options {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .pack-size-option {
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
        border: 2px solid var(--border-color);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s;
    }

    .pack-size-option:hover { border-color: var(--shop-primary); }
    .pack-size-option.selected { border-color: var(--shop-primary); background: rgba(8, 145, 178, 0.05); }

    .pack-size-option input {
        margin-right: 0.75rem;
        accent-color: var(--shop-primary);
    }

    .pack-size-content {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .pack-size-name { font-weight: 500; }
    .pack-size-price { font-weight: 600; color: var(--shop-primary); }
    .pack-size-perunit { font-size: 0.8rem; color: var(--text-muted); }

    /* Variant Selector */
    .variant-section {
        background: var(--bg-body);
        border-radius: 8px;
        padding: 0.85rem 1rem;
        margin-bottom: 0.75rem;
        border: 1px solid var(--border-color);
    }

    .variant-title {
        font-weight: 600;
        margin-bottom: 0.6rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .variant-title i { color: var(--shop-primary); }

    .variant-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .variant-option {
        position: relative;
        cursor: pointer;
    }

    .variant-option input {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .variant-swatch {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: 3px solid var(--border-color);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        position: relative;
        overflow: hidden;
    }

    .variant-swatch.has-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .variant-option input:checked + .variant-swatch {
        border-color: var(--shop-primary);
        box-shadow: 0 0 0 2px var(--shop-primary);
    }

    .variant-option:hover .variant-swatch {
        border-color: var(--shop-primary);
        transform: scale(1.05);
    }

    .variant-name {
        text-align: center;
        font-size: 0.75rem;
        margin-top: 0.35rem;
        color: var(--text-secondary);
        max-width: 60px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .variant-option input:checked ~ .variant-name {
        color: var(--shop-primary);
        font-weight: 600;
    }

    .variant-price-adj {
        font-size: 0.65rem;
        color: var(--text-muted);
    }

    .variant-price-adj.positive { color: #dc2626; }
    .variant-price-adj.negative { color: #16a34a; }

    .prescription-grid {
        display: grid;
        grid-template-columns: 80px repeat(4, 1fr);
        gap: 0.4rem;
        margin-top: 1rem;
        max-width: 100%;
    }

    .prescription-grid .header {
        font-weight: 600;
        font-size: 0.75rem;
        color: var(--text-muted);
        text-align: center;
        padding: 0.4rem 0.25rem;
        white-space: nowrap;
    }

    .prescription-grid .eye-label {
        font-weight: 600;
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        padding-right: 0.25rem;
    }

    .prescription-grid input, .prescription-grid select {
        padding: 0.4rem 0.25rem;
        border: 1px solid var(--border-color);
        border-radius: 6px;
        font-size: 0.85rem;
        text-align: center;
        min-width: 0;
        width: 100%;
    }

    .prescription-grid input:focus, .prescription-grid select:focus {
        border-color: var(--shop-primary);
        outline: none;
        box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.15);
    }

    .contact-lens-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 1rem;
    }

    .contact-lens-grid select {
        padding: 0.5rem;
        border: 1px solid var(--border-color);
        border-radius: 6px;
    }

    @media (max-width: 767px) {
        .prescription-grid {
            grid-template-columns: auto repeat(2, 1fr);
        }
        .prescription-grid .header:nth-child(4),
        .prescription-grid .header:nth-child(5),
        .prescription-grid input:nth-child(4n+4),
        .prescription-grid input:nth-child(4n+5) {
            /* Show all fields but stacked */
        }
    }

    @media (max-width: 576px) {
        .prescription-grid {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
        .prescription-grid .header {
            display: none;
        }
        .prescription-grid .eye-label {
            font-size: 0.95rem;
            padding: 0.5rem 0 0.25rem;
            border-top: 1px solid var(--border-color);
        }
        .prescription-grid .eye-label:first-of-type {
            border-top: none;
        }
        .prescription-grid input {
            width: 100%;
        }
        .contact-lens-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 400px) {
        .contact-lens-grid {
            grid-template-columns: 1fr;
        }
    }

    .quantity-control {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .quantity-control button {
        width: 36px;
        height: 36px;
        border: 1px solid var(--border-color);
        background: var(--bg-surface);
        border-radius: 6px;
        cursor: pointer;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .quantity-control button:hover { background: var(--bg-hover); }

    .quantity-control input {
        width: 60px;
        text-align: center;
        border: 1px solid var(--border-color);
        border-radius: 6px;
        padding: 0.5rem;
    }

    .add-to-cart-btn {
        background: var(--shop-primary);
        color: white;
        border: none;
        padding: 1rem 2rem;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .add-to-cart-btn:hover { background: var(--shop-primary-dark); }

    .product-description {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--border-color);
    }

    .related-products { margin-top: 3rem; }

    .related-products h3 {
        margin-bottom: 1.5rem;
        font-weight: 600;
    }

    .related-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .related-card {
        background: var(--bg-surface);
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid var(--border-color);
        transition: transform 0.3s, box-shadow 0.3s;
        text-decoration: none;
        color: inherit;
    }

    .related-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }

    .related-card-image {
        aspect-ratio: 4/3;
        background: var(--bg-body);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .related-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .related-card-image .placeholder-icon { font-size: 2rem; color: var(--text-muted); }

    .related-card-info { padding: 1rem; }
    .related-card-name { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.25rem; }
    .related-card-price { color: var(--shop-primary); font-weight: 700; }

    .breadcrumb-shop {
        padding: 1rem 0;
        font-size: 0.9rem;
    }

    .breadcrumb-shop a { color: var(--text-muted); text-decoration: none; }
    .breadcrumb-shop a:hover { color: var(--shop-primary); }
    .breadcrumb-shop span { color: var(--text-primary); }

    .total-price-display {
        background: rgba(8, 145, 178, 0.1);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }

    .total-price-label { font-size: 0.9rem; color: var(--text-muted); }
    .total-price-value { font-size: 1.5rem; font-weight: 700; color: var(--shop-primary); }

    /* Bundle Cards */
    .bundle-card {
        background: var(--bg-surface);
        border: 2px solid #10b981;
        border-radius: 16px;
        padding: 1.5rem;
        position: relative;
        height: 100%;
    }

    .bundle-badge {
        position: absolute;
        top: -10px;
        right: 20px;
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
        padding: 0.35rem 1rem;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.85rem;
    }

    .bundle-header h5 { font-weight: 700; margin-bottom: 0.5rem; color: var(--text-primary); }
    .bundle-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1rem; }

    .bundle-items {
        background: var(--bg-body);
        border-radius: 8px;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .bundle-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .bundle-item:last-child { border-bottom: none; }

    .bundle-item-img {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background: var(--bg-surface);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .bundle-item-img img { width: 100%; height: 100%; object-fit: cover; }
    .bundle-item-img i { color: var(--text-muted); }

    .bundle-item-info { flex: 1; }
    .bundle-item-name { font-size: 0.875rem; font-weight: 500; }
    .bundle-item-qty { 
        background: var(--shop-primary);
        color: white;
        padding: 0.1rem 0.5rem;
        border-radius: 50px;
        font-size: 0.75rem;
        margin-left: 0.5rem;
    }

    .bundle-pricing { text-align: center; }
    .bundle-price .price { font-size: 1.5rem; font-weight: 700; color: #10b981; }
    .bundle-price .savings { font-size: 0.875rem; display: block; }

    /* Recommendation Cards */
    .recommendation-card {
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 1rem;
        text-align: center;
        transition: all 0.3s;
    }

    .recommendation-card:hover {
        border-color: var(--shop-primary);
        box-shadow: 0 4px 16px rgba(8, 145, 178, 0.15);
    }

    .recommendation-card a { text-decoration: none; color: inherit; }

    .rec-image {
        width: 100%;
        aspect-ratio: 1;
        background: var(--bg-body);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        margin-bottom: 0.75rem;
    }

    .rec-image img { width: 100%; height: 100%; object-fit: cover; }
    .rec-image .placeholder-icon { font-size: 2rem; color: var(--text-muted); opacity: 0.5; }

    .rec-brand { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; }
    .rec-name { font-weight: 600; font-size: 0.9rem; margin: 0.25rem 0; line-height: 1.3; min-height: 2.6em; }
    .rec-price { color: var(--shop-primary); font-weight: 700; }

    /* Reviews Section */
    .reviews-section {
        background: var(--bg-surface);
        border-radius: 12px;
        padding: 2rem;
        margin-top: 3rem;
        border: 1px solid var(--border-color);
    }

    .reviews-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }

    .reviews-summary {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .average-rating {
        text-align: center;
    }

    .average-rating-value {
        font-size: 3rem;
        font-weight: 700;
        color: var(--text-primary);
        line-height: 1;
    }

    .average-rating-stars {
        color: #fbbf24;
        font-size: 1.25rem;
        margin: 0.5rem 0;
    }

    .review-count {
        font-size: 0.9rem;
        color: var(--text-muted);
    }

    .write-review-btn {
        background: var(--shop-primary);
        color: white;
        border: none;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .write-review-btn:hover {
        background: var(--shop-primary-dark);
    }

    .reviews-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .review-card {
        background: var(--bg-body);
        border-radius: 8px;
        padding: 1.25rem;
        border: 1px solid var(--border-color);
    }

    .review-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 0.75rem;
    }

    .review-author {
        font-weight: 600;
        color: var(--text-primary);
    }

    .review-date {
        font-size: 0.85rem;
        color: var(--text-muted);
    }

    .review-rating {
        color: #fbbf24;
        font-size: 1rem;
    }

    .review-title {
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--text-primary);
    }

    .review-content {
        color: var(--text-secondary);
        line-height: 1.6;
    }

    .reviews-empty {
        text-align: center;
        padding: 3rem;
        color: var(--text-muted);
    }

    .reviews-empty i {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.5;
    }

    .reviews-pagination {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 2rem;
    }

    .reviews-pagination button {
        padding: 0.5rem 1rem;
        border: 1px solid var(--border-color);
        background: var(--bg-surface);
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s;
    }

    .reviews-pagination button:hover:not(:disabled) {
        border-color: var(--shop-primary);
        color: var(--shop-primary);
    }

    .reviews-pagination button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .reviews-pagination button.active {
        background: var(--shop-primary);
        color: white;
        border-color: var(--shop-primary);
    }

    /* Review Modal */
    .review-modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 1050;
        padding: 1rem;
    }

    .review-modal-overlay.active {
        display: flex;
    }

    .review-modal {
        background: var(--bg-surface);
        border-radius: 12px;
        width: 100%;
        max-width: 500px;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    .review-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }

    .review-modal-header h4 {
        margin: 0;
        font-weight: 600;
    }

    .review-modal-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-muted);
        padding: 0;
        line-height: 1;
    }

    .review-modal-close:hover {
        color: var(--text-primary);
    }

    .review-modal-body {
        padding: 1.5rem;
    }

    .review-form-group {
        margin-bottom: 1.25rem;
    }

    .review-form-group label {
        display: block;
        font-weight: 500;
        margin-bottom: 0.5rem;
        color: var(--text-primary);
    }

    .review-form-group input,
    .review-form-group textarea {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        font-size: 1rem;
        background: var(--bg-body);
        color: var(--text-primary);
    }

    .review-form-group input:focus,
    .review-form-group textarea:focus {
        outline: none;
        border-color: var(--shop-primary);
    }

    .review-form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

    .star-rating-input {
        display: flex;
        gap: 0.25rem;
        flex-direction: row-reverse;
        justify-content: flex-end;
    }

    .star-rating-input input {
        display: none;
    }

    .star-rating-input label {
        font-size: 1.75rem;
        color: var(--border-color);
        cursor: pointer;
        transition: color 0.2s;
        margin: 0;
    }

    .star-rating-input label:hover,
    .star-rating-input label:hover ~ label,
    .star-rating-input input:checked ~ label {
        color: #fbbf24;
    }

    .review-submit-btn {
        width: 100%;
        background: var(--shop-primary);
        color: white;
        border: none;
        padding: 0.875rem;
        border-radius: 8px;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: background 0.2s;
    }

    .review-submit-btn:hover {
        background: var(--shop-primary-dark);
    }

    .review-submit-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

    .review-alert {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }

    .review-alert-success {
        background: rgba(16, 185, 129, 0.1);
        color: #059669;
        border: 1px solid rgba(16, 185, 129, 0.2);
    }

    .review-alert-error {
        background: rgba(239, 68, 68, 0.1);
        color: #dc2626;
        border: 1px solid rgba(239, 68, 68, 0.2);
    }

    .reviews-loading {
        text-align: center;
        padding: 2rem;
        color: var(--text-muted);
    }

    .reviews-loading i {
        font-size: 2rem;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    /* Virtual Try-On Button */
    .virtual-tryon-section {
        width: 100%;
    }

    .virtual-tryon-btn {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem 1.25rem;
        background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
        border: none;
        border-radius: 12px;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: left;
        box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    }

    .virtual-tryon-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    }

    .tryon-btn-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .tryon-btn-icon i {
        font-size: 1.5rem;
    }

    .tryon-btn-content {
        flex: 1;
    }

    .tryon-btn-title {
        display: block;
        font-weight: 600;
        font-size: 1rem;
        margin-bottom: 0.15rem;
    }

    .tryon-btn-subtitle {
        display: block;
        font-size: 0.8rem;
        opacity: 0.85;
    }

    .tryon-btn-arrow {
        font-size: 1.25rem;
        opacity: 0.7;
        transition: transform 0.2s;
    }

    .virtual-tryon-btn:hover .tryon-btn-arrow {
        transform: translateX(3px);
    }

    .pulse-highlight {
        animation: pulse-highlight 0.6s ease-in-out 3;
    }

    @keyframes pulse-highlight {
        0%, 100% { box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.4); }
        50% { box-shadow: 0 0 0 10px rgba(8, 145, 178, 0); }
    }

    /* Style Tags */
    .style-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .style-tag {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        padding: 0.25rem 0.6rem;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
        color: #6366f1;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 500;
        border: 1px solid rgba(99, 102, 241, 0.2);
    }

    .style-tag i { font-size: 0.7rem; }

    html[data-theme="dark"] .style-tag {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
        color: #a5b4fc;
        border-color: rgba(99, 102, 241, 0.3);
    }

    /* Face Shape Compatibility */
    .face-shapes-section {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
        border: 1px solid rgba(34, 197, 94, 0.2);
        border-radius: 12px;
        padding: 1.25rem;
        margin-top: 1.5rem;
    }

    .face-shapes-title {
        font-weight: 600;
        font-size: 0.95rem;
        color: #059669;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .face-shapes-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .face-shape-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.75rem 1rem;
        background: var(--bg-surface);
        border-radius: 10px;
        border: 1px solid var(--border-color);
        min-width: 80px;
        transition: all 0.2s;
    }

    .face-shape-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .face-shape-icon {
        font-size: 1.75rem;
        color: #059669;
        margin-bottom: 0.35rem;
    }

    .face-shape-name {
        font-size: 0.75rem;
        font-weight: 500;
        color: var(--text-secondary);
        text-align: center;
    }

    .face-shape-match {
        display: flex;
        gap: 2px;
        margin-top: 0.25rem;
    }

    .face-shape-match i {
        font-size: 0.55rem;
        color: #fbbf24;
    }

    /* Size Category Badge */
    .size-category-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: linear-gradient(135deg, var(--shop-primary) 0%, var(--shop-primary-dark) 100%);
        color: white;
        border-radius: 8px;
        font-weight: 700;
        font-size: 0.9rem;
    }

    /* Frame Shape Icon */
    .frame-shape-display {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .frame-shape-icon {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(8, 145, 178, 0.1);
        border-radius: 6px;
        color: var(--shop-primary);
    }

    /* Comfort Features */
    .comfort-features {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.75rem;
    }

    .comfort-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.35rem 0.75rem;
        background: rgba(34, 197, 94, 0.1);
        color: #059669;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 500;
        border: 1px solid rgba(34, 197, 94, 0.2);
    }

    .comfort-badge i { font-size: 0.85rem; }

    /* Lens Technology Badges */
    .lens-tech-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.75rem;
    }

    .lens-tech-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.35rem 0.75rem;
        background: rgba(99, 102, 241, 0.1);
        color: #6366f1;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 500;
        border: 1px solid rgba(99, 102, 241, 0.2);
    }

    .lens-tech-badge i { font-size: 0.85rem; }

    .lens-tech-badge.polarized {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
        color: #3b82f6;
        border-color: rgba(59, 130, 246, 0.3);
    }

    .lens-tech-badge.uv400 {
        background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
        color: #d97706;
        border-color: rgba(245, 158, 11, 0.3);
    }

    /* Warranty & Care Section */
    .warranty-care-section {
        background: var(--bg-body);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        margin-top: 1.5rem;
        overflow: hidden;
    }

    .warranty-header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
        border-bottom: 1px solid var(--border-color);
    }

    .warranty-badge-icon {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
        color: white;
        border-radius: 12px;
        font-size: 1.5rem;
    }

    .warranty-info h5 {
        margin: 0 0 0.25rem 0;
        font-weight: 600;
        color: var(--text-primary);
    }

    .warranty-info p {
        margin: 0;
        font-size: 0.85rem;
        color: var(--text-muted);
    }

    .warranty-care-body {
        padding: 1.25rem;
    }

    .whats-included {
        background: rgba(8, 145, 178, 0.05);
        border-radius: 8px;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .whats-included h6 {
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        color: var(--text-primary);
    }

    .included-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .included-item {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.35rem 0.75rem;
        background: var(--bg-surface);
        border-radius: 20px;
        font-size: 0.8rem;
        color: var(--text-secondary);
        border: 1px solid var(--border-color);
    }

    .included-item i { color: var(--shop-primary); }

    /* Care Instructions Accordion */
    .care-accordion {
        border: 1px solid var(--border-color);
        border-radius: 8px;
        overflow: hidden;
    }

    .care-accordion-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1rem;
        background: var(--bg-surface);
        cursor: pointer;
        transition: background 0.2s;
    }

    .care-accordion-header:hover {
        background: var(--bg-hover);
    }

    .care-accordion-title {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 500;
        font-size: 0.9rem;
    }

    .care-accordion-title i { color: var(--shop-primary); }

    .care-accordion-arrow {
        transition: transform 0.3s;
    }

    .care-accordion.open .care-accordion-arrow {
        transform: rotate(180deg);
    }

    .care-accordion-body {
        display: none;
        padding: 1rem;
        background: var(--bg-body);
        border-top: 1px solid var(--border-color);
    }

    .care-accordion.open .care-accordion-body {
        display: block;
    }

    .care-instructions-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .care-instructions-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.5rem 0;
        font-size: 0.9rem;
        color: var(--text-secondary);
        border-bottom: 1px solid var(--border-color);
    }

    .care-instructions-list li:last-child { border-bottom: none; }

    .care-instructions-list li i {
        color: var(--shop-primary);
        margin-top: 0.15rem;
    }

    /* Size Guide Button */
    .size-guide-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: transparent;
        border: 1px solid var(--shop-primary);
        color: var(--shop-primary);
        border-radius: 6px;
        font-size: 0.85rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
    }

    .size-guide-btn:hover {
        background: var(--shop-primary);
        color: white;
    }

    /* Size Guide Modal */
    .size-guide-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

    .size-guide-modal.show {
        display: flex;
    }

    .size-guide-content {
        background: var(--bg-surface);
        border-radius: 16px;
        max-width: 600px;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .size-guide-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem;
        border-bottom: 1px solid var(--border-color);
    }

    .size-guide-header h4 {
        margin: 0;
        font-weight: 600;
    }

    .size-guide-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-muted);
        cursor: pointer;
        line-height: 1;
    }

    .size-guide-body {
        padding: 1.5rem;
    }

    .size-diagram {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .size-diagram img {
        max-width: 100%;
        height: auto;
    }

    .size-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.9rem;
    }

    .size-table th, .size-table td {
        padding: 0.75rem;
        text-align: left;
        border-bottom: 1px solid var(--border-color);
    }

    .size-table th {
        background: var(--bg-body);
        font-weight: 600;
    }

    .size-table tr:hover td {
        background: rgba(8, 145, 178, 0.05);
    }

    /* Enhanced Trust Badge */
    .trust-badge.warranty {
        color: #16a34a;
    }

    .trust-badge.uv-protection {
        color: #d97706;
    }

    /* Face Shape Badge */
    .face-shape-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.4rem 0.75rem;
        border-radius: 20px;
        border: 1px solid var(--border-color);
        background: var(--bg-body);
        font-size: 0.85rem;
        color: var(--text-primary);
        text-decoration: none;
        transition: all 0.2s;
    }
    
    .face-shape-badge:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        text-decoration: none;
    }
    
    .face-shape-badge i {
        font-size: 1rem;
    }

    /* Style Tags */
    .style-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .style-tag {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        padding: 0.25rem 0.6rem;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        background: var(--bg-body);
        font-size: 0.75rem;
        color: var(--text-muted);
    }
    
    .style-tag i {
        font-size: 0.7rem;
    }

    .trust-badge.comfort {
        color: #8b5cf6;
    }

    /* Promotion Callout */
    .product-promos {
        margin-top: 1rem;
    }

    .promo-callout {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.85rem 1rem;
        background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(168, 85, 247, 0.08) 100%);
        border: 1px solid rgba(124, 58, 237, 0.2);
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .promo-callout-icon {
        color: #7c3aed;
        font-size: 1.25rem;
        flex-shrink: 0;
        margin-top: 0.1rem;
    }

    .promo-callout-content {
        flex: 1;
    }

    .promo-callout-title {
        font-weight: 600;
        font-size: 0.9rem;
        color: #7c3aed;
        margin-bottom: 0.15rem;
    }

    .promo-callout-desc {
        font-size: 0.8rem;
        color: var(--text-muted);
    }

    .promo-callout-code {
        background: rgba(124, 58, 237, 0.1);
        color: #7c3aed;
        padding: 0.2rem 0.5rem;
        border-radius: 4px;
        font-weight: 600;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    /* Estimated Delivery */
    .estimated-delivery {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        background: rgba(16, 185, 129, 0.05);
        border: 1px solid rgba(16, 185, 129, 0.2);
        border-radius: 8px;
        margin-top: 0.5rem;
    }

    .estimated-delivery-icon {
        color: #10b981;
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    .estimated-delivery-text {
        font-size: 0.85rem;
        color: var(--text-primary);
    }

    .estimated-delivery-date {
        font-weight: 600;
        color: #10b981;
    }

    /* ===== Contact Lens Prescription - New Tab Layout ===== */
    .cl-eye-tabs {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .cl-eye-tab {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.875rem 1rem;
        border: 2px solid var(--border-color);
        border-radius: 12px;
        background: var(--bg-surface);
        cursor: pointer;
        transition: all 0.25s ease;
        position: relative;
        font-size: 0.9rem;
    }

    .cl-eye-tab:hover {
        border-color: var(--shop-primary);
        background: rgba(8, 145, 178, 0.03);
    }

    .cl-eye-tab.active {
        border-color: var(--shop-primary);
        background: rgba(8, 145, 178, 0.06);
        box-shadow: 0 0 0 1px var(--shop-primary);
    }

    .cl-eye-tab.completed {
        border-color: #10b981;
    }

    .cl-eye-tab.completed .cl-eye-tab-status i {
        color: #10b981;
    }

    .cl-eye-tab-icon {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(8, 145, 178, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--shop-primary);
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .cl-eye-tab.active .cl-eye-tab-icon {
        background: var(--shop-primary);
        color: white;
    }

    .cl-eye-tab-label {
        font-weight: 600;
        color: var(--text-primary);
        flex: 1;
    }

    .cl-eye-tab-status {
        font-size: 0.85rem;
        color: var(--text-muted);
    }

    .cl-eye-inactive-badge {
        display: inline-block;
        padding: 0.2rem 0.6rem;
        background: rgba(100, 116, 139, 0.1);
        color: #64748b;
        border-radius: 20px;
        font-size: 0.7rem;
        font-weight: 500;
        white-space: nowrap;
    }

    .cl-eye-tab.left-active .cl-eye-inactive-badge {
        display: none;
    }

    .cl-copy-rx {
        margin-bottom: 1rem;
    }

    .cl-copy-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.5rem 1rem;
        background: rgba(8, 145, 178, 0.08);
        border: 1px dashed var(--shop-primary);
        border-radius: 8px;
        color: var(--shop-primary);
        font-size: 0.85rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
    }

    .cl-copy-btn:hover {
        background: rgba(8, 145, 178, 0.15);
    }

    .cl-eye-panel {
        animation: clFadeIn 0.25s ease;
    }

    @keyframes clFadeIn {
        from { opacity: 0; transform: translateY(8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .cl-rx-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.75rem;
    }

    .cl-rx-grid-2col {
        grid-template-columns: repeat(2, 1fr);
    }

    .cl-rx-field {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
    }

    .cl-rx-label {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .cl-rx-select {
        padding: 0.6rem 0.75rem;
        border: 1.5px solid var(--border-color);
        border-radius: 8px;
        font-size: 0.9rem;
        background: var(--bg-surface);
        transition: all 0.2s;
        cursor: pointer;
    }

    .cl-rx-select:focus {
        border-color: var(--shop-primary);
        outline: none;
        box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.12);
    }

    .cl-rx-select:hover {
        border-color: var(--shop-primary);
    }

    .cl-shared-params {
        margin-top: 1.25rem;
        padding-top: 1rem;
        border-top: 1px dashed var(--border-color);
    }

    .cl-shared-title {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-muted);
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
    }

    .cl-rx-summary {
        margin-top: 1rem;
        padding: 0.875rem 1rem;
        background: rgba(16, 185, 129, 0.06);
        border: 1px solid rgba(16, 185, 129, 0.2);
        border-radius: 10px;
    }

    .cl-rx-summary-title {
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #059669;
    }

    .cl-rx-summary-grid {
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .cl-rx-summary-eye {
        font-size: 0.85rem;
        color: var(--text-primary);
    }

    .cl-rx-summary-eye strong {
        color: var(--shop-primary);
        margin-right: 0.25rem;
    }

    @media (max-width: 576px) {
        .cl-eye-tabs {
            flex-direction: column;
        }
        .cl-rx-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .cl-rx-grid-2col {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 400px) {
        .cl-rx-grid {
            grid-template-columns: 1fr;
        }
    }

    /* Rx Input Mode Tabs */
    .rx-input-tabs {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
        background: #f3f4f6;
        border-radius: 10px;
        padding: 4px;
    }

    .rx-input-tab {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.6rem 1rem;
        border: none;
        background: transparent;
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #6b7280;
        cursor: pointer;
        transition: all 0.2s;
    }

    .rx-input-tab:hover { color: #374151; }

    .rx-input-tab.active {
        background: white;
        color: #5b21b6;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .rx-input-tab i { font-size: 1rem; }

    /* Rx Photo Upload Zone */
    .rx-photo-upload {
        display: none;
    }

    .rx-photo-upload.active { display: block; }

    .rx-photo-dropzone {
        border: 2px dashed #d1d5db;
        border-radius: 12px;
        padding: 2rem;
        text-align: center;
        cursor: pointer;
        transition: all 0.2s;
        background: #fafafa;
        position: relative;
    }

    .rx-photo-dropzone:hover,
    .rx-photo-dropzone.dragover {
        border-color: #5b21b6;
        background: #faf5ff;
    }

    .rx-photo-dropzone-icon {
        font-size: 2.5rem;
        color: #9ca3af;
        margin-bottom: 0.75rem;
    }

    .rx-photo-dropzone:hover .rx-photo-dropzone-icon,
    .rx-photo-dropzone.dragover .rx-photo-dropzone-icon {
        color: #5b21b6;
    }

    .rx-photo-dropzone-title {
        font-weight: 600;
        font-size: 0.95rem;
        color: #374151;
        margin-bottom: 0.25rem;
    }

    .rx-photo-dropzone-desc {
        font-size: 0.8rem;
        color: #9ca3af;
    }

    .rx-photo-dropzone-actions {
        display: flex;
        gap: 0.75rem;
        justify-content: center;
        margin-top: 1rem;
    }

    .rx-photo-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        border: 1px solid #d1d5db;
        background: white;
        color: #374151;
    }

    .rx-photo-btn:hover { border-color: #5b21b6; color: #5b21b6; }

    .rx-photo-btn.primary {
        background: #5b21b6;
        color: white;
        border-color: #5b21b6;
    }

    .rx-photo-btn.primary:hover { background: #4c1d95; }

    .rx-photo-input { display: none; }

    /* Upload progress / preview */
    .rx-photo-preview {
        display: none;
        border: 2px solid #10b981;
        border-radius: 12px;
        padding: 1rem;
        background: rgba(16, 185, 129, 0.05);
    }

    .rx-photo-preview.active { display: flex; align-items: center; gap: 1rem; }

    .rx-photo-thumb {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        object-fit: cover;
        border: 1px solid #e5e7eb;
        background: white;
    }

    .rx-photo-thumb-placeholder {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        border: 1px solid #e5e7eb;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: #10b981;
    }

    .rx-photo-info { flex: 1; }
    .rx-photo-name { font-weight: 600; font-size: 0.9rem; color: #374151; }
    .rx-photo-status { font-size: 0.8rem; color: #10b981; margin-top: 0.15rem; }

    .rx-photo-remove {
        background: none;
        border: none;
        color: #ef4444;
        cursor: pointer;
        font-size: 1.25rem;
        padding: 0.25rem;
        border-radius: 6px;
        transition: background 0.2s;
    }

    .rx-photo-remove:hover { background: rgba(239, 68, 68, 0.1); }

    .rx-photo-uploading {
        display: none;
        text-align: center;
        padding: 1.5rem;
    }

    .rx-photo-uploading.active { display: block; }

    .rx-photo-spinner {
        width: 36px;
        height: 36px;
        border: 3px solid #e5e7eb;
        border-top-color: #5b21b6;
        border-radius: 50%;
        animation: rxSpin 0.8s linear infinite;
        margin: 0 auto 0.75rem;
    }

    @keyframes rxSpin {
        to { transform: rotate(360deg); }
    }

    .rx-photo-note {
        margin-top: 1rem;
        padding: 0.75rem 1rem;
        background: rgba(59, 130, 246, 0.05);
        border: 1px solid rgba(59, 130, 246, 0.2);
        border-radius: 8px;
        font-size: 0.8rem;
        color: #3b82f6;
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .rx-photo-note i { margin-top: 0.1rem; flex-shrink: 0; }

    /* ===== Product Accordion (Collapsible Sections) ===== */
    .product-accordion-section {
        border: 1px solid var(--border-color);
        border-radius: 12px;
        overflow: hidden;
        margin-top: 1.5rem;
        background: var(--bg-body);
    }

    .product-accordion-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.25rem;
        background: none;
        border: none;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-primary);
        cursor: pointer;
        transition: background 0.2s;
    }

    .product-accordion-toggle:hover {
        background: rgba(8, 145, 178, 0.04);
    }

    .product-accordion-toggle span {
        display: flex;
        align-items: center;
    }

    .accordion-chevron {
        transition: transform 0.3s ease;
        font-size: 0.85rem;
        color: var(--text-muted);
    }

    .product-accordion-section.open .accordion-chevron {
        transform: rotate(180deg);
    }

    .product-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        padding: 0 1.25rem;
    }

    .product-accordion-section.open .product-accordion-content {
        max-height: 2000px;
        padding: 0 1.25rem 1.25rem;
    }

    /* Specs card accordion override */
    .specs-card.product-accordion-section .product-accordion-toggle {
        background: linear-gradient(135deg, var(--shop-primary) 0%, var(--shop-primary-dark) 100%);
        color: white;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .specs-card.product-accordion-section .product-accordion-toggle:hover {
        background: linear-gradient(135deg, var(--shop-primary-dark) 0%, var(--shop-primary) 100%);
    }

    .specs-card.product-accordion-section .accordion-chevron {
        color: rgba(255, 255, 255, 0.8);
    }

    .specs-card.product-accordion-section.open .product-accordion-content {
        padding: 0;
    }

    /* ===== Face Shapes Modern Redesign ===== */
    .face-shapes-modern {
        border: 1px solid var(--border-color);
        border-radius: 16px;
        padding: 1.25rem;
        background: var(--bg-body);
    }

    .face-shapes-modern-header {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        margin-bottom: 1rem;
    }

    .face-shapes-modern-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(8, 145, 178, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        color: var(--shop-primary);
        flex-shrink: 0;
    }

    .face-shapes-modern-title {
        font-weight: 700;
        font-size: 0.95rem;
        color: var(--text-primary);
    }

    .face-shapes-modern-subtitle {
        font-size: 0.8rem;
        color: var(--text-muted);
        margin-top: 0.1rem;
    }

    .face-shapes-modern-grid {
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .face-shape-modern-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 0.85rem 1.15rem;
        border-radius: 14px;
        background: var(--bg-surface);
        border: 1.5px solid var(--border-color);
        text-decoration: none;
        color: var(--text-primary);
        transition: all 0.25s ease;
        position: relative;
        min-width: 90px;
    }

    .face-shape-modern-card:hover {
        border-color: var(--shop-primary);
        background: rgba(8, 145, 178, 0.04);
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(8, 145, 178, 0.12);
        text-decoration: none;
        color: var(--text-primary);
    }

    .face-shape-modern-icon-wrap {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(8, 145, 178, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.35rem;
        color: var(--shop-primary);
    }

    .face-shape-modern-name {
        font-size: 0.8rem;
        font-weight: 600;
        text-align: center;
    }

    .face-shape-modern-check {
        position: absolute;
        top: 6px;
        right: 6px;
        font-size: 0.7rem;
        color: #10b981;
    }

    /* ===== Loyalty Points Section ===== */
    .loyalty-points-section {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .loyalty-points-card {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.65rem 1rem;
        border: 1.5px solid rgba(234, 179, 8, 0.3);
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(234, 179, 8, 0.06) 0%, rgba(245, 158, 11, 0.04) 100%);
        transition: all 0.2s;
    }

    .loyalty-points-card:hover {
        border-color: rgba(234, 179, 8, 0.5);
        box-shadow: 0 4px 12px rgba(234, 179, 8, 0.1);
    }

    .loyalty-points-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #f59e0b, #eab308);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .loyalty-points-info {
        flex: 1;
    }

    .loyalty-points-title {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .loyalty-points-value {
        font-size: 1rem;
        font-weight: 700;
        color: #b45309;
    }

    html[data-theme="dark"] .loyalty-points-value {
        color: #fbbf24;
    }

    .loyalty-points-cta {
        padding: 0.4rem 0.85rem;
        border-radius: 8px;
        background: linear-gradient(135deg, #f59e0b, #eab308);
        color: white;
        font-size: 0.8rem;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
        transition: all 0.2s;
    }

    .loyalty-points-cta:hover {
        background: linear-gradient(135deg, #d97706, #ca8a04);
        color: white;
        text-decoration: none;
        transform: translateY(-1px);
    }

    /* Lens Panel Dark Mode */
    html[data-theme="dark"] .lens-panel-header {
        border-bottom-color: var(--border-color);
    }

    html[data-theme="dark"] .lens-step-dot {
        background: #4b5563;
    }

    html[data-theme="dark"] .lens-step-dot.active,
    html[data-theme="dark"] .lens-step-dot.completed {
        background: #7c3aed;
    }

    html[data-theme="dark"] .rx-type-card {
        border-color: var(--border-color);
        background: transparent;
    }

    html[data-theme="dark"] .rx-type-card:hover {
        border-color: #a78bfa;
        background: rgba(91, 33, 182, 0.1);
    }

    html[data-theme="dark"] .rx-type-card.selected {
        border-color: #7c3aed;
        background: rgba(91, 33, 182, 0.1);
    }

    html[data-theme="dark"] .rx-type-icon {
        background: rgba(255, 255, 255, 0.08);
        color: #e2e8f0;
    }

    html[data-theme="dark"] .rx-type-card.selected .rx-type-icon {
        background: rgba(124, 58, 237, 0.2);
        color: #a78bfa;
    }

    html[data-theme="dark"] .rx-type-name,
    html[data-theme="dark"] .lens-type-name,
    html[data-theme="dark"] .lens-type-price {
        color: #e2e8f0;
    }

    html[data-theme="dark"] .rx-type-desc,
    html[data-theme="dark"] .lens-type-desc {
        color: #94a3b8;
    }

    html[data-theme="dark"] .lens-type-card {
        border-color: var(--border-color);
        background: transparent;
    }

    html[data-theme="dark"] .lens-type-card:hover {
        border-color: #a78bfa;
        background: rgba(91, 33, 182, 0.1);
    }

    html[data-theme="dark"] .lens-type-card.selected {
        border-color: #7c3aed;
        background: rgba(91, 33, 182, 0.1);
    }

    html[data-theme="dark"] .lens-type-icon {
        background: rgba(255, 255, 255, 0.08);
        color: #e2e8f0;
    }

    html[data-theme="dark"] .lens-type-card.selected .lens-type-icon {
        background: rgba(124, 58, 237, 0.2);
        color: #a78bfa;
    }

    html[data-theme="dark"] .rx-on-file-banner {
        background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(147, 51, 234, 0.1) 100%);
        border-color: rgba(124, 58, 237, 0.3);
    }

    html[data-theme="dark"] .rx-on-file-info strong {
        color: #a78bfa;
    }

    html[data-theme="dark"] .rx-on-file-info small {
        color: #94a3b8;
    }

    html[data-theme="dark"] .panel-rx-grid .header {
        color: #94a3b8;
    }

    html[data-theme="dark"] .panel-rx-grid input {
        background: rgba(30, 41, 59, 0.8);
        border-color: var(--border-color);
        color: #e2e8f0;
    }

    html[data-theme="dark"] .panel-rx-grid input:focus {
        border-color: #7c3aed;
        box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
    }
