/* ============================================================
   ORVANDIA — storefront styles
   A neighborhood pet shop: cream ground, real photographs of people
   and their pets, navy for structure, red for the frame, one yellow
   action colour. Roboto Slab for headlines, Archivo for reading,
   Caveat for the handwritten note.
   ============================================================ */

@font-face {
  font-family: "Slab";
  src: url("../assets/fonts/roboto-slab-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hand";
  src: url("../assets/fonts/caveat-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  accent-color: #143A63;

  --ground: #FFFBF4;
  --paper: #FCF1E0;
  --paper-2: #F7E6CF;
  --white: #FFFFFF;
  --ink: #16293D;
  --ink-2: #47576B;
  --ink-3: #64738A;
  --hair: rgba(22, 41, 61, .14);
  --hair-strong: rgba(22, 41, 61, .28);

  --navy: #143A63;
  --navy-deep: #0D2846;
  --navy-tint: #E8F0F9;
  --sun: #FFC72C;
  --sun-deep: #EDB119;
  --sun-tint: #FFF0C6;
  --leaf: #1C7A46;
  --leaf-tint: #DDF3E5;
  --clay: #B4451F;
  --clay-tint: #FBE4DA;
  --cherry: #C62128;
  --cherry-deep: #9C161C;
  --cherry-tint: #FBE8E6;
  --red: var(--cherry);
  --red-deep: var(--cherry-deep);
  --scrim: 20, 58, 99;

  --tile: #FFFFFF;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --slab: "Slab", Georgia, serif;
  --hand: "Hand", "Segoe Script", cursive;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --head-h: 64px;  /* la fila blanca; en escritorio se le suma la franja de departamentos */
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 32px;
  --sh-soft: 0 10px 30px rgba(120, 80, 40, .10), 0 2px 6px rgba(120, 80, 40, .06);
  --sh-float: 0 24px 60px rgba(120, 80, 40, .18);

  /* names still used by inline styles in policy pages, checkout scripts and the owner panel */
  --paper-warm: var(--paper);
  --card: var(--white);
  --muted: var(--ink-3);
  --ink-soft: var(--ink-2);
  --ink-faint: var(--ink-3);
  --line: var(--hair);
  --line-strong: var(--hair-strong);
  --brand: var(--navy);
  --brand-deep: var(--navy-deep);
  --brand-tint: var(--navy-tint);
  --accent: var(--sun);
  --accent-tint: var(--sun-tint);
  --tang: var(--sun);
  --tang-deep: var(--sun-deep);
  --tang-tint: var(--sun-tint);
  --tang-text: var(--ink);
  --elec: var(--navy);
  --elec-deep: var(--navy-deep);
  --elec-tint: var(--navy-tint);
  --mint-tint: var(--leaf-tint);
  --mint-deep: var(--leaf);
  --danger: var(--clay);
  --danger-tint: var(--clay-tint);
  --danger-deep: #7F2E12;
  --display: var(--slab);
  --body: var(--font);
  --mono: var(--font);
  --radius: var(--r);
  --radius-sm: var(--r-sm);
  --sheet: var(--white);
  --sheet-2: var(--paper);
  --sheet-3: var(--paper-2);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --rule: var(--hair);
  --rule-strong: var(--hair-strong);
  --fill: var(--paper);
  --fill-2: var(--paper-2);
  --focus: var(--ink);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ground);
  scrollbar-color: #D7C8B4 var(--ground);
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
input, textarea { caret-color: var(--ink); }

::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: #D7C8B4; border-radius: 99px; border: 3px solid var(--ground); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--slab);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 1.4rem + 2.8vw, 3.5rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.1vw, 2.9rem); line-height: 1.04; }
.doc h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.7rem); }
.pdp-sheet h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong, b { font-weight: 700; }

.sec-head { display: grid; justify-items: center; gap: 4px; margin-bottom: clamp(24px, 3.4vw, 40px); text-align: center; }
.sec-head .lede, .sec-head p { margin: 0; }
.sec-note { font-family: var(--hand); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); font-weight: 700; line-height: 1.1; color: var(--red); }
.hand { font-family: var(--hand); font-weight: 700; }

.lede { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 58ch; }
.price, .tabular { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: 860px; margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 1600px) { .wrap-wide { max-width: 1400px; } }
.center { text-align: center; }
.hide { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  padding: 12px 20px; border-radius: 999px;
  background: var(--sun); color: var(--ink); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- announcement + header ---------- */

.announce {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px;
  padding: 9px var(--gutter);
  background: var(--cherry); color: var(--white);
  font-size: .9rem; font-weight: 700; text-align: center;
}
.announce span { display: inline-flex; align-items: center; gap: 7px; }
.announce svg { color: var(--sun); }
@media (max-width: 720px) { .announce span:nth-child(n+3) { display: none; } }
@media (max-width: 480px) { .announce span:nth-child(n+2) { display: none; } }

.site-head {
  position: sticky; top: 0; z-index: 60;
  background: var(--white);
  box-shadow: 0 1px 0 var(--hair);
  transition: box-shadow .3s;
}
.site-head.scrolled { box-shadow: 0 2px 14px rgba(22, 41, 61, .12); }
.head-row { height: 64px; display: flex; align-items: center; gap: 12px; }

/* the coloured lane of main links, under the wordmark */
.nav-bar { display: none; background: var(--navy); }
.nav-bar .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 2px; }
.nav-bar a {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px;
  color: var(--white); text-decoration: none;
  font-family: var(--slab); font-size: .95rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .035em;
  border-bottom: 4px solid transparent;
  transition: background-color .2s, border-color .2s;
}
.nav-bar a:hover { background: var(--navy-deep); }
.nav-bar a.on { border-bottom-color: var(--sun); background: var(--navy-deep); }
@media (min-width: 920px) { .nav-bar { display: block; } :root { --head-h: 110px; } }

