/* ============================================
   DSTAR STORE — INDUSTRIAL STREETWEAR
   ============================================ */

:root {
  --black: #0a0a0a;
  --dark: #141414;
  --concrete: #8a8a83;
  --concrete-light: #b0b0a8;
  --concrete-dark: #5c5c57;
  --white: #f0ede8;
  --offwhite: #d4d1cc;
  --accent: #c8c8c0;
  --red: #e63232;
  --green: #4ade80;
  --font-display: 'Archivo Black', sans-serif;
  --font-heading: 'Bebas Neue', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --orange: #ff8c1a;

  --dur-fast: 0.18s;
  --dur-base: 0.32s;
  --dur-slow: 0.6s;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --z-progress: 1000;
  --z-header: 900;
  --z-nav: 880;
  --z-overlay: 960;
  --z-drawer: 970;
  --z-toast: 980;
  --z-loader: 9999;

  --glass-tint: rgba(16, 16, 16, 0.46);
  --glass-tint-strong: rgba(12, 12, 12, 0.72);
  --glass-fallback: rgba(12, 12, 12, 0.94);
  --glass-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 42%, rgba(255, 255, 255, 0) 100%);
  --glass-edge: linear-gradient(160deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0.02) 62%, rgba(255, 255, 255, 0.22) 100%);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 12px 40px rgba(0, 0, 0, 0.38);
  --glass-blur: 16px;
  --glass-saturate: 1.7;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: auto;
  scroll-padding-top: 110px; /* fixed header (top:32px + ~70px height) — anchor targets land below it */
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clips horizontal overflow sin convertir el root en scroll container — preserva position:sticky */
  overscroll-behavior-x: none;
}

body {
  font-family: var(--font-mono);
  background-color: var(--black);
  color: var(--white);
  overflow-x: clip; /* idem html: evita que body sea scroll container y rompa el sticky de .product-detail__info */
  overscroll-behavior-x: none;
  line-height: 1.5;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('https://res.cloudinary.com/dflyysqln/image/upload/f_auto,q_auto,w_800/imagen2_sin_logocelll_bb5hwj');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  pointer-events: none;
  transform: translateZ(0);
}
@media (min-width: 769px) {
  body::before {
    background-image: url('https://res.cloudinary.com/dflyysqln/image/upload/f_auto,q_auto,w_1920/imagen_sin_logo_uuh96t');
    background-position: 50% 15%;
  }
}
/* iPad landscape: background sits higher to keep ceiling lights visible */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  body::before {
    background-position: 50% 10%;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 100svh;
    min-height: 100svh;
    background-image: none;
  }
  .hero::before {
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
  }
  /* hero::after ya no necesario — el body::before cubre todo el fondo */
  .hero::after {
    content: none;
  }
}

a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; touch-action: manipulation; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--concrete); border-radius: 3px; }

/* GPU compositing para elementos de scroll — mejora fluidez en todos los navegadores */
.product-card,
.blog-card,
.lookbook-item,
.about__value,
.hero__cta {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ============================================
   LOADER
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader.hidden .loader__fill { animation: none; }
.logo-3d { position: relative; aspect-ratio: 560 / 820; }
.logo-3d img,
.logo-3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.logo-3d canvas { opacity: 0; }
.logo-3d--live canvas { opacity: 1; }
.logo-3d--live img { visibility: hidden; }
.logo-3d__source { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; z-index: -1; }
.logo-3d--css { perspective: 900px; }
.logo-3d--css img { animation: logoSpin 4s linear infinite; }
@keyframes logoSpin { to { transform: rotateY(360deg); } }
.loader__logo {
  height: clamp(140px, 28dvh, 280px);
}
.loader__bar {
  width: 120px;
  height: 2px;
  background: var(--concrete-dark);
  border-radius: 2px;
  overflow: hidden;
}
.loader__fill {
  height: 100%;
  background: var(--white);
  transform-origin: 0 50%;
  animation: loadBar 0.9s var(--ease) forwards;
}
@keyframes loadBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  padding: 8px 0;
  position: relative;
  z-index: 100;
}
.announcement-bar__track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--concrete);
  text-transform: uppercase;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  padding: 0 12px;
  transition: transform 0.45s var(--ease-out);
}
.header--scrolled { transform: translateY(-20px); }
.header--hidden { transform: translateY(calc(-100% - 48px)); }
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 18px;
  border-radius: var(--radius-lg);
}
.header__logo img {
  height: 40px;
  width: auto;
  transition: filter 0.3s var(--ease);
}
.header__logo img:hover { filter: brightness(1.25); }
.header__nav {
  display: flex;
  gap: 4px;
}
.header__link {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--concrete-light);
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  transition: color var(--dur-base) var(--ease), background-color var(--dur-base) var(--ease);
}
.header__link:hover,
.header__link:focus-visible {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
}
.header__actions { display: flex; align-items: center; gap: 16px; }

.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  color: var(--concrete-light);
  transition: color var(--dur-base) var(--ease), background-color var(--dur-base) var(--ease);
}
/* Expand tap target to 44×44 without affecting flex layout or badge position */
.cart-btn:hover { color: var(--white); background-color: rgba(255, 255, 255, 0.08); }
.cart-btn__count {
  position: absolute;
  top: 2px;
  right: 0;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease-out);
}
.cart-btn__count.visible { opacity: 1; transform: scale(1); }

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) var(--ease);
  transform-origin: center;
}
.menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .header { padding: 0 10px; }
  .header__inner { padding: 6px 6px 6px 14px; border-radius: 18px; }
  .header__actions { gap: 2px; }
  .header__nav { display: none; }
  .menu-btn { display: flex; }
  .header__logo img { height: 34px; }
}

/* ============================================
   MOBILE NAV
   ============================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-nav);
  background: rgba(8, 8, 8, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  overscroll-behavior: none;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav__inner { text-align: center; }
.mobile-nav__link {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 4px;
  color: var(--white);
  margin: 24px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out);
}
.mobile-nav.open .mobile-nav__link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav.open .mobile-nav__link:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav.open .mobile-nav__link:nth-child(2) { transition-delay: 0.12s; }
.mobile-nav.open .mobile-nav__link:nth-child(3) { transition-delay: 0.16s; }
.mobile-nav.open .mobile-nav__link:nth-child(4) { transition-delay: 0.20s; }
.mobile-nav.open .mobile-nav__link:nth-child(5) { transition-delay: 0.24s; }
.mobile-nav.open .mobile-nav__link:nth-child(6) { transition-delay: 0.28s; }
.mobile-nav__socials {
  margin-top: 48px;
  display: flex;
  gap: 24px;
  justify-content: center;
}
.mobile-nav__socials a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--concrete);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  transition: color var(--dur-base);
}
.mobile-nav__socials a:hover { color: var(--white); }

/* Mobile nav — responsive typography + spacing */
@media (max-width: 768px) {
  .mobile-nav__inner {
    padding: 20px;
    overflow-y: auto;
  }
  .mobile-nav__link {
    font-size: clamp(32px, 10vw, 48px);
    margin: 16px 0;
  }
  .mobile-nav__socials {
    margin-top: 32px;
  }
}
@media (max-width: 380px) {
  .mobile-nav__link {
    font-size: clamp(24px, 9vw, 36px);
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-bottom: 80px;
  will-change: opacity;
}
.hero__logo {
  height: clamp(200px, 38svh, 400px);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.09), transparent);
  animation: heroFadeIn 1.1s var(--ease-out) 0.3s both;
  margin-bottom: 8px;
}
.hero__tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 8vw, 72px);
  letter-spacing: 6px;
  line-height: 1.1;
  color: var(--white);
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
  animation: heroFadeIn 0.9s var(--ease-out) 0.6s both;
  margin-bottom: 32px;
}
.hero__cta {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 6px;
  color: var(--black);
  background: var(--white);
  padding: 14px 40px;
  min-height: 48px;
  border: none;
  transition: background-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease-out);
  animation: heroFadeIn 0.9s var(--ease-out) 0.85s both;
}
.hero__cta:hover { background: var(--concrete-light); }
.hero__cta:active { transform: scale(0.97); }
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: heroFadeIn 0.9s var(--ease-out) 1.2s both;
}
.hero__scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--concrete);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--concrete), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  padding: 80px 20px 40px;
  text-align: center;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 52px);
  letter-spacing: 6px;
  color: var(--white);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}
