/* BiMordiscos — tienda online. Paleta crema/oliva/dorado */
:root {
  --bg: #faf6ee;
  --surface: #ffffff;
  --ink: #26251f;
  --muted: #7c7668;
  --olive: #74845c;
  --olive-dark: #55613f;
  --olive-tint: #eef1e4;
  --gold: #d9a43f;
  --danger: #c0392b;
  --border: #e8e1d2;
  --radius: 16px;
  --shadow: 0 2px 14px rgba(60, 55, 40, 0.08);
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--olive-dark);
  color: #fff;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.3px;
  padding: 7px 12px;
}

/* ---------- Header ---------- */
header.site {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
}
.logo { flex-shrink: 0; line-height: 1; }
.logo .l1 {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.logo .l1 svg { width: 24px; height: 24px; }
.logo .l2 {
  color: var(--olive);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 6.5px;
  margin-top: 1px;
}
.logo .l3 {
  font-size: 8.5px;
  letter-spacing: 2.2px;
  color: var(--muted);
  margin-top: 3px;
  text-transform: uppercase;
}
.searchbox { flex: 1; position: relative; }
.searchbox input {
  width: 100%;
  border: 1.5px solid var(--border);
  background: var(--bg);
  border-radius: 999px;
  padding: 10px 42px 10px 18px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.searchbox input:focus { border-color: var(--olive); }
.searchbox .sbtn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  background: none;
  border: 0;
  padding: 6px 9px;
  border-radius: 999px;
}
.searchbox .sbtn:hover { color: var(--olive-dark); background: var(--olive-tint); }
.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-height: 420px;
  overflow-y: auto;
  display: none;
  z-index: 60;
}
.search-results.open { display: block; }
.search-results a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
}
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover { background: var(--olive-tint); }
.search-results img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.search-results .sr-name { font-size: 13.5px; font-weight: 600; }
.search-results .sr-price { font-size: 13px; color: var(--olive-dark); font-weight: 700; margin-left: auto; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-actions a { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--gold);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ---------- Nav ---------- */
nav.main {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
nav.main ul {
  display: flex;
  gap: 4px;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
}
nav.main > .wrap > ul > li { position: relative; }
nav.main a {
  display: block;
  padding: 11px 13px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
nav.main a:hover { color: var(--olive-dark); }
nav.main .offer > a { color: var(--gold); }
nav.main .featured > a {
  background: #f6ecd2;
  color: #8a6a1e;
  border: 1px solid #e6d3a0;
  border-radius: 999px;
  padding: 7px 15px;
  margin: 4px 4px 0;
  transition: background 0.15s, border-color 0.15s;
}
nav.main .featured > a:hover {
  background: #f0e2bc;
  border-color: var(--gold);
  color: #7a5c12;
}

/* selector compra única / suscripción */
.sub-toggle { display: grid; gap: 8px; margin: 12px 0 4px; }
.sub-toggle label {
  display: block;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 9px 13px;
  cursor: pointer;
  font-size: 12.5px;
}
.sub-toggle label.on { border-color: var(--olive); background: var(--olive-tint); }
.sub-toggle b { display: block; font-size: 13px; }
.sub-toggle span { color: var(--muted); font-size: 11.5px; }
.sub-toggle input { display: none; }
nav.main .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 240px;
  display: none;
  z-index: 55;
  padding: 6px 0;
}
nav.main li:hover .dropdown { display: block; }
nav.main .dropdown a { padding: 8px 18px; font-weight: 500; }
nav.main .dropdown a:hover { background: var(--olive-tint); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, #f6f1e4 0%, #eef1e4 100%);
  border-radius: var(--radius);
  margin-top: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
}
.hero-txt { padding: 48px 20px 48px 48px; }
.hero-txt .kicker {
  color: var(--olive-dark);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 12px;
  text-transform: uppercase;
}
.hero-txt h1 { font-size: 38px; line-height: 1.15; margin: 10px 0 14px; font-weight: 800; }
.hero-txt h1 em { font-style: normal; color: var(--olive); }
.hero-txt p { color: var(--muted); max-width: 400px; margin-bottom: 24px; }
.hero-img { height: 100%; min-height: 320px; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--olive);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}
.btn:hover { background: var(--olive-dark); }
.btn.ghost {
  background: transparent;
  color: var(--olive-dark);
  border: 1.5px solid var(--olive);
}
.btn.ghost:hover { background: var(--olive-tint); }
.btn.gold { background: var(--gold); }
.btn.gold:hover { background: #c08f2e; }
.btn.white { background: #fff; color: var(--olive-dark); }
.btn.white:hover { background: var(--bg); }
.btn.add { background: var(--gold); }
.btn.add:hover { background: #c08f2e; }
.btn.add.added {
  background: var(--olive-dark);
  pointer-events: none;
  animation: addpop 0.25s ease;
}
@keyframes addpop {
  0% { transform: scale(1); }
  50% { transform: scale(1.07); }
  100% { transform: scale(1); }
}
.btn.small { padding: 8px 18px; font-size: 13px; }
.btn.full { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- Benefits strip ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 26px;
  margin-top: 20px;
}
.benefit { display: flex; gap: 14px; align-items: center; }
.benefit svg { color: var(--olive); flex-shrink: 0; }
.benefit b { display: block; font-size: 14px; }
.benefit span { color: var(--muted); font-size: 12.5px; }

/* ---------- Sections ---------- */
section.block { margin-top: 52px; }
.block h2 { text-align: center; font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.block .sub { text-align: center; color: var(--muted); margin-bottom: 28px; font-size: 14px; }

/* Category circles */
.cats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.cat-item { text-align: center; }
.cat-item .ring {
  width: min(110px, 100%);   /* en móvil la rejilla es más estrecha que 110 px: nada de scroll lateral */
  aspect-ratio: 1;
  height: auto;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cat-item:hover .ring { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-item .ring img { width: 100%; height: 100%; object-fit: cover; }
.cat-item b { font-size: 13px; font-weight: 600; }

/* ---------- Product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ph { display: block; aspect-ratio: 1; background: #fff; overflow: hidden; position: relative; }
.card .ph > a:not(.cardbtn) { display: block; width: 100%; height: 100%; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
  z-index: 3;
}
/* botón superpuesto en la imagen: aparece con transición de 0,5 s */
.card .cardbtn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  z-index: 2;
}
.card:hover .cardbtn, .card:focus-within .cardbtn {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.card .cardbtn.added { transform: translate(-50%, 0); }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.card .name { font-size: 13.5px; font-weight: 400; margin: 0 0 8px; flex: 1; color: #44403a; }
.card .price { font-size: 16px; font-weight: 800; color: var(--olive-dark); margin-bottom: 4px; }
.card .listbtn { display: none; }
.card .excerpt { display: none; }
.grid.list .card .excerpt {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  margin: 2px 0 8px;
}

/* ---------- vista lista (estilo Amazon) ---------- */
.view-toggle { display: flex; border: 1.5px solid var(--border); border-radius: 999px; overflow: hidden; }
.view-toggle button {
  background: var(--surface);
  border: 0;
  padding: 7px 13px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1;
}
.view-toggle button.on { background: var(--olive); color: #fff; }
.grid.list { display: flex; flex-direction: column; gap: 12px; }
.grid.list .card { flex-direction: row; align-items: stretch; }
.grid.list .card .ph { width: 150px; min-width: 150px; aspect-ratio: 1; align-self: center; border-radius: 12px; margin: 10px; }
.grid.list .card .cardbtn { display: none; }
.grid.list .card .listbtn { display: inline-flex; align-self: flex-start; width: auto; }
.grid.list .card .body { justify-content: center; padding: 14px 16px 14px 4px; }
.grid.list .card .name { flex: 0 0 auto; font-size: 14.5px; }
.card .price .old { color: var(--muted); text-decoration: line-through; font-weight: 500; font-size: 12.5px; margin-right: 6px; }
.card .price .desde { font-size: 11.5px; font-weight: 500; color: var(--muted); }

/* ---------- Banner CTA ---------- */
.banner {
  margin-top: 52px;
  background: var(--olive);
  border-radius: var(--radius);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 40px 48px;
}
.banner h2 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.banner p { opacity: 0.9; max-width: 560px; }
.banner .btn { background: #fff; color: var(--olive-dark); }
.banner .btn:hover { background: var(--bg); }

/* ---------- Breadcrumbs / category page ---------- */
.crumbs { font-size: 12.5px; color: var(--muted); margin: 22px 0 6px; }
.crumbs a:hover { color: var(--olive-dark); }
.pagehead h1 { font-size: 28px; font-weight: 800; }
.pagehead .count { color: var(--muted); font-size: 13.5px; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 24px; }
.chips a {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 15px;
  font-size: 12.5px;
  font-weight: 600;
}
.chips a:hover, .chips a.on { background: var(--olive); color: #fff; border-color: var(--olive); }

/* ---------- Product page ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin-top: 26px;
}
.gallery .main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 1;
  overflow: hidden;
}
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs img {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--border);
  cursor: pointer;
  background: #fff;
}
.thumbs img.on { border-color: var(--olive); }
.pinfo h1 { font-size: 26px; font-weight: 800; line-height: 1.25; }
.pinfo .cats { display: block; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.pinfo .price { font-size: 26px; font-weight: 800; color: var(--olive-dark); margin: 14px 0; }
.pinfo .price .old { font-size: 17px; color: var(--muted); text-decoration: line-through; font-weight: 500; margin-right: 8px; }
.pinfo .short { color: var(--muted); font-size: 14px; }
.pinfo label { font-size: 13px; font-weight: 600; display: block; margin: 18px 0 6px; }
.pinfo select, .qty input {
  font-family: inherit;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--surface);
  outline: none;
}
.pinfo select { width: 100%; max-width: 340px; }
.buyrow { display: flex; gap: 12px; margin-top: 22px; align-items: center; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 999px; background: var(--surface); }
.qty button { background: none; border: 0; font-size: 17px; padding: 8px 14px; color: var(--olive-dark); }
.qty input { border: 0; width: 38px; text-align: center; padding: 8px 0; background: transparent; }
.stockline { margin-top: 14px; font-size: 13px; color: var(--olive-dark); font-weight: 600; }
.stockline.out { color: var(--danger); }
.desc { margin-top: 48px; max-width: 860px; }
.desc h2 { font-size: 20px; margin-bottom: 12px; }
.desc p { margin-bottom: 12px; color: #44403a; }
.desc h3, .desc h4 { margin: 18px 0 8px; }
.desc ul, .desc ol { margin: 0 0 12px 22px; }
.desc img { border-radius: 12px; margin: 10px 0; }

/* ---------- Cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; margin-top: 26px; align-items: start; }
.cart-items, .panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cart-items .item {
  display: grid;
  grid-template-columns: 74px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.cart-items .item:last-child { border-bottom: 0; }
.cart-items img { width: 74px; height: 74px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--border); }
.cart-items .iname { font-weight: 600; font-size: 14px; }
.cart-items .iattrs { color: var(--muted); font-size: 12.5px; }
.cart-items .iprice { font-weight: 700; color: var(--olive-dark); white-space: nowrap; }
.cart-items .rm { background: none; border: 0; color: var(--muted); font-size: 17px; }
.cart-items .rm:hover { color: var(--danger); }
.panel { padding: 22px 24px; }
.panel h3 { font-size: 17px; margin-bottom: 14px; }
.trow { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; }
.trow.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; font-weight: 800; font-size: 17px; }
.freeship-note { background: var(--olive-tint); border-radius: 10px; font-size: 12.5px; padding: 9px 13px; margin: 12px 0; color: var(--olive-dark); }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty svg { margin-bottom: 12px; color: var(--border); }

/* Checkout form */
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrid .full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; display: block; margin-bottom: 5px; }
.field input {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--bg);
  outline: none;
}
.field input:focus { border-color: var(--olive); }
.payopts { display: grid; gap: 10px; margin: 16px 0; }
.payopt {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  cursor: pointer;
  background: var(--surface);
}
.payopt.on { border-color: var(--olive); background: var(--olive-tint); }
.payopt b { font-size: 14px; }
.payopt span { font-size: 12px; color: var(--muted); display: block; }
.paylogo { margin-left: auto; font-weight: 800; font-size: 13px; color: var(--muted); }
#checkout-msg { font-size: 13px; color: var(--danger); margin-top: 10px; min-height: 18px; }

/* ---------- Login / registro ---------- */
.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 30px 0 10px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 560px;
  box-shadow: var(--shadow);
}
.auth-photo { position: relative; min-height: 100%; }
.auth-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.auth-quote {
  position: absolute;
  bottom: 26px;
  left: 26px;
  right: 26px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.auth-card { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.auth-b { width: 46px; height: 46px; margin-bottom: 16px; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.auth-tabs button {
  border: 1.5px solid var(--border);
  background: var(--bg);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
}
.auth-tabs button.on { background: var(--olive); border-color: var(--olive); color: #fff; }
.auth-form h1 { font-size: 25px; font-weight: 800; margin-bottom: 4px; }
.auth-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.auth-form .field { margin-bottom: 13px; }
.auth-form .btn { margin-top: 6px; }
.auth-msg { min-height: 20px; font-size: 13px; color: var(--danger); margin-top: 10px; }
.auth-msg.ok { color: var(--olive-dark); }
.auth-alt { font-size: 13px; color: var(--muted); margin-top: 14px; }
.auth-alt a { color: var(--olive-dark); font-weight: 600; text-decoration: underline; }
@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-photo { min-height: 220px; }
  .auth-card { padding: 30px 24px; }
}

/* modal */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(38, 37, 31, 0.55);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.modal-bg[hidden], .drawer-bg[hidden] { display: none; }
.auth-wrap.modal {
  margin: auto;
  max-width: 880px;
  width: 100%;
  min-height: 0;
  max-height: calc(100vh - 40px);
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.auth-wrap.modal .auth-card { overflow-y: auto; max-height: calc(100vh - 40px); }
.auth-wrap.modal .fgrid { gap: 10px; }
.auth-wrap.modal .field { margin-bottom: 4px; }
.modal-x {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 5;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  font-size: 15px;
  color: var(--muted);
}
.modal-x:hover { color: var(--danger); }
@media (max-width: 900px) {
  .auth-wrap.modal .auth-photo { display: none; }
}

/* ---------- Mi cuenta ---------- */
.order-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 14px;
}
.order-head {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.order-head b:first-child { font-size: 15px; }
.order-head .odate { color: var(--muted); font-size: 12.5px; }
.order-head .ototal { text-align: right; font-size: 15px; }
.status {
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 12px;
  background: var(--olive-tint);
  color: var(--olive-dark);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  justify-self: start;
}
.status.st-pend { background: #fdf3d7; color: #8a6a1e; }
.status.st-paid { background: #e3efdb; color: #3d5a25; }
.status.st-ship { background: #e1ecf7; color: #2d5a8a; }
.status.st-done { background: var(--olive-dark); color: #fff; }
.status.st-off  { background: #f0e6e4; color: #a04434; }
.order-items {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
@media (max-width: 640px) {
  .order-head { grid-template-columns: 1fr auto; }
  .order-head .odate { grid-column: 1; }
  .order-head .ototal { grid-column: 2; grid-row: 1; }
  .status { grid-row: 2; }
}
.acc-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }

/* ---------- Slider de portada ---------- */
.slider { position: relative; margin-top: 22px; overflow: hidden; border-radius: var(--radius); }
.slider .slides {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.slider .slide {
  min-width: 100%;
  margin-top: 0;
  border-radius: 0;
}
.slide.s-dark { background: linear-gradient(120deg, var(--olive-dark) 0%, var(--olive) 100%); color: #fff; }
.slide.s-dark .hero-txt p, .slide.s-dark .hero-txt h1 { color: #fff; }
.slide.s-dark .hero-txt p { opacity: 0.9; }
.slide.s-dark h1 em { color: #e9c97a; }
.slide.s-gold { background: linear-gradient(120deg, #f6ecd4 0%, #f2e2b8 100%); }
.slide.s-gold h1 em { color: #b0821f; }
.slide.s-gold .kicker { color: #9a7415; }
.slide.s-sage { background: linear-gradient(120deg, #e7ede0 0%, #d8e2cc 100%); }
.sl-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  line-height: 1;
  color: var(--olive-dark);
  z-index: 5;
  transition: background 0.15s;
}
.sl-arrow:hover { background: #fff; }
.sl-arrow.prev { left: 14px; }
.sl-arrow.next { right: 14px; }
.sl-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.sl-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, background 0.2s;
}
.sl-dots button.on { background: var(--gold); transform: scale(1.3); }

/* pasos de la landing BimorBox */
.bx-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  max-width: 1020px;
  margin: 0 auto;
}
.bx-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
  text-align: center;
}
.bx-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--olive);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 10px;
}
.bx-step b { display: block; font-size: 14.5px; margin-bottom: 5px; }
.bx-step p { color: var(--muted); font-size: 12.5px; line-height: 1.5; }

/* ---------- Plantilla BimorBox (premium) ---------- */
.bx-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 30px;
  align-items: center;
  background: linear-gradient(130deg, #f3ecda 0%, #ecdfc4 100%);
  border: 1px solid #e2d5b8;
  border-radius: 22px;
  color: var(--ink);
  padding: 46px 48px;
  margin-top: 22px;
  position: relative;
  overflow: hidden;
}
.bx-hero::before {
  content: "🐾";
  position: absolute;
  font-size: 200px;
  opacity: 0.07;
  right: -30px;
  top: -50px;
  transform: rotate(20deg);
}
.bx-kicker {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 14px;
}
.bx-hero h1 { font-size: 38px; font-weight: 800; line-height: 1.12; margin-bottom: 10px; }
.bx-sub { color: #5d5748; font-size: 15px; margin-bottom: 20px; max-width: 480px; }
.bx-buy {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  max-width: 430px;
  box-shadow: 0 10px 28px rgba(60, 55, 40, 0.16);
}
.bx-buy .price { font-size: 26px; font-weight: 800; color: var(--olive-dark); margin-bottom: 6px; }
.bx-buy .price .old { font-size: 16px; color: var(--muted); text-decoration: line-through; font-weight: 500; margin-right: 8px; }
.bx-buy label { font-size: 12.5px; font-weight: 600; display: block; margin: 8px 0 5px; }
.bx-buy select { width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 9px 12px; font-family: inherit; font-size: 13.5px; }
.bx-buy .buyrow { margin-top: 12px; }
.bx-buy .stockline { margin-top: 10px; }
.bx-hero-img { position: relative; z-index: 1; }
.bx-hero-img img {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
}
.bx-perks { margin-top: 18px; }
.bx-ico { font-size: 26px; }

.bx-inside { margin-top: 54px; text-align: center; }
.bx-inside h2 { font-size: 30px; font-weight: 800; }
.bx-inside-sub { color: var(--muted); margin: 6px 0 26px; }
.bx-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.bx-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.bx-item:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--shadow); }
.bx-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 10px; }
.bx-item b { display: block; font-size: 13px; line-height: 1.3; }
.bx-item span { color: var(--olive-dark); font-weight: 700; font-size: 12.5px; }
.bx-value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 2px dashed var(--gold);
  border-radius: 18px;
  padding: 20px 30px;
  margin: 28px auto 0;
  max-width: 720px;
}
.bx-value span { display: block; font-size: 12px; color: var(--muted); }
.bx-value b { font-size: 24px; font-weight: 800; color: var(--olive-dark); }
.bx-value b.old { color: var(--muted); text-decoration: line-through; }
.bx-arrow { font-size: 26px; color: var(--gold); }
.bx-save {
  background: var(--gold);
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 15px;
  transform: rotate(-3deg);
}

.bx-desc { max-width: 780px; margin: 54px auto 0; }
.bx-desc > h2 { text-align: center; font-size: 30px; font-weight: 800; margin-bottom: 20px; }
.bx-desc { font-size: 15.5px; line-height: 1.75; color: #3d3a33; }
.bx-desc h3, .bx-desc h4 { font-size: 20px; margin: 26px 0 10px; color: var(--olive-dark); }
.bx-desc img { border-radius: 14px; margin: 14px 0; }
.bx-desc ul, .bx-desc ol { margin: 0 0 14px 24px; }
.bx-desc p { margin-bottom: 14px; }

/* zigzag texto-imagen de la descripción premium */
.bx-band {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 22px;
  margin-top: 48px;
}
.bx-zigwrap { max-width: none; }
.bx-zigwrap > h2 { margin-bottom: 6px; }
.bx-zig {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1080px;
  margin: 44px auto;
}
.bx-zig.rev .bx-zig-txt { order: 2; }
.bx-zig.rev .bx-zig-img { order: 1; }
.bx-zig-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(60, 55, 40, 0.18);
  transform: rotate(-1.5deg);
}
.bx-zig.rev .bx-zig-img img { transform: rotate(1.5deg); }
.bx-zig-txt h2, .bx-zig-txt h3, .bx-zig-txt h4 { text-align: left; }
.bx-zig-solo { max-width: 780px; margin: 30px auto; }
@media (max-width: 860px) {
  .bx-zig { grid-template-columns: 1fr; gap: 18px; margin: 30px auto; }
  .bx-zig.rev .bx-zig-txt { order: 1; }
  .bx-zig.rev .bx-zig-img { order: 2; }
}

.bx-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.bx-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.2s;
}
.bx-gallery img:hover { transform: scale(1.02) rotate(-1deg); }

.bx-cta {
  margin-top: 54px;
  text-align: center;
  background: linear-gradient(130deg, var(--olive-dark), var(--olive));
  color: #fff;
  border-radius: 22px;
  padding: 46px 30px;
}
.bx-cta h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.bx-cta p { opacity: 0.9; margin-bottom: 22px; }

@media (max-width: 900px) {
  .bx-hero { grid-template-columns: 1fr; padding: 30px 24px; }
  .bx-hero h1 { font-size: 28px; }
  .bx-hero-img { order: -1; }
  .bx-hero-img img { transform: none; max-width: 320px; }
  .bx-value { gap: 14px; padding: 16px; }
}

/* ---------- Toast ---------- */
#toast {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  padding: 13px 20px;
  font-size: 13.5px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  z-index: 100;
}
#toast.show { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
footer.site {
  margin-top: 70px;
  background: var(--olive-dark);
  color: #f2efe6;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 46px 0 30px;
}
.foot-grid h4 { font-size: 14px; margin-bottom: 12px; color: #fff; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 7px; font-size: 13px; opacity: 0.85; }
.foot-grid a:hover { text-decoration: underline; }
.foot-brand .l2 { color: #cdd6b8; font-weight: 700; letter-spacing: 5px; font-size: 12px; }
.foot-brand p { font-size: 12.5px; opacity: 0.8; margin-top: 10px; max-width: 260px; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 0;
  font-size: 12px;
  opacity: 0.75;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Menú móvil (drawer) ---------- */
#bm-burger {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  padding: 6px;
  border-radius: 8px;
}
#bm-burger:hover { background: var(--olive-tint); }
.drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(38, 37, 31, 0.55);
  z-index: 300;
}
.drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--surface);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  animation: slidein 0.2s ease;
}
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.drawer-head .modal-x { position: static; }
.drawer-search { display: flex; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.drawer-search input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13.5px;
  background: var(--bg);
  outline: none;
}
.drawer-nav { flex: 1; position: relative; overflow: hidden; }
.drawer-nav .dpanel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 10px 0;
  background: var(--surface);
  transition: transform 0.25s ease;
}
.drawer-nav .dpanel.main { transform: none; }
.drawer-nav.subopen .dpanel.main { transform: translateX(-30%); }
.drawer-nav .dpanel.sub { transform: translateX(105%); }
.drawer-nav .dpanel.sub.open { transform: none; box-shadow: -8px 0 20px rgba(0, 0, 0, 0.08); }
.drawer-nav a, .drawer-nav .dnav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 11px 22px;
  font-size: 14.5px;
  font-weight: 500;
  background: none;
  border: 0;
  text-align: left;
  font-family: inherit;
  color: var(--ink);
}
.drawer-nav a:hover, .drawer-nav .dnav-item:hover { background: var(--olive-tint); }
.drawer-nav .dnav-item span { color: var(--muted); font-size: 17px; }
.drawer-nav .dback {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--olive-tint);
  border: 0;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--olive-dark);
  font-family: inherit;
  margin-bottom: 6px;
}
.drawer-nav .dall b { color: var(--olive-dark); }
.drawer-sep { border-top: 1px solid var(--border); margin: 10px 0; }

/* mini carrito deslizante (derecha → izquierda, 0,4 s) */
.cart-drawer {
  animation: none;
  width: min(380px, 92vw);
  transform: translateX(105%);
  transition: transform 0.4s ease;
}
.drawer-bg.open .cart-drawer { transform: none; }
.cd-items { flex: 1; overflow-y: auto; }
.cd-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.cd-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
}
.cd-item .iname { font-weight: 600; line-height: 1.3; }
.cd-item .iattrs { color: var(--muted); font-size: 12px; }
.cd-item > b { color: var(--olive-dark); white-space: nowrap; }
.cd-qty { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.cd-qty button {
  background: var(--olive-tint);
  border: 0;
  border-radius: 999px;
  width: 22px;
  height: 22px;
  font-size: 13px;
  color: var(--olive-dark);
  line-height: 1;
}
.cd-qty .rm { background: none; color: var(--muted); margin-left: 6px; }
.cd-qty .rm:hover { color: var(--danger); }
.cd-foot { border-top: 1px solid var(--border); padding: 14px 18px 18px; }

/* ---------- Catálogo /tienda/ ---------- */
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.shop-tools { display: flex; gap: 10px; align-items: center; }
/* desplegable de orden propio */
.sortdd { position: relative; }
.sortdd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 13.5px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  background: var(--surface);
}
.sortdd-btn .chev { color: var(--muted); font-size: 11px; }
.sortdd-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 60;
}
.sortdd-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 14.5px;
  padding: 11px 14px;
  border-radius: 9px;
  color: var(--ink);
}
.sortdd-menu button:hover { background: var(--olive-tint); }
.sortdd-menu button.on { background: var(--olive); color: #fff; font-weight: 600; }
#shop-filter-btn { display: none; }
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 26px;
  align-items: start;
  margin-top: 18px;
}
.shop-layout > div { min-width: 0; }
.shop-filters {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  position: sticky;
  top: 130px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}
.shop-filters .fhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.shop-filters .fhead .modal-x { display: none; position: static; }
.fgroup { border-top: 1px solid var(--border); padding: 13px 0; }
.fgroup > b { display: block; font-size: 13px; margin-bottom: 8px; }
.fgroup label { display: block; font-size: 13px; padding: 3px 0; cursor: pointer; }
.fgroup label.subcat { padding-left: 12px; color: #55524a; }
.fgroup input[type="search"], .fgroup input[type="number"] {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 8px 11px;
  font-family: inherit;
  font-size: 13px;
  background: var(--bg);
  outline: none;
}
.frow { display: flex; gap: 8px; align-items: center; color: var(--muted); }
/* barra de precio con dos tiradores */
.price-slider { position: relative; height: 28px; margin-top: 6px; }
.price-slider .ps-track {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border);
  border-radius: 999px;
}
.price-slider .ps-range {
  position: absolute;
  top: 12px;
  height: 4px;
  background: var(--olive);
  border-radius: 999px;
}
.price-slider input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  background: none;
  border: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
  height: 28px;
}
.price-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--olive);
  cursor: grab;
  margin-top: 0;
}
.price-slider input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--olive);
  cursor: grab;
}
#f-price-label { color: var(--olive-dark); }
.fscroll { max-height: 180px; overflow-y: auto; }
.shop-filters .btn { margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(4, 1fr); }
  .benefits { grid-template-columns: 1fr; gap: 16px; }
  .hero { grid-template-columns: 1fr; }
  .hero-txt { padding: 34px 26px; }
  .pdp { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  /* header móvil: solo logo + carrito + hamburguesa */
  nav.main, .searchbox, #bm-account, .cart-word { display: none; }
  #bm-burger { display: inline-flex; }
  .header-row { gap: 12px; justify-content: space-between; }
  .header-actions { gap: 14px; }
  .logo img { height: 38px !important; }
  .logo .l3 { display: none; }

  /* modal de acceso a pantalla completa */
  .modal-bg { padding: 0; }
  .auth-wrap.modal { max-width: none; height: 100%; max-height: none; border-radius: 0; border: 0; }
  .auth-wrap.modal .auth-card { max-height: none; }

  /* filtros de tienda como panel lateral deslizante */
  .shop-layout { grid-template-columns: 1fr; }
  #shop-filter-btn { display: inline-flex; font-size: 14px; padding: 10px 18px; }
  .chips { display: none; }
  .shop-tools { width: 100%; flex-wrap: wrap; }
  .sortdd { flex: 1; min-width: 0; }
  .sortdd-btn { width: 100%; justify-content: space-between; font-size: 14.5px; padding: 10px 16px; }
  .sortdd-menu { left: auto; right: 0; }
  .shop-filters {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(320px, 86vw);
    max-height: none;
    height: 100%;
    border-radius: 0;
    z-index: 300;
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.2);
  }
  .shop-filters.open { transform: none; }
  .shop-filters .fhead .modal-x { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 640px) {
  .grid.list .card { min-width: 0; max-width: 100%; }
  .grid.list .card .body { min-width: 0; overflow: hidden; }
  .grid.list .card .excerpt {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .hero-txt h1 { font-size: 28px; }
  .banner { grid-template-columns: 1fr; padding: 30px 26px; }
  .cart-items .item { grid-template-columns: 60px 1fr auto; }
  .cart-items .iprice { grid-column: 2; }
  .fgrid { grid-template-columns: 1fr; }
}

/* ---------- páginas informativas ---------- */
.infopage{max-width:820px;margin:10px 0 60px;line-height:1.75;color:#4a4436}
.infopage h2{margin:34px 0 12px;font-size:23px;color:#3d4a2a}
.infopage h3{margin:24px 0 10px;color:#3d4a2a}
.infopage p{margin:0 0 14px}
.infopage ul,.infopage ol{margin:0 0 16px 22px}
.infopage li{margin-bottom:8px}
.infopage a{color:#5E8A2E}
.contact-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:22px;align-items:start;margin:10px 0 60px}
.contact-list{list-style:none;margin:0;padding:0}
.contact-list li{margin-bottom:14px;line-height:1.55}
.contact-list a{color:#5E8A2E}
#contact-msg{margin-top:10px;font-size:14px}
@media(max-width:880px){.contact-layout{grid-template-columns:1fr}}

/* ---------- monta tu BimorBox ---------- */
.bb-card .bb-step-ctl{display:flex;align-items:center;gap:12px;margin-top:8px}
.bb-step-ctl button{width:34px;height:34px;border-radius:9px;border:1.5px solid #cfc6a8;
  background:#fffdf6;font-size:18px;cursor:pointer;line-height:1}
.bb-step-ctl button:hover{border-color:#5E8A2E;color:#5E8A2E}
.bb-qty{min-width:22px;text-align:center;font-weight:bold;font-size:16px}
.bb-card.picked{outline:2.5px solid #5E8A2E;outline-offset:-2px;border-radius:12px}
.bb-bar{position:sticky;bottom:0;z-index:30;display:flex;align-items:center;gap:18px;
  background:#31402a;color:#f4efe2;padding:14px 22px;border-radius:14px 14px 0 0;
  margin-top:26px;flex-wrap:wrap}
.bb-bar>div:first-child{display:flex;flex-direction:column}
.bb-total{font-size:21px;font-weight:bold;color:#e9c97a}
.bb-msg{flex:1;font-size:14px;opacity:.9}
.bb-bar .btn{white-space:nowrap}
@media(max-width:640px){.bb-bar{gap:10px;padding:12px 14px}.bb-msg{order:3;flex-basis:100%}}
.bb-bar[hidden]{display:none}

/* constructor BimorBox: lista compacta */
.bb-search{width:100%;max-width:420px;padding:11px 14px;border:1.5px solid #cfc6a8;
  border-radius:10px;background:#fffdf6;font-size:15px;margin:4px 0 14px;outline:none}
.bb-search:focus{border-color:#5E8A2E}
.bb-sec{font-size:18px;margin:22px 0 8px;color:#3d4a2a;border-bottom:2px solid #e6dfc9;padding-bottom:6px}
.bb-row{display:flex;align-items:center;gap:14px;padding:9px 10px;border-radius:11px;background:#fffdf6;
  border:1.5px solid #ece5d0;margin-bottom:8px}
.bb-row.picked{border-color:#5E8A2E;background:#f6faf0}
.bb-row img{width:52px;height:52px;object-fit:cover;border-radius:9px;flex:none;background:#eee}
.bb-mid{flex:1;min-width:0;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.bb-name{font-weight:600;font-size:14.5px;line-height:1.25}
.bb-var{padding:7px 9px;border:1.5px solid #cfc6a8;border-radius:8px;background:#fff;font-size:13.5px;max-width:230px}
.bb-oneprice{font-weight:bold;color:#5E8A2E;white-space:nowrap}
.bb-ctl{display:flex;align-items:center;gap:9px;flex:none}
.bb-ctl button{width:32px;height:32px;border-radius:8px;border:1.5px solid #cfc6a8;background:#fff;
  font-size:17px;cursor:pointer;line-height:1}
.bb-ctl button:hover{border-color:#5E8A2E;color:#5E8A2E}
.bb-box{position:sticky;bottom:76px;z-index:29;background:#fffdf6;border:1.5px solid #cfc6a8;
  border-radius:12px;padding:12px 16px;margin-top:14px;box-shadow:0 6px 22px rgba(0,0,0,.12);
  max-height:40vh;overflow:auto}
.bb-box[hidden]{display:none}
.bb-box-it{display:flex;justify-content:space-between;gap:10px;padding:6px 0;font-size:13.5px;
  border-bottom:1px dashed #e6dfc9;align-items:center}
.bb-box-ctl{white-space:nowrap}
.bb-box-ctl button{width:26px;height:26px;border-radius:7px;border:1.5px solid #cfc6a8;background:#fff;cursor:pointer}
@media(max-width:640px){
  .bb-mid{gap:5px}
  .bb-name{flex-basis:100%;font-size:13.5px}
  .bb-var{max-width:160px;font-size:12.5px}
  .bb-row{gap:10px;padding:8px}
  .bb-row img{width:46px;height:46px}
}

/* ---------- panel Mi cuenta ---------- */
.acc-layout{display:grid;grid-template-columns:225px 1fr;gap:26px;align-items:start;margin:6px 0 60px}
.acc-nav{display:flex;flex-direction:column;gap:4px;background:#fffdf6;border:1.5px solid #ece5d0;
  border-radius:13px;padding:10px;position:sticky;top:90px}
.acc-nav a,.acc-nav button{display:block;width:100%;text-align:left;padding:11px 13px;border-radius:9px;
  color:#4a4436;font-size:14.5px;border:0;background:none;cursor:pointer;font-family:inherit;text-decoration:none}
.acc-nav a:hover,.acc-nav button:hover{background:#f3eeda}
.acc-nav a.on{background:#5E8A2E;color:#fff;font-weight:600}
.acc-nav button{color:#B4543A;margin-top:6px;border-top:1.5px dashed #ece5d0;border-radius:0 0 9px 9px}
.acc-content{min-width:0}
.acc-h2{font-size:21px;margin:2px 0 14px;color:#3d4a2a}
.acc-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:26px}
.acc-card{display:flex;flex-direction:column;gap:3px;background:#fffdf6;border:1.5px solid #ece5d0;
  border-radius:13px;padding:16px;color:inherit;text-decoration:none;transition:.15s}
.acc-card:hover{border-color:#5E8A2E;transform:translateY(-2px)}
.acc-card span{font-size:24px}
.acc-card small{color:#7a7461}
.acc-2col{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.acc-msg{font-size:13px;color:#5E8A2E}
@media(max-width:880px){
  .acc-layout{grid-template-columns:1fr}
  .acc-nav{position:static;flex-direction:row;flex-wrap:wrap;gap:6px}
  .acc-nav a,.acc-nav button{width:auto;padding:9px 12px;font-size:13.5px;border:0;margin:0}
  .acc-2col{grid-template-columns:1fr}
}
.bb-mode{display:flex;gap:6px}
.bb-mode label{padding:8px 13px;border:1.5px solid #7a8a6a;border-radius:999px;cursor:pointer;
  font-size:13px;color:#f4efe2;white-space:nowrap}
.bb-mode label.on{background:#e9c97a;border-color:#e9c97a;color:#31402a;font-weight:600}
.bb-mode input{display:none}
.verify-banner{background:#fdf3d7;border:1.5px solid #e6d3a0;color:#6b5312;border-radius:12px;
  padding:12px 16px;margin:14px 0 0;font-size:14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.coupon-box{margin:10px 0}
.coupon-row{display:flex;gap:8px}
.coupon-row input{flex:1;padding:9px 12px;border:1.5px solid var(--border);border-radius:9px;
  font-size:13.5px;outline:none;text-transform:uppercase}
.coupon-row input:focus{border-color:var(--olive)}
.coupon-ok{font-size:13.5px;background:var(--olive-tint);border-radius:9px;padding:8px 12px;
  display:flex;align-items:center;gap:6px}
.coupon-ok .rm{margin-left:auto;border:0;background:none;color:var(--muted);font-size:14px}
#coupon-msg{color:var(--danger);font-size:12.5px;margin-top:4px}

/* ---------- banner de cookies ---------- */
#cookie-banner{position:fixed;left:14px;right:14px;bottom:14px;z-index:80;max-width:640px;
  margin:0 auto;background:var(--surface);border:1.5px solid var(--border);border-radius:16px;
  box-shadow:0 10px 40px rgba(40,35,20,.22);padding:16px 18px}
#cookie-banner[hidden]{display:none}
.ck-box{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.ck-txt{flex:1;min-width:230px}
.ck-txt p{color:var(--muted);font-size:12.5px;line-height:1.5;margin-top:4px}
.ck-txt a{color:var(--olive-dark);text-decoration:underline}
.ck-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ck-link{background:none;border:0;color:var(--muted);font-size:12.5px;text-decoration:underline;padding:6px}
.ck-panel{border-top:1.5px dashed var(--border);margin-top:12px;padding-top:12px}
.ck-panel[hidden]{display:none}
.ck-panel label{display:block;font-size:12.5px;line-height:1.5;margin-bottom:9px;color:var(--ink)}
.ck-panel b{color:var(--olive-dark)}
@media(max-width:560px){.ck-actions{width:100%}.ck-actions .btn{flex:1}}

/* pago nativo y compra exprés */
.express-slot{margin:12px 0}
.express-slot:empty{margin:0}
#payment-element{margin:6px 0 16px}
.pm-note{color:var(--muted);font-size:13px;padding:14px;border:1.5px dashed var(--border);border-radius:12px;text-align:center}
#co-paypal[hidden]{display:none}
#payopts-classic[hidden]{display:none}
#payment-element[hidden]{display:none}
#express-checkout[hidden]{display:none}

/* ventana de pago nativa */
.paymodal-bg{position:fixed;inset:0;background:rgba(30,26,16,.55);z-index:90;
  display:flex;align-items:center;justify-content:center;padding:18px}
.paymodal{background:var(--bg);border-radius:18px;max-width:480px;width:100%;
  max-height:92vh;overflow:auto;padding:22px 24px;box-shadow:0 18px 60px rgba(0,0,0,.35)}
.pm-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.pm-head b{font-size:17px}
.paymodal .btn.full{margin-top:14px}
.pm-err{color:var(--danger);font-size:13px;margin-top:8px;min-height:1em}
.pm-safe{color:var(--muted);font-size:12px;text-align:center;margin-top:10px}
.bill-toggle{display:block;font-size:13.5px;margin:14px 0 4px;cursor:pointer}
#bill-block{background:var(--olive-tint);border-radius:12px;padding:14px;margin-top:8px}
#bill-block[hidden]{display:none}
#addr-picker[hidden]{display:none}

/* libreta de direcciones y desglose de pedido */
.addr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.addr-card{background:var(--surface);border:1.5px solid var(--border);border-radius:13px;padding:14px 16px;position:relative}
.addr-card.def{border-color:var(--olive)}
.addr-def{font-size:11px;color:var(--olive-dark);font-weight:700}
.addr-card p{color:var(--muted);font-size:13px;margin:4px 0 10px;line-height:1.5}
.addr-actions{display:flex;gap:6px;flex-wrap:wrap}
.od-toggle{background:none;border:0;color:var(--olive-dark);font-size:13px;margin-top:10px;
  cursor:pointer;text-decoration:underline;padding:0}
.od-wrap[hidden]{display:none}
.od{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;margin-top:12px;padding-top:12px;
  border-top:1.5px solid var(--border)}
.od h4{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--olive-dark);margin:10px 0 6px}
.od h4:first-child{margin-top:0}
.od p{font-size:13px;color:var(--ink);line-height:1.55}
.od-row{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding:3px 0}
.od-sep{border-top:1px dashed var(--border);margin-top:6px;padding-top:8px}
.od-total{font-size:15px;font-weight:700;border-top:1.5px solid var(--border);margin-top:6px;padding-top:8px}
@media(max-width:640px){.od{grid-template-columns:1fr}}

/* landing de nutrición canina */
.nt-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:0;background:linear-gradient(120deg,#f6f1e4,#eef1e4);
  border-radius:var(--radius);margin-top:22px;overflow:hidden;align-items:center}
.nt-hero-txt{padding:46px 20px 46px 46px}
.nt-hero-txt h1{font-size:34px;line-height:1.18;margin:10px 0 14px;font-weight:800}
.nt-hero-txt h1 em{font-style:normal;color:var(--olive)}
.nt-hero-txt p{color:var(--muted);max-width:460px;margin-bottom:20px}
.nt-hero img{width:100%;height:100%;min-height:300px;object-fit:cover}
.nt-mini{font-size:12px;color:var(--muted);margin-top:10px}
#nutri-msg{margin-top:8px;font-size:13.5px;color:var(--danger)}
#nutri-result[hidden]{display:none}
.nt-block{margin-bottom:14px}
.nt-block b{display:block;font-size:14px;margin-bottom:2px}
.nt-block .why{color:var(--muted);font-size:12px;margin-bottom:8px}
.nt-prod{display:flex;gap:10px;align-items:center;padding:7px 0;border-bottom:1px dashed var(--border)}
.nt-prod img{width:44px;height:44px;object-fit:cover;border-radius:8px;background:#eee}
.nt-prod a{font-size:13.5px;font-weight:600;color:var(--ink)}
.nt-prod a:hover{color:var(--olive-dark)}
.nt-prod .p{margin-left:auto;font-weight:700;color:var(--olive-dark);font-size:13px;white-space:nowrap}
@media(max-width:880px){.nt-hero{grid-template-columns:1fr}.nt-hero-txt{padding:30px 22px}
  .nt-hero-txt h1{font-size:26px}}

/* ---------- wallpage de nutrición (wizard) ---------- */
.nz{position:relative;min-height:calc(100vh - 150px);display:flex;flex-direction:column}
.nz-progress{position:sticky;top:0;height:5px;background:var(--olive-tint);border-radius:99px;
  margin:14px 0 0;overflow:hidden;z-index:5}
.nz-bar{height:100%;width:0;background:linear-gradient(90deg,var(--olive),var(--gold));
  border-radius:99px;transition:width .45s ease}
.nz-step{display:none;flex:1;animation:nzfade .45s ease}
.nz-step.on{display:flex;align-items:center;justify-content:center;padding:28px 0 60px}
@keyframes nzfade{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.nz-split{display:grid;grid-template-columns:1.05fr 1fr;gap:34px;align-items:center;width:100%}
.nz-split.rev{direction:rtl}.nz-split.rev>*{direction:ltr}
.nz-txt h1{font-size:37px;line-height:1.15;margin:10px 0 14px;font-weight:800}
.nz-txt h2{font-size:31px;line-height:1.2;margin:10px 0 14px;font-weight:800}
.nz-txt h1 em{font-style:normal;color:var(--olive)}
.nz-txt p{color:var(--muted);max-width:470px;margin-bottom:14px;font-size:15.5px;line-height:1.65}
.nz-img img{width:100%;border-radius:var(--radius);object-fit:cover;max-height:480px;
  box-shadow:var(--shadow)}
.nz-center{max-width:620px;margin:0 auto;text-align:center;width:100%}
.nz-center.wide{max-width:860px}
.nz-center h2{font-size:30px;font-weight:800;margin:8px 0 10px}
.nz-center p{color:var(--muted);margin-bottom:16px}
.nz-dog{color:var(--olive);font-weight:800}
.nz-input{width:100%;padding:15px 18px;border:2px solid var(--border);border-radius:14px;
  font-size:17px;font-family:inherit;outline:none;background:var(--surface);text-align:center;
  transition:border-color .15s}
.nz-input:focus{border-color:var(--olive)}
.nz-input.sm{font-size:15px;padding:12px 12px}
.nz-label{display:block;text-align:left;font-size:13.5px;font-weight:600;margin:12px 0}
.nz-label .nz-input{margin-top:6px;text-align:left;font-size:15px}
.nz-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;text-align:left;font-size:13.5px;font-weight:600}
.nz-grid3 .nz-input{margin-top:6px}
.nz-nav{display:flex;gap:12px;justify-content:center;align-items:center;margin-top:22px}
.nz-back{background:none;border:0;color:var(--muted);font-size:14px;cursor:pointer;padding:8px}
.nz-back:hover{color:var(--ink)}
.nz-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:10px}
.nz-cards button{background:var(--surface);border:2px solid var(--border);border-radius:16px;
  padding:20px 14px;cursor:pointer;font-family:inherit;transition:.15s;text-align:center}
.nz-cards button:hover{border-color:var(--olive);transform:translateY(-3px)}
.nz-cards button.sel{border-color:var(--olive);background:var(--olive-tint)}
.nz-cards span{font-size:30px;display:block;margin-bottom:6px}
.nz-cards b{display:block;font-size:15px}
.nz-cards i{display:block;font-style:normal;color:var(--muted);font-size:12px;margin-top:3px;line-height:1.4}
.nz-mosaic{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0 6px}
.nz-mosaic figure{margin:0;background:var(--surface);border-radius:14px;overflow:hidden;
  border:1.5px solid var(--border)}
.nz-mosaic img{width:100%;aspect-ratio:1;object-fit:cover}
.nz-mosaic figcaption{font-size:11px;color:var(--muted);padding:7px 9px;text-align:left}
.nz-plan{text-align:left;background:var(--surface);border:1.5px solid var(--border);
  border-radius:16px;padding:18px 22px}
.nz-shake{animation:nzshake .4s;border-color:var(--danger)!important}
@keyframes nzshake{0%,100%{transform:none}25%{transform:translateX(-7px)}75%{transform:translateX(7px)}}
#nutri-msg{margin-top:10px;font-size:13.5px;color:var(--danger)}
@media(max-width:880px){
  .nz-split{grid-template-columns:1fr;gap:18px}
  .nz-img{order:-1}
  .nz-img img{max-height:220px}
  .nz-txt h1{font-size:27px}.nz-txt h2{font-size:24px}.nz-center h2{font-size:23px}
  .nz-grid3{grid-template-columns:1fr}
  .nz-mosaic{grid-template-columns:repeat(2,1fr)}
}

/* clips educativos de la wallpage */
.nz-clip{cursor:pointer}
.nz-clip .nz-center h2{font-size:34px;line-height:1.15}
.nz-clip .nz-center h2 em{font-style:normal;color:var(--olive)}
.nz-clip .nz-center p{font-size:17px;line-height:1.6;max-width:440px;margin:0 auto 16px}
.nz-clip-img{width:min(440px,88vw);max-height:38vh;object-fit:cover;border-radius:18px;
  box-shadow:var(--shadow);margin:6px auto}
.nz-dots{display:flex;gap:7px;justify-content:center;margin-bottom:18px}
.nz-dots i{width:26px;height:5px;border-radius:99px;background:var(--border)}
.nz-dots i.on{background:var(--gold)}
.nz-tapnote{color:var(--muted);font-size:13px;margin-top:14px;animation:nzpulse 1.6s infinite}
@keyframes nzpulse{0%,100%{opacity:.55}50%{opacity:1}}
.nz-minicards{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:14px 0}
.nz-minicards span{background:var(--surface);border:1.5px solid var(--border);border-radius:999px;
  padding:9px 16px;font-size:14px;font-weight:600}
@media(max-width:640px){
  .nz-clip .nz-center h2{font-size:25px}
  .nz-clip .nz-center p{font-size:15px}
  .nz-img img{max-height:34vh;object-fit:cover}
  .nz-step.on{padding:14px 0 40px}
}
.nz-buy{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}
@media(max-width:640px){.nz-buy{flex-direction:column}.nz-buy .btn{width:100%}}
.nz-bigbtn{font-size:16px;padding:14px 38px;margin-top:16px;box-shadow:0 6px 18px rgba(217,164,63,.35)}
.nz-sizehint{color:var(--olive-dark);font-size:14px;font-weight:600;min-height:1.4em;margin:4px 0 6px}
.nz-chips{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-bottom:10px}
.nz-chips button{border:2px solid var(--border);background:var(--surface);border-radius:999px;
  padding:9px 15px;font-size:13.5px;cursor:pointer;font-family:inherit;transition:.12s}
.nz-chips button:hover{border-color:var(--olive)}
.nz-chips button.sel{border-color:var(--olive);background:var(--olive-tint);font-weight:700}
.nt-nota{background:var(--olive-tint);border-radius:10px;padding:10px 14px;font-size:13px;
  color:var(--olive-dark);font-weight:600;margin-bottom:12px}
.ship-note { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
#co-form select[name="country"] { width: 100%; padding: 12px 13px; border: 1.5px solid var(--border);
  border-radius: 11px; background: #fff; font-size: 14.5px; font-family: inherit; color: var(--ink); }

/* ---- checkout: resumen lateral vivo (estructura tipo pedido guiado) ---- */
.co-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.co-login { font-size: 13px; color: var(--muted); }
.co-login a { color: var(--olive-dark); font-weight: 600; }
.co-aside { align-self: start; }
@media (min-width: 981px) { .co-aside { position: sticky; top: 92px; } }
.co-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: start;
  padding: 12px 0; border-bottom: 1px solid var(--border); }
.co-thumb { position: relative; display: block; width: 64px; height: 64px; border-radius: 12px;
  overflow: hidden; background: var(--olive-tint); flex: none; }
.co-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-badge { position: absolute; top: -6px; right: -6px; min-width: 21px; height: 21px; padding: 0 6px;
  border-radius: 999px; background: var(--olive-dark); color: #fff; font-size: 11.5px;
  font-weight: 700; display: grid; place-items: center; }
.co-name { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.co-attrs { font-size: 12px; color: var(--muted); margin-top: 2px; }
.co-price { font-size: 14px; font-weight: 700; white-space: nowrap; }
.co-qty { display: flex; align-items: center; gap: 6px; margin-top: 7px; }
.co-qty button { width: 26px; height: 26px; border: 1.5px solid var(--border); background: #fff;
  border-radius: 8px; font-size: 15px; line-height: 1; cursor: pointer; color: var(--ink); }
.co-qty button:hover:not(:disabled) { border-color: var(--olive); }
.co-qty button:disabled { opacity: .4; cursor: default; }
.co-qty span { min-width: 20px; text-align: center; font-size: 13.5px; font-weight: 600; }
.co-rm { width: auto !important; border: 0 !important; padding: 0 4px; margin-left: 4px;
  font-size: 12px !important; color: var(--muted) !important; text-decoration: underline; }
.co-rm:hover { color: var(--danger) !important; }
.co-disc { color: var(--olive-dark); }
.co-ship { margin: 12px 0 8px; font-size: 12.5px; color: var(--muted); }
.co-bar { height: 6px; border-radius: 999px; background: var(--olive-tint); overflow: hidden; margin-bottom: 6px; }
.co-bar i { display: block; height: 100%; background: var(--olive); transition: width .3s ease; }
.co-acc { border-top: 1px solid var(--border); }
.co-acc summary { cursor: pointer; padding: 11px 0; font-size: 13.5px; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center; }
.co-acc summary::-webkit-details-marker { display: none; }
.co-acc summary::after { content: "⌄"; color: var(--muted); font-size: 15px; }
.co-acc[open] summary::after { content: "⌃"; }
.co-acc p { font-size: 12.5px; color: var(--muted); line-height: 1.6; padding-bottom: 11px; }
.co-acc a { color: var(--olive-dark); text-decoration: underline; }
.co-thumb .co-noimg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; }
.co-thumb:has(img[src=""]) .co-noimg, .co-thumb:not(:has(img)) .co-noimg { display: grid; }


/* ---------- Reseñas en el pie (Google + Trustpilot) ---------- */
.foot-reviews { border-top: 1px solid rgba(255,255,255,.15); padding: 26px 0 22px; }
.foot-reviews h4 { font-size: 14px; color: #fff; margin-bottom: 14px; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.rev-card {
  display: flex; align-items: center; gap: 14px; min-height: 90px; padding: 14px 18px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; color: #f2efe6; text-decoration: none;
}
a.rev-card:hover { background: rgba(255,255,255,.12); }
.rev-logo {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 22px; background: #fff; color: #4285f4;
}
.rev-tpstar { background: #00b67a; color: #fff; }
.rev-body { display: flex; flex-direction: column; line-height: 1.25; }
.rev-body b { font-size: 22px; }
.rev-stars { color: #f5c04a; letter-spacing: 1px; font-size: 15px; }
.rev-body small { font-size: 12.5px; opacity: .8; margin-top: 3px; }
.rev-tp .trustpilot-widget { min-height: 24px; }
.rev-tp small a { color: inherit; text-decoration: underline; }
.rev-fallback { display: inline-flex; align-items: baseline; gap: 8px; color: inherit; text-decoration: none; }
/* cuando el TrustBox carga, oculta el respaldo */
.trustpilot-widget iframe + .rev-fallback, .trustpilot-widget iframe ~ .rev-fallback { display: none; }
@media (max-width: 560px) { .rev-body b { font-size: 19px; } }


/* ---------- Reseñas antes del pie: dos carruseles ---------- */
.reviews-section { margin-top: 60px; }
.rv-block { margin-top: 26px; }
.rv-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rv-head > div { line-height: 1.2; }
.rv-head b { font-size: 22px; }
.rv-head small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.rv-head small a { color: var(--olive-dark); text-decoration: underline; }
.rv-head .rev-logo { background: #fff; border: 1px solid var(--border); }
.rv-head .rev-logo.rev-tpstar { background: #00b67a; color: #fff; border: 0; }
.rv-nav { margin-left: auto; display: flex; gap: 6px; }
.rv-nav button {
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border);
  background: var(--surface); font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink);
}
.rv-nav button:hover { border-color: var(--olive); }
.rv-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; align-items: flex-start;
}
.rv-track::-webkit-scrollbar { display: none; }
.rv-card {
  flex: 0 0 min(340px, 85%); scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.rv-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rv-top > div { flex: 1; line-height: 1.2; }
.rv-top b { font-size: 14px; }
.rv-top small { display: block; color: var(--muted); font-size: 12px; }
.rv-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--olive-tint); color: var(--olive-dark); font-weight: 700;
}
.rv-card p { font-size: 14px; line-height: 1.55; color: var(--ink); max-height: 9.4em; overflow: hidden; }

/* fichas de producto: listas legibles en móvil y caja de composición */
.desc ul li, .desc ol li { margin-bottom: 7px; line-height: 1.55; }
.desc h2 { margin-top: 26px; }
.desc h2:first-child { margin-top: 0; }
.pinfo h1.long { font-size: clamp(21px, 5.2vw, 28px); line-height: 1.25; }

/* pestañas de la ficha: Descripción / Composición / Opiniones */
.pdp-tabs { margin-top: 44px; max-width: 860px; }
.pdp-tabbar { display: flex; gap: 4px; border-bottom: 2px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.pdp-tabbar::-webkit-scrollbar { display: none; }
.pdp-tabbar button {
  flex: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px;
  padding: 12px 16px; font: inherit; font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer;
}
.pdp-tabbar button.on { color: var(--olive-dark); border-bottom-color: var(--olive); }
.pdp-tabbar button:hover { color: var(--ink); }
.pdp-panel { margin-top: 22px; }
.pdp-panel > .block { margin-top: 0; padding-top: 0; }
.pdp-panel > .block h2 { margin-top: 0; }
@media (max-width: 480px) { .pdp-tabbar { justify-content: space-between; } .pdp-tabbar button { padding: 12px 8px; font-size: 14.5px; } }

/* tablas dentro de la ficha (composición): legibles en móvil */
.desc h3 { font-size: 16.5px; margin: 20px 0 8px; }
.desc .tabla { overflow-x: auto; margin: 0 0 14px; -webkit-overflow-scrolling: touch; }
.desc .tabla table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 320px; }
.desc .tabla th, .desc .tabla td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--border); line-height: 1.45; }
.desc .tabla th { background: var(--olive-tint); color: var(--olive-dark); font-size: 13px; }
.desc .tabla td:first-child { font-weight: 600; }
.desc .tabla td:last-child { color: #44403a; }
/* miniaturas de la galería: en móvil se desplazan en horizontal, nunca desbordan la página */
.thumbs { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.thumbs::-webkit-scrollbar { display: none; }

/* ---------- blog peludo ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 10px 0 60px; }
.blog-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.blog-card:hover h3 { color: var(--olive-dark); }
.blog-pic { aspect-ratio: 16/10; background: var(--olive-tint); overflow: hidden; display: grid; place-items: center; font-size: 42px; }
.blog-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-body { padding: 14px 16px 18px; }
.blog-body small { color: var(--muted); font-size: 12px; }
.blog-body h3 { font-size: 17px; margin: 6px 0 8px; line-height: 1.3; }
.blog-body p { font-size: 13.5px; color: #5c5848; line-height: 1.5; }
.blog-post { max-width: 760px; }
.blog-post h1 { font-size: clamp(24px, 4vw, 34px); margin: 4px 0 18px; line-height: 1.2; }
.blog-post .blog-fecha { color: var(--muted); font-size: 13px; }
.blog-post img { max-width: 100%; height: auto; border-radius: 12px; margin: 12px 0; }
.blog-post p, .blog-post li { font-size: 16px; }
