/* ============================================================
   pages.css — estilos compartidos para PLP, carrito, checkout,
   cuenta, blog, contacto, sobre nosotros, búsqueda
   ============================================================ */

/* ───── Page header (banner gradiente con breadcrumbs) ───── */
.page-head {
  background: var(--grad-pista);
  color: #fff;
  padding: 32px 0 36px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-head:before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 90% 30%, rgba(200,255,61,0.25) 0%, transparent 55%);
}
.page-head .container { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.page-head h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -0.025em; line-height: 1.02;
  margin: 8px 0 6px;
  text-wrap: balance;
}
.page-head h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--green-emer), var(--green-lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-head p { margin: 0; opacity: 0.9; max-width: 540px; font-size: 15px; }
.page-head-meta { font: 600 13px/1 var(--mono); opacity: 0.85; letter-spacing: 0.05em; }

.crumbs { display: flex; gap: 6px; font: 500 12px/1 var(--sans); opacity: 0.85; flex-wrap: wrap; }
.crumbs a:hover { color: var(--green-lime); }
.crumbs span { opacity: 0.5; }

/* ───── PLP — listado de productos con filtros ───── */
.plp { padding: 32px 0 64px; }
.plp-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.plp-side {
  position: sticky; top: 132px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.plp-side h3 {
  font: 700 11px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 8px 0 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.plp-side h3:first-child { padding-top: 0; border-top: 0; margin-top: 0; }
.plp-filter { display: flex; flex-direction: column; gap: 4px; }
.plp-chk {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}
.plp-chk input { display: none; }
.plp-chk-box {
  width: 18px; height: 18px;
  border: 1.5px solid var(--grey-300);
  border-radius: 4px;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background .15s, border-color .15s;
}
.plp-chk input:checked ~ .plp-chk-box {
  background: var(--accent); border-color: var(--accent);
}
.plp-chk-box svg {
  color: #fff; opacity: 0;
  transition: opacity .15s;
}
.plp-chk input:checked ~ .plp-chk-box svg { opacity: 1; }
.plp-chk-label { flex: 1; }
.plp-chk-count { color: var(--muted); font-size: 12px; }
.plp-chk:hover .plp-chk-label { color: var(--accent); }

.plp-range {
  display: flex; gap: 8px; align-items: center;
  margin-top: 6px;
}
.plp-range input {
  flex: 1; min-width: 0;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font: 500 13px/1 var(--mono);
  color: var(--fg);
  outline: none;
}
.plp-range input:focus { border-color: var(--accent); }

.plp-swatches { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.plp-sw {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--line);
  cursor: pointer;
  transition: transform .15s, border-color .15s;
}
.plp-sw:hover { transform: scale(1.08); }
.plp-sw.is-on { border-color: var(--accent); }

.plp-clear {
  margin-top: 14px;
  font: 600 12px/1 var(--sans);
  color: var(--accent);
  align-self: flex-start;
  padding: 6px 0;
  border-bottom: 1px solid currentColor;
}

.plp-main { min-width: 0; }
.plp-bar {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 18px;
  margin-bottom: 18px;
  flex-wrap: wrap; gap: 12px;
}
.plp-count { font-size: 14px; color: var(--muted); }
.plp-count b { color: var(--fg); font-weight: 600; }
.plp-bar-right { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.plp-sort {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font: 500 13px/1 var(--sans);
  color: var(--fg);
  cursor: pointer;
}
.plp-view { display: flex; gap: 4px; }
.plp-view button {
  width: 32px; height: 32px;
  border-radius: 6px;
  display: grid; place-items: center;
  color: var(--muted);
}
.plp-view button.is-on { background: var(--ink); color: #fff; }

.plp-active {
  display: flex; gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.plp-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font: 500 12px/1 var(--sans);
}
.plp-pill button { color: var(--muted); display: inline-flex; }
.plp-pill button:hover { color: var(--red); }

.plp-page {
  display: flex; justify-content: center; align-items: center; gap: 6px;
  margin-top: 32px;
}
.plp-page button, .plp-page span {
  min-width: 38px; height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  font: 600 13px/1 var(--sans);
  color: var(--fg);
  display: inline-flex; align-items: center; justify-content: center;
}
.plp-page button:hover { border-color: var(--accent); color: var(--accent); }
.plp-page button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ───── CART ───── */
.cart-wrap { padding: 32px 0 64px; }
.cart-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.cart-list {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.cart-row {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 18px;
  padding: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row-img {
  width: 100px; height: 100px;
  background: var(--soft);
  border-radius: 10px;
  display: grid; place-items: center;
  padding: 10px;
}
.cart-row-info { display: flex; flex-direction: column; gap: 4px; }
.cart-row-info b { font-family: var(--serif); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.cart-row-meta { color: var(--muted); font-size: 13px; }
.cart-row-tags { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.cart-row-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--soft);
  border-radius: 6px;
  padding: 3px 8px;
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.05em;
  color: var(--accent);
}
.qty {
  display: inline-flex; align-items: center;
  background: var(--soft);
  border-radius: 999px;
  border: 1px solid var(--line);
}
.qty button {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: var(--fg);
}
.qty button:hover { color: var(--accent); }
.qty span {
  min-width: 32px; text-align: center;
  font: 700 14px/1 var(--mono);
}
.cart-row-price {
  font-family: var(--serif); font-weight: 500;
  font-size: 20px; letter-spacing: -0.01em;
  text-align: right;
}
.cart-row-rm {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--muted);
}
.cart-row-rm:hover { background: var(--soft); color: var(--red); }

.cart-empty {
  padding: 60px;
  text-align: center;
  color: var(--muted);
}
.cart-empty svg { color: var(--grey-300); margin-bottom: 16px; }

.cart-side {
  position: sticky; top: 132px;
  display: flex; flex-direction: column; gap: 16px;
}
.cart-summary {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}
.cart-summary h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 22px; letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.cart-line {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.cart-line b { font-weight: 600; }
.cart-line.total {
  border-top: 1px solid var(--line);
  margin-top: 10px; padding-top: 14px;
  font-family: var(--serif); font-size: 22px; letter-spacing: -0.02em;
}
.cart-line.discount { color: var(--accent); }

.coupon {
  display: flex; gap: 6px;
  margin: 14px 0 6px;
}
.coupon input {
  flex: 1; min-width: 0;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  height: 42px;
  font: inherit; font-size: 13px;
  outline: none;
  color: var(--fg);
}
.coupon input:focus { border-color: var(--accent); }
.coupon button {
  background: var(--ink); color: #fff;
  border-radius: 999px;
  padding: 0 16px; height: 42px;
  font: 600 13px/1 var(--sans);
}
.coupon button:hover { background: var(--accent); }

.cart-go {
  margin-top: 14px;
  width: 100%;
  justify-content: center;
}
.cart-pay-icons {
  display: flex; gap: 6px;
  margin-top: 14px;
  justify-content: center;
}
.cart-pay-icons span {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 10px;
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.05em;
  color: var(--muted);
}

.cart-trust {
  background: var(--ink); color: #fff;
  border-radius: var(--r);
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.cart-trust-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
}
.cart-trust-item svg { color: var(--green-lime); flex-shrink: 0; }
.cart-trust-item b { display: block; font-weight: 600; font-size: 13px; }
.cart-trust-item span { opacity: 0.7; font-size: 12px; }

/* ───── CHECKOUT ───── */
.co { padding: 32px 0 64px; }
.co-steps {
  display: flex; gap: 8px;
  margin-bottom: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.co-step {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  font: 600 13px/1 var(--sans);
  background: var(--soft);
  color: var(--muted);
}
.co-step.is-on { background: var(--ink); color: #fff; }
.co-step.is-done { background: var(--accent); color: #fff; }
.co-step-n {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: grid; place-items: center;
  font: 700 11px/1 var(--mono);
}
.co-step.is-on .co-step-n, .co-step.is-done .co-step-n { background: rgba(255,255,255,0.25); }
.co-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.co-section {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  margin-bottom: 16px;
}
.co-section h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 22px; letter-spacing: -0.01em;
  margin: 0 0 16px;
  display: flex; align-items: center; gap: 12px;
}
.co-section h3 b {
  width: 26px; height: 26px;
  background: var(--accent); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font: 700 13px/1 var(--mono);
}
.co-row {
  display: grid; gap: 12px;
  margin-bottom: 12px;
}
.co-row.cols-2 { grid-template-columns: 1fr 1fr; }
.co-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.co-input {
  display: flex; flex-direction: column; gap: 6px;
}
.co-input label {
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.co-input input, .co-input select, .co-input textarea {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit; font-size: 14px;
  color: var(--fg);
  outline: none;
  transition: border-color .15s, background .15s;
}
.co-input input:focus, .co-input select:focus, .co-input textarea:focus {
  border-color: var(--accent);
  background: var(--bg);
}
.co-input textarea { resize: vertical; min-height: 80px; }

.co-radio-group {
  display: flex; flex-direction: column; gap: 8px;
}
.co-radio {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.co-radio:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--bg));
}
.co-radio input { display: none; }
.co-radio-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--grey-300);
  display: grid; place-items: center;
  flex-shrink: 0;
  position: relative;
}
.co-radio:has(input:checked) .co-radio-dot { border-color: var(--accent); }
.co-radio-dot:after {
  content: ""; width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform .15s;
}
.co-radio:has(input:checked) .co-radio-dot:after { transform: scale(1); }
.co-radio-body { flex: 1; }
.co-radio-body b { display: block; font-weight: 600; }
.co-radio-body span { font-size: 13px; color: var(--muted); }
.co-radio-price { font-family: var(--serif); font-weight: 500; font-size: 18px; }

.co-mini-list {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 12px;
}
.co-mini-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
}
.co-mini-img {
  width: 56px; height: 56px;
  background: var(--soft);
  border-radius: 8px;
  display: grid; place-items: center;
  padding: 6px;
  position: relative;
}
.co-mini-img b {
  position: absolute; top: -6px; right: -6px;
  background: var(--ink); color: #fff;
  width: 20px; height: 20px;
  border-radius: 50%;
  font: 700 10px/1 var(--mono);
  display: grid; place-items: center;
}
.co-mini-row p { margin: 0; font-size: 13px; line-height: 1.3; }
.co-mini-row p span { color: var(--muted); font-size: 12px; }

/* ───── ACCOUNT / LOGIN ───── */
.acc { padding: 48px 0 80px; }
.acc-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.acc-vis {
  background: var(--grad-pista);
  color: #fff;
  padding: 48px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  isolation: isolate;
}
.acc-vis:before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 80% 20%, rgba(200,255,61,0.3) 0%, transparent 60%);
}
.acc-vis h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: 36px; letter-spacing: -0.025em;
  line-height: 1.05; margin: 0 0 14px;
}
.acc-vis h2 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--green-emer), var(--green-lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.acc-vis p { opacity: 0.85; max-width: 280px; margin: 0; }
.acc-vis ul {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: auto;
  padding-top: 32px;
}
.acc-vis li {
  display: flex; gap: 10px; align-items: center;
  font-size: 13px;
  opacity: 0.92;
}
.acc-vis li svg { color: var(--green-lime); }

.acc-form {
  padding: 48px;
  display: flex; flex-direction: column; gap: 14px;
}
.acc-tabs {
  display: flex; gap: 6px;
  background: var(--soft);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 18px;
}
.acc-tab {
  flex: 1; padding: 10px 16px;
  font: 600 13px/1 var(--sans);
  border-radius: 999px;
  color: var(--muted);
  text-align: center;
}
.acc-tab.is-on { background: var(--ink); color: #fff; }
.acc-form h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 26px; letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.acc-form > p { color: var(--muted); margin: 0 0 8px; font-size: 14px; }
.acc-line {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  margin-top: 4px;
}
.acc-line a { color: var(--accent); font-weight: 600; }
.acc-divider {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted);
  font-size: 12px;
  margin: 14px 0 6px;
}
.acc-divider:before, .acc-divider:after {
  content: ""; flex: 1;
  height: 1px; background: var(--line);
}
.acc-social {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.acc-social button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  font: 600 13px/1 var(--sans);
  color: var(--fg);
}
.acc-social button:hover { border-color: var(--fg); }

/* ───── BLOG ───── */
.blog { padding: 32px 0 64px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.blog-card {
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-img {
  aspect-ratio: 16/10;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.blog-card-img:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.45));
}
.blog-card-cat {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--bg); color: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  font: 700 11px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.blog-card-body {
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.blog-card h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 22px; letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.blog-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.5; }
.blog-card-meta {
  display: flex; justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font: 500 12px/1 var(--sans);
  color: var(--muted);
}

.blog-feat {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.blog-feat .blog-card-img { aspect-ratio: 16/9; }
.blog-feat .blog-card-img-tall { aspect-ratio: auto; }
.blog-feat .blog-card h3 { font-size: 32px; line-height: 1.05; }

.blog-cats {
  display: flex; gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.blog-cat-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font: 600 13px/1 var(--sans);
  color: var(--muted);
}
.blog-cat-pill.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.blog-cat-pill:hover:not(.is-on) { color: var(--accent); border-color: var(--accent); }

/* ───── BLOG POST ───── */
.post-hero {
  background: var(--grad-deep);
  color: #fff;
  padding: 60px 0 80px;
  position: relative; overflow: hidden;
  isolation: isolate;
}
.post-hero:before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 80% 30%, rgba(200,255,61,0.2) 0%, transparent 60%);
}
.post-hero-body {
  max-width: 780px;
  margin: 0 auto;
}
.post-hero-cat {
  display: inline-block;
  background: var(--green-lime); color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font: 700 11px/1 var(--sans);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 20px;
}
.post-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.025em; line-height: 1.05;
  margin: 0 0 18px;
  text-wrap: balance;
}
.post-hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--green-emer), var(--green-lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.post-hero p { opacity: 0.85; font-size: 17px; margin: 0 0 24px; max-width: 600px; }
.post-meta {
  display: flex; gap: 16px; align-items: center;
  font: 500 13px/1 var(--sans);
}
.post-meta .rev-av { width: 40px; height: 40px; }
.post-meta b { font-weight: 600; }
.post-meta span { opacity: 0.7; }

.post-cover {
  margin: -40px auto 0;
  max-width: 1100px;
  padding: 0 var(--pad-x);
}
.post-cover-inner {
  aspect-ratio: 16/8;
  background: var(--grad-pista);
  border-radius: var(--r-lg);
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.post-cover-inner svg { width: 35%; }

.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px var(--pad-x) 64px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg);
}
.post-body h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: 32px; letter-spacing: -0.02em; line-height: 1.15;
  margin: 40px 0 14px;
  text-wrap: balance;
}
.post-body h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 24px; letter-spacing: -0.01em;
  margin: 32px 0 12px;
}
.post-body p { margin: 0 0 18px; }
.post-body ul { padding-left: 20px; list-style: disc; margin: 0 0 18px; }
.post-body ul li { margin-bottom: 8px; }
.post-body blockquote {
  margin: 32px 0; padding: 22px 26px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
  border-radius: 0 var(--r) var(--r) 0;
  font-family: var(--serif); font-style: italic;
  font-size: 22px; line-height: 1.4;
  color: var(--fg);
}
.post-body blockquote cite {
  display: block;
  margin-top: 12px;
  font: 600 13px/1 var(--sans);
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.post-body strong { font-weight: 700; }
.post-body a { color: var(--accent); border-bottom: 1px solid currentColor; }

.post-share {
  display: flex; gap: 8px; align-items: center;
  margin: 32px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.post-share span { font: 600 12px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.post-share button {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--soft);
  display: grid; place-items: center;
  color: var(--muted);
}
.post-share button:hover { background: var(--ink); color: #fff; }

/* ───── CONTACT ───── */
.contact { padding: 32px 0 64px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}
.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
}
.contact-form h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: 28px; letter-spacing: -0.01em;
  margin: 0 0 18px;
}
.contact-info {
  display: flex; flex-direction: column; gap: 14px;
}
.contact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  display: flex; gap: 14px; align-items: flex-start;
}
.contact-card-icon {
  width: 44px; height: 44px;
  background: var(--soft);
  color: var(--accent);
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-card h4 {
  font-family: var(--serif); font-weight: 500;
  font-size: 18px; letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.contact-card p { margin: 0; font-size: 14px; color: var(--muted); }
.contact-card a {
  display: inline-block;
  margin-top: 6px;
  font: 600 13px/1 var(--sans);
  color: var(--accent);
}

.faq-list {
  margin-top: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px;
  padding: 18px 22px;
  font: 600 15px/1.3 var(--sans);
  text-align: left;
  color: var(--fg);
}
.faq-q svg { transition: transform .25s; flex-shrink: 0; }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  padding: 0 22px;
  max-height: 0; overflow: hidden;
  transition: max-height .25s, padding .25s;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.faq-item.is-open .faq-a {
  max-height: 220px;
  padding: 0 22px 18px;
}

/* ───── ABOUT ───── */
.about-hero {
  background: var(--grad-emer);
  color: #fff;
  padding: 80px 0 100px;
  position: relative; overflow: hidden;
  isolation: isolate;
}
.about-hero:before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 80% 30%, rgba(200,255,61,0.25) 0%, transparent 60%);
}
.about-hero-body { max-width: 780px; }
.about-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -0.03em; line-height: 0.98;
  margin: 14px 0 22px;
  text-wrap: balance;
}
.about-hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--green-emer), var(--green-lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-hero p { font-size: 19px; line-height: 1.5; opacity: 0.92; max-width: 600px; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: -50px auto 0;
  max-width: var(--container);
  padding: 0 var(--pad-x);
  position: relative; z-index: 2;
}
.about-stat {
  background: var(--bg);
  border: 1px solid var(--line);
  border-right: 0;
  padding: 28px;
}
.about-stat:first-child { border-radius: var(--r) 0 0 var(--r); }
.about-stat:last-child { border-radius: 0 var(--r) var(--r) 0; border-right: 1px solid var(--line); }
.about-stat-num {
  font-family: var(--serif); font-weight: 500;
  font-size: 56px; line-height: 1; letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 6px;
}
.about-stat-label {
  font: 600 12px/1.3 var(--sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-section { padding: 80px 0; }
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-split.reverse { direction: rtl; }
.about-split.reverse > * { direction: ltr; }
.about-split h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.025em; line-height: 1.05;
  margin: 8px 0 16px;
  text-wrap: balance;
}
.about-split h2 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--accent), var(--green-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-split p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 14px; }
.about-vis {
  aspect-ratio: 4/5;
  background: var(--grad-pista);
  border-radius: var(--r-lg);
  position: relative; overflow: hidden;
  isolation: isolate;
  padding: 32px;
  display: flex; align-items: end;
  color: #fff;
}
.about-vis:before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 50% 40%, rgba(200,255,61,0.25) 0%, transparent 60%);
}
.about-vis h4 {
  font-family: var(--serif); font-weight: 500;
  font-size: 32px; letter-spacing: -0.02em;
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.team-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.team-img {
  aspect-ratio: 1/1;
  background: var(--grad-pista);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--serif); font-weight: 500; font-size: 56px;
}
.team-card-body { padding: 16px 18px; }
.team-card h4 { font-family: var(--serif); font-weight: 500; font-size: 18px; margin: 0; }
.team-card span { color: var(--muted); font-size: 13px; }

.timeline {
  display: flex; flex-direction: column;
  position: relative;
  padding-left: 32px;
}
.timeline:before {
  content: ""; position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--line);
}
.tl-item {
  position: relative;
  padding-bottom: 32px;
}
.tl-item:before {
  content: "";
  position: absolute; left: -32px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
}
.tl-year {
  font-family: var(--mono); font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.tl-title {
  font-family: var(--serif); font-weight: 500;
  font-size: 22px; letter-spacing: -0.01em;
  margin: 4px 0 6px;
}
.tl-body p { color: var(--muted); margin: 0; font-size: 14px; }

/* ───── SEARCH ───── */
.search-hero {
  background: var(--ink);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.search-big {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 6px 6px 6px 24px;
  max-width: 720px;
  margin: 18px auto 0;
  backdrop-filter: blur(12px);
}
.search-big input {
  flex: 1; background: transparent; border: 0;
  padding: 0 16px;
  height: 52px;
  color: #fff; font: inherit; font-size: 17px;
  outline: none;
  min-width: 0;
}
.search-big input::placeholder { color: rgba(255,255,255,0.5); }
.search-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.search-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font: 500 13px/1 var(--sans);
  color: rgba(255,255,255,0.85);
}
.search-tag:hover { background: rgba(200,255,61,0.16); border-color: var(--green-lime); color: var(--green-lime); }

/* ───── Index nav ───── */
.idx-page { background: var(--bg); padding: 64px 0 80px; min-height: 100vh; }
.idx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.idx-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.idx-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.idx-card-icon {
  width: 44px; height: 44px;
  background: var(--grad-pista);
  color: #fff;
  border-radius: 12px;
  display: grid; place-items: center;
}
.idx-card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; margin: 0; }
.idx-card p { font-size: 14px; color: var(--muted); margin: 0; }
.idx-card-go {
  margin-top: auto; padding-top: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 13px/1 var(--sans);
  color: var(--accent);
}
.idx-card:hover .idx-card-go { gap: 12px; }

/* ───── Responsive ───── */
@media (max-width: 1100px) {
  .plp-grid { grid-template-columns: 1fr; }
  .plp-side { position: static; }
  .cart-grid, .co-grid { grid-template-columns: 1fr; }
  .cart-side { position: static; }
  .acc-card { grid-template-columns: 1fr; }
  .acc-vis { padding: 32px; min-height: 200px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-feat { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .about-stat { border-radius: 0 !important; border-right: 1px solid var(--line); }
  .about-stat:nth-child(2) { border-right: 1px solid var(--line); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .about-split.reverse { direction: ltr; }
  .idx-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .cart-row { grid-template-columns: 70px 1fr; gap: 12px; }
  .cart-row-img { width: 70px; height: 70px; }
  .cart-row-price, .qty, .cart-row-rm { grid-column: 2; justify-self: start; }
  .cart-row-rm { justify-self: end; }
  .blog-grid, .team-grid, .idx-grid { grid-template-columns: 1fr; }
  .co-row.cols-2, .co-row.cols-3 { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .about-stat { border-right: 1px solid var(--line) !important; border-radius: 0 !important; }
}

/* ============================================================
   FILTROS FLOTANTES (móvil ≤768) — listado / tienda / categoría
   Desktop intacto; estos elementos solo aparecen en móvil.
   ============================================================ */
.plp-fab, .plp-side-head, .plp-apply, .plp-ov { display: none; }

@media (max-width: 768px) {
  /* Sidebar → drawer lateral */
  .plp-side {
    position: fixed; top: 0; left: 0; height: 100%; width: 340px; max-width: 90vw;
    background: var(--bg); z-index: 1401; transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto; box-shadow: 12px 0 40px rgba(0,0,0,.18);
    padding: 0 20px 24px; margin: 0; border: 0; border-radius: 0;
  }
  .plp-side.is-open { transform: translateX(0); }
  .plp-side-head {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; background: var(--bg); z-index: 2;
    padding: 16px 0; margin-bottom: 6px; border-bottom: 1px solid var(--line);
    font: 600 18px/1 var(--serif); color: var(--fg);
  }
  .plp-side-x { background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--fg); padding: 4px 8px; min-height: 44px; }

  /* Overlay */
  .plp-ov { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: opacity .28s; z-index: 1400; }
  .plp-ov.is-open { opacity: 1; visibility: visible; }

  /* Botón "Aplicar filtros" (pie del drawer) */
  .plp-apply {
    display: block; position: sticky; bottom: 0; width: 100%; margin-top: 16px;
    padding: 14px; border: 0; border-radius: 999px; background: var(--grad-pista);
    color: #fff; font: 600 15px/1 var(--sans); box-shadow: 0 4px 14px rgba(31,138,58,.35);
    cursor: pointer; min-height: 48px;
  }

  /* FAB flotante */
  .plp-fab {
    display: inline-flex; align-items: center; gap: 8px; position: fixed;
    left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 1399; padding: 0 22px; height: 50px;
    border: 0; border-radius: 999px; background: var(--grad-pista); color: #fff;
    font: 600 15px/1 var(--sans); box-shadow: 0 6px 20px rgba(31,138,58,.4); cursor: pointer;
  }
  .plp-fab-badge {
    background: #fff; color: var(--accent); font: 700 12px/1 var(--sans);
    min-width: 20px; height: 20px; border-radius: 999px; display: inline-grid;
    place-items: center; padding: 0 5px;
  }
}
