/* ============================================================
   NickAviz — Product Detail Page (Quiet Luxury Atelier)
   Desktop / Tablet / Mobile — dedicated layouts
   ============================================================ */

.pdp-root {
  --pdp-max: 1240px;
  --pdp-gap: clamp(1.5rem, 3vw, 3.25rem);
  --pdp-r: 24px;
  --pdp-r-sm: 14px;
  --pdp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pdp-sticky-h: 0px;
  padding-bottom: calc(2.5rem + var(--pdp-sticky-h) + env(safe-area-inset-bottom, 0px));
  animation: pdpFadeIn 0.55s var(--pdp-ease) both;
}

@keyframes pdpFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pdp-root, .pdp-hero-img, .pdp-thumb, .pdp-cta-primary, .pdp-cta-secondary {
    animation: none !important;
    transition: none !important;
  }
}

.pdp-wrap {
  max-width: var(--pdp-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.75rem);
}

/* ---- Breadcrumb ---- */
.pdp-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding: 1.15rem 0 0.35rem;
  font-size: 0.8rem;
  color: var(--nx-mute, #7A6570);
}
.pdp-crumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--pdp-ease);
}
.pdp-crumb a:hover { color: var(--nx-rose, #C86B96); }
.pdp-crumb .sep { opacity: 0.45; font-size: 0.7rem; }
.pdp-crumb .current {
  color: var(--nx-ink, #2F2430);
  max-width: 42ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- Main 2-column ---- */
.pdp-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: var(--pdp-gap);
  align-items: start;
  padding: 1rem 0 2.5rem;
}

/* ========== GALLERY ========== */
.pdp-gallery {
  position: sticky;
  top: calc(var(--header, 68px) + var(--announce, 34px) + 12px);
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
}

.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: min(72vh, 640px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding-block: 2px;
}

.pdp-thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--nx-cream, #F7F1EC);
  transition: border-color 0.35s var(--pdp-ease), transform 0.35s var(--pdp-ease), box-shadow 0.35s var(--pdp-ease);
  flex-shrink: 0;
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdp-thumb:hover { transform: translateY(-2px); }
.pdp-thumb.is-active {
  border-color: var(--nx-rose, #C86B96);
  box-shadow: 0 8px 22px rgba(200, 107, 150, 0.18);
}

.pdp-stage {
  position: relative;
  border-radius: var(--pdp-r);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(247, 215, 230, 0.55), transparent 55%),
    var(--nx-cream, #F7F1EC);
  border: 1px solid var(--nx-line, #F0D8E4);
  box-shadow: var(--nx-shadow-lg, 0 28px 70px rgba(47, 36, 48, 0.11));
  aspect-ratio: 1 / 1.05;
}

.pdp-hero-frame {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}

.pdp-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
  transition: transform 0.45s var(--pdp-ease), opacity 0.35s var(--pdp-ease);
  will-change: transform;
}

.pdp-hero-frame.is-zooming .pdp-hero-img {
  transition: none;
}

.pdp-stage-badges {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
  pointer-events: none;
}

.pdp-stage-actions {
  position: absolute;
  bottom: 1rem;
  inset-inline-end: 1rem;
  display: flex;
  gap: 0.45rem;
  z-index: 3;
}

.pdp-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(47, 36, 48, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  color: var(--nx-ink, #2F2430);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.3s var(--pdp-ease), box-shadow 0.3s var(--pdp-ease), opacity 0.3s;
  box-shadow: 0 10px 28px rgba(47, 36, 48, 0.08);
}
.pdp-icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pdp-icon-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 32px rgba(47, 36, 48, 0.12);
}
.pdp-icon-btn:disabled,
.pdp-icon-btn.is-soon {
  opacity: 0.72;
  cursor: not-allowed;
}

.pdp-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--nx-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(47, 36, 48, 0.1);
  transition: transform 0.3s var(--pdp-ease), opacity 0.3s;
  opacity: 0;
}
.pdp-stage:hover .pdp-gallery-nav { opacity: 1; }
.pdp-gallery-nav:hover { transform: translateY(-50%) scale(1.06); }
.pdp-gallery-nav.prev { inset-inline-start: 0.75rem; }
.pdp-gallery-nav.next { inset-inline-end: 0.75rem; }
.pdp-gallery-nav svg { width: 18px; height: 18px; }

.pdp-dots {
  display: none;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 0 0;
}
.pdp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--nx-faint, #BCA8B3);
  opacity: 0.45;
  cursor: pointer;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.pdp-dot.is-active {
  opacity: 1;
  background: var(--nx-rose, #C86B96);
  transform: scale(1.25);
}

/* ========== BUY RAIL ========== */
.pdp-buy {
  padding-top: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.pdp-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--nx-mute);
}
.pdp-brand {
  font-weight: 600;
  color: var(--nx-ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.pdp-cat-link {
  color: var(--nx-rose);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.pdp-cat-link:hover { border-color: currentColor; }

.pdp-title {
  font-family: var(--nx-display, 'Markazi Text', serif);
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--nx-ink, #2F2430);
  margin: 0;
  letter-spacing: -0.01em;
}

.pdp-rating-shell {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--nx-soft, #FCEEF5);
  border: 1px solid var(--nx-line);
  color: var(--nx-mute);
  font-size: 0.82rem;
  width: fit-content;
  opacity: 0.85;
}
.pdp-rating-shell .stars { letter-spacing: 0.08em; color: var(--nx-faint); }
.pdp-soon {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(47, 36, 48, 0.06);
  color: var(--nx-mute);
  white-space: nowrap;
}

.pdp-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 500;
  width: fit-content;
}
.pdp-stock::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}
.pdp-stock.in { color: #3d8b55; }
.pdp-stock.low { color: #c47a2c; }
.pdp-stock.out { color: var(--nx-err, #D66A7D); }

.pdp-price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
  padding: 0.35rem 0 0.15rem;
}
.pdp-price-now {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--nx-ink);
  letter-spacing: -0.02em;
}
.pdp-price-was {
  font-size: 1.05rem;
  color: var(--nx-faint);
  text-decoration: line-through;
}
.pdp-discount {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #C86B96, #D97FA8);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(200, 107, 150, 0.28);
}

.pdp-installment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--pdp-r-sm);
  border: 1px dashed var(--nx-line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--nx-mute);
  font-size: 0.86rem;
  opacity: 0.9;
}
.pdp-installment strong { color: var(--nx-ink); font-weight: 600; }

.pdp-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nx-line), transparent);
  border: 0;
  margin: 0.15rem 0;
}

.pdp-option { display: flex; flex-direction: column; gap: 0.55rem; }
.pdp-option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--nx-mute);
  font-weight: 500;
}
.pdp-option-label em {
  font-style: normal;
  color: var(--nx-ink);
  font-weight: 600;
}

