@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   SOMOS SETAS — Sistema de diseño v2
   Principal: naranja #ef7911 (de la marca)
   Alternativos: verde bosque, umber, arena (de v1)
   Tipografía: Oswald (display, condensada) + Montserrat (cuerpo)
   ========================================================= */

:root {
  /* color brand */
  --primary: #ef7911;
  --primary-dark: #c75e08;
  --primary-light: #f9a559;
  --primary-soft: rgba(239, 121, 17, 0.08);

  /* alternativos */
  --moss: #2D3B2C;
  --moss-2: #3F5240;
  --moss-3: #1F2A1E;
  --umber: #6B4423;
  --umber-2: #8A5A30;
  --sand: #D9CCB3;

  /* neutrales */
  --bg: #FAF6EF;
  --bg-2: #F1EADC;
  --bg-3: #E2D5BB;
  --ink: #1B1F1A;
  --ink-2: #3A4036;
  --ink-3: #6F7066;
  --line: rgba(27, 31, 26, 0.12);
  --line-2: rgba(27, 31, 26, 0.24);

  --shadow-sm: 0 1px 2px rgba(27, 31, 26, 0.06);
  --shadow-md: 0 6px 24px rgba(27, 31, 26, 0.10);
  --shadow-lg: 0 18px 48px rgba(27, 31, 26, 0.18);
  --radius: 4px;
  --radius-lg: 10px;

  --display: "Oswald", "Bebas Neue", Impact, sans-serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
img { display: block; max-width: 100%; }
hr { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ====== TIPOGRAFÍA ====== */
.display {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
}
.mono { font-family: var(--mono); }

/* ====== LAYOUT ====== */
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 980px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container, .container-narrow { padding: 0 20px; } }

/* ====== TOPBAR ====== */
.announcement {
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
  font-weight: 500;
  font-family: var(--sans);
}
.announcement .dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--primary); margin: 0 14px; vertical-align: middle; }
@media (max-width: 520px) {
  .announcement { font-size: 9.5px; letter-spacing: 0.10em; padding: 7px 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .announcement .dot { margin: 0 8px; }
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

/* ── Fila principal del header ── */
.header-inner {
  display: flex;
  align-items: center;
  height: 110px;
  gap: 40px;
}

/* ── Logo ── */
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-logo-img {
  height: 90px;
  width: auto;
  display: block;
}

/* ── Hamburguesa (solo visible en mobile) ── */
.hamburger { display: none; }
.mobile-nav-close { display: none; }
.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(27,31,26,0.45);
  z-index: 149;
}

@media (max-width: 880px) {
  /* Header */
  .header-inner    { height: 62px; gap: 8px; }
  .header-logo-img { height: 46px; }
  .hamburger       { display: flex; }

  /* Nav móvil: panel lateral izquierdo */
  .header-nav {
    position: fixed;
    top: 0; left: 0;
    height: 100dvh;
    width: 280px;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 24px 0 40px;
    z-index: 150;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
    box-shadow: var(--shadow-lg);
    border-right: 1px solid var(--line);
  }
  .header-nav.is-open       { transform: translateX(0); }
  .mobile-nav-overlay       { display: block; }
  .mobile-nav-close         { display: flex; margin: 0 16px 16px auto; }

  .header-nav a {
    width: 100%;
    padding: 16px 28px;
    font-size: 13px;
    border-bottom: 1px solid var(--line);
    white-space: normal;
    justify-content: flex-start;
  }
  .header-nav a.active::after { display: none; }
  .header-nav a.active { color: var(--primary); border-left: 3px solid var(--primary); padding-left: 25px; }

  /* Carrito: ocultar texto, mostrar solo ícono+número */
  .cart-label { display: none; }
  .cart-pill  { padding: 8px 12px; gap: 4px; }
  /* Catálogo PDF: mostrar link en el drawer del nav */
  .nav-catalog-btn { display: inline-flex; }
}

@media (max-width: 400px) {
  .header-actions { gap: 2px; }
  .icon-btn       { width: 34px; height: 34px; }
}

/* ── Navegación centrada ── */
.header-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.header-nav a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
  transition: color .15s;
  white-space: nowrap;
}
.header-nav a:hover { color: var(--primary); }
.header-nav a.active { color: var(--primary); }
.header-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  transform: translateX(-50%);
  width: 14px; height: 2px;
  background: var(--primary);
}

/* ── Acciones (iconos + carrito) ── */
.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img        { display: block; width: auto; height: auto; }
.logo-img.small  { height: 40px; width: auto; }
.logo-img.icon   { height: 48px; width: auto; }

.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink-2);
  transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--bg-2); color: var(--primary); }

.cart-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 14px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background .15s;
  white-space: nowrap;
}
.cart-pill:hover { background: var(--primary-dark); }
.cart-pill .count { font-family: var(--mono); font-size: 12px; font-weight: 600; }

/* Botón descarga catálogo PDF — desktop header */
.btn-catalog-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
  transition: border-color .15s, color .15s, background .15s;
}
.btn-catalog-dl:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
/* Ocultar en mobile — esta regla va DESPUÉS de la definición base para no ser sobreescrita */
@media (max-width: 880px) { .btn-catalog-dl { display: none; } }

/* Versión mobile — dentro del nav drawer (oculto en desktop) */
.nav-catalog-btn {
  display: none; /* se muestra solo en el breakpoint mobile */
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  width: fit-content;
  transition: border-color .15s, color .15s;
}
.nav-catalog-btn:hover { border-color: var(--primary); color: var(--primary); }