.section-line {
  width: 60px;
  height: 2px;
  background: var(--concrete);
  margin: 16px auto 0;
}

/* ============================================
   DROPS SECTION — stacks on top of hero during scroll
   ============================================ */
.drops {
  position: relative;
}

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 0 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
/* Tablet: 3 columns is too cramped at 900px — switch to 2 */
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    padding: 0 8px 60px;
  }
}

/* PRODUCT CARD — prenda sin fondo flotando sobre la escena */
.product-card {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  padding: 14px 14px 18px;
  isolation: isolate;
  transition: transform var(--dur-slow, 0.55s) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.product-card:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -2px;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 8px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(240, 237, 232, 0.45);
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
  -webkit-mask:
    linear-gradient(#000 0 0) top left     / 20px 20px no-repeat,
    linear-gradient(#000 0 0) top right    / 20px 20px no-repeat,
    linear-gradient(#000 0 0) bottom left  / 20px 20px no-repeat,
    linear-gradient(#000 0 0) bottom right / 20px 20px no-repeat;
          mask:
    linear-gradient(#000 0 0) top left     / 20px 20px no-repeat,
    linear-gradient(#000 0 0) top right    / 20px 20px no-repeat,
    linear-gradient(#000 0 0) bottom left  / 20px 20px no-repeat,
    linear-gradient(#000 0 0) bottom right / 20px 20px no-repeat;
}

.product-card__image {
  position: relative;
  z-index: 2;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: transparent;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}
.product-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(110deg,
    transparent 35%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 65%);
  transform: translateX(-120%) skewX(-12deg);
  opacity: 0;
}

.product-card__badge {
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  text-transform: uppercase;
}
.product-card__badge--new     { background: var(--white); color: var(--black); }
.product-card__badge--soldout {
  background: rgba(10, 10, 10, 0.75);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.product-card__info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 4px 2px;
}
.product-card__accent {
  width: 32px;
  height: 2px;
  background: var(--white);
  transform-origin: left center;
  transition: transform 0.55s var(--ease);
}
.product-card__name {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 22px);
  letter-spacing: 3px;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-card__price {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.product-card__cta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--concrete-light);
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.product-card__cta span {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.product-card__scarcity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1;
  text-transform: uppercase;
}
.product-card__scarcity--low    { color: var(--red); }
.product-card__scarcity--medium { color: var(--orange); }
.product-card__scarcity-dot {
  position: relative;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover { transform: translateY(-6px); }
  .product-card:hover::after { opacity: 1; transform: scale(1); }
  .product-card:hover .product-card__image img { transform: scale(1.05); }
  .product-card:hover .product-card__image::after { animation: cardShine 0.95s var(--ease) forwards; }
  .product-card:hover .product-card__accent { transform: scaleX(8); }
  .product-card:hover .product-card__cta { color: var(--white); }
  .product-card:hover .product-card__cta span { transform: translateX(4px); }
}
@media (prefers-reduced-motion: no-preference) {
  .product-card__scarcity-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: currentColor;
    animation: scarcityPulse 1.8s ease-out infinite;
  }
}
@keyframes cardShine {
  0%   { transform: translateX(-120%) skewX(-12deg); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translateX(120%) skewX(-12deg); opacity: 0; }
}
@keyframes scarcityPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0; }
}

.product-card.sold-out { cursor: default; }
.product-card.sold-out .product-card__image img { filter: grayscale(1) brightness(0.4); opacity: 0.5; }
.product-card.sold-out .product-card__name { color: var(--concrete-dark); text-decoration: line-through; }
.product-card.sold-out .product-card__accent { background: var(--concrete-dark); }

@media (max-width: 640px) {
  .product-card          { padding: 10px 8px 14px; }
  .product-card__info    { gap: 8px; padding: 12px 2px 2px; }
  .product-card__name    { font-size: 16px; letter-spacing: 2px; }
  .product-card__price   { font-size: 13px; }
  .product-card__badge   { font-size: 8px; padding: 3px 8px; letter-spacing: 1.2px; }
  .product-card__scarcity { font-size: 9px; gap: 6px; }
  .product-card__scarcity-dot { width: 6px; height: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card__image img { transition: none; }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 80px 20px;
  background: rgba(10, 10, 10, 0.8);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.about__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.about__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 80px);
  letter-spacing: 8px;
  line-height: 1;
  margin-bottom: 24px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}
.about__desc {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
  color: var(--concrete-light);
  margin-bottom: 16px;
}
.about__stamp img {
  height: 140px;
  width: auto;
  opacity: 0.35;
}
@media (max-width: 768px) {
  .about__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .about__stamp { display: none; }
}

/* ============================================
   CONTACT
   ============================================ */
.contact { padding: 0 20px 80px; }
.contact__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact__text {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--concrete-light);
  margin-bottom: 24px;
}
.contact__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact__link {
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: 4px;
  color: var(--white);
  transition: color 0.3s;
}
.contact__link:hover { color: var(--concrete-light); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: rgba(10, 10, 10, 0.85);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 20px;
  text-align: center;
}
.footer__inner { max-width: 600px; margin: 0 auto; }
.footer__logo {
  height: 56px;
  width: auto;
  margin: 0 auto 20px;
  opacity: 0.6;
}
.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}
.footer__links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--concrete);
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--white); }
.footer__copy {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--concrete);
}
.footer__note {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--concrete);
  margin-top: 8px;
}

/* ============================================
   CART DRAWER
   ============================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease), visibility var(--dur-base);
  overscroll-behavior: none;
  touch-action: none;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 8px;
  right: 8px;
  bottom: 8px;
  width: min(400px, calc(100vw - 16px));
  border-radius: var(--radius-lg);
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(calc(100% + 16px));
  transition: transform 0.5s var(--ease-out), visibility 0.5s;
  visibility: hidden;
}
.cart-drawer.open { visibility: visible; }
.cart-drawer.open { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cart-drawer__header h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: 4px;
}
.cart-drawer__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border-radius: var(--radius-pill);
  font-size: 18px;
  color: var(--concrete-light);
  transition: color var(--dur-base), background-color var(--dur-base);
}
.cart-drawer__close:hover { color: var(--white); background-color: rgba(255, 255, 255, 0.08); }

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  overscroll-behavior: contain; /* prevent page scroll when drawer scrolls to end */
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cart-item__image {
  width: 72px;
  height: 92px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}