.logo {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto;
  color: var(--navy); text-decoration: none;
  font-family: var(--slab); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1;
}
.logo-mark { width: 34px; height: 34px; flex: none; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 999px; color: var(--ink-2); text-decoration: none;
  font-size: .98rem; font-weight: 600;
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a.on { color: var(--ink); background: var(--paper-2); }

.head-actions { display: flex; align-items: center; gap: 8px; }

.pill-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 0; border-radius: 999px;
  background: var(--paper); color: var(--ink);
  transition: background-color .2s, transform .18s var(--ease-out);
}
.pill-btn:hover { background: var(--paper-2); }
.pill-btn:active { transform: scale(.94); }
.menu-btn { display: none; }
.menu-btn .ic-close { display: none; }
.menu-btn[aria-expanded="true"] .ic-menu { display: none; }
.menu-btn[aria-expanded="true"] .ic-close { display: block; }
.cart-btn { padding: 0 14px 0 12px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--hair-strong); }
.cart-btn:hover { background: var(--paper); }
.cart-label { font-size: .98rem; font-weight: 700; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: var(--sun); color: var(--ink);
  font-size: .8rem; font-weight: 800; font-variant-numeric: tabular-nums;
  transition: transform .3s var(--ease-out);
}
.cart-count[data-empty="1"] { display: none; }
.cart-count.bump { transform: scale(1.35); }

@media (min-width: 920px) { .nav { display: none; } }
@media (max-width: 919px) {
  .menu-btn { display: inline-flex; }
  .cart-label { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px var(--gutter) 22px;
    background: var(--ground);
    border-bottom: 1px solid var(--hair);
    box-shadow: var(--sh-float);
  }
  .nav.open { display: flex; }
  /* Veladura sobre la página mientras el menú está abierto; tocarla lo cierra. */
  .nav.open::before { content: ""; position: fixed; inset: 0; top: 0; z-index: -1; background: rgba(var(--scrim), .45); }
  .nav a {
    min-height: 58px; padding: 0 2px; border-radius: 0;
    border-bottom: 1px solid var(--hair);
    color: var(--ink); font-size: 1.35rem; font-weight: 700;
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a:hover, .nav a.on { background: none; }
}

/* ---------- buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font-size: 1.02rem; font-weight: 700; line-height: 1.1;
  text-align: center; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .18s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn-primary, .btn-accent, .btn-elec { background: var(--sun); color: var(--ink); box-shadow: 0 6px 16px rgba(245, 190, 24, .28); }
.btn-primary:hover, .btn-accent:hover, .btn-elec:hover { background: var(--sun-deep); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--paper); }
.btn-light { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--hair-strong); }
.btn-light:hover { background: var(--paper); }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--ink); font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .28em;
  text-decoration-color: var(--cherry);
  transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: var(--ink); }
.arr { display: none; }

/* ---------- cart sheet ---------- */

.drawer-back {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(60, 40, 20, .45);
  opacity: 0; pointer-events: none;
  transition: opacity .35s;
}
.drawer-back.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; z-index: 90;
  display: flex; flex-direction: column;
  background: var(--white);
  box-shadow: var(--sh-float);
  visibility: hidden;
  transition: transform .5s var(--ease-out), visibility 0s linear .5s;
}
.drawer.open { visibility: visible; transform: none; transition: transform .5s var(--ease-out), visibility 0s; }

@media (max-width: 719px) {
  .drawer {
    left: 0; right: 0; bottom: 0; max-height: 90svh;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    transform: translateY(104%);
  }
  .drawer::before {
    content: ""; display: block; width: 44px; height: 5px; margin: 10px auto 0;
    border-radius: 99px; background: var(--paper-2);
  }
}
@media (min-width: 720px) {
  .drawer {
    top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100vw - 24px));
    border-radius: var(--r-lg);
    transform: translateX(calc(100% + 24px));
  }
}

.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 8px 24px; }
.drawer-title { margin: 0; font-size: 1.5rem; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px 8px; }
.drawer-foot { padding: 16px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); }
.drawer-note { margin: 12px 0 0; font-size: .88rem; color: var(--ink-3); text-align: center; }

