/* ============================================================
   CHIC CHARMS — d9-luxury-mobile-pdp.css
   Stage 2 · Part 1: Luxury Mobile Product Cards
            Part 2: Luxury Mobile Product Detail Page (PDP)
   Mobile-only additive layer — desktop completely untouched
   ============================================================ */

/* ============================================================
   D9 · STAGE 2 TOKENS
   ============================================================ */
:root {
  /* Card system */
  --d9-card-radius:       20px;
  --d9-card-radius-sm:    14px;
  --d9-card-shadow:
    0 4px 20px rgba(60, 40, 30, 0.07),
    0 1px 4px  rgba(60, 40, 30, 0.04);
  --d9-card-shadow-hover:
    0 8px 32px rgba(60, 40, 30, 0.11),
    0 2px 6px  rgba(60, 40, 30, 0.05);
  --d9-card-shadow-press:
    0 1px 6px  rgba(60, 40, 30, 0.05);

  /* PDP gallery */
  --d9-gallery-radius:    0px;
  --d9-gallery-max-h:     62svh;
  --d9-gallery-min-h:     340px;

  /* Sticky CTA */
  --d9-sticky-h:          76px;
  --d9-sticky-bg:         rgba(250, 248, 245, 0.98);

  /* Motion — luxury easing suite */
  --d9-ease-silk:         cubic-bezier(0.16, 1, 0.3, 1);
  --d9-ease-drift:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --d9-ease-cinematic:    cubic-bezier(0.12, 0.8, 0.32, 1);
  --d9-ease-snap:         cubic-bezier(0.22, 1, 0.36, 1);
  --d9-dur-card:          0.44s;
  --d9-dur-fast:          0.14s;
  --d9-dur-gallery:       0.48s;
  --d9-dur-reveal:        0.62s;
}

/* ============================================================
   Phase 8: Premium App-Like Mobile PDP
   ============================================================ */
@media (max-width: 900px) {
  .product-page {
    background: linear-gradient(180deg, #fffaf7 0%, #fff 48%, #fff8f7 100%);
  }

  .product-img-frame {
    background: #fff;
  }

  .product-img-frame img {
    filter: none !important;
    image-rendering: auto;
    object-fit: cover;
    object-position: center top;
  }

  .pdp-floating-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;
    display: grid;
    gap: 8px;
  }

  .pdp-float-btn {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(181, 101, 122, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    color: #221917;
    box-shadow: 0 12px 26px rgba(62, 38, 34, 0.14);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: transform 180ms ease, color 180ms ease, background 180ms ease;
  }

  .pdp-float-btn:active {
    transform: scale(0.92);
  }

  .pdp-float-btn.is-loved {
    color: #b5657a;
    background: #fff1f5;
  }

  .pdp-float-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .pdp-float-btn.is-loved svg {
    fill: rgba(181, 101, 122, 0.18);
  }

  .pdp-delivery-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 16px 0 0;
    padding: 12px;
    border: 1px solid rgba(181, 101, 122, 0.12);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, #fff7f8);
    box-shadow: 0 12px 24px rgba(78, 45, 38, 0.07);
  }

  .pdp-delivery-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #b5657a;
    background: #fff0f4;
    font-weight: 800;
  }

  .pdp-delivery-card strong {
    display: block;
    color: #221917;
    font: 800 0.84rem/1.15 var(--font-body, system-ui);
  }

  .pdp-delivery-card span {
    display: block;
    margin-top: 3px;
    color: rgba(34, 25, 23, 0.58);
    font: 600 0.72rem/1.3 var(--font-body, system-ui);
  }

  .pdp-premium-accordions {
    display: grid;
    gap: 10px;
    margin: 18px 0 4px;
  }

  .pdp-premium-accordion {
    overflow: hidden;
    border: 1px solid rgba(181, 101, 122, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
  }

  .pdp-premium-accordion button {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: #221917;
    font: 800 0.82rem/1 var(--font-body, system-ui);
  }

  .pdp-premium-accordion button span:last-child {
    color: rgba(34, 25, 23, 0.42);
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .pdp-premium-accordion.is-open button span:last-child {
    transform: rotate(90deg);
  }

  .pdp-premium-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    color: rgba(34, 25, 23, 0.66);
    font: 600 0.78rem/1.55 var(--font-body, system-ui);
    transition:
      max-height 320ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 220ms ease;
  }

  .pdp-premium-accordion.is-open .pdp-premium-panel {
    max-height: 170px;
    opacity: 1;
  }

  .pdp-premium-panel-inner {
    padding: 0 14px 14px;
  }

  .pdp-review-strip {
    display: flex;
    gap: 10px;
    margin: 18px -18px 2px;
    padding: 0 18px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .pdp-review-strip::-webkit-scrollbar {
    display: none;
  }

  .pdp-review-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
    padding: 14px;
    border: 1px solid rgba(181, 101, 122, 0.1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(78, 45, 38, 0.07);
  }

  .pdp-review-card strong {
    display: block;
    color: #221917;
    font: 800 0.8rem/1 var(--font-body, system-ui);
  }

  .pdp-review-card span {
    display: block;
    margin-top: 7px;
    color: rgba(34, 25, 23, 0.6);
    font: 600 0.76rem/1.45 var(--font-body, system-ui);
  }

  .pdp-sticky-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 260;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(181, 101, 122, 0.14);
    background: rgba(255, 252, 249, 0.92);
    box-shadow: 0 -18px 36px rgba(55, 34, 30, 0.12);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateY(112%);
    transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .pdp-sticky-buy.is-visible {
    transform: translateY(0);
  }

  .pdp-sticky-buy button,
  .pdp-sticky-buy a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font: 850 0.86rem/1 var(--font-body, system-ui);
    text-decoration: none;
    letter-spacing: 0.02em;
  }

  .pdp-sticky-add {
    border: 1.5px solid rgba(181, 101, 122, 0.36);
    background: #fff;
    color: #221917;
  }

  .pdp-sticky-buy-now {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #221917, #6e4740 58%, #b5657a);
    box-shadow: 0 12px 26px rgba(181, 101, 122, 0.2);
  }

  .pdp-zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 380;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(25, 17, 16, 0.76);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
  }

  .pdp-zoom-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .product-img-frame img {
    object-fit: cover;
    object-position: center top;
    filter: none !important;
    image-rendering: auto;
  }

  .pdp-zoom-overlay img {
    max-width: 100%;
    max-height: 82svh;
    object-fit: contain;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(0,0,0,0.26);
  }

  .pdp-zoom-close {
    position: fixed;
    top: calc(16px + env(safe-area-inset-top));
    right: 16px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    color: #fff;
    font-size: 1.4rem;
  }
}