.cart-item__info { flex: 1; }
.cart-item__name {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 2px;
}
.cart-item__size {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--concrete);
  margin-top: 2px;
}
.cart-item__price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--concrete-light);
  margin-top: 4px;
}
.cart-item__qty {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
}
.cart-item__qty button {
  width: 44px;
  height: 36px;
  color: var(--white);
  font-size: 16px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  transition: background-color var(--dur-fast);
}
.cart-item__qty button:hover:not(:disabled) { background-color: rgba(255, 255, 255, 0.08); }
.cart-item__qty button:disabled { opacity: 0.3; cursor: not-allowed; }
.cart-item__qty span {
  font-family: var(--font-mono);
  font-size: 13px;
  min-width: 20px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.cart-item__remove {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--concrete);
  min-height: 32px;
  margin-top: 4px;
  text-transform: uppercase;
  transition: color var(--dur-base);
}
.cart-item__remove:hover { color: var(--red); }

.cart-drawer__empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-drawer__empty p {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--concrete-dark);
  letter-spacing: 1px;
}

.cart-drawer__footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 8px;
}
.cart-drawer__shipping-note {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--concrete);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.cart-drawer__checkout {
  width: 100%;
  padding: 16px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 4px;
  border: none;
  border-radius: var(--radius-pill);
  min-height: 52px;
  transition: background-color var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.cart-drawer__checkout:hover { background: var(--concrete-light); }
.cart-drawer__checkout:active { transform: scale(0.98); }
.cart-drawer__checkout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}


/* ---- Botones de talla ---- */
.size-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 20px;
  border: 1px solid var(--concrete-dark);
  color: var(--concrete-light);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
              background 0.25s var(--ease), box-shadow 0.25s var(--ease),
              transform 0.15s var(--ease);
}
.size-btn:not(:disabled):not(.active):hover {
  border-color: var(--white);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.size-btn:not(:disabled):not(.active):active {
  transform: scale(0.93);
}
/* Talla seleccionada */
.size-btn.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
/* Talla agotada: diagonal strikethrough, sin text-decoration */
.size-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  text-decoration: none;
}
.size-btn:disabled::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    to bottom right,
    transparent calc(50% - 0.6px),
    rgba(180,180,180,0.55) calc(50% - 0.6px),
    rgba(180,180,180,0.55) calc(50% + 0.6px),
    transparent calc(50% + 0.6px)
  );
  pointer-events: none;
}


/* Shake de error */
@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  15%       { transform: translateX(-7px); }
  30%       { transform: translateX(7px); }
  45%       { transform: translateX(-5px); }
  60%       { transform: translateX(5px); }
  75%       { transform: translateX(-3px); }
  90%       { transform: translateX(3px); }
}
.shake { animation: shakeX 0.42s ease-out !important; }

/* ---- FULLSCREEN IMAGE VIEWER ---- */
.img-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
}
.img-fullscreen img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  pointer-events: none;
  box-shadow: 0 0 80px rgba(0,0,0,0.8);
}
.img-fullscreen__close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 28px;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.img-fullscreen__close:hover {
  transform: rotate(90deg) scale(1.1);
  background: rgba(255,255,255,0.15);
}

/* ---- PARTÍCULA AL CARRITO ---- */
.cart-particle {
  position: fixed;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
}

/* Mobile: fullscreen */


/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--white);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 14px 28px;
  z-index: 9999;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease), transform 0.5s var(--ease-out);
  white-space: nowrap;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============================================
   SECTION SUB
   ============================================ */
.section-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--offwhite);
  margin-top: 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}

/* ============================================
   LOOKBOOK
   ============================================ */
.lookbook {
  padding-bottom: 80px;
}
.lookbook__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 3px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.lookbook__grid .lookbook-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.lookbook__grid .lookbook-item:nth-child(5) {
  grid-column: span 2;
}
.lookbook-item {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  cursor: pointer;
}
.lookbook-item::after {
  content: '';
  display: block;
  padding-bottom: 100%;
}
.lookbook-item:nth-child(1)::after { padding-bottom: 50%; }
.lookbook-item:nth-child(5)::after { padding-bottom: 50%; }
.lookbook-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.lookbook-item:hover img { transform: scale(1.06); }
.lookbook-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.4s var(--ease);
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.lookbook-item:hover .lookbook-item__overlay { background: rgba(0,0,0,0.4); }
.lookbook-item__caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--white);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.lookbook-item:hover .lookbook-item__caption {
  opacity: 1;
  transform: translateY(0);
}
.lookbook-item--placeholder {
  position: relative;
  overflow: hidden;
  background: rgba(10,10,10,0.6);
  border: 1px solid rgba(255,255,255,0.04);
}
.lookbook-item--placeholder::before {
  content: '';
}
.lookbook__footer {
  text-align: center;
  margin-top: 32px;
}
.lookbook__ig-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 4px;
  color: var(--concrete-light);
  border: 1px solid var(--concrete-dark);
  padding: 12px 32px;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.lookbook__ig-link:hover {
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .lookbook__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 8px;
  }
  .lookbook__grid .lookbook-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .lookbook__grid .lookbook-item:nth-child(5) {
    grid-column: span 2;
  }
}

/* ============================================
   ABOUT — EXPANDIDA
   ============================================ */
.about {
  padding: 0;
  background: rgba(10, 10, 10, 0.6);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.about__hero {
  padding: 80px 20px 60px;
}
.about__hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.about__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 80px);
  letter-spacing: 8px;
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}
.about__subtitle {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--concrete);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.about__desc {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
  color: var(--concrete-light);
  margin-bottom: 16px;
}
.about__stamp img {
  height: 140px;
  width: auto;
  opacity: 0.35;
}
.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.about__value {
  padding: 48px 40px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s var(--ease);
}
.about__value:last-child { border-right: none; }
.about__value:hover { background: rgba(255,255,255,0.02); }
.about__value-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--concrete);
  line-height: 1;
  margin-bottom: 12px;
}
.about__value-title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 10px;
}
.about__value-desc {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--concrete);
}
@media (max-width: 768px) {
  .about__hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .about__stamp { display: none; }
  .about__values { grid-template-columns: 1fr; }
  .about__value { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 36px 24px; }
  .about__value:last-child { border-bottom: none; }
}

/* ============================================
   BLOG
   ============================================ */
.blog {
  padding-bottom: 80px;
}
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-card {
  position: relative;
  background: rgba(12,12,12,0.86);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease-out);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.blog-card:active { transform: scale(0.985); }
.blog-card:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.blog-card__image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark);
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .blog-card:hover { border-color: rgba(255,255,255,0.2); }
  .blog-card:hover .blog-card__image img { transform: scale(1.03); }
}
.blog-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 10px;
  background: var(--black);
  color: var(--concrete-light);
  border: 1px solid rgba(255,255,255,0.1);
  text-transform: uppercase;
}
.blog-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card__date {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--concrete);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
}
.blog-card__excerpt {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--concrete);
  flex: 1;
}
.blog-card__read {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--concrete-light);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}
.blog-card:hover .blog-card__read { color: var(--white); }
.blog-card__read::after { content: '→'; }
@media (max-width: 900px) {
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog__grid { grid-template-columns: 1fr; padding: 0 8px; }
  .blog-card { min-width: 0; } /* prevent card from stretching past 320px viewport */
}

/* ============================================
   CONTACT + FAQ
   ============================================ */
.contact { padding: 0 20px 0; }
.contact__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 60px;
}
.contact__text {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--concrete-light);
  margin-bottom: 24px;
}
.contact__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact__link {
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: 4px;
  color: var(--white);
  transition: color 0.3s;
}
.contact__link:hover { color: var(--concrete-light); }

/* FAQ */
.faq {
  background: rgba(10,10,10,0.5);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.faq__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}
