body.store-page { overflow-x: hidden; }

.bg-media {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: radial-gradient(circle at 70% 20%, #252525 0, #090909 40%, #000 75%);
}
.bg-media video,
.bg-media .bg-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bg-media video { position: absolute; inset: 0; opacity: var(--video-opacity, .42); filter: saturate(.75) contrast(1.08); }
.bg-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.46), rgba(0,0,0,.32) 35%, rgba(0,0,0,.85) 85%, #050505),
    radial-gradient(circle at 50% 15%, transparent, rgba(0,0,0,.42) 70%);
  pointer-events: none;
}
.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.announcement {
  position: relative;
  z-index: 20;
  min-height: 32px;
  display: grid;
  place-items: center;
  padding: 8px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.7);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
}
.store-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.store-header.scrolled { background: rgba(5,5,5,.78); border-color: var(--line); backdrop-filter: blur(22px); }
.brand-logo { width: clamp(190px, 22vw, 360px); display: block; filter: drop-shadow(0 14px 26px rgba(0,0,0,.6)); }
.header-left, .header-right { display: flex; align-items: center; gap: 10px; }
.header-right { justify-content: flex-end; }
.header-link { font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 800; color: #d1d1d1; }
.cart-button { position: relative; }
.cart-badge {
  position: absolute;
  right: -3px;
  top: -3px;
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  padding: 0 4px;
  display: grid;
  place-items: center;
  font-size: .62rem;
  font-weight: 900;
  background: #fff;
  color: #050505;
  border: 2px solid #080808;
}

.hero {
  min-height: calc(100svh - 120px);
  padding: 7vh clamp(20px, 6vw, 90px) 7vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.hero-copy { max-width: 900px; }
.hero h1 {
  margin: 15px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: .78;
  letter-spacing: -.065em;
  font-weight: 900;
  white-space: pre-line;
  text-wrap: balance;
  text-shadow: 0 12px 50px rgba(0,0,0,.5);
}
.hero p { max-width: 580px; margin: 0; color: #c9c9c9; font-size: clamp(1rem,1.4vw,1.18rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-footer {
  margin-top: 8vh;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.catalog-section { position: relative; z-index: 2; padding: 90px clamp(18px, 4vw, 64px) 110px; background: #050505; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 38px; }
.section-heading h2 { margin: 8px 0 0; font-family: Georgia, serif; font-size: clamp(2.6rem,5vw,5.4rem); letter-spacing: -.05em; line-height: .92; }
.catalog-tools { display: flex; gap: 10px; align-items: center; }
.catalog-count { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.product-card { min-width: 0; }
.product-media {
  position: relative;
  aspect-ratio: .82;
  border: 1px solid var(--line);
  background: linear-gradient(145deg,#121212,#080808);
  overflow: hidden;
  cursor: pointer;
}
.product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .35s ease; }
.product-media .back { opacity: 0; }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-card:hover .product-media .front { opacity: 0; }
.product-card:hover .product-media .back { opacity: 1; }
.product-badge { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 7px 10px; border-radius: 999px; background: #fff; color: #050505; font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.product-quick { position: absolute; right: 14px; bottom: 14px; opacity: 0; transform: translateY(8px); transition: .25s ease; }
.product-card:hover .product-quick { opacity: 1; transform: none; }
.product-meta { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 15px 2px 4px; }
.product-name { font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.product-category { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }
.product-price { font-weight: 850; font-size: .95rem; text-align: right; }
.product-old-price { color: #777; text-decoration: line-through; font-size: .74rem; margin-top: 4px; }
.empty-catalog { grid-column: 1/-1; min-height: 300px; display: grid; place-items: center; text-align: center; border: 1px dashed var(--line); color: var(--muted); padding: 40px; }
.empty-catalog strong { display: block; color: white; font-size: 1.1rem; margin-bottom: 8px; }

.footer { padding: 56px clamp(18px,4vw,64px); background: #020202; border-top: 1px solid var(--line); }
.footer-logo { width: min(420px,70vw); opacity: .62; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); margin-top: 34px; padding-top: 18px; color: var(--muted); font-size: .72rem; }

.drawer-backdrop, .modal-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.66); backdrop-filter: blur(5px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.drawer-backdrop.open, .modal-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; inset: 0 0 0 auto; width: min(470px,100vw); z-index: 100; transform: translateX(102%); transition: transform .35s cubic-bezier(.2,.8,.2,1); background: #090909; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.cart-drawer.open { transform: none; }
.drawer-head { height: 78px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: .88rem; text-transform: uppercase; letter-spacing: .15em; }
.cart-list { flex: 1; overflow: auto; padding: 14px 20px; }
.cart-item { display: grid; grid-template-columns: 78px 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 78px; aspect-ratio: .8; background: #121212; object-fit: contain; padding: 5px; }
.cart-item h4 { margin: 0 0 5px; font-size: .9rem; }
.cart-sub { color: var(--muted); font-size: .72rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 10px; overflow: hidden; }
.qty button { width: 30px; height: 30px; border: 0; background: transparent; cursor: pointer; }
.qty span { min-width: 24px; text-align: center; font-size: .76rem; }
.remove-link { border: 0; background: transparent; color: #999; cursor: pointer; font-size: .72rem; padding: 0; margin-top: 7px; }
.cart-footer { border-top: 1px solid var(--line); padding: 18px 20px 24px; display: grid; gap: 12px; }
.cart-total-row { display: flex; justify-content: space-between; font-weight: 900; font-size: 1.05rem; }
.cart-note { color: var(--muted); font-size: .72rem; line-height: 1.45; }
.checkout-btn { width: 100%; min-height: 54px; background: #fff; color: #050505; border: 0; border-radius: 999px; font-weight: 900; cursor: pointer; }
.checkout-btn:disabled { opacity: .4; cursor: not-allowed; }

.product-modal { position: fixed; left: 50%; top: 50%; z-index: 110; width: min(1050px,calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; transform: translate(-50%,-48%) scale(.98); opacity: 0; pointer-events: none; transition: .25s ease; border: 1px solid var(--line); background: #080808; box-shadow: var(--shadow); }
.product-modal.open { transform: translate(-50%,-50%) scale(1); opacity: 1; pointer-events: auto; }
.product-modal-grid { display: grid; grid-template-columns: 1.15fr .85fr; }
.modal-gallery { position: relative; min-height: 620px; background: #111; }
.modal-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7%; }
.modal-gallery .back { opacity: 0; transition: opacity .25s ease; }
.modal-gallery.show-back .back { opacity: 1; }
.gallery-toggle { position: absolute; left: 20px; bottom: 20px; z-index: 2; }
.modal-info { padding: clamp(28px,5vw,60px); display: flex; flex-direction: column; justify-content: center; }
.modal-close { position: absolute; right: 18px; top: 18px; z-index: 4; }
.modal-title { margin: 8px 0 12px; font-family: Georgia,serif; font-size: clamp(2.2rem,4vw,4rem); line-height: .95; letter-spacing: -.04em; }
.modal-price { font-size: 1.1rem; font-weight: 900; margin-bottom: 22px; }
.modal-description { color: #bdbdbd; line-height: 1.65; font-size: .94rem; }
.size-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 24px; }
.size-btn { min-width: 46px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #0d0d0d; cursor: pointer; font-weight: 800; }
.size-btn.active { background: #fff; color: #050505; border-color: #fff; }

@media (max-width: 920px) {
  .header-left { display: none; }
  .store-header { grid-template-columns: 1fr auto; }
  .brand-logo { justify-self: start; width: min(62vw,300px); }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-modal-grid { grid-template-columns: 1fr; }
  .modal-gallery { min-height: min(70vh,560px); }
}
@media (max-width: 620px) {
  .announcement { letter-spacing: .1em; }
  .store-header { height: 74px; padding: 0 14px; }
  .brand-logo { width: 210px; }
  .hero { min-height: calc(100svh - 106px); padding: 9vh 18px 5vh; }
  .hero h1 { font-size: clamp(3.8rem,20vw,6.8rem); }
  .hero-footer { font-size: .58rem; }
  .catalog-section { padding: 70px 12px 90px; }
  .section-heading { align-items: start; flex-direction: column; padding: 0 5px; }
  .product-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-quick { opacity: 1; transform: none; }
  .footer { padding: 46px 18px; }
  .footer-bottom { flex-direction: column; }
  .modal-gallery { min-height: 430px; }
}


/* ===== DRIP COCOLOS — carrito GTA sobre la versión original del usuario ===== */
.header-right { gap: 14px; }
.cart-visual-button {
  appearance: none;
  position: relative;
  width: 164px;
  min-height: 82px;
  padding: 6px 10px 6px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(180deg,rgba(3,8,7,.92),rgba(5,9,8,.78));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 12px 30px rgba(0,0,0,.4);
  backdrop-filter: blur(10px);
  cursor: pointer;
  overflow: hidden;
}
.cart-visual-button::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg,transparent,rgba(79,255,213,.3),transparent);
}
.cart-visual-image { width: 92px; height: 64px; object-fit: contain; display: block; filter: drop-shadow(0 7px 10px rgba(0,0,0,.55)); }
.cart-visual-count {
  width: 38px;
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #00d99b;
  color: #03110c;
  font-size: 1rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 8px 22px rgba(0,217,155,.16);
}
.cart-visual-button.cart-pop { animation: dcCartPop .36s ease; }
@keyframes dcCartPop { 45% { transform: scale(1.055); } }

.gta-catalog-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  font-size: clamp(1.75rem,2.4vw,2.45rem);
  line-height: .82;
  letter-spacing: -.035em;
  text-transform: lowercase;
  -webkit-text-stroke: 2px #050505;
  paint-order: stroke fill;
  text-shadow: 2px 2px 0 #050505, -1px -1px 0 #050505, 0 5px 12px rgba(0,0,0,.62);
  transform: skew(-2deg);
  transition: transform .18s ease, filter .18s ease;
}
.gta-catalog-link:hover { transform: skew(-2deg) scale(1.045); filter: brightness(1.12); }

.cart-drawer {
  width: min(470px,100vw);
  background: rgba(3,3,3,.975);
  border-left: 1px solid rgba(255,255,255,.08);
  box-shadow: -24px 0 70px rgba(0,0,0,.76);
}
.gta-cart-head {
  min-height: 118px;
  height: auto;
  padding: 23px 23px 16px 30px;
  align-items: flex-start;
  border-bottom: 0;
}
.gta-cart-head h3 {
  margin-top: 19px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .08em;
}
.drawer-cart-visual {
  position: relative;
  width: 180px;
  height: 78px;
  padding: 6px 12px 6px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(3,7,6,.45);
}
.drawer-cart-visual img { width: 95px; height: 64px; object-fit: contain; opacity: .95; }
.drawer-cart-visual > span {
  width: 38px; height: 38px; display:grid; place-items:center; flex:0 0 auto;
  border-radius:50%; background:#00d99b; color:#03110c; font-weight:950; font-size:1rem;
}
.drawer-close-gta {
  position: absolute;
  right: -2px;
  top: -1px;
  transform: translate(18%,-18%);
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(2,2,2,.96);
  color: #fff;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 400;
  z-index: 3;
}
.cart-list {
  padding: 0 30px;
  border-top: 1px solid rgba(255,255,255,.09);
}
.cart-list .empty-catalog {
  min-height: 160px !important;
  height: auto;
  padding: 16px 0;
  border: 0 !important;
  display: block;
  color: rgba(255,255,255,.62);
  font-style: italic;
  font-size: .92rem;
  text-align: center;
}
.cart-list .empty-catalog div { padding-top: 0; }
.cart-list .empty-catalog strong { display: inline; margin: 0; color: rgba(255,255,255,.62); font-size: inherit; font-weight: 600; }
.cart-list .empty-catalog strong + * { display:none; }
.cart-item { grid-template-columns: 62px 1fr auto; gap: 11px; }
.cart-thumb { width:62px; height:76px; }
.gta-cart-footer {
  padding: 20px 30px 27px;
  gap: 13px;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(3,3,3,.98);
}
.cart-total-items-row,
.cart-total-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  text-transform:uppercase;
}
.cart-total-items-row { font-family: Georgia,"Times New Roman",serif; font-size: 1rem; }
.cart-total-row { font-size:1.1rem; font-weight:950; margin: 3px 0 8px; }
.cart-total-row span:last-child { font-size:1.12rem; }
.gta-cart-input {
  width:100%;
  min-height:58px;
  border:1px solid rgba(255,255,255,.21);
  border-radius:22px;
  background:rgba(0,0,0,.33);
  color:#fff;
  padding:0 17px;
  outline:none;
  font-weight:650;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
}
.gta-cart-input::placeholder { color:rgba(255,255,255,.42); }
.gta-cart-input:focus { border-color:rgba(255,255,255,.42); }
.gta-cart-textarea { min-height:84px; padding-top:16px; resize:vertical; }
.gta-checkout-btn {
  min-height:42px;
  border:1px solid rgba(255,255,255,.36);
  background:transparent;
  color:#fff;
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:600;
}
.gta-checkout-btn:hover:not(:disabled) { background:rgba(255,255,255,.06); }

@media (max-width: 760px) {
  .store-header { grid-template-columns: auto 1fr auto; padding:0 10px; }
  .header-left { display:none; }
  .brand-logo { width: clamp(145px,34vw,210px); justify-self:center; }
  .header-right .header-link { display:none; }
  .cart-visual-button { width:138px; min-height:68px; padding:4px 8px 4px 13px; }
  .cart-visual-image { width:76px; height:53px; }
  .cart-visual-count { width:32px; min-width:32px; height:32px; font-size:.86rem; }
  .gta-cart-head { padding:18px 15px 13px 20px; }
  .gta-cart-head h3 { font-size:.92rem; }
  .drawer-cart-visual { width:154px; height:68px; padding-left:14px; }
  .drawer-cart-visual img { width:78px; height:54px; }
  .drawer-cart-visual > span { width:32px; height:32px; font-size:.86rem; }
  .drawer-close-gta { width:42px; height:42px; }
  .cart-list { padding:0 20px; }
  .gta-cart-footer { padding:18px 20px 22px; }
}
@media (max-width: 480px) {
  .cart-visual-button { width:120px; min-height:62px; padding-left:10px; }
  .cart-visual-image { width:67px; height:48px; }
  .cart-visual-count { width:30px; min-width:30px; height:30px; font-size:.8rem; }
  .gta-catalog-link { font-size:1.8rem; }
  .drawer-cart-visual { width:144px; }
}

/* ===== Ajustes solicitados: carrito compacto + llamada visual al catálogo ===== */
.cart-visual-button { width: 138px; min-height: 68px; padding: 5px 9px 5px 13px; }
.cart-visual-image { width: 76px; height: 53px; }
.cart-visual-count { width: 32px; min-width: 32px; height: 32px; font-size: .86rem; }
.scroll-cue {
  align-self: center; margin-top: 4.5vh; display: grid; justify-items: center; gap: 9px;
  color: rgba(255,255,255,.78); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; animation: dcCueFloat 1.65s ease-in-out infinite;
}
.scroll-cue i { width: 22px; height: 34px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; position: relative; }
.scroll-cue i::after { content:""; position:absolute; left:50%; top:7px; width:3px; height:7px; border-radius:99px; background:#fff; transform:translateX(-50%); animation:dcCueDot 1.65s ease-in-out infinite; }
@keyframes dcCueFloat { 0%,100%{transform:translateY(0);opacity:.72} 50%{transform:translateY(8px);opacity:1} }
@keyframes dcCueDot { 0%{transform:translate(-50%,0);opacity:0} 35%{opacity:1} 75%,100%{transform:translate(-50%,12px);opacity:0} }
@media (max-width:620px){ .cart-visual-button{width:106px;min-height:56px;padding-left:8px}.cart-visual-image{width:59px;height:43px}.cart-visual-count{width:28px;min-width:28px;height:28px;font-size:.74rem}.scroll-cue{margin-top:3.5vh;font-size:.56rem} }


/* ===== Social dock + producción móvil/cross-browser ===== */
.social-float {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 82;
  display: grid;
  gap: 10px;
}
.social-float[hidden], .social-float-btn[hidden] { display: none !important; }
.social-float-btn {
  width: 54px;
  height: 54px;
  display: -webkit-inline-flex;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(5,5,5,.90);
  box-shadow: 0 14px 36px rgba(0,0,0,.44);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.social-float-btn svg { width: 25px; height: 25px; display:block; }
.social-float-btn span {
  position: absolute;
  right: 64px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,.88);
  border: 1px solid rgba(255,255,255,.12);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: .2s ease;
}
.social-float-btn:hover, .social-float-btn:focus-visible { transform: translateY(-2px) scale(1.04); border-color: rgba(255,255,255,.5); outline: none; }
.social-float-btn:hover span, .social-float-btn:focus-visible span { opacity: 1; transform: none; }
.social-float-btn.whatsapp { color:#fff; }
.social-float-btn.instagram { color:#fff; }

/* Fallbacks first; modern viewport units override where supported. */
.hero { min-height: calc(100vh - 120px); }
@supports (height: 100svh) { .hero { min-height: calc(100svh - 120px); } }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .store-header.scrolled, .drawer-backdrop, .modal-backdrop, .social-float-btn, .icon-btn, .toast { background-color: rgba(5,5,5,.97); }
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 92px; }
body.store-page { min-width: 280px; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
img { height: auto; }
video { background:#000; }
input, textarea, select { font-size: 16px; } /* evita zoom automático en iPhone */
.cart-list { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.product-modal { -webkit-overflow-scrolling: touch; }

@media (hover: none) and (pointer: coarse) {
  .product-quick { opacity: 1; transform: none; }
  .social-float-btn span { display:none; }
}

@media (max-width: 620px) {
  .announcement { min-height: 30px; padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  .store-header { padding-left: max(10px, env(safe-area-inset-left)); padding-right: max(10px, env(safe-area-inset-right)); }
  .hero { min-height: calc(100vh - 104px); padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  @supports (height: 100svh) { .hero { min-height: calc(100svh - 104px); } }
  .hero h1 { overflow-wrap: anywhere; }
  .hero-actions { align-items: stretch; }
  .gta-catalog-link, .hero-actions .btn { min-height: 48px; }
  .product-modal { width: 100%; max-width: 100%; max-height: 94vh; max-height: 94dvh; left:0; top:auto; bottom:0; transform: translateY(8%); border-left:0; border-right:0; border-bottom:0; border-radius: 20px 20px 0 0; }
  .product-modal.open { transform:none; }
  .modal-info { padding: 28px 18px max(28px, calc(env(safe-area-inset-bottom) + 18px)); }
  .modal-gallery { min-height: min(54vh, 430px); }
  .cart-drawer { width: min(390px, 100vw); padding-bottom: env(safe-area-inset-bottom); }
  .cart-item { grid-template-columns: 58px minmax(0,1fr) auto; }
  .cart-thumb { width:58px; height:70px; }
  .social-float { right: max(10px, env(safe-area-inset-right)); bottom: max(12px, calc(env(safe-area-inset-bottom) + 8px)); gap:8px; }
  .social-float-btn { width:49px; height:49px; }
  .social-float-btn svg { width:23px; height:23px; }
  .toast-stack { left:12px; right:12px; bottom:max(76px, calc(env(safe-area-inset-bottom) + 70px)); }
  .toast { min-width:0; width:100%; }
}

@media (max-width: 380px) {
  .brand-logo { width: 138px; }
  .cart-visual-button { width: 92px; }
  .cart-visual-image { width: 50px; }
  .hero h1 { font-size: clamp(3.1rem,18vw,5.2rem); }
  .hero-footer span:first-child { display:none; }
  .cart-item { grid-template-columns: 52px minmax(0,1fr); }
  .cart-item > strong { grid-column:2; justify-self:start; }
  .cart-thumb { width:52px; height:65px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

/* ===== v2: stock, zoom, cómo pedir, accesibilidad ===== */
.product-badge.is-soldout { background: #ff4d4d; color: #fff; }
.product-card.sold-out .product-media img { opacity: .45; filter: grayscale(1); }
.product-card.sold-out .product-quick { opacity: 1; }
.size-btn:disabled, .size-btn.is-out { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.size-btn:focus-visible, .btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.stock-note { min-height: 1.2em; margin-top: 10px; color: #ffb84d; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.btn:disabled, .btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.size-row.shake { animation: dcShake .4s ease; }
@keyframes dcShake { 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }
.cart-privacy { margin: 4px 0 0; font-size: .7rem; line-height: 1.4; color: var(--muted); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }

/* Zoom al pasar el mouse dentro del modal */
.modal-gallery { overflow: hidden; }
.modal-gallery img { cursor: zoom-in; transform-origin: 50% 50%; transition: opacity .25s ease, transform .18s ease-out; }
.modal-gallery.hover-zoom img { transform: scale(2.1); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery-zoom { position: absolute; right: 20px; bottom: 20px; z-index: 2; }
@media (hover: hover) and (pointer: fine) { .gallery-zoom { display: none; } }

/* Visor a pantalla completa */
.lightbox { position: fixed; inset: 0; z-index: 300; background: #000; display: flex; flex-direction: column; }
.lightbox[hidden] { display: none; }
body.lightbox-open { overflow: hidden; }
.lb-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; touch-action: none; cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.lb-stage.zoomed { cursor: grab; }
.lb-stage.zoomed:active { cursor: grabbing; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; will-change: transform; transform-origin: 50% 50%; -webkit-user-drag: none; pointer-events: none; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px max(16px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.lb-thumbs { display: flex; gap: 10px; }
.lb-thumbs[hidden] { display: none; }
.lb-thumb { width: 54px; height: 54px; padding: 0; border-radius: 10px; border: 2px solid transparent; background: #111; overflow: hidden; cursor: pointer; }
.lb-thumb.active { border-color: #fff; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-tools { display: flex; gap: 8px; margin-left: auto; }
.lb-btn { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: #0d0d0d; color: #fff; font-size: 1.2rem; font-weight: 800; cursor: pointer; }
.lb-btn:hover { background: #1a1a1a; }
.lb-hint { position: absolute; left: 0; right: 0; top: max(14px, env(safe-area-inset-top)); margin: 0; text-align: center; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); pointer-events: none; transition: opacity .4s ease; }
.lb-hint.gone { opacity: 0; }

/* Cómo pedir */
.how-section { position: relative; z-index: 2; padding: 70px clamp(18px,4vw,64px) 90px; background: #050505; border-top: 1px solid var(--line); }
.how-section h2 { margin: 6px 0 28px; font-size: clamp(1.6rem,4vw,2.4rem); letter-spacing: .04em; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-steps li { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.03); }
.how-steps strong { display: block; margin-bottom: 8px; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
.how-steps span { color: var(--muted); font-size: .92rem; line-height: 1.5; }
@media (max-width: 760px) { .how-steps { grid-template-columns: 1fr; } }

body.store-paused .announcement { background: #ff4d4d; color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .modal-gallery img, .lb-img, .lb-hint { transition: none !important; }
  .size-row.shake { animation: none; }
}