/* ====== HERO BANNER ====== */
.banner {
  position: relative;
  height: clamp(440px, 62vh, 640px);
  overflow: hidden;
}
.banner-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 0 64px;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.banner-slide.is-active { opacity: 1; pointer-events: auto; }
.banner-slide-content {
  position: relative;
  max-width: 720px;
}
.banner-slide .eyebrow {
  opacity: 0.85;
  margin-bottom: 18px;
  display: block;
  font-weight: 700;
}
.banner-slide h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.banner-slide p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  max-width: 520px;
  margin: 0 0 32px;
  opacity: 0.88;
  font-weight: 400;
}
.banner-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform .2s;
  border-radius: 999px;
}
.banner-cta:hover { transform: translateY(-1px); }
.banner-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.banner-dot {
  width: 32px; height: 3px;
  background: rgba(255,255,255,0.32);
  border-radius: 2px;
  transition: background .2s;
  border: none;
  padding: 0;
  cursor: pointer;
}
.banner-dot.is-active { background: rgba(255,255,255,0.95); }
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  transition: background .15s;
}
.banner-arrow:hover { background: rgba(255,255,255,0.28); }
.banner-arrow.left { left: 24px; }
.banner-arrow.right { right: 24px; }
@media (max-width: 720px) {
  .banner-slide { padding: 0 24px; }
  .banner-arrow { display: none; }
}

/* ====== SECTIONS ====== */
.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-header {
  display: flex; align-items: end; justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}
.section-header h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 14px 0 0;
  color: var(--ink);
}
.section-header h2 .accent { color: var(--primary); }
.section-header p { color: var(--ink-3); max-width: 460px; margin: 0; font-size: 14px; }
.section-link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.section-link:hover { color: var(--primary-dark); }

/* ====== CATEGORY STRIP ====== */
.cat-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cat-strip a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  padding: 28px 12px;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background .15s, color .15s;
  position: relative;
}
.cat-strip a:last-child { border-right: none; }
.cat-strip a:hover { background: var(--bg-2); color: var(--primary); }
.cat-strip a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--primary); }
.cat-strip .num { font-family: var(--mono); font-size: 10px; color: var(--ink-3); letter-spacing: 0.16em; }
.cat-strip a:hover .num { color: var(--primary); }
.cat-strip .nm {
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 500;
}
.cat-strip a:hover .nm { color: var(--primary); }
@media (max-width: 720px) {
  /* Horizontal scroll — evita nombres largos truncados y layout roto */
  .cat-strip {
    display: flex;
    grid-template-columns: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cat-strip::-webkit-scrollbar { display: none; }
  .cat-strip a {
    flex: 0 0 auto;
    min-width: 120px;
    scroll-snap-align: start;
    border-right: 1px solid var(--line) !important;
    padding: 18px 14px;
  }
  .cat-strip .nm { font-size: 15px; }
}

/* ====== PRODUCT CARD ====== */
.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
/* En mobile mantenemos 2 cols para grids de producto — más denso y visual */
@media (max-width: 520px)  { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 360px)  { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column;
  background: transparent;
  transition: transform .25s;
}
.card-img {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-img.empty {
  background-image:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(27, 31, 26, 0.05) 12px 13px),
    linear-gradient(180deg, var(--bg-2), var(--bg-3));
}
.card-img.empty::before {
  content: attr(data-label);
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
  background: rgba(250, 246, 239, 0.9);
  padding: 5px 10px;
  border-radius: 3px;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--primary);
  color: white;
  padding: 6px 11px;
  border-radius: 999px;
}
.card-badge.is-promo { background: #e0471a; }
.card-quick {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  display: flex; justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
}
.card:hover .card-quick { opacity: 1; transform: translateY(0); }
.card-quick button {
  background: var(--ink);
  color: white;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 13px 18px;
  border-radius: 999px;
  flex: 1;
  transition: background .15s;
}
.card-quick button:hover { background: var(--primary); }

.card-cat {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
}
.card-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 8px 0 4px;
  color: var(--ink);
}
.card-sub { font-size: 12px; color: var(--ink-3); font-style: italic; }
.card-price { font-family: var(--mono); font-size: 13px; margin-top: 12px; color: var(--ink); font-weight: 600; }
.card-price small { color: var(--ink-3); font-weight: 400; }

/* ====== PHILOSOPHY BLOCK ====== */
.philo {
  background: var(--moss);
  color: var(--bg);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.philo::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 320px; height: 320px;
  background: radial-gradient(circle at center, rgba(239, 121, 17, 0.18), transparent 70%);
  pointer-events: none;
}
/* Foto del local con opacidad en el lado izquierdo */
.philo-bg-img {
  position: absolute;
  inset: 0;
  width: 52%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
  pointer-events: none;
  /* Fade hacia la derecha para que el texto no compita */
  -webkit-mask-image: linear-gradient(to right, black 55%, transparent 100%);
  mask-image: linear-gradient(to right, black 55%, transparent 100%);
}
@media (max-width: 880px) {
  .philo-bg-img { width: 100%; opacity: 0.22; -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%); mask-image: linear-gradient(to bottom, black 40%, transparent 100%); }
}
.philo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.philo blockquote {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.philo blockquote em { font-style: normal; color: var(--primary); }
.philo-side .eyebrow { color: var(--primary); margin-bottom: 18px; }
.philo-side p { opacity: 0.82; font-size: 14px; line-height: 1.7; font-weight: 400; }
.philo-side p + p { margin-top: 16px; }
@media (max-width: 880px) { .philo-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ====== FACT STRIP ====== */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact { padding: 36px 28px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: none; }
.fact h4 {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 500;
  margin: 0 0 6px;
  color: var(--primary);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1;
}
.fact p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 820px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: none; }
  .fact:nth-child(2) ~ .fact { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .fact  { border-right: none !important; border-top: 1px solid var(--line); }
  .facts .fact:first-child { border-top: none; }
}

/* ====== PRODUCT DETAIL ====== */
.pd { padding: 56px 0 96px; }
.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; }
@media (max-width: 880px) { .pd-grid { grid-template-columns: 1fr; gap: 32px; } }
.pd-img {
  position: sticky; top: 110px;
  aspect-ratio: 4/5;
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.pd-img.empty {
  background-image:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(27, 31, 26, 0.05) 14px 15px),
    linear-gradient(180deg, var(--bg-2), var(--bg-3));
}
.pd-img.empty::before {
  content: attr(data-label);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  background: rgba(250, 246, 239, 0.92);
  padding: 9px 14px;
  border-radius: 4px;
}
.pd-img img { width: 100%; height: 100%; object-fit: cover; }

