/* ═══════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE  —  Premium CSS
   Uses global tokens from site.css:
   --rose, --gold, --cream, --charcoal, --charcoal-soft, --border,
   --serif, --sans, --r-sm/md/lg, --ease, --white
════════════════════════════════════════════════════════════════ */

/* ── Local supplement tokens ──────────────────────────────── */
:root {
    /* Bridge → global tokens so JS-injected HTML keeps correct colours */
    --p-ink:          var(--charcoal,       #1a1a1a);
    --p-surface:      var(--white,          #ffffff);
    --p-surface-soft: var(--cream,          #FAF7F2);
    --p-line:         var(--border,         #e8e8e8);
    --p-line-soft:    #f0f0f0;
    --p-mute:         var(--charcoal-soft,  #6b6b6b);
    --p-mute-soft:    rgba(107,107,107,0.5);
    --p-text:         #2a2a2a;
    /* Semantic */
    --p-accent:       var(--charcoal,       #1a1a1a);
    --p-accent-hover: var(--rose,           #7D2135);  /* hover → rose */
    --p-sale:         #c1272d;
    --p-success:      #2d7a3d;
    --p-warning:      #b87900;
    /* Shadows */
    --p-shadow-sm:    0 1px 2px rgba(0,0,0,.04);
    --p-shadow-md:    0 4px 12px rgba(0,0,0,.06);
    --p-shadow-lg:    0 8px 24px rgba(0,0,0,.08);
    /* Radii (also consumed by productdetails.js-generated HTML) */
    --p-radius-sm:    var(--r-sm, 4px);
    --p-radius-md:    var(--r-md, 6px);
    --p-radius-lg:    var(--r-lg, 10px);
    --p-ease:         var(--ease, cubic-bezier(.4,0,.2,1));
    /* Legacy aliases kept for any remaining refs */
    --luxury-gold:    var(--gold, #C9A96E);
    --luxury-dark:    var(--charcoal, #1a1a1a);
}

/* ── 01 · BREADCRUMB BAR ───────────────────────────────────── */
.pdp-breadcrumb-bar {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 1.1rem 0;
}

.breadcrumb-product .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.breadcrumb-product .breadcrumb-item a {
    color: var(--charcoal-soft);
    text-decoration: none;
    transition: color var(--ease);
}

.breadcrumb-product .breadcrumb-item a:hover { color: var(--charcoal); }

.breadcrumb-product .breadcrumb-item.active {
    color: var(--charcoal);
    font-weight: 600;
}

.breadcrumb-product .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: var(--border);
    padding: 0 8px;
}

/* ── 02 · PAGE CONTAINER ───────────────────────────────────── */
.product-detail-container {
    padding: 2.5rem 1.25rem 5rem;
    max-width: 1400px;
}

/* ── 03 · GALLERY ──────────────────────────────────────────── */
.product-images-wrapper-amazon {
    position: sticky;
    top: 100px;
}

.images-layout-amazon {
    display: flex;
    gap: 0.875rem;
}

.thumbnails-list-amazon {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 62px;
    flex-shrink: 0;
}

.thumbnail-item-amazon {
    width: 62px;
    height: 62px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--ease);
    background: var(--cream);
}

.thumbnail-item-amazon:hover  { border-color: var(--charcoal-soft); }
.thumbnail-item-amazon.active {
    border-color: var(--charcoal);
    border-width: 2px;
}

.thumbnail-item-amazon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    display: block;
}

.thumbnail-item-amazon.more-images {
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--charcoal);
}

.more-overlay i    { font-size: 0.9rem; }
.more-overlay span {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: var(--sans);
}

/* Main image */
.main-image-area-amazon  { flex: 1; min-width: 0; }

.main-image-container-amazon {
    position: relative;
    background: linear-gradient(145deg, #FAF7F2 0%, #F2EBF0 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.25rem;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-amazon {
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: contain;
    display: block;
    transition: transform 0.5s var(--ease);
}

.main-image-container-amazon:hover .main-image-amazon {
    transform: scale(1.03);
}

.expand-icon-amazon {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--ease);
    z-index: 10;
}

.expand-icon-amazon:hover {
    background: var(--charcoal);
    border-color: var(--charcoal);
}

.expand-icon-amazon i {
    font-size: 0.9rem;
    color: var(--charcoal);
    transition: color var(--ease);
}

.expand-icon-amazon:hover i { color: white; }

/* Hover zoom lens/result */
.zoom-lens {
    position: absolute;
    border: 2px solid var(--charcoal);
    width: 150px;
    height: 150px;
    display: none;
    pointer-events: none;
    background: rgba(255,255,255,.12);
    cursor: crosshair;
}

.zoom-result {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    width: 450px;
    height: 550px;
    border: 1px solid var(--border);
    background-color: white;
    background-repeat: no-repeat;
    display: none;
    z-index: 9999;
    box-shadow: var(--p-shadow-lg);
    border-radius: var(--r-md);
    will-change: background-position;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

/* ── 04 · PRODUCT INFO PANEL ───────────────────────────────── */
.product-info-wrapper {
    padding: 0 0 0 0.5rem;
}

/* Header block */
.product-header {
  /*  padding-bottom: 1.5rem;*/
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.product-brand {
    font-family: var(--sans);
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--charcoal-soft);
    margin: 0 0 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    display: block;
}

/* Serif luxury title */
.product-title {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
    font-weight: 600;
    color: var(--charcoal);
    margin: 0 0 0.875rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
    word-break: break-word;
}

/* Rating — gold stars */
.product-rating-section {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.rating-stars-large {
    display: flex;
    gap: 2px;
}

.rating-stars-large i {
    font-size: 0.875rem;
    color: var(--gold);        /* gold instead of black */
}

.rating-stars-large i.bi-star { color: var(--border); }

.rating-text {
    font-family: var(--sans);
    font-size: 0.78rem;
    color: var(--charcoal-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.rating-text strong {
    font-weight: 700;
    color: var(--charcoal);
}

/* ── 05 · PRICE SECTION ────────────────────────────────────── */
.product-price-section-detail {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.price-discount-wrapper {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.price-old-detail {
    font-family: var(--sans);
    font-size: 0.9375rem;
    color: var(--charcoal-soft);
    text-decoration: line-through;
    font-weight: 400;
}

.discount-badge-detail {
    display: inline-flex;
    align-items: center;
    background: var(--charcoal);
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    font-family: var(--sans);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.price-current-detail {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 0.875rem;
    flex-wrap: wrap;
}

/* Serif price — luxury hallmark */
.price-amount {
    font-family: var(--serif) !important;
    font-size: 2.5rem !important;
    font-weight: 600 !important;
    color: var(--charcoal) !important;
    letter-spacing: -0.03em !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.price-vat {
    font-family: var(--sans);
    font-size: 0.68rem;
    color: var(--charcoal-soft);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Stock badge */
.stock-status-inline-section { margin-top: 0.25rem; }

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Ensure badge class overrides Bootstrap */
.stock-badge.badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--charcoal) !important;
    font-weight: 500 !important;
    font-size: 0.78rem !important;
    text-transform: none !important;
    border: none !important;
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.stock-badge.stock-in,  .stock-badge.bg-success { color: var(--p-success) !important; }
.stock-badge.stock-low, .stock-badge.bg-warning { color: var(--p-warning) !important; }
.stock-badge.stock-out, .stock-badge.bg-danger  { color: var(--p-sale)    !important; }

.stock-badge.stock-in  .stock-dot, .stock-badge.bg-success .stock-dot {
    background: var(--p-success);
    box-shadow: 0 0 0 3px rgba(45,122,61,.15);
}
.stock-badge.stock-low .stock-dot, .stock-badge.bg-warning .stock-dot {
    background: var(--p-warning);
    box-shadow: 0 0 0 3px rgba(184,121,0,.15);
}
.stock-badge.stock-out .stock-dot, .stock-badge.bg-danger  .stock-dot {
    background: var(--p-sale);
    box-shadow: 0 0 0 3px rgba(193,39,45,.15);
}

.stock-meta { color: var(--charcoal-soft) !important; font-weight: 400 !important; }

/* ── 06 · VARIATION ATTRIBUTES ─────────────────────────────── */
.attribute-group {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}
.attribute-group:last-child { border-bottom: none; }

.attr-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--sans);
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.875rem;
}

.attr-label .attr-selected {
    font-weight: 400;
    color: var(--charcoal-soft);
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.72rem;
}

/* Colour swatches — floating circles, no card wrapper */
.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.color-swatch-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 6px;
    transition: transform var(--ease);
}

.color-swatch-btn:hover { transform: translateY(-2px); }

.color-swatch {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,.1);
    overflow: hidden;
    transition: box-shadow var(--ease);
    position: relative;
}

.color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.color-circle {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

/* Active/selected ring */
.color-swatch-btn.selected .color-swatch {
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--charcoal);
}

.color-swatch-btn:hover .color-swatch {
    box-shadow: 0 0 0 2px white, 0 0 0 3px rgba(26,26,26,.4);
}

.swatch-label {
    font-family: var(--sans);
    font-size: 0.58rem;
    font-weight: 500;
    color: var(--charcoal-soft);
    text-align: center;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

/* Option pill buttons */
.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.option-btn {
    padding: 0.55rem 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    background: white;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--charcoal);
    cursor: pointer;
    transition: all var(--ease);
    min-width: 54px;
    letter-spacing: 0.02em;
}

.option-btn:hover { border-color: var(--charcoal-soft); }

.option-btn.selected {
    border-color: var(--charcoal);
    border-width: 2px;
    background: var(--charcoal);
    color: white;
}

.option-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Dropdown select fallback */
.attribute-select {
    max-width: 280px;
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--charcoal);
    background: white;
    transition: border-color var(--ease);
}

.attribute-select:focus {
    outline: none;
    border-color: var(--charcoal);
    box-shadow: 0 0 0 3px rgba(0,0,0,.05);
}

/* ── 07 · ADD TO CART ──────────────────────────────────────── */
.add-to-cart-section { margin-bottom: 0; }

.cart-controls-grid {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

/* Quantity stepper */
.qty-stepper {
    display: flex;
    align-items: stretch;
    height: 48px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color var(--ease);
}

.qty-stepper:focus-within { border-color: var(--charcoal); }

.qty-btn {
    width: 40px;
    background: none;
    border: none;
    color: var(--charcoal);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background var(--ease), color var(--ease);
    flex-shrink: 0;
}

.qty-btn:hover { background: var(--cream); }
.qty-btn:active { background: rgba(26,26,26,.08); }

.qty-val {
    width: 52px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-family: var(--sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--charcoal);
    background: white;
    padding: 0;
    outline: none;
    -moz-appearance: textfield;
}

.qty-val::-webkit-inner-spin-button,
.qty-val::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Legacy compat — productdetails.js references #quantity which can be the qty-val */
.quantity-input {
    width: 52px;
    border: none;
    text-align: center;
    font-family: var(--sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--charcoal);
    background: white;
    outline: none;
    -moz-appearance: textfield;
    padding: 0;
    height: 100%;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.cart-action-buttons {
    flex: 1;
    display: flex;
    gap: 0.5rem;
    min-width: 220px;
}

/* Add to Bag — charcoal, hover → rose */
.btn-cart-add,
.btn-cart-disabled {
    flex: 1;
    min-width: 0;
    padding: 0 1.5rem;
    height: 48px;
    border-radius: var(--r-md);
    font-family: var(--sans);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1.5px solid;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background 0.22s var(--ease), border-color 0.22s var(--ease),
                color 0.22s var(--ease), box-shadow 0.22s var(--ease);
    line-height: 1;
}

.btn-cart-add {
    background: var(--charcoal);
    color: white;
    border-color: var(--charcoal);
}

.btn-cart-add:hover {
    background: var(--rose);
    border-color: var(--rose);
    color: white;
    box-shadow: 0 4px 18px rgba(125,33,53,.28);
}

.btn-cart-add i { font-size: 0.95rem; }

.btn-cart-disabled {
    background: var(--cream);
    color: var(--charcoal-soft);
    border-color: var(--border);
    cursor: not-allowed;
}

/* Icon buttons (wishlist, share) */
.btn-icon-action {
    width: 48px;
    height: 48px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--ease);
    flex-shrink: 0;
    padding: 0;
}

.btn-icon-action:hover { border-color: var(--charcoal); }

.btn-icon-action i {
    font-size: 1rem;
    color: var(--charcoal);
    transition: color var(--ease);
}

.btn-icon-action.active,
.btn-icon-action.wishlist-active {
    background: var(--rose);
    border-color: var(--rose);
}

.btn-icon-action.active i,
.btn-icon-action.wishlist-active i { color: white; }

/* Availability message */
#availabilityMessage {
    margin-top: 0.875rem;
    font-family: var(--sans);
    font-size: 0.8rem;
    animation: pdpSlideIn 0.28s ease;
}

@keyframes pdpSlideIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── 08 · TRUST ROW ────────────────────────────────────────── */
.pdp-trust {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding: 1.1rem 0;
    border-top: 1px solid var(--border);
    margin-top: 1.5rem;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--charcoal-soft);
    letter-spacing: 0.04em;
}

.trust-item i {
    font-size: 0.9rem;
    color: var(--charcoal);
}

/* ── 09 · DESCRIPTION PREVIEW ──────────────────────────────── */
.product-description-preview {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.description-title {
    font-family: var(--sans);
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0 0 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.description-text {
    font-family: var(--sans);
    color: var(--p-text);
    line-height: 1.72;
    margin: 0;
    font-size: 0.9rem;
}

/* ── 10 · SPECIAL FEATURES + PERFECT FOR (combined panel) ───── */
.pdp-special-features {
    margin-top: 1.25rem;
    padding: 1rem 1.125rem;
    background: #f8faf8;
    border: 1px solid #d4edda;
    border-radius: 8px;
}

.pdp-sf-inner {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.pdp-sf-col { flex: 1; min-width: 0; }

.pdp-pf-col {
    flex: 0 0 auto;
    min-width: 110px;
    border-left: 1px solid #d4edda;
    padding-left: 1.125rem;
}

.pdp-sf-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--charcoal);
    margin: 0 0 0.625rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pdp-sf-title i { color: #2e7d32; font-size: 0.8rem; }
.pdp-pf-col .pdp-sf-title i { color: var(--primary, #b91c1c); }

.pdp-sf-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.pdp-sf-list li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 0.85rem;
    color: var(--p-text);
    line-height: 1.5;
}

.pdp-sf-list li i {
    color: #2e7d32;
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.pdp-pf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pdp-pf-tags--stacked {
    flex-direction: column;
    align-items: flex-start;
}

.pdp-pf-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #fff;
    border: 1px solid #d4edda;
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--charcoal);
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s;
}

.pdp-pf-tag:hover {
    background: var(--primary-tint, #fee2e2);
    border-color: var(--primary, #b91c1c);
}

/* ── 11 · TABS ──────────────────────────────────────────────── */
.product-tabs-section {
    margin-top: 3.75rem;
}

.nav-tabs-luxury {
    display: flex;
    border-bottom: 1px solid var(--border);
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 0;
}

.nav-link-luxury {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    color: var(--charcoal-soft);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color var(--ease);
}

.nav-link-luxury:hover { color: var(--charcoal); }

.nav-link-luxury.active {
    color: var(--charcoal);
    border-bottom-color: var(--charcoal);
}

.tab-badge {
    background: var(--cream);
    color: var(--charcoal);
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0;
}

.nav-link-luxury.active .tab-badge {
    background: var(--charcoal);
    color: white;
}

.tab-content-luxury { padding: 2rem 0; }

.tab-content-inner { max-width: 800px; }

.tab-text {
    font-family: var(--sans);
    color: var(--p-text);
    line-height: 1.75;
    font-size: 0.9375rem;
}

.tab-text h1,.tab-text h2,.tab-text h3,.tab-text h4 {
    font-family: var(--serif);
    color: var(--charcoal);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.tab-text ul,.tab-text ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.tab-text li { margin-bottom: 0.375rem; }

/* Empty reviews */
.empty-reviews {
    text-align: center;
    padding: 3rem 1.25rem;
}

.empty-icon {
    width: 60px;
    height: 60px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.empty-icon i { font-size: 1.5rem; color: var(--charcoal-soft); }

.empty-reviews h5 {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.empty-reviews p {
    font-family: var(--sans);
    color: var(--charcoal-soft);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.btn-write-review {
    background: var(--charcoal);
    color: white;
    padding: 0.625rem 1.75rem;
    border-radius: var(--r-md);
    border: 1.5px solid var(--charcoal);
    font-family: var(--sans);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--ease), border-color var(--ease);
}

.btn-write-review:hover {
    background: var(--rose);
    border-color: var(--rose);
}

/* Specs table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
}

.specs-table tbody tr { border-bottom: 1px solid var(--border); }
.specs-table tbody tr:last-child { border-bottom: none; }
.specs-table tbody tr:nth-child(even) { background: var(--cream); }

.specs-table th,
.specs-table td {
    padding: 0.875rem 1.25rem;
    text-align: left;
    font-family: var(--sans);
    font-size: 0.8125rem;
}

.specs-table th {
    font-weight: 700;
    color: var(--charcoal);
    width: 200px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.68rem;
}

.specs-table td { color: var(--p-text); }
.spec-note { font-size: 0.72rem; color: var(--p-text-muted, #888); }

.spec-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-family: var(--sans);
}

.spec-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.spec-in-stock  { color: var(--p-success); }
.spec-in-stock::before  { background: var(--p-success); }
.spec-out-stock { color: var(--p-sale); }
.spec-out-stock::before { background: var(--p-sale); }

.category-tag {
    display: inline-block;
    background: white;
    color: var(--charcoal);
    padding: 3px 10px;
    border: 1px solid var(--border);
    border-radius: 3px;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    margin-right: 5px;
    margin-bottom: 5px;
    letter-spacing: 0.02em;
}

/* ── 11 · RELATED PRODUCTS ─────────────────────────────────── */
.related-products-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.section-header-related { margin-bottom: 2rem; }

.section-title-related {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0 0 0.375rem;
    letter-spacing: -0.02em;
}

.section-subtitle-related {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--charcoal-soft);
    margin: 0;
}

.related-placeholder {
    text-align: center;
    padding: 3.75rem 1.25rem;
    background: var(--cream);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
}

.related-placeholder i {
    font-size: 2rem;
    color: rgba(107,107,107,.4);
    margin-bottom: 0.75rem;
    display: block;
}

.related-placeholder p {
    color: var(--charcoal-soft);
    font-family: var(--sans);
    font-size: 0.875rem;
    margin: 0;
}

/* ── 12 · LIGHTBOX ─────────────────────────────────────────── */
.lightbox-content {
    background: #0a0a0a;
    border: none;
    border-radius: 0;
    height: 100vh;
}

.lightbox-header {
    background: rgba(0,0,0,.96);
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    backdrop-filter: blur(10px);
}

.lightbox-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 2rem;
    max-width: 1800px;
    margin: 0 auto;
}

.lightbox-product-info { flex: 1; }

.lightbox-title {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0 0 2px;
}

.lightbox-subtitle {
    font-family: var(--sans);
    font-size: 0.62rem;
    color: rgba(255,255,255,.45);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-close-lightbox {
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--ease);
}

.btn-close-lightbox:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.35);
}

.btn-close-lightbox i {
    color: white;
    font-size: 0.9rem;
}

.lightbox-body {
    padding: 0;
    height: calc(100vh - 76px);
    overflow: hidden;
}

.lightbox-layout {
    display: flex;
    height: 100%;
}

.lightbox-main-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000;
    padding: 2.5rem;
    overflow: hidden;
}

.lightbox-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center;
    transition: transform .3s ease;
    user-select: none;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--ease);
    z-index: 10;
    backdrop-filter: blur(8px);
}

.lightbox-nav:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.35);
}

.lightbox-nav i { font-size: 1.125rem; color: white; }

.lightbox-nav-prev { left: 2rem; }
.lightbox-nav-next { right: 2rem; }

.lightbox-counter {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.7);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.1);
    z-index: 20;
    letter-spacing: 0.06em;
}

.lightbox-zoom-controls {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.zoom-control-btn {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--ease);
    backdrop-filter: blur(8px);
}

.zoom-control-btn:hover:not(:disabled) {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.28);
}

.zoom-control-btn:disabled { cursor: not-allowed; }
.zoom-control-btn i { color: white; font-size: 0.9rem; }

.lightbox-thumbnails-sidebar {
    width: 270px;
    background: rgba(0,0,0,.96);
    border-left: 1px solid rgba(255,255,255,.07);
    display: flex;
    flex-direction: column;
}

.lightbox-thumbnails-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.lightbox-thumbnails-header h6 {
    font-family: var(--sans);
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255,255,255,.4);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.lightbox-thumbnails-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.lightbox-thumbnails-scroll::-webkit-scrollbar { width: 3px; }
.lightbox-thumbnails-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,.02); }
.lightbox-thumbnails-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.14);
    border-radius: 3px;
}