.line-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--hair); }
.line-item:last-child { border-bottom: 0; }
.line-media { width: 80px; height: 80px; border-radius: var(--r-sm); overflow: hidden; background: var(--tile); display: grid; place-items: center; }
.line-media img, .line-media svg { width: 100%; height: 100%; object-fit: cover; }
.line-media img.cut { object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.line-name { font-weight: 700; line-height: 1.35; }
.line-variant, .line-price { font-size: .92rem; color: var(--ink-3); }
.line-total { font-weight: 800; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; margin-top: 10px; border-radius: 999px; background: var(--paper); }
.qty button { width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-size: 1.25rem; font-weight: 600; line-height: 1; }
.qty button:hover { background: var(--paper-2); }
.qty button[disabled] { opacity: .35; cursor: not-allowed; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.line-remove {
  display: flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none;
  color: var(--ink-3); font-size: .92rem; text-decoration: underline; text-underline-offset: .22em;
}
.line-remove:hover { color: var(--clay); }

.free-ship-note { margin-bottom: 14px; font-size: .95rem; color: var(--ink-2); }
.free-ship-note strong { color: var(--ink); }
.free-ship-note .bar { height: 8px; margin-top: 10px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.free-ship-note .bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--leaf); transform-origin: 0 50%; transition: transform .6s var(--ease-out); }

.totals { display: grid; gap: 8px; font-size: .98rem; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.totals > div > span:last-child { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.totals .grand { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--hair); color: var(--ink); font-size: 1.15rem; font-weight: 800; }
.totals .grand > span:last-child { font-weight: 800; }

.empty-state { display: grid; justify-items: center; gap: 4px; padding: 44px 12px; text-align: center; color: var(--ink-2); }
.empty-state svg { margin-bottom: 10px; color: var(--ink-3); }
.empty-state strong { color: var(--ink); font-size: 1.12rem; }
.empty-state p { margin: 0; }

/* ---------- toast ---------- */

.toast {
  position: fixed; left: 50%; top: calc(var(--head-h) + 12px); z-index: 150;
  display: flex; align-items: center; gap: 10px;
  max-width: calc(100vw - 32px); padding: 10px 18px 10px 10px;
  border-radius: 999px; background: var(--ink); color: var(--white);
  box-shadow: var(--sh-float);
  font-size: .95rem; font-weight: 600;
  opacity: 0; pointer-events: none;
  transform: translate(-50%, -14px);
  transition: transform .45s var(--ease-out), opacity .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .ok { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--ink); }

.fly-dot {
  position: fixed; z-index: 160; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; background: var(--sun); pointer-events: none;
  box-shadow: 0 0 0 5px rgba(255, 207, 63, .3);
}

/* ---------- home: hero ---------- */

section[id] { scroll-margin-top: calc(var(--head-h) + 12px); }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; overflow: hidden; min-height: clamp(430px, 48vw, 600px); }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(97deg, rgba(var(--scrim), .80) 0%, rgba(var(--scrim), .70) 32%, rgba(var(--scrim), .36) 58%, rgba(var(--scrim), .04) 88%);
}
.hero-inner { padding-block: clamp(40px, 6vw, 84px); }
.hero-copy { max-width: 34rem; color: var(--white); }
.hero h1 { margin-bottom: 16px; color: var(--white); font-size: clamp(2.3rem, 1.2rem + 3.4vw, 4rem); line-height: 1.0; letter-spacing: -0.02em; }
.hero .lede { margin-bottom: 26px; max-width: 42ch; color: rgba(255, 255, 255, .93); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.hero-watch { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .75); }
.hero-watch:hover { background: rgba(255, 255, 255, .14); color: var(--white); }
@media (max-width: 719px) {
  /* on a phone the picture keeps its own band and the words sit on solid colour: no scrim can
     make a headline legible over a whole photograph at this width. */
  .hero { display: block; min-height: 0; background: var(--navy); }
  .hero-photo { position: static; height: clamp(200px, 46vw, 260px); object-position: 55% 44%; }
  .hero::after { display: none; }
  .hero-inner { padding-block: 26px 32px; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 2.6rem); }
  .promise { background: var(--navy-deep); }
}