/* --- Product media gallery (detail page) --- */
.pd-media { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 10px; }
.pd-media .pd-img { position: static; }
.pd-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
}
.pd-thumbs::-webkit-scrollbar { height: 3px; }
.pd-thumbs::-webkit-scrollbar-track { background: var(--bg-2); border-radius: 99px; }
.pd-thumbs::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }
.pd-thumb {
  flex-shrink: 0;
  width: 64px; height: 80px;
  border-radius: 6px;
  border: 2px solid transparent;
  overflow: hidden;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .15s;
  padding: 0;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.is-active { border-color: var(--primary); }
.pd-thumb:hover:not(.is-active) { border-color: var(--line-2); }
.pd-thumb-play {
  font-size: 20px;
  color: var(--primary);
}

/* --- Product gallery arrows & dots --- */
.pd-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(250, 246, 239, 0.90);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  transition: background .15s, transform .15s;
  z-index: 2;
}
.pd-arrow:hover { background: white; transform: translateY(-50%) scale(1.08); }
.pd-arrow-left  { left: 12px; }
.pd-arrow-right { right: 12px; }
.pd-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.pd-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.50);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.pd-dot.is-active { background: white; transform: scale(1.25); }

/* --- Gallery manager (admin) --- */
.gallery-manager {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}
.gallery-thumb {
  position: relative;
  width: 80px; height: 100px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.gallery-main-badge {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--primary);
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 3px 0;
}
.gallery-remove {
  position: absolute;
  top: 3px; right: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 14px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background .15s;
}
.gallery-remove:hover { background: rgba(200,0,0,0.80); }
.gallery-add {
  width: 80px; height: 100px;
  border-radius: 6px;
  border: 1.5px dashed var(--line-2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  cursor: pointer;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  transition: border-color .15s, color .15s;
  background: var(--bg-2);
}
.gallery-add:hover { border-color: var(--primary); color: var(--primary); }
.gallery-add.is-uploading { cursor: wait; opacity: 0.7; }
.gallery-spinner {
  width: 18px; height: 18px;
  border: 2px solid var(--line-2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: block;
}

/* --- Banner video background --- */
.banner-bg-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.40;
  pointer-events: none;
  border: none;
}

.breadcrumb {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
  font-weight: 600;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 10px; color: var(--line-2); }
.pd-title {
  font-family: var(--display);
  font-size: clamp(46px, 6vw, 80px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--ink);
}
.pd-sci { font-style: italic; font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.pd-tag {
  font-family: var(--display);
  font-size: 22px;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 26px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.pd-desc { font-size: 14px; color: var(--ink-2); line-height: 1.7; margin-bottom: 32px; }
.pd-section { padding: 26px 0; border-top: 1px solid var(--line); }
.pd-section h3 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 18px;
  font-weight: 700;
}
.pd-benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pd-benefits li { display: flex; gap: 16px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.pd-benefits .b-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  padding-top: 2px;
  min-width: 28px;
  letter-spacing: 0.04em;
}
.pres-list { display: grid; gap: 10px; }
.pres-row {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line);
  padding: 16px 18px;
  border-radius: var(--radius);
  background: white;
  cursor: pointer;
  transition: border-color .15s;
}
.pres-row:hover { border-color: var(--line-2); }
.pres-row.is-selected { border-color: var(--primary); background: var(--primary-soft); }
.pres-row .checkbox {
  width: 18px; height: 18px;
  border: 1.5px solid var(--line-2);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 11px; font-weight: 700;
  color: white;
  transition: background .15s, border-color .15s;
}
.pres-row.is-selected .checkbox {
  background: var(--primary);
  border-color: var(--primary);
}
.pres-row .pres-label { flex: 1; font-size: 13px; }
.pres-qty {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-2);
  border-radius: 999px;
  padding: 2px 8px;
}
.pres-qty button {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--ink-2);
  transition: color .15s;
}
.pres-qty button:hover { color: var(--primary); }
.pres-qty span { font-family: var(--mono); font-size: 13px; font-weight: 600; min-width: 18px; text-align: center; }
.pres-row .pres-price { font-family: var(--mono); font-size: 14px; font-weight: 700; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  height: 54px;
  background: white;
}
.qty button { width: 46px; height: 100%; font-size: 18px; color: var(--ink-2); transition: color .15s; }
.qty button:hover { color: var(--primary); }
.qty .val { width: 36px; text-align: center; font-family: var(--mono); font-size: 14px; font-weight: 600; }
.btn-add {
  flex: 1;
  height: 54px;
  background: var(--primary);
  color: white;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  border-radius: var(--radius);
  transition: background .15s;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-add:hover:not(:disabled) { background: var(--primary-dark); }
.btn-add.is-added { background: var(--moss); }
.btn-add.is-disabled, .btn-add:disabled {
  background: var(--bg-3);
  color: var(--ink-3);
  cursor: not-allowed;
}

/* ====== SEARCH MODAL ====== */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(27, 31, 26, 0.5);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 0;
}
.search-box {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  overflow: hidden;
}
.search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.search-input {
  flex: 1;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: none;
  border: none;
  outline: none;
}
.search-input::placeholder { color: var(--ink-3); }
.search-results { max-height: 420px; overflow-y: auto; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  transition: background .12s;
  cursor: pointer;
  color: var(--ink);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-2); }
