/* components/lens-product/lens-product.css — استایل‌های اختصاصی صفحه تک محصولی عدسی */

.single-lens-product-page {
    padding: 30px 0 60px;
    background: #F8FAFC;
}

/* Breadcrumb */
.lens-breadcrumb {
    margin-bottom: 25px;
}
.lens-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: #64748B;
}
.lens-breadcrumb li a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}
.lens-breadcrumb li a:hover {
    color: #0F172A;
}
.lens-breadcrumb li::after {
    content: "/";
    margin-right: 8px;
    color: #CBD5E1;
}
.lens-breadcrumb li:last-child::after {
    content: "";
}
.lens-breadcrumb li.active {
    color: #0F172A;
    font-weight: 600;
}

/* Main Product Card & Grid */
.lens-product-main-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid #E2E8F0;
    margin-bottom: 40px;
}
.lens-product-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 992px) {
    .lens-product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .lens-visual-col {
        max-width: 380px;
        margin: 0 auto;
        width: 100%;
    }
}

/* Left Visual Column - Full Box Image */
.lens-visual-wrapper {
    position: relative;
    background: #FFFFFF;
    border-radius: 18px;
    overflow: hidden;
    padding: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.lens-badge-index {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.85);
    color: #FFF;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.lens-main-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.lens-visual-wrapper:hover .lens-main-img {
    transform: scale(1.05);
}
.lens-brand-tag {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.82rem;
    font-weight: 700;
    color: #1E293B;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    z-index: 2;
    white-space: nowrap;
}

.lens-trust-badges {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F8FAFC;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.82rem;
    color: #334155;
    font-weight: 500;
    border: 1px solid #F1F5F9;
}
.trust-item i {
    color: #D39D4E;
    font-size: 1rem;
}

/* Right Details Column */
.lens-header-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.lens-header-tags .meta-tag {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}
.lens-header-tags .brand-tag {
    background: #F1F5F9;
    color: #0F172A;
}

.lens-product-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 14px;
    line-height: 1.35;
}
.lens-short-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Specifications Table Section */
.lens-specs-section {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid #E2E8F0;
    margin-bottom: 40px;
}
.section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title i {
    color: #D39D4E;
}

.specs-table-wrapper {
    overflow-x: auto;
}
.lens-specs-table {
    width: 100%;
    border-collapse: collapse;
}
.lens-specs-table th, 
.lens-specs-table td {
    padding: 14px 18px;
    font-size: 0.9rem;
    border-bottom: 1px solid #F1F5F9;
    text-align: right;
}
.lens-specs-table th {
    width: 30%;
    color: #475569;
    font-weight: 600;
    background: #F8FAFC;
}
.lens-specs-table th i {
    margin-left: 6px;
    color: #64748B;
}
.lens-specs-table td {
    color: #0F172A;
    font-weight: 500;
}