/* the four promises, on their own navy lane under the picture */
.promise { background: var(--navy); color: var(--white); }
.trust-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin: 0; padding: 20px 0; list-style: none; }
@media (min-width: 1000px) { .trust-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-row li { display: grid; grid-template-columns: 34px 1fr; gap: 11px; align-items: start; font-size: .93rem; color: rgba(255, 255, 255, .84); line-height: 1.4; }
.trust-row b { display: block; color: var(--white); font-weight: 700; font-size: .98rem; }
.trust-row .ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: var(--sun); }
@media (max-width: 460px) { .trust-row { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- product tiles ---------- */

.tile {
  position: relative; display: grid; place-items: center; overflow: hidden;
  border-radius: var(--r-lg); background: var(--tile);
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile img.cut { object-fit: contain; padding: 9%; }
.tile-caption {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2;
  padding: 14px 18px; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .92); color: var(--ink);
  box-shadow: var(--sh-soft);
}
.tile-caption b { display: block; font-size: 1.05rem; line-height: 1.3; }
.tile-caption span { display: block; font-size: .92rem; color: var(--ink-2); }

/* ---------- shelf (home, shop, related) ---------- */

.shelf { padding-block: clamp(36px, 4vw, 60px) clamp(48px, 6vw, 84px); }
.hero + .shelf { padding-top: clamp(40px, 4vw, 56px); }
.shelf-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 28px; margin-bottom: clamp(22px, 3vw, 36px); }
.shelf-head h2 { margin: 0; }
.ruled { display: flex; align-items: flex-start; justify-content: center; gap: 18px; width: fit-content; max-width: 100%; margin-inline: auto; text-transform: uppercase; letter-spacing: -0.005em; }
.ruled::before, .ruled::after { content: ""; flex: none; width: 46px; height: 4px; margin-top: .52em; border-radius: 2px; background: var(--red); }
/* cuando el titulo se parte en varias lineas, las rayitas quedarian colgadas en los extremos:
   en pantallas estrechas pasan a una sola barra centrada encima del titulo. */
@media (max-width: 760px) {
  .ruled { display: block; width: auto; }
  .ruled::before { display: block; width: 54px; height: 4px; margin: 0 auto 14px; }
  .ruled::after { display: none; }
}
.shelf-head p { margin: 10px 0 0; color: var(--ink-2); max-width: 54ch; }

.grid-products { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 560px) { .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); } }
@media (min-width: 960px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card .tile { border-bottom: 1px solid var(--hair); border-radius: 0; }
.card { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--hair), 0 6px 18px rgba(22, 41, 61, .07); overflow: hidden; transition: transform .4s var(--ease-out), box-shadow .4s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-float); }
.card .tile { aspect-ratio: 1 / 1; border-radius: 0; }
.card .tile img { transition: transform .8s var(--ease-out); }
.card:hover .tile img { transform: scale(1.04); }
.card-problem {
  position: absolute; left: 14px; top: 14px; z-index: 2; max-width: calc(100% - 28px);
  padding: 7px 12px; border-radius: 999px;
  background: var(--white); color: var(--ink); font-size: .86rem; font-weight: 700; box-shadow: var(--sh-soft);
}
.card-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; padding: 16px 18px 18px; }
.card-name { margin: 0 0 4px; font-size: 1.15rem; letter-spacing: -0.015em; line-height: 1.2; }
.card-name a { color: var(--ink); text-decoration: none; }
.card-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-name a:focus-visible { outline: none; }
.card:has(.card-name a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.card-meta { margin: 0; font-size: .95rem; line-height: 1.4; color: var(--ink-2); }
.card-price { margin: 6px 0 0; font-family: var(--slab); font-size: 1.3rem; font-weight: 800; color: var(--red); letter-spacing: -0.01em; }
.card-meta .price { color: var(--red); font-weight: 800; font-size: 1.05rem; }
.card-add {
  position: relative; z-index: 3;
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 999px; background: var(--sun); color: var(--navy-deep);
  box-shadow: 0 6px 16px rgba(237, 177, 25, .32);
  transition: background-color .2s, transform .18s var(--ease-out);
}
.card-add:hover { background: var(--sun-deep); }
.card-add:active { transform: scale(.92); }
.card-add.choose { width: auto; padding: 0 16px; font-size: .92rem; font-weight: 700; }

/* ---------- home: shop by pet (real photos, text over the picture) ---------- */

.pets { padding-block: clamp(44px, 5vw, 76px); }
.pets-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .pets-grid { grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); } }
.pet-tile {
  position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--r-lg);
  background: var(--ink); color: var(--white); text-decoration: none; box-shadow: var(--sh-soft);
}
.pet-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.pet-tile:hover img { transform: scale(1.04); }
.pet-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--scrim), .88) 4%, rgba(var(--scrim), .34) 52%, rgba(var(--scrim), 0) 100%); }
.pet-tile-text { position: absolute; left: clamp(20px, 3vw, 34px); right: clamp(20px, 3vw, 34px); bottom: clamp(20px, 2.6vw, 30px); z-index: 1; }
.pet-tile h3 { margin: 0; color: var(--white); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); text-transform: uppercase; letter-spacing: -0.01em; }
.pet-tile p { margin: 6px 0 16px; color: rgba(255, 255, 255, .92); font-size: 1rem; max-width: 34ch; }
.pet-tile .go { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--sun); color: var(--navy-deep); font-weight: 800; font-size: .98rem; }
.pet-tile:hover .go { background: var(--sun-deep); }

/* ---------- home: the two wide invitations (photo on one side, colour on the other) ---------- */

.promo { display: grid; }
@media (min-width: 880px) { .promo { grid-template-columns: 1fr 1fr; } .promo-flip .promo-photo { order: 2; } }
.promo-photo { width: 100%; height: 100%; min-height: clamp(260px, 32vw, 460px); object-fit: cover; }
.promo-copy { display: grid; align-content: center; justify-items: start; gap: 0; padding: clamp(32px, 5vw, 72px) var(--gutter); }
.promo-copy h2 { margin: 0 0 12px; color: var(--white); text-transform: uppercase; max-width: 16ch; }
.promo-copy p { margin: 0 0 24px; max-width: 40ch; color: rgba(255, 255, 255, .92); font-size: 1.05rem; }
.promo-red { background: var(--red); color: var(--white); }
.promo-navy { background: var(--navy); color: var(--white); }
@media (min-width: 880px) { .promo .promo-copy { padding-inline: clamp(40px, 5vw, 86px); } }
@media (min-width: 1400px) { .promo .promo-copy { width: 100%; max-width: 660px; margin-inline: auto; } .promo-copy p { max-width: 46ch; } }

/* ---------- home: videos, trust, owner ---------- */

.videos { padding-block: clamp(48px, 6vw, 86px) clamp(48px, 6vw, 86px); }
.video-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #D9CFC2 transparent; }
@media (min-width: 1100px) { .video-row { grid-auto-columns: calc((100% - 5 * 14px) / 6); overflow-x: visible; padding-inline: 0; } }
.video-card { scroll-snap-align: start; border-radius: var(--r); overflow: hidden; background: var(--white); box-shadow: var(--sh-soft); }
.video-frame { position: relative; aspect-ratio: 9 / 16; background: var(--paper); }
.video-frame img, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-frame video { opacity: 0; transition: opacity .3s; }
.video-card.playing .video-frame video { opacity: 1; }
.video-play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; align-content: center; gap: 10px;
  padding: 16px; border: 0; background: transparent; color: var(--ink); font-weight: 700; font-size: .95rem;
}
.video-play .disc { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--ink); box-shadow: var(--sh-soft); transition: transform .2s var(--ease-out); }
.video-play:hover .disc { transform: scale(1.06); }
.video-card.playing .video-play { align-content: end; justify-items: end; }
.video-card.playing .video-play .disc { width: 44px; height: 44px; background: rgba(255, 255, 255, .92); }
.video-name { display: block; padding: 12px 14px 14px; color: var(--ink); font-weight: 700; font-size: .95rem; line-height: 1.3; }

.trust { padding: 56px 16px; padding-block: clamp(48px, 7vw, 96px); background: var(--paper); }
.trust > .wrap { padding-inline: calc(var(--gutter) - 16px); }
.facts { display: grid; gap: 0 clamp(24px, 4vw, 64px); margin: 0; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.facts > div { padding: 22px 0; border-top: 1px solid var(--hair-strong); }
.facts dt { margin-bottom: 6px; font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); font-weight: 800; font-variation-settings: "opsz" 96; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.facts dd { margin: 0; max-width: 46ch; color: var(--ink-2); }
.trust-item p { margin: 0; font-size: .97rem; color: var(--ink-2); }

.owner { padding-block: clamp(48px, 6vw, 86px); }
.owner-card { display: grid; gap: 22px; padding: clamp(24px, 4vw, 44px); padding: 32px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-soft); }
@media (min-width: 760px) { .owner-card { grid-template-columns: 120px 1fr; gap: 32px; align-items: start; } }
.owner-avatar { width: 120px; height: 120px; border-radius: 30px; display: grid; place-items: center; background: var(--navy); color: var(--white); font-family: var(--slab); font-size: 2.4rem; font-weight: 800; box-shadow: 0 0 0 5px var(--sun); overflow: hidden; }
.owner-avatar img, .founder figure img { width: 100%; height: 100%; object-fit: cover; }
.owner-avatar img { width: 100%; height: 100%; object-fit: cover; }
/* El sello de la marca como avatar: sin bandeja azul ni anillo exterior, el sello ya lleva el suyo. */
.owner-avatar.is-mark { background: transparent; box-shadow: none; border-radius: 0; }
.owner-avatar.is-mark svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 14px rgba(198, 33, 40, .22)); }
.owner-card h2 { margin-bottom: 10px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.owner-card p { color: var(--ink-2); max-width: 60ch; }
.owner-card p:last-of-type { margin-bottom: 0; }
.owner-name { margin: 10px 0 18px; font-weight: 400; color: var(--ink-3); font-size: .95rem; }
.owner-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }

.honest { padding-block: 0 clamp(56px, 8vw, 110px); }
.honest-box h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-bottom: 10px; }
.honest-box p { margin: 0; max-width: 70ch; color: var(--ink); }
.honest-box p + p { margin-top: 10px; }

/* ---------- shop ---------- */

.shop-head { padding-block: clamp(30px, 5vw, 60px) 0; }
.shop-head h1 { margin-bottom: 14px; }
.shop-head .lede { margin: 0; }
.shop-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin: clamp(22px, 3vw, 34px) 0 clamp(16px, 2vw, 24px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--white); color: var(--ink-2); font-size: .98rem; font-weight: 600;
  box-shadow: inset 0 0 0 1.5px var(--hair-strong);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.chip:hover { color: var(--ink); background: var(--paper); }
.chip.on { background: var(--ink); color: var(--white); box-shadow: none; }
.shop-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: var(--ink-3); font-size: .95rem; }
.shop-sort label { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 600; }
.select {
  appearance: none; -webkit-appearance: none;
  min-height: 44px; padding: 0 44px 0 18px;
  border: 0; border-radius: 999px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2324211C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 14px;
  box-shadow: inset 0 0 0 1.5px var(--hair-strong);
  color: var(--ink); font-weight: 600;
}
.select:hover { background-color: var(--paper); }
.ask-band { padding-block: clamp(48px, 7vw, 96px); }
.ask-box { display: grid; justify-items: center; padding: clamp(26px, 4vw, 48px); border-radius: var(--r); background: var(--paper); box-shadow: 0 0 0 1px var(--hair); text-align: center; }
.ask-box h2 { max-width: none; }
.ask-box p { color: var(--ink-2); max-width: 52ch; }

/* ---------- product page ---------- */

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; padding-block: 6px; font-size: .92rem; color: var(--ink-3); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; max-width: var(--max); margin-inline: auto; padding: 4px var(--gutter) clamp(48px, 7vw, 96px); }
.pdp-status { padding: 80px var(--gutter); text-align: center; color: var(--ink-2); }
@media (min-width: 1000px) {
  .pdp { grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
}

.pdp-gallery { position: relative; min-width: 0; }
.pdp-gallery:focus { outline: none; }
@media (min-width: 1000px) { .pdp-gallery { position: sticky; top: calc(var(--head-h) + 16px); } }

.pdp-stage { position: relative; isolation: isolate; overflow: hidden; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--r-lg); background: var(--tile); touch-action: pan-y; }
@media (min-width: 1000px) { .pdp-stage { aspect-ratio: 1 / 1; max-height: calc(100svh - var(--head-h) - 150px); min-height: 520px; } }
.pdp-media { position: absolute; inset: 0; display: grid; place-items: center; container-type: size; }
.pdp-video { height: 100cqh; width: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--white); }
/* el video cuadrado llena el recuadro de la ficha de lado a lado */
.pdp-video.is-square { width: 100cqw; height: 100cqh; aspect-ratio: auto; object-fit: cover; }
/* ninguna foto de la galeria se recorta: las del proveedor traen texto y composiciones que un
   recorte a "cover" partia por la mitad. */
.pdp-photo { width: 100cqw; height: 100cqh; object-fit: contain; padding: 4%; background: var(--white); }
.pdp-photo.cut { padding: 8%; }
/* las flechas viven en las esquinas de abajo: a media altura tapaban el chip del video */
.pdp-nav {
  position: absolute; z-index: 3; bottom: 14px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 0; border-radius: 999px;
  background: var(--white); color: var(--ink); box-shadow: var(--sh-soft);
  transition: background-color .2s, transform .18s var(--ease-out);
}
.pdp-nav:hover { background: var(--paper); }
.pdp-nav:active { transform: scale(.93); }
.pdp-nav.prev { left: 12px; }
.pdp-nav.next { right: 12px; }
.pdp-count {
  position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translateX(-50%);
  padding: 6px 12px; border-radius: 999px;
  background: var(--white); color: var(--ink); box-shadow: var(--sh-soft);
  font-size: .86rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.pdp-pause { position: absolute; z-index: 3; top: 12px; right: 12px; background: var(--white); box-shadow: var(--sh-soft); }
.pdp-pause[hidden] { display: none; }

.pdp-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 6px; scrollbar-width: none; }
.pdp-thumbs::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .pdp-thumbs { padding: 14px 2px 6px; scrollbar-width: thin; scrollbar-color: #D9CFC2 transparent; } }
.pdp-thumb {
  position: relative; flex: none; width: 64px; height: 64px; padding: 0;
  border: 0; border-radius: 14px; overflow: hidden; background: var(--tile);
  opacity: .7; box-shadow: 0 0 0 2px transparent;
  transition: opacity .2s, box-shadow .2s;
}
.pdp-thumb:hover { opacity: .95; }
.pdp-thumb.on { opacity: 1; box-shadow: 0 0 0 2px var(--ground), 0 0 0 4px var(--ink); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb img.cut { object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.pdp-thumb.is-video { background: var(--ink); }
.pdp-thumb .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(36, 33, 28, .35); color: var(--white); }

.pdp-sheet { position: relative; min-width: 0; }
.pdp-sheet h1 { margin-bottom: 10px; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); }
.pdp-tag { margin-bottom: 8px; max-width: 46ch; font-size: 1.12rem; color: var(--ink-2); }
.pdp-meta { margin-bottom: 18px; font-size: .95rem; color: var(--ink-3); }
.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 4px 0 6px; }
.pdp-price .price { font-family: var(--slab); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; color: var(--red); }
.pdp-ship { font-weight: 700; color: var(--ink-2); }
.stock-line { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: .95rem; color: var(--ink-2); }
.stock-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px var(--leaf-tint); }

.pdp-options { display: grid; gap: 18px; margin: 0 0 22px; }
.opt { min-width: 0; margin: 0; padding: 0; border: 0; }
.opt legend { margin-bottom: 10px; padding: 0; font-weight: 700; }
.opt-current { margin-left: 6px; font-weight: 400; color: var(--ink-3); }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-btn {
  min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px;
  background: var(--white); color: var(--ink); font-weight: 600;
  box-shadow: inset 0 0 0 1.5px var(--hair-strong);
  transition: box-shadow .2s, background-color .2s, color .2s;
}
.opt-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.opt-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.opt-note { margin: 8px 0 0; font-size: .92rem; color: var(--ink-3); }
.opt-error { margin: 8px 0 0; color: var(--clay); font-size: .95rem; font-weight: 700; }

.pdp-buy { display: grid; gap: 10px; margin-bottom: 24px; }
@media (min-width: 560px) { .pdp-buy { grid-template-columns: 1.45fr 1fr; } }

.promise-list { list-style: none; margin: 0; padding: 20px; border-radius: var(--r); background: var(--paper); display: grid; gap: 14px; }
.promise-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.promise-list .ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cherry-tint); color: var(--cherry); }
.promise-list b { display: block; }
.promise-list span { display: block; font-size: .95rem; color: var(--ink-2); }

.pdp-block { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--hair); }
.pdp-block h2 { margin-bottom: 14px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); }
.pdp-problem { max-width: 62ch; font-size: 1.08rem; color: var(--ink-2); }
.pdp-bullets { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.pdp-bullets li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-2); }
.tick { width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--leaf); color: var(--white); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.spec-table th, .spec-table td { padding: 12px 0; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.spec-table th { width: 36%; padding-right: 16px; font-weight: 600; color: var(--ink-3); }
.spec-table td { color: var(--ink); font-variant-numeric: tabular-nums; }

.accordion details { border-bottom: 1px solid var(--hair); }
.accordion details:first-child { border-top: 1px solid var(--hair); }
.accordion summary {
  position: relative; display: flex; align-items: center;
  min-height: 58px; padding: 14px 44px 14px 0;
  color: var(--ink); font-weight: 700; line-height: 1.3;
  list-style: none; cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before, .accordion summary::after {
  content: ""; position: absolute; right: 10px; top: 50%;
  width: 14px; height: 2.5px; margin-top: -1px; border-radius: 2px;
  background: currentColor; transition: transform .35s var(--ease-out);
}
.accordion summary::after { transform: rotate(90deg); }
.accordion details[open] summary::after { transform: rotate(0deg); }
.accordion details p { max-width: 66ch; margin: 0 0 18px; color: var(--ink-2); }

.review-src { font-size: .98rem; color: var(--ink-2); }
.review-src .s, .review .s { color: var(--sun-deep); letter-spacing: 2px; }
.reviews { display: grid; margin-top: 10px; }
.review { padding: 18px 0; border-bottom: 1px solid var(--hair); }
.review-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 8px; font-size: .9rem; color: var(--ink-3); }
.review .review-text { margin: 0; color: var(--ink); }
.review .review-tr { margin: 8px 0 0; font-size: .88rem; color: var(--ink-3); }
.review-orig { min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.review-imgs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.review-imgs img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; }
.review-note { margin-top: 14px; font-size: .9rem; color: var(--ink-3); }
.reviews-empty { padding: 20px 22px; border-radius: var(--r); background: var(--paper); color: var(--ink-2); }
.reviews-empty p { margin: 0; }
.reviews-empty p + p { margin-top: 8px; }

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 252, 247, .96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--hair);
  transform: translateY(110%);
  transition: transform .45s var(--ease-out);
}
.sticky-buy.show { transform: none; }
.sb-text { min-width: 0; }
.sb-name { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .88rem; color: var(--ink-2); }
.sb-text .price { font-size: 1.15rem; font-weight: 800; }
@media (min-width: 1000px) { .sticky-buy { display: none; } }

/* ---------- checkout ---------- */

.co-head { padding-block: clamp(22px, 3vw, 40px) 20px; }
.co-head h1 { margin-bottom: 8px; font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); }
.co-head p { margin: 0; color: var(--ink-2); }
.co-grid { display: grid; gap: 16px; align-items: start; padding-bottom: clamp(48px, 7vw, 96px); }
@media (min-width: 960px) { .co-grid { grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: 24px; } }
.co-sheet { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-soft); padding: clamp(22px, 3.4vw, 42px); }
.co-section + .co-section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--hair); }
.co-step { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.co-step i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--ink); font-size: .9rem; font-style: normal; font-weight: 800; }
.co-fine { margin: 6px 0 0; font-size: .92rem; color: var(--ink-3); }
.co-fine a { color: var(--ink); }
.co-secure { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: .92rem; color: var(--ink-3); }
.co-secure svg { flex: none; margin-top: 2px; color: var(--leaf); }
.pay-option {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 10px; padding: 16px 18px;
  border-radius: var(--r); background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--hair-strong);
  cursor: pointer;
}
.pay-option.on { box-shadow: inset 0 0 0 2px var(--ink); }
.pay-option input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; }
.pay-option b { display: block; }
.pay-option span { font-size: .95rem; color: var(--ink-3); }
.demo-note { margin-bottom: 22px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--sun-tint); color: var(--ink); font-size: .98rem; }
.co-pay { margin-top: 26px; }
.co-summary { background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
/* el resumen se queda a la vista al desplazar, pero nunca mas alto que la pantalla:
   con varios productos, si no se limita, su parte final queda fuera de alcance. */
@media (min-width: 960px) {
  .co-summary {
    position: sticky; top: calc(var(--head-h) + 16px);
    max-height: calc(100svh - var(--head-h) - 32px);
    overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: #D7C8B4 transparent;
  }
}
@media (max-width: 959px) { .co-summary { order: -1; } }
.co-summary h2 { margin-bottom: 10px; font-size: 1.3rem; }
.mini-line { display: flex; align-items: center; gap: 14px; padding-block: 12px; border-bottom: 1px solid var(--hair); }
.mini-media { position: relative; flex: none; width: 60px; height: 60px; border-radius: var(--r-sm); background: var(--tile); }
.mini-media img, .mini-media svg { width: 100%; height: 100%; border-radius: var(--r-sm); object-fit: cover; }
.mini-media img.cut { object-fit: contain; padding: 5%; }
.mini-qty { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; background: var(--sun); color: var(--ink); font-size: .75rem; font-weight: 800; }
.mini-info { flex: 1; min-width: 0; }
.mini-name { font-weight: 700; line-height: 1.35; }
.mini-sub { font-size: .88rem; color: var(--ink-3); }
.mini-total { font-weight: 800; font-variant-numeric: tabular-nums; }
.co-trust { display: grid; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--hair); font-size: .95rem; color: var(--ink-2); }
.co-trust div { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.co-trust svg { margin-top: 3px; color: var(--leaf); }

/* ---------- reading sheets (policies, help, confirmation) ---------- */

.doc { padding-block: clamp(10px, 3vw, 36px) clamp(48px, 7vw, 96px); }
.doc > .wrap-narrow {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-soft);
  padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px);
}
.doc h1 { margin-bottom: 12px; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.7rem); }
.doc .updated { margin-bottom: 30px; font-size: .95rem; color: var(--ink-3); }
.doc h2 { margin: 46px 0 12px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); }
.doc h3 { margin: 28px 0 8px; font-size: 1.15rem; }
.doc p, .doc li { max-width: 68ch; color: var(--ink-2); }
.doc strong { color: var(--ink); }
.doc .lede { color: var(--ink-2); }
.doc a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
.doc a:not(.btn):hover { text-decoration-color: var(--sun-deep); }
.doc ul, .doc ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.doc li { margin-bottom: .5em; }
.doc li::marker { color: var(--ink-3); }
.doc table { width: 100%; margin: 10px 0 26px; border-collapse: collapse; font-size: .98rem; }
.doc th, .doc td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.doc th { color: var(--ink); font-weight: 700; }
.doc td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.callout { margin: 22px 0; padding: 18px 20px; border-radius: var(--r); background: var(--paper); }
.callout p:last-child { margin-bottom: 0; }

