/* =========================================================
   GLOBAL.CSS — Theme System v2 
========================================================= */

/* =========================
   TOKENS
========================= */
:root{
  /* fonts */
  --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  --font-display: 'Playfair Display', serif;

  /* theme */
  --bg: #ffffff;
  --text: #111111;
  --muted: #6f6f6f;
  --primary: #111111;
  --accent: #111111;

  /* spacing + radius */
  --space: 20px;
  --card-radius: 18px;
  --container-max: 1200px;

  /* hero */
  --hero-bg: linear-gradient(135deg, #e9f4ff 0%, #f3f0ff 50%, #fff3f3 100%);
  --hero-overlay: 0;

  /* derived */
  --border-soft: color-mix(in srgb, var(--text) 10%, transparent);
  --border: color-mix(in srgb, var(--text) 14%, transparent);
  --surface: color-mix(in srgb, var(--bg) 96%, #fff);
  --shadow-soft: 0 10px 30px color-mix(in srgb, #000 10%, transparent);
  --shadow-card: 0 18px 44px color-mix(in srgb, #000 14%, transparent);
}


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

html, body{ height: 100%; max-width: 100%; }
@supports (overflow: clip){
  html, body{ overflow-x: clip; }
}
@supports not (overflow: clip){
  html, body{ overflow-x: hidden; }
}

body{
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

/* =========================
   LAYOUT
========================= */
.site-wrapper{ width: 100%; max-width: var(--container-max); margin: 0 auto; }
.app-container{
  width: 100%;
  max-width: var(--container-max);
  margin: 24px auto 60px;
  padding: 0 16px;
}

/* =========================
   TOP BAR (prolijo + finito)
========================= */
.top-bar{
  position: sticky;
  top: 0;
  z-index: 1200;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);

  /* rayita más “premium” */
  border-bottom: 1px solid color-mix(in srgb, var(--text) 14%, transparent);
}

/* 3 columnas: izq / centro / der */
.top-bar-inner{
  max-width: var(--container-max);
  margin: 0 auto;

  padding: 8px 14px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* NAV siempre centrado */
.top-bar-nav{
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px; 
}

/* Links más “limpios” */
.top-bar-nav a{
  font-size: 10px;    
  letter-spacing: .12em; 
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  opacity: .78;
  transition: opacity .2s ease;
  white-space: nowrap;  
}
.top-bar-nav a:hover{ opacity: 1; }

/* Carrito anclado a la derecha */
.cart-btn{
  grid-column: 3;
  justify-self: end;

  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;            
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  font: inherit;
  line-height: 1;
}
.cart-btn:hover{ opacity: .85; }

.cart-badge{
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 18px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
}

/* MOBILE */
@media (max-width: 768px){
  .top-bar-inner{
    padding: 7px 10px;          
  }

  .top-bar-nav{
    gap: 12px;
  }

  .top-bar-nav a{
    font-size: 9px;
    letter-spacing: .10em;
    opacity: .82;
  }
}

/* =========================
   HERO / STORE HEADER 
========================= */
.store-header{
  width: 100%;
  margin: 0 0 28px;
  padding: 56px 18px;
  text-align: center;
  border: 0;
  border-radius: 0;
  background: var(--hero-bg);
}

/* Banner full width (hero_image) */
.store-header--banner{
  padding: 18px 18px 0;
  margin: 0 0 22px;
  background: transparent;
}
.hero-banner{
  width: 100%;
}
.hero-banner-img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 26px;
  display: block;
}
@media (max-width: 768px){
  .store-header--banner{ padding: 14px 14px 0; }
  .hero-banner-img{ height: 140px; border-radius: 20px; }
}
.store-title{
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  margin: 6px 0 10px;
  letter-spacing: -0.2px;
}
.store-subtitle{
  font-size: 12px;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 55%, transparent);
}

@media (max-width: 768px){
  .store-header{ padding: 40px 16px; margin-bottom: 20px; }
  .store-title{ font-size: 28px; }
}

/* =========================
   SEARCH
========================= */
.street-search-container{
  max-width: 520px;
  margin: 18px auto 28px;
  padding: 0 16px;
  display: grid;
  gap: 12px;
}
.street-search input{
  width: 100%;
  height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  outline: none;
  box-shadow: 0 10px 28px color-mix(in srgb, #000 8%, transparent);
  transition: border-color .2s ease, box-shadow .2s ease;
  font-size: 14px;
}
.street-search input::placeholder{
  color: var(--muted);
}
.street-search input:focus{
  border-color: var(--text);
  box-shadow: 0 14px 34px color-mix(in srgb, #000 10%, transparent);
}
.search-suggestions{ display: none; } /* kept off for now */
.filter-chips{ display: none; }       /* kept off for now */

/* =========================
   CATALOG TITLE + GENDER FILTER
========================= */
.catalog-title--centered{
  text-align: center;
  margin: 28px 0 14px;
  font-size: 20px;
  font-weight: 700;
}
.gender-filter{
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0 auto 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}
.gender-btn{
  background: transparent;
  border: none;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 45%, transparent);
  cursor: pointer;
  position: relative;
  transition: color .2s ease, opacity .2s ease;
}
.gender-btn:hover{ color: var(--text); }
.gender-btn.active{
  color: var(--text);
}
.gender-btn.active::after{
  content:"";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 2px;
  background: var(--text);
}

/* =========================
   CARDS GRID (big desktop / 2 cols mobile)
========================= */
.cards-grid{
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 16px 140px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 36px;
  row-gap: 72px;
}
@media (max-width: 1200px){
  .cards-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 64px; }
}
@media (max-width: 900px){
  .cards-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
}
@media (max-width: 520px){
  .cards-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
    padding: 0 12px 120px;
  }
}

.card, .urban-card{
  background: transparent;
  border: 0;
  padding: 0;
  text-align: center;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-img-wrapper{ aspect-ratio: 4 / 5; }
.card-img-wrapper img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--card-radius);
  display: block;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
}
.card-title{
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  margin-top: 16px;
  letter-spacing: .02em;
}
.card-price{
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  color: var(--accent);
}
.cards-grid .card-sizes{ display: none; }
/* =========================
   POLISH: CARD HOVER + IMAGE ZOOM (theme-aware)
   (No HTML/class changes)
========================= */
.card, .urban-card{
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
  will-change: transform;
}
.card-img-wrapper img{
  transition: transform .28s ease;
  will-change: transform;
}
/* Lift + soft shadow */
.card:hover, .urban-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
}
/* Subtle image zoom */
.card:hover .card-img-wrapper img,
.urban-card:hover .card-img-wrapper img{
  transform: scale(1.04);
}
/* Keyboard accessibility */
.card:focus-within,
.urban-card:focus-within{
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--card-radius);
}
@media (prefers-reduced-motion: reduce){
  .card, .urban-card,
  .card-img-wrapper img{
    transition: none !important;
  }
  .card:hover, .urban-card:hover{ transform: none !important; }
  .card:hover .card-img-wrapper img,
  .urban-card:hover .card-img-wrapper img{ transform: none !important; }
}

