/* ════════════════════════════════════════════════════════════════
   shared.css — Mariconera.com v3 "Atelier"
   Rebranding editorial de moda: neutros cálidos (crema/arena), tinta
   cálida en vez de navy, acento terracota en vez de naranja Amazon.
   Mismos selectores que v2 — solo cambia la piel visual, no la
   estructura, para no tocar ninguna de las páginas .php.
   ════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:  #B5714B;   /* acento principal — terracota (antes naranja Amazon) */
  --orange2: #96593A;   /* acento hover/oscurecido */
  --gold:    #B99359;   /* insignia "elección del editor" */
  --navy:    #211C17;   /* tinta cálida — nav/footer/fondos oscuros (antes navy) */
  --navy2:   #2E2721;   /* tinta secundaria */
  --blue:    #8A5A3B;   /* enlaces/acentos secundarios — marrón cálido (antes azul) */
  --red:     #A8432C;   /* precios/ofertas — óxido suave (antes rojo Amazon) */
  --green:   #6B7A4F;   /* checks/insignia "nuevo" — salvia */
  --bg:      #FBF8F3;   /* fondo principal — marfil cálido */
  --bg2:     #F3EDE3;   /* fondo secundario — arena */
  --bg3:     #E8DFD0;   /* fondo terciario — greige cálido */
  --border:  #E1D8C8;
  --border2: #EBE3D4;
  --text:    #241F1A;   /* texto principal — tinta cálida */
  --text2:   #756B5E;   /* texto secundario — gris cálido */
  --star:    #C9A24B;   /* estrellas de valoración — oro suave */
  --radius:  6px;
  --shadow:  0 6px 24px rgba(36,26,18,.08);
  --shadow-lg: 0 14px 40px rgba(36,26,18,.14);
}

html { scroll-behavior: smooth; }
body { font-family: 'Jost', 'Inter', Arial, sans-serif; background: var(--bg2); color: var(--text); overflow-x: hidden; }
img { max-width: 100%; }
a { color: inherit; }

/* ── TOP BAR / NAV / SUBNAV / MOBILE MENU ── (idéntico a v1, ligero refinamiento) */
.topbar { background: var(--navy); color: #fff; font-size: .72rem; padding: .35rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar-left { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar a { color: #ccc; text-decoration: none; }
.topbar a:hover { color: var(--orange); }
.topbar-prime { color: var(--orange); font-weight: 600; }

nav#nav { position: sticky; top: 0; z-index: 200; background: var(--navy); display: flex; align-items: center; padding: 0 1.5rem; height: 64px; border-bottom: 3px solid var(--orange); }
.logo { display: flex; align-items: center; text-decoration: none; padding: .6rem .8rem; border: 2px solid transparent; border-radius: 3px; transition: border-color .15s; flex-shrink: 0; }
.logo:hover { border-color: #fff; }
.logo-text { font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -.3px; }
.logo-text span { color: var(--orange); }
.nav-links { display: flex; align-items: center; margin-left: auto; }
.nav-link { color: #fff; text-decoration: none; font-size: .8rem; padding: .55rem .85rem; border: 2px solid transparent; border-radius: 3px; transition: border-color .15s; white-space: nowrap; display: flex; flex-direction: column; line-height: 1.3; }
.nav-link:hover { border-color: #fff; }
.nav-link-top { font-size: .62rem; color: #bbb; font-weight: 400; }
.nav-link-bot { font-weight: 600; }
.ham { display: none; flex-direction: column; gap: 5px; background: none; border: 2px solid transparent; border-radius: 3px; cursor: pointer; padding: .5rem; margin-left: auto; transition: border-color .15s; }
.ham:hover { border-color: #fff; }
.ham span { display: block; width: 22px; height: 2px; background: var(--bg); }

.mob-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 999; }
.mob-overlay.open { display: block; }
.mob-menu { display: none; position: fixed; top: 0; left: 0; width: 80%; max-width: 300px; height: 100%; background: var(--navy); z-index: 1000; flex-direction: column; overflow-y: auto; box-shadow: 4px 0 24px rgba(0,0,0,.4); }
.mob-menu.open { display: flex; }
.mob-header { background: var(--navy2); padding: 1.2rem 1.5rem; display: flex; align-items: center; gap: .8rem; border-bottom: 1px solid #453B33; }
.mob-avatar { width: 36px; height: 36px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.mob-hello { color: #fff; font-size: .85rem; font-weight: 600; }
.mob-stitle { color: var(--orange); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 1rem 1.5rem .4rem; }
.mob-link { color: #fff; text-decoration: none; font-size: .88rem; padding: .75rem 1.5rem; border-bottom: 1px solid #453B33; display: block; transition: background .15s; }
.mob-link:hover { background: #453B33; }
.mob-close { background: none; border: none; color: #aaa; font-size: .8rem; padding: 1rem 1.5rem; cursor: pointer; text-align: left; }

.subnav { background: var(--navy2); padding: 0 1.5rem; display: flex; gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { color: #ccc; text-decoration: none; font-size: .78rem; white-space: nowrap; padding: .6rem .85rem; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; display: block; }
.subnav a:hover, .subnav a.active { color: #fff; border-bottom-color: var(--orange); }
.subnav a:last-child { margin-left: auto; color: var(--orange); font-weight: 700; }

/* ── LAYOUT / TITLES ── */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.sec-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 1.2rem; padding-bottom: .5rem; border-bottom: 2px solid var(--orange); display: inline-block; }
.sec-eyebrow { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: .6rem; display: block; }

/* ── HERO — tratamiento claro/editorial (antes: scrim oscuro estilo Amazon) ── */
#hero { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; background: var(--bg2); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(251,248,243,.97) 0%, rgba(251,248,243,.88) 34%, rgba(251,248,243,.32) 68%, rgba(251,248,243,.05) 100%); }
.hero-content { position: relative; z-index: 2; padding: 5rem 3rem; max-width: 640px; }
.hero-kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.1rem; }
.hero-kicker::before { content: ''; width: 24px; height: 2px; background: var(--orange); display: inline-block; }
.hero-h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; color: var(--text); line-height: 1.1; margin-bottom: 1rem; }
.hero-h1 em { font-style: italic; color: var(--orange); }
.hero-subline { font-size: 1.08rem; color: var(--text2); line-height: 1.7; margin-bottom: .5rem; font-weight: 300; max-width: 500px; }
.hero-promise { font-size: .92rem; font-weight: 600; color: var(--text); margin-bottom: 2rem; }
.hero-btns { display: flex; gap: .85rem; flex-wrap: wrap; }
.hero-btn { display: inline-block; background: var(--orange); color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; padding: .9rem 1.9rem; border-radius: 2px; transition: background .15s, transform .15s; box-shadow: 0 4px 16px rgba(36,26,18,.18); }
.hero-btn:hover { background: var(--orange2); transform: translateY(-2px); }
.hero-btn-ghost { display: inline-block; background: rgba(36,26,18,.04); color: var(--text); font-size: .9rem; font-weight: 600; text-decoration: none; padding: .9rem 1.9rem; border-radius: 2px; border: 1.5px solid rgba(36,26,18,.28); backdrop-filter: blur(4px); transition: background .15s; }
.hero-btn-ghost:hover { background: rgba(36,26,18,.09); }
.hero-trust { display: flex; gap: 1.5rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-trust-item { font-size: .76rem; color: var(--text2); display: flex; align-items: center; gap: .4rem; }

/* ── CATEGORY GRID (home) ── */
#categorias { padding: 3.2rem 0 3.6rem; background: var(--bg); border-top: 1px solid var(--border); }
.cat-intro { font-size: .95rem; color: var(--text2); max-width: 680px; line-height: 1.75; margin-bottom: 2rem; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 1rem; }
.cat-card { background: var(--bg); border: 1px solid var(--border2); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cat-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg3); }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; display: block; }
.cat-card:hover .cat-card-img img { transform: scale(1.06); }
.cat-card-body { padding: 1rem 1.1rem 1.3rem; flex: 1; display: flex; flex-direction: column; gap: .35rem; }
.cat-card-label { font-size: .63rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.cat-card-title { font-size: 1.02rem; font-weight: 700; line-height: 1.25; }
.cat-card-desc { font-size: .79rem; color: var(--text2); line-height: 1.55; margin-top: .1rem; }
.cat-card-link { margin-top: auto; padding-top: .75rem; font-size: .78rem; font-weight: 600; color: var(--blue); }

/* ── PRODUCT GRID / CARDS ── */
#productos { padding: 2rem 0 3rem; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; align-items: center; }
.fb { background: var(--bg3); border: 1px solid var(--border); color: var(--text2); font-family: inherit; font-size: .78rem; font-weight: 500; padding: .4rem 1rem; border-radius: 20px; cursor: pointer; transition: all .15s; white-space: nowrap; }
.fb:hover { background: var(--bg); border-color: var(--orange); color: var(--text); }
.fb.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.sort-select { margin-left: auto; border: 1px solid var(--border); border-radius: 20px; font-family: inherit; font-size: .78rem; padding: .4rem 1rem; background: var(--bg); color: var(--text); cursor: pointer; }
.pg { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: 1rem; }

.pc { background: var(--bg); border: 1px solid var(--border2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease, box-shadow .2s, border-color .2s; }
.pc.vis { opacity: 1; transform: translateY(0); }
.pc:hover { box-shadow: var(--shadow-lg); border-color: #c8c8c8; }
.pc-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; }
.piw { position: relative; overflow: hidden; background: var(--bg); aspect-ratio: 1/1; border-bottom: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; }
.pi { width: 100%; height: 100%; object-fit: contain; padding: .8rem; transition: transform .4s ease; }
.pc:hover .pi { transform: scale(1.05); }
.pifb { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; flex-direction: column; gap: .4rem; background: var(--bg3); font-size: .72rem; color: var(--text2); letter-spacing: .1em; text-transform: uppercase; }
.pi.err { opacity: 0; }
.pi.err ~ .pifb { display: flex; }
.pbdg { position: absolute; top: .6rem; left: .6rem; z-index: 2; font-size: .65rem; font-weight: 700; padding: .25rem .6rem; border-radius: 3px; }
.bh { background: var(--red); color: #fff; }
.bn { background: var(--green); color: #fff; }
.bo { background: var(--orange); color: #fff; }
.be { background: var(--gold); color: #fff; }
.pinf { padding: .9rem; flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.pbr { font-size: .72rem; color: var(--text2); }
.pnm { font-size: .88rem; font-weight: 500; color: var(--text); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc:hover .pnm { color: var(--blue); }
.pstars { display: flex; align-items: center; gap: .3rem; }
.stars { color: var(--star); font-size: .85rem; letter-spacing: -.5px; }
.nrev { font-size: .72rem; color: var(--blue); }
.pprices { margin-top: auto; padding-top: .4rem; }
.pprice-main { display: flex; align-items: baseline; gap: .2rem; }
.psym { font-size: .78rem; font-weight: 500; color: var(--red); }
.pint { font-size: 1.5rem; font-weight: 700; color: var(--red); line-height: 1; }
.pdec { font-size: .78rem; font-weight: 700; color: var(--red); }
.pol { font-size: .75rem; color: var(--text2); margin-top: .1rem; }
.pol s { color: var(--text2); }
.psave { color: var(--red); font-size: .72rem; font-weight: 500; }
.pprime { display: flex; align-items: center; gap: .3rem; margin-top: .4rem; font-size: .72rem; color: var(--text2); }
.prime-badge { color: var(--gold); font-weight: 700; font-size: .78rem; }
.padd { display: block; width: 100%; background: var(--orange); border-radius: 20px; font-family: inherit; font-size: .82rem; font-weight: 600; color: #fff; padding: .55rem; margin-top: .6rem; transition: background .15s; text-align: center; text-decoration: none; }
.padd:hover { background: var(--orange2); }
.lmw { text-align: center; margin-top: 2rem; }
.lmb-btn { background: var(--bg3); border: 1px solid var(--border); font-family: inherit; font-size: .85rem; font-weight: 500; color: var(--text); padding: .7rem 2.5rem; border-radius: 4px; cursor: pointer; transition: background .15s; }
.lmb-btn:hover { background: var(--bg3); }

/* Skeleton loading (mientras carga el JS de productos) */
.pc-skeleton { background: var(--bg); border: 1px solid var(--border2); border-radius: var(--radius); overflow: hidden; }
.pc-skeleton .sk-img { aspect-ratio: 1/1; background: linear-gradient(90deg,#eee 25%,#f5f5f5 37%,#eee 63%); background-size: 400% 100%; animation: sk-shine 1.4s ease infinite; }
.pc-skeleton .sk-line { height: 10px; margin: .7rem .9rem; border-radius: 4px; background: linear-gradient(90deg,#eee 25%,#f5f5f5 37%,#eee 63%); background-size: 400% 100%; animation: sk-shine 1.4s ease infinite; }
@keyframes sk-shine { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ── COMPARISON TABLE (mejores-*.php) ── */
.compare-table-wrap { overflow-x: auto; margin: 1.5rem 0 2.5rem; border: 1px solid var(--border2); border-radius: var(--radius); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--bg); }
.compare-table th { background: var(--navy); color: #fff; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; padding: .8rem 1rem; text-align: left; white-space: nowrap; }
.compare-table td { padding: .8rem 1rem; font-size: .84rem; border-top: 1px solid var(--border2); vertical-align: middle; }
.compare-table tr:hover td { background: var(--bg2); }
.compare-prod { display: flex; align-items: center; gap: .7rem; }
.compare-prod img { width: 44px; height: 44px; object-fit: contain; border: 1px solid var(--border2); border-radius: 6px; padding: .2rem; background: var(--bg); }
.compare-cta { display: inline-block; background: var(--orange); color: #fff; font-size: .76rem; font-weight: 700; text-decoration: none; padding: .45rem 1rem; border-radius: 20px; white-space: nowrap; }
.compare-cta:hover { background: var(--orange2); }

/* ── DEAL / GIFT CARDS (ofertas.php, regalos.php) ── */
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 1rem; }
.deal-strip { background: linear-gradient(135deg, var(--red) 0%, #7A2E1D 100%); color: #fff; padding: .9rem 1.5rem; border-radius: var(--radius); display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.deal-strip strong { font-size: 1rem; }
.gift-persona-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 1.2rem; margin: 1.5rem 0 2.5rem; }
.gift-persona-card { background: var(--bg); border: 1px solid var(--border2); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem; }
.gift-persona-icon { font-size: 2rem; }
.gift-persona-title { font-weight: 700; font-size: 1.02rem; }
.gift-persona-desc { font-size: .84rem; color: var(--text2); line-height: 1.6; }
.gift-persona-link { margin-top: auto; font-size: .82rem; font-weight: 700; color: var(--blue); }

/* ── NEWSLETTER BLOCK ── */
.newsletter-block { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); padding: 3rem 0; }
.newsletter-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: space-between; }
.newsletter-copy { max-width: 520px; }
.newsletter-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: .5rem; }
.newsletter-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.4rem; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: .5rem; }
.newsletter-desc { font-size: .86rem; color: rgba(255,255,255,.7); line-height: 1.6; }
.newsletter-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nf-input { border: none; border-radius: 4px; font-family: inherit; font-size: .9rem; padding: .8rem 1rem; min-width: 240px; outline: none; }
.nf-btn { background: var(--orange); color: #fff; border: none; font-family: inherit; font-size: .88rem; font-weight: 700; padding: .8rem 1.4rem; border-radius: 4px; cursor: pointer; transition: background .15s; white-space: nowrap; }
.nf-btn:hover { background: var(--orange2); }
.newsletter-msg { margin-top: 1rem; font-size: .84rem; padding: .7rem 1rem; border-radius: 4px; }
.newsletter-msg.ok { background: rgba(0,118,0,.15); color: #9ee89e; border: 1px solid rgba(0,118,0,.4); }
.newsletter-msg.err { background: rgba(204,12,57,.15); color: #ff9caf; border: 1px solid rgba(204,12,57,.4); }

/* ── AD SLOT (AdSense) ── */
.mc-ad-slot-wrap { margin: 2rem 0; text-align: center; }
.mc-ad-label { font-size: .62rem; color: var(--text2); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .4rem; }
.mc-ad-slot { display: block; min-height: 90px; }

/* ── STICKY CTA MÓVIL ── */
.sticky-cta-mobile { position: fixed; left: 0; right: 0; bottom: -80px; z-index: 300; background: var(--bg); border-top: 1px solid var(--border); padding: .7rem 1rem; display: none; align-items: center; gap: .8rem; box-shadow: 0 -6px 20px rgba(0,0,0,.12); transition: bottom .25s ease; }
.sticky-cta-mobile.show { bottom: 0; }
.sticky-cta-mobile .sc-text { font-size: .78rem; font-weight: 600; flex: 1; }
.sticky-cta-mobile .sc-btn { background: var(--orange); color: #fff; text-decoration: none; font-size: .82rem; font-weight: 700; padding: .6rem 1.1rem; border-radius: 20px; white-space: nowrap; }
@media (max-width: 650px) { .sticky-cta-mobile { display: flex; } }

/* ── COOKIE CONSENT ── */
.mc-consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 500; max-width: 720px; margin: 0 auto; background: var(--navy); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.mc-consent-box { padding: 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.mc-consent-text { font-size: .8rem; line-height: 1.6; color: rgba(255,255,255,.85); }
.mc-consent-text a { color: var(--orange); }
.mc-consent-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.mc-btn { font-family: inherit; font-size: .78rem; font-weight: 700; padding: .6rem 1.1rem; border-radius: 20px; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.mc-btn-primary { background: var(--orange); color: #fff; }
.mc-btn-primary:hover { background: var(--orange2); }
.mc-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.mc-btn-outline:hover { background: rgba(255,255,255,.1); }
.mc-btn-ghost { background: transparent; color: rgba(255,255,255,.7); }
.mc-btn-ghost:hover { color: #fff; }
.mc-consent-prefs { padding: 0 1.5rem 1.3rem; display: flex; flex-direction: column; gap: .7rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; }
.mc-pref-row { display: flex; align-items: flex-start; gap: .6rem; font-size: .78rem; color: rgba(255,255,255,.8); line-height: 1.5; cursor: pointer; }
.mc-pref-row input { margin-top: .2rem; }

/* ── CONTACT ── */
#contacto { background: var(--bg2); padding: 3rem 0; border-top: 1px solid var(--border); }
.cfw { max-width: 580px; margin: 0 auto; }
.cint { font-size: .9rem; color: var(--text2); line-height: 1.65; margin-bottom: 1.5rem; }
.cf { display: flex; flex-direction: column; gap: .85rem; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.fg { display: flex; flex-direction: column; gap: .3rem; }
.fl { font-size: .72rem; font-weight: 600; color: var(--text2); }
.fi, .fta { border: 1px solid var(--border); border-radius: 4px; font-family: inherit; font-size: .88rem; color: var(--text); padding: .65rem .9rem; outline: none; width: 100%; background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.fi:focus, .fta:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,110,180,.12); }
.fta { resize: vertical; min-height: 110px; }
.fsb { background: var(--orange); border: 1px solid var(--orange2); font-family: inherit; font-size: .9rem; font-weight: 600; color: #fff; padding: .75rem; border-radius: 4px; cursor: pointer; transition: background .15s; }
.fsb:hover { background: var(--orange2); }
.fmsg { display: none; background: #dff0d8; border: 1px solid #3c763d; color: #3c763d; padding: .8rem; border-radius: 4px; font-size: .85rem; text-align: center; }

/* ── FOOTER ── */
.footer-top { background: #3C332B; padding: 1rem; text-align: center; }
.footer-top a { color: #fff; font-size: .82rem; text-decoration: none; }
.footer-top a:hover { text-decoration: underline; }
footer { background: var(--navy); padding: 2rem 1.5rem 1rem; }
.footer-cols { max-width: 1280px; margin: 0 auto 1.5rem; display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.footer-col h4 { color: #fff; font-size: .85rem; font-weight: 600; margin-bottom: .8rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-col a { color: #ccc; font-size: .78rem; text-decoration: none; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid #453B33; padding-top: 1rem; text-align: center; }
.footer-logo { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.footer-logo span { color: var(--orange); }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-top: .6rem; flex-wrap: wrap; }
.footer-links a { color: #ccc; font-size: .72rem; text-decoration: none; }
.footer-links a:hover { color: var(--orange); }
.footer-disc { font-size: .67rem; color: #888; line-height: 1.65; max-width: 720px; margin: .6rem auto 0; }

/* ── CATEGORY / ARTICLE PAGE ── */
.cat-hero { background: var(--navy2); padding: 3rem 1.5rem 2.5rem; border-bottom: 3px solid var(--orange); }
.cat-hero-inner { max-width: 1280px; margin: 0 auto; }
.cat-hero-breadcrumb { font-size: .72rem; color: #aaa; margin-bottom: .9rem; display: flex; gap: .4rem; align-items: center; }
.cat-hero-breadcrumb a { color: #aaa; text-decoration: none; }
.cat-hero-breadcrumb a:hover { color: var(--orange); }
.cat-hero-breadcrumb span { color: #666; }
.cat-hero-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: .8rem; }
.cat-hero-desc { font-size: .95rem; color: #ccc; max-width: 620px; line-height: 1.7; }

.cat-article { background: var(--bg); padding: 2.5rem 0; border-bottom: 1px solid var(--border); }
.article-body { max-width: 800px; font-size: .95rem; color: var(--text2); line-height: 1.85; }
.article-body h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.4rem; font-weight: 700; color: var(--text); margin: 1.6rem 0 .7rem; }
.article-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 1.2rem 0 .5rem; }
.article-body p { margin-bottom: .9rem; }
.article-body ul { padding-left: 1.4rem; margin-bottom: .9rem; display: flex; flex-direction: column; gap: .4rem; }
.article-body li { line-height: 1.6; }
.article-body strong { color: var(--text); }
.tip-box { background: #fff8ec; border-left: 4px solid var(--orange); padding: 1rem 1.2rem; border-radius: 0 6px 6px 0; margin: 1.2rem 0; font-size: .88rem; line-height: 1.65; }
.tip-box strong { color: var(--orange); }

/* ── FAQ ── */
.faq-section { padding: 2.5rem 0 3rem; background: var(--bg); border-top: 1px solid var(--border); }
.faq-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 1.5rem; padding-bottom: .5rem; border-bottom: 2px solid var(--orange); display: inline-block; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.1rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: .98rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; line-height: 1.4; }
.faq-a { font-size: .88rem; color: var(--text2); line-height: 1.75; }

/* ── BLOG ── */
#blog-list { padding: 2.5rem 0 3.5rem; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.4rem; }
.blog-card { background: var(--bg); border: 1px solid var(--border2); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg3); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; display: block; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.2rem 1.3rem 1.5rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.blog-card-meta { display: flex; align-items: center; gap: .7rem; }
.blog-cat-badge { font-size: .63rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--orange); color: #fff; padding: .2rem .6rem; border-radius: 3px; }
.blog-card-date { font-size: .72rem; color: var(--text2); }
.blog-card-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.05rem; font-weight: 700; line-height: 1.3; color: var(--text); }
.blog-card:hover .blog-card-title { color: var(--blue); }
.blog-card-excerpt { font-size: .82rem; color: var(--text2); line-height: 1.6; }
.blog-card-link { margin-top: auto; font-size: .8rem; font-weight: 700; color: var(--blue); }

/* ── 404 ── */
.error-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 4rem 1.5rem; background: var(--bg); }
.error-404-inner { text-align: center; max-width: 520px; }
.error-404-code { font-family: 'Playfair Display', Georgia, serif; font-size: 5rem; font-weight: 900; color: var(--orange); line-height: 1; }
.error-404-title { font-size: 1.3rem; font-weight: 700; margin: 1rem 0 .6rem; }
.error-404-desc { font-size: .92rem; color: var(--text2); line-height: 1.7; margin-bottom: 1.8rem; }
.error-404-search { display: flex; gap: .5rem; margin-bottom: 2rem; }
.error-404-search input { flex: 1; border: 1px solid var(--border); border-radius: 4px; padding: .7rem 1rem; font-family: inherit; font-size: .9rem; }
.error-404-search button { background: var(--orange); color: #fff; border: none; border-radius: 4px; padding: .7rem 1.3rem; font-family: inherit; font-weight: 700; cursor: pointer; }
.error-404-links { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.error-404-links a { background: var(--bg2); border: 1px solid var(--border2); border-radius: 20px; padding: .5rem 1.1rem; font-size: .82rem; text-decoration: none; color: var(--text); }
.error-404-links a:hover { background: var(--bg3); }

/* ── REVEAL ── */
@keyframes revealFallback { to { opacity: 1; transform: translateY(0); } }
.rev { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; animation: revealFallback .6s ease .8s forwards; }
.rev.vis { opacity: 1; transform: translateY(0); animation: none; }

/* ── RESPONSIVE ── */
@media(max-width: 1000px) {
  .mejores-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 900px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
}
@media(max-width: 700px) {
  .about-g { grid-template-columns: 1fr; }
}
@media(max-width: 650px) {
  .nav-links { display: none; }
  .ham { display: flex; }
  .topbar { display: none; }
  .frow { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 1rem; }
  .pg { grid-template-columns: repeat(2,1fr); gap: .6rem; }
  .pinf { padding: .65rem; }
  .pint { font-size: 1.2rem; }
  .wrap { padding: 0 .9rem; }
  #productos { padding: 1.2rem 0 2rem; }
  .cat-hero { padding: 2rem 1rem 1.8rem; }
  .hero-content { padding: 3rem 1.4rem; max-width: 100%; }
  #hero { min-height: 440px; }
  .hero-btns { flex-direction: column; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .nf-input { min-width: 0; }
}
@media(max-width: 380px) {
  .pg { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
}