.contact-ways { display: grid; margin: 6px 0 34px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.contact-ways > div { padding: 18px 0; }
.contact-ways h2 { margin: 0 0 6px; font-size: 1.1rem; }
.contact-ways p { margin: 0; }
.contact-ways span { color: var(--ink-3); }
@media (min-width: 640px) {
  .contact-ways { grid-template-columns: 1fr 1fr; }
  .contact-ways > div + div { padding-left: 24px; border-left: 1px solid var(--hair); }
}
.doc-form { margin: 8px 0 30px; }

.founder { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; margin: 8px 0 28px; }
.founder figure { display: grid; place-items: center; width: 120px; margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: 30px; background: var(--navy); color: var(--white); font-family: var(--slab); font-weight: 800; box-shadow: 0 0 0 5px var(--sun); }
.founder figure img { width: 100%; height: 100%; object-fit: cover; }
.founder .initials { color: var(--ink); font-size: 2.2rem; font-weight: 800; font-variation-settings: "opsz" 96; }
@media (max-width: 520px) { .founder { grid-template-columns: 88px 1fr; gap: 16px; } .founder figure { width: 88px; } }

.success-mark { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 50%; background: var(--leaf); color: var(--white); }
.next-steps { list-style: none; margin: 30px 0 0; padding: 0; }
.next-steps li { max-width: none; margin: 0; padding: 16px 0; border-top: 1px solid var(--hair); }
.next-steps strong { display: block; margin-bottom: 2px; }
.order-box { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--hair); }
.order-box h2 { margin-top: 0; }
.order-row { display: flex; justify-content: space-between; gap: 14px; padding-block: 10px; border-bottom: 1px solid var(--hair); }
.order-row .q { color: var(--ink-3); }
.ship-to { margin: 0; line-height: 1.7; color: var(--ink-2); }
.track-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 12px; }
.doc .track-top h2 { margin: 0; font-size: 1.35rem; }
.track-date { font-size: .92rem; color: var(--ink-3); }
.track-items { margin-top: 12px; }

.not-found { padding-block: clamp(48px, 9vw, 120px) clamp(24px, 4vw, 48px); }
.not-found h1 { max-width: 16ch; }
.not-found .lede { margin-bottom: 26px; }
.not-found .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- forms ---------- */

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: .95rem; font-weight: 700; }
.field label span { font-weight: 400; color: var(--ink-3); }
.field :is(input, select, textarea) {
  display: block; width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1.5px solid var(--hair-strong); border-radius: var(--r-sm);
  background: var(--white); color: var(--ink);
  font-size: 1rem; line-height: 1.35;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2324211C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 14px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field :is(input, textarea)::placeholder { color: #857F76; }
.field :is(input, select, textarea):hover { border-color: var(--ink-3); }
.field :is(input, select, textarea):focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--sun-tint); }
.field :is(input, select, textarea)[aria-invalid="true"] { border-color: var(--clay); box-shadow: 0 0 0 4px var(--clay-tint); }
.field .err { display: none; margin-top: 6px; color: var(--clay); font-size: .92rem; font-weight: 600; }
.field :is(input, select, textarea)[aria-invalid="true"] ~ .err { display: block; }
.form-error { display: none; margin: 0 0 16px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--clay-tint); color: var(--danger-deep); font-size: .98rem; }
.form-error.show { display: block; }
.form-error a { font-weight: 700; text-decoration: underline; }

/* ---------- footer ---------- */

.site-foot { padding-block: clamp(48px, 6vw, 84px) 28px; background: var(--navy); color: rgba(255, 255, 255, .84); }
.site-foot .logo { color: var(--white); }
.site-foot .logo-mark rect { fill: var(--sun); }
.site-foot .logo-mark circle { stroke: var(--navy); }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 880px) { .foot-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 64px; } }
.foot-brand .logo { margin: 0 0 12px; font-size: 1.7rem; }
.foot-brand p { max-width: 42ch; }
.foot-brand a:not(.logo) { color: var(--white); text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
.foot-where { max-width: 42ch; color: rgba(255, 255, 255, .84); }
.foot-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.foot-h { margin: 0 0 6px; color: var(--white); font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.foot-links ul { margin: 0; padding: 0; list-style: none; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .88); text-decoration: none; }
.foot-links a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
.foot-sub { margin-top: 26px; max-width: 46ch; }
.foot-sub-h { display: block; margin: 0 0 4px; font-family: var(--slab); font-weight: 800; font-size: 1.05rem; color: var(--white); }
.foot-sub-p { margin: 0 0 12px; font-size: .92rem; color: rgba(255, 255, 255, .78); }
.foot-sub-row { display: flex; gap: 8px; flex-wrap: wrap; }
.foot-sub-row input { flex: 1 1 200px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; }
.foot-sub-row input::placeholder { color: var(--ink-3); }
.foot-sub-row input:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.foot-sub-row .btn { min-height: 48px; padding-inline: 20px; box-shadow: none; }
.foot-sub .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.foot-sub-msg { margin: 8px 0 0; min-height: 1.3em; font-size: .9rem; color: var(--sun); }
.foot-sub-msg.bad { color: #FFC4C4; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 36px; padding-top: 22px; border-top: 3px solid var(--sun); font-size: .9rem; color: rgba(255, 255, 255, .82); }
.pay-marks { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-mark { padding: 5px 9px; border-radius: 8px; background: var(--white); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .04em; }

/* ---------- motion ---------- */

.reveal { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.pre { opacity: 0; transform: translateY(22px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.pre { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