.faq__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 4vw, 32px);
  letter-spacing: 6px;
  color: var(--white);
  text-align: center;
  margin-bottom: 40px;
}
.faq__item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq__question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 17px;
  letter-spacing: 2px;
  color: var(--concrete-light);
  transition: color 0.3s var(--ease);
  gap: 16px;
}
.faq__question:hover { color: var(--white); }
.faq__item.open .faq__question { color: var(--white); }
.faq__icon {
  font-size: 22px;
  color: var(--concrete-dark);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), color 0.3s;
  line-height: 1;
}
.faq__item.open .faq__icon {
  transform: rotate(45deg);
  color: var(--white);
}
.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
}
.faq__answer-inner {
  padding: 0 0 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--concrete);
}
.faq__answer-inner a {
  color: var(--concrete-light);
  text-decoration: underline;
}

/* ============================================
   UTILITY / ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--stagger-delay, 0s);
}

/* ============================================
   BLOG POST PAGE
   ============================================ */
.blog-post__hero {
  padding: 160px 20px 60px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.blog-post__back {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--concrete);
  margin-bottom: 36px;
  transition: color 0.3s;
}
.blog-post__back:hover { color: var(--white); }
.blog-post__cat {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--concrete);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.blog-post__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 7vw, 64px);
  letter-spacing: 4px;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}
.blog-post__date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--concrete);
}
.blog-post__featured {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
}
.blog-post__featured img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--dark);
  display: block;
}
.blog-post__body {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px 100px;
}
.blog-post__content p {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.95;
  color: var(--concrete-light);
  margin-bottom: 28px;
}
.blog-post__content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 32px);
  letter-spacing: 4px;
  color: var(--white);
  margin: 52px 0 20px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
}
.blog-post__content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--offwhite);
  margin: 36px 0 12px;
}
.blog-post__content strong {
  color: var(--white);
}
.blog-post__content blockquote {
  border-left: 2px solid var(--concrete);
  padding: 4px 0 4px 28px;
  margin: 36px 0;
}
.blog-post__content blockquote p {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--white);
  margin: 0;
}
.blog-post__divider {
  width: 40px;
  height: 1px;
  background: var(--concrete-dark);
  margin: 48px auto;
}
@media (max-width: 768px) {
  .blog-post__hero { padding: 120px 20px 40px; }
  .blog-post__content p { font-size: 13px; }
}

/* ============================================
   ANIMACIONES AVANZADAS
   ============================================ */

/* Scroll progress bar */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: var(--white);
  z-index: var(--z-progress);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.hero__cta {
  position: relative;
  overflow: hidden;
}
/* Click: scale down feedback en todos los botones CTA */
.hero__cta:active {
  transform: scale(0.95) !important;
  box-shadow: none !important;
}


.cart-drawer__checkout:active:not(:disabled) {
  transform: scale(0.96) !important;
}
.size-btn:active:not(:disabled) {
  transform: scale(0.93);
}
.lookbook__ig-link:active {
  transform: scale(0.97) !important;
}

/* Cart icon bounce */
@keyframes cartBounce {
  0%   { transform: scale(1) rotate(0deg); }
  22%  { transform: scale(1.4) rotate(-12deg); }
  48%  { transform: scale(0.85) rotate(7deg); }
  72%  { transform: scale(1.12) rotate(-4deg); }
  88%  { transform: scale(0.97) rotate(1deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.cart-btn--bounce svg {
  animation: cartBounce 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
}

/* Ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: scale(0);
  animation: rippleAnim 0.65s var(--ease) forwards;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(5); opacity: 0; }
}

/* will-change only on pointer:fine (mouse/trackpad) — wastes GPU memory on touch devices */

/* Text scramble chars */
.scramble-char {
  color: var(--concrete);
  display: inline;
}

/* Lookbook link ripple-ready */
.lookbook__ig-link {
  position: relative;
  overflow: hidden;
}

/* Grain overlay */
body::after {
  content: none;
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
  opacity: 0.4;
}
@media (min-width: 1025px) and (hover: hover) {
  body::after { content: ''; }
}

/* cursor nativo restaurado — sin estilos de cursor custom */

/* ============================================
   LOOKBOOK — HORIZONTAL CSS SCROLL-SNAP
   ============================================ */

/* Contenedor horizontal con snap nativo */
.lookbook__horiz-wrap {
  overflow-x: scroll;
  overflow-y: hidden;
  height: 85vh;
  min-height: 540px;
  position: relative;
  /* CSS scroll-snap */
  scroll-snap-type: x mandatory;
  /* Evita que el scroll horizontal se escape al vertical */
  overscroll-behavior-x: contain;
  /* Tell iOS/Android this container scrolls horizontally; pan-y lets vertical drag bubble to page */
  touch-action: pan-x pan-y;
  /* Ocultar scrollbar visual */
  scrollbar-width: none;
  /* Note: -webkit-overflow-scrolling: touch is deprecated — scroll-snap + overscroll handles this */
  cursor: grab;
}
.lookbook__horiz-wrap::-webkit-scrollbar { display: none; }
.lookbook__horiz-wrap:active { cursor: grabbing; }

/* Track: padding lateral = (100vw - 72vw) / 2 = 14vw
   así el primer y último panel se pueden centrar perfectamente */
.lookbook__horiz-track {
  display: flex;
  flex-direction: row;
  height: 100%;
  gap: 8px;
  padding: 0 14vw;
  width: max-content;
}

/* Cada panel: 72vw — muestra ~28vw del siguiente */
.lookbook-panel {
  position: relative;
  flex-shrink: 0;
  width: 72vw;
  height: 100%;
  overflow: hidden;
  background: var(--dark);
  cursor: pointer;
  /* Centrar al hacer snap */
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

/* Primer panel ya no necesita ser más ancho */
.lookbook-panel:first-child {
  width: 72vw;
}

.lookbook-panel__img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Imagen: zoom sutil en hover */
.lookbook-panel__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.lookbook-panel:hover .lookbook-panel__img-wrap img {
  transform: scale(1.03);
}

/* Gradient overlay + se oscurece en hover */
.lookbook-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.4s var(--ease);
}
.lookbook-panel:hover::after {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 85%);
}

.lookbook-panel__caption {
  position: absolute;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.lookbook-panel__num {
  font-family: var(--font-heading);
  font-size: 64px;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  letter-spacing: -3px;
}
.lookbook-panel__text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--concrete-light);
  text-transform: uppercase;
}

/* Navegación: flechas + dots */
.lookbook__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 18px 0 0;
}
.lookbook__nav-arrow {
  min-width: 44px;  /* WCAG 2.2 AA: 44×44px minimum tap target */
  min-height: 44px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,10,10,0.7);
  color: var(--concrete-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
  font-size: 16px;
  font-family: var(--font-mono);
}
.lookbook__nav-arrow:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  background: rgba(10,10,10,0.9);
}
.lookbook__nav-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.lookbook__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.lookbook__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--concrete-dark);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: width 0.35s var(--ease), background-color 0.35s var(--ease);
  flex-shrink: 0;
  position: relative; /* needed for ::before tap expansion */
}
/* Expand tap target to 44×44 without changing visual size */
.lookbook__dot::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 44px;
  min-height: 44px;
}
.lookbook__dot.active {
  background: var(--white);
  width: 22px;
  border-radius: 3px;
}

/* Tablet (769–1023px): panels 80vw — same as mobile but taller */
@media (min-width: 769px) and (max-width: 1023px) {
  .lookbook__horiz-wrap {
    height: 60vw;
    min-height: 420px;
    cursor: default;
  }
  .lookbook__horiz-track {
    padding: 0 10vw;
    gap: 6px;
  }
  .lookbook-panel,
  .lookbook-panel:first-child {
    width: 80vw;
    height: 100%;
  }
}

