:root{--black:#090909;--lime:#d8ff36;--off:#f2f1eb;--line:#cfcec8;--ink:#111}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--off);color:var(--ink);font-family:Inter,Arial,sans-serif}a{text-decoration:none;color:inherit}button,select,input,textarea{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}[hidden]{display:none!important}.site-header{position:fixed;z-index:40;top:0;left:0;right:0;height:82px;padding:0 clamp(20px,4vw,60px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;background:rgba(9,9,9,.92);backdrop-filter:blur(12px);color:#fff;border-bottom:1px solid #292929}.brand{width:124px}.brand img{height:48px;object-fit:contain}.site-header nav{display:flex;gap:34px;font:800 12px Inter;letter-spacing:.12em}.site-header nav a:hover{color:var(--lime)}.menu-btn{display:none;justify-self:end;background:transparent;color:#fff;border:1px solid #444;width:42px;height:40px}.mobile-menu{position:fixed;z-index:39;top:82px;left:0;right:0;background:#0b0b0b;color:#fff;padding:20px}.mobile-menu a{display:block;padding:13px 0;border-bottom:1px solid #292929;font:800 24px "Barlow Condensed"}.hero{min-height:94vh;background:radial-gradient(circle at 78% 32%,rgba(216,255,54,.15),transparent 24%),linear-gradient(125deg,#050505,#131313 58%,#050505);color:#fff;display:flex;align-items:flex-end;padding:155px clamp(22px,5vw,85px) 78px;position:relative;overflow:hidden}.hero:after{content:"BNB";position:absolute;right:-2vw;top:50%;transform:translateY(-50%);font:900 clamp(220px,38vw,700px)/.75 "Barlow Condensed";letter-spacing:-.08em;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.08)}.hero-content{position:relative;z-index:2;max-width:900px}.eyebrow{margin:0 0 18px;color:var(--lime);font:800 11px Inter;letter-spacing:.18em}.eyebrow.dark{color:#666}.hero h1,.catalog h2,.about h2,.dialog-info h2{font-family:"Barlow Condensed";font-weight:900;text-transform:uppercase;letter-spacing:-.045em;margin:0}.hero h1{font-size:clamp(78px,12vw,184px);line-height:.76}.hero-copy{max-width:580px;color:#bdbdbd;line-height:1.6;font-size:17px;margin:34px 0}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.btn{min-height:50px;padding:0 22px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;font:800 11px Inter;letter-spacing:.11em}.btn.light{background:var(--off)}.btn.outline{border-color:#666;color:#fff}.btn.dark{background:#111;color:#fff}.btn.full{width:100%}.btn:hover{background:var(--lime);color:#111;border-color:var(--lime)}.ticker{overflow:hidden;background:var(--lime);border-block:1px solid #111;white-space:nowrap}.ticker div{padding:12px 0;font:900 14px "Barlow Condensed";letter-spacing:.1em;animation:scroll 26s linear infinite;width:max-content}@keyframes scroll{to{transform:translateX(-40%)}}.categories{display:grid;grid-template-columns:repeat(3,1fr);background:#111}.categories button{min-height:180px;background:#111;color:#fff;border:0;border-right:1px solid #303030;padding:25px;display:grid;grid-template-columns:auto 1fr auto;align-items:end;text-align:left}.categories button:hover{background:#1c1c1c}.categories span{align-self:start;color:#777;font-size:10px}.categories strong{font:900 clamp(38px,5vw,75px) "Barlow Condensed"}.categories b{color:var(--lime);font-size:29px}.catalog{max-width:1560px;margin:auto;padding:100px clamp(18px,4vw,60px) 120px}.section-head{display:flex;justify-content:space-between;align-items:end;padding-bottom:26px;border-bottom:1px solid var(--line)}.catalog h2{font-size:clamp(62px,8vw,120px);line-height:.8}.section-head>p{font-size:10px;letter-spacing:.12em;color:#777}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0 34px}.filters{display:flex;gap:7px;flex-wrap:wrap}.filters button,.toolbar select{height:38px;background:transparent;border:1px solid #aaa;padding:0 13px;font-size:10px;font-weight:800;letter-spacing:.08em}.filters button.active,.filters button:hover{background:#111;color:#fff;border-color:#111}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:35px 14px}.product-card{cursor:pointer}.media{aspect-ratio:4/5;background:#deded8;overflow:hidden;position:relative}.media img{width:100%;height:100%;object-fit:cover;transition:.35s}.product-card:hover .media img{transform:scale(1.02)}.placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(140deg,#ddd,#c7c7c1)}.placeholder:after{content:"PHOTO";font:900 38px "Barlow Condensed";color:rgba(0,0,0,.18)}.badge{position:absolute;z-index:2;top:10px;left:10px;background:var(--lime);padding:6px 8px;font:800 9px Inter;letter-spacing:.1em}.meta{padding:13px 2px}.topline{display:flex;justify-content:space-between;gap:8px}.name{font-size:12px;font-weight:800;text-transform:uppercase}.product-price{font-size:12px;font-weight:700;white-space:nowrap}.sub{margin-top:6px;color:#777;font-size:10px;text-transform:uppercase}.status{text-align:center;padding:70px 20px;font:800 18px "Barlow Condensed";letter-spacing:.06em}.status.error{color:#9d1919}.about{background:#090909;color:#fff;padding:100px clamp(22px,7vw,125px);display:grid;grid-template-columns:minmax(150px,.55fr) 1.5fr;gap:8vw;align-items:center}.about img{max-width:300px}.about h2{font-size:clamp(56px,7vw,110px);line-height:.82}.about p:last-child{max-width:780px;color:#aaa;line-height:1.7}footer{background:#050505;color:#fff;padding:55px clamp(20px,4vw,60px);display:grid;gap:16px}footer img{width:145px}footer p,footer small{color:#666;font-size:10px;letter-spacing:.12em}dialog{width:min(1120px,94vw);max-height:92vh;border:0;padding:0;background:var(--off)}dialog::backdrop{background:rgba(0,0,0,.8);backdrop-filter:blur(4px)}.close{position:absolute;z-index:4;right:15px;top:15px;width:42px;height:42px;background:#111;color:#fff;border:0;font-size:24px}.dialog-grid{display:grid;grid-template-columns:1.15fr .85fr;min-height:640px}.dialog-media{background:#ddd;min-height:640px}.dialog-media img{width:100%;height:100%;object-fit:cover}.dialog-info{padding:76px 45px 40px}.dialog-info h2{font-size:clamp(48px,6vw,80px);line-height:.88}.price{font-size:20px;font-weight:800;margin:20px 0}.dialog-info>p:not(.eyebrow){color:#666;line-height:1.65;font-size:13px;margin:25px 0}.dialog-info label{font-size:9px;font-weight:800;letter-spacing:.15em}.options{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 23px}.options button{height:37px;border:1px solid #aaa;background:transparent;padding:0 12px;font-size:10px}.options button.active{background:#111;color:#fff}@media(max-width:900px){.site-header{grid-template-columns:1fr auto}.site-header nav{display:none}.menu-btn{display:block}.categories{grid-template-columns:1fr}.categories button{min-height:125px}.product-grid{grid-template-columns:repeat(2,1fr)}.about{grid-template-columns:1fr}.about img{width:160px}.dialog-grid{grid-template-columns:1fr}.dialog-media{min-height:460px}}@media(max-width:560px){.hero{min-height:820px;padding-top:140px}.hero h1{font-size:78px}.catalog{padding-top:70px}.toolbar{align-items:stretch;flex-direction:column}.product-grid{gap:28px 8px}.name,.product-price{font-size:10px}.dialog-info{padding:55px 22px 28px}}

.dialog-gallery{background:#ddd;min-width:0}.dialog-thumbs{display:flex;gap:8px;padding:10px;background:#ecece7;overflow-x:auto}.dialog-thumbs button{width:68px;height:82px;padding:0;border:1px solid #aaa;background:#ddd;flex:0 0 auto}.dialog-thumbs button.active{outline:3px solid #111;outline-offset:-3px}.dialog-thumbs img{width:100%;height:100%;object-fit:cover}.whatsapp-hint{font-size:10px!important;color:#777!important;margin:10px 0 0!important;text-align:center}


/* ===== V3.3 PRODUCT DETAIL REFINEMENT ===== */
#productDialog{
  width:min(1380px,96vw);
  max-height:92vh;
  overflow:hidden;
  border-radius:2px;
}
#productDialog .dialog-grid{
  grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr);
  min-height:720px;
  max-height:92vh;
}
#productDialog .dialog-gallery{
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  min-height:0;
  background:#deded8;
}
#productDialog .dialog-media{
  min-height:0;
  height:100%;
  background:#deded8;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