/* ============================================================
   PART 1 — LUXURY MOBILE PRODUCT CARDS
   ============================================================ */

/* ── 1.1 PRODUCT GRID — Refined spacing & rhythm ── */
@media (max-width: 900px) {

  .product-grid-lux {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
    padding: 0;
  }

  /* ── 1.2 CARD SHELL — Editorial surface ── */
  .product-card-lux {
    border-radius: var(--d9-card-radius);
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(237, 230, 221, 0.45);
    box-shadow: var(--d9-card-shadow);
    /* Reset reveal to prepare for D9 version */
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    transition:
      opacity    var(--d9-dur-reveal) var(--d9-ease-silk),
      transform  var(--d9-dur-reveal) var(--d9-ease-silk),
      box-shadow var(--d9-dur-card) var(--d9-ease-drift);
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    will-change: opacity, transform;
  }

  .product-card-lux.lux-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  /* Stagger: 2-column pairs */
  .product-card-lux:nth-child(2n+1) { transition-delay: 0s;     }
  .product-card-lux:nth-child(2n+2) { transition-delay: 0.08s;  }
  .product-card-lux:nth-child(n+3)  { transition-delay: 0.14s;  }
  .product-card-lux:nth-child(n+5)  { transition-delay: 0.20s;  }
  .product-card-lux:nth-child(n+7)  { transition-delay: 0.24s;  }

  /* Tap state: single, refined scale */
  .product-card-lux:active {
    transform: scale(0.968) translateY(1px) !important;
    box-shadow: var(--d9-card-shadow-press) !important;
    transition-duration: 0.09s !important;
  }

  /* ── 1.3 CARD IMAGE — Cinematic portrait frame ── */
  .lux-img-container {
    position: relative;
    aspect-ratio: 2 / 3;   /* tall fashion-editorial portrait */
    overflow: hidden;
    background: var(--blush);
    border-radius: 0;
  }

  /* Refined grain film overlay */
  .lux-img-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E");
    background-size: 160px 160px;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: overlay;
  }

  .lux-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: contrast(1.04) saturate(1.06);
    transition: transform 1.1s var(--d9-ease-drift);
    will-change: transform;
  }

  /* Subtle parallax-feel zoom on card tap */
  .product-card-lux:active .lux-img-container img {
    transform: scale(1.03);
    transition-duration: 0.35s;
  }

  /* Hover-layer: vignette bottom — editorial depth */
  .lux-hover-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(28, 25, 23, 0.22) 0%,
      rgba(28, 25, 23, 0.04) 40%,
      transparent 65%
    );
    opacity: 1;
    pointer-events: none;
    z-index: 1;
  }

  /* Quick add overlay — stays but refine position */
  .lux-quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 12px 14px;
    z-index: 3;
    display: flex;
    opacity: 0;
    transform: translateY(6px);
    transition:
      opacity  0.3s var(--d9-ease-silk),
      transform 0.3s var(--d9-ease-silk);
    pointer-events: none;
  }

  /* Badges — luxury pill */
  .lux-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow: visible;
    pointer-events: none;
  }

  .lux-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Text containment */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    flex-shrink: 0;
    align-self: flex-start;
    /* Typography */
    font-family: var(--font-body);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
    /* Geometry */
    padding: 5px 10px;
    border-radius: 999px;
    /* No transform on badge */
    transform: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Wishlist button */
  .lux-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(250, 248, 245, 0.88);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(237, 230, 221, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--taupe);
    z-index: 4;
    cursor: pointer;
    transition:
      background var(--d9-dur-fast) ease,
      color var(--d9-dur-fast) ease,
      transform var(--d9-dur-fast) ease;
  }

  .lux-wishlist-btn:active {
    transform: scale(0.88);
    color: var(--rose-dark);
    background: rgba(250, 241, 244, 0.96);
  }

  /* ── 1.4 CARD BODY — Luxury typography ── */
  .lux-product-info {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--white);
  }

  /* Category eyebrow */
  .lux-cat-label,
  .lux-category-label {
    font-family: var(--font-body);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--rose-dark);
    margin-bottom: 5px;
    line-height: 1;
    opacity: 0.85;
  }

  /* Product name */
  .lux-product-name {
    font-family: var(--font-head);
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--charcoal);
    text-decoration: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 0;
    transition: color 0.22s ease;
  }

  /* Description — hide on mobile for elegance */
  .lux-product-desc {
    display: none;
  }

  /* Bottom row: price + stock */
  .lux-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 9px;
    margin-bottom: 11px;
  }

  .lux-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 5px;
  }

  .lux-price {
    font-family: var(--font-head);
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--charcoal);
    letter-spacing: -0.02em;
    line-height: 1;
  }

  /* Stock dot */
  .lux-stock-dot {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
  }

  .lux-stock-dot::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .lux-stock-dot.in-stock {
    color: #5a7c6a;
  }
  .lux-stock-dot.in-stock::before {
    background: #5a7c6a;
  }

  .lux-stock-dot.out-of-stock {
    color: var(--taupe);
  }
  .lux-stock-dot.out-of-stock::before {
    background: var(--taupe);
  }

  /* ── 1.5 CARD CTA — Elegant add to cart ── */
  .lux-cart-btn {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(28, 25, 23, 0.28);
    border-radius: 2px;
    background: transparent;
    color: var(--charcoal);
    font-family: var(--font-body);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    transition:
      background  var(--d9-dur-card) var(--d9-ease-drift),
      color       var(--d9-dur-card) var(--d9-ease-drift),
      border-color var(--d9-dur-card) var(--d9-ease-drift),
      transform   var(--d9-dur-fast) ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .lux-cart-btn:not(:disabled):active {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
    transform: scale(0.97);
    transition-duration: 0.1s;
  }

  .lux-cart-btn:disabled {
    border-color: var(--border);
    color: var(--taupe);
    cursor: not-allowed;
    opacity: 0.65;
  }

  /* Quick add button (overlay) */
  .lux-quick-add-btn {
    width: 100%;
    padding: 11px 14px;
    background: rgba(250, 248, 245, 0.95);
    border: 1px solid rgba(237, 230, 221, 0.8);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--charcoal);
    cursor: pointer;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    min-height: 42px;
    transition: background var(--d9-dur-fast);
  }

  .lux-quick-add-btn:active {
    background: var(--blush);
  }

  .lux-quick-add-btn:disabled {
    color: var(--taupe);
    cursor: not-allowed;
  }
}