.search-result-img {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: var(--bg-2);
  flex-shrink: 0;
  overflow: hidden;
}
.search-result-img.empty { background: var(--bg-3); }
.search-result-img img { width: 100%; height: 100%; object-fit: cover; }
.search-result-info { flex: 1; min-width: 0; }
.search-result-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.search-result-meta { font-size: 12px; color: var(--ink-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-empty { padding: 28px 20px; text-align: center; font-size: 14px; color: var(--ink-3); }
.search-hint { padding: 20px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* ====== CART DRAWER ====== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(27, 31, 26, 0.42);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(560px, 96vw);
  background: var(--bg);
  z-index: 101;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  display: flex; flex-direction: column;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-head {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-head h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.cart-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 72px; height: 90px;
  background: var(--bg-2);
  border-radius: 4px;
  overflow: hidden;
  background-image:
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(27, 31, 26, 0.05) 8px 9px);
  flex-shrink: 0;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}
.cart-item-info h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.cart-item-info .pres { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.cart-item-info .qty-mini { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; border: 1px solid var(--line); border-radius: 4px; padding: 2px; background: white; }
.cart-item-info .qty-mini button { width: 24px; height: 24px; }
.cart-item-info .qty-mini .v { font-family: var(--mono); font-size: 12px; min-width: 20px; text-align: center; font-weight: 600; }
.cart-item-price { font-family: var(--mono); font-size: 14px; text-align: right; align-self: start; font-weight: 700; }
.cart-item-remove { background: none; color: var(--ink-3); font-size: 11px; text-decoration: underline; margin-top: 8px; display: block; }
.cart-item-remove:hover { color: var(--primary); }
.cart-foot { padding: 24px; border-top: 1px solid var(--line); background: var(--bg); }
.cart-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; }
.cart-row.total {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.cart-row.total .val { font-family: var(--mono); font-size: 20px; font-weight: 700; }
.btn-checkout {
  width: 100%;
  height: 56px;
  background: #25D366;
  color: white;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  border-radius: var(--radius);
  margin-top: 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  transition: background .15s;
}
.btn-checkout:hover { background: #1eb955; }
.btn-checkout svg { width: 20px; height: 20px; }

/* --- Shipping toggle in cart --- */
.shipping-toggle-block {
  margin-bottom: 14px;
  padding: 12px 14px;
  background: var(--bg-2);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.shipping-toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.shipping-opts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.shipping-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 12px;
  border-radius: calc(var(--radius) - 2px);
  border: 1.5px solid var(--line-2);
  background: var(--bg);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  text-align: left;
}
.shipping-opt:hover { border-color: var(--primary); }
.shipping-opt.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.shipping-opt-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-1);
}
.shipping-opt-price {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--ink-3);
  font-weight: 500;
}
.shipping-opt.is-active .shipping-opt-price { color: var(--primary); }

/* --- Coupon code field in cart --- */
.coupon-row { margin-bottom: 12px; }
.coupon-input-row {
  display: flex;
  gap: 6px;
}
.coupon-input {
  flex: 1;
  padding: 8px 12px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-2);
}
.coupon-input:focus { outline: none; border-color: var(--primary); }
.coupon-btn {
  padding: 8px 14px;
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .15s;
}
.coupon-btn:hover { background: var(--primary); }
.coupon-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(42,157,92,0.10);
  border: 1px solid rgba(42,157,92,0.25);
  border-radius: var(--radius);
  font-size: 12px;
  color: #1e7a47;
}
.coupon-remove {
  font-size: 11px;
  font-weight: 700;
  color: #c0392b;
  cursor: pointer;
  background: none;
  border: none;
}
.coupon-error {
  margin: 5px 0 0;
  font-size: 11px;
  color: #c0392b;
  font-weight: 600;
}

/* --- Toggle Si/No (sucursal / domicilio) --- */
.toggle-row {
  display: flex;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 4px;
}
.toggle-opt {
  flex: 1;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  background: transparent;
  color: var(--ink-3);
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s;
  border-right: 1px solid var(--line-2);
}
.toggle-opt:last-child { border-right: none; }
.toggle-opt.is-active {
  background: var(--primary);
  color: white;
}
.toggle-opt:hover:not(.is-active) { background: var(--bg-2); color: var(--ink); }