/* Mobile ≤768px: cuadrícula editorial 2/3 cols + tap-to-lightbox.
   Overrides con !important porque los defaults del horiz-scroll
   (display:flex, width:max-content, scroll-snap) ganan por cascada. */
@media (max-width: 768px) {
  .lookbook__horiz-wrap {
    overflow: visible !important;
    height: auto !important;
    min-height: unset !important;
    scroll-snap-type: none !important;
    cursor: default;
    padding: 0 10px;
  }
  .lookbook__horiz-track {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 3px !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
  }
  .lookbook-panel,
  .lookbook-panel:first-child {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4;
    flex-shrink: unset !important;
    scroll-snap-align: unset !important;
    scroll-snap-stop: unset !important;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    will-change: opacity, transform;
  }
  .lookbook-panel.lb-in-mobile {
    opacity: 1;
    transform: translateY(0);
  }
  .lookbook-panel:active .lookbook-panel__img-wrap img {
    transform: scale(1.03);
  }
  .lookbook-panel::after {
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.08) 45%, transparent 75%);
  }
  .lookbook-panel__caption { bottom: 6px; left: 8px; gap: 6px; }
  .lookbook-panel__num { font-size: 20px; letter-spacing: -1px; }
  .lookbook-panel__text { display: none; }
  /* Flechas/dots de horiz-scroll no aplican en grid */
  .lookbook__nav { display: none !important; }
}

/* Mobile XS ≤640px: 2 columnas para que cada tile respire */
@media (max-width: 640px) {
  .lookbook__horiz-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px !important;
  }
  .lookbook-panel__num { font-size: 24px; }
}

/* ── Lookbook LIGHTBOX mobile (fullscreen con swipe + counter) ── */
#lookbookLightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.96);
  z-index: 9999;
}
#lookbookLightbox.is-open { display: block; }
#lookbookLightbox__close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lookbookLightbox__counter {
  position: absolute;
  top: max(22px, calc(env(safe-area-inset-top) + 6px));
  left: 16px;
  padding: 6px 12px;
  background: rgba(10, 10, 10, 0.55);
  border-radius: 12px;
  color: var(--concrete-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  z-index: 10;
  pointer-events: none;
}
#lookbookLightbox__track {
  display: flex;
  width: 100%;
  height: 100dvh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
#lookbookLightbox__track::-webkit-scrollbar { display: none; }
.lookbook-lb__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lookbook-lb__slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: pinch-zoom;
}

@media (prefers-reduced-motion: reduce) {
  .lookbook-panel {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================
   SPLIT CHARS — TITLE ANIMATION
   ============================================ */
.split-char {
  display: inline-block;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

/* ============================================
   LOOKBOOK — DESKTOP MASONRY GRID (≥1024px)
   Mobile keeps horizontal scroll — untouched.
   ============================================ */
@media (min-width: 1024px) {

  /* Unwrap the scroll container */
  .lookbook__horiz-wrap {
    overflow: visible;
    height: auto;
    min-height: unset;
    cursor: default;
  }

  /* Turn the flex track into a CSS grid */
  .lookbook__horiz-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 340px;
    gap: 10px;
    padding: 0 24px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: auto;
  }

  /* Reset panel dimensions — grid controls them now */
  .lookbook-panel,
  .lookbook-panel:first-child {
    width: 100%;
    height: 100%;
    flex-shrink: unset;
    scroll-snap-align: unset;
    scroll-snap-stop: unset;
  }

  /* Masonry-like asymmetric spans for 6 items:
     [1 tall] [2      ] [3 tall]
     [1 tall] [4      ] [3 tall]
     [5 wide          ] [6     ] */
  .lookbook-panel:nth-child(1) { grid-row: span 2; }
  .lookbook-panel:nth-child(3) { grid-row: span 2; }
  .lookbook-panel:nth-child(5) { grid-column: span 2; }

  /* Caption: invisible by default, slides up on hover */
  .lookbook-panel .lookbook-panel__caption {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }
  .lookbook-panel:hover .lookbook-panel__caption {
    opacity: 1;
    transform: translateY(0);
  }

  /* Hover: stronger zoom and darker overlay than mobile */
  .lookbook-panel:hover .lookbook-panel__img-wrap img {
    transform: scale(1.07);
  }

  /* Hide mobile scroll nav on desktop */
  .lookbook__nav {
    display: none !important;
  }

  /* Entrance animation — fade + lift */
  .lookbook-panel {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
    will-change: opacity, transform;
  }
  .lookbook-panel.lb-in {
    opacity: 1;
    transform: translateY(0);
  }

}

.blog-card__cat { border-radius: var(--radius-pill); transition: border-color var(--dur-base), color var(--dur-base); }
.blog-card__read::after {
  display: inline-block;
  margin-left: 6px;
  transition: transform var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .blog-card:hover .blog-card__cat { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
  .blog-card:hover .blog-card__read::after { transform: translateX(4px); }
}

/* ============================================
   BLOG ARTICLE — entry animation base states
   (GSAP animates from these in blog-transitions.js)
   ============================================ */

/* Words split for post title */
.split-word--post {
  display: inline-block;
  overflow: hidden;
}

/* Featured image wrapper clips during scale entrance */
.blog-post__featured {
  overflow: hidden;
}

/* Back link — sharper hover underline */
.blog-post__back {
  position: relative;
  display: inline-block;
}
.blog-post__back::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-post__back:hover::after {
  width: 100%;
}

/* ============================================
   PRODUCT DETAIL PAGE — Zara-style layout
   Left: scrolling image stack  |  Right: sticky info panel
   ============================================ */

/* Shimmer skeleton while images load */

.product-detail {
  /* clears announcement bar (32px) + fixed header (top:32px, ~56px tall) with
     generous breathing room so the first gallery image nunca queda cubierta */
  padding: 148px 0 80px;
  min-height: 100svh;
}

/* Two-column grid — gallery scrolls, info sticks */
.product-detail__layout {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 40px;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── LEFT: Gallery column ── */
.product-detail__gallery {
  /* scrolls naturally alongside the page */
}

/* Desktop: stacked vertical images — sin max-width porque ahora vive dentro
   del grid y la columna ya fija el ancho */
.pd-gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Wrapper — collapses to the image's natural aspect ratio once loaded.
   overflow:hidden keeps the hover scale(1.03) from bleeding outside. */
.pd-gallery-img {
  width: 100%;
  overflow: hidden;
  background: transparent;
  display: block;
  cursor: zoom-in;
  position: relative;
}

/* Shimmer: reserves a 3:4 placeholder box ONLY while loading so the page
   doesn't jump (CLS). Removed via load/error handlers in JS, at which point
   the wrapper collapses to whatever height the real image needs. */
.pd-gallery-img--loading {
  aspect-ratio: 3 / 4;
}
.pd-gallery-img img,
.pd-carousel__item img { transition: opacity 0.35s var(--ease); }
.pd-gallery-img--loading img,
.pd-carousel__item--loading img { opacity: 0; }

.pd-gallery-img img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.6s var(--ease);
}

.pd-gallery-img:hover img {
  transform: scale(1.03);
}

/* Mobile carousel — hidden on desktop */
.pd-carousel        { display: none; }
.pd-carousel-dots   { display: none; }
.pd-carousel-counter{ display: none; } /* shown only inside @media (max-width: 768px) */

/* ── RIGHT: Sticky info panel — glass semi-transparente + FX ambientales ── */
.product-detail__info {
  position: sticky;
  top: 120px;
  align-self: start;
  /* fallback por si el grid padre cambiara; el panel queda fijo indefinidamente
     mientras la galería (más alta) sigue scrolleando */
  max-height: calc(100dvh - 120px);
  padding: 44px;
  overflow-x: hidden;
  overflow-y: auto;
  isolation: isolate;
  /* Layer order (paint top→bottom):
     1. overlay oscuro sutil para legibilidad del texto
     2. scanlines horizontales animadas verticalmente
     3. gradiente base semi-transparente */
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    repeating-linear-gradient(0deg,
      rgba(240, 237, 232, 0.025) 0 1px,
      transparent 1px 3px),
    linear-gradient(160deg, rgba(14, 14, 14, 0.86), rgba(6, 6, 6, 0.9));
  background-size: 100% 100%, 100% 6px, 100% 100%;
  border: 1px solid rgba(240, 237, 232, 0.12);
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(240, 237, 232, 0.08),
    0 0 40px rgba(240, 237, 232, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* White vertical stripe (left edge) — flow loop de arriba a abajo */
.product-detail__info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background-image: linear-gradient(180deg,
    transparent       0%,
    var(--white)     30%,
    var(--white)     70%,
    transparent     100%);
  background-size: 100% 200%;
  background-repeat: no-repeat;
  z-index: 0;
}
/* Watermark "DSTAR // MX" — parpadeo glitch */
.product-detail__info::after {
  content: 'DSTAR // MX';
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(240, 237, 232, 1);
  opacity: 0.14;
  z-index: 0;
  pointer-events: none;
}
/* All children sit above the pseudo-elements */
.product-detail__info > * {
  position: relative;
  z-index: 1;
}

.product-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--concrete);
  text-transform: uppercase;
  margin-bottom: 32px;
  transition: color 0.25s;
  text-decoration: none;
}
.product-detail__back:hover {
  color: var(--white);
}

.product-detail__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  background: var(--red);
  color: var(--white);
  padding: 3px 10px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(230, 50, 50, 0.35);
  transform-origin: center;
}

.product-detail__drop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--concrete);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.product-detail__drop::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--white);
}

