:root {
  --brand: #6b3e26;
  --brand-dark: #4a2919;
  --accent: #c8873a;
  --cream: #f6efe6;
  --bg: #fbf8f4;
  --bg-alt: #f3ece3;
  --surface: #ffffff;
  --text: #2a211c;
  --muted: #74675e;
  --line: #e6dbcf;
  --ok: #2f7d4f;
  --err: #b3392f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(60,35,20,.06), 0 8px 24px rgba(60,35,20,.08);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; color: var(--brand-dark); }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: .6em; }
.note { color: var(--muted); font-size: .9rem; }
.small { font-size: .8rem; margin-top: .6rem; text-align: center; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; font: 600 .95rem var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--cream); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: var(--cream); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,244,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.35rem var(--serif); color: var(--brand-dark); }
.logo b { color: var(--accent); font-weight: 700; }
.logo-light { color: var(--cream); }
.main-nav { display: flex; gap: 22px; }
.main-nav a { text-decoration: none; color: var(--text); font-weight: 500; font-size: .93rem; }
.main-nav a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn { position: relative; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--brand-dark); }
.cart-count { position: absolute; top: 0; right: -2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.cart-count.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--brand-dark); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 20%, #ecd8c2 0, transparent 60%), var(--bg); padding: 64px 0 40px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--brand); }
.lead { font-size: 1.12rem; color: #4d3f36; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.hero-flags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hero-flags li { background: var(--surface); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; font-size: .85rem; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art svg { width: min(360px, 100%); filter: drop-shadow(0 30px 40px rgba(74,41,25,.25)); }

/* Confianza */
.trust { background: var(--brand-dark); color: var(--cream); padding: 22px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; gap: 12px; align-items: center; }
.ti-icon { font-size: 1.6rem; }
.trust-item b { display: block; font-size: .95rem; }
.trust-item small { color: #d9c6b2; font-size: .8rem; }

/* Secciones */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p:last-child { color: var(--muted); }

/* Filtros */
.filters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; background: var(--surface); padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 14px; }
.filters label { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.filters output { color: var(--brand); text-transform: none; letter-spacing: 0; }
select, input, textarea { font: inherit; font-size: .95rem; color: var(--text); padding: .65em .8em; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
select:focus, input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
input[type="range"] { padding: 0; accent-color: var(--brand); border: 0; margin-top: 10px; }
.results-count { color: var(--muted); font-size: .9rem; margin: 0 0 18px; }

/* Productos */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(60,35,20,.06), 0 16px 32px rgba(60,35,20,.12); }
.card-media { position: relative; background: linear-gradient(160deg, #f7f1ea, #eadccb); aspect-ratio: 4/3.4; display: grid; place-items: center; padding: 18px; cursor: pointer; border: 0; width: 100%; }
.card-media svg, .card-media img { height: 100%; width: auto; object-fit: contain; }
.card-media .badge { position: absolute; top: 12px; left: 12px; }
.save { position: absolute; top: 12px; right: 12px; background: var(--ok); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-series { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.card h3 { margin: 0; font-size: 1.35rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .75rem; background: var(--bg-alt); padding: 3px 9px; border-radius: 999px; color: #5c4c42; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 8px; }
.price { font: 700 1.6rem var(--serif); color: var(--brand-dark); }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .9rem; }
.card-actions { display: flex; gap: 8px; }
.card-actions .btn { flex: 1; padding: .65em 1em; font-size: .88rem; }
.empty { grid-column: 1/-1; text-align: center; padding: 50px; color: var(--muted); background: var(--surface); border-radius: var(--radius); }

.badge { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-weight: 700; font-size: .9rem; color: #fff; }
.grade-A { background: #2f7d4f; }
.grade-B { background: #3c6ea8; }
.grade-C { background: #b07a2a; }
.grades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.grades > div { display: flex; gap: 12px; align-items: flex-start; }
.grades p { margin: 0; font-size: .92rem; color: #4d3f36; }

/* Pasos reacondicionado */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: var(--surface); padding: 22px 18px; border-radius: var(--radius); box-shadow: var(--shadow); counter-increment: s; position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 700 1.8rem var(--serif); color: var(--accent); display: block; margin-bottom: 6px; }
.steps b { display: block; margin-bottom: 6px; }
.steps span { font-size: .88rem; color: var(--muted); }

/* Servicios */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.service .s-icon { font-size: 1.7rem; }
.service h3 { margin: 0; font-size: 1.15rem; }
.service p { margin: 0; color: var(--muted); font-size: .9rem; flex: 1; }
.service .s-price { font-weight: 700; color: var(--brand); }
.service .s-price small { font-weight: 500; color: var(--muted); }
.service button { align-self: flex-start; margin-top: 6px; background: none; border: 0; color: var(--brand); font-weight: 600; cursor: pointer; padding: 0; font-size: .9rem; }
.service button:hover { text-decoration: underline; }

.repair-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 50px 0; position: relative; }
.rf-step { text-align: center; padding: 0 10px; position: relative; }
.rf-step::after { content: ""; position: absolute; top: 22px; left: calc(50% + 28px); right: calc(-50% + 28px); height: 2px; background: var(--line); }
.rf-step:last-child::after { display: none; }
.rf-step span { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 50%; background: var(--brand); color: var(--cream); font-weight: 700; }
.rf-step b { display: block; }
.rf-step small { color: var(--muted); font-size: .84rem; }

/* Formularios */
.form-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 40px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 500; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .check { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; }
.form .check input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.form .invalid { border-color: var(--err); background: #fff6f5; }
.form-msg { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
.checklist { list-style: none; padding: 0; margin: 1em 0; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--surface); border-radius: 20px; padding: 32px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.plan-price { font: 700 2.2rem var(--serif); color: var(--brand-dark); margin: 0 0 14px; }
.plan-price small { font: 500 .95rem var(--sans); color: var(--muted); }
.plan.featured { background: var(--brand-dark); color: var(--cream); transform: scale(1.03); }
.plan.featured h3, .plan.featured .plan-price { color: var(--cream); }
.plan.featured li { border-color: rgba(246,239,230,.2); }
.plan.featured .btn-primary { background: var(--accent); color: #fff; }
.plan-tag { position: absolute; top: -12px; left: 28px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

/* Vender */
.sell, .contact { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.sell .form, .contact .form { background: var(--surface); padding: 30px; border-radius: 20px; box-shadow: var(--shadow); }

/* Envíos */
.table-wrap { overflow-x: auto; }
.ship-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ship-table th, .ship-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.ship-table th { background: var(--brand); color: var(--cream); font-weight: 600; font-size: .88rem; }
.ship-table tr:last-child td { border-bottom: 0; }
.free { color: var(--ok); font-weight: 700; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: #4d3f36; }

/* Contacto */
.contact-list { list-style: none; padding: 0; margin: 20px 0; }
.contact-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list a { text-decoration: none; font-weight: 600; }

/* Footer */
.site-footer { background: #24170f; color: #cdbcab; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: var(--cream); margin: 0 0 12px; font-size: .95rem; }
.site-footer a { display: block; color: #cdbcab; text-decoration: none; margin-bottom: 8px; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #3b2a1f; margin-top: 30px; padding-top: 20px; font-size: .8rem; }
.disclaimer { color: #9a8878; }

/* Modal */
.modal { border: 0; border-radius: 20px; padding: 0; width: min(860px, 100% - 24px); max-height: 92vh; box-shadow: 0 30px 80px rgba(0,0,0,.35); background: var(--surface); color: var(--text); }
.modal::backdrop { background: rgba(36,23,15,.55); backdrop-filter: blur(3px); }
.modal-body { padding: 32px; }
.modal-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--muted); z-index: 2; }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.pm-media { background: linear-gradient(160deg, #f7f1ea, #eadccb); border-radius: 16px; display: grid; place-items: center; padding: 24px; }
.pm-media svg { height: 320px; width: auto; }
.pm-specs { list-style: none; padding: 0; margin: 14px 0; }
.pm-specs li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .92rem; display: flex; justify-content: space-between; gap: 10px; }
.pm-specs li span:first-child { color: var(--muted); }
.pm-includes { background: var(--bg-alt); border-radius: 12px; padding: 14px 16px; font-size: .88rem; margin: 14px 0; }

/* Carrito */
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--surface); z-index: 100; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; box-shadow: -20px 0 50px rgba(0,0,0,.15); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); position: relative; }
.drawer-head h3 { margin: 0; }
.drawer-head .modal-close { position: static; }
.drawer-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--bg); }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item .ci-thumb { background: var(--bg-alt); border-radius: 10px; height: 64px; display: grid; place-items: center; padding: 6px; }
.cart-item .ci-thumb svg { height: 100%; width: auto; }
.cart-item b { display: block; }
.cart-item small { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.ci-remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .8rem; text-decoration: underline; }
.cart-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.ship-select { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; margin-bottom: 12px; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin: 0 0 16px; }
.totals dd { margin: 0; text-align: right; }
.totals .total { font-weight: 700; font-size: 1.15rem; color: var(--brand-dark); padding-top: 6px; border-top: 1px solid var(--line); }
.backdrop { position: fixed; inset: 0; background: rgba(36,23,15,.45); z-index: 90; }
.order-summary { background: var(--bg-alt); border-radius: 12px; padding: 14px; font-size: .9rem; }
.order-summary div { display: flex; justify-content: space-between; }

/* WhatsApp + toast */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.2); z-index: 40; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 150%); background: var(--brand-dark); color: var(--cream); padding: 12px 20px; border-radius: 999px; font-size: .92rem; z-index: 200; transition: transform .3s, opacity .3s; max-width: calc(100% - 32px); opacity: 0; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Responsive */
@media (max-width: 1080px) {
  .filters { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .main-nav { gap: 16px; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .main-nav { position: fixed; top: 68px; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .25s; box-shadow: var(--shadow); z-index: -1; }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero-inner, .form-card, .sell, .contact, .pm-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { width: 220px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .repair-flow { grid-template-columns: 1fr; gap: 18px; }
  .rf-step { display: grid; grid-template-columns: 46px 1fr; text-align: left; column-gap: 14px; }
  .rf-step span { grid-row: span 2; margin: 0; }
  .rf-step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grades { grid-template-columns: 1fr; }
  .pm-media svg { height: 220px; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { padding: 32px 0 30px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters label:nth-child(4) { grid-column: 1/-1; }
  .steps { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .sell .form, .contact .form { padding: 20px; }
  .trust-grid { grid-template-columns: 1fr; gap: 12px; }
  .modal-body { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* WhatsApp / Wallapop */
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5a; }
.btn-wallapop { background: #13c1ac; color: #fff; margin-top: 10px; }
.btn-wallapop:hover { background: #0fa896; }
.pm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-sub { margin: -10px 0 20px; }
.wallapop-badge { font-size: .9rem; font-weight: 600; color: #0f8a7b; text-decoration: none; border-bottom: 1px dashed currentColor; }
[hidden] { display: none !important; }

/* ===== Fotos reales ===== */
.card-media { padding: 0; aspect-ratio: 4/5; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .tag { position: absolute; top: 12px; left: 12px; background: var(--brand-dark); color: var(--cream); font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }
.chip-ok { background: #e3f1e8; color: #23603c; }
.no-photo { font-size: 3rem; display: grid; place-items: center; width: 100%; height: 100%; }
.hero-art img { width: min(420px, 100%); aspect-ratio: 4/5; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px rgba(74,41,25,.28); }
.ci-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.cart-item .ci-thumb { padding: 0; overflow: hidden; }

/* Galería en la ficha */
.modal { width: min(1000px, 100% - 24px); }
.pm-grid { grid-template-columns: 1.05fr 1fr; align-items: start; }
.pm-main { position: relative; background: var(--bg-alt); border-radius: 16px; overflow: hidden; aspect-ratio: 4/5; touch-action: pan-y; }
.pm-main #pmMain, .pm-main img { width: 100%; height: 100%; }
.pm-main img { object-fit: contain; background: #1b1411; }
.pm-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--brand-dark); box-shadow: var(--shadow); }
.pm-nav.prev { left: 10px; } .pm-nav.next { right: 10px; }
.pm-count { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: .78rem; padding: 3px 10px; border-radius: 999px; }
.pm-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px 4px; scrollbar-width: thin; }
.pm-thumbs button { flex: none; width: 62px; height: 62px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; opacity: .65; background: none; }
.pm-thumbs button.active { border-color: var(--accent); opacity: 1; }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm-desc { white-space: pre-line; font-size: .9rem; color: #4d3f36; max-height: 260px; overflow-y: auto; padding-right: 6px; margin: 12px 0; }
.pm-includes { margin: 12px 0; }
.pm-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.pm-grid > * { min-width: 0; }
.pm-main { aspect-ratio: auto; height: min(64vh, 560px); }
.pm-thumbs { position: relative; }
.pm-actions .btn { white-space: nowrap; }
@media (max-width: 900px) {
  .pm-grid { grid-template-columns: minmax(0, 1fr); }
  .pm-main { height: min(52vh, 420px); }
  .pm-desc { max-height: none; }
}
.btn.is-disabled { opacity: .5; pointer-events: none; }

/* ===== Valoraciones ===== */
.stars { color: #e3a21a; letter-spacing: .08em; }
.stars-lg { font-size: 1.9rem; letter-spacing: .1em; line-height: 1; }
.hero-rating { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 10px 18px 10px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .15s; }
.hero-rating:hover { transform: translateY(-2px); }
.hr-score { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--brand-dark); color: var(--cream); font: 700 1.5rem var(--serif); }
.hr-body { display: flex; flex-direction: column; gap: 2px; }
.hr-body .stars { font-size: 1.15rem; }
.hr-text { font-size: .88rem; color: var(--muted); }
.hr-text b { color: var(--text); }

.reviews { background: #2e1c13; color: var(--cream); border-top: 1px solid rgba(255,255,255,.08); }
.reviews h2 { color: var(--cream); }
.reviews .eyebrow { color: var(--accent); }
.reviews-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.reviews-inner:has(.reviews-list:not([hidden])) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); }
.reviews-summary { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 720px; }
.reviews-summary h2 { margin: 0; }
.big-score { display: flex; align-items: center; gap: 20px; }
.bs-num { font: 700 clamp(4rem, 9vw, 6rem) / 1 var(--serif); color: #fff; }
.bs-caption { margin: 8px 0 0; color: #d9c6b2; font-size: .92rem; }
.rv-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.rv-stats div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 12px 18px; min-width: 120px; }
.rv-stats dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: #d9c6b2; }
.rv-stats dd { margin: 2px 0 0; font: 700 1.6rem var(--serif); color: #fff; font-variant-numeric: tabular-nums; }
.rv-verified { margin: 0; color: #9fe0b8; font-weight: 600; font-size: .92rem; }
.reviews-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; align-content: start; }
.review { margin: 0; background: var(--surface); color: var(--text); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.review blockquote { margin: 0; font-size: .97rem; line-height: 1.55; }
.review figcaption { font-size: .88rem; color: var(--muted); }
.review figcaption b { color: var(--text); }
.review figcaption small { display: block; font-size: .78rem; margin-top: 2px; }

/* ===== Por qué Jura ===== */
.jura-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.jura-item { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.jura-item:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.ji-kicker { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.jura-item h3 { margin: 6px 0 8px; font-size: 1.3rem; }
.jura-item p { margin: 0; color: #4d3f36; font-size: .95rem; }
.jura-note { margin: 22px 0 0; font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) {
  .reviews-inner:has(.reviews-list:not([hidden])) { grid-template-columns: minmax(0, 1fr); }
  .jura-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jura-item, .jura-item:not(:nth-child(3n+1)) { padding: 22px 18px; border-left: 0; }
  .jura-item:nth-child(2n) { border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .jura-grid { grid-template-columns: minmax(0, 1fr); }
  .jura-item, .jura-item:nth-child(2n) { padding: 20px 0; border-left: 0; }
  .hero-rating { width: 100%; }
}

/* ===== Tienda primero + valoraciones en barra lateral ===== */
.shop { padding-top: 44px; }
.shop-head { max-width: 760px; margin-bottom: 26px; }
.shop-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); text-wrap: balance; }
.shop-head h1 em { font-style: italic; color: var(--brand); }
.shop-head .lead { margin-bottom: 14px; font-size: 1.02rem; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.shop-main { min-width: 0; }
.shop .filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shop .product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.reviews-side { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); background: #2e1c13; color: var(--cream); border-radius: 20px; padding: 24px 22px; display: flex; flex-direction: column; gap: 16px; max-height: calc(100vh - 104px); overflow-y: auto; }
.reviews-side .eyebrow { margin: 0; color: var(--accent); }
.rs-score { display: flex; align-items: center; gap: 14px; }
.reviews-side .bs-num { font: 700 3.6rem / 1 var(--serif); color: #fff; }
.reviews-side .stars-lg { font-size: 1.35rem; }
.reviews-side .bs-caption { margin: 4px 0 0; color: #d9c6b2; font-size: .85rem; }
.reviews-side .rv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.reviews-side .rv-stats div { min-width: 0; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.reviews-side .rv-stats dt { font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: #d9c6b2; }
.reviews-side .rv-stats dd { margin: 2px 0 0; font: 700 1.25rem var(--serif); color: #fff; font-variant-numeric: tabular-nums; }
.reviews-side .rv-verified { margin: 0; color: #9fe0b8; font-weight: 600; font-size: .86rem; }
.reviews-side .reviews-list { display: flex; flex-direction: column; gap: 10px; }
.reviews-side .review { padding: 16px; border-radius: 14px; }
.reviews-side .review blockquote { font-size: .9rem; }
.reviews-side .btn-wallapop { margin-top: 0; }

/* Reservada */
.reserved-ribbon { position: absolute; top: 14px; right: -34px; transform: rotate(35deg); background: #c0392b; color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 40px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.card.is-reserved .card-media img { filter: grayscale(.55) brightness(.92); }
.card.is-reserved .price { color: var(--muted); }
.txt-reserved { color: #c0392b; }
.pm-reserved { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: #fdecea; color: #8e2a20; font-size: .9rem; }

@media (max-width: 1080px) {
  .shop .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .reviews-side { position: static; max-height: none; padding: 18px; }
  .reviews-side .rs-score { gap: 12px; }
  .reviews-side .bs-num { font-size: 2.8rem; }
}
@media (max-width: 600px) {
  .shop { padding-top: 28px; }
  .shop-head .lead, .shop-head .hero-flags { display: none; }
  .shop-head { margin-bottom: 16px; }
  .shop .filters { gap: 10px; padding: 14px; }
  .shop .filters label:nth-child(3) { grid-column: auto; }
  .shop .filters label:nth-child(4) { grid-column: auto; }
}
.reviews-side .rv-stats dt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Espacio para el distintivo "Powered by Netlify" (abajo a la derecha) */
.drawer-foot { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
.wa-float { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
.site-footer { padding-bottom: 80px; }

/* ===== Ficha técnica por categorías ===== */
.pm-resumen { font-size: .97rem; color: #4d3f36; margin: 10px 0 14px; }
.ficha { display: flex; flex-direction: column; gap: 12px; max-height: 340px; overflow-y: auto; padding-right: 6px; margin-bottom: 12px; }
.ficha-cat { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.ficha-cat h4 { margin: 0 0 6px; font: 600 .78rem var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.ficha-cat dl { margin: 0; display: flex; flex-direction: column; }
.ficha-cat dl div { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 10px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: .88rem; }
.ficha-cat dl div:first-child { border-top: 0; }
.ficha-cat dt { color: var(--muted); }
.ficha-cat dd { margin: 0; }
@media (max-width: 900px) { .ficha { max-height: none; } }

/* ===== Comparador ===== */
.cmp-check { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); cursor: pointer; user-select: none; }
.cmp-check input { width: 17px; height: 17px; accent-color: var(--brand); }
.cmp-check-modal { margin: 2px 0 12px; }
.compare-bar { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--brand-dark); color: var(--cream); padding: 10px 12px; border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.25); max-width: min(640px, calc(100% - 120px)); }
.cb-items { display: flex; gap: 8px; flex-wrap: wrap; }
.cb-item { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); border-radius: 10px; padding: 4px 4px 4px 4px; font-size: .82rem; }
.cb-item img { width: 30px; height: 30px; object-fit: cover; border-radius: 6px; }
.cb-item button { background: none; border: 0; color: var(--cream); font-size: 1.1rem; cursor: pointer; padding: 0 4px; }
.cb-actions { display: flex; align-items: center; gap: 10px; }
.cb-actions .btn { padding: .55em 1.1em; font-size: .88rem; background: var(--accent); }
.cb-clear { background: none; border: 0; color: #d9c6b2; text-decoration: underline; cursor: pointer; font-size: .82rem; }
.modal-compare { width: min(1100px, 100% - 24px); }
.table-scroll { overflow-x: auto; margin: 10px 0; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .9rem; }
.cmp-table th, .cmp-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp-table tbody th { width: 22%; color: var(--muted); font-weight: 500; }
.cmp-table thead th { border-bottom: 0; }
.cmp-head { display: flex; flex-direction: column; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font: 700 1.05rem var(--serif); color: var(--brand-dark); }
.cmp-head img { width: 100%; max-width: 180px; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.cmp-cat th { background: var(--bg-alt); color: var(--brand); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; padding: 8px 12px; }
.cmp-table tr.is-diff td { background: #fff8ec; }
.cmp-price { font: 700 1.3rem var(--serif); color: var(--brand-dark); }
.cmp-table .na { color: #b8aca2; }
.cmp-table tfoot td { border-bottom: 0; padding-top: 14px; }
.cmp-table.only-diff tbody tr:not(.is-diff):not(.cmp-cat):not(.row-key) { display: none; }
.cmp-only-diff { display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; cursor: pointer; }

/* ===== Asistente ===== */
.wizard-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: linear-gradient(120deg, #f3e3cf, #f8efe4); border: 1px solid #e8d3ba; border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; }
.wizard-cta b { display: block; font: 700 1.15rem var(--serif); color: var(--brand-dark); }
.wizard-cta span { font-size: .9rem; color: #5c4c42; }
.modal-wizard { width: min(760px, 100% - 24px); }
.wz-progress { display: flex; gap: 6px; margin-bottom: 14px; }
.wz-progress span { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.wz-progress span.on { background: var(--accent); }
.wz-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 16px 0; }
.wz-opt { text-align: left; background: var(--surface); border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; font: inherit; color: var(--text); display: flex; flex-direction: column; gap: 3px; transition: border-color .15s, transform .15s; }
.wz-opt:hover, .wz-opt:focus-visible { border-color: var(--accent); transform: translateY(-1px); }
.wz-opt.sel { border-color: var(--brand); background: #fbf3ea; }
.wz-opt b { font-size: 1rem; }
.wz-opt small { color: var(--muted); font-size: .84rem; }
.wz-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.wz-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 16px 0; }
.wz-res { position: relative; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; background: var(--surface); }
.wz-res.best { border: 2px solid var(--accent); }
.wz-badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.wz-res-media { border: 0; padding: 0; cursor: pointer; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.wz-res-media img { width: 100%; height: 100%; object-fit: cover; }
.wz-res-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.wz-res h4 { margin: 0; font: 700 1.1rem var(--serif); color: var(--brand-dark); }
.wz-match { font-size: .8rem; font-weight: 700; color: var(--ok); }
.wz-res ul { list-style: none; padding: 0; margin: 0; font-size: .84rem; color: #4d3f36; }
.wz-res li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.wz-res .price { font-size: 1.3rem; margin: 4px 0 0; }
.wz-res-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; }
.wz-res-actions .btn { padding: .55em .6em; font-size: .85rem; }
@media (max-width: 600px) {
  .compare-bar { right: 88px; max-width: none; }
  .cb-item span { display: none; }
}
@media (max-width: 600px) {
  .modal-compare .modal-body { padding: 22px 12px; }
  .cmp-table { min-width: 0; table-layout: fixed; font-size: .78rem; }
  .cmp-table th, .cmp-table td { padding: 8px 5px; overflow-wrap: anywhere; }
  .cmp-table tbody th { width: 27%; }
  .cmp-table thead td { width: 27%; }
  .cmp-head { font-size: .82rem; }
  .cmp-price { font-size: 1rem; }
  .cmp-table tfoot .btn { padding: .5em .4em; font-size: .78rem; }
}
@media (max-width: 600px) { .cmp-table tbody th { font-size: .72rem; overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto; } .cmp-table td { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }
.ficha-fuente { margin: 0; font-size: .82rem; font-weight: 600; color: var(--ok); }

.ship-link { display: inline-block; font-size: .84rem; margin: -4px 0 12px; }

/* ===== Portadas centradas ===== */
.card { position: relative; }
.card-media { background: var(--bg-alt); }
.card-media img { object-fit: cover; object-position: center; }
.pm-main img { background: var(--bg-alt); }
.cb-item img, .ci-thumb img, .cmp-head img, .wz-res-media img { object-position: center; }

/* ===== Favoritos ===== */
.fav-btn { position: absolute; z-index: 3; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--brand-dark); box-shadow: 0 2px 8px rgba(0,0,0,.18); cursor: pointer; transition: transform .15s, color .15s; }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn.on { color: #d6336c; }
.fav-btn.on svg { animation: fav-pop .35s; }
@keyframes fav-pop { 50% { transform: scale(1.3); } }
.fav-btn-lg { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--line); border-radius: 999px; padding: .5em 1em; font: 600 .88rem var(--sans); color: var(--brand-dark); cursor: pointer; }
.fav-btn-lg.on { color: #d6336c; border-color: #f2b8cb; background: #fff3f7; }
.pm-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 12px 0 2px; }
.pm-follow-link { font-size: .88rem; font-weight: 600; text-decoration: none; }
.pm-follow-link:hover { text-decoration: underline; }
.fav-header { color: var(--brand-dark); }
.fav-header.has { color: #d6336c; }
.fav-header.has svg path { fill: currentColor; }
.fav-count { background: #d6336c; }
.modal-fav { width: min(640px, 100% - 24px); }
.fav-list { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fav-item { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.fav-thumb { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 4/5; background: var(--bg-alt); }
.fav-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fav-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-right: 26px; }
.fav-info b { font: 700 1.05rem var(--serif); color: var(--brand-dark); }
.fav-price { font-weight: 600; }
.fav-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.fav-actions .btn { padding: .45em .9em; font-size: .82rem; }
.fav-remove { position: absolute; top: 6px; right: 8px; background: none; border: 0; font-size: 1.4rem; color: var(--muted); cursor: pointer; }
.fav-foot { display: flex; flex-wrap: wrap; gap: 10px; }
.fav-empty { text-align: center; padding: 26px 10px; color: var(--muted); }
.fav-empty svg { width: 44px; height: 44px; color: #d6336c; margin: 0 auto 8px; }
@media (max-width: 600px) { .fav-btn { width: 36px; height: 36px; } .fav-actions .btn { flex: 1 1 auto; } }
.reserved-ribbon { top: auto; bottom: 0; left: 0; right: 0; transform: none; padding: 7px 10px; text-align: center; letter-spacing: .14em; }

/* ===== Opiniones a todo el ancho ===== */
.reviews-full { background: #2e1c13; }
.rf-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 32px; }
.rf-title h2 { margin: 0; color: var(--cream); text-wrap: balance; }
.rf-score { display: flex; align-items: center; gap: 16px; }
.rf-score .bs-num { font: 700 clamp(3.4rem, 7vw, 4.6rem) / 1 var(--serif); color: #fff; }
.reviews-grid { columns: 3 280px; column-gap: 18px; }
.reviews-grid .review { break-inside: avoid; margin: 0 0 18px; }
.rf-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; }
.rf-foot .btn-wallapop { margin-top: 0; }

/* ===== Domésticas / Profesionales ===== */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cat-tab { border: 1.5px solid var(--line); background: var(--surface); color: var(--brand-dark); border-radius: 999px; padding: .55em 1.15em; font: 600 .92rem var(--sans); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.cat-tab:hover { border-color: var(--brand); }
.cat-tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--cream); }
.catalog-groups { display: flex; flex-direction: column; gap: 40px; }
.cat-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.cat-group-head h3 { margin: 0; font-size: 1.55rem; }
.cat-group-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.cat-n { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; margin-left: 4px; border-radius: 999px; background: var(--bg-alt); color: var(--brand); font: 700 .85rem var(--sans); vertical-align: middle; }
@media (max-width: 600px) { .cat-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .cat-tab { flex: none; } }

/* ===== Páginas para buscadores (cafeteras/, servicio técnico) ===== */
.card-title-link { color: inherit; text-decoration: none; }
.card-title-link:hover { text-decoration: underline; }
.seo-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.seo-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .93rem; }
.seo-nav a:hover { color: var(--brand); }
.seo-main { padding-top: 32px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.pp-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pp-gallery a:first-child { grid-column: 1 / -1; }
.pp-gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 12px; background: var(--bg-alt); }
.pp-gallery a:first-child img { aspect-ratio: 4/4.4; }
.pp-info h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 6px; }
.pp-price { font: 700 2rem var(--serif); color: var(--brand-dark); margin: 0; }
.pp-state { color: var(--muted); margin: 2px 0 10px; }
.pp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.pp-actions .btn-wallapop { margin-top: 0; }
.pp-h2 { margin: 48px 0 16px; font-size: 1.6rem; }
.ficha-page { max-height: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; overflow: visible; }
.ficha-page .ficha-cat h3 { margin: 0 0 6px; font: 600 .78rem var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.seo-card .card-media { display: block; }
.seo-card h3 a { color: inherit; text-decoration: none; }
.st-hero { max-width: 760px; margin-bottom: 30px; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.st-grid section { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.st-grid h2 { font-size: 1.25rem; }
.st-steps { padding-left: 20px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 900px) { .pp-grid { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 900px) {
  .pp-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; padding-bottom: 6px; }
  .pp-gallery a { flex: 0 0 82%; scroll-snap-align: start; }
  .pp-gallery a:first-child img, .pp-gallery img { aspect-ratio: 4/4.4; }
}
@media (max-width: 600px) { .seo-nav { display: flex; gap: 4px 12px; } .seo-nav a { font-size: .82rem; } .page-seo .header-inner { flex-wrap: wrap; height: auto; padding-block: 10px; } }

.pp-vendida { display: inline-block; margin: 0 0 8px; padding: 6px 12px; border-radius: 8px; background: #fdecea; color: #8e2a20; font-weight: 700; font-size: .9rem; }

/* ===== Ofertas ===== */
.oferta-tag { position: absolute; left: 12px; bottom: 12px; background: #c0392b; color: #fff; font: 800 .82rem var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; box-shadow: 0 3px 10px rgba(192,57,43,.35); }
.price-oferta { color: #b3261e; }
.price-antes { color: var(--muted); font-size: 1rem; font-weight: 500; margin-left: 4px; }
.price-row { flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.badge-oferta { display: inline-block; background: #c0392b; color: #fff; font: 800 .8rem var(--sans); padding: 3px 9px; border-radius: 999px; vertical-align: middle; }
.cat-tab-oferta { border-color: #e9b7b1; color: #b3261e; }
.cat-tab-oferta[aria-selected="true"] { background: #c0392b; border-color: #c0392b; color: #fff; }
#grupo-oferta .cat-group-head { border-bottom-color: #e9b7b1; }
#grupo-oferta .cat-group-head h3::before { content: "🔥 "; }