.modal-thumbnail {
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    margin-bottom: 8px;
    transition: all var(--ease);
    overflow: hidden;
    background: rgba(255,255,255,.03);
}

.modal-thumbnail:hover { border-color: rgba(255,255,255,.2); }
.modal-thumbnail.active { border-color: white; }

.modal-thumbnail img {
    width: 100%;
    height: 96px;
    object-fit: contain;
    padding: 5px;
    background: rgba(255,255,255,.03);
}

/* ── 13 · RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1400px) {
    .zoom-result { right: 10px; width: 340px; height: 440px; }
}

@media (max-width: 991px) {
    .product-detail-container { padding: 2rem 1rem 4rem; }
    .product-images-wrapper-amazon { position: static; margin-bottom: 2rem; }
    .main-image-container-amazon { min-height: 400px; }
    .product-title { font-size: 1.6rem; }
    .price-amount { font-size: 2.1rem !important; }
    .product-info-wrapper { padding-left: 0; }
    .tab-content-luxury { padding: 1.5rem 0; }
    .lightbox-thumbnails-sidebar { width: 220px; }
    .lightbox-nav-prev { left: 1rem; }
    .lightbox-nav-next { right: 1rem; }
}

@media (max-width: 767px) {
    .zoom-result { display: none !important; }
    .pdp-breadcrumb-bar { padding: 0.75rem 0; }
    .breadcrumb-product .breadcrumb { font-size: 0.62rem; }
    .images-layout-amazon { flex-direction: column-reverse; gap: 0.625rem; }
    .thumbnails-list-amazon {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 3px;
        gap: 5px;
    }
    .thumbnails-list-amazon::-webkit-scrollbar { height: 2px; }
    .thumbnails-list-amazon::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
    .thumbnail-item-amazon { flex-shrink: 0; width: 54px; height: 54px; }
    .main-image-container-amazon { min-height: 320px; padding: 0.75rem; }
    .product-title { font-size: 1.375rem; }
    .price-amount { font-size: 1.75rem !important; }
    .cart-controls-grid { flex-direction: column; align-items: stretch; gap: 0.875rem; }
    .qty-stepper { width: 100%; max-width: 160px; }
    .cart-action-buttons { width: 100%; min-width: 0; }
    .lightbox-layout { flex-direction: column; }
    .lightbox-thumbnails-sidebar {
        width: 100%;
        max-height: 120px;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,.07);
    }
    .lightbox-thumbnails-scroll {
        flex-direction: row;
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0.5rem;
    }
    .modal-thumbnail { flex-shrink: 0; width: 76px; margin-bottom: 0; }
    .modal-thumbnail img { height: 66px; }
    .lightbox-nav { width: 38px; height: 38px; }
    .lightbox-header-content { padding: 0.875rem 1rem; }
    .lightbox-zoom-controls { top: auto; bottom: 3.75rem; right: 1rem; }
    .pdp-trust { gap: 0.875rem; }
    .section-title-related { font-size: 1.375rem; }
}

@media (max-width: 575px) {
    .product-title { font-size: 1.25rem; }
    .price-amount { font-size: 1.625rem !important; }
    .thumbnail-item-amazon { width: 48px; height: 48px; }
    .main-image-container-amazon { min-height: 280px; padding: 0.625rem; }
    .expand-icon-amazon { width: 34px; height: 34px; bottom: 10px; right: 10px; }
    .color-swatch { width: 38px; height: 38px; }
    .option-btn { padding: 0.5rem 0.875rem; font-size: 0.72rem; }
    .nav-link-luxury { font-size: 0.65rem; padding: 0.75rem 0.875rem; }
    .specs-table th { width: 130px; }
    .specs-table th, .specs-table td { padding: 0.75rem 0.875rem; font-size: 0.75rem; }
    .lightbox-nav-prev { left: 0.5rem; }
    .lightbox-nav-next { right: 0.5rem; }
}
/* Ensure inactive tabs are completely collapsed and hidden from the page layout flow */
.tab-content-luxury > .tab-pane {
    display: none;
}

/* Force Bootstrap's active status to correctly alter the layout context */
.tab-content-luxury > .active {
    display: block !important;
}