/* =========================================================
   Industrias SPACE S.A.S. — Identidad corporativa
   Azul #143d6b · Negro #1d1d1b · Rojo #be1622
   Principal: Helvetica Bold · Secundaria: Microgramma (Michroma en web)
   ========================================================= */
:root {
  --blue: #143d6b;
  --blue-50: #8a9eb5;
  --blue-15: #dce2e9;
  --blue-dark: #0e2c4e;
  --black: #1d1d1b;
  --red: #be1622;
  --red-dark: #9c111b;
  --red-15: #f5dcde;
  --white: #ffffff;
  --gray-50: #f4f5f7;
  --gray-100: #e8eaee;
  --gray-500: #6b7079;
  --wa: #25d366;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --micro: "Michroma", "Microgramma", "Eurostile", var(--font);
  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 61, 107, .12);
  --shadow-lg: 0 24px 60px rgba(20, 61, 107, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.red { color: var(--red); }
.micro { font-family: var(--micro); letter-spacing: .12em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-family: var(--micro);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .9em;
}
.eyebrow--light { color: #fff; opacity: .85; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .15s, background .2s, box-shadow .2s, color .2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1em 1.8em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(190, 22, 34, .3); }
.btn--red:hover { background: var(--red-dark); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--white { background: #fff; color: var(--red); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1ebe5a; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--black); color: #fff; font-size: .8rem; }
.topbar__inner { display: flex; justify-content: center; gap: .8em; padding: .55em 0; flex-wrap: wrap; text-align: center; }
.topbar__sep { color: var(--red); }

/* ---------- Encabezado ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-100);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.header__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header__symbol { height: 44px; width: auto; }
.header__wordmark { height: 34px; width: auto; }
.nav { display: flex; gap: 28px; }
.nav a { font-weight: 700; font-size: .92rem; position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red); transition: width .2s;
}
.nav a:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--blue); color: #fff; cursor: pointer;
}
.cart-btn.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.18); } }
.cart-btn__count {
  position: absolute; top: -4px; right: -4px;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--red); color: #fff; font-size: .75rem; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff;
  transform: scale(0); transition: transform .2s;
}
.cart-btn__count.is-visible { transform: scale(1); }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; padding: 12px; }
.menu-btn span { display: block; height: 2px; background: var(--black); margin: 5px 0; border-radius: 2px; }

/* ---------- Chevrones de marca ---------- */
.chevrons { position: absolute; pointer-events: none; }
.chev {
  position: absolute; width: 360px; height: 360px;
  border-left: 42px solid; border-bottom: 42px solid;
  transform: rotate(45deg);
}
.chev--blue { color: var(--blue); }
.chev--red { color: var(--red); }
.chev--white { color: #fff; }
.chev--black { color: var(--black); }
.chevrons--hero { right: -160px; bottom: -140px; width: 600px; height: 600px; }
.chevrons--hero .chev--blue { right: 0; bottom: 120px; }
.chevrons--hero .chev--red { right: -60px; bottom: 120px; }
.chevrons--hero .chev--white { right: -120px; bottom: 120px; color: var(--gray-50); }
.chevrons--hero .chev--black { right: -180px; bottom: 120px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(20, 61, 107, .07), transparent 45%),
    var(--gray-50);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding: 72px 0 88px;
}
.hero__lead { font-size: 1.12rem; color: var(--gray-500); max-width: 34em; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 36px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; gap: 32px; flex-wrap: wrap; }
.hero__trust li { display: flex; flex-direction: column; border-left: 3px solid var(--red); padding-left: 12px; }
.hero__trust strong { font-size: 1.3rem; color: var(--blue); }
.hero__trust span { font-size: .85rem; color: var(--gray-500); }
.hero__visual { position: relative; height: 470px; }
.hero__card {
  position: absolute; border-radius: 16px; display: grid; place-items: center; padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero__card--back { width: 62%; height: 78%; right: 4%; top: 2%; background: var(--red); transform: rotate(6deg); }
.hero__card--front { width: 66%; height: 86%; left: 6%; bottom: 0; background: #fff; transform: rotate(-3deg); }
.hero__card .jean { height: 100%; width: auto; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .2)); }
.hero__badge {
  position: absolute; left: 0; top: 14%;
  background: var(--black); color: #fff; border-radius: 50%;
  width: 118px; height: 118px; display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow); transform: rotate(-10deg);
}
.hero__badge span { font-family: var(--micro); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; }
.hero__badge strong { font-size: 1.3rem; }

/* ---------- Beneficios ---------- */
.benefits { background: var(--blue); color: #fff; }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.benefit + .benefit { border-left: 1px solid rgba(255, 255, 255, .15); }
.benefit svg { width: 34px; height: 34px; flex-shrink: 0; fill: #fff; }
.benefit strong { display: block; }
.benefit span { font-size: .85rem; opacity: .75; }

/* ---------- Secciones ---------- */
.section { padding: 88px 0; }
.section--gray { background: var(--gray-50); }
.section--blue { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.section__head { margin-bottom: 40px; max-width: 760px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; flex-wrap: wrap; }
.section__lead { font-size: 1.1rem; opacity: .85; }

/* ---------- Categorías ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat {
  position: relative; overflow: hidden; border-radius: 14px; color: #fff;
  display: flex; flex-direction: column; min-height: 380px;
  transition: transform .25s, box-shadow .25s;
}
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat--blue { background: var(--blue); }
.cat--black { background: var(--black); }
.cat--red { background: var(--red); }
.cat::before {
  content: ""; position: absolute; width: 260px; height: 260px; right: -130px; top: 30px;
  border-left: 30px solid rgba(255, 255, 255, .1); border-bottom: 30px solid rgba(255, 255, 255, .1);
  transform: rotate(45deg);
}
.cat__art { flex: 1; display: grid; place-items: center; padding: 28px 28px 0; }
.cat__art .jean { max-height: 220px; width: auto; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .35)); transition: transform .3s; }
.cat:hover .jean { transform: scale(1.06) rotate(-3deg); }
.cat__info { padding: 24px; position: relative; }
.cat__info h3 { font-family: var(--micro); font-size: 1.3rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .3em; }
.cat__info span { display: block; opacity: .8; font-size: .92rem; margin-bottom: 14px; }
.cat__info b { font-size: .9rem; }

/* ---------- Catálogo ---------- */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; background: #fff; border-radius: 8px; padding: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); flex-wrap: wrap; }
.tab {
  border: 0; background: none; padding: .55em 1.1em; border-radius: 6px; cursor: pointer; font-weight: 700; font-size: .9rem;
  color: var(--gray-500);
}
.tab.is-active { background: var(--blue); color: #fff; }
.sort select { padding: .65em 1em; border-radius: 8px; border: 1px solid var(--gray-100); background: #fff; font-weight: 700; font-size: .9rem; cursor: pointer; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.product {
  background: #fff; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05); transition: box-shadow .25s, transform .25s;
  animation: fadeUp .4s both;
}
.product:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.product__media {
  position: relative; aspect-ratio: 1 / 1.05; display: grid; place-items: center; padding: 24px;
  background: linear-gradient(160deg, #fff 0%, var(--blue-15) 100%);
}
.product__media .jean { height: 100%; width: auto; max-width: 75%; filter: drop-shadow(0 10px 12px rgba(20, 61, 107, .25)); transition: transform .3s; }
.product__media img:not(.jean) { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.product:hover .product__media .jean { transform: scale(1.05); }
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--black); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  padding: .35em .7em; border-radius: 4px; text-transform: uppercase;
}
.tag--red { background: var(--red); }
.tag--right { left: auto; right: 12px; }
.product__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__line { font-family: var(--micro); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-500); }
.product__name { font-size: 1.05rem; margin: 0; }
.product__price { display: flex; align-items: baseline; gap: 10px; }
.product__price strong { font-size: 1.3rem; color: var(--red); }
.product__price s { color: var(--gray-500); font-size: .9rem; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; border-radius: 6px; }
.sizes.is-error { animation: shake .4s; outline: 2px solid var(--red); outline-offset: 4px; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.size {
  min-width: 38px; height: 34px; padding: 0 8px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--gray-100); background: #fff; font-weight: 700; font-size: .85rem;
  transition: border-color .15s, background .15s;
}
.size:hover { border-color: var(--blue); }
.size.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.product .add { margin-top: auto; }

/* ---------- Promo ---------- */
.promo { position: relative; overflow: hidden; background: var(--red); color: #fff; }
.promo__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 64px 0; flex-wrap: wrap; }
.promo__inner > div { max-width: 640px; }
.promo h2 { margin-bottom: .35em; }
.promo__big { white-space: nowrap; background: #fff; color: var(--red); padding: 0 .25em; border-radius: 6px; }
.promo p { opacity: .9; margin: 0; }
.chevrons--promo { right: 0; top: 0; bottom: 0; width: 50%; }
.chevrons--promo .chev { width: 300px; height: 300px; right: 40px; top: 50%; margin-top: -150px; opacity: .22; }
.chevrons--promo .chev--red { color: var(--black); right: 100px; }
.chevrons--promo .chev--white { right: 160px; }

/* ---------- Mayoristas ---------- */
.wholesale { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { padding-left: 34px; position: relative; font-weight: 700; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--red-15); color: var(--red);
  display: grid; place-items: center; font-size: .8rem;
}
.card { background: #fff; border-radius: 14px; padding: 32px; box-shadow: var(--shadow); border-top: 5px solid var(--red); }
.form { display: grid; gap: 14px; }
.form h3 { margin-bottom: 4px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--gray-500); }
.form input, .form select {
  padding: .8em 1em; border-radius: 8px; border: 1px solid var(--gray-100); background: var(--gray-50);
  color: var(--black); font-weight: 400; font-size: 1rem;
}
.form input:focus, .form select:focus { outline: 2px solid var(--blue); outline-offset: 1px; background: #fff; }

/* ---------- Nosotros ---------- */
.section--blue::before {
  content: ""; position: absolute; width: 520px; height: 520px; left: -340px; top: 80px;
  border-right: 60px solid rgba(255, 255, 255, .05); border-top: 60px solid rgba(255, 255, 255, .05);
  transform: rotate(45deg);
}
.section--blue .container { position: relative; }
.axes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px; }
.axis { background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 24px; border-bottom: 3px solid var(--red); }
.axis__n { font-family: var(--micro); color: var(--red); font-size: 1.6rem; display: block; margin-bottom: 12px; text-shadow: 0 0 1px #fff; }
.axis h3 { font-size: 1.05rem; }
.axis p { font-size: .92rem; opacity: .8; margin: 0; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv__item { background: #fff; color: var(--black); border-radius: 12px; padding: 32px; }
.mv__item h3 { font-family: var(--micro); color: var(--red); letter-spacing: .15em; text-transform: uppercase; font-size: 1rem; }
.mv__item p { margin: 0; color: #3b3f45; }
.allies { margin: 40px 0 0; text-align: center; font-size: .9rem; opacity: .8; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.contact__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 4px; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.contact__list b { font-family: var(--micro); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gray-500); padding-top: 3px; }
.contact__list a { color: var(--blue); font-weight: 700; word-break: break-word; }
.contact__cta { text-align: center; }
.contact__symbol { width: 84px; margin: 0 auto 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #fff; padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__symbol { width: 48px; }
.footer__brand strong { display: block; font-size: .85rem; }
.footer__brand span { font-size: .85rem; opacity: .65; }
.footer__nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__nav a { opacity: .8; font-size: .9rem; }
.footer__nav a:hover { opacity: 1; color: #fff; }
.footer small { opacity: .55; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .45);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }

/* ---------- Carrito ---------- */
.overlay { position: fixed; inset: 0; background: rgba(29, 29, 27, .5); z-index: 80; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease, visibility .3s; visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; box-shadow: var(--shadow-lg); }
.drawer__head { position: sticky; top: 0; background: #fff; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--gray-100); }
.drawer__head h3 { margin: 0; font-family: var(--micro); font-size: .95rem; letter-spacing: .15em; text-transform: uppercase; }
.icon-btn { border: 0; background: var(--gray-50); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.drawer__progress { padding: 14px 22px; background: var(--gray-50); font-size: .88rem; }
.drawer__progress p { margin: 0 0 8px; }
.bar { height: 8px; background: var(--gray-100); border-radius: 4px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--red)); transition: width .3s; }
.drawer__items { padding: 8px 22px; }
.empty { text-align: center; padding: 48px 0; color: var(--gray-500); }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--gray-100); align-items: center; }
.line__art { background: var(--blue-15); border-radius: 8px; height: 72px; display: grid; place-items: center; padding: 6px; overflow: hidden; }
.line__art .jean, .line__art img { height: 100%; width: auto; object-fit: cover; }
.line__info strong { display: block; font-size: .92rem; }
.line__info span { font-size: .8rem; color: var(--gray-500); }
.qty { display: flex; width: max-content; align-items: center; gap: 10px; margin-top: 6px; border: 1px solid var(--gray-100); border-radius: 6px; padding: 2px; }
.qty button { width: 26px; height: 26px; border: 0; background: var(--gray-50); border-radius: 4px; cursor: pointer; font-weight: 700; }
.qty span { min-width: 16px; text-align: center; font-weight: 700; font-size: .9rem; }
.line__right { text-align: right; display: grid; gap: 6px; }
.link { border: 0; background: none; color: var(--gray-500); font-size: .78rem; text-decoration: underline; cursor: pointer; padding: 0; }
.drawer__foot { border-top: 1px solid var(--gray-100); padding: 16px 22px 22px; display: grid; gap: 14px; margin-top: auto; }
.drawer__foot[hidden] { display: none; }
.totals > div { display: flex; justify-content: space-between; font-size: .92rem; padding: 3px 0; }
.totals__discount { color: var(--red); font-weight: 700; }
.totals__discount[hidden] { display: none !important; }
.totals__total { font-size: 1.15rem !important; font-weight: 700; border-top: 1px dashed var(--gray-100); margin-top: 6px; padding-top: 10px !important; }
.form--compact { gap: 10px; }
.form--compact input { padding: .65em .9em; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100;
  transform: translate(-50%, 140%); opacity: 0;
  background: var(--black); color: #fff; padding: .85em 1.3em; border-radius: 8px; font-weight: 700; font-size: .92rem;
  transition: transform .3s, opacity .3s; max-width: calc(100% - 32px); text-align: center;
  border-left: 4px solid var(--red);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .axes { grid-template-columns: 1fr 1fr; }
  .benefits__grid { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(3) { border-left: 0; }
  .benefit:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .15); }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; padding: 8px 16px 16px;
    border-bottom: 3px solid var(--red); box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
  .hero__inner { grid-template-columns: 1fr; padding: 48px 0 64px; }
  .hero__visual { height: 380px; max-width: 460px; width: 100%; margin: 0 auto; }
  .cats { grid-template-columns: 1fr; }
  .cat { min-height: 300px; flex-direction: row; align-items: center; }
  .cat__art { padding: 20px; flex: 0 0 42%; }
  .cat__art .jean { max-height: 200px; }
  .wholesale, .contact, .mv { grid-template-columns: 1fr; gap: 36px; }
  .chevrons--hero { opacity: .35; }
}
@media (max-width: 560px) {
  .header__wordmark { height: 26px; }
  .header__symbol { height: 36px; }
  .section { padding: 64px 0; }
  .benefits__grid { grid-template-columns: 1fr; }
  .benefit { border-left: 0 !important; }
  .benefit + .benefit { border-top: 1px solid rgba(255, 255, 255, .15); }
  .axes { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product__body { padding: 12px; }
  .product__name { font-size: .92rem; }
  .product__price strong { font-size: 1.1rem; }
  .size { min-width: 32px; height: 30px; font-size: .78rem; }
  .product .add { font-size: .82rem; padding: .7em .5em; }
  .hero__trust { gap: 18px; }
  .hero__badge { width: 96px; height: 96px; }
  .hero__badge strong { font-size: 1.05rem; }
  .card { padding: 24px; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .cat { flex-direction: column; align-items: stretch; }
  .cat__art { flex: 1; }
  .toolbar { width: 100%; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: .55em .4em; }
  .sort, .sort select { width: 100%; }
}

/* =========================================================
   Catálogo con fotos reales
   ========================================================= */
.hero__card { padding: 10px; overflow: hidden; }
.hero__card img { width: 100%; height: 100%; object-fit: cover; object-position: left top; border-radius: 10px; }
.hero__card--back { background: var(--red); }
.hero__badge strong { font-family: var(--micro); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.hero__badge span { color: #fff; }

.cat__art { padding: 0; position: relative; overflow: hidden; min-height: 240px; }
.cat__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .4s; }
.cat:hover .cat__art img { transform: scale(1.05); }
.cat__info { background: inherit; }

.search input {
  width: 230px; padding: .7em 1em .7em 2.4em; border-radius: 8px; border: 1px solid var(--gray-100); background: #fff;
  font-size: .92rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath fill='%236b7079' d='M10 2a8 8 0 0 1 6.3 12.9l5.4 5.4-1.4 1.4-5.4-5.4A8 8 0 1 1 10 2Zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: .8em center;
}
.search input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }

.filterbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: -16px 0 24px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--gray-100); background: #fff; border-radius: 999px; padding: .45em 1em;
  font-weight: 700; font-size: .85rem; cursor: pointer; color: var(--gray-500); transition: all .15s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.filterbar__right { display: flex; align-items: center; gap: 12px; }
.count { font-size: .85rem; color: var(--gray-500); font-weight: 700; white-space: nowrap; }

.product__media { padding: 0; aspect-ratio: 8 / 9; background: #fff; }
.product__zoom { all: unset; cursor: zoom-in; position: absolute; inset: 0; }
.product__zoom img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.product:hover .product__zoom img { transform: scale(1.03); }
.product__zoom:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.tag--ref { background: var(--blue); }
.tag--blue { background: var(--black); }
.dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 1; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; background: rgba(29, 29, 27, .35); padding: 0; cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.dot.is-active { background: var(--red); }
.product__price .ask { color: var(--red); font-weight: 700; font-size: .95rem; }

.more { display: flex; justify-content: center; margin-top: 36px; }
.more [hidden] { display: none; }
.no-results { grid-column: 1 / -1; text-align: center; padding: 48px 0; color: var(--gray-500); }

.line__art { padding: 0; background: #fff; border: 1px solid var(--gray-100); }
.line__art img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

/* Visor */
.viewer { position: fixed; inset: 0; z-index: 95; background: rgba(29, 29, 27, .7); display: grid; place-items: center; padding: 16px; }
.viewer[hidden] { display: none; }
.viewer__box {
  position: relative; background: #fff; border-radius: 14px; width: min(980px, 100%); max-height: calc(100vh - 32px);
  display: grid; grid-template-columns: 1.25fr 1fr; overflow: hidden; box-shadow: var(--shadow-lg);
}
.viewer__close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.viewer__media { background: var(--gray-50); display: flex; flex-direction: column; min-height: 0; }
.viewer__media > img { flex: 1; min-height: 0; width: 100%; object-fit: contain; max-height: calc(100vh - 140px); }
.viewer__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.viewer__thumbs:empty { display: none; }
.viewer__thumbs button { flex: 0 0 64px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: #fff; }
.viewer__thumbs button.is-active { border-color: var(--red); }
.viewer__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.viewer__info { padding: 36px 28px 28px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.viewer__info h3 { font-size: 1.5rem; margin: 0; }
.viewer__info .product__price strong { font-size: 1.6rem; }
.viewer__label { margin: 8px 0 0; font-weight: 700; font-size: .85rem; color: var(--gray-500); }
.viewer__note { margin: 0; font-size: .8rem; color: var(--gray-500); }
.viewer__note[hidden] { display: none; }

@media (max-width: 900px) {
  .search, .search input { width: 100%; }
  .cat__art { min-height: 0; aspect-ratio: 4 / 5; }
  .cat { flex-direction: column; align-items: stretch; }
}
@media (max-width: 720px) {
  .viewer { padding: 0; place-items: stretch; }
  .viewer__box { grid-template-columns: 1fr; border-radius: 0; max-height: 100vh; overflow-y: auto; }
  .viewer__media > img { max-height: 62vh; }
  .viewer__info { padding: 20px 16px 28px; overflow: visible; }
  .filterbar { margin-top: -20px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; }
  .chip { white-space: nowrap; }
  .filterbar__right { width: 100%; justify-content: space-between; }
  .sort, .sort select { width: auto; }
}
#loadMore[hidden] { display: none; }
.hero__trust strong span, .cat__info span span { display: inline; font: inherit; color: inherit; opacity: 1; margin: 0; }
@media (max-width: 560px) { .product__price .ask { font-size: .82rem; } }

/* =========================================================
   Pedidos, formularios y avisos
   ========================================================= */
.form textarea {
  padding: .8em 1em; border-radius: 8px; border: 1px solid var(--gray-100); background: var(--gray-50);
  color: var(--black); font: inherit; font-weight: 400; resize: vertical;
}
.form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; background: #fff; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--black); font-size: .85rem; }
.form .check input { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; accent-color: var(--blue); }
.form .check a { color: var(--blue); text-decoration: underline; }
.form__title { margin: 4px 0 0; font-weight: 700; font-size: .95rem; }
.form__lead { margin: 0; color: var(--gray-500); }
.form__error { margin: 0; padding: .7em .9em; border-radius: 8px; background: var(--red-15); color: var(--red-dark); font-size: .88rem; font-weight: 700; }
.form__error[hidden], .pay-note[hidden], #payWompi[hidden], #shippingRow[hidden], #subtotalRow[hidden], #promoProgress[hidden] { display: none !important; }
.pay-note { margin: -4px 0 0; font-size: .78rem; color: var(--gray-500); text-align: center; }
.contact__cta { text-align: left; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.viewer__desc { margin: 0; color: #3b3f45; font-size: .92rem; white-space: pre-line; }
.viewer__desc:empty { display: none; }
.product.is-soldout .product__zoom img { filter: grayscale(.7); opacity: .7; }
.noimg { display: grid; place-items: center; height: 100%; color: var(--gray-500); font-size: .85rem; }
.promo[hidden], .topbar[hidden] { display: none; }

.cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 85; max-width: 560px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 18px 20px;
  border-left: 4px solid var(--blue); display: grid; gap: 12px;
}
.cookies[hidden] { display: none; }
.cookies p { margin: 0; font-size: .88rem; }
.cookies a { color: var(--blue); text-decoration: underline; }
.cookies__btns { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.cookies .btn { padding: .6em 1.1em; font-size: .88rem; }