/* Related Lenses Section */
.lens-related-section {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid #E2E8F0;
}
.related-lenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.related-lens-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 20px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.related-lens-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #CBD5E1;
}
.related-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748B;
    background: #E2E8F0;
    padding: 3px 8px;
    border-radius: 6px;
    align-self: flex-start;
    margin-bottom: 10px;
}
.related-lens-card h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 15px;
    line-height: 1.4;
}
.related-lens-card .btn-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #2563EB;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Purchase Experiences / Reviews Section */
.lens-reviews-section {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid #E2E8F0;
    margin-bottom: 40px;
    scroll-margin-top: 100px;
}
.reviews-container-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 35px;
    margin-top: 25px;
}
@media (max-width: 992px) {
    .reviews-container-grid {
        grid-template-columns: 1fr;
    }
}
.card-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-intro {
    font-size: 0.85rem;
    color: #64748B;
    margin-bottom: 20px;
}
.review-form-card, .reviews-list-card {
    background: #F8FAFC;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #E2E8F0;
}
.lens-review-form .form-group {
    margin-bottom: 16px;
}
.lens-review-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.lens-review-form .form-control {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #CBD5E1;
    font-size: 0.88rem;
    background: #FFF;
    color: #0F172A;
    outline: none;
    transition: border-color 0.2s;
}
.lens-review-form .form-control:focus {
    border-color: #2563EB;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.btn-submit-review {
    width: 100%;
    padding: 12px;
    background: #0F172A;
    color: #FFF;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-submit-review:hover {
    background: #1E293B;
}
.login-prompt-box {
    text-align: center;
    padding: 25px 15px;
    background: #FFF;
    border-radius: 12px;
    border: 1px dashed #CBD5E1;
}
.btn-login-prompt {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #2563EB;
    color: #FFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
}
.empty-reviews-state {
    text-align: center;
    padding: 40px 20px;
    color: #94A3B8;
}
.empty-reviews-state i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.lens-reviews-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 520px;
    overflow-y: auto;
    padding-left: 5px;
}
.experience-item {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.exp-header .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
}
.user-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0F172A;
    display: block;
}
.buyer-badge {
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.buyer-badge.is-buyer,
.buyer-badge:not(.is-not-buyer) {
    color: #059669;
}
.buyer-badge.is-not-buyer {
    color: #64748B;
    background: #F1F5F9;
    padding: 1px 7px;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
    font-size: 0.68rem;
    margin-top: 2px;
}
.buyer-badge.is-not-buyer i {
    color: #94A3B8;
    font-size: 0.68rem;
}
.exp-meta-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.meta-pill {
    font-size: 0.74rem;
    background: #F1F5F9;
    color: #475569;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.meta-pill i {
    color: #64748B;
    font-size: 0.78rem;
}
.exp-text {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 576px) {
    .lens-product-main-card,
    .lens-reviews-section {
        padding: 24px 16px;
        border-radius: 16px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .lens-product-title {
        font-size: 1.35rem;
    }
}

/* =========================================================================
   Quick Specs Strip & Custom Order Interactive Box
   ========================================================================= */
.lens-quick-specs-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 24px;
}
.lens-quick-specs-strip .spec-pill {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.lens-quick-specs-strip .spec-pill .lbl {
    color: #64748B;
}
.lens-quick-specs-strip .spec-pill .val {
    color: #0F172A;
    font-weight: 700;
}

/* Custom Lens Order Box */
.custom-lens-order-box {
    background: #F8FAFC;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.price-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #CBD5E1;
    margin-bottom: 18px;
}
.price-pair-wrapper .price-lbl {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}
.price-pair-wrapper .price-lbl i {
    color: #3B82F6;
}
.price-pair-wrapper .price-big {
    font-size: 1.8rem;
    font-weight: 900;
    color: #059669;
}
.price-pair-wrapper .price-big .unit {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748B;
}
.price-single-wrapper {
    font-size: 0.82rem;
    color: #64748B;
    background: #FFF;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}
.price-single-wrapper .val {
    font-weight: 700;
    color: #334155;
}

.snapppay-installment-badge {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.1) 0%, rgba(225, 29, 72, 0.15) 100%);
    border: 1px solid rgba(225, 29, 72, 0.25);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #9F1239;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.snapppay-installment-badge .snapp-icon {
    font-size: 1.1rem;
    color: #E11D48;
}

.custom-addons-selector .addons-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.custom-addons-selector .addons-title i {
    color: #D97706;
}
.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
}
.addon-checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.addon-checkbox-card:hover {
    border-color: #93C5FD;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}
.addon-checkbox-card input[type="checkbox"] {
    margin-top: 4px;
    accent-color: #2563EB;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.addon-checkbox-card .addon-info {
    flex: 1;
}
.addon-checkbox-card .addon-info .name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1E293B;
    display: block;
    line-height: 1.35;
}
.addon-checkbox-card .addon-info .desc {
    font-size: 0.72rem;
    color: #64748B;
    display: block;
    margin-top: 2px;
}
.addon-checkbox-card .addon-price {
    font-size: 0.76rem;
    font-weight: 700;
    color: #2563EB;
    white-space: nowrap;
}

/* Action Buttons */
.custom-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}
.btn-direct-order {
    flex: 1;
    min-width: 220px;
    background: #059669;
    color: #FFF;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}
.btn-direct-order:hover {
    background: #047857;
    transform: translateY(-1px);
}
.btn-mark-wizard-action {
    background: #F1F5F9;
    color: #334155;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-mark-wizard-action:hover {
    background: #E2E8F0;
    color: #0F172A;
}
.btn-mark-wizard-action.active-marked {
    background: #FEF3C7;
    color: #92400E;
    border-color: #F59E0B;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}
.btn-whatsapp-consult {
    background: #25D366;
    color: #FFF;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-whatsapp-consult:hover {
    background: #1EBE5B;
    color: #FFF;
}

/* Features Cards Grid */
.features-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 15px;
}
.feature-card-item {
    background: #FFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.feature-card-item .feat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #EFF6FF;
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.feature-card-item .feat-text {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}

/* FAQs Accordion */
.faqs-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}
.faq-accordion-item {
    background: #FFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
}
.faq-accordion-header {
    width: 100%;
    text-align: right;
    padding: 16px 20px;
    background: #FFF;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1E293B;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}
.faq-accordion-header:hover {
    background: #F8FAFC;
}
.faq-accordion-header i {
    transition: transform 0.25s ease;
    color: #64748B;
}
.faq-accordion-header.active i {
    transform: rotate(180deg);
    color: #2563EB;
}
.faq-accordion-body {
    padding: 0 20px 18px;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.8;
}


