/* SACATE S.A. — Mobile-first styles
   Identity: white background, black header, blue accent, clean and premium look. */

:root {
  --bg: #ffffff;
  --ink: #000000;
  --muted: #666666;
  --black: #0a0a0a;
  --black-soft: #1c1c1c;
  --accent: #1d4ed8;
  --accent-dark: #163da0;
  --accent-soft: #eaf1ff;
  --cta: #000000;
  --cta-hover: #262626;
  --announce: #2e3a59;
  --line: #ececec;
  --sale: #d43b2a;
  --wa: #25d366;
  --wa-dark: #1ebe5d;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-input: 4px;
  --max: 1200px;
  --header-h: 60px;
  --font: "Open Sans", "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
  --font-display: "Poppins", "Segoe UI", Arial, Helvetica, sans-serif;
  --font-logo: Georgia, "Times New Roman", serif;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.14);
  --shadow-wa: 0 8px 24px rgba(37, 211, 102, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.15; font-family: var(--font-display); }
h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 700; }
h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 700; }
h3 { font-size: clamp(20px, 3vw, 24px); font-weight: 600; }
p { line-height: 1.55; }

/* ---------- Info bar (wraps, never cut off) ---------- */
.info-bar {
  background: var(--announce);
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  padding: 10px 14px;
  text-align: center;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--black);
  color: #fff;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.header__left { display: flex; align-items: center; gap: 10px; }

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
}
.logo-mark {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800; color: #fff;
}
.logo-text { font-family: var(--font-logo); font-size: 22px; font-weight: 700; letter-spacing: 2px; }

/* Hamburger menu button (mobile) */
.menu-open-btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: none; border: 0; color: #fff;
}
.menu-open-btn svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }

/* Header actions (right) */
.header__actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: #fff;
  border-radius: 12px;
  transition: background var(--transition, 0.15s);
}
.icon-btn:hover, .icon-btn:focus-visible { background: rgba(255, 255, 255, 0.1); }
.icon-btn svg { width: 21px; height: 21px; stroke: #fff; stroke-width: 2; fill: none; }

.cart-badge {
  position: absolute; top: 4px; right: 2px;
  background: var(--sale); color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 17px; height: 17px; line-height: 17px;
  border-radius: 9px; text-align: center;
  border: 2px solid var(--black);
  display: none;
}
.cart-badge.is-visible { display: block; }

/* ==========================================================================
   Single navigation (mobile = drawer, desktop = horizontal bar)
   ========================================================================== */
.overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, 0.55);
  visibility: hidden; opacity: 0; transition: opacity 0.2s;
}
.overlay.is-open { visibility: visible; opacity: 1; }

.site-nav {
  position: fixed; top: 0; bottom: 0; left: 0;
  width: 84%; max-width: 340px;
  background: var(--black); color: #fff;
  z-index: 101;
  transform: translateX(-100%); transition: transform 0.28s;
  padding: 20px 20px 24px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px;
}
.site-nav.is-open { transform: translateX(0); }
.nav-close {
  width: 40px; height: 40px;
  margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12); border: 0; color: #fff;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s;
  flex: 0 0 auto;
}
.nav-close:hover, .nav-close:focus-visible { background: rgba(255,255,255,0.22); }
.nav-link {
  display: inline-flex; align-items: center;
  padding: 12px 14px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  color: #fff;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover, .nav-link:focus-visible { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav-link.is-active { background: var(--accent); color: #fff; }
.nav-foot { margin-top: 20px; font-size: 12.5px; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* ---------- Mobile drawer (drill-down menu) ---------- */
.nav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 2px 0 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 10px;
}
.nav-back {
  width: 40px; height: 40px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); border: 0; color: #fff;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s;
  visibility: visible;
  opacity: 1;
}
.nav-back:hover { background: rgba(255,255,255,0.22); }
.nav-back svg { width: 20px; height: 20px; }
.nav-back.is-hidden { visibility: hidden; opacity: 0; pointer-events: none; }
.nav-brand {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; letter-spacing: 2px;
  color: #fff;
}