/* --- Cart tier progress --- */
.tier-progress {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 10px 12px 8px;
  margin-bottom: 14px;
}
.tier-progress-bar {
  height: 6px;
  background: var(--bg-3);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 6px;
}
.tier-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  border-radius: 99px;
  transition: width .4s ease;
}
.tier-progress-msg {
  margin: 0;
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.4;
}
.tier-progress-msg strong { color: var(--ink); }
.tier-reached {
  background: rgba(42, 157, 92, 0.10);
  color: #1e7a47;
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

/* --- Andreani shipping note --- */
.andreani-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: var(--bg-2);
  border-radius: var(--radius);
  margin-top: 6px;
  margin-bottom: 2px;
}
.andreani-logo {
  height: 14px;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: grayscale(0.2);
}
.andreani-note span {
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.4;
}
.andreani-info-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}
.andreani-info-icon {
  color: var(--ink-3);
  cursor: pointer;
  transition: color .15s;
}
.andreani-info-wrap:hover .andreani-info-icon { color: var(--ink); }
.andreani-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  line-height: 1.55;
  padding: 10px 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 10;
  pointer-events: none;
}
.andreani-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 10px;
  border: 5px solid transparent;
  border-top-color: var(--ink);
}
.andreani-info-wrap:hover .andreani-tooltip { display: block; }

.cart-empty { padding: 60px 24px; text-align: center; color: var(--ink-3); }
.cart-empty h4 {
  font-family: var(--display);
  font-size: 26px;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* ====== CATALOG ====== */
.cat-head {
  padding: 64px 0 36px;
  border-bottom: 1px solid var(--line);
}
.cat-head h1 {
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 12px 0 14px;
  color: var(--ink);
}
.cat-head h1 .accent { color: var(--primary); }
.cat-head p { color: var(--ink-3); max-width: 640px; margin: 0; font-size: 15px; line-height: 1.55; }
.cat-toolbar { padding: 28px 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.chip {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink-2);
  transition: background .15s, color .15s;
  border: 1px solid transparent;
}
.chip:hover { background: var(--bg-3); }
.chip.is-active { background: var(--primary); color: white; border-color: var(--primary); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ====== HOW TO BUY ====== */
/* --- Homepage pricing tiers --- */
.tiers-section { background: var(--moss-3); }
.tiers-section .section-header .eyebrow { color: var(--primary-light); }
.tiers-section .section-header h2 { color: white; }
.tiers-section .section-link { color: var(--primary-light); }
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tier-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  position: relative;
  transition: border-color .2s, transform .2s;
  color: white;
  display: flex;
  flex-direction: column;
}
.tier-card:hover {
  border-color: rgba(255,255,255,0.30);
  transform: translateY(-3px);
}
.tier-card.is-highlight-mid {
  background: rgba(239, 121, 17, 0.12);
  border-color: rgba(239, 121, 17, 0.35);
  box-shadow: 0 6px 20px rgba(239, 121, 17, 0.15);
}
.tier-card.is-highlight-mid:hover { border-color: rgba(239, 121, 17, 0.60); }
.tier-card.is-highlight {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(239, 121, 17, 0.35);
}
.tier-card.is-highlight:hover { border-color: var(--primary-light); }
.tier-card.is-highlight-top {
  background: linear-gradient(135deg, #c45c00 0%, var(--primary) 60%, #ffaa44 100%);
  border-color: #ffaa44;
  box-shadow: 0 20px 60px rgba(239, 121, 17, 0.55), 0 0 0 2px rgba(255,170,68,0.30);
  transform: translateY(-4px) scale(1.02);
}
.tier-card.is-highlight-top:hover { border-color: #ffc170; box-shadow: 0 24px 70px rgba(239, 121, 17, 0.65), 0 0 0 2px rgba(255,170,68,0.50); }
.tier-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 99px;
  white-space: nowrap;
}
.tier-card-threshold {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.60);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.tier-card.is-highlight .tier-card-threshold { color: rgba(255,255,255,0.80); }
.tier-card-title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  color: white;
}
.tier-card-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  margin: 0 0 24px;
}
.tier-card.is-highlight .tier-card-desc { color: rgba(255,255,255,0.90); }
.tier-card-desc strong { color: white; }
.tier-card-perks {
  list-style: none;
  padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 7px;
  flex-grow: 1;
}
.tier-card-perks li {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
}
.tier-card-perks li strong { color: white; }
.tier-card.is-highlight .tier-card-perks li { color: rgba(255,255,255,0.92); }
.tier-card.is-highlight-top .tier-card-perks li { color: rgba(255,255,255,0.92); }
.tier-card-cta {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.tier-card.is-highlight .tier-card-cta { color: white; border-color: rgba(255,255,255,0.60); }
.tier-card-cta:hover { color: white; border-color: white; }
.tier-card-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.70);
  margin: -6px 0 18px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.tier-card.is-highlight-mid .tier-card-sub { color: rgba(255,255,255,0.75); }
.tier-card.is-highlight-mid {
  padding: 18px 20px 18px;
  font-size: 14px;
}
.tier-card-andreani {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 16px;
}
.tier-card-andreani span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
}
.tier-andreani-logo {
  height: 16px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
@media (max-width: 720px) {
  /* Una columna: evita la 3ra card huérfana y permite leer bien cada nivel */
  .tiers-grid { grid-template-columns: 1fr; gap: 14px; max-width: 440px; margin-left: auto; margin-right: auto; }
  .tier-card { padding: 26px 22px 22px; }
  /* En mobile el scale se ve raro — resetear */
  .tier-card.is-highlight-top { transform: none; }
  .tier-card.is-highlight-top:hover { transform: translateY(-2px); }
  .tier-card-title { font-size: 26px; }
  .tier-card-perks { gap: 6px; }
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; position: relative; transition: border-color .15s; }
.step:hover { border-color: var(--primary); }
.step .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 0.16em;
  font-weight: 600;
}
.step h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  margin: 14px 0 12px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}
.step p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }

/* ====== FOOTER ====== */
.footer { background: var(--moss-3); color: var(--bg); padding: 88px 0 32px; margin-top: 80px; position: relative; overflow: hidden; }
.footer::before {
  content: "";
  position: absolute;
  bottom: -100px; left: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle at center, rgba(239, 121, 17, 0.14), transparent 70%);
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; position: relative; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 88px; width: auto; margin-bottom: 20px; }
.footer h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: var(--primary);
  font-weight: 700;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a, .footer ul li { font-size: 13px; opacity: 0.82; transition: opacity .15s, color .15s; color: var(--bg); }
.footer ul a:hover { opacity: 1; color: var(--primary-light); }
.footer-tag {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
  opacity: 0.9;
  max-width: 340px;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: inline-flex; align-items: center; justify-content: center;
  color: white;
  transition: background .15s, color .15s;
}
.footer-social a:hover { background: var(--primary); color: white; }
.footer-andreani {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  margin-bottom: 0;
}
.footer-andreani-logo {
  height: 18px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}
.footer-andreani span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ====== RESPONSIVE GLOBAL ====== */
@media (max-width: 720px) {
  /* Sections */
  .section       { padding: 56px 0; }
  .section-tight { padding: 36px 0; }

  /* Section header: apilar en mobile */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }
  .section-header h2 { font-size: clamp(34px, 9vw, 56px); margin-top: 8px; }

  /* Banner: altura adaptada + alineación top para que el título no se corte */
  .banner { height: clamp(380px, 90vw, 520px); }
  .banner-slide { padding: 56px 22px 0; align-items: flex-start; padding-bottom: 0; }
  .banner-slide h1 { font-size: clamp(32px, 9vw, 52px); max-width: 92%; line-height: 1.0; }
  .banner-slide p  { font-size: 14px; margin-bottom: 24px; max-width: 90%; }
  .banner-cta      { padding: 13px 22px; }
  .banner-dots     { bottom: 22px; }

  /* Catálogo header */
  .cat-head { padding: 36px 0 24px; }
  .cat-head h1 { font-size: clamp(40px, 11vw, 68px); }
  .cat-head p { font-size: 14px; }
  .cat-toolbar { padding: 18px 0; gap: 0; flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Catalog chips: scroll horizontal — no wrapping desordenado */
  .cat-toolbar .chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    width: 100%;
  }
  .cat-toolbar .chip-row::-webkit-scrollbar { display: none; }
  .cat-toolbar .chip-row .chip { flex-shrink: 0; white-space: nowrap; }
  .chip { padding: 10px 16px; font-size: 11px; } /* mejor touch target */

  /* How to buy steps */
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step  { padding: 24px 20px; }
  .step h3 { font-size: 24px; margin: 10px 0 8px; }

  /* Product detail */
  .pd { padding: 24px 0 56px; }
  .pd-img { position: static; aspect-ratio: 3/4; }
  .pd-media { position: static; }
  .pd-info h1 { font-size: clamp(30px, 8.5vw, 48px); }
  .pd-thumbs { gap: 8px; }
  .pd-thumb { width: 54px; height: 54px; }
  .breadcrumb { font-size: 11px; gap: 4px; }
  .pres-row { padding: 13px 12px; gap: 8px; }
  .pres-row .pres-price { font-size: 13px; }

  /* Card: aspect-ratio más corto en 2 cols */
  .card-img { aspect-ratio: 3/4; }
  .card-title { font-size: 17px; }
  .card-price { margin-top: 8px; }
  .card:hover { transform: none; } /* sin lift en touch */

  /* Filosofía */
  .philo { padding: 60px 0; }
  .philo blockquote { font-size: clamp(24px, 6.5vw, 38px); }

  /* Footer */
  .footer { padding: 56px 0 96px; margin-top: 40px; }
  .footer-tag { font-size: 17px !important; line-height: 1.5; }
  .footer-grid { gap: 32px; }

  /* Filosofía section */
  .philo-side p { font-size: 14px; }
}

@media (max-width: 520px) {
  /* Cat strip en mobile chico */
  .cat-strip a { min-width: 110px; padding: 16px 12px; }
  .cat-strip .nm { font-size: 14px; }

  /* Cards: 2 cols en 520px, 1 col en menos */
  .grid-2 { grid-template-columns: 1fr; }

  /* Cart drawer más compacto */
  .cart-head { padding: 16px 16px; }
  .cart-body { padding: 14px 16px; }
  .cart-foot { padding: 16px; }
  .cart-item { grid-template-columns: 60px 1fr auto; gap: 10px; padding: 14px 0; }
  .cart-item-img { width: 60px; height: 76px; }
  .cart-item-info h4 { font-size: 13px; }
  .cart-item-price { font-size: 13px; }
  .cart-total-row { padding: 14px 0 10px; font-size: 14px; }
  .shipping-opts { grid-template-columns: 1fr; gap: 6px; }
  .shipping-opt { padding: 10px 12px; flex-direction: row; justify-content: space-between; align-items: center; }
  .shipping-opt-title { font-size: 12px; }
  .shipping-opt-price { font-size: 11px; }
  .btn-checkout { padding: 16px 14px; font-size: 13px; gap: 8px; }

  /* Modal checkout: apilar fields */
  .wa-modal-body .field-row { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr !important; }

  /* Announcement: achicar texto */
  .announcement { font-size: 10px; letter-spacing: 0.10em; padding: 7px 12px; }
  .announcement .dot { margin: 0 8px; }

  /* Toast */
  .toast { width: calc(100% - 40px); text-align: center; }

  /* Modales */
  .modal { margin: 0 12px; }
  .modal-body { padding: 20px 16px; }

  /* Product detail qty-row */
  .qty-row { flex-direction: column; align-items: stretch; }
  .btn-add { width: 100%; }
}

