/* ==========================================================================
   AFEEM Luxury Fragrances — Single Product Page Dedicated Stylesheet
   Chrome/Edge Bulletproof Sticky Sidebars + Strictly Centered Tabs
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* CRITICAL FIX FOR CHROME / EDGE POSITION:STICKY BUG CAUSED BY OVERFLOW-X:HIDDEN */
html,
html.single-product-page,
body,
body.single-product,
body.woocommerce-page,
#page,
.site-main,
.single-product-main {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

/* Force Modern Typography & Lining Digits for Product Title, Sticky Bar, and Prices */
body.single-product,
.single-product-main,
.product-name,
.sticky-title,
.sticky-price-display,
.size-swatch .swatch-btn,
.swatch-btn,
.pill-name,
.range-prod-name,
.price-current,
.sold-stat-banner,
.product-selected-size-block {
    font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-variant-numeric: lining-nums tabular-nums !important;
    font-feature-settings: "lnum" 1, "tnum" 1 !important;
}

/* Main Container & Section Spacing */
.single-product-main {
    width: 100%;
    background-color: #ffffff;
    padding-bottom: 100px;
    overflow: visible !important;
}

.product-navigation-bar {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

.product-breadcrumbs-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
}

.product-breadcrumbs-nav a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-breadcrumbs-nav a:hover {
    color: #0f172a;
}

.product-breadcrumbs-nav .separator {
    color: #cbd5e1;
}

.product-breadcrumbs-nav .current {
    color: #0f172a;
    font-weight: 600;
}

/* ==========================================================================
   SECTION 1: TOP PRODUCT HERO (3-COLUMN LUXURY GRID WITH STICKY SIDEBARS)
   ========================================================================== */

.product-details-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    overflow: visible !important;
}

.product-hero-3col-grid {
    display: grid;
    grid-template-columns: 26% 46% 28%;
    gap: 28px;
    align-items: start !important;
    overflow: visible !important;
    position: relative;
}

/* Column 1 (Left): Sticky Meta Details */
.product-col-left {
    display: flex;
    flex-direction: column;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 115px !important;
    align-self: start !important;
    z-index: 10 !important;
}