/* ── Small phones: tighter card grid ── */
@media (max-width: 560px) {
  .product-grid-lux {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 10px;
  }

  .lux-product-info {
    padding: 13px 12px 16px;
  }

  .lux-product-name {
    font-size: 0.88rem;
    -webkit-line-clamp: 2;
  }

  .lux-price {
    font-size: 0.98rem;
  }

  .lux-cart-btn {
    font-size: 0.58rem;
    padding: 12px 12px;
    letter-spacing: 0.14em;
    min-height: 44px;
  }

  .lux-cat-label,
  .lux-category-label {
    font-size: 0.48rem;
  }
}

/* ── Tiny phones: single column ── */
@media (max-width: 380px) {
  .product-grid-lux {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lux-img-container {
    aspect-ratio: 4 / 3;
  }

  .lux-product-info {
    padding: 14px 14px 18px;
  }

  .lux-product-name {
    font-size: 1rem;
    -webkit-line-clamp: 2;
  }

  .lux-price {
    font-size: 1.1rem;
  }
}

/* ============================================================
   PART 2 — LUXURY MOBILE PRODUCT DETAIL PAGE (PDP)
   ============================================================ */

/* ── 2.1 PDP PAGE FOUNDATION ── */
@media (max-width: 900px) {

  .product-page {
    background: var(--white);
    padding: 0;
    padding-top: 0;
    padding-bottom: calc(var(--d9-sticky-h) + 20px + env(safe-area-inset-bottom, 0px));
  }

  /* ── 2.2 BREADCRUMB — slim & elegant ── */
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--taupe);
    padding: 14px 20px 0;
    margin-bottom: 0;
    overflow: hidden;
  }

  .breadcrumb a {
    color: var(--taupe);
    white-space: nowrap;
  }

  .breadcrumb-current {
    color: var(--charcoal);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
  }

  .breadcrumb-sep {
    color: var(--sand);
    font-size: 0.6rem;
    flex-shrink: 0;
  }

  /* ── 2.3 PRODUCT LAYOUT — single column ── */
  .product-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    grid-template-columns: unset;
    animation: pdpMobileReveal 0.68s var(--d9-ease-cinematic) both;
  }

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

  /* ── 2.4 GALLERY COLUMN ── */
  .product-img-col {
    position: relative;
    top: unset;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
  }

  /* ── 2.5 CINEMATIC GALLERY FRAME ── */
  .product-img-frame {
    border-radius: 0;
    aspect-ratio: 3 / 4;
    max-height: var(--d9-gallery-max-h);
    min-height: var(--d9-gallery-min-h);
    overflow: hidden;
    background: var(--blush);
    position: relative;
  }

  .product-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: contrast(1.05) saturate(1.08);
    transition: transform var(--d9-dur-gallery) var(--d9-ease-cinematic);
    will-change: transform;
  }

  /* Disable hover-zoom on touch (mobile UX) */
  .product-img-frame:hover img {
    transform: none;
  }

  /* Gradient vignette: editorial depth — dual top + bottom */
  .product-img-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to bottom, rgba(28, 25, 23, 0.08) 0%, transparent 22%),
      linear-gradient(to top,    rgba(28, 25, 23, 0.28) 0%, transparent 40%);
    pointer-events: none;
    z-index: 2;
  }

  /* Hide deco lines on mobile */
  .product-img-frame .img-deco-line {
    display: none;
  }

  /* Product badge on image */
  .product-img-badge {
    top: 16px;
    left: 16px;
    font-size: 0.5rem;
    padding: 5px 13px;
    letter-spacing: 0.2em;
    z-index: 5;
  }

  /* ── 2.6 GALLERY SWIPE SYSTEM ── */
  .product-gallery-mobile-wrap {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
  }

  .product-gallery-track {
    display: flex;
    transition: transform var(--d9-dur-gallery) var(--d9-ease-silk);
    will-change: transform;
  }

  .product-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
  }

  /* Dot indicators */
  .product-gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 6;
    padding: 6px 10px;
    border-radius: 20px;
    background: rgba(28, 25, 23, 0.18);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .gallery-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition:
      background 0.3s var(--d9-ease-silk),
      width     0.3s var(--d9-ease-silk);
    flex-shrink: 0;
  }

  .gallery-dot.active {
    background: rgba(255, 255, 255, 0.95);
    width: 16px;
    border-radius: 2px;
  }

  /* ── 2.7 THUMBNAIL STRIP — horizontal scroll ── */
  .product-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 12px 20px 14px;
    margin: 0 -20px;
    background: var(--white);
  }

  .product-gallery-thumbs::-webkit-scrollbar {
    display: none;
  }

  .product-gallery-thumb {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: var(--d9-card-radius-sm);
    overflow: hidden;
    border: 1.5px solid transparent;
    background: var(--blush);
    cursor: pointer;
    transition:
      border-color 0.25s var(--d9-ease-silk),
      transform    0.25s var(--d9-ease-silk),
      box-shadow   0.25s var(--d9-ease-silk);
    position: relative;
  }

  .product-gallery-thumb.is-active {
    border-color: var(--rose-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(181, 101, 122, 0.22);
  }

  .product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s var(--d9-ease-drift);
  }

  .product-gallery-thumb:active img {
    transform: scale(1.06);
  }

  .product-gallery-thumb span {
    display: none;
  }

  /* ── 2.8 PRODUCT INFO SECTION ── */
  .product-info-col {
    padding: 28px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* Category tag */
  .product-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--rose-dark);
    margin-bottom: 14px;
  }

  .product-category-tag::before {
    width: 16px;
    height: 1px;
    background: var(--rose-dark);
    flex-shrink: 0;
  }

  /* ── 2.9 TITLE SYSTEM ── */
  .product-title {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 6.2vw, 2.4rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.028em;
    color: var(--charcoal);
    margin-bottom: 8px;
    text-wrap: balance;
    -webkit-text-wrap: balance;
  }

  .product-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--rose-dark);
  }

  .product-subtitle {
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    color: var(--taupe);
    text-transform: uppercase;
    margin-bottom: 24px;
    line-height: 1.55;
    opacity: 0.88;
  }

  /* ── 2.10 PRICE SYSTEM ── */
  .product-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 26px;
    padding-bottom: 26px;
    position: relative;
  }

  .product-price-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--rose-light);
  }

  .product-price-main {
    font-family: var(--font-head);
    font-size: 1.9rem;
    font-weight: 500;
    color: var(--charcoal);
    letter-spacing: -0.025em;
    line-height: 1;
  }

  .product-price-note {
    font-size: 0.68rem;
    color: var(--taupe);
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1.4;
  }

  /* ── 2.11 DESCRIPTION ── */
  .product-description-wrap {
    margin-bottom: 26px;
  }

  .product-description-heading {
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--taupe);
    margin-bottom: 10px;
  }

  .product-description {
    font-size: 0.9rem;
    color: var(--charcoal);
    line-height: 1.9;
    font-weight: 300;
    opacity: 0.82;
  }

  /* ── 2.12 VARIANT / COLOR SELECTOR — Premium tactile ── */
  .variant-selector {
    margin-bottom: 26px;
  }

  .variant-label {
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--taupe);
    margin-bottom: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .variant-selected-name {
    font-weight: 500;
    color: var(--charcoal);
    letter-spacing: 0.06em;
    text-transform: none;
    font-size: 0.68rem;
  }

  .variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .variant-option {
    border: 1px solid rgba(237, 230, 221, 0.9);
    background: var(--white);
    color: var(--charcoal);
    border-radius: 2px;
    padding: 12px 18px;
    min-height: 48px;
    font-family: var(--font-body);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
      border-color 0.24s var(--d9-ease-silk),
      color        0.24s var(--d9-ease-silk),
      background   0.24s var(--d9-ease-silk),
      box-shadow   0.24s var(--d9-ease-silk),
      transform    var(--d9-dur-fast) ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-shadow: 0 1px 4px rgba(60, 40, 30, 0.04);
  }

  .variant-option:active {
    transform: scale(0.94);
    transition-duration: 0.09s;
  }

  .variant-option.is-active {
    border-color: var(--charcoal);
    color: var(--white);
    background: var(--charcoal);
    box-shadow: 0 3px 12px rgba(28, 25, 23, 0.18);
  }

  /* ── 2.13 META GRID — Material & details ── */
  .product-meta-grid {
    margin-bottom: 28px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .product-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid rgba(237, 230, 221, 0.7);
  }

  .product-meta-row:last-child {
    border-bottom: none;
  }

  .product-meta-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--taupe);
    text-transform: uppercase;
    letter-spacing: 0.16em;
  }

  .product-meta-value {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--charcoal);
    letter-spacing: 0.02em;
    text-align: right;
    max-width: 55%;
    line-height: 1.4;
  }

  /* Stock indicators */
  .stock-in {
    font-size: 0.72rem;
    font-weight: 600;
    gap: 6px;
  }

  .stock-in::before {
    width: 5px;
    height: 5px;
    animation: none;
  }

  .stock-low {
    font-size: 0.72rem;
    font-weight: 600;
    gap: 6px;
  }

  .stock-low::before {
    width: 5px;
    height: 5px;
  }

  .stock-out {
    font-size: 0.72rem;
    font-weight: 500;
    gap: 6px;
  }

  .stock-out::before {
    width: 5px;
    height: 5px;
  }

  /* ── 2.14 TRUST PILLARS — Mobile grid ── */
  .trust-pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    border-radius: var(--d9-card-radius-sm);
    margin-bottom: 20px;
  }

  .trust-pillar {
    padding: 16px 14px;
    gap: 3px;
  }

  .trust-pillar-icon {
    font-size: 0.95rem;
    margin-bottom: 3px;
  }

  .trust-pillar-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.3;
  }

  .trust-pillar-sub {
    font-size: 0.6rem;
    color: var(--taupe);
    line-height: 1.4;
  }

  /* ── 2.15 PRIMARY ADD TO CART ── */
  .product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }

  .btn-add-cart {
    width: 100%;
    padding: 17px 24px;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    min-height: 54px;
    position: relative;
    overflow: hidden;
  }

  .btn-add-cart:not(:disabled) {
    background: var(--charcoal);
    color: var(--white);
    border: none;
    box-shadow: 0 6px 24px rgba(28, 25, 23, 0.20);
  }

  .btn-add-cart:not(:disabled):active {
    transform: scale(0.98) !important;
    box-shadow: 0 3px 12px rgba(28, 25, 23, 0.15) !important;
    transition-duration: 0.1s !important;
  }

  .btn-add-cart:disabled {
    background: var(--sand);
    color: var(--taupe);
    cursor: not-allowed;
    box-shadow: none;
  }

  /* Cart feedback */
  .cart-feedback {
    padding: 13px 18px;
    border-radius: var(--d9-card-radius-sm);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    line-height: 1.5;
  }

  /* OOS notice */
  .oos-notice {
    padding: 13px 16px;
    border-radius: var(--d9-card-radius-sm);
    font-size: 0.74rem;
    line-height: 1.6;
    gap: 10px;
  }

  /* Back link */
  .btn-back {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    margin-bottom: 24px;
    padding: 10px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* ── 2.16 STICKY ADD-TO-CART BAR ── */
  .product-sticky-cta,
  .pdp-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--d9-sticky-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 1px solid rgba(237, 230, 221, 0.7);
    padding: 10px 20px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow:
      0 -1px 0 rgba(255, 255, 255, 0.8),
      0 -12px 40px rgba(60, 40, 30, 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: d9StickySlideUp 0.52s var(--d9-ease-silk) both;
  }

  @keyframes d9StickySlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }

  /* Sticky bar price micro-label */
  .pdp-sticky-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
  }

  .pdp-sticky-name {
    font-family: var(--font-body);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--taupe);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
  }

  .pdp-sticky-amount {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--charcoal);
    letter-spacing: -0.025em;
    line-height: 1;
  }

  /* Sticky bar button */
  .product-sticky-cta .btn-primary,
  .pdp-sticky-bar .btn-primary,
  .pdp-add-btn {
    flex: 1;
    padding: 15px 20px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    border-radius: 2px;
    box-shadow:
      0 4px 20px rgba(181, 101, 122, 0.30),
      0 1px 4px rgba(181, 101, 122, 0.15);
    min-height: 52px;
    font-weight: 700;
  }

  .product-sticky-cta .btn-primary:active,
  .pdp-sticky-bar .btn-primary:active,
  .pdp-add-btn:active {
    transform: scale(0.97) !important;
    box-shadow: 0 2px 8px rgba(181, 101, 122, 0.18) !important;
    transition-duration: 0.09s !important;
  }

  /* ── 2.17 QUANTITY SELECTOR — Premium mobile ── */
  .qty-selector,
  .qty-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
    height: 50px;
    flex-shrink: 0;
    background: var(--white);
  }

  .qty-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    color: var(--charcoal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--d9-dur-fast) ease;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .qty-btn:active {
    background: var(--blush);
  }

  .qty-val,
  .qty-display {
    min-width: 44px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--charcoal);
    border: none;
    outline: none;
    background: transparent;
    padding: 0 4px;
    font-family: var(--font-body);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    line-height: 50px;
    height: 50px;
  }

  /* ── 2.18 PRODUCT DETAILS ACCORDIONS ── */
  .product-accordion,
  .product-details-section {
    border-top: 1px solid var(--border);
    margin: 0;
  }

  .product-accordion-item,
  .accordion-item {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
  }

  .product-accordion-header,
  .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--charcoal);
    text-align: left;
    min-height: 56px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: color var(--d9-dur-fast) ease;
  }

  .product-accordion-header:active,
  .accordion-header:active {
    color: var(--rose-dark);
  }

  .accordion-chevron {
    width: 14px;
    height: 14px;
    border-right: 1.5px solid var(--taupe);
    border-bottom: 1.5px solid var(--taupe);
    transform: rotate(45deg) translateY(-3px);
    transition: transform 0.28s var(--d9-ease-silk), border-color 0.22s ease;
    flex-shrink: 0;
    margin-left: 12px;
  }

  .product-accordion-item.open .accordion-chevron,
  .accordion-item.open .accordion-chevron {
    transform: rotate(-135deg) translateY(-2px);
    border-color: var(--rose-dark);
  }

  .product-accordion-body,
  .accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s var(--d9-ease-silk), opacity 0.35s ease;
    opacity: 0;
  }

  .product-accordion-item.open .product-accordion-body,
  .accordion-item.open .accordion-body {
    max-height: 600px;
    opacity: 1;
  }

  .product-accordion-content,
  .accordion-content {
    padding: 0 0 22px;
    font-size: 0.86rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.9;
    letter-spacing: 0.01em;
  }

  .product-accordion-content ul,
  .accordion-content ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .product-accordion-content li,
  .accordion-content li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.84rem;
    line-height: 1.65;
  }

  .product-accordion-content li::before,
  .accordion-content li::before {
    content: '';
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--rose-dark);
    flex-shrink: 0;
    margin-top: 0.55em;
  }

  /* ── 2.19 EDITORIAL SECTION — Mobile ── */
  .product-editorial {
    background: var(--parchment);
    padding: 56px 0;
    margin-top: 40px;
  }

  .editorial-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .editorial-pillar h3 {
    font-size: 1.15rem;
    line-height: 1.25;
  }

  .editorial-pillar p {
    font-size: 0.82rem;
    line-height: 1.85;
  }

  /* ── 2.20 RELATED PRODUCTS — Mobile ── */
  .related-section {
    padding: 56px 0 80px;
  }

  .related-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 32px;
  }

  .related-title {
    font-size: clamp(1.45rem, 5.5vw, 1.8rem);
    line-height: 1.15;
  }

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

  .related-skeleton {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .related-card-img {
    border-radius: var(--d9-card-radius);
    margin-bottom: 12px;
  }

  .related-card-name {
    font-size: 0.88rem;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  .related-card-price {
    font-size: 0.78rem;
  }

  .related-card-category {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .related-card:active .related-card-img img {
    transform: scale(1.03);
    transition-duration: 0.3s;
  }

  /* ── 2.21 SKELETON LOADING — Mobile PDP ── */
  .product-skeleton {
    display: flex;
    flex-direction: column;
    gap: 0;
    grid-template-columns: unset;
    animation: pdpMobileReveal 0.4s ease both;
  }

  .skeleton-img {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    aspect-ratio: 4 / 5;
    max-height: var(--d9-gallery-max-h);
    border-radius: 0;
  }

  .skeleton-btn {
    height: 54px;
    border-radius: 2px;
    margin-top: 24px;
  }

  /* ── 2.22 PRODUCT PAGE BODY — safe spacing ── */
  .product-page-body {
    padding-bottom: calc(var(--d9-sticky-h) + 24px + env(safe-area-inset-bottom, 0px));
  }

  /* ── 2.23 BACK BUTTON / BREADCRUMB AREA ── */
  .pdp-top-nav {
    display: flex;
    align-items: center;
    padding: 16px 20px 0;
    min-height: 52px;
  }

  .pdp-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--taupe);
    background: none;
    border: none;
    cursor: pointer;
    min-height: 44px;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease, gap 0.2s ease;
  }

  .pdp-back-btn:active {
    color: var(--rose-dark);
  }

  /* ── 2.24 SHARE / WISHLIST ROW ── */
  .product-share-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 0 16px;
  }

  .product-share-btn,
  .product-wishlist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--charcoal);
    cursor: pointer;
    transition:
      background var(--d9-dur-fast) ease,
      border-color var(--d9-dur-fast) ease,
      color var(--d9-dur-fast) ease,
      transform var(--d9-dur-fast) ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .product-wishlist-btn:active {
    color: var(--rose-dark);
    border-color: var(--rose-dark);
    background: var(--blush);
    transform: scale(0.9);
  }

  .product-share-btn:active {
    background: var(--blush);
    transform: scale(0.9);
  }
}