/* ====== MODAL / TOAST ====== */
/* ====== FLOATING WHATSAPP BUTTON ====== */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex; align-items: center; gap: 10px;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 10px 18px 10px 10px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 120;
  transition: transform .2s, opacity .2s, box-shadow .2s;
  text-decoration: none;
}
.wa-fab-icon { width: 38px; height: 38px; display: block; border-radius: 50%; flex-shrink: 0; }
.wa-fab-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  color: #fff;
}
.wa-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.60);
}
.wa-fab.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85) translateY(8px);
}
@media (max-width: 520px) {
  /* Solo ícono circular — el label tapa contenido en pantallas chicas */
  .wa-fab {
    bottom: 20px; right: 18px;
    width: 56px; height: 56px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
    gap: 0;
  }
  .wa-fab-icon { width: 56px; height: 56px; border-radius: 50%; }
  .wa-fab-label { display: none; }
}

.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: var(--bg);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 200;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); }
.toast .dot-ok { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

/* ====== ADMIN ====== */
.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background: #FAFAF7;
}

/* ── Sidebar ── */
.admin-side {
  background: var(--moss-3);
  color: var(--bg);
  padding: 28px 22px;
  display: flex; flex-direction: column;
  position: relative;
  z-index: 10;
}
.admin-side-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.admin-side-close { display: none; color: rgba(255,255,255,0.6); }
.admin-side-overlay { display: none; }

