/* ======================================================================
   BAKI FITNESS · ESTUDIO DE PRODUCTO v23
   Identidad propia: grafito + naranja cobre + acentos fríos del envase.
   01 Página  02 Galería  03 Información y compra  04 Contenido
   05 Carrito 06 Adaptación móvil
   ----------------------------------------------------------------------
   Para cambiar el diseño de las fichas, modifica SOLO este archivo.
   ====================================================================== */

/* 01 / BASE Y NAVEGACIÓN */
:root {
  --baki-bg: #0b0d11;
  --baki-paper: #17191e;
  --baki-ink: #f7f7f5;
  --baki-secondary: #abb0b8;
  --baki-copper: #fa792d;
  --baki-cyan: #53b9e9;
  --baki-line: #363a41;
}
html { scroll-padding-top: 102px; }
body {
  color: var(--baki-ink);
  background: var(--baki-bg);
  background-image: radial-gradient(ellipse at 18% 13%, #1d263333, transparent 40%);
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--baki-copper);
  outline-offset: 3px;
}
.social-strip { background: #12151f; }
.header { background: #000; border-bottom: 1px solid #343638; }
.crumbs { color: #8e939d; padding: 23px 0 18px; }
.crumbs span:last-child { color: #e1e4e8; }
.product-intro-strip {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 8px 0 21px;
  color: #868d98;
  font-size: 10px;
  letter-spacing: .18em;
  font-weight: 700;
}
.intro-index { color: var(--baki-copper); }
.intro-line { width: 55px; height: 1px; background: #fb792e; }
.intro-motto { margin-left: auto; }

/* 02 / GALERÍA: LA FOTOGRAFÍA ES LA PROTAGONISTA */
.detail-grid {
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  gap: clamp(30px, 4vw, 58px);
  padding-bottom: 64px;
}
.gallery-intro {
  display: flex;
  justify-content: space-between;
  color: #b1b5bb;
  font-size: 10px;
  letter-spacing: .18em;
  font-weight: 800;
  padding: 0 2px 13px;
}
.gallery-frame {
  height: min(660px, 54vw);
  min-height: 460px;
  border-radius: 19px;
  border: 1px solid #48444a;
  background:
    radial-gradient(ellipse at 80% 25%, #d96f2628 0%, transparent 52%),
    radial-gradient(ellipse at 13% 75%, #24618e28, transparent 55%),
    #13161c;
  box-shadow: 0 28px 55px #0005;
}
.gallery-frame:before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid #ffffff19;
  border-radius: 11px;
  pointer-events: none;
}
.gallery-frame > img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px #0007);
}
.gallery-badge {
  top: 21px;
  left: 21px;
  z-index: 1;
  padding: 8px 11px;
  border-radius: 4px;
  background: #0a0c0ed9;
  border: 1px solid #ffffff23;
  color: #f8b186;
  letter-spacing: .12em;
}
.gallery-flavor-badge {
  position: absolute;
  bottom: 21px;
  left: 21px;
  z-index: 1;
  padding: 10px 13px;
  border: 1px solid #e3956266;
  border-radius: 5px;
  background: #090909dc;
  color: #f6f0eb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}
.gallery-frame.is-placeholder { background: #18151a; }
.zoom-control {
  top: 20px;
  right: 20px;
  background: #080b0ed6;
  border-color: #ffffff66;
}
.zoom-control svg { stroke: white; }
.gallery-thumbs { flex-wrap: wrap; gap: 11px; padding-top: 14px; }
.thumb-button {
  height: 93px;
  width: 82px;
  padding: 0;
  border-radius: 9px;
  overflow: hidden;
  background: #161a20;
  border: 1px solid #43484f;
  transition: border .2s, transform .2s;
}
.thumb-button img { object-fit: contain; width: 100%; height: 100%; }
.thumb-button:hover { transform: translateY(-2px); border-color: #eb8646; }
.thumb-button.active { border: 2px solid #fa792d; box-shadow: 0 0 0 3px #fa792d1c; }
.gallery-hint {
  color: #aeb5be;
  margin: 15px 0 0;
  font-size: 11px;
  line-height: 1.7;
}

/* 03 / OPCIONES DE COMPRA: CLARAS, LEGIBLES Y SIN RETÓRICA INNECESARIA */
.product-panel {
  background: linear-gradient(150deg, #212228, #16191e 67%, #17171a);
  padding: clamp(24px, 3vw, 43px);
  border: 1px solid #393d43;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 42px #0004;
}
.product-panel:before {
  content: '';
  display: block;
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--baki-copper);
  top: 0;
  left: clamp(24px, 3vw, 43px);
  border-radius: 0 0 4px 4px;
}
.product-panel .overline {
  color: #ffad78;
  letter-spacing: .18em;
  font-size: 11px;
}
.product-panel h1 {
  font: 900 clamp(51px, 5.2vw, 83px)/.92 var(--font-heading);
  margin: 13px 0 5px;
  color: #fff;
  letter-spacing: -.016em;
}
.product-byline {
  font-size: 10px;
  font-weight: 800;
  color: #819bb3;
  letter-spacing: .17em;
  margin: 10px 0 19px;
}
.product-meta { color: #c3c8ce; }
.meta-dot { background: #ff9c4b; box-shadow: 0 0 8px #ff8137a8; }
.headline-price {
  color: #fff;
  font-size: clamp(39px, 4vw, 58px);
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -.012em;
  margin: 16px 0 0;
}
.tax-note { color: #b4b8bd; margin: 4px 0 16px; }
.selected-summary {
  display: inline-flex;
  padding: 9px 12px;
  background: #17212a;
  border: 1px solid #316481;
  border-radius: 7px;
  color: #c7edfb;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
}
.section-line { background: #383d45; margin: 25px 0; }
.option-set { margin-bottom: 22px; }
.option-set legend,
.quantity-label {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.option-set legend small { color: #a5aab2; }
.option-pill {
  color: #dfe2e6;
  background: #252930;
  border: 1px solid #53565d;
  border-radius: 8px;
  min-width: 70px;
  padding: 11px 17px;
  font-size: 12px;
  font-weight: 700;
}
.option-pill.active {
  background: #f47b2b;
  border: 1px solid #f47b2b;
  color: #151211;
  box-shadow: 0 8px 16px #f47b2b26;
}
.option-pill:hover:not(.active) {
  color: white;
  background: #383a3f;
  border-color: #e9915d;
}
#flavorFieldset .option-pill {
  position: relative;
  padding-left: 30px;
}
#flavorFieldset .option-pill:before {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #ead6b7;
}
#flavorFieldset .option-pill:nth-child(2):before { background: #8c5035; }
#flavorFieldset .option-pill:nth-child(3):before { background: #b7a29b; }
.image-availability {
  color: #ffd7ab;
  background: #3c2a1c;
  border-left: 3px solid #fa883b;
  border-radius: 0 7px 7px 0;
  padding: 11px 13px;
  margin: -4px 0 22px;
  font-size: 11px;
  line-height: 1.6;
}
.quantity-control {
  background: #22262d;
  border-color: #4c5159;
  border-radius: 8px;
}
.quantity-control button { color: #fff; }
.quantity-control output { color: #fff; font-weight: 800; }
.add-button {
  border: 0;
  color: #15110d;
  background: #f57925;
  border-radius: 8px;
  font-size: 12px;
  min-height: 54px;
  box-shadow: 0 6px 15px #e9701928;
}
.add-button:hover { background: #ff974a; color: #111; }
.share-link { color: #c4c8ce; margin-top: 22px; }
.share-link:hover { color: var(--baki-copper); }
.shipping-goal {
  padding: 18px 18px 14px;
  margin-top: 24px;
  border: 1px solid #3f454c;
  border-radius: 10px;
  background: #11171b;
}
.shipping-goal-head { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; font-weight: 800; letter-spacing: .055em; }
.shipping-goal-head strong { color: #ffaf7c; }
.shipping-goal-track { background: #41444b; border-radius: 9px; height: 5px; margin: 11px 0 9px; overflow: hidden; }
.shipping-goal-track span { height: 100%; display: block; background: linear-gradient(90deg, #dc5d16, #ffba74); border-radius: inherit; transition: width .25s; }
.shipping-goal small { font-size: 10px; color: #999fa7; }
.small-benefits { border-color: #3e4148; }
.small-benefits p { color: #f3f3f3; }
.small-benefits small { color: #b2b7c0; }
.small-benefit-icon { color: #ffa868; border-color: #e18a4b77; }

/* 04 / DESCRIPCIONES Y PRODUCTOS RELACIONADOS */
.information-grid { border-color: #34383e; padding-top: 53px; }
.description-block h2,
.similar-head h2 { color: #fff; }
.section-kicker { color: var(--baki-copper); }
.detail-description { color: #bec2c8; }
.features { color: #c7cbd2; }
.disclaimer { background: #1c2026; border-color: #e38242; color: #aeb6be; }
.information-aside { background: #1a1e24; border: 1px solid #353c44; border-radius: 13px; }
.aside-title,
.information-aside dt { color: #f5f5f5; }
.information-aside dd { color: #adb4bd; }
.information-aside dl div { border-color: #3a3e46; }
.ask-link { color: #ffae76; }
.similar-section { background: #111318; border-top: 1px solid #292e35; }
.similar-head > a { color: #ffa36b; }
.similar-card { background: #1b1d22; border: 1px solid #363c44; border-radius: 10px; }
.similar-card:hover { border-color: #f88137; transform: translateY(-3px); }
.similar-card img { background: #15181f; }
.similar-card h3,
.similar-card strong { color: white; }
.similar-card-content span { color: #eca16e; }
.footer { border-top: 1px solid #303338; }

/* 05 / CARRITO: UN MISMO ESTILO DE MARCA */
.cart-drawer { background: #15181e; box-shadow: -15px 0 46px #0009; border-left: 1px solid #4a3b33; }
.cart-head { background: #111116; border-bottom: 1px solid #383a3f; }
.cart-content { color: #f9f9f9; }
.cart-item { border-color: #393c44; }
.cart-item > img { border-radius: 7px; background: #21242b; }
.cart-item h3,
.cart-item strong { color: #f6f6f6; }
.cart-item small { color: #bdc0c7; }
.cart-item-quantity button { background: #252830; border-color: #5d6068; color: white; border-radius: 4px; }
.cart-remove { color: #ffac72; }
.empty-cart { color: #bbc2cb; }
.empty-cart h3 { color: #fff; }
.empty-cart a { color: #ff9b5a; }
.cart-checkout { background: #1b1e24; border-color: #42454c; color: #fff; }
.cart-checkout input { color: white; background: #11141b; border: 1px solid #4b515c; border-radius: 6px; }
.cart-checkout label { color: #f0f0f0; }
.delivery-line,
.whatsapp-note { color: #bec3cc; }
.whatsapp-button { background: #26c77b; border-radius: 8px; }
.toast { border-radius: 9px; background: #f7f6f3; color: #0b0d11; }

/* 06 / TABLET Y MÓVIL */
@media (max-width: 1050px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
  .gallery-frame { height: min(620px, 62vw); min-height: 380px; }
  .product-panel { padding: 25px; }
}
@media (max-width: 800px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-frame { height: 590px; }
  .intro-motto { font-size: 9px; }
  .product-panel { padding: 30px; }
  .similar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .intro-line { width: 25px; }
  .product-intro-strip { gap: 8px; font-size: 9px; }
  .intro-motto { letter-spacing: .05em; }
  .gallery-frame { height: 440px; min-height: 360px; }
  .gallery-badge { top: 10px; left: 10px; font-size: 8px; }
  .gallery-flavor-badge { bottom: 13px; left: 13px; font-size: 9px; }
  .thumb-button { width: 70px; height: 76px; }
  .product-panel { padding: 23px 17px 26px; }
  .product-panel h1 { font-size: clamp(47px, 12vw, 67px); }
  .headline-price { font-size: 49px; }
  .option-pill { padding: 10px 11px; min-width: 62px; }
  .purchase-row { flex-wrap: wrap; }
  .add-button { min-width: 175px; }
  .shipping-goal-head { flex-wrap: wrap; }
  .information-aside { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .thumb-button,
  .shipping-goal-track span { transition: none; }
}

/* 07 / WHEY PRO · TABLA NUTRICIONAL COMPARTIDA EN LA GALERÍA */
.gallery-frame.is-nutricional {
  background: radial-gradient(ellipse at 50% 45%, #34363a 0%, #16191f 75%);
}
.gallery-frame.is-nutricional > img {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 68px 22px 42px;
  object-fit: contain;
  filter: none;
}
.thumb-button.thumb-nutricional { position: relative; }
.thumb-nutricional img { padding: 4px 4px 18px; }
.thumb-nutricional-label {
  position: absolute;
  inset: auto 0 0;
  padding: 4px 2px;
  background: #111419ee;
  color: #f9b085;
  font: 800 8px/1.15 'DM Sans', sans-serif;
  letter-spacing: .035em;
  text-align: center;
}

/* 08 / Entregas y pagos sin promociones de envío obsoletas */
.shipping-method-card { padding: 20px; }
.shipping-method-kicker { display:block; color:#f99350; font-weight:800; letter-spacing:.12em; font-size:10px; margin-bottom:7px; }
.shipping-method-card > strong { color:#f5f5f5; font-size:17px; display:block; margin-bottom:14px; }
.shipping-method-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; border-top:1px solid #3a4047; padding:10px 0; font-size:12px; color:#c6cbd2; }
.shipping-method-row b { color:#ffae76; font-weight:800; }
.shipping-method-card > p { color:#a9b2bb; font-size:11px; line-height:1.55; margin:8px 0 0; }