.product-detail__name {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 56px);
  letter-spacing: 4px;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.product-detail__price {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--white);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(240, 237, 232, 0.12);
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.product-detail__desc {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--concrete-light);
  margin-bottom: 32px;
  border-left: 2px solid var(--white);
  padding-left: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.product-detail__size-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--concrete);
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.product-detail__sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.product-detail__stock {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--concrete);
  margin-bottom: 28px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}


.product-detail__add {
  width: 100%;
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 5px;
  color: var(--black);
  background: var(--white);
  padding: 18px 24px;
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.2s;
  position: relative;
  overflow: hidden;
}
.product-detail__add:hover:not(:disabled) {
  background: var(--concrete-light);
  transform: translateY(-2px);
}
.product-detail__add:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── Tablet (≤980px): colapsa a una sola columna ── */
@media (max-width: 980px) {
  .product-detail__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* En tablet/móvil el panel fluye normal — sin sticky (solo desktop ≥981px) */
  .product-detail__info {
    position: static;
    max-height: none;
    overflow: hidden;
  }
}

/* ── Mobile (≤768px): carousel + stacked info ── */
@media (max-width: 768px) {
  .product-detail {
    padding: 128px 0 56px;
  }

  .product-detail__layout {
    display: block;
    padding: 0;
  }

  /* Hide desktop stack, show carousel */
  .pd-gallery-stack { display: none; }

  .pd-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    touch-action: pan-x pan-y;
    /* scroll-behavior:smooth intentionally omitted —
       combining it with scroll-snap-type on iOS Safari
       causes the carousel to mis-render and show blank frames */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
    gap: 0;
    background: transparent;
  }
  .pd-carousel::-webkit-scrollbar { display: none; }
  .pd-carousel:empty { aspect-ratio: 3 / 4; }

  /* Altura fija vía aspect-ratio 3/4 en TODOS los items (no solo loading) —
     evita las "líneas negras" que aparecían al hacer swipe cuando cada
     imagen tenía height:auto y alturas distintas. */
  .pd-carousel__item {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: transparent;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
  }
  /* Shimmer placeholder — hereda aspect-ratio del padre */
  .pd-carousel__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Counter pill — blur + fondo translúcido en esquina sup. derecha */
  .pd-carousel-counter {
    display: block; /* override the desktop display:none */
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(10, 10, 10, 0.55);
    padding: 4px 10px;
    border-radius: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.85);
    pointer-events: none;
    z-index: 2;
  }

  .pd-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 14px 0 6px;
  }
  .pd-carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: var(--concrete-dark);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, width 0.25s;
  }
  .pd-carousel-dot--active {
    background: var(--white);
    width: 20px;
  }

  /* Info: no sticky, mantiene gradiente premium + stripe + watermark */
  .product-detail__info {
    position: static;
    margin: 20px 12px 0;
    padding: 32px 24px 44px;
  }

  .product-detail__back {
    margin-bottom: 20px;
  }
}

/* ── Lightbox overlay (desktop only) ── */
#pdLightbox {
  display: flex; /* always in DOM — opacity controls visibility */
  opacity: 0;
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.96);
  z-index: 9999;
  flex-direction: row;
}
#pdLightbox.is-open {
  pointer-events: all;
}

/* Close button — 44px circle */
#pdLbClose {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.3s;
}
#pdLbClose:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(90deg);
}

/* Vertical thumbnail strip */
#pdLbThumbs {
  width: 88px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--concrete-dark) transparent;
}
#pdLbThumbs::-webkit-scrollbar { width: 3px; }
#pdLbThumbs::-webkit-scrollbar-track { background: transparent; }
#pdLbThumbs::-webkit-scrollbar-thumb { background: var(--concrete-dark); border-radius: 2px; }

.pd-lb-thumb {
  width: 72px;
  height: 96px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  flex-shrink: 0;
  padding: 0;
  transition: border-color 0.2s;
}
.pd-lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0f0f0f;
  display: block;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.pd-lb-thumb:hover img       { opacity: 1; }
.pd-lb-thumb--active         { border-color: var(--white); }
.pd-lb-thumb--active img     { opacity: 1; }

/* Large image area */
#pdLbMain {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 40px 40px;
  overflow: hidden;
  position: relative;
}

#pdLbImg {
  max-width: calc(100vw - 140px);
  max-height: calc(100vh - 40px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* Prev / Next arrow buttons */
#pdLbPrev,
#pdLbNext {
  position: absolute;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
#pdLbPrev { top: calc(50% - 48px); }
#pdLbNext { top: calc(50% + 8px); }
#pdLbPrev:hover,
#pdLbNext:hover { background: rgba(255, 255, 255, 0.18); }

.page-product .product-detail__info { animation: pdInfoIn 0.45s var(--ease-out) both; }
@keyframes pdInfoIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================
   BUTTON GLOW SYSTEM — Iluminación premium DSTAR
   ============================================ */

/* ── Keyframes ── */

/* Ripple click wave */
@keyframes btnRippleOut {
  0%   { transform: scale(0);   opacity: 0.5; }
  100% { transform: scale(5);   opacity: 0;   }
}

/* Glow pulse on active size button */
/* Ambient glow pulse for primary CTA (attention magnet) */
/* Halo ring expand for cart + icon buttons */
/* ── Primary CTA: product-detail__add ── */
.product-detail__add {
  /* cursor-spotlight via CSS vars set by JS */
}
/* Cursor spotlight layer (JS sets --bx/--by) */
.product-detail__add::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 90px at var(--bx, 50%) var(--by, 50%),
    rgba(255,255,255,0.14) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: 2;
}
.product-detail__add:hover:not(:disabled)::after { opacity: 1; }
.product-detail__add:hover:not(:disabled) {
  background: var(--concrete-light);
  transform: translateY(-2px);
  animation: none;
  box-shadow:
    0 0  0   1px rgba(230,227,222,0.45),
    0 0  40px 4px rgba(230,227,222,0.20),
    0 8px 32px    rgba(0,0,0,0.55);
}
.product-detail__add:active:not(:disabled) {
  transform: scale(0.96) !important;
  box-shadow: none !important;
  animation: none;
}