#productDialog .dialog-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#deded8;
}
#productDialog .dialog-thumbs{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:108px;
  padding:12px 14px 14px;
  border-top:1px solid #c8c8c1;
  background:#f0efe9;
  overflow-x:auto;
  scrollbar-width:thin;
}
#productDialog .dialog-thumbs button{
  width:72px;
  height:88px;
  flex:0 0 72px;
  border:1px solid #b8b8b2;
  background:#ddd;
  padding:0;
  overflow:hidden;
  opacity:.78;
  transition:opacity .18s ease, border-color .18s ease, transform .18s ease;
}
#productDialog .dialog-thumbs button:hover{
  opacity:1;
  transform:translateY(-1px);
}
#productDialog .dialog-thumbs button.active{
  opacity:1;
  outline:none;
  border:2px solid #111;
}
#productDialog .dialog-thumbs img{
  width:100%;
  height:100%;
  object-fit:cover;
}
#productDialog .dialog-info{
  min-height:0;
  overflow-y:auto;
  padding:72px 52px 44px;
  background:#f2f1eb;
  border-left:1px solid #d3d2cc;
}
#productDialog .dialog-info h2{
  font-size:clamp(50px,5.2vw,86px);
  line-height:.86;
  margin-bottom:12px;
}
#productDialog .dialog-info .price{
  margin:18px 0 26px;
  font-size:22px;
}
#productDialog .dialog-info>p:not(.eyebrow):not(.whatsapp-hint){
  margin:0 0 34px;
  max-width:560px;
  font-size:14px;
  line-height:1.75;
  color:#62625e;
}
#productDialog .dialog-info label{
  display:block;
  margin-top:4px;
  font-size:10px;
  letter-spacing:.15em;
}
#productDialog .options{
  margin:10px 0 26px;
  gap:8px;
}
#productDialog .options button{
  min-width:46px;
  height:42px;
  padding:0 14px;
  border:1px solid #aaa;
  background:transparent;
  font-size:10px;
  font-weight:700;
}
#productDialog .options button.active{
  background:#111;
  color:#fff;
  border-color:#111;
}
#productDialog #whatsappBtn{
  margin-top:12px;
  min-height:58px;
  font-size:12px;
  letter-spacing:.12em;
}
#productDialog .whatsapp-hint{
  margin-top:12px!important;
  line-height:1.45;
}
#productDialog .close{
  position:fixed;
  right:max(3vw,22px);
  top:max(4vh,22px);
  z-index:15;
  box-shadow:0 3px 12px rgba(0,0,0,.18);
}

@media(max-width:980px){
  #productDialog{
    width:min(760px,96vw);
    max-height:94vh;
    overflow:auto;
  }
  #productDialog .dialog-grid{
    grid-template-columns:1fr;
    max-height:none;
  }
  #productDialog .dialog-gallery{
    min-height:auto;
  }
  #productDialog .dialog-media{
    height:min(68vh,680px);
  }
  #productDialog .dialog-info{
    overflow:visible;
    border-left:0;
    border-top:1px solid #d3d2cc;
    padding:48px 28px 34px;
  }
  #productDialog .close{
    position:fixed;
    right:18px;
    top:18px;
  }
}
@media(max-width:560px){
  #productDialog{
    width:100vw;
    max-width:100vw;
    max-height:100vh;
    margin:0;
  }
  #productDialog .dialog-media{
    height:58vh;
  }
  #productDialog .dialog-thumbs{
    min-height:94px;
    padding:10px 12px;
  }
  #productDialog .dialog-thumbs button{
    width:62px;
    height:76px;
    flex-basis:62px;
  }
  #productDialog .dialog-info{
    padding:40px 20px 28px;
  }
  #productDialog .dialog-info h2{
    font-size:50px;
  }
}