.product-meta-header {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.product-col-left .product-name {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 2.1rem;
    line-height: 1.25;
    margin: 8px 0 12px 0;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.product-selected-size-block {
    margin-bottom: 16px;
}

.size-badge-pill {
    font-size: 12px;
    font-weight: 700;
    color: #2eaaa0;
    background: #eef8f7;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(46, 170, 160, 0.3);
    display: inline-block;
}

.size-badge-pill strong {
    color: #0f172a;
    font-weight: 800;
}

.product-scent-family-block {
    margin-bottom: 16px;
    font-size: 13px;
}

.product-scent-family-block .label {
    color: #64748b;
}

.product-scent-family-block .value {
    color: #0f172a;
    font-weight: 700;
    margin-left: 4px;
}

/* Best For Badges Card */
.best-for-occasions-card {
    margin-top: 16px;
    padding: 18px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.best-for-occasions-card .occasions-card-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #0f172a;
    margin: 0 0 12px 0;
    text-transform: uppercase;
}

.occasions-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.occasion-pill {
    position: relative;
    font-size: 12.5px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.occasion-pill .emoji-icon {
    font-size: 15px;
    line-height: 1;
}

.occasion-pill .pill-name {
    font-size: 12.5px;
    font-weight: 700;
}

.occasion-pill.is-recommended {
    border: 1.5px solid #2eaaa0;
    background: #eef8f7;
    color: #0f172a;
    font-weight: 800;
}

.occasion-pill.inactive {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
}

.occasion-pill .check-badge-topright {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2eaaa0;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(46, 170, 160, 0.4);
}

/* Column 2 (Center): Vertical Stacked Media List */
.product-col-center {
    display: flex;
    flex-direction: column;
}

.product-gallery-wrapper {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.product-thumbnails-nav-strip {
    width: 72px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 115px !important;
}

.thumb-card {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    box-sizing: border-box;
}

.thumb-card:hover,
.thumb-card.active {
    border-color: #2eaaa0;
    transform: scale(1.04);
}

.thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-video-card {
    border-color: #e74c3c;
}

.thumb-video-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(231, 76, 60, 0.95);
    color: #ffffff;
    font-size: 8px;
    font-weight: 800;
    text-align: center;
    padding: 2px 0;
}

.product-main-media-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.gallery-stacked-image {
    width: 100%;
    background: #f8fafc;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.02);
}

.gallery-stacked-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    object-fit: cover;
}

.gallery-stacked-video {
    width: 100%;
    background: #000000;
    border-radius: 14px;
    overflow: hidden;
}

.gallery-stacked-video video {
    width: 100%;
    max-height: 640px;
    display: block;
    border-radius: 14px;
    object-fit: contain;
    background: #000000;
}

/* Column 3 (Right): Sticky Sales Ticker, Size Swatches, Collection Range & Offers */
.product-col-right {
    display: flex;
    flex-direction: column;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 115px !important;
    align-self: start !important;
    z-index: 10 !important;
}

.sold-stat-banner {
    margin-bottom: 14px;
    font-size: 13px;
    color: #0f766e;
    font-weight: 600;
}

.product-right-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.rating-stars-gold {
    color: #f1c40f;
    font-size: 15px;
    letter-spacing: 1px;
}

.rating-text {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

/* Size Selector Options */
.product-option-group {
    margin-bottom: 24px;
}

.size-headers {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
}

.size-selector-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-swatch {
    cursor: pointer;
}

.size-swatch input[type="radio"] {
    display: none;
}

.size-swatch .swatch-btn {
    display: inline-block;
    padding: 8px 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.size-swatch.active .swatch-btn,
.size-swatch input[type="radio"]:checked + .swatch-btn {
    border-color: #0f172a;
    background: #0f172a;
    color: #ffffff;
}

/* COLLECTION RANGE SELECTOR CARDS GRID */
.collection-range-selector-card-box {
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.range-selector-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #0f172a;
    text-transform: uppercase;
    margin: 0 0 14px 0;
}

.range-selector-title .range-highlight {
    color: #2eaaa0;
}

.collection-range-cards-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.range-product-card {
    position: relative;
    width: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px;
    text-decoration: none;
    background: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.range-product-card:hover {
    border-color: #2eaaa0;
    transform: translateY(-2px);
}

.range-product-card.active {
    border: 2px solid #2eaaa0;
    background: #eef8f7;
    box-shadow: 0 4px 12px rgba(46, 170, 160, 0.2);
}

.range-product-card .active-check-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2eaaa0;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.range-product-card .card-thumb-wrap {
    width: 58px;
    height: 58px;
    border-radius: 6px;
    overflow: hidden;
    background: #f8fafc;
    margin-bottom: 4px;
}

.range-product-card .card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.range-product-card .card-prod-name {
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.special-offer-card {
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.special-offer-card .offer-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #2eaaa0;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.special-offer-card .offer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12.5px;
    color: #475569;
}

/* ==========================================================================
   SECTION 2: STICKY ADD TO CART BAR
   ========================================================================== */

.sticky-add-to-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 12px 0;
}

.sticky-bar-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sticky-title-wrap .sticky-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.sticky-actions-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stock-pill {
    font-size: 12px;
    font-weight: 700;
    color: #10b981;
    background: #ecfdf5;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
}

.size-pill-badge {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 6px;
}

.sticky-qty-picker {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
}

.sticky-qty-btn {
    width: 32px;
    height: 38px;
    background: #f8fafc;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-qty-input {
    width: 36px;
    height: 38px;
    border: none;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    outline: none;
}

.sticky-price-display {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.orange-add-to-cart-btn {
    padding: 12px 32px;
    background: #ff8c00;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 14px rgba(255, 140, 0, 0.35);
}

.orange-add-to-cart-btn:hover {
    background: #e67e00;
    transform: translateY(-1px);
}

.pdp-wishlist-btn {
    width: 44px;
    height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    cursor: pointer;
    color: #ef4444;
    transition: all 0.2s ease;
}

.pdp-wishlist-btn:hover {
    border-color: #ef4444;
    background: #fef2f2;
}

/* ==========================================================================
   SECTION 3 & 6: 100% STRICTLY CENTERED TABS CONTAINER (DEAD CENTER ALIGNMENT)
   ========================================================================== */

.product-tabs-section {
    margin-top: 60px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

/* Force Tight Vertical Spacing Between Sections (Reviews -> Reels -> Related Products) */
#pdp-tabs-main-section,
.product-tabs-section {
    margin-top: 40px !important;
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    box-sizing: border-box !important;
    clear: both !important;
    float: none !important;
}

/* 100% FULL VIEWPORT EDGE-TO-EDGE REELS (RIGHT SCREEN BORDER IN -> LEFT SCREEN BORDER OUT) */
#reels-section,
.afeem-reels-section {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: 15px !important;
    margin-bottom: 25px !important;
    padding-top: 10px !important;
    padding-bottom: 25px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    clear: both !important;
    float: none !important;
}

.afeem-reels-section .afeem-section-header {
    max-width: 1200px !important;
    margin: 0 auto 28px auto !important;
    text-align: center !important;
}

.afeem-reels-section .reels-scroll-controls {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.afeem-reels-section .reels-carousel-track-container {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 10px 0 24px 0 !important; /* 0px padding so cards enter from right screen edge & exit at left screen edge */
    box-sizing: border-box !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.afeem-reels-section .reels-carousel-track-container::-webkit-scrollbar {
    display: none !important;
}

.afeem-reels-section .reels-carousel-track {
    display: flex !important;
    gap: 20px !important;
    width: max-content !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

/* Elevated Overlay Arrow Buttons On Screen Edges */
.afeem-reels-section .reels-arrow-btn {
    position: absolute !important;
    top: 40% !important;
    transform: translateY(-50%) !important;
    z-index: 1000 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    color: #0f172a !important;
    transition: all 0.2s ease !important;
}

.afeem-reels-section .reels-arrow-btn:hover {
    background: #2eaaa0 !important;
    color: #ffffff !important;
    border-color: #2eaaa0 !important;
    transform: translateY(-50%) scale(1.08) !important;
}

.afeem-reels-section .reels-arrow-btn.prev-reel-btn {
    left: 24px !important;
}

.afeem-reels-section .reels-arrow-btn.next-reel-btn {
    right: 24px !important;
}

.related-products-section,
.afeem-product-section {
    margin-top: 20px !important;
    padding-top: 10px !important;
}

.tabs-nav-centered {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto 20px auto !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    gap: 48px !important; /* Spacing between the 3 tabs */
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
}

.tabs-nav-centered .tab-btn {
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em !important;
    color: #64748b !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 10px 24px !important; /* Generous internal padding */
    position: relative !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    float: none !important;
    display: inline-block !important;
    margin: 0 !important;
    border-radius: 6px !important;
}

.tabs-nav-centered .tab-btn:hover {
    color: #2eaaa0 !important;
    background-color: #f8fafc !important;
}

.tabs-nav-centered .tab-btn.active {
    color: #0f172a !important;
    background-color: #f1f5f9 !important;
}

.tabs-nav-centered .tab-btn.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: -17px !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background-color: #2eaaa0 !important;
    border-radius: 3px 3px 0 0 !important;
}

.tabs-nav-centered .tab-btn.active {
    color: #0f172a !important;
}

.tabs-nav-centered .tab-btn.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: -13px !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background-color: #0f172a !important;
    border-radius: 3px 3px 0 0 !important;
}

.tab-panels-content {
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
}

.tab-panel {
    display: none;
    width: 100% !important;
}

.tab-panel.active {
    display: block !important;
}

/* Centered Specs Table */
.specs-table-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

.specs-table {
    max-width: 580px !important;
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 auto !important;
}

.specs-table th,
.specs-table td {
    padding: 14px 18px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 13.5px !important;
}

.specs-table th {
    text-align: left !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    width: 200px !important;
}

.specs-table td {
    color: #475569 !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   CUSTOMER REVIEWS SYSTEM (IMAGE 3 & IMAGE 4 100% MATCH - 0 DUMMY DATA)
   ========================================================================== */

.reviews-system-grid-2col {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 36px;
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
}

/* LEFT COLUMN: OVERALL RATING CARD */
.overall-rating-card-left {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.overall-rating-card-left .rating-card-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #0f172a;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.overall-rating-card-left .rating-card-divider {
    width: 100%;
    height: 2px;
    background: #2eaaa0;
    margin-bottom: 24px;
}

.rating-big-score-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 24px;
}

.rating-big-score-row .big-score-num {
    font-size: 3.4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.rating-big-score-row .big-stars-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating-big-score-row .gold-stars {
    color: #f1c40f;
    font-size: 18px;
    letter-spacing: 2px;
}

.rating-big-score-row .verified-count-sub {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.rating-breakdown-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.rating-breakdown-bars .bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
}

.rating-breakdown-bars .star-label {
    width: 32px;
}

.rating-breakdown-bars .percent-label {
    width: 36px;
    text-align: right;
}

.rating-breakdown-bars .progress-bar-bg {
    flex: 1;
    height: 8px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.rating-breakdown-bars .progress-fill {
    height: 100%;
    background: #ff8c00;
    border-radius: 10px;
}

.write-review-black-btn {
    width: 100%;
    padding: 14px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.write-review-black-btn:hover {
    background: #1e293b;
}

/* WRITE YOUR REVIEW FORM CARD (TOGGLEABLE) */
.write-review-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.write-review-form-card.hidden {
    display: none;
}

.form-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-card-header .form-card-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #0f172a;
    margin: 0;
    text-transform: uppercase;
}

.form-card-header .close-form-btn {
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
}

.write-review-form-card .title-underline {
    width: 100%;
    height: 2px;
    background: #2eaaa0;
    margin: 8px 0 20px 0;
}

.form-group-star-rating {
    background: #fcfdfd;
    border: 1px solid #eef6f5;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.star-label-head {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #0f172a;
    margin-bottom: 8px;
}

.interactive-stars-picker {
    display: flex;
    align-items: center;
    gap: 6px;
}

.interactive-stars-picker .star-pick {
    font-size: 22px;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.15s ease;
}

.interactive-stars-picker .star-pick.active,
.interactive-stars-picker .star-pick:hover {
    color: #f1c40f;
}

.rating-text-label {
    font-size: 12px;
    font-weight: 700;
    color: #2eaaa0;
    margin-left: 8px;
}

.form-2col-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.review-input,
.review-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
}

.review-input:focus,
.review-textarea:focus {
    border-color: #2eaaa0;
}

.form-group-full {
    margin-bottom: 14px;
}

/* Media Upload Dropzone */
.media-upload-dropzone {
    display: block;
    border: 2px dashed #2eaaa0;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    background: #eef8f7;
    transition: background 0.2s ease;
}

.media-upload-dropzone:hover {
    background: #e0f2f1;
}

.upload-zone-text {
    font-size: 11.5px;
    font-weight: 800;
    color: #2eaaa0;
    letter-spacing: 0.08em;
}

.media-previews-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.preview-thumb-item {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #cbd5e1;
}

.submit-review-teal-btn {
    width: 100%;
    padding: 12px;
    background: #2eaaa0;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

.submit-review-teal-btn:hover {
    background: #25968d;
}

.form-feedback-msg {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

/* Empty Reviews State (0 Dummy Data) */
.empty-reviews-state-card {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.empty-reviews-state-card .empty-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.empty-reviews-state-card .empty-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.empty-reviews-state-card .empty-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* RIGHT COLUMN: CUSTOMER REVIEWS LIST */
.customer-reviews-list-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.review-card-header-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.author-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2eaaa0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-meta-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-meta-info .author-name {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.verified-buyer-pill {
    font-size: 11px;
    font-weight: 700;
    color: #2eaaa0;
}

.review-date-text {
    font-size: 11px;
    color: #94a3b8;
}

.review-rating-score {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fefce8;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #fef08a;
}

.review-rating-score .score-num {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.review-rating-score .gold-stars {
    color: #f1c40f;
    font-size: 13px;
}

/* 2-Line Clamped Review Body Text & Read More Toggle */
.review-body-wrapper {
    margin-bottom: 14px;
}

.review-body-text-clamp {
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
}

.review-body-text-clamp.clamped {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more-toggle-btn {
    background: none;
    border: none;
    color: #2eaaa0;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    padding: 4px 0 0 0;
    text-transform: capitalize;
}

.read-more-toggle-btn:hover {
    text-decoration: underline;
}

/* CUSTOMER MEDIA GALLERY (MATCHING SCREENSHOT 100%) */
.single-product-main {
    padding-bottom: 20px;
}

.customer-media-gallery-wrap {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-subhead {
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-thumbs-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.customer-media-thumb {
    width: 46px;
    height: 46px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1.5px solid #cbd5e1;
    cursor: pointer;
    background: #000;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.customer-media-thumb:hover {
    transform: scale(1.06);
    border-color: #2eaaa0;
}

.customer-media-thumb img,
.customer-media-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.customer-media-thumb.video-thumb .video-overlay-badge {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.video-overlay-badge .play-icon {
    font-size: 10px;
    color: #ef4444;
    line-height: 1;
    margin-bottom: 2px;
}

.video-overlay-badge .video-text {
    font-size: 7.5px;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: #ffffff;
}

/* Lightbox Modal for Photo & Video Click */
.afeem-media-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.afeem-media-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.afeem-media-modal-content img,
.afeem-media-modal-content video {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
}

.afeem-media-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}



/* ==========================================================================
   SECTION 4: FRAGRANCE NOTES PYRAMID (3 COLUMNS)
   ========================================================================== */

.fragrance-notes-pyramid-section {
    margin-top: 50px;
    padding: 40px 0;
    border-top: 1px solid #f0f0f0;
}

.notes-3col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.note-column-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.note-column-card .col-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.note-column-card.head .col-title { color: #2eaaa0; }
.note-column-card.heart .col-title { color: #0f172a; }
.note-column-card.base .col-title { color: #338c9f; }

.note-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.note-item-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    width: 100%;
    box-sizing: border-box;
}

.note-item-pill .note-icon {
    font-size: 16px;
}

.note-item-pill .note-name {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

/* ==========================================================================
   SECTION 5: PRODUCT FEATURE BADGES (IMAGE 2 MATCH - 3 LUXURY CARDS)
   ========================================================================== */

.product-feature-badges-section {
    margin-top: 40px;
    padding: 32px 0;
}

.brand-feature-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.brand-badge-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.brand-badge-card .badge-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.brand-badge-card .badge-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #0f172a;
    text-transform: uppercase;
    margin: 0 0 6px 0;
}

.brand-badge-card .badge-sub {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS FOR PRODUCT PAGE
   ========================================================================== */

@media (max-width: 992px) {
    .product-hero-3col-grid {
        grid-template-columns: 1fr;
    }
    .reviews-system-grid-2col {
        grid-template-columns: 1fr;
    }
    .product-col-left,
    .product-col-right {
        position: static !important;
    }
    .notes-3col-grid {
        grid-template-columns: 1fr;
    }
    .brand-feature-badges-grid {
        grid-template-columns: 1fr;
    }
    .sticky-bar-container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .sticky-actions-wrap {
        justify-content: space-between;
    }
}

/* ==========================================================================
   AFEEM V2 UNIQUE NAMESPACED PDP TABS & REELS (ZERO GAP GUARANTEED)
   ========================================================================== */
.afeem-v2-pdp-tabs-wrapper,
#afeem-v2-pdp-tabs {
    display: block !important;
    width: 100% !important;
    max-width: 1280px !important;
    margin: 40px auto 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    clear: both !important;
    float: none !important;
}

.afeem-v2-tabs-nav {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto 20px auto !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    gap: 48px !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
}

.afeem-v2-tabs-nav .tab-btn {
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em !important;
    color: #64748b !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 8px 20px !important;
    position: relative !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    border-radius: 6px !important;
}

.afeem-v2-tabs-nav .tab-btn:hover {
    color: #2eaaa0 !important;
    background-color: #f8fafc !important;
}

.afeem-v2-tabs-nav .tab-btn.active {
    color: #0f172a !important;
    background-color: #f1f5f9 !important;
}

.afeem-v2-tabs-nav .tab-btn.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: -13px !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background-color: #0f172a !important;
    border-radius: 3px 3px 0 0 !important;
}

.afeem-v2-tab-content-box {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 0 10px 0 !important; /* Extremely tight 10px bottom padding */
    box-sizing: border-box !important;
}

.afeem-v2-tab-panel {
    display: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.afeem-v2-tab-panel.active {
    display: block !important;
}

/* V2 Product Reels Section */
.afeem-v2-reels-section,
#afeem-v2-reels {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: 15px !important; /* Very close tight 15px gap above header */
    margin-bottom: 30px !important;
    padding-top: 10px !important;
    padding-bottom: 20px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    clear: both !important;
    float: none !important;
}

.afeem-v2-reels-controls-wrap {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.afeem-v2-reels-track-container {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 10px 0 24px 0 !important;
    box-sizing: border-box !important;
    scrollbar-width: none !important;
}