/* =========================
   PAGINATION
========================= */
.pagination{
  margin: 40px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
#pageInfo{
  color: color-mix(in srgb, var(--text) 60%, transparent);
  font-size: 13px;
  letter-spacing: .08em;
}

/* =========================
   FOOTER
========================= */
.footer{
  margin-top: 120px;
  padding: 64px 20px 72px;
  background: var(--surface);
  text-align: center;
  color: color-mix(in srgb, var(--text) 55%, transparent);
  border-top: 1px solid var(--border-soft);
}
.footer-inner{ max-width: var(--container-max); margin: 0 auto; }
.footer-brand strong{
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .04em;
  color: var(--text);
}
.footer-brand span{
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 45%, transparent);
}
.footer-copy{
  font-size: 12px;
  color: color-mix(in srgb, var(--text) 40%, transparent);
}
@media (max-width: 520px){
  .footer{ padding: 56px 16px 64px; }
}

/* =========================================================
   MINI CART — drawer
========================================================= */
.mini-cart-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 9998;
}
.mini-cart-overlay.open{
  opacity: 1;
  pointer-events: auto;
}

.mini-cart{
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 92vw;
  height: 100vh;
  background: #fff;
  box-shadow: -20px 0 40px rgba(0,0,0,.08);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .28s ease;
  overflow: hidden;
}
.mini-cart.open{ transform: translateX(0); }