/* ===== V3.4 FIX: MODAL SCROLL + FULL IMAGE + VISIBLE THUMBNAILS ===== */

/* The dialog itself scrolls. Nothing important is trapped below the viewport. */
#productDialog{
  width:min(1320px,96vw) !important;
  max-height:92vh !important;
  height:auto !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding:0 !important;
  background:#f2f1eb !important;
}

/* Let content determine height instead of forcing a 720px panel. */
#productDialog .dialog-grid{
  display:grid !important;
  grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr) !important;
  min-height:0 !important;
  height:auto !important;
  max-height:none !important;
  align-items:start !important;
}

/* Gallery flows naturally: image first, thumbnails immediately below. */
#productDialog .dialog-gallery{
  display:block !important;
  min-height:0 !important;
  height:auto !important;
  background:#deded8 !important;
  overflow:visible !important;
}

/* Never crop the main product image. */
#productDialog .dialog-media{
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
  background:#deded8 !important;
  padding:18px !important;
}

#productDialog .dialog-media img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:68vh !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#deded8 !important;
}

/* Thumbnails are always directly visible under the main image. */
#productDialog .dialog-thumbs{
  display:flex !important;
  gap:10px !important;
  min-height:0 !important;
  padding:12px 14px 16px !important;
  border-top:1px solid #c8c8c1 !important;
  background:#f2f1eb !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}

#productDialog .dialog-thumbs:empty{
  display:none !important;
}

#productDialog .dialog-thumbs button{
  width:72px !important;
  height:88px !important;
  flex:0 0 72px !important;
  padding:0 !important;
  border:1px solid #aaa !important;
  background:#ddd !important;
  opacity:.72 !important;
}

#productDialog .dialog-thumbs button.active{
  opacity:1 !important;
  outline:none !important;
  border:3px solid #111 !important;
}

#productDialog .dialog-thumbs img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}

/* Product information can be fully reached by scrolling the same modal. */
#productDialog .dialog-info{
  min-height:0 !important;
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
  padding:66px 48px 48px !important;
  background:#f2f1eb !important;
  border-left:1px solid #d3d2cc !important;
}

/* Keep the close button attached to the dialog while scrolling. */
#productDialog .close{
  position:sticky !important;
  float:right !important;
  top:12px !important;
  right:12px !important;
  margin:12px 12px -54px 0 !important;
  z-index:30 !important;
  width:46px !important;
  height:46px !important;
}

/* Preserve the requested wording. */
#productDialog #whatsappBtn{
  min-height:58px !important;
}

/* Tablet/mobile: one continuous vertical flow. */
@media(max-width:980px){
  #productDialog{
    width:min(760px,96vw) !important;
    max-height:94vh !important;
  }

  #productDialog .dialog-grid{
    grid-template-columns:1fr !important;
  }

  #productDialog .dialog-media{
    padding:12px !important;
  }

  #productDialog .dialog-media img{
    max-height:62vh !important;
  }

  #productDialog .dialog-info{
    padding:42px 28px 34px !important;
    border-left:0 !important;
    border-top:1px solid #d3d2cc !important;
  }
}

@media(max-width:560px){
  #productDialog{
    width:96vw !important;
    max-height:94vh !important;
  }

  #productDialog .dialog-media img{
    max-height:56vh !important;
  }

  #productDialog .dialog-thumbs{
    padding:9px 10px 12px !important;
  }

  #productDialog .dialog-thumbs button{
    width:60px !important;
    height:74px !important;
    flex-basis:60px !important;
  }

  #productDialog .dialog-info{
    padding:36px 20px 28px !important;
  }
}


/* ===== V3.5 DYNAMIC BRANDING ===== */
.brand img,
.about>img,
footer>img{
  object-fit:contain;
}


