/* ==========================================================================
   Bernardita Barresi — Design System
   ========================================================================== */

:root {
  --color-bg: #fefcf9;
  --color-bg-alt: #f4efe6;
  --color-surface: #ffffff;
  --color-text: #201d19;
  --color-text-muted: #6f6a62;
  --color-border: #e6ddcf;
  --color-accent: #a97d55;
  --color-accent-dark: #7c5a3c;
  --color-black: #17140f;
  --color-success: #3f7a5c;
  --color-success-bg: #e9f3ee;
  --color-warning: #b5732a;
  --color-warning-bg: #fbf0e2;
  --color-danger: #b3402f;

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(23, 20, 15, 0.08);
  --shadow-md: 0 8px 24px rgba(23, 20, 15, 0.10);
  --shadow-lg: 0 16px 48px rgba(23, 20, 15, 0.16);

  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--color-black);
}
h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.6rem); }
h2 { font-size: clamp(1.7rem, 2.5vw + 1rem, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section-tight { padding: 36px 0; }

.section-title {
  text-align: center;
  margin-bottom: 8px;
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--color-black);
  min-height: 50px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--color-black);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); }
.btn-secondary {
  background: transparent;
  color: var(--color-black);
}
.btn-secondary:hover { background: var(--color-black); color: #fff; }
.btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1eb857; border-color: #1eb857; }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; min-height: 56px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn:active { transform: scale(0.98); }

.link-underline {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--color-black);
  color: #eee7da;
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { opacity: 0.9; }
.topbar-contact { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-contact span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.brand-name {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-bottom-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}
.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--color-accent-dark);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.trust-bar ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 14px 20px;
  text-align: center;
}
.trust-bar li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
}
.trust-bar svg { flex-shrink: 0; color: var(--color-accent-dark); }

/* ---------- Hero slider (pantalla completa) ---------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--chrome-h, 0px));
  height: calc(100svh - var(--chrome-h, 0px));
  min-height: 480px;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.hero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}
.hero-slide picture,
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* El calzado suele quedar en la mitad inferior de la foto: sesgamos el
     recorte hacia abajo para que un hero muy ancho/bajo no lo corte. */
  object-position: center 72%;
}
.hero-slide-fallback-bg,
.hero-slide-fallback-badge {
  display: none;
}
.hero-slide-fallback-bg {
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hue-a, #e9ddc9), var(--hue-b, #cbb495));
}
.hero-slide-fallback-bg svg { width: 70px; height: 70px; opacity: 0.45; color: rgba(23, 20, 15, 0.6); }
.hero-slide-fallback-badge {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  max-width: calc(100% - 32px);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  background: rgba(23, 20, 15, 0.62);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.74rem;
  font-weight: 600;
  text-align: center;
}
.hero-slide-fallback-badge code {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.7rem;
}
.hero-slide.img-missing picture { visibility: hidden; }
.hero-slide.img-missing .hero-slide-fallback-bg,
.hero-slide.img-missing .hero-slide-fallback-badge { display: flex; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 12, 8, 0.72) 0%, rgba(15, 12, 8, 0.4) 38%, rgba(15, 12, 8, 0.05) 62%, rgba(15, 12, 8, 0) 75%);
  pointer-events: none;
}
.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  padding: 48px 20px 0;
  color: #fff;
}
.hero-content .container { max-width: var(--container); margin: 0 auto; }
.hero-content .eyebrow-light { color: #f1e4d3; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.hero-content h1 { color: #fff; max-width: 640px; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45), 0 1px 4px rgba(0, 0, 0, 0.35); }
.hero-content p { color: rgba(255, 255, 255, 0.92); max-width: 480px; font-size: 1.08rem; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); }
.hero-cta { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; align-items: center; }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--color-black); }

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  padding: 0;
}
.hero-dot[aria-current="true"] { background: #fff; }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(23, 20, 15, 0.3);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-arrow:hover { background: rgba(23, 20, 15, 0.55); }
.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }

/* ---------- Placeholder media block ---------- */
.ph-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hue-a, #e9ddc9), var(--hue-b, #cbb495));
  color: rgba(23, 20, 15, 0.55);
  aspect-ratio: var(--ar, 1/1);
  overflow: hidden;
}
.ph-media svg { width: 34%; height: 34%; opacity: 0.75; }
.ph-media .ph-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(23, 20, 15, 0.65);
  color: #fff;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* ---------- Product cards / grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-card-media { position: relative; --ar: 4/5; }
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-warning-bg);
  color: var(--color-warning);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 20px;
  z-index: 2;
}
.product-card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-colors { font-size: 0.72rem; color: var(--color-text-muted); }
.product-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; }
.product-price { font-weight: 700; font-size: 1.05rem; }
.product-price-transfer { font-size: 0.75rem; color: var(--color-success); font-weight: 600; }
.product-card .btn { margin-top: auto; }