.mini-cart-header{
  padding: 22px 24px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}
.mini-cart-header h3{
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.mini-cart-close{
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 18px;
  opacity: .6;
}
.mini-cart-close:hover{ opacity: 1; }

.mini-cart-items{
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
}
.mini-cart-items:empty::after{
  content: "Tu carrito está vacío";
  display: block;
  text-align: center;
  margin-top: 40px;
  color: rgba(0,0,0,.45);
  font-size: 13px;
}

.mini-cart-item{
  display: grid;
  grid-template-columns: 64px 1fr 24px;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.mini-cart-item img{
  width: 64px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.mini-cart-title{ font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.mini-cart-meta{
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(17,17,17,.65);
  margin-bottom: 8px;
}
.mini-cart-price{ margin-top: 8px; font-weight: 800; font-size: 12px; color: var(--accent); }

.mini-cart-remove{
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  opacity: .7;
}
.mini-cart-remove:hover{ opacity: 1; }

.mini-cart-footer{
  padding: 14px 16px;
  border-top: 1px solid rgba(0,0,0,.08);
  background: #fff;
}
.mini-cart-total{
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mini-cart-checkout{
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 16px 22px;
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s ease, transform .1s ease;
}
.mini-cart-checkout:hover{ opacity: .85; }
.mini-cart-checkout:active{ transform: scale(.98); }

@media (max-width: 900px){
  .mini-cart{
    width: 92vw;
    max-width: 420px;
    top: 10px;
    bottom: 10px;
    height: auto;
    border-radius: 18px;
  }
  .mini-cart-header{ border-top-left-radius: 18px; border-top-right-radius: 18px; }
  .mini-cart-footer{ border-bottom-left-radius: 18px; border-bottom-right-radius: 18px; }
}

/* =========================================================
   PRODUCT DETAIL — Urban
========================================================= */
.product-page--urban{
  padding: 48px 24px 120px;
}
.product-layout-urban{
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: flex-start;
}

.product-gallery-urban{
  display: flex;
  gap: 16px;
}

.product-thumbs-urban{
  width: 88px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-thumbs-urban img{
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity .2s ease, outline .2s ease;
  background: var(--surface);
}
.product-thumbs-urban img:hover{ opacity: 1; }
.product-thumbs-urban img.active{
  opacity: 1;
  outline: 2px solid color-mix(in srgb, var(--text) 75%, transparent);
  outline-offset: 2px;
}

.product-main-image-urban{ flex: 1; position: relative; }

/* zoom + nav */
.zoom-wrap{
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.zoom-wrap #mainImage{
  width: 100%;
  height: auto;
  display: block;
  transition: transform .18s ease;
  transform-origin: center center;
  will-change: transform, transform-origin;
}

/* desktop hover zoom */
@media (hover:hover) and (pointer:fine){
  .zoom-wrap{ cursor: zoom-in; }
  .zoom-wrap.is-zooming #mainImage{ transform: scale(1.65); }
}
/* mobile tap zoom */
@media (pointer: coarse){
  .zoom-wrap.zoomed #mainImage{ transform: scale(1.55); }
}

/* nav buttons */
.gallery-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: #111;
  user-select: none;
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.gallery-nav.prev{ left: 10px; }
.gallery-nav.next{ right: 10px; }

@media (pointer: coarse){
  .gallery-nav{ display: inline-flex; }
  .zoom-wrap.nav-on .gallery-nav{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
  }
}

.product-info-urban{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.product-title-urban{
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
}
.product-price-urban{ font-size: 20px; font-weight: 600; color: var(--accent); }
.product-description-urban{
  font-size: 14px;
  line-height: 1.75;
  color: color-mix(in srgb, var(--text) 72%, transparent);
}

.product-attribute-urban > span{
  display: block;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 55%, transparent);
}

.colors-grid-urban,
.sizes-grid-urban{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.color-pill-urban{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.size-pill-urban{
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s ease, border-color .2s ease, background .2s ease;
  color: var(--text);
}
.size-pill-urban:hover{
  border-color: color-mix(in srgb, var(--text) 35%, transparent);
  transform: translateY(-1px);
}
.size-pill-urban.is-selected{
  border-color: color-mix(in srgb, var(--text) 65%, transparent);
  background: color-mix(in srgb, var(--text) 6%, transparent);
}

.size-guide-link{
  margin-top: 10px;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 12px;
  letter-spacing: .06em;
  text-decoration: underline;
  cursor: pointer;
  color: color-mix(in srgb, var(--text) 70%, transparent);
}
.size-guide-link:hover{ color: var(--text); }

/* CTA */
.product-add-cart-urban{
  width: 100%;
  margin-top: 28px;
  padding: 18px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s ease, transform .1s ease;
}
.product-add-cart-urban:hover{ opacity: .88; transform: translateY(-1px); }
.product-add-cart-urban:active{ transform: scale(.98); }

/* Sticky CTA mobile */
.mobile-cta-bar{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 70%, #fff);
  border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 -18px 40px rgba(0,0,0,.12);
  z-index: 9997;
  display: none;
}
.mobile-cart-btn{
  width: 100%;
  height: 56px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: #0b0b0f;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.mobile-cart-btn:active{ transform: scale(.99); }

/* related */
.related-products-urban{
  max-width: var(--container-max);
  margin: 64px auto 0;
  padding: 0 24px;
}
.related-title-urban{
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
  color: color-mix(in srgb, var(--text) 80%, transparent);
}
.related-grid-urban{
  display: flex;
  gap: 14px;
  padding: 0 16px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.related-grid-urban::-webkit-scrollbar{ display: none; }

.related-card-urban{
  flex: 0 0 78%;
  max-width: 360px;
  scroll-snap-align: start;
  cursor: pointer;
}
.related-card-urban img{
  width: 100%;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  display: block;
}
.related-info-urban{
  margin-top: 8px;
  display: grid;
  gap: 4px;
}
.related-name-urban{ font-size: 13px; color: var(--text); }
.related-price-urban{ font-size: 12px; color: var(--accent); }

@media (min-width: 1024px){
  .related-grid-urban{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    padding: 0;
    gap: 24px;
  }
  .related-card-urban{ flex: initial; max-width: none; }
}

/* responsive product */
@media (max-width: 900px){
  .product-layout-urban{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .product-gallery-urban{ flex-direction: column; }
  .product-thumbs-urban{ display: none; }
  .product-title-urban{ font-size: 26px; }
}
@media (max-width: 768px){
  .product-add-cart-urban{ display: none; }
  .mobile-cta-bar{ display: block; }
  .product-page--urban{ padding-bottom: 96px; }
}

/* =========================================================
   SIZE GUIDE MODAL
========================================================= */
:root{
  --modal-bg: rgba(255,255,255,.96);
  --modal-text: #111;
  --modal-border: rgba(0,0,0,.12);
  --modal-shadow: 0 22px 70px rgba(0,0,0,.22);
}

.modal-overlay{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(8px);
}
.modal-overlay.open{ display: flex; }

.modal-card{
  width: min(720px, 92vw);
  max-height: 85vh;
  overflow: auto;
  background: var(--modal-bg);
  color: var(--modal-text);
  border: 1px solid var(--modal-border);
  border-radius: calc(var(--card-radius) * 1);
  box-shadow: var(--modal-shadow);
  padding: 22px;
  position: relative;
}

.modal-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--modal-border);
  background: rgba(255,255,255,.9);
  color: #111;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.size-guide-title{
  font-family: var(--font-display, serif);
  font-size: 22px;
  margin: 0 0 6px;
}
.size-guide-subtitle{
  margin: 0 0 14px;
  opacity: .75;
  font-size: 13px;
}
.size-guide-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.size-guide-table th,
.size-guide-table td{
  border-bottom: 1px solid rgba(0,0,0,.10);
  padding: 10px 10px;
  text-align: left;
}
.size-guide-table th{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
}

/* =========================================================
   FIX Todas las imágenes mismo tamaño
========================================================= */

/* 1) Cards catálogo */
.card-img-wrapper{
  aspect-ratio: 4 / 5; 
  width: 100%;
  overflow: hidden;
}

.card-img-wrapper img{
  width: 100%;
  height: 100% !important;  
  object-fit: cover;      
  display: block;
  border-radius: var(--card-radius);
}

/* =========================================================
   Detail Mobile Swipe + Dots
========================================================= */

/* Contenedor principal de la imagen */
.zoom-wrap {
  position: relative;
  overflow: hidden;
}

/* ---------------------------
   Dots 
--------------------------- */

.gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;

  display: none; /* solo mobile */
  justify-content: center;
  gap: 8px;

  z-index: 30;
}

/* Dot normal */
.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.15);

  transition: all 0.2s ease;
}

/* Dot activo */
.gallery-dot.is-active {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.2);
}

/* ---------------------------
   Mobile: 
--------------------------- */
@media (max-width: 768px) {


  .gallery-dots {
    display: flex;
  }

 
  .gallery-nav {
    display: none !important;
  }

 
  .product-thumbs-urban {
    display: none;
  }
}
.gallery-dot {
  background: rgba(0,0,0,0.25);
}
.gallery-dot.is-active {
  background: rgba(0,0,0,0.7);
}

/* =========================================================
   Banner (PC = ancho contenedor / Mobile = full width)
========================================================= */
@media (max-width: 768px) {

  .hero-banner-full {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-top: -25px !important;
    margin-bottom: 8px !important;
  }

  .hero-banner-img {
    height: auto;
    max-height: 110px;
    object-fit: cover;       /* tira completa */
    border-radius: 0 !important;
    display: block;
  }
}

/* =========================================================
   Banner + buscador pegado
========================================================= */

/* Topbar sin aire */
.top-bar{
  padding-bottom: 0px !important;
  margin-bottom: 0 !important;
}

/* Wrapper sin padding extra */
.site-wrapper{
  padding-top: 0 !important;
}

/* Header sin aire */
.store-header{
  margin: 0 !important;
  padding: 0 !important;
}

/* =========================================================
   Search Halo
========================================================= */
@media (max-width: 768px){

  .street-search-container{
    position: relative;
    z-index: 10;
    margin-top: -22px !important;
    margin-bottom: 6px !important;
  }

  .street-search-container::before{
    content:"";
    position:absolute;
    left: 50%;
    top: -18px;
    transform: translateX(-50%);
    width: min(92vw, 520px);
    height: 70px;
    border-radius: 999px;


    background: radial-gradient(
      ellipse at center,
      color-mix(in srgb, var(--accent, #555555) 28%, transparent),
      transparent 70%
    );

    filter: blur(10px);
    opacity: .9;
    z-index: -1;
    pointer-events: none;
  }

  .street-search input{
    height: 40px !important;


    background: color-mix(in srgb, var(--bg, #ffffff) 85%, transparent) !important;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);


    border: 1px solid color-mix(in srgb, var(--accent, #555555) 25%, transparent) !important;

    /* sombra universal (no depende del color) */
    box-shadow: 0 6px 16px rgba(0,0,0,0.10) !important;
  }
}

/* =========================
   Checkout mini cart
========================= */
.mini-cart-checkout{
  text-decoration: none !important; 
  color: #fff !important;
  display: block;
  text-align: center;

  background: #000 !important;
  border-radius: 999px !important;
  padding: 14px 18px !important;

  letter-spacing: .10em;
  text-transform: uppercase;
  font-weight: 700;
}

.mini-cart-checkout:hover{
  opacity: .88;
}
/* =========================
   Mini cart  (+ / -) premium
========================= */

.mini-cart-items button{
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  color: #111;

  width: 28px;
  height: 28px;
  border-radius: 8px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;

  transition: background .15s ease, border-color .15s ease, transform .05s ease;
}

.mini-cart-items button:hover{
  background: rgba(140,50,90,.10);
  border-color: rgba(140,50,90,.30);
}

.mini-cart-items button:active{
  transform: scale(0.98);
}

.mini-cart-items input[type="number"],
.mini-cart-items input.qty,
.mini-cart-items input{
  width: 42px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.12);
  text-align: center;
  font-weight: 600;
  background: #fff;
}

/* =========================
   Estilos del modal (centrado + responsive)
========================= */
.info-modal{
  border: none;
  border-radius: 16px;
  padding: 0;
  width: min(720px, 92vw);

  /* ✅ centrado real */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;

  /* ✅ que no se vaya fuera de pantalla */
  max-height: 85vh;

  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden; /* el scroll lo maneja el body */
}

.info-modal::backdrop{
  background: rgba(0,0,0,.45);
}

.info-modal__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

.info-modal__header h3{
  margin:0;
  font-family: var(--font-display);
  font-size: 20px;
}

.info-modal__header button{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  cursor:pointer;
  font-size: 22px;
  line-height: 1;
}

/* ✅ scroll interno si el texto es largo */
.info-modal__body{
  padding: 16px;
  line-height: 1.6;
  white-space: pre-line;
  background: #fff;

  max-height: calc(85vh - 58px); /* header aprox */
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* =========================================================
   ADMIN (SaaS UI)
========================================================= */
body.admin-app{
  --admin-bg: color-mix(in srgb, var(--bg) 92%, #f4f4f6);
  --admin-surface: #fff;
  --admin-text: var(--text);
  --admin-muted: color-mix(in srgb, var(--text) 55%, transparent);
  --admin-border: color-mix(in srgb, var(--text) 12%, transparent);
  --admin-border-2: color-mix(in srgb, var(--text) 8%, transparent);
  --admin-shadow: 0 18px 50px color-mix(in srgb, #000 12%, transparent);
  --admin-shadow-soft: 0 10px 28px color-mix(in srgb, #000 10%, transparent);

  background: var(--admin-bg);
  color: var(--admin-text);
  min-height: 100vh;
}

/* layout shell */
.admin-shell{
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.admin-sidebar{
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px 16px;
  border-right: 1px solid var(--admin-border);
  background: color-mix(in srgb, var(--admin-surface) 92%, transparent);
  backdrop-filter: blur(10px);
}

.admin-brand{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 14px;
}
.admin-logo{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--text);
  box-shadow: 0 12px 28px color-mix(in srgb, #000 18%, transparent);
}
.admin-brand h1{
  margin: 0;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.admin-brand small{
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--admin-muted);
}

.admin-nav{
  margin-top: 10px;
  display: grid;
  gap: 6px;
}
.admin-nav a{
  text-decoration: none;
  color: var(--admin-text);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  transition: background .15s ease, border-color .15s ease, transform .08s ease;
}
.admin-nav a:hover{
  background: color-mix(in srgb, var(--text) 6%, transparent);
  border-color: var(--admin-border-2);
}
.admin-nav a.is-active{
  background: color-mix(in srgb, var(--text) 8%, transparent);
  border-color: var(--admin-border);
}
.admin-nav .hint{
  font-size: 12px;
  color: var(--admin-muted);
}

/* content */
.admin-main{
  min-width: 0;
  padding: 18px 18px 56px;
}

.admin-topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--admin-bg) 78%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--admin-border);
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-topbar-left{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.admin-title{
  display: grid;
  gap: 2px;
  min-width: 0;
}
.admin-title h2{
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.2px;
}
.admin-title p{
  margin: 0;
  font-size: 12px;
  color: var(--admin-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-actions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* buttons */
.btn{
  appearance: none;
  border: 1px solid var(--admin-border);
  background: var(--admin-surface);
  color: var(--admin-text);
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
  box-shadow: 0 10px 22px color-mix(in srgb, #000 8%, transparent);
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: scale(.99); }

.btn-primary{
  background: var(--text);
  color: var(--bg);
  border-color: color-mix(in srgb, var(--text) 70%, transparent);
  box-shadow: 0 16px 34px color-mix(in srgb, #000 16%, transparent);
}
.btn-ghost{
  background: transparent;
  box-shadow: none;
}
.btn-danger{
  background: color-mix(in srgb, #ff3b30 10%, #fff);
  border-color: color-mix(in srgb, #ff3b30 35%, transparent);
}

.btn-icon{
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
  border-radius: 14px;
}

/* cards + grids */
.admin-grid{
  margin-top: 14px;
  display: grid;
  gap: 14px;
}
.admin-cards{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
.card-panel{
  grid-column: span 12;
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 18px;
  box-shadow: var(--admin-shadow-soft);
  padding: 14px;
  min-width: 0;
}
.stat{
  grid-column: span 4;
  padding: 14px;
}
.stat .kpi{
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.stat .label{
  margin-top: 6px;
  font-size: 12px;
  color: var(--admin-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (max-width: 1000px){
  .stat{ grid-column: span 6; }
}
@media (max-width: 640px){
  .stat{ grid-column: span 12; }
}

/* flash */
.flash{
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid var(--admin-border);
  background: color-mix(in srgb, var(--text) 5%, #fff);
  box-shadow: 0 10px 22px color-mix(in srgb, #000 8%, transparent);
  font-size: 13px;
}

/* table (products) */
.table-wrap{
  overflow: auto;
  border-radius: 18px;
  border: 1px solid var(--admin-border);
  background: var(--admin-surface);
  box-shadow: var(--admin-shadow-soft);
}
.table{
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}
.table th, .table td{
  padding: 12px 12px;
  border-bottom: 1px solid var(--admin-border-2);
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
}
.table th{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--admin-muted);
  background: color-mix(in srgb, var(--admin-surface) 92%, #f7f7f9);
  position: sticky;
  top: 0;
  z-index: 1;
}
.table tr:hover td{
  background: color-mix(in srgb, var(--text) 4%, transparent);
}
.prod-title{
  font-weight: 800;
}
.badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--admin-border);
  background: color-mix(in srgb, var(--text) 4%, #fff);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 75%, transparent);
}
.badge-ok{ background: color-mix(in srgb, #22c55e 10%, #fff); border-color: color-mix(in srgb, #22c55e 30%, transparent); }
.badge-warn{ background: color-mix(in srgb, #f59e0b 12%, #fff); border-color: color-mix(in srgb, #f59e0b 35%, transparent); }

/* toolbar (search + actions) */
.admin-toolbar{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.admin-toolbar .left,
.admin-toolbar .right{
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.search{
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--admin-border);
  background: var(--admin-surface);
  border-radius: 16px;
  padding: 10px 10px;
  box-shadow: 0 10px 22px color-mix(in srgb, #000 8%, transparent);
}
.search input{
  border: 0;
  outline: none;
  background: transparent;
  min-width: 220px;
  font: inherit;
  color: var(--admin-text);
}
.search input::placeholder{
  color: color-mix(in srgb, var(--text) 45%, transparent);
}

/* forms */
.form-card{
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 18px;
  box-shadow: var(--admin-shadow-soft);
  padding: 14px;
  margin-top: 14px;
}
.form-grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}
.field{ grid-column: span 12; }
.field.half{ grid-column: span 6; }
.field label{
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--admin-muted);
  margin-bottom: 8px;
}
.field input,
.field textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid var(--admin-border);
  background: #fff;
  color: var(--admin-text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea{ min-height: 120px; resize: vertical; }
.field input:focus,
.field textarea:focus{
  border-color: color-mix(in srgb, var(--text) 55%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--text) 10%, transparent);
}
.help{
  margin-top: 8px;
  font-size: 12px;
  color: var(--admin-muted);
}

/* image slots */
.img-slot{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.img-preview{
  margin-top: 10px;
  width: 220px;
  max-width: 100%;
  border-radius: 16px;
  border: 1px solid var(--admin-border);
  display: block;
}

/* mobile sidebar */
.admin-mobile-toggle{ display: none; }
@media (max-width: 900px){
  .admin-shell{ grid-template-columns: 1fr; }
  .admin-sidebar{
    position: fixed;
    inset: 0 auto 0 0;
    width: min(88vw, 320px);
    transform: translateX(-110%);
    transition: transform .22s ease;
    z-index: 200;
    box-shadow: var(--admin-shadow);
  }
  body.admin-app.sidebar-open .admin-sidebar{ transform: translateX(0); }
  .admin-main{ padding: 14px 14px 44px; }

  .admin-mobile-toggle{ display: inline-flex; }
  .admin-backdrop{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 190;
  }
  body.admin-app.sidebar-open .admin-backdrop{
    opacity: 1;
    pointer-events: auto;
  }
  .search input{ min-width: 160px; }
  .field.half{ grid-column: span 12; }
}

/* login */
.admin-auth{
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-card{
  width: min(440px, 92vw);
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--admin-shadow);
}
.auth-title{
  margin: 0 0 10px;
  font-size: 20px;
}