/* ── Small phones: PDP adjustments ── */
@media (max-width: 560px) {

  .product-img-frame {
    max-height: 52svh;
    min-height: 280px;
  }

  .product-img-col {
    width: calc(100% + 36px);
    margin-left: -18px;
    margin-right: -18px;
  }

  .product-info-col {
    padding: 24px 18px 0;
  }

  .product-title {
    font-size: clamp(1.5rem, 5.5vw, 1.9rem);
  }

  .product-price-main {
    font-size: 1.7rem;
  }

  .product-gallery-thumbs {
    padding: 12px 18px;
    margin: 0 -18px;
  }

  .product-gallery-thumb {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
  }

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

  .editorial-inner {
    gap: 28px;
  }
}

/* ── Tiny phones: PDP ── */
@media (max-width: 380px) {

  .product-img-frame {
    max-height: 48svh;
    min-height: 240px;
  }

  .product-title {
    font-size: 1.45rem;
  }

  .product-price-main {
    font-size: 1.55rem;
  }

  .variant-option {
    padding: 11px 12px;
    font-size: 0.64rem;
    min-height: 44px;
  }

  .btn-add-cart {
    font-size: 0.7rem;
    padding: 16px 20px;
  }

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

  .trust-pillar-label {
    font-size: 0.64rem;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ============================================================
   D9 · INTERSECTION OBSERVER REVEAL SYSTEM
   (product cards — driven by JS in d9-luxury-mobile-pdp.js)
   ============================================================ */
@media (max-width: 900px) {

  /* Ensure un-observed cards are invisible until JS fires */
  .product-card-lux:not(.lux-visible) {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }

  /* Once visible, transition smoothly */
  .product-card-lux.lux-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================================
   D9 · REDUCED MOTION OVERRIDE
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  @media (max-width: 900px) {
    .product-card-lux,
    .product-card-lux.lux-visible,
    .product-layout,
    .product-sticky-cta,
    .pdp-sticky-bar {
      animation: none !important;
      transition: opacity 0.1s !important;
      transform: none !important;
    }

    .product-card-lux {
      opacity: 1 !important;
    }

    .lux-img-container img,
    .product-img-frame img,
    .product-gallery-track {
      transition: none !important;
    }
  }
}

/* ============================================================
   D9 · SAFE AREA SUPPORT
   ============================================================ */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  @media (max-width: 900px) {
    .product-sticky-cta,
    .pdp-sticky-bar {
      padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }

    .product-page-body,
    .product-page {
      padding-bottom: calc(var(--d9-sticky-h) + 24px + env(safe-area-inset-bottom));
    }
  }
}

/* ============================================================
   FINAL PREMIUM MOBILE PDP STABILIZATION
   ============================================================ */
@media (max-width: 1023px) {
  :root {
    --cc-lux-ink: #211816;
    --cc-lux-muted: rgba(33, 24, 22, 0.62);
    --cc-lux-rose: #a85f72;
    --cc-lux-blush: #fff1f5;
    --cc-lux-ivory: #fffaf7;
    --cc-lux-border: rgba(168, 95, 114, 0.14);
    --cc-lux-shadow: 0 18px 42px rgba(61, 35, 31, 0.12);
    --cc-lux-ease: cubic-bezier(0.16, 1, 0.3, 1);
  }

  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .product-page {
    padding-top: 82px !important;
    padding-bottom: calc(116px + env(safe-area-inset-bottom, 0px)) !important;
    background: linear-gradient(180deg, var(--cc-lux-ivory), #fff 45%, #fff8f6) !important;
  }

  .product-page .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 14px;
  }

  .breadcrumb {
    display: none !important;
  }

  .product-layout {
    display: block !important;
    animation: pdpMobileReveal 420ms var(--cc-lux-ease) both;
  }

  .product-img-col {
    position: relative !important;
    top: auto !important;
    width: calc(100% + 28px) !important;
    margin: 0 -14px !important;
    overflow: hidden;
  }

  .product-img-frame {
    width: 100%;
    min-height: 390px !important;
    max-height: min(62svh, 560px) !important;
    aspect-ratio: 4 / 5 !important;
    border-radius: 0 0 28px 28px !important;
    background: #f9ecef !important;
    box-shadow: none !important;
    touch-action: pan-y pinch-zoom;
  }

  .product-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center top !important;
    transform: translateZ(0);
  }

  .product-img-badge,
  .pdp-zoom-trigger {
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    border: 1px solid rgba(255, 255, 255, 0.68) !important;
    color: var(--cc-lux-rose) !important;
    box-shadow: 0 10px 24px rgba(61, 35, 31, 0.12) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .pdp-zoom-trigger {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 8;
    min-height: 34px;
    padding: 0 13px;
    font: 850 0.62rem/1 var(--font-body, system-ui);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .product-gallery-thumbs {
    display: flex !important;
    gap: 9px !important;
    overflow-x: auto;
    padding: 12px 14px 4px !important;
    margin: 0 !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .product-gallery-thumbs::-webkit-scrollbar,
  .pdp-review-rail::-webkit-scrollbar {
    display: none;
  }

  .product-gallery-thumb {
    flex: 0 0 62px !important;
    width: 62px !important;
    height: 72px !important;
    border-radius: 16px !important;
    border: 1px solid var(--cc-lux-border) !important;
    overflow: hidden;
    background: #fff !important;
    scroll-snap-align: start;
  }

  .product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .product-gallery-thumb span {
    display: none !important;
  }

  .product-info-col {
    padding: 18px 0 0 !important;
  }

  .product-category-tag,
  .pdp-discount-chip,
  .stock-in,
  .stock-low,
  .stock-out,
  .pdp-promise-row span {
    border-radius: 999px !important;
    border: 1px solid var(--cc-lux-border);
    background: rgba(255, 255, 255, 0.78);
    color: var(--cc-lux-rose);
    box-shadow: 0 8px 18px rgba(61, 35, 31, 0.06);
  }

  .pdp-rating-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    margin: 10px 0 8px;
    padding: 0 10px;
    border: 1px solid rgba(213, 154, 43, 0.18);
    border-radius: 999px;
    background: #fff8ea;
    color: #8a6122;
    font: 750 0.72rem/1 var(--font-body, system-ui);
  }

  .pdp-stars {
    color: #d69b2a;
    letter-spacing: 0;
    font-size: 0.68rem;
  }

  .product-title {
    margin: 4px 0 4px !important;
    color: var(--cc-lux-ink) !important;
    font-size: clamp(1.58rem, 7vw, 2.18rem) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
  }

  .product-subtitle {
    margin-bottom: 14px !important;
    color: var(--cc-lux-muted) !important;
    font-size: 0.78rem !important;
  }

  .product-price-row {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .product-price-main {
    order: 1;
    color: var(--cc-lux-ink) !important;
    font: 850 1.55rem/1 var(--font-body, system-ui) !important;
  }

  .pdp-old-price {
    order: 2;
    color: rgba(33, 24, 22, 0.42);
    font: 650 0.9rem/1 var(--font-body, system-ui);
    text-decoration: line-through;
  }

  .pdp-discount-chip {
    order: 3;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    padding: 0 9px;
    color: #147849 !important;
    background: #effbf4 !important;
    font: 850 0.66rem/1 var(--font-body, system-ui);
  }

  .product-price-note {
    order: 4;
    flex-basis: 100%;
    color: var(--cc-lux-muted) !important;
    font-size: 0.7rem !important;
  }

  .pdp-promise-row {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 14px;
    scrollbar-width: none;
  }

  .pdp-promise-row span {
    flex: 0 0 auto;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    font: 800 0.68rem/1 var(--font-body, system-ui);
  }

  .product-description-wrap,
  .variant-selector,
  .product-meta-grid,
  .trust-pillars,
  .pdp-benefit-grid,
  .pdp-story-card,
  .pdp-review-system,
  .pdp-faq {
    margin: 12px 0 !important;
    padding: 14px !important;
    border: 1px solid var(--cc-lux-border) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: 0 12px 28px rgba(61, 35, 31, 0.07) !important;
  }

  .product-actions {
    display: none !important;
  }

  .pdp-benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .pdp-benefit-grid article {
    display: grid;
    gap: 3px;
    padding: 12px;
    border-radius: 16px;
    background: var(--cc-lux-ivory);
  }

  .pdp-benefit-grid strong,
  .pdp-story-card h2,
  .pdp-review-summary strong,
  .pdp-review-head strong,
  .pdp-faq summary {
    color: var(--cc-lux-ink);
    letter-spacing: 0;
  }

  .pdp-benefit-grid span,
  .pdp-story-card p,
  .pdp-review-system p,
  .pdp-review-system span,
  .pdp-faq p {
    color: var(--cc-lux-muted);
    font: 600 0.78rem/1.45 var(--font-body, system-ui);
  }

  .pdp-mini-kicker {
    margin: 0 0 7px !important;
    color: var(--cc-lux-rose) !important;
    font: 850 0.62rem/1 var(--font-body, system-ui) !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .pdp-story-card h2 {
    margin: 0 0 8px;
    font: 750 1.12rem/1.14 var(--font-head, serif);
  }

  .pdp-review-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 12px;
    align-items: center;
  }

  .pdp-review-summary strong {
    display: block;
    font: 850 1.8rem/1 var(--font-body, system-ui);
  }

  .pdp-review-bars {
    display: grid;
    gap: 5px;
  }

  .pdp-review-bars i {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cc-lux-rose) var(--w), #f3e1e2 var(--w));
  }

  .pdp-review-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin: 12px -14px -2px;
    padding: 0 14px 2px;
    scroll-snap-type: x mandatory;
  }

  .pdp-review-rail article {
    flex: 0 0 min(82vw, 300px);
    scroll-snap-align: start;
    padding: 13px;
    border: 1px solid var(--cc-lux-border);
    border-radius: 18px;
    background: #fffaf7;
  }

  .pdp-review-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
  }

  .pdp-review-head span {
    color: #147849;
    font-weight: 850;
  }

  .pdp-faq details {
    border-bottom: 1px solid rgba(168, 95, 114, 0.12);
    padding: 11px 0;
  }

  .pdp-faq details:last-child {
    border-bottom: 0;
  }

  .pdp-faq summary {
    cursor: pointer;
    font: 800 0.86rem/1.2 var(--font-body, system-ui);
  }

  .pdp-faq p {
    margin: 8px 0 0;
  }

  .pdp-sticky-buy {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 220;
    display: grid;
    grid-template-columns: minmax(74px, 0.8fr) auto minmax(122px, 1.25fr);
    gap: 8px;
    align-items: center;
    min-height: 72px;
    padding: 10px;
    border: 1px solid rgba(168, 95, 114, 0.18);
    border-radius: 24px;
    background: rgba(255, 250, 247, 0.92);
    box-shadow: 0 18px 42px rgba(61, 35, 31, 0.18);
    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    transform: translateY(0) !important;
  }

  .pdp-sticky-meta {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .pdp-sticky-meta span {
    color: var(--cc-lux-muted);
    font: 750 0.62rem/1 var(--font-body, system-ui);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .pdp-sticky-meta strong {
    color: var(--cc-lux-ink);
    font: 850 0.98rem/1 var(--font-body, system-ui);
  }

  .pdp-sticky-qty {
    display: grid;
    grid-template-columns: 30px 24px 30px;
    align-items: center;
    min-height: 44px;
    border: 1px solid var(--cc-lux-border);
    border-radius: 16px;
    background: #fff;
    text-align: center;
  }

  .pdp-sticky-qty button {
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--cc-lux-rose);
    font: 850 1rem/1 var(--font-body, system-ui);
  }

  .pdp-buy-now {
    min-height: 48px;
    border: 0;
    border-radius: 17px;
    background: linear-gradient(135deg, #241916, #915264);
    color: #fff;
    box-shadow: 0 12px 24px rgba(77, 43, 39, 0.22);
    font: 850 0.82rem/1 var(--font-body, system-ui);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .pdp-buy-now:disabled {
    background: #d5ccc7;
    box-shadow: none;
  }

  .pdp-image-modal {
    position: fixed;
    inset: 0;
    z-index: 520;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(33, 24, 22, 0.72);
    opacity: 0;
    visibility: hidden;
    transition: opacity 240ms ease, visibility 0s linear 240ms;
  }

  .pdp-image-modal.is-open {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }

  .pdp-image-modal img {
    max-width: 100%;
    max-height: 82svh;
    border-radius: 24px;
    object-fit: contain;
    background: #fff;
    box-shadow: var(--cc-lux-shadow);
  }

  .pdp-image-modal button {
    position: absolute;
    top: max(18px, env(safe-area-inset-top));
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--cc-lux-ink);
    font-size: 1.2rem;
  }
}