/* ---------- Filters ---------- */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.chip {
  padding: 9px 18px;
  border-radius: 30px;
  border: 1.5px solid var(--color-border);
  font-size: 0.85rem;
  font-weight: 600;
  background: #fff;
}
.chip[aria-pressed="true"] {
  background: var(--color-black);
  border-color: var(--color-black);
  color: #fff;
}

/* ---------- Sections: story / trust / testimonials ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
}
.trust-card svg { color: var(--color-accent-dark); margin-bottom: 12px; }
.trust-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.trust-card p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.stars { color: var(--color-accent); letter-spacing: 2px; margin-bottom: 10px; font-size: 0.95rem; }
.testimonial-name { font-weight: 700; margin-top: 12px; font-size: 0.88rem; }
.testimonial-role { color: var(--color-text-muted); font-size: 0.78rem; }

/* ---------- Payment / shipping strip ---------- */
.transfer-banner {
  background: var(--color-success-bg);
  border: 1px solid #cfe6da;
  color: var(--color-success);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-black);
  color: #cfc8ba;
  padding: 56px 0 24px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { color: #a39c8d; font-size: 0.88rem; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pay-badges span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #e5ded0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 0.78rem;
  color: #8b8474;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-teaser {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  max-width: 190px;
  animation: wa-in 0.4s ease 1.2s both;
  position: relative;
}
.wa-teaser button {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--color-black);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  font-size: 0.7rem;
  line-height: 1;
}
.wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: #fff;
  flex-shrink: 0;
}
@keyframes wa-in {
  from { opacity: 0; transform: translateY(8px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Cart drawer ---------- */
.overlay {
  position: fixed; inset: 0;
  background: rgba(23,20,15,0.45);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: #fff;
  z-index: 101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
}
.cart-drawer-header button { background: none; border: none; font-size: 1.4rem; line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.cart-item .ph-media { width: 72px; height: 72px; border-radius: var(--radius-sm); flex-shrink: 0; --ar: 1/1; }
.cart-item-info { flex: 1; }
.cart-item-info .name { font-weight: 600; font-size: 0.9rem; }
.cart-item-info .meta { font-size: 0.78rem; color: var(--color-text-muted); }
.qty-control { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.qty-control button {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--color-border); background: #fff;
}
.cart-item-remove { font-size: 0.75rem; color: var(--color-danger); font-weight: 600; margin-top: 6px; background: none; border: none; padding: 0; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--color-text-muted); }
.cart-drawer-footer { padding: 18px 20px 22px; border-top: 1px solid var(--color-border); }
.cart-subtotal { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.cart-drawer-footer .transfer-banner { margin-bottom: 14px; }

/* ---------- Size guide modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 110;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(23,20,15,0.5); }
.modal-box {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
}
.modal-box .close-modal {
  position: absolute; top: 16px; right: 16px;
  background: var(--color-bg-alt); border: none; width: 32px; height: 32px; border-radius: 50%;
  font-size: 1rem;
}
.size-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.size-table th, .size-table td {
  border: 1px solid var(--color-border);
  padding: 9px 10px;
  text-align: center;
  font-size: 0.88rem;
}
.size-table th { background: var(--color-bg-alt); }
.steps-list { counter-reset: step; }
.steps-list li {
  counter-increment: step;
  position: relative;
  padding-left: 40px;
  margin-bottom: 16px;
}
.steps-list li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 28px; height: 28px;
  background: var(--color-black); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  padding: 16px 0;
}
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Product page ---------- */
.product-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
}
.gallery-main { --ar: 4/5; border-radius: var(--radius-lg); margin-bottom: 12px; }
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumbs .ph-media { --ar: 1/1; width: 78px; border-radius: var(--radius-sm); cursor: pointer; border: 2px solid transparent; }
.gallery-thumbs .ph-media.active { border-color: var(--color-black); }

.product-title-row .eyebrow { display: block; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 12px 0 6px; }
.price-row .price { font-size: 1.7rem; font-weight: 700; }
.stock-status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--color-success); margin-bottom: 18px; }
.stock-status svg { width: 16px; height: 16px; }

.option-group { margin-bottom: 22px; }
.option-label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; }
.option-label button { font-size: 0.8rem; font-weight: 600; color: var(--color-accent-dark); background: none; border: none; text-decoration: underline; }
.color-options { display: flex; gap: 10px; }
.color-swatch {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid #fff;
  outline: 2px solid var(--color-border);
  cursor: pointer;
}
.color-swatch[aria-pressed="true"] { outline: 2px solid var(--color-black); }
.size-options { display: flex; gap: 10px; flex-wrap: wrap; }
.size-option {
  min-width: 46px; height: 46px; padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: #fff;
  font-weight: 600;
}
.size-option[aria-pressed="true"] { border-color: var(--color-black); background: var(--color-black); color: #fff; }
.size-option[disabled] {
  color: var(--color-text-muted);
  text-decoration: line-through;
  background: repeating-linear-gradient(135deg, #f3efe7, #f3efe7 4px, #ece5d7 4px, #ece5d7 8px);
  cursor: not-allowed;
}
.notify-link { font-size: 0.82rem; margin-top: 8px; }

.product-cta { display: flex; gap: 12px; margin: 26px 0 18px; }
.product-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.product-trust li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 0.76rem; font-weight: 600; }
.product-trust svg { color: var(--color-accent-dark); }

.accordion-item { border-bottom: 1px solid var(--color-border); }
.accordion-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 2px; background: none; border: none; font-weight: 700; font-size: 0.95rem;
}
.accordion-trigger .chevron { transition: transform 0.2s ease; }
.accordion-item[data-open="true"] .chevron { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.accordion-panel-inner { padding-bottom: 16px; }

.wa-inline {
  display: flex; align-items: center; gap: 12px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 22px;
  font-size: 0.88rem;
}
.wa-inline svg { color: #25d366; flex-shrink: 0; }

/* Sticky mobile add-to-cart */
.sticky-add { display: none; }

/* ---------- Story / quienes somos ---------- */
.story-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 64px; }
.story-block.reverse .story-media { order: 2; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { text-align: center; padding: 10px; }
.value-card svg { color: var(--color-accent-dark); margin-bottom: 10px; }

/* ---------- Steps (como comprar) ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: st; }
.step-card { text-align: center; padding: 10px; position: relative; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--color-black); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-heading);
  font-size: 1.3rem; margin: 0 auto 14px;
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--color-border); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus { outline: 2px solid var(--color-accent); border-color: var(--color-accent); }
.form-note { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 6px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.contact-info-card li { display: flex; gap: 12px; margin-bottom: 18px; font-size: 0.92rem; }
.contact-info-card svg { color: var(--color-accent-dark); flex-shrink: 0; margin-top: 2px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-black);
  color: #fff;
  padding: 13px 22px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Utility banner (dev notice) ---------- */
.dev-banner {
  background: #fff4d6;
  color: #6b4e00;
  text-align: center;
  font-size: 0.78rem;
  padding: 8px 16px;
  border-bottom: 1px solid #f0dfa0;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split, .story-block, .story-block.reverse { grid-template-columns: 1fr; }
  .story-block.reverse .story-media { order: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .product-page { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero-arrow { display: none; }
  .hero-content { padding: 24px 16px 0; }
  .hero-content h1 { font-size: 1.7rem; margin-bottom: 0.3em; }
  .hero-content p { display: none; }
  .hero-cta { margin-top: 14px; gap: 8px; }
  .hero-cta .btn-lg { padding: 13px 24px; min-height: 44px; font-size: 0.92rem; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; flex-shrink: 0; }
  .site-header .container { gap: 8px; }
  .header-actions { gap: 6px; flex-shrink: 0; }
  .brand { gap: 8px; min-width: 0; }
  .brand-mark { width: 38px; height: 38px; font-size: 0.95rem; }
  .brand-name { font-size: 1.05rem; }
  .brand-sub { display: none; }
  .header-actions .icon-btn[href] { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    width: 78vw;
    max-width: 320px;
    height: 100%;
    background: #fff;
    padding: 90px 28px 28px;
    gap: 22px;
    z-index: 95;
    box-shadow: var(--shadow-lg);
    align-items: flex-start;
  }
  .topbar-contact span:nth-child(2) { display: none; }
  .trust-bar ul {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 22px;
    padding: 11px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .trust-bar ul::-webkit-scrollbar { display: none; }
  .trust-bar li { font-size: 0.74rem; white-space: nowrap; flex-shrink: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card-body { padding: 12px; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .btn-lg { width: 100%; }
  .sticky-add {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
    padding: 12px 16px;
    gap: 10px;
    z-index: 80;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.08);
  }
  .sticky-add .price { font-weight: 700; align-self: center; margin-right: auto; }
  body.has-sticky-add { padding-bottom: 78px; }
  .wa-float { right: 14px; bottom: 90px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2rem; }
}