.pdp-swatches, .pdp-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pdp-swatch, .pdp-size {
  min-width: 44px;
  min-height: 44px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid var(--nx-line);
  background: var(--nx-white, #fff);
  color: var(--nx-ink);
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color 0.3s var(--pdp-ease), background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.pdp-swatch:hover, .pdp-size:hover {
  border-color: var(--nx-accent);
  transform: translateY(-1px);
}
.pdp-swatch.is-selected, .pdp-size.is-selected {
  border-color: var(--nx-ink);
  background: var(--nx-ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 36, 48, 0.16);
}

.pdp-qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.pdp-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--nx-line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.pdp-qty button {
  width: 46px;
  height: 46px;
  border: none;
  background: transparent;
  color: var(--nx-ink);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.25s;
}
.pdp-qty button:hover { background: var(--nx-soft); }
.pdp-qty span {
  min-width: 2.2rem;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pdp-cta-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.65rem;
}

.pdp-cta-primary,
.pdp-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 54px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.35s var(--pdp-ease), box-shadow 0.35s var(--pdp-ease), opacity 0.3s;
}
.pdp-cta-primary {
  color: #fff;
  background: linear-gradient(135deg, #2F2430 0%, #4a3544 55%, #C86B96 160%);
  box-shadow: 0 16px 36px rgba(47, 36, 48, 0.22);
}
.pdp-cta-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(200, 107, 150, 0.28);
}
.pdp-cta-secondary {
  background: #fff;
  color: var(--nx-ink);
  border: 1.5px solid var(--nx-ink);
}
.pdp-cta-secondary:hover:not(:disabled) {
  background: var(--nx-ink);
  color: #fff;
  transform: translateY(-2px);
}
.pdp-cta-primary:disabled,
.pdp-cta-secondary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.pdp-utility {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.pdp-util-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--nx-line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--nx-mute);
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.pdp-util-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pdp-util-btn:hover:not(:disabled):not(.is-soon) {
  color: var(--nx-ink);
  border-color: var(--nx-accent);
  transform: translateY(-1px);
}
.pdp-util-btn.is-soon,
.pdp-util-btn:disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.pdp-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 0.25rem;
}
.pdp-trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 0.7rem;
  border-radius: var(--pdp-r-sm);
  background: var(--nx-bg-2, #FBF3F6);
  border: 1px solid transparent;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.pdp-trust-item:hover {
  border-color: var(--nx-line);
  transform: translateY(-2px);
}
.pdp-trust-item strong {
  font-size: 0.78rem;
  color: var(--nx-ink);
  font-weight: 600;
}
.pdp-trust-item span {
  font-size: 0.72rem;
  color: var(--nx-mute);
  line-height: 1.45;
}
.pdp-trust-ico {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
  opacity: 0.85;
}

.pdp-seller {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: var(--pdp-r-sm);
  border: 1px solid var(--nx-line);
  background: #fff;
}
.pdp-seller-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #2F2430, #C86B96);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.pdp-seller-body { flex: 1; min-width: 0; }
.pdp-seller-body strong {
  display: block;
  font-size: 0.9rem;
  color: var(--nx-ink);
}
.pdp-seller-body span {
  font-size: 0.76rem;
  color: var(--nx-mute);
}

/* ========== TABS ========== */
.pdp-below {
  max-width: var(--pdp-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.75rem) 1rem;
}

.pdp-tabs-bar {
  position: sticky;
  top: calc(var(--header, 68px) + var(--announce, 34px));
  z-index: 20;
  display: flex;
  gap: 0.25rem;
  padding: 0.55rem 0.4rem;
  margin: 0 0 1.25rem;
  background: color-mix(in srgb, var(--nx-bg, #FFF9FB) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nx-line);
  overflow-x: auto;
  scrollbar-width: none;
}
.pdp-tabs-bar::-webkit-scrollbar { display: none; }

.pdp-tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border: none;
  background: transparent;
  color: var(--nx-mute);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.pdp-tab.is-active {
  background: var(--nx-ink);
  color: #fff;
}
.pdp-tab .pdp-soon { background: rgba(255,255,255,0.16); color: inherit; }

.pdp-panel {
  display: none;
  padding: 0.5rem 0 2rem;
  animation: pdpFadeIn 0.4s var(--pdp-ease) both;
}
.pdp-panel.is-active { display: block; }

.pdp-desc {
  font-size: 1.02rem;
  line-height: 1.95;
  color: var(--nx-mute);
  max-width: 68ch;
  white-space: pre-wrap;
}
.pdp-desc-lead {
  font-family: var(--nx-display);
  font-size: 1.45rem;
  color: var(--nx-ink);
  margin: 0 0 1rem;
  line-height: 1.4;
}

.pdp-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 720px;
}
.pdp-spec {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--pdp-r-sm);
  background: #fff;
  border: 1px solid var(--nx-line);
  font-size: 0.9rem;
}
.pdp-spec dt { color: var(--nx-mute); margin: 0; }
.pdp-spec dd { margin: 0; color: var(--nx-ink); font-weight: 600; text-align: end; }

.pdp-soon-block {
  max-width: 560px;
  padding: 2.25rem 1.5rem;
  border-radius: var(--pdp-r);
  border: 1px dashed var(--nx-line);
  background:
    linear-gradient(180deg, rgba(252, 238, 245, 0.65), rgba(255, 255, 255, 0.4));
  text-align: center;
}
.pdp-soon-block h3 {
  font-family: var(--nx-display);
  font-size: 1.55rem;
  margin: 0.35rem 0 0.5rem;
  color: var(--nx-ink);
}
.pdp-soon-block p {
  margin: 0;
  color: var(--nx-mute);
  line-height: 1.7;
  font-size: 0.92rem;
}

/* ========== RAILS ========== */
.pdp-rail {
  max-width: var(--pdp-max);
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 3vw, 1.75rem) 2.25rem;
}
.pdp-rail-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.pdp-rail-head h2 {
  font-family: var(--nx-display);
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  margin: 0;
  color: var(--nx-ink);
  font-weight: 600;
}
.pdp-rail-head p {
  margin: 0.25rem 0 0;
  color: var(--nx-mute);
  font-size: 0.88rem;
}
.pdp-rail .products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.pdp-rail.is-soon .pdp-soon-block { margin: 0 auto; }