.nav-list { display: flex; flex-direction: column; gap: 4px; }
.nav-item {
  width: 100%;
  text-align: left;
  display: inline-flex; align-items: center;
  padding: 13px 16px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  color: #fff;
  background: none; border: 0;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.nav-item:hover, .nav-item:focus-visible { background: rgba(255,255,255,0.1); color: #fff; }
.nav-item.is-active { background: var(--accent); color: #fff; }
.nav-item.nav-cat { justify-content: space-between; }
.nav-item.nav-cat::after { content: "›"; color: rgba(255,255,255,0.6); font-size: 20px; line-height: 1; }

.nav-sub-link { padding-left: 24px; font-weight: 500; }

/* Desktop dropdown bar */
.nav-desktop-links { display: none; }
@media (min-width: 1024px) {
  .nav-desktop-links { display: flex; align-items: center; gap: 4px; }
  .nav-desktop-links .nav-link { padding: 9px 14px; font-size: 14px; color: #e9e9e9; }
  .nav-drop {
    position: relative;
    list-style: none;
  }
  .nav-drop summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex; align-items: center;
    padding: 9px 14px;
    font-family: var(--font-display);
    font-size: 14px; font-weight: 600;
    color: #e9e9e9;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
  }
  .nav-drop summary::-webkit-details-marker { display: none; }
  .nav-drop summary .nav-chevron {
    margin-left: 7px;
    width: 14px; height: 14px;
    stroke: rgba(255,255,255,0.65);
    stroke-width: 2; fill: none;
    transition: transform 0.2s;
  }
  .nav-drop[open] summary .nav-chevron { transform: rotate(180deg); }
  .nav-drop summary:hover, .nav-drop[open] summary { background: rgba(255,255,255,0.1); color: #fff; }
  .nav-drop-panel {
    position: absolute; top: 100%; left: 0;
    min-width: 200px;
    background: var(--black);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 8px;
    display: flex; flex-direction: column; gap: 2px;
    z-index: 120;
  }
  .nav-drop-panel .nav-link { width: 100%; white-space: nowrap; }
  .nav-drop-panel .nav-sub-link { padding-left: 14px; }
  .nav-drop-panel .nav-sub-link:first-child { font-weight: 700; }
}
.nav-foot { margin-top: 20px; font-size: 12.5px; color: rgba(255,255,255,0.6); line-height: 1.5; }

@media (min-width: 1024px) {
  .site-nav {
    position: static; width: auto; flex: 1;
    flex-direction: row; align-items: center; justify-content: center;
    gap: 6px; padding: 6px 8px; margin: 0 auto;
    transform: none; overflow: visible;
  }
  .nav-close, .nav-bar, .nav-list, .nav-foot { display: none; }
}

/* ==========================================================================
   Search (overlay)
   ========================================================================== */
.search-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 110;
  background: #fff; padding: 20px;
  transform: translateY(-100%); transition: transform 0.28s;
  visibility: hidden;
}
.search-overlay.is-open { transform: translateY(0); visibility: visible; }
.search-overlay .menu-close {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #f2f2f2; border: 0; color: var(--ink);
  border-radius: 10px;
}
.search-head { display: flex; align-items: center; gap: 12px; }
.search-input {
  flex: 1;
  font-family: var(--font);
  font-size: 16px; padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-bottom: 2px solid var(--ink);
  border-radius: var(--radius-input);
  color: var(--ink);
  outline: none;
}
.search-results { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.search-result { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; }
.search-result img, .search-thumb { width: 44px; height: 52px; object-fit: cover; border-radius: 6px; }
.search-result-name { font-weight: 600; font-size: 14px; }
.search-result-price { font-size: 13px; color: var(--muted); }
.search-empty { color: var(--muted); padding: 20px; text-align: center; }

/* ==========================================================================
   Layout
   ========================================================================== */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 28px 16px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.section-title { color: var(--ink); font-size: clamp(22px, 5.5vw, 36px); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; flex: 0 0 auto; }
.link-more { color: var(--accent); font-weight: 600; font-size: 14px; }
.link-more:hover { color: var(--accent-dark); }

/* ==========================================================================
   Hero (no photo: clean gradient, ready for real image later)
   ========================================================================== */
.hero { position: relative; color: #fff; }
.hero-media {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 80% at 75% 20%, rgba(255,255,255,0.08) 0%, transparent 50%),
    linear-gradient(160deg, #1a1a1a 0%, #2e2e2e 55%, #161616 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 30px 16px;
  width: 100%;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: #c9c9c9; margin-bottom: 10px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(46px, 10vw, 72px);
  font-weight: 700; letter-spacing: 2px; margin: 0;
  text-transform: uppercase;
}
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(18px, 3.5vw, 24px); font-weight: 400;
  color: #fff; margin: 16px 0 0; letter-spacing: 0.5px;
}
.hero-copy .btn { margin-top: 28px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600; letter-spacing: .5px;
  border-radius: var(--radius-sm);
  border: 0;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--cta); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--cta-hover); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--black); color: var(--black);
  font-family: var(--font-display);
  font-weight: 600; padding: 14px 20px; border-radius: var(--radius-sm);
}
.btn-outline:hover { background: #f5f5f5; }

.btn-ghost { font-family: var(--font-display); background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; padding: 14px; border-radius: var(--radius-sm); }
.btn-dark { font-family: var(--font-display); background: var(--cta); color: #fff; font-weight: 600; font-size: 14px; padding: 14px; border-radius: var(--radius-sm); }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--cta-hover); }

/* WhatsApp button (primary and floating) */
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--wa); color: #fff;
  font-family: var(--font-display);
  font-weight: 700; padding: 15px 24px; border-radius: var(--radius-sm);
  font-size: 15px; letter-spacing: .2px;
  box-shadow: var(--shadow-wa);
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
}
.btn-wa:hover, .btn-wa:focus-visible { background: var(--wa-dark); transform: translateY(-1px); }
.btn-wa svg { width: 19px; height: 19px; fill: #fff; flex-shrink: 0; }

/* Add-to-order button */
.btn-add2 {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--cta); color: #fff;
  font-family: var(--font-display);
  font-weight: 700; padding: 16px; border: 0; border-radius: var(--radius-sm);
  font-size: 15px; width: 100%;
}
.btn-add2:hover, .btn-add2:focus-visible { background: var(--cta-hover); }
.btn-add2:disabled { background: #b9b9b9; color: #fff; cursor: not-allowed; }

/* ==========================================================================
   Products — 2 column grid
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; transition: box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); }
.product-card .media { position: relative; aspect-ratio: 1/1; background: #f5f5f5; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .product-card .media { aspect-ratio: 4/5; } }

/* Discount / offer badges */
.badge {
  position: absolute; top: 10px; left: 10px;
  z-index: 1;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .4px;
  padding: 5px 9px; border-radius: 999px;
}
.badge-sale {
  background: var(--sale); color: #fff;
  box-shadow: 0 2px 8px rgba(212, 63, 42, 0.35);
}
.badge-off { background: var(--black); color: #fff; }
.badge-new { background: var(--accent); color: #fff; }

.product-card .body { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 16px; }
.p-name { font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.p-price-row { display: flex; align-items: baseline; gap: 5px; margin-top: 5px; flex-wrap: wrap; }
.p-price { font-family: var(--font); font-size: 14px; font-weight: 400; color: var(--ink); }
.p-oldprice { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.p-off { font-size: 11px; font-weight: 700; color: var(--sale); }

.card-actions { display: flex; margin-top: auto; padding-top: 12px; }
.btn-view {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--black); color: var(--black);
  font-family: var(--font-display);
  font-weight: 600; font-size: 13px; padding: 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.btn-view:hover, .btn-view:focus-visible { background: #f5f5f5; }
@media (min-width: 768px) {
  .card-actions { margin-top: 10px; }
  .btn-view { padding: 11px 12px; font-size: 12px; }
}

/* ==========================================================================
   Contact page (Escríbenos)
   ========================================================================== */
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 6vw, 40px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ink);
  margin: 0;
}

/* ==========================================================================
   Categories
   ========================================================================== */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.category-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4;
  display: flex; align-items: flex-end;
}
.cat-hombre { background: linear-gradient(160deg, #333 0%, #1c1c1c 100%); }
.cat-mujer { background: linear-gradient(160deg, #4a3630 0%, #2c2120 100%); }
.cat-ninos { background: linear-gradient(160deg, #2c3c52 0%, #182434 100%); }
.category-card .label {
  position: relative; width: 100%;
  color: #fff; padding: 12px; font-weight: 700; font-size: 15px;
  font-family: var(--font-display); letter-spacing: .5px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
}
@media (min-width: 768px) {
  .category-card .label { font-size: 18px; }
}

/* ==========================================================================
   Catalog: action bar
   ========================================================================== */
.catalog-bar {
  display: flex; flex-direction: column; align-items: stretch; gap: 8px;
  padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line);
}
.catalog-head { margin-bottom: 4px; }
.sort-wrap { position: relative; display: flex; flex-direction: column; gap: 6px; }
.sort-label {
  font-family: var(--font);
  font-size: 14px; font-weight: 600;
  color: var(--ink);
}
.sort-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  color: var(--black);
  background: #fff;
  border: 1.5px solid var(--black);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  cursor: pointer;
  white-space: nowrap;
}
.sort-btn:hover, .sort-btn:focus-visible { border-color: var(--cta); outline: none; }
.sort-chevron { width: 16px; height: 16px; stroke: var(--black); transition: transform 0.2s; flex-shrink: 0; }
.sort-wrap.is-open .sort-chevron { transform: rotate(180deg); }
.sort-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  z-index: 140;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.sort-panel.is-open { display: flex; }
.sort-opt {
  text-align: left; width: 100%;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  color: var(--ink);
  background: none; border: 0;
  border-radius: 8px;
  padding: 11px 12px;
  cursor: pointer;
}
.sort-opt:hover, .sort-opt:focus-visible { background: #f5f5f5; }
.sort-opt.is-active { background: var(--black); color: #fff; }

/* ==========================================================================
   Product page
   ========================================================================== */
.pd { padding: 0 16px; }
.pd-gallery { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.pd-thumb { width: 62px; height: 76px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.pd-thumb.active { border-color: var(--black); }
.pd-info { padding-top: 16px; }
.pd-name { font-family: var(--font-display); font-size: clamp(26px, 6vw, 34px); font-weight: 700; }
.pd-prices { margin-top: 8px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pd-price { font-family: var(--font); font-size: 27px; font-weight: 600; }
.pd-oldprice { font-family: var(--font); font-size: 16px; color: var(--muted); text-decoration: line-through; }
.pd-discount {
  display: inline-block; font-size: 12px; font-weight: 800; color: #fff;
  background: var(--sale); padding: 3px 8px; border-radius: 6px;
}
.pd-stock { font-size: 13px; font-weight: 700; color: #1a9c3c; margin-top: 6px; }
.pd-stock::before { content: "● "; font-size: 10px; }
.pd-stock.out { color: var(--sale); }

.variant-label { font-family: var(--font-display); font-size: 14px; font-weight: 600; margin: 18px 0 8px; }
.color-opt { width: 36px; height: 36px; border-radius: 50%; border: 2px solid transparent; display: inline-block; }
.color-opt.selected { border-color: var(--black); box-shadow: 0 0 0 2px var(--black); }
.size-opt {
  min-width: 48px; padding: 11px; border: 1.5px solid var(--line); background: #fff;
  font-family: var(--font-display); font-weight: 600; border-radius: 9px; text-align: center; font-size: 14px;
}
.size-opt.selected { background: var(--black); color: #fff; border-color: var(--black); }
.size-opt.disabled { opacity: .35; cursor: not-allowed; }

.qty-control { display: inline-flex; align-items: center; border: 1.5px solid var(--black); border-radius: 9px; }
.qty-btn { width: 44px; height: 44px; font-size: 20px; background: #fff; border: 0; color: var(--black); }
.qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.qty-value { width: 48px; text-align: center; font-weight: 800; font-size: 16px; }

.pd-cta { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
.pd-cta .btn-add2 { background: var(--cta); color: #fff; font-weight: 700; padding: 16px; border: 0; border-radius: var(--radius-sm); font-size: 15px; }

.size-guide-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent-soft); border: 0; color: var(--accent);
  font-family: var(--font-display); font-weight: 600; font-size: 14px; padding: 11px 16px; border-radius: 9px;
  margin-top: 16px;
}
.size-guide-toggle svg { width: 16px; height: 16px; stroke: var(--accent); }

/* Size guide modal */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.6); visibility: hidden; opacity: 0; transition: opacity 0.2s; display: flex; align-items: flex-end; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal-panel { background: #fff; width: 100%; max-height: 86%; overflow-y: auto; border-radius: 18px 18px 0 0; padding: 22px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.modal-close { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: #f2f2f2; border: 0; font-size: 18px; border-radius: 10px; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.guide-table th, .guide-table td { border: 1px solid var(--line); padding: 10px; text-align: left; }
.guide-table th { background: #f7f7f7; font-weight: 700; }
.guide-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* ==========================================================================
   Accordions
   ========================================================================== */
.accordion { border-bottom: 1px solid var(--line); }
.accordion-head {
  background: none; border: 0; width: 100%; text-align: left;
  font-family: var(--font-display);
  padding: 16px; font-weight: 600; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center;
}
.accordion-head svg { width: 18px; height: 18px; stroke: var(--ink); transition: transform 0.2s; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.25s; }
.accordion-body .inner { padding: 0 16px 16px; }
.accordion.open .accordion-body { max-height: 400px; }
.accordion.open .accordion-head svg { transform: rotate(180deg); }
.accordion-list { display: flex; flex-wrap: wrap; gap: 6px; }
.accordion-list .tag { background: #f2f2f2; padding: 6px 10px; border-radius: 6px; font-size: 13px; }

/* ==========================================================================
   Order (cart)
   ========================================================================== */
.order-empty { text-align: center; padding: 60px 16px; }
.order-empty h2 { font-size: 22px; }

.order-item { display: flex; gap: 12px; align-items: center; padding: 14px; border-bottom: 1px solid var(--line); }
.order-item img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; }
.order-item .info { flex: 1; }
.order-item .name { font-weight: 700; }
.order-item .meta { font-size: 13px; color: var(--muted); }
.order-item .line { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-ctrl { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; }
.qty-ctrl button { width: 34px; height: 34px; background: #fff; border: 0; font-size: 16px; color: var(--ink); }
.qty-ctrl .val { min-width: 32px; text-align: center; font-weight: 700; }
.order-item .price { font-weight: 800; white-space: nowrap; }
.btn-remove { background: none; border: 0; color: var(--sale); font-size: 13px; text-decoration: underline; }

.order-total { background: var(--black); color: #fff; padding: 18px; border-radius: 12px; }
.order-total .row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.order-total .grand { font-weight: 900; font-size: 18px; }

.order-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--black);
  color: #fff;
  padding: 22px 16px;
  text-align: center;
}
.footer-note {
  font-size: 13px;
  opacity: 0.85;
  font-family: var(--font);
  line-height: 1.5;
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
/* ==========================================================================
   WhatsApp flotante
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  z-index: 999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  overflow: visible;
  transform: translateZ(0);
  transition: transform 0.18s, box-shadow 0.18s;
}

/* Pulse ring behind the button (brand-style WhatsApp) */
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: waPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.45); opacity: 0; }
}

.whatsapp-float:hover, .whatsapp-float:focus-visible {
  transform: scale(1.08);
  background: var(--wa-dark);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }
@media (max-width: 599px) {
  .whatsapp-float { width: 52px; height: 52px; right: 14px; bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); }
}

/* ==========================================================================
   Responsive / Accessibility
   ========================================================================== */
@media (max-width: 480px) {
  .header { padding: 0 12px; }
  .container { padding: 0 12px; }
  .section { padding: 24px 12px; }
}
@media (min-width: 768px) {
  .info-bar { font-size: 12.5px; }
  .product-card .p-name { font-size: 16px; }
}
@media (min-width: 1024px) {
  .container { padding: 0 24px; }
  .hero-copy { max-width: 680px; padding: 40px 28px; }
  .header { padding: 0 28px; }
  .menu-open-btn { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .whatsapp-float::before { animation: none; }
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }