/* ============================================================
   jltaexpress · sistema de diseño «07 · Recomendada»
   Base + componentes + páginas
   ============================================================ */

/* ---------- fuentes ---------- */
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/fira-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/fira-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/fira-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/fira-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg: #f4f1ea;
  --surface: #ebe6dc;
  --surface-2: #e5dfd3;
  --surface-3: #fbf8f1;
  --ink: #17140f;
  --muted: #6f6a61;
  --line: #d8d2c6;
  --accent: #ce2d22;
  --accent-ink: #ffffff;
  --ok: #247a4a;
  --radius: 0px;
  --container: 1240px;
  --font: "Fira Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --display: "Fira Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --shadow: 0 18px 50px rgb(23 20 15 / 0.08);
  --shadow-soft: 0 14px 34px rgb(23 20 15 / 0.07);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin-top: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

/* ---------- utilidades ---------- */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.screen-reader-text,
.sr-only {
  position: absolute !important;
  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: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  font-size: 12px;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  overflow: visible;
  margin: 0;
}

.muted {
  color: var(--muted);
}

.is-hidden {
  display: none !important;
}

.admin-bar .site-header {
  top: 32px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.03em;
  flex: 0 0 auto;
}

.brand-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  display: inline-block;
  flex: 0 0 8px;
  transform: translateY(-2px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link.is-active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-account {
  display: none;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 310px;
  height: 40px;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--surface-3);
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}

.header-search svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex: 0 0 15px;
}

.header-search:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: transparent;
  border-radius: var(--radius);
  position: relative;
}

.icon-btn:hover {
  border-color: var(--line);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search-icon {
  display: none;
}

.menu-toggle {
  display: none;
}

/* ---------- botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--primary:hover {
  background: #b3241a;
  color: var(--accent-ink);
}

.btn--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--dark {
  background: var(--ink);
  color: var(--bg);
}

.btn--dark:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.btn--block {
  width: 100%;
}

/* ---------- tipografía de sección ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.section {
  padding: 76px 0;
}

.section--soft {
  background: var(--surface);
}

.section--tight {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.section-title em,
.hero-title em,
.quote-text em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.section-sub {
  margin: 12px 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 0 2px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  color: var(--ink);
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.link-arrow:hover {
  color: var(--accent);
}

/* ---------- hero ---------- */
.hero--search {
  padding: 54px 0 0;
}

.hero-search-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.hero-title {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(44px, 5.4vw, 68px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-sub {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.search-card {
  background: var(--surface-3);
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: 0 18px 40px rgb(23 20 15 / 0.06);
}

.search-field {
  margin-bottom: 12px;
}

.search-field label {
  display: block;
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-field select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  background: #fffdf8;
  padding: 0 10px;
  font-size: 12px;
}

.search-hint {
  margin: 10px 0 0;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}

.hero-search-bottom {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
  margin-top: 38px;
  padding-bottom: 54px;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 0;
}

.hero-stats div strong {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stats div span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-media {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  border-radius: var(--radius);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-media--wide {
  aspect-ratio: 4 / 3;
}

.hero-media--wide img {
  padding: 18px;
}

.hero-media--photo img {
  padding: 0;
  object-fit: cover;
}

/* Los packshots vienen sobre blanco puro: se integran con el fondo crema. */
.p-media img,
.gallery-main img,
.quiz-result-card img,
.cart-line img,
.cart-item-media img,
.search-result img {
  mix-blend-mode: multiply;
}

/* ---------- confianza ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 8px;
  background: var(--bg);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item svg {
  width: 17px;
  height: 17px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  flex: 0 0 17px;
}

.trust-item span {
  color: var(--muted);
  font-weight: 400;
}

/* ---------- categorías ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 176px;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  transition: color 0.2s;
}

.cat-num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.cat-name {
  margin: 30px 0 4px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cat-card:hover .cat-name {
  color: var(--accent);
}

.cat-desc {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.cat-arrow {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
}

/* ---------- tarjetas de producto ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.p-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.p-card:hover {
  box-shadow: var(--shadow-soft);
  border-color: color-mix(in srgb, var(--ink) 28%, var(--line));
}

.p-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  overflow: hidden;
}

.p-media-link {
  display: block;
  height: 100%;
}

.p-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  transition: transform 0.35s ease;
}

.p-card:hover .p-media img {
  transform: scale(1.04);
}

.p-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 7px;
  background: var(--ink);
  color: var(--bg);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.p-badge--sale {
  background: var(--accent);
  color: var(--accent-ink);
}

.p-compare {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background: var(--surface-3);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.2s, border-color 0.2s;
}

.p-compare:hover,
.p-compare.is-on {
  border-color: var(--accent);
  color: var(--accent);
}

.p-compare.is-on {
  opacity: 1;
}

.p-card:hover .p-compare {
  opacity: 1;
}

.p-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 15px 15px;
}

.p-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.p-arrow {
  font-size: 14px;
  color: var(--ink);
}

.p-body h3 {
  margin: 8px 0 5px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.p-body h3 a:hover {
  color: var(--accent);
}

.p-specs {
  margin: 0 0 14px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.p-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.p-price {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.p-month {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  color: var(--muted);
}

.p-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 1px;
  white-space: nowrap;
}

.p-add:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.p-add--out {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
  cursor: not-allowed;
}

/* ---------- asesoría + comparador ---------- */
.recommend-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.recommend-quiz,
.advisor-quiz {
  margin-top: 24px;
}

.decision-panel {
  border: 1px solid var(--line);
  background: var(--surface-3);
  padding: 24px;
  overflow-x: auto;
}

.decision-panel h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.decision-panel p {
  font-size: 13px;
}

.decision-panel .compare-table {
  font-size: 11px;
}

.decision-panel .compare-table th,
.decision-panel .compare-table td {
  padding: 8px 6px;
}

.decision-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ---------- quiz ---------- */
.quiz-progress {
  display: flex;
  gap: 5px;
  margin-bottom: 18px;
}

.quiz-progress i {
  height: 3px;
  flex: 1;
  background: var(--line);
  display: block;
}

.quiz-progress i.is-on {
  background: var(--accent);
}

.quiz-step {
  display: none;
}

.quiz-step.is-active {
  display: block;
}

.quiz-step h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.quiz-step p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.quiz-options {
  display: grid;
  gap: 8px;
}

.quiz-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  text-align: left;
  font-size: 13px;
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}

.quiz-option:hover {
  border-color: var(--ink);
  background: var(--surface-3);
}

.quiz-option span:last-child {
  color: var(--muted);
  font-size: 11px;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
}

.quiz-result {
  display: none;
}

.quiz-result.is-active {
  display: block;
}

.quiz-result-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--surface-3);
  margin: 14px 0;
}

.quiz-result-card img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  background: var(--surface-2);
  padding: 6px;
}

.quiz-result-card strong {
  display: block;
  font-size: 14px;
}

.quiz-result-card small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.quiz-result h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.quiz-result-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ---------- cita ---------- */
.quote {
  padding: 64px 0;
  background: #17140f;
  color: #f4f1ea;
}

.quote-text {
  max-width: 940px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.quote-text em {
  color: #e4483c;
}

.quote-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(244 241 234 / 0.55);
}

.quote-meta::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

/* ---------- guías ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 22px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.blog-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.blog-cover {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  overflow: hidden;
  margin-bottom: 14px;
}

.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card:hover .blog-cover img {
  transform: scale(1.03);
}

.blog-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.blog-card h3 {
  margin: 8px 0 6px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.blog-card h3 a:hover {
  color: var(--accent);
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.blog-meta {
  margin-top: 10px;
  font-size: 10px;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta-band {
  border: 0;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #17140f;
  color: #f4f1ea;
}

.cta-band h2 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0;
  color: rgb(244 241 234 / 0.62);
  font-size: 13px;
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cta-band .btn--ghost {
  color: #f4f1ea;
  border-color: rgb(244 241 234 / 0.28);
}

.cta-band .btn--ghost:hover {
  border-color: #f4f1ea;
}

/* ---------- tienda ---------- */
.shop-head {
  padding: 44px 0 24px;
  border-bottom: 1px solid var(--line);
}

.shop-title {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.shop-sub {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 46rem;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.filter-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 11px;
  border-radius: 999px;
  color: var(--ink);
}

.filter-chip:hover {
  border-color: var(--ink);
}

.filter-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.shop-toolbar-end {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sort-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.sort-select {
  height: 36px;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0 10px;
  font-size: 11px;
}

.result-count {
  font-size: 11px;
  color: var(--muted);
}

.shop-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 36px;
  padding: 30px 0 80px;
  align-items: start;
}

.shop-sidebar {
  border-right: 1px solid var(--line);
  padding-right: 24px;
  position: sticky;
  top: 100px;
}

.filter-group {
  margin-bottom: 26px;
}

.filter-group h4 {
  margin: 0 0 10px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.filter-chip--list {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 0;
  font-size: 12px;
  color: var(--muted);
}

.filter-chip--list span {
  font-size: 10px;
  color: var(--muted);
}

.filter-chip--list:hover {
  color: var(--ink);
}

.filter-chip--list.is-active {
  background: transparent;
  color: var(--accent);
}

.filter-note {
  margin: 10px 0 0;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shop-empty {
  border: 1px solid var(--line);
  background: var(--surface-3);
  padding: 40px;
}

.shop-empty h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.02em;
}

.shop-empty p {
  margin: 0 0 18px;
  color: var(--muted);
}

.shop-empty-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* ---------- paginación ---------- */
.pagination {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  font-size: 12px;
}

.pagination .current {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ---------- ficha de producto ---------- */
.product-page {
  padding: 26px 0 76px;
}

.breadcrumbs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 22px;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.product-layout {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 52px;
  align-items: start;
}

.gallery-main {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 70px;
  height: 70px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 5px;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumb.is-active {
  border-color: var(--ink);
}

.gallery-note {
  margin: 12px 0 0;
  font-size: 10px;
  color: var(--muted);
}

.buybox {
  position: sticky;
  top: 100px;
}

.buybox h1 {
  margin: 6px 0 8px;
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.buybox .p-type {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.rating {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}

.rating b {
  color: var(--ink);
}

.rating-stars {
  color: var(--accent);
  letter-spacing: 2px;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 4px;
}

.price-line strong {
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.price-line span {
  font-size: 12px;
  color: var(--muted);
}

.price-line del {
  font-size: 12px;
  color: var(--muted);
}

.buybox .short {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ok);
  margin-bottom: 14px;
}

.stock::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.stock--out {
  color: var(--accent);
}

.buy-actions {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}

.buy-actions .btn {
  flex: 1;
}

.compare-link {
  margin: 6px 0 0;
}

.trust-list {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-list li {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.trust-list svg {
  width: 15px;
  height: 15px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  flex: 0 0 15px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  width: 42%;
  color: var(--muted);
  font-weight: 400;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-btn {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}

.accordion-btn span:last-child {
  color: var(--muted);
  font-size: 16px;
}

.accordion-item.is-open .accordion-btn span:last-child {
  transform: rotate(45deg);
}

.accordion-panel {
  display: none;
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.accordion-panel a {
  color: var(--accent);
  text-decoration: underline;
}

.related {
  padding-top: 64px;
}

/* ---------- asesoría ---------- */
.advisor-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: start;
  padding: 40px 0 80px;
}

.advisor-card {
  border: 1px solid var(--line);
  background: var(--surface-3);
  padding: 26px;
}

.advisor-card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.advisor-card p {
  color: var(--muted);
  font-size: 13px;
}

.advisor-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.advisor-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.advisor-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.advisor-list svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  flex: 0 0 16px;
}

.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.field {
  display: grid;
  gap: 5px;
}

.field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 10px 12px;
  border-radius: 0;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--ink);
  outline: none;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field--honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 11px;
  color: var(--muted);
}

.success {
  display: none;
  padding: 14px;
  border: 1px solid var(--ok);
  color: var(--ok);
  font-size: 13px;
}

.success.is-on {
  display: block;
}

/* ---------- páginas de contenido ---------- */
.page-wrap {
  padding: 40px 0 80px;
}

.page-head {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.page-back {
  margin-bottom: 22px;
}

.entry-content {
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.7;
  color: #2a241d;
}

.entry-content > * + * {
  margin-top: 1.1em;
}

.entry-content h2 {
  margin-top: 2em;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.entry-content h3 {
  margin-top: 1.6em;
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: -0.01em;
}

.entry-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.2em;
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content li + li {
  margin-top: 0.35em;
}

.entry-content img {
  height: auto;
}

.entry-content blockquote {
  margin: 1.6em 0;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.entry-content th,
.entry-content td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
}

.entry-content figure {
  margin: 1.6em 0;
}

.entry-content figcaption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}

.alignwide {
  max-width: 100%;
}

.alignfull {
  width: 100%;
  max-width: 100%;
}

/* ---------- guía (single) ---------- */
.article {
  padding: 30px 0 80px;
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
}

.article-body h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.article-meta {
  margin: 0 0 24px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-cover {
  margin: 0 0 30px;
  background: var(--surface-2);
}

.article-cover img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 50px;
  padding: 30px;
  background: #17140f;
  color: #f4f1ea;
}

.article-cta h2 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.article-cta p {
  margin: 0;
  color: rgb(244 241 234 / 0.62);
  font-size: 13px;
}

.article-cta .btn--ghost {
  color: #f4f1ea;
  border-color: rgb(244 241 234 / 0.3);
}

/* ---------- blog index ---------- */
.blog-page {
  padding: 40px 0 80px;
}

.blog-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}

.blog-feature .blog-cover {
  margin: 0;
  aspect-ratio: 16 / 9;
}

.blog-feature h1 {
  margin: 10px 0;
  font-family: var(--display);
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.blog-feature .btn {
  margin-top: 18px;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-list .blog-card {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* ---------- carrito ---------- */
.cart-page,
.checkout-page {
  padding: 26px 0 70px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 48px;
  align-items: start;
}

.cart-form {
  margin: 0;
}

.cart-lines {
  border-top: 1px solid var(--line);
}

.cart-item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 96px 110px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-media img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  background: var(--surface-2);
  padding: 8px;
}

.cart-item-body h2 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cart-item-body h2 a:hover {
  color: var(--accent);
}

.cart-item-unit {
  margin: 0 0 6px;
  font-size: 11px;
  color: var(--muted);
}

.cart-item-remove {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-item-remove:hover {
  color: var(--accent);
}

.cart-item-qty .quantity input {
  width: 72px;
  height: 40px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--bg);
}

.cart-item-total {
  text-align: right;
  font-weight: 700;
  font-size: 14px;
}

.cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.coupon {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.coupon input {
  height: 38px;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0 10px;
  font-size: 12px;
  min-width: 180px;
}

.cart-continue {
  margin-top: 22px;
}

.cart-summary {
  position: sticky;
  top: 100px;
}

.cart_totals.summary {
  border: 1px solid var(--line);
  background: var(--surface-3);
  padding: 24px;
}

.cart_totals.summary h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.cart_totals table {
  width: 100%;
  border-collapse: collapse;
}

.cart_totals tr {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border: 0;
}

.cart_totals th,
.cart_totals td {
  padding: 0;
  border: 0;
  text-align: left;
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}

.cart_totals td {
  text-align: right;
  color: var(--ink);
}

.cart_totals .order-total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cart_totals .order-total th,
.cart_totals .order-total td {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.cart_totals tr.shipping {
  flex-wrap: wrap;
}

.cart_totals tr.shipping th {
  flex: 1 1 100%;
}

.cart_totals tr.shipping td {
  flex: 1 1 100%;
  text-align: left;
}

.cart_totals tr.shipping .woocommerce-shipping-destination {
  margin: 4px 0 0;
  font-size: 10px;
  line-height: 1.5;
}

.cart_totals .shipping ul {
  margin: 0;
}

.cart_totals .shipping li {
  font-size: 12px;
}

.cart_totals .shipping li label {
  margin-left: 6px;
}

.cart_totals .wc-proceed-to-checkout {
  margin-top: 18px;
}

.cart_totals .wc-proceed-to-checkout .checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 0;
}

.cart_totals .wc-proceed-to-checkout .checkout-button:hover {
  background: #b3241a;
  color: var(--accent-ink);
}

.cart_totals .pay-note {
  margin: 10px 0 0;
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}

.cart-empty-state {
  border: 1px solid var(--line);
  background: var(--surface-3);
  padding: 48px;
}

.cart-empty-state h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.02em;
}

/* ---------- checkout ---------- */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: start;
}

.checkout-form {
  display: block;
}

.checkout-step {
  border: 0;
  margin: 0 0 10px;
  padding: 0;
}

.checkout-step legend {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 0;
}

.checkout-step-title {
  margin: 26px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.checkout-summary {
  border: 1px solid var(--line);
  background: var(--surface-3);
  padding: 24px;
  position: sticky;
  top: 100px;
  align-self: start;
}

.checkout-summary h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.woocommerce-checkout-review-order-table thead {
  display: none;
}

.woocommerce-checkout-review-order-table tbody tr {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.woocommerce-checkout-review-order-table tbody td {
  border: 0;
  padding: 0;
}

.woocommerce-checkout-review-order-table .product-name {
  color: var(--ink);
}

.woocommerce-checkout-review-order-table .product-total {
  text-align: right;
  white-space: nowrap;
}

.woocommerce-checkout-review-order-table tfoot tr {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
  border: 0;
  padding: 0;
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}

.woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
  color: var(--ink);
}

.woocommerce-checkout-review-order-table tfoot .order-total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.checkout-summary .trust-list {
  margin-bottom: 0;
}

/* ---------- mi cuenta ---------- */
.account-page {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
  padding: 40px 0 80px;
}

.account-page h1 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.account-content {
  margin-top: 26px;
}

.account-aside {
  border: 1px solid var(--line);
  background: var(--surface-3);
  padding: 24px;
}

.account-aside h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.account-aside .btn {
  margin-top: 14px;
}

.pay-note--left {
  text-align: left;
}

/* ---------- drawer / modal / buscador ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgb(23 20 15 / 0.45);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 120;
  width: min(420px, 100%);
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgb(23 20 15 / 0.15);
}

.drawer.is-open {
  transform: none;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.drawer-body {
  flex: 1;
  overflow: auto;
  padding: 18px 22px;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--surface-2);
  padding: 5px;
}

.cart-line-body strong {
  display: block;
  font-size: 12px;
}

.cart-line-body small {
  color: var(--muted);
  font-size: 10px;
}

.cart-line-remove {
  display: inline-block;
  margin-top: 4px;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
}

.cart-line-price {
  font-size: 12px;
  white-space: nowrap;
}

.cart-empty {
  color: var(--muted);
  font-size: 13px;
  padding: 12px 0 18px;
}

.drawer-foot {
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 12px;
}

.drawer-foot .pay-note {
  margin: 10px 0 0;
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgb(23 20 15 / 0.55);
}

.modal.is-open {
  display: flex;
}

.modal-card {
  width: min(880px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: var(--bg);
  padding: 26px;
  border: 1px solid var(--line);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.modal-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.compare-table th,
.compare-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.compare-table th {
  color: var(--muted);
  font-weight: 400;
}

.compare-table thead th {
  color: var(--ink);
  font-weight: 700;
  background: var(--surface-3);
}

.compare-empty {
  color: var(--muted);
  font-size: 13px;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 115;
  background: rgb(23 20 15 / 0.55);
  backdrop-filter: blur(6px);
  display: none;
  padding: 80px 20px;
}

.search-panel.is-open {
  display: block;
}

.search-box {
  width: min(720px, 100%);
  margin: 0 auto;
  background: var(--bg);
  padding: 24px;
  border: 1px solid var(--line);
}

.search-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.search-box h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.search-box input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.search-box input {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  background: var(--surface-3);
  padding: 0 14px;
  font-size: 16px;
}

.search-results {
  margin-top: 16px;
  display: grid;
  gap: 6px;
  max-height: 50vh;
  overflow: auto;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid transparent;
}

.search-result:hover {
  border-color: var(--line);
  background: var(--surface-3);
}

.search-result img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: var(--surface-2);
  padding: 4px;
}

.search-result strong {
  display: block;
  font-size: 12px;
}

.search-result small {
  color: var(--muted);
  font-size: 10px;
}

.search-empty {
  color: var(--muted);
  font-size: 13px;
  padding: 10px 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  z-index: 150;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  max-width: calc(100vw - 32px);
  text-align: center;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* con el carrito abierto, el aviso no tapa el botón de compra */
.drawer.is-open ~ .toast {
  bottom: 190px;
}

/* ---------- pie ---------- */
.footer {
  background: #17140f;
  color: #f4f1ea;
  padding: 56px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer .brand {
  color: #f4f1ea;
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(244 241 234 / 0.5);
}

.footer li {
  margin-bottom: 8px;
  font-size: 12px;
  color: rgb(244 241 234 / 0.72);
}

.footer a:hover {
  color: var(--accent);
}

.footer-brand p {
  max-width: 26rem;
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgb(244 241 234 / 0.6);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgb(244 241 234 / 0.16);
  font-size: 10px;
  color: rgb(244 241 234 / 0.45);
}

/* ---------- 404 ---------- */
.notfound h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 54px);
  letter-spacing: -0.03em;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .header-search span {
    display: none;
  }

  .header-search {
    max-width: 42px;
    padding: 0 12px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-list {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 1080px) {
  .cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    box-shadow: 0 18px 30px rgb(23 20 15 / 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav .nav-account {
    display: block;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: 0;
  }

  .header-cta {
    display: none;
  }

  .header-search {
    display: none;
  }

  .header-search-icon {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-search-grid,
  .hero-search-bottom {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-search-bottom {
    padding-bottom: 40px;
  }

  .trust {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .cats {
    grid-template-columns: 1fr 1fr;
  }

  .recommend-grid,
  .product-layout,
  .advisor-layout,
  .checkout-grid,
  .cart-layout,
  .account-page,
  .blog-feature {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .decision-panel {
    overflow-x: auto;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 18px;
  }

  .buybox,
  .summary,
  .checkout-summary,
  .cart-summary {
    position: static;
  }

  /* en móvil, el resumen va antes del formulario de pago */
  .checkout-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .checkout-summary {
    order: -1;
    align-self: stretch;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .blog-grid,
  .blog-list {
    grid-template-columns: 1fr 1fr;
  }

  .cart-item {
    grid-template-columns: 84px minmax(0, 1fr) 88px;
  }

  .cart-item-total {
    grid-column: 2 / -1;
    text-align: left;
    padding-top: 6px;
  }

  .cart-item-media img {
    width: 84px;
    height: 84px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 56px 0;
  }

  .product-grid,
  .shop-grid,
  .blog-grid,
  .blog-list {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-title em {
    display: block;
  }

  .hero-stats {
    gap: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .checkout h1 {
    font-size: 30px;
  }

  .p-compare {
    opacity: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .blog-feature {
    gap: 18px;
  }

  .btn {
    min-height: 46px;
    padding: 0 18px;
  }

  .shop-toolbar {
    align-items: flex-start;
  }

  .shop-toolbar-end {
    width: 100%;
    justify-content: space-between;
  }

  .filter-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    width: 100%;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .cart-item-media img {
    width: 72px;
    height: 72px;
  }

  .cart-item-qty {
    grid-column: 2;
  }

  .cart-item-total {
    grid-column: 2;
  }

  .cart-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .coupon input {
    flex: 1;
  }

  .cart-empty-state {
    padding: 28px;
  }

  .cta-band {
    padding: 24px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1;
  }

  .article-cta {
    padding: 22px;
  }

  .quote {
    padding: 48px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- resumen de pedido (cuenta, carrito) ---------- */
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 12px;
  color: var(--muted);
}

.summary-line span:last-child {
  color: var(--ink);
  font-weight: 600;
}

.summary-line + .summary-line {
  border-top: 1px solid var(--line);
}

.account-aside .summary-line:first-of-type {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

/* la etiqueta de la guía no debe compartir línea con el eyebrow */
.blog-feature .blog-tag {
  display: block;
  margin: 0 0 10px;
}