.admin-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.admin-nav button {
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  border-radius: 4px;
  transition: background .15s, color .15s;
  display: flex; align-items: center; gap: 12px;
}
.admin-nav button:hover { background: rgba(255,255,255,0.06); color: white; }
.admin-nav button.is-active { background: var(--primary); color: white; }
.admin-side .footer-user { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 11px; opacity: 0.65; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.admin-side .footer-user button { color: var(--primary); font-weight: 700; margin-top: 8px; text-decoration: underline; letter-spacing: 0.1em; text-transform: uppercase; font-size: 10px; }

/* ── Main ── */
.admin-topbar { display: none; }
.admin-main { padding: 36px 44px; overflow-y: auto; }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.admin-head h1 {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.005em;
  text-transform: uppercase;
  line-height: 1;
}
.admin-head .sub { font-size: 12px; color: var(--ink-3); margin-top: 6px; letter-spacing: 0.05em; }

/* ── Responsive admin ── */
@media (max-width: 860px) {
  /* Shell: sidebar oculto, todo el ancho para el contenido */
  .admin-shell { grid-template-columns: 1fr; }

  /* Sidebar: drawer lateral fijo */
  .admin-side {
    position: fixed;
    top: 0; left: 0;
    width: 260px;
    height: 100dvh;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
    z-index: 300;
    box-shadow: var(--shadow-lg);
  }
  .admin-side.is-open { transform: translateX(0); }
  .admin-side-close   { display: flex; }
  .admin-side-overlay {
    display: block;
    position: fixed; inset: 0;
    background: rgba(27,31,26,0.45);
    z-index: 299;
  }

  /* Topbar mobile */
  .admin-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: white;
    border-bottom: 1px solid var(--line);
    margin: -24px -20px 24px;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  .admin-topbar-title {
    flex: 1;
    font-family: var(--display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
  }
  .admin-hamburger { color: var(--ink-2); }

  /* Main: reducir padding */
  .admin-main { padding: 24px 20px; }

  /* Head */
  .admin-head h1 { font-size: 34px; }
  .admin-head { margin-bottom: 20px; }

  /* Stats: 2 columnas */
  .stat-grid { grid-template-columns: repeat(2, 1fr); }

  /* Dashboard panels: apilar */
  div[style*="grid-template-columns: 1.4fr 1fr"] { display: flex !important; flex-direction: column !important; }

  /* Tablas: scroll horizontal */
  .tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tbl { min-width: 560px; }

  /* Fields: 1 columna */
  .field-row   { grid-template-columns: 1fr !important; }
  .field-row-3 { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .admin-main { padding: 20px 14px; }
  .stat-grid  { grid-template-columns: 1fr; }
  .admin-head h1 { font-size: 28px; }
  .panel-body { padding: 16px; }
  .modal-head h3 { font-size: 22px; }
  .modal-body { padding: 16px; }
  .modal-foot { flex-direction: column-reverse; gap: 8px; }
  .modal-foot button { width: 100%; justify-content: center; }
}

.btn-primary {
  background: var(--primary);
  color: white;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 18px;
  border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost {
  background: white;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 18px;
  border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .15s, color .15s;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger { color: #B33A2C; border-color: rgba(179, 58, 44, 0.32); }
.btn-danger:hover { background: rgba(179, 58, 44, 0.06); border-color: #B33A2C; color: #B33A2C; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
@media (max-width: 1100px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card { background: white; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); transition: border-color .15s; }
.stat-card:hover { border-color: var(--primary); }
.stat-card .stat-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
}
.stat-card .stat-val {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 8px;
  line-height: 1;
  letter-spacing: 0.005em;
}
.stat-card .stat-meta { font-size: 11px; color: var(--ink-3); margin-top: 8px; letter-spacing: 0.04em; }

.panel { background: white; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; }
.panel-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-head h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.panel-body { padding: 24px; }

.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { text-align: left; padding: 14px 16px; font-size: 13px; border-bottom: 1px solid var(--line); }
.tbl th {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
}
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: var(--bg); }
.tbl .thumb { width: 40px; height: 50px; background: var(--bg-2); border-radius: 4px; background-image: repeating-linear-gradient(135deg, transparent 0 6px, rgba(27, 31, 26, 0.06) 6px 7px); }
.tbl-actions { display: flex; gap: 6px; justify-content: flex-end; }
.tbl-actions button {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  color: var(--ink-2);
  transition: background .15s;
  font-weight: 700;
}
.tbl-actions button:hover { background: var(--bg-2); color: var(--primary); }
.tbl-actions button.danger:hover { background: rgba(179, 58, 44, 0.1); color: #B33A2C; }
.tag {
  display: inline-block; padding: 4px 9px; border-radius: 4px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  background: var(--bg-2); color: var(--ink-2);
}
.tag.green { background: rgba(45, 90, 50, 0.1); color: #2D5A32; }
.tag.amber { background: rgba(239, 121, 17, 0.12); color: var(--primary-dark); }
.tag.red { background: rgba(179, 58, 44, 0.1); color: #B33A2C; }

/* Inputs */
.field { display: block; margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
  font-weight: 700;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 11px 13px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* Banner edit list */
.banner-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.banner-swatch { width: 60px; height: 60px; border-radius: 6px; }
.banner-row-info h5 { margin: 0 0 4px; font-family: var(--display); font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: 0.01em; text-transform: uppercase; }
.banner-row-info p { margin: 0; font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }
.switch { position: relative; width: 38px; height: 22px; background: var(--line-2); border-radius: 999px; cursor: pointer; transition: background .15s; }
.switch::after { content: ""; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; background: white; border-radius: 50%; transition: transform .2s; }
.switch.is-on { background: var(--primary); }
.switch.is-on::after { transform: translateX(16px); }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(27, 31, 26, 0.55); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.modal {
  background: white; border-radius: var(--radius-lg);
  width: 100%; max-width: 720px; max-height: 90vh; overflow-y: auto;
}
.modal-head { padding: 22px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.modal-head h3 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.modal-body { padding: 24px; }
.modal-foot { padding: 18px 24px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; background: var(--bg); }

/* Remito modal */
.modal-remito { max-width: 900px; }
.remito-items-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.remito-items-head {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--bg-2);
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink-3);
  border-bottom: 1px solid var(--line);
}
.remito-item-row {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.remito-item-row:last-of-type { border-bottom: none; }
.remito-item-row input[type="text"],
.remito-item-row input[type="number"] {
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 13px;
  color: var(--ink);
  background: white;
}
.remito-item-row input[type="text"]:focus,
.remito-item-row input[type="number"]:focus { outline: none; border-color: var(--primary); }
.remito-item-row select {
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 4px 6px;
  background: var(--bg);
  color: var(--ink-3);
}
@media (max-width: 720px) {
  .modal-remito { max-width: 100%; }
  .remito-items-head { display: none; }
  .remito-item-row { flex-wrap: wrap; }
}

/* Login */
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 880px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-side  { display: none; }
  .login-form-wrap { padding: 40px 24px; min-height: 100vh; }
}
.login-side { background: var(--moss); color: var(--bg); padding: 64px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-side::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle at center, rgba(239, 121, 17, 0.2), transparent 70%);
}
.login-side > * { position: relative; }
.login-side img.logo-mark { width: 96px; height: auto; }
.login-side .display { font-family: var(--display); font-size: clamp(34px, 4.2vw, 58px); font-weight: 500; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; }
.login-side .display em { color: var(--primary); font-style: normal; }
.login-side .eyebrow { color: var(--primary); margin-bottom: 18px; }
.login-side .login-foot { font-size: 12px; opacity: 0.65; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.login-form-wrap { display: flex; align-items: center; justify-content: center; padding: 64px; background: var(--bg); }
.login-form { width: 100%; max-width: 380px; }
.login-form h2 { font-family: var(--display); font-size: 38px; font-weight: 500; margin: 0 0 10px; color: var(--ink); letter-spacing: 0.01em; text-transform: uppercase; }
.login-form p { color: var(--ink-3); margin: 0 0 28px; font-size: 13px; line-height: 1.55; }
.login-form .btn-primary { width: 100%; height: 52px; justify-content: center; font-size: 12px; }
.login-form .err { background: rgba(179, 58, 44, 0.08); color: #B33A2C; padding: 11px 14px; border-radius: 4px; font-size: 13px; margin-bottom: 16px; }
.login-form .back-home {
  display: block;
  text-align: center;
  margin-top: 22px;
  font-size: 10px;
  color: var(--ink-3);
  text-decoration: underline;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

/* WhatsApp checkout preview */
.wa-modal-body p { font-size: 13px; color: var(--ink-2); margin: 0 0 16px; line-height: 1.6; }
.wa-preview {
  font-family: var(--mono);
  font-size: 12px;
  background: #E5DDD5;
  padding: 14px;
  border-radius: 8px;
  white-space: pre-wrap;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--line);
  line-height: 1.55;
  color: var(--ink);
}

/* utility */
.hide { display: none !important; }
.spacer-sm { height: 16px; }
.spacer-md { height: 32px; }