/* ========== MOBILE STICKY CTA ========== */
.pdp-sticky-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 249, 251, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--nx-line);
  box-shadow: 0 -12px 40px rgba(47, 36, 48, 0.08);
}
.pdp-sticky-price {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.pdp-sticky-price strong {
  font-size: 1.05rem;
  color: var(--nx-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdp-sticky-price span {
  font-size: 0.72rem;
  color: var(--nx-mute);
}
.pdp-sticky-bar .pdp-cta-primary {
  flex: 1.2;
  min-height: 48px;
  padding-inline: 1rem;
  font-size: 0.9rem;
}

body.pdp-active .pdp-root { --pdp-sticky-h: 72px; }
body.pdp-active #app-tabbar { bottom: 72px; }
body.pdp-active { padding-bottom: 0; }

/* Lightbox */
.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(25, 18, 22, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}
.pdp-lightbox.is-open { display: flex; }
.pdp-lightbox img {
  max-width: min(920px, 100%);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.pdp-lightbox-close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ========== TABLET ========== */
@media (max-width: 1099px) and (min-width: 768px) {
  .pdp-main {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.75rem;
  }
  .pdp-gallery {
    position: static;
    grid-template-columns: 1fr;
  }
  .pdp-thumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    order: 2;
    padding-bottom: 2px;
  }
  .pdp-stage { order: 1; }
  .pdp-trust { grid-template-columns: repeat(3, 1fr); }
  .pdp-rail .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdp-specs { grid-template-columns: 1fr; }
}

/* ========== MOBILE ========== */
@media (max-width: 767px) {
  .pdp-root { --pdp-sticky-h: 72px; }
  .pdp-main {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding-top: 0.35rem;
  }
  .pdp-gallery {
    position: static;
    grid-template-columns: 1fr;
    margin-inline: calc(-1 * clamp(1rem, 3vw, 1.75rem));
  }
  .pdp-thumbs { display: none; }
  .pdp-stage {
    border-radius: 0;
    border-inline: none;
    aspect-ratio: 1 / 1.08;
    box-shadow: none;
  }
  .pdp-hero-frame { cursor: grab; }
  .pdp-hero-frame.is-zooming .pdp-hero-img { transform: none !important; }
  .pdp-gallery-nav { opacity: 0.85; }
  .pdp-dots { display: flex; }
  .pdp-buy { padding-inline: 0; gap: 1rem; }
  .pdp-title { font-size: clamp(1.7rem, 7vw, 2.15rem); }
  .pdp-cta-row { grid-template-columns: 1fr; }
  .pdp-trust { grid-template-columns: 1fr; }
  .pdp-trust-item {
    flex-direction: row;
    text-align: start;
    align-items: center;
    gap: 0.75rem;
  }
  .pdp-trust-item > div { display: flex; flex-direction: column; gap: 0.15rem; }
  .pdp-tabs-bar {
    top: var(--header, 60px);
    margin-inline: calc(-1 * clamp(1rem, 3vw, 1.75rem));
    padding-inline: clamp(1rem, 3vw, 1.75rem);
  }
  .pdp-specs { grid-template-columns: 1fr; }
  .pdp-rail .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .pdp-sticky-bar { display: flex; }
  .pdp-crumb { padding-top: 0.75rem; font-size: 0.75rem; }
  body.pdp-active #app-tabbar { display: none; }
}

@media (min-width: 768px) {
  .pdp-sticky-bar { display: none !important; }
  body.pdp-active #app-tabbar { bottom: 0; }
}