.cart-drawer__checkout {
}
.cart-drawer__checkout:hover:not(:disabled) {
  animation: none;
  box-shadow:
    0 0  0   1px rgba(230,227,222,0.4),
    0 0  36px 2px rgba(230,227,222,0.18),
    0 6px 28px    rgba(0,0,0,0.5);
}

/* ── Hero CTA: stronger hover glow ── */
.hero__cta:hover {
  box-shadow:
    0 0  0   1px rgba(240,237,232,0.6),
    0 0  52px 8px rgba(240,237,232,0.28),
    0 12px 40px  rgba(0,0,0,0.65) !important;
}

/* ── Size buttons ── */
.size-btn:not(:disabled):not(.active):hover {
  border-color: rgba(255,255,255,0.8) !important;
  color: var(--white) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.22),
    0 0 14px   rgba(255,255,255,0.10) !important;
}
/* Selected size: continuous glow pulse */
.size-btn.active {
}
.size-btn:active:not(:disabled) {
  transform: scale(0.91) !important;
}

/* ── Cart button: halo ring + expand ring on hover ── */
/* ::before is already the 44×44 tap-target — add glow via box-shadow only */
.cart-btn:hover {
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.35));
}
/* Halo ring — uses ::after (tap-target doesn't have one) */
.cart-btn::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  opacity: 0;
  transform: scale(0.65);
  transition: opacity 0.28s, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}
.cart-btn:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* ── Nav links: text glow ── */
.header__link:hover {
  text-shadow: 0 0 22px rgba(255,255,255,0.45);
}

/* ── Mobile nav links: glow sweep on hover ── */
.mobile-nav__link {
  transition: color 0.3s, text-shadow 0.3s, letter-spacing 0.3s !important;
}
.mobile-nav__link:hover,
.mobile-nav__link:active {
  text-shadow: 0 0 28px rgba(255,255,255,0.35);
  letter-spacing: 5px;
}

/* ── Footer links: glow ── */
.footer__links a {
  transition: color 0.25s, text-shadow 0.25s !important;
}
.footer__links a:hover {
  text-shadow: 0 0 18px rgba(255,255,255,0.4);
}

/* ── Lookbook nav arrows ── */
.lookbook__nav-arrow:hover:not(:disabled) {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.35),
    0 0 18px   rgba(255,255,255,0.18) !important;
}

/* ── Lightbox circle buttons ── */
#pdLbClose:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.35),
    0 0 22px   rgba(255,255,255,0.20) !important;
}
#pdLbPrev:hover,
#pdLbNext:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.3),
    0 0 18px   rgba(255,255,255,0.16) !important;
}

/* ── Ripple element (injected by JS on click) ── */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  pointer-events: none;
  transform: scale(0);
  animation: btnRippleOut 0.58s ease-out forwards;
  z-index: 10;
}
.btn-ripple--light { background: rgba(255,255,255,0.32); }
.btn-ripple--dark  { background: rgba(0,0,0,0.14); }

/* ── Product card hover: CTA text glow ── */
.product-card:hover .product-card__cta,
.drop-card:hover .drop-card__cta {
  text-shadow: 0 0 18px rgba(240,237,232,0.45);
}

/* Ensure buttons that get ripple are overflow:hidden + relative */
.lookbook__nav-arrow {
  position: relative;
  overflow: hidden;
}

/* ── Reduced motion: disable all glow animations ── */
@media (prefers-reduced-motion: reduce) {
  .product-detail__add,
  .cart-drawer__checkout,
  .size-btn.active {
    animation: none !important;
  }
}

/* ============================================
   PRODUCT PAGE — animaciones ambientales
   ============================================ */

/* Stripe roja vertical del info panel: baja en loop */
/* Scanlines del panel: scroll lento vertical */
/* Halo blanco pulsante alrededor del panel */
/* Watermark glitch fade */
/* Badge LIMITADO pulse constante */
/* Size-btn idle breathe — border-color oscila */
.size-btn:not(:disabled):not(.active):not(:hover) {
}

/* Back link bounce horizontal sutil */
/* Shimmer diagonal del CTA — cruza izq a der */


/* ── Mobile (≤768px): refuerzo de FX ambientales sobre el info panel ── */
@media (max-width: 768px) {
  /* Carrusel: fondo totalmente transparente para que se vea la pared */
  .pd-carousel,
  .pd-carousel__item { background: transparent !important; }

  /* Imagen COMPLETA (contain) — no recorta prenda, aspect-ratio 3/4 letterbox
     sobre la pared de concreto transparente. Tap: cursor-zoom. */
  .pd-carousel__item {
    cursor: zoom-in;
  }
  .pd-carousel__item img {
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain !important;
  }
  #pdLbImg {
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
  }

  /* Texto: text-shadow más agresivo sobre fondo transparente */
  .product-detail__name,
  .product-detail__price,
  .product-detail__desc,
  .product-detail__size-label,
  .product-detail__stock {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
  }

  /* Animations ambientales activas en mobile */
  .product-detail__badge { }
  .product-detail__back  { }
}

/* ── Reduced motion: desactivar todas las animaciones ambientales nuevas ── */
@media (prefers-reduced-motion: reduce) {
  .product-detail__info,
  .product-detail__info::before,
  .product-detail__info::after,
  .product-detail__badge,
  .product-detail__back,
  .page-product .product-detail__name,
  .size-btn,
  .size-btn:not(:disabled):not(.active):not(:hover),
  .cart-drawer__checkout::before,
  .product-detail__add::before {
    animation: none !important;
  }
}

/* ============================================
   PRODUCT LIGHTBOX MOBILE — swipe fullscreen
   (desktop sigue usando #pdLightbox con thumbs)
   ============================================ */
#pdLightboxMobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.96);
  z-index: 9999;
  overscroll-behavior: none;
}
#pdLightboxMobile.is-open { display: block; }

#pdLightboxMobile__close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pdLightboxMobile__counter {
  position: absolute;
  top: max(22px, calc(env(safe-area-inset-top) + 6px));
  left: 16px;
  padding: 6px 12px;
  background: rgba(10, 10, 10, 0.55);
  border-radius: 12px;
  color: var(--concrete-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  z-index: 10;
  pointer-events: none;
}

#pdLightboxMobile__track {
  display: flex;
  width: 100%;
  height: 100dvh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
}
#pdLightboxMobile__track::-webkit-scrollbar { display: none; }

.pd-lb-m__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pd-lb-m__slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: pinch-zoom;
}

/* Desktop: nunca mostrar el mobile lightbox */
@media (min-width: 769px) {
  #pdLightboxMobile { display: none !important; }
}

/* ============================================
   PRODUCT MOBILE UX — sticky CTA, size bigger,
   back pill, swipe hint, label pulse
   ============================================ */