/* ===== V3.7 NEW + SALE ===== */
.badge-stack{
  position:absolute;
  z-index:3;
  top:10px;
  left:10px;
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.badge-stack .badge{
  position:static;
}
.sale-badge{
  background:#111!important;
  color:#fff!important;
}
.product-price-group{
  display:flex;
  align-items:baseline;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap;
}
.old-price{
  color:#888;
  font-size:10px;
  text-decoration:line-through;
  white-space:nowrap;
}
.dialog-price-wrap{
  display:flex;
  align-items:baseline;
  gap:12px;
  margin:18px 0 26px;
}
.dialog-price-wrap .price{
  margin:0!important;
}
.original-price{
  color:#777;
  text-decoration:line-through;
  font-size:15px;
  font-weight:700;
}

/* ===== V3.8 NAVIGATION BY GENDER / CATEGORY ===== */
.site-header .main-nav{display:flex;align-items:center;gap:34px}
.main-nav>a,.nav-parent{color:#fff;background:transparent;border:0;padding:0;font:800 12px Inter;letter-spacing:.12em}
.main-nav>a:hover,.nav-parent:hover{color:var(--lime)}
.nav-dropdown{position:relative;display:flex;align-items:center;height:82px}
.nav-submenu{position:absolute;top:66px;left:50%;transform:translateX(-50%) translateY(8px);min-width:170px;padding:8px;background:#0b0b0b;border:1px solid #303030;opacity:0;visibility:hidden;pointer-events:none;transition:.18s ease;box-shadow:0 14px 30px rgba(0,0,0,.28)}
.nav-submenu a{display:block;padding:12px 13px;color:#fff;font:800 10px Inter;letter-spacing:.12em;white-space:nowrap;border-bottom:1px solid #252525}
.nav-submenu a:last-child{border-bottom:0}
.nav-submenu a:hover{color:#111;background:var(--lime)}
.nav-dropdown:hover .nav-submenu,.nav-dropdown:focus-within .nav-submenu{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}
.mobile-menu .mobile-group{border-bottom:1px solid #292929}
.mobile-menu .mobile-group>button{width:100%;padding:14px 0 10px;text-align:left;background:transparent;color:#fff;border:0;font:800 24px "Barlow Condensed"}
.mobile-menu .mobile-sub{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:0 0 14px}
.mobile-menu .mobile-sub a{padding:9px 7px;border:1px solid #333;text-align:center;font:800 9px Inter;letter-spacing:.08em}
.mobile-menu .mobile-sub a:hover{background:var(--lime);color:#111}
@media(max-width:900px){.site-header .main-nav{display:none}}


/* ===== V3.9 FAMILIA BUILT, NOT BORN ===== */
.family-section{
  max-width:1560px;
  margin:auto;
  padding:110px clamp(18px,4vw,60px) 125px;
  background:var(--off);
}
.family-head{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);
  gap:60px;
  align-items:end;
  padding-bottom:34px;
  margin-bottom:34px;
  border-bottom:1px solid var(--line);
}
.family-head h2{
  margin:0;
  font:900 clamp(66px,8.5vw,132px)/.76 "Barlow Condensed";
  letter-spacing:-.05em;
}
.family-intro{
  max-width:520px;
  margin:0;
  color:#696963;
  font-size:14px;
  line-height:1.75;
}
.family-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:38px 14px;
}
.family-card{
  min-width:0;
  cursor:pointer;
}
.family-card-media{
  position:relative;
  overflow:hidden;
  aspect-ratio:4/5;
  background:#d8d8d2;
}
.family-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease,filter .45s ease;
}
.family-card:hover .family-card-media img{
  transform:scale(1.025);
  filter:brightness(.78);
}
.family-card-number{
  position:absolute;
  left:12px;
  top:12px;
  min-width:34px;
  min-height:28px;
  display:grid;
  place-items:center;
  background:var(--lime);
  color:#111;
  font:900 10px Inter;
}
.family-card-open{
  position:absolute;
  left:14px;
  bottom:14px;
  color:#fff;
  font:800 10px Inter;
  letter-spacing:.12em;
  opacity:0;
  transform:translateY(8px);
  transition:.2s ease;
}
.family-card:hover .family-card-open{
  opacity:1;
  transform:translateY(0);
}
.family-card-copy{
  display:grid;
  grid-template-columns:minmax(130px,.38fr) 1fr;
  gap:20px;
  padding:14px 2px 0;
}
.family-card-copy strong{
  display:block;
  font-size:12px;
  text-transform:uppercase;
}
.family-card-copy span{
  display:block;
  margin-top:5px;
  color:#777;
  font-size:10px;
}
.family-card-copy p{
  margin:0;
  color:#555;
  font-size:11px;
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.family-empty{
  padding:75px 20px;
  text-align:center;
  border:1px dashed #aaa;
}
.family-empty span{
  font:900 42px "Barlow Condensed";
}
.family-empty p{
  margin:8px 0 0;
  color:#777;
  font-size:12px;
}

.family-dialog{
  width:min(1180px,95vw);
  max-height:92vh;
  overflow:auto;
  padding:0;
  border:0;
  background:var(--off);
}
.family-dialog::backdrop{
  background:rgba(0,0,0,.82);
  backdrop-filter:blur(4px);
}
.family-dialog-grid{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(350px,.88fr);
  align-items:stretch;
}
.family-dialog-media{
  min-height:680px;
  background:#d8d8d2;
  display:flex;
  align-items:center;
  justify-content:center;
}
.family-dialog-media img{
  width:100%;
  height:100%;
  max-height:86vh;
  object-fit:contain;
}
.family-dialog-copy{
  padding:82px 50px 50px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.family-dialog-copy h2{
  margin:0 0 8px;
  font:900 clamp(52px,6vw,86px)/.86 "Barlow Condensed";
  text-transform:uppercase;
  letter-spacing:-.045em;
}
.family-handle{
  width:max-content;
  margin-bottom:36px;
  color:#666;
  font-size:12px;
  font-weight:700;
}
.family-handle:hover{
  color:#111;
  text-decoration:underline;
}
.family-dialog-copy blockquote{
  margin:0;
  padding:28px 0 0;
  border-top:1px solid #c8c8c1;
  color:#444;
  font:500 clamp(18px,2vw,25px)/1.55 Inter;
}
.family-dialog .close{
  position:sticky;
  float:right;
  top:12px;
  right:12px;
  z-index:20;
  margin:12px 12px -54px 0;
}

@media(max-width:900px){
  .family-head{grid-template-columns:1fr;gap:24px}
  .family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .family-dialog-grid{grid-template-columns:1fr}
  .family-dialog-media{min-height:0}
  .family-dialog-media img{max-height:70vh}
  .family-dialog-copy{padding:48px 28px 38px}
}
@media(max-width:560px){
  .family-section{padding-top:80px}
  .family-grid{grid-template-columns:1fr;gap:32px}
  .family-card-copy{grid-template-columns:1fr}
  .family-dialog{width:96vw;max-height:94vh}
  .family-dialog-media img{max-height:58vh}
  .family-dialog-copy{padding:38px 20px 30px}
}

.family-head-dark{background:#0a0a0a!important;color:#fff!important;padding:60px!important;margin-left:-60px!important;margin-right:-60px!important;border-bottom:0!important}
.family-head-dark h2{color:#fff!important}.family-head-dark .family-intro{color:#b7b7b2!important}
.about-contact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:34px;padding-top:24px;border-top:1px solid #2b2b2b}
.about-contact span{display:block;color:#777;font:800 9px Inter;letter-spacing:.15em;margin-bottom:9px}
.about-contact a{color:#fff;font-weight:800}.about-contact a:hover{color:var(--lime)}
@media(max-width:560px){.family-head-dark{margin-left:-18px!important;margin-right:-18px!important;padding:42px 18px!important}.about-contact{grid-template-columns:1fr}}


/* ===== V4.1 FAMILIA SLIDER / FULL IMAGE ===== */
.family-dialog{
  position:relative;
  width:min(1240px,96vw)!important;
  max-height:94vh!important;
  overflow:auto!important;
}

.family-dialog-grid{
  min-height:0!important;
  align-items:stretch!important;
}

.family-dialog-media{
  position:relative!important;
  min-height:0!important;
  height:auto!important;
  background:#d8d8d2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:18px!important;
  overflow:hidden!important;
}

.family-dialog-media img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:84vh!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#d8d8d2!important;
}

.family-dialog-counter{
  position:absolute;
  left:18px;
  bottom:18px;
  padding:7px 10px;
  background:rgba(0,0,0,.78);
  color:#fff;
  font:800 9px Inter;
  letter-spacing:.1em;
}

.family-arrow{
  position:fixed;
  top:50%;
  transform:translateY(-50%);
  z-index:40;
  width:52px;
  height:70px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(8,8,8,.88);
  color:#fff;
  font:400 42px/1 Inter;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:.18s ease;
}
.family-arrow:hover{
  background:var(--lime);
  color:#111;
  border-color:var(--lime);
}
.family-arrow-prev{left:max(2vw,18px)}
.family-arrow-next{right:max(2vw,18px)}

.family-dialog .close{
  position:sticky!important;
  top:12px!important;
  float:right!important;
  z-index:50!important;
}

@media(max-width:900px){
  .family-dialog{
    width:96vw!important;
    max-height:94vh!important;
  }
  .family-dialog-media{
    padding:12px!important;
  }
  .family-dialog-media img{
    max-height:65vh!important;
  }
  .family-arrow{
    width:44px;
    height:60px;
    font-size:34px;
  }
  .family-arrow-prev{left:8px}
  .family-arrow-next{right:8px}
}

@media(max-width:560px){
  .family-dialog-media img{
    max-height:58vh!important;
  }
  .family-dialog-counter{
    left:12px;
    bottom:12px;
  }
}

/* ===== V4.2 FAMILY TITLE READABILITY ===== */
.family-head h2{
  font-weight:900!important;
  letter-spacing:-.025em!important;
  word-spacing:.03em!important;
}

/* ===== V5.0 PRE-LAUNCH ===== */
.legacy-categories{display:none!important}
.home-quick{display:grid;grid-template-columns:repeat(4,1fr);background:#111}
.home-quick a{min-height:155px;padding:22px;color:#fff;border-right:1px solid #303030;display:grid;grid-template-columns:auto 1fr auto;align-items:end}
.home-quick a:hover{background:#1b1b1b}
.home-quick span{align-self:start;color:#777;font-size:9px}
.home-quick strong{font:900 clamp(28px,3.5vw,58px) "Barlow Condensed"}
.home-quick b{color:var(--lime);font-size:24px}.sale-quick strong{color:var(--lime)}

.availability-pill{display:inline-flex;padding:7px 10px;margin:0 0 18px;border:1px solid #aaa;font:800 9px Inter;letter-spacing:.1em}
.availability-pill.low{background:#f1e9c8;border-color:#c5aa54}
.availability-pill.soldout{background:#111;color:#fff;border-color:#111}
.size-heading{display:flex;justify-content:space-between;align-items:center}
.text-link{background:transparent;border:0;padding:0;color:inherit;font:800 10px Inter;letter-spacing:.09em;text-decoration:underline;cursor:pointer}
.shipping-note{padding:13px 0 16px;color:#666;font-size:11px;line-height:1.5;border-top:1px solid #ccc}
.share-btn{margin-top:8px;background:transparent;color:#111;border-color:#999}

.related-block{margin-top:34px;padding-top:25px;border-top:1px solid #ccc}
.related-products{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.related-card{border:0;background:transparent;text-align:left;padding:0}
.related-card>div{aspect-ratio:4/5;background:#ddd;overflow:hidden}
.related-card img{width:100%;height:100%;object-fit:cover}
.related-card span{display:block;margin-top:7px;font-size:9px;font-weight:800;text-transform:uppercase}
.related-card b{font-size:10px}

.family-preview-section{max-width:1560px;margin:auto;padding:90px clamp(18px,4vw,60px)}
.family-preview-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}
.family-preview-head h2{margin:0;font:900 clamp(52px,7vw,95px)/.8 "Barlow Condensed"}
.family-preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.family-preview-card{border:0;padding:0;aspect-ratio:4/5;overflow:hidden;background:#ddd}
.family-preview-card img{width:100%;height:100%;object-fit:cover;transition:.3s}
.family-preview-card:hover img{transform:scale(1.02)}

.info-dialog{width:min(760px,94vw);max-height:90vh;border:0;padding:0;background:var(--off)}
.info-dialog-inner{padding:60px 34px 38px}
.info-dialog-inner h2{font:900 clamp(46px,7vw,78px)/.9 "Barlow Condensed";margin:0 0 28px}
.size-table-wrap{overflow-x:auto}
.size-table{width:100%;border-collapse:collapse}
.size-table th,.size-table td{padding:13px 10px;border-bottom:1px solid #bbb;text-align:left;font-size:11px}
.size-table th{font-size:9px;letter-spacing:.1em}
.policy-text{white-space:pre-wrap;color:#555;line-height:1.75;font-size:13px}
.footer-info-links{display:flex;gap:18px;flex-wrap:wrap}
.footer-info-links button{background:none;border:0;padding:0;color:#aaa;font:700 9px Inter;letter-spacing:.08em}
.footer-info-links button:hover{color:var(--lime)}

@media(max-width:900px){
 .home-quick{grid-template-columns:repeat(2,1fr)}
 .family-preview-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:560px){
 .home-quick{grid-template-columns:1fr 1fr}
 .home-quick a{min-height:110px}
 .family-preview-grid{grid-template-columns:1fr 1fr 1fr;gap:5px}
 .related-products{grid-template-columns:repeat(2,1fr)}
}

/* ===== V5.5 SECONDARY PAGES ===== */
.secondary-nav a{white-space:nowrap}
.faq-page,.brand-page{background:var(--off)}
.faq-layout{min-height:calc(100vh - 82px);display:grid;grid-template-columns:minmax(270px,26vw) 1fr}
.faq-sidebar{position:sticky;top:82px;align-self:start;min-height:calc(100vh - 82px);padding:72px 42px;border-right:1px solid #bbb;background:#ebeae4}
.faq-kicker{color:#686863;font:800 10px Inter;letter-spacing:.16em}
.faq-sidebar h1{margin:8px 0 0;font:900 clamp(74px,9vw,142px)/.72 "Barlow Condensed"}
.faq-sidebar>p:not(.faq-kicker){max-width:260px;color:#666;font-size:12px;line-height:1.65;margin-top:28px}
.faq-side-links{display:grid;gap:12px;margin-top:45px}.faq-side-links a{width:max-content;font:800 10px Inter;border-bottom:1px solid #111}
.faq-content{max-width:1120px;width:100%;padding:72px clamp(28px,5vw,90px) 110px}
.faq-top{padding-bottom:36px;border-bottom:1px solid #bbb}.faq-top h2{margin:8px 0 0;font:900 clamp(58px,7vw,102px)/.82 "Barlow Condensed"}
.faq-list details{border-bottom:1px solid #aaa}.faq-list summary{position:relative;padding:25px 52px 25px 0;cursor:pointer;list-style:none;font:800 13px Inter}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary::after{content:"+";position:absolute;right:5px;top:50%;transform:translateY(-50%);font-size:28px}.faq-list details[open] summary::after{content:"–"}
.faq-answer{max-width:760px;padding:0 52px 26px 0}.faq-answer p{margin:0;color:#666;font-size:13px;line-height:1.75}
.faq-contact-box{margin-top:60px;padding:38px;background:#111;color:#fff}.faq-contact-box h3{margin:6px 0 12px;font:900 64px/.85 "Barlow Condensed"}.faq-contact-box>p:not(.eyebrow){max-width:610px;color:#bbb;font-size:12px;line-height:1.65}.faq-contact-box .btn{margin-top:14px;background:var(--lime);color:#111}

.brand-hero{min-height:68vh;padding:150px clamp(24px,6vw,100px) 70px;background:#090909;color:#fff;display:grid;grid-template-columns:1.2fr .8fr;align-items:end;gap:60px}
.brand-hero h1{margin:0;font:900 clamp(100px,15vw,220px)/.7 "Barlow Condensed";letter-spacing:-.05em}.brand-hero>p{max-width:440px;color:#bbb;font-size:18px;line-height:1.6}
.brand-story{padding:95px clamp(24px,7vw,120px);display:grid;grid-template-columns:130px 1fr;gap:40px;align-items:start}.brand-number{font:900 20px Inter;color:#777}.brand-story h2,.brand-values h2,.brand-cta h2{margin:0;font:900 clamp(58px,8vw,116px)/.8 "Barlow Condensed";letter-spacing:-.04em}.brand-story>div:last-child>p:last-child{max-width:850px;color:#555;line-height:1.8;font-size:15px;margin-top:30px}
.dark-story{background:#0b0b0b;color:#fff}.dark-story>div:last-child>p:last-child{color:#aaa}
.brand-values{padding:95px clamp(24px,7vw,120px)}.brand-values-grid{display:grid;grid-template-columns:repeat(3,1fr);margin-top:38px;border-top:1px solid #bbb}.brand-values-grid>div{padding:24px 12px;border-bottom:1px solid #bbb;display:flex;gap:18px;align-items:baseline}.brand-values-grid span{color:#888;font-size:9px}.brand-values-grid strong{font:900 28px "Barlow Condensed"}
.brand-cta{padding:100px clamp(24px,7vw,120px);background:var(--lime);color:#111}.brand-cta .eyebrow{color:#111}.brand-cta .btn{margin-top:28px;background:#111;color:#fff}

@media(max-width:900px){.faq-layout{grid-template-columns:1fr}.faq-sidebar{position:static;min-height:0;border-right:0;border-bottom:1px solid #bbb}.brand-hero{grid-template-columns:1fr}.brand-story{grid-template-columns:1fr}.brand-values-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.faq-content{padding:50px 22px 80px}.faq-sidebar{padding:48px 22px}.brand-hero{padding:130px 22px 55px}.brand-hero h1{font-size:92px}.brand-story,.brand-values,.brand-cta{padding:70px 22px}.brand-values-grid{grid-template-columns:1fr}}

/* V5.6 — stock visible en la ficha del producto */
.dialog-stock{margin:14px 0 22px;font:800 11px/1.2 Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.dialog-stock::before{content:"";display:inline-block;width:7px;height:7px;margin-right:8px;border-radius:50%;background:var(--lime);vertical-align:1px}
.dialog-stock.low-stock{font-weight:900}
.dialog-stock.out-of-stock{color:#777}
.dialog-stock.out-of-stock::before{background:#777}

/* ===== V5.7 PRODUCT COLOR SWATCHES ===== */
#dialogColors.swatch-options{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:flex-start;
}
#dialogColors.swatch-options .color-swatch{
  width:46px;
  min-width:46px;
  padding:0;
  border:0;
  background:transparent;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
}
#dialogColors.swatch-options .color-swatch>span{
  width:34px;
  height:34px;
  display:block;
  border-radius:50%;
  border:2px solid #f7f6f0;
  outline:1px solid #8e8e88;
  box-shadow:0 1px 3px rgba(0,0,0,.16), inset 0 0 0 1px rgba(255,255,255,.32);
}
#dialogColors.swatch-options .color-swatch small{display:none;}
#dialogColors.swatch-options .color-swatch.active>span{
  border-color:#fff;
  outline:2px solid #111;
  box-shadow:0 1px 4px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.3);
}
#dialogColors.swatch-options .color-swatch.active small{color:#111;font-weight:900}

/* ===== V5.8 COLOR-AWARE PRODUCT IMAGE ===== */
#dialogColors.swatch-options .color-swatch[data-image]:not([data-image=""]) small::after{content:"";}

/* ===== V5.9 NAV + CONOCE BNB REFINEMENT ===== */
.brand-mindset{
  padding:95px clamp(24px,7vw,120px);
  display:grid;
  grid-template-columns:130px 1fr;
  gap:40px;
  align-items:start;
  background:#0b0b0b;
  color:#fff;
}
.brand-mindset h2{
  margin:0;
  font:900 clamp(58px,8vw,116px)/.8 "Barlow Condensed";
  letter-spacing:-.04em;
}
.brand-mindset>div:last-child>p:last-child{
  max-width:900px;
  margin-top:30px;
  color:#b7b7b2;
  font-size:15px;
  line-height:1.8;
}
@media(max-width:900px){
  .brand-mindset{grid-template-columns:1fr}
}
@media(max-width:560px){
  .brand-mindset{padding:70px 22px}
}

/* ===== V5.11 CONOCE BNB IMAGE ===== */
.brand-photo-section{
  padding:95px clamp(24px,7vw,120px);
  display:grid;
  grid-template-columns:130px 1fr;
  gap:40px;
  align-items:start;
  background:var(--off);
}
.brand-photo-frame{
  width:min(100%,1100px);
  aspect-ratio:16/9;
  background:#d9d9d3;
  overflow:hidden;
  border:1px solid #bdbdb7;
}
.brand-photo-frame img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.brand-photo-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  color:#777;
  font:800 11px Inter;
  letter-spacing:.12em;
}
@media(max-width:900px){
  .brand-photo-section{grid-template-columns:1fr}
}
@media(max-width:560px){
  .brand-photo-section{padding:70px 22px}
}

/* ===== V5.16 PUNTOS DE VENTA FÍSICOS ===== */
.physical-points-contact{grid-column:1/-1}
.physical-sales-points{display:grid;gap:8px;margin-top:8px}
.physical-sales-point{
  display:flex;
  gap:14px;
  align-items:baseline;
  flex-wrap:wrap;
}
.physical-sales-point strong{
  color:#fff;
  font:800 11px Inter;
  letter-spacing:.04em;
}
.physical-sales-point a{
  color:#aaa;
  font:700 10px Inter;
  text-decoration:none;
}
.physical-sales-point a:hover{color:var(--lime)}

/* ===== V5.18 CONOCE BNB — TEXTO + MEDIA LATERAL ===== */
.brand-story-with-media{
  padding:95px clamp(24px,7vw,120px);
  display:grid;
  grid-template-columns:90px minmax(0,.9fr) minmax(420px,1.1fr);
  gap:38px;
  align-items:center;
  background:var(--off);
}
.brand-story-with-media .brand-number{
  align-self:start;
  padding-top:10px;
}
.brand-story-copy h2{
  margin:0;
  font:900 clamp(58px,7vw,108px)/.82 "Barlow Condensed";
  letter-spacing:-.04em;
}
.brand-story-copy p{
  max-width:650px;
  margin:28px 0 0;
  color:#565650;
  font-size:14px;
  line-height:1.8;
}
.brand-story-media{
  min-width:0;
}
.brand-story-media .brand-photo-frame{
  width:100%;
  aspect-ratio:4/5;
  max-height:720px;
  background:#d9d9d3;
  overflow:hidden;
  border:1px solid #bdbdb7;
}
.brand-story-media .brand-photo-frame img,
.brand-story-media .brand-photo-frame video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.brand-story-media .brand-photo-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  padding:20px;
  color:#777;
  text-align:center;
  font:800 11px Inter;
  letter-spacing:.12em;
}
@media(max-width:1100px){
  .brand-story-with-media{
    grid-template-columns:70px 1fr 1fr;
    gap:28px;
  }
}
@media(max-width:820px){
  .brand-story-with-media{
    grid-template-columns:1fr;
    align-items:start;
  }
  .brand-story-with-media .brand-number{padding-top:0}
  .brand-story-media .brand-photo-frame{
    aspect-ratio:16/10;
    max-height:none;
  }
}
@media(max-width:560px){
  .brand-story-with-media{padding:70px 22px}
}

/* V5.19 — OUR MINDSET sin título grande */
.brand-mindset .mindset-copy{
  max-width:1000px;
  margin-top:28px;
  color:#b7b7b2;
  font-size:15px;
  line-height:1.8;
}

/* V5.20 — OUR MINDSET ligeramente más visible */
.brand-mindset .eyebrow{
  font-size:14px;
  line-height:1.2;
  letter-spacing:.14em;
}
@media(max-width:560px){
  .brand-mindset .eyebrow{font-size:13px}
}

/* V5.23 — nombre completo de Preguntas Frecuentes */
.faq-sidebar h1{
  font-size:clamp(58px,7vw,112px);
  line-height:.76;
}
@media(max-width:560px){
  .faq-sidebar h1{font-size:64px}
}

/* V5.24 — Ajuste del encabezado PREGUNTAS FRECUENTES */
.faq-sidebar h1{
  font-size:clamp(50px,5.1vw,82px);
  line-height:.84;
  letter-spacing:-.025em;
  max-width:100%;
}
@media (max-width:900px){
  .faq-sidebar h1{
    font-size:clamp(48px,10vw,72px);
    line-height:.86;
  }
}
@media (max-width:560px){
  .faq-sidebar h1{
    font-size:clamp(44px,14vw,62px);
    line-height:.88;
  }
}

/* V5.27 — Puntos de venta navigation */
html{scroll-behavior:smooth}
#puntos-de-venta{scroll-margin-top:120px}

/* V5.28 — Puntos de venta: solo el subtítulo inferior de CONTÁCTANOS */
.physical-points-contact > span{
  color:var(--lime);
  font-size:14px;
  font-weight:800;
  letter-spacing:.10em;
  line-height:1.25;
}
@media(max-width:560px){
  .physical-points-contact > span{font-size:13px}
}

/* V5.29 — PREGUNTAS FRECUENTES: título contenido dentro de la cuadrícula */
.faq-sidebar{
  overflow:hidden;
}
.faq-sidebar h1{
  width:100%;
  max-width:100%;
  margin:8px 0 0;
  font-size:clamp(46px,4.35vw,70px);
  line-height:.88;
  letter-spacing:-.018em;
  overflow-wrap:normal;
  word-break:normal;
}
@media(max-width:1050px){
  .faq-sidebar h1{
    font-size:clamp(44px,5.8vw,64px);
  }
}
@media(max-width:700px){
  .faq-sidebar h1{
    font-size:clamp(42px,11vw,58px);
    line-height:.9;
  }
}

/* V5.30 — Puntos de venta: ubicación editable + icono de lugar */
.physical-points-contact > span{
  font-size:17px;
}
.physical-sales-point{
  align-items:center;
}
.physical-point-location{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#c8c8c2;
  font:700 10px Inter;
  letter-spacing:.025em;
}
.physical-location-pin{
  width:13px;
  height:13px;
  display:inline-grid;
  place-items:center;
  color:var(--lime);
  font-size:9px;
  line-height:1;
  border:2px solid var(--lime);
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
}
.physical-location-pin::first-letter{
  transform:rotate(45deg);
}
.admin-location-input{
  position:relative;
}
.admin-location-input input{
  padding-left:34px;
}
.admin-location-pin{
  position:absolute;
  left:11px;
  top:50%;
  transform:translateY(-50%);
  color:#7fae00;
  font-size:18px;
  pointer-events:none;
}
@media(max-width:560px){
  .physical-points-contact > span{font-size:15px}
}

/* V5.31 — Media opcional en Inicio / Conoce BNB */
.family-head{
  align-items:stretch;
}
.family-head-side{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-width:0;
}
.home-community-media{
  width:100%;
  aspect-ratio:16/9;
  margin:0 0 30px;
  overflow:hidden;
  border:1px solid #2d2d2d;
  background:#101010;
}
.home-community-media[hidden]{display:none!important}
.home-community-media img,
.home-community-media video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.family-head-side .family-intro{
  margin-top:auto;
  padding-top:18px;
}
.brand-story-media[hidden]{display:none!important}
.brand-story-media .brand-photo-frame:empty{display:none}
.brand-story-media .brand-photo-frame video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
@media(max-width:900px){
  .home-community-media{margin-top:10px}
  .family-head-side .family-intro{padding-top:0}
}

/* V5.32 — Comunidad BNB ligada a producto */
.family-card-product{
  position:absolute;
  right:12px;
  top:12px;
  padding:8px 10px;
  background:var(--lime);
  color:#111;
  font:900 8px Inter;
  letter-spacing:.09em;
}
.family-product-link{
  width:100%;
  margin-top:28px;
  padding:18px 20px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:4px 18px;
  align-items:center;
  text-align:left;
  border:1px solid #b8b8b1;
  background:transparent;
  color:#111;
  cursor:pointer;
}
.family-product-link[hidden]{display:none!important}
.family-product-link span{
  grid-column:1/-1;
  color:#777;
  font:800 8px Inter;
  letter-spacing:.1em;
}
.family-product-link strong{
  font:900 20px "Barlow Condensed";
  text-transform:uppercase;
}
.family-product-link b{
  color:#587500;
  font:900 9px Inter;
  letter-spacing:.08em;
}
.family-product-link:hover{
  background:var(--lime);
  border-color:var(--lime);
}
.family-product-link:hover b{color:#111}

/* V5.33 — Comunidad BNB: modal sin salto al inicio */
html{scrollbar-gutter:stable}
.family-dialog[open]{overscroll-behavior:contain}

/* V5.34 — Múltiples fotos por historia de Comunidad BNB */
.family-dialog-media{
  position:relative;
}
.family-image-arrow{
  position:absolute;
  top:50%;
  z-index:8;
  width:46px;
  height:58px;
  transform:translateY(-50%);
  border:0;
  background:rgba(10,10,10,.72);
  color:#fff;
  font-size:34px;
  cursor:pointer;
}
.family-image-arrow[hidden]{display:none!important}
.family-image-prev{left:12px}
.family-image-next{right:12px}
.family-image-arrow:hover{
  background:var(--lime);
  color:#111;
}
.family-image-counter{
  position:absolute;
  right:14px;
  bottom:14px;
  z-index:8;
  min-width:48px;
  padding:7px 9px;
  text-align:center;
  background:rgba(10,10,10,.72);
  color:#fff;
  font:800 9px Inter;
  letter-spacing:.08em;
}


/* ===== V5.38 TRANSICIONES DE FOTOS DE PRODUCTO ===== */
.product-card .catalog-product-image{
  opacity:1;
  transition:opacity .52s ease, transform .55s ease;
}
.product-card .catalog-product-image.is-changing{opacity:.12;transform:scale(1.012)}
#productDialog .dialog-media{position:relative}
#productDialog .dialog-product-image{
  opacity:1;
  transition:opacity .52s ease, transform .58s ease;
}
#productDialog .dialog-product-image.is-entering{opacity:.08;transform:scale(1.008)}
#productDialog .dialog-product-image.is-leaving{opacity:.08;transform:scale(.996)}
#productDialog .dialog-thumbs button{transition:opacity .28s ease,border-color .28s ease,transform .28s ease}
@media (prefers-reduced-motion:reduce){
  .product-card .catalog-product-image,#productDialog .dialog-product-image,#productDialog .dialog-thumbs button{transition:none!important}
}

/* V5.39 — flechas de navegación en la galería del producto */
#productDialog .dialog-gallery{position:relative}
#productDialog .dialog-image-arrow{position:absolute;z-index:6;top:calc(50% - 48px);transform:translateY(-50%);width:44px;height:58px;border:0;background:rgba(9,9,9,.72);color:#fff;font-size:36px;line-height:1;display:grid;place-items:center;transition:background .2s ease,transform .2s ease}
#productDialog .dialog-image-arrow:hover{background:#090909;transform:translateY(-50%) scale(1.04)}
#productDialog .dialog-image-prev{left:12px}
#productDialog .dialog-image-next{right:12px}
@media(max-width:560px){#productDialog .dialog-image-arrow{width:38px;height:50px;font-size:30px;top:calc(50% - 42px)}#productDialog .dialog-image-prev{left:7px}#productDialog .dialog-image-next{right:7px}}

/* V5.40.1 — zoom por clic dentro del mismo marco */
#productDialog .dialog-media{overflow:hidden}
#productDialog .dialog-product-image{cursor:zoom-in;will-change:transform;transition:opacity .52s ease,transform .42s ease,transform-origin .12s linear}
#productDialog .dialog-product-image.is-zoomed{transform:scale(2.15);cursor:zoom-out}
@media (hover:none),(pointer:coarse){#productDialog .dialog-product-image.is-zoomed{transform:scale(1.8)}}
@media (prefers-reduced-motion:reduce){#productDialog .dialog-product-image{transition:none!important}}


/* ===== V5.41 COLOR AGOTADO ===== */
#dialogColors.swatch-options .color-swatch.sold-out{position:relative;cursor:not-allowed;opacity:.82}
#dialogColors.swatch-options .color-swatch.sold-out>span{position:relative}
#dialogColors.swatch-options .color-swatch.sold-out>span::after{content:"";position:absolute;left:-5px;top:50%;width:calc(100% + 10px);height:2px;background:#e31b23;transform:translateY(-50%) rotate(-45deg);transform-origin:center}
#dialogColors.swatch-options .color-swatch.sold-out em{display:block;margin-top:5px;color:#e31b23;font:900 8px Inter,sans-serif;letter-spacing:.06em;font-style:normal;white-space:nowrap}
#dialogColors.swatch-options .color-swatch.sold-out:hover>span{transform:none}