/* Sticky CTA bar — fixed bottom, visible solo ≤768px (siempre visible desde load) */
.pd-sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 90;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.pd-sticky-cta--hidden {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.pd-sticky-cta__price {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--white);
  flex-shrink: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.pd-sticky-cta__btn {
  position: relative;
  flex: 1 1 60%;
  min-height: 48px;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--black);
  background: var(--white);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  overflow: hidden;
  transition: background 0.25s var(--ease), transform 0.15s var(--ease);
}
.pd-sticky-cta__btn:active { transform: scale(0.97); background: var(--concrete-light); }
/* Texto interno animable: fade+slide al cambiar de "SELECCIONA TALLA" a "AGREGAR AL CARRITO" */
.pd-sticky-cta__btn-text {
  display: inline-block;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.pd-sticky-cta__btn.is-swapping .pd-sticky-cta__btn-text {
  opacity: 0;
  transform: translateY(-8px);
}
.pd-sticky-cta__btn.is-ready { animation: pdStickyReadyPulse 0.55s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes pdStickyReadyPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
  60%  { box-shadow: 0 0 0 14px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* Swipe hint debajo del carrusel mobile (oculto en desktop) */
.pd-swipe-hint {
  display: none;
  padding: 8px 0 2px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--concrete);
  opacity: 0.8;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.pd-swipe-hint span + span {
  display: inline-block;
  margin-left: 8px;
  animation: swipeHintArrow 1.6s ease-in-out infinite;
}
.pd-swipe-hint--gone {
  opacity: 0 !important;
  transform: translateY(-6px);
  pointer-events: none;
}
@keyframes swipeHintArrow {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}

/* Size-label parpadea cuando no hay talla seleccionada (mobile-pitch) */
/* Check mark ✓ overlay en talla activa */
.size-btn.active::before {
  content: '✓';
  position: absolute;
  top: 3px;
  right: 5px;
  font-size: 9px;
  color: var(--black);
  opacity: 0.85;
  pointer-events: none;
}

@media (max-width: 768px) {
  /* Sticky bar visible */
  .pd-sticky-cta { display: flex; }

  /* Reserva espacio al final del panel info para que el sticky no tape el
     botón principal ni el stock. 80px cubre la altura de la barra + safe area. */
  .product-detail__info {
    padding-bottom: calc(44px + 80px + env(safe-area-inset-bottom));
  }

  /* Swipe hint visible */
  .pd-swipe-hint { display: block; }

  /* Size selector MÁS grande + gap */
  .product-detail__sizes { gap: 10px; }
  .size-btn {
    min-width: 52px;
    min-height: 52px;
    font-size: 18px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  /* Feedback scale + pulse-ring al seleccionar */
  .size-btn.active.size-btn--just-picked {
    animation: sizeJustPicked 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  @keyframes sizeJustPicked {
    0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(255,255,255,0.55); }
    45%  { transform: scale(1.18); box-shadow: 0 0 0 10px rgba(255,255,255,0); }
    100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(255,255,255,0); }
  }

  /* Label parpadea mientras no haya talla seleccionada */
  body.pd-needs-size .product-detail__size-label {
  }

  /* Back link más prominente: pill semi-transparente */
  .product-detail__back {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(10, 10, 10, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    margin-bottom: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-sticky-cta,
  .pd-swipe-hint span + span,
  body.pd-needs-size .product-detail__size-label,
  .size-btn.active.size-btn--just-picked,
  .pd-sticky-cta__btn,
  .pd-sticky-cta__btn-text {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================
   DESKTOP CUSTOM CURSOR — estrella con lerp sobre product grid
   + crosshair sobre CTAs principales + magnetic hover
   ============================================ */
.dstar-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 22px; height: 22px;
  background: #fff;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: opacity 0.15s ease, width 0.12s ease, height 0.12s ease, background 0.12s ease;
  mix-blend-mode: normal;
  will-change: transform;
}
.dstar-cursor.is-active { opacity: 1; }
.dstar-cursor.is-grow {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.75);
}
/* Solo en desktop con puntero fino: ocultamos cursor nativo en grid + cambiamos a crosshair sobre CTAs */
@media (hover: hover) and (pointer: fine) and (min-width: 769px) {
  body.dstar-cursor-active .products-grid,
  body.dstar-cursor-active .products-grid * { cursor: none; }

  /* Crosshair sobre CTAs principales */
  .hero__cta,
  .product-detail__add,
  .cart-drawer__checkout,
  .pd-sticky-cta__btn { cursor: crosshair; }
}
@media (max-width: 768px), (hover: none), (pointer: coarse) {
  .dstar-cursor { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .dstar-cursor { display: none !important; }
}

/* ============================================
   LIQUID GLASS — solo navegación y controles flotantes.
   Blur real en piezas chicas y fijas; nada de vidrio en superficies grandes que scrollean.
   ============================================ */
.header__inner,
.cart-drawer,
.toast,
.pd-sticky-cta,
.mobile-nav {
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
}
.header__inner,
.cart-drawer,
.toast,
.pd-sticky-cta {
  background: var(--glass-sheen), var(--glass-tint);
  box-shadow: var(--glass-shadow);
  isolation: isolate;
}
.header__inner { position: relative; }
.header__inner::before,
.cart-drawer::before,
.toast::before,
.pd-sticky-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1px;
  border-radius: inherit;
  background: var(--glass-edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.header__inner > *,
.pd-sticky-cta > * { position: relative; z-index: 2; }

.cart-drawer {
  --glass-blur: 26px;
  background: var(--glass-sheen), var(--glass-tint-strong);
}
.cart-drawer > * { position: relative; z-index: 2; }
.cart-drawer__header,
.cart-drawer__footer { border-color: rgba(255, 255, 255, 0.08); }

.mobile-nav { --glass-blur: 22px; }

.toast {
  bottom: calc(24px + env(safe-area-inset-bottom));
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  z-index: var(--z-toast);
  transition: opacity var(--dur-base) var(--ease), transform 0.5s var(--ease-out);
}

.pd-sticky-cta {
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  padding: 8px 8px 8px 18px;
  border: 0;
  border-radius: 20px;
  transition: opacity var(--dur-base) var(--ease), transform 0.45s var(--ease-out);
}
.pd-sticky-cta--hidden { transform: translateY(calc(100% + 24px)); }
.pd-sticky-cta__btn { border-radius: var(--radius-pill); }

@media (hover: hover) and (pointer: fine) {
  .header__inner::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: radial-gradient(220px circle at var(--glass-x, 50%) var(--glass-y, 0%), rgba(255, 255, 255, 0.11), transparent 65%);
    opacity: 0;
    transition: opacity 0.45s var(--ease);
    pointer-events: none;
  }
  .header__inner:hover::after { opacity: 1; }
}

@media (min-width: 1025px) and (hover: hover) {
  .product-detail__info {
    background: var(--glass-sheen), linear-gradient(160deg, rgba(14, 14, 14, 0.55), rgba(6, 6, 6, 0.7));
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    backdrop-filter: blur(20px) saturate(1.4);
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header__inner,
  .cart-drawer,
  .toast,
  .pd-sticky-cta { background: var(--glass-sheen), var(--glass-fallback); }
  .mobile-nav { background: var(--glass-fallback); }
}
@media (prefers-reduced-transparency: reduce) {
  .header__inner,
  .cart-drawer,
  .toast,
  .pd-sticky-cta { background: var(--glass-fallback); }
  .mobile-nav { background: var(--glass-fallback); }
}
