/*
Theme Name: Michis & Guaws
Theme URI: https://michisyguaws.com
Author: Michis & Guaws
Author URI: https://michisyguaws.com
Description: Tema personalizado para el blog de Michis & Guaws — tiendita de accesorios y alimento para mascotas en CDMX. Replica el diseño del sitio principal (cariñoso, cercano, con CTAs a WhatsApp).
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: michisyguwas
Tags: blog, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
  --bg: #FFF6EB;
  --surface: #FFFFFF;
  --surface-soft: #FBF1E2;
  --ink: #2B2218;
  --ink-soft: #6F6557;
  --ink-mute: #A89A85;
  --line: #EFE2CC;
  --primary: #EE8344;
  --primary-strong: #D66421;
  --primary-soft: #FFE3CC;
  --secondary: #2EA6A0;
  --secondary-soft: #CFEDEA;
  --whatsapp: #25D366;
  --whatsapp-strong: #128C7E;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(43,34,24,.06), 0 2px 8px rgba(43,34,24,.04);
  --shadow:    0 4px 12px rgba(43,34,24,.08), 0 12px 32px rgba(43,34,24,.06);
  --shadow-lg: 0 10px 24px rgba(43,34,24,.12), 0 24px 60px rgba(43,34,24,.1);
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;
  --max: 1200px;
}

/* Theme variants applied via [data-palette] */
[data-palette="mostaza"] {
  --bg: #FBF6EA;
  --surface-soft: #F4EBD2;
  --primary: #D9A441;
  --primary-strong: #B5832A;
  --primary-soft: #F2DFAA;
  --secondary: #6B5B3E;
  --secondary-soft: #E8DDC2;
  --line: #ECDDB8;
}
[data-palette="rosa"] {
  --bg: #FFF4F4;
  --surface-soft: #FDE3E3;
  --primary: #E8688A;
  --primary-strong: #C84569;
  --primary-soft: #FBD3DE;
  --secondary: #7C5BC8;
  --secondary-soft: #E3D8F5;
  --line: #F3DEDE;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
.h-eyebrow {
  font-family: var(--font-hand);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-strong);
  letter-spacing: .01em;
  line-height: 1;
  margin: 0 0 6px;
}
.h1, h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.h2, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0;
}
.h3, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0;
}
.lead {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 60ch;
  text-wrap: pretty;
}
.muted { color: var(--ink-soft); }
.tiny  { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; color: var(--ink-mute); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-strong); }
.btn-ghost { background: transparent; color: var(--ink); padding: 10px 16px; }
.btn-ghost:hover { background: var(--surface); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-wa {
  background: var(--whatsapp);
  color: #fff;
}
.btn-wa:hover { background: var(--whatsapp-strong); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }

/* ---------- Header / Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  background: rgba(255,246,235,.85);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 20px; letter-spacing: -.01em;
}
.nav-logo .amp { color: var(--primary); font-family: var(--font-hand); font-size: 30px; font-weight: 700; line-height: 0; margin: 0 -2px; transform: translateY(-3px); display: inline-block; }
.nav-links { display: flex; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  transition: background .15s, color .15s;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.nav-link:hover { color: var(--ink); background: rgba(43,34,24,.05); }
.nav-link.active { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); }
.nav-cta { display: flex; align-items: center; gap: 8px; }

@media (max-width: 760px) {
  .nav-inner { gap: 12px; }
  .nav-links { display: none; }
}

/* ---------- Logo mark ---------- */
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--primary);
  display: grid; place-items: center;
  color: #fff;
  position: relative;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.08);
}
.logo-mark svg { width: 60%; height: 60%; }

/* ---------- Hero ---------- */
.hero {
  padding: 48px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
.hero-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface-soft);
  box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--surface);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-sm);
}
.hero-blob {
  position: absolute;
  bottom: -28px; right: -28px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: grid; place-items: center;
  text-align: center;
  padding: 24px;
  transform: rotate(-8deg);
  box-shadow: var(--shadow);
}
.hero-blob .hand {
  font-family: var(--font-hand);
  font-size: 22px; font-weight: 700;
  line-height: 1.1;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta {
  margin-top: 32px;
  display: flex; gap: 24px; flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 14px;
}
.hero-meta .item { display: flex; align-items: center; gap: 8px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-head .left { max-width: 60ch; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-soft);
  position: relative;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-cat {
  font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary-strong);
}
.card-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; line-height: 1.25; letter-spacing: -.01em;
  text-wrap: balance;
}
.card-excerpt { color: var(--ink-soft); font-size: 14px; }
.card-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--ink-mute); padding-top: 10px;
}

.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}

/* ---------- Product card ---------- */
.product {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-media {
  aspect-ratio: 1;
  background: var(--surface-soft);
  overflow: hidden;
  position: relative;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--surface);
  padding: 5px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.product-tag.new { background: var(--primary); color: #fff; }
.product-tag.fav { background: var(--secondary); color: #fff; }
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.25; }
.product-cat { font-size: 12px; color: var(--ink-mute); font-weight: 600; }
.product-wa {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px;
  background: var(--surface-soft);
  border-radius: 10px;
  border: 1px dashed var(--whatsapp);
  color: var(--whatsapp-strong);
  font-weight: 700; font-size: 13px;
  transition: background .15s;
}
.product-wa:hover { background: var(--whatsapp); color: #fff; border-style: solid; }

/* ---------- Chips ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { color: var(--ink); border-color: var(--ink-mute); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- WhatsApp floating ---------- */
.fab-wa {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 100;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px 14px 14px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(37,211,102,.4), 0 12px 40px rgba(0,0,0,.12);
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  border: 0;
}
.fab-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,.5), 0 16px 48px rgba(0,0,0,.15); }
.fab-wa svg { width: 26px; height: 26px; }
.fab-wa::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 999px;
  border: 2px solid var(--whatsapp);
  opacity: .5;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (max-width: 560px) {
  .fab-wa span { display: none; }
  .fab-wa { padding: 14px; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #F6EFE3;
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer a:hover { color: var(--primary); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer h4 { font-family: var(--font-display); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 16px; color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a { color: #C8BBA5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #8A7E69;
  flex-wrap: wrap; gap: 12px;
}

/* ---------- Page headers ---------- */
.page-head {
  background: var(--surface-soft);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-head .container { position: relative; z-index: 1; }
.page-head-decor {
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--primary-soft);
  opacity: .5;
}

/* ---------- Article ---------- */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px;
  font-size: 17px;
  line-height: 1.7;
}
.article p { margin: 0 0 20px; color: var(--ink); }
.article h2 { margin: 40px 0 16px; }
.article h3 { margin: 32px 0 12px; }
.article ul { padding-left: 22px; margin: 0 0 24px; }
.article li { margin-bottom: 8px; }
.article .author {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 32px 0;
}
.author-pic {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-family: var(--font-display);
}
.pull-quote {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  line-height: 1.3;
  border-left: 4px solid var(--primary);
  padding: 8px 0 8px 20px;
  margin: 32px 0;
  color: var(--ink);
  font-style: normal;
}

/* ---------- WA inline block ---------- */
.wa-block {
  background: linear-gradient(135deg, var(--primary-soft), var(--secondary-soft));
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; align-items: center; gap: 24px;
  margin: 40px 0;
}
.wa-block-text { flex: 1; }
.wa-block h3 { margin: 0 0 4px; }
.wa-block p { margin: 0; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 560px) {
  .wa-block { flex-direction: column; text-align: center; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 56px; align-items: center;
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.values {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 16px;
  margin-top: 28px;
}
.value-item {
  background: var(--surface); padding: 16px;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.value-item .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--primary-soft); display: grid; place-items: center; margin-bottom: 10px; color: var(--primary-strong); }
.value-item h4 { font-family: var(--font-display); margin: 0 0 4px; font-size: 16px; }
.value-item p { margin: 0; font-size: 13px; color: var(--ink-soft); }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.info-row .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-strong); display: grid; place-items: center; flex-shrink: 0; }
.info-row strong { font-family: var(--font-display); font-size: 16px; }
.info-row p { margin: 2px 0 0; color: var(--ink-soft); font-size: 14px; }

.form {
  background: var(--surface); padding: 32px;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field input, .field textarea {
  font-family: inherit; font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px;
  align-items: center;
  margin: 64px auto;
  max-width: calc(var(--max) - 48px);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: var(--primary); opacity: .14;
}
.cta-strip h2 { color: #fff; margin: 0 0 8px; }
.cta-strip p { color: #C8BBA5; margin: 0; max-width: 50ch; }
@media (max-width: 760px) { .cta-strip { grid-template-columns: 1fr; padding: 32px; } }

/* ---------- Categories pills bar on blog ---------- */
.cat-bar { display: flex; gap: 10px; flex-wrap: wrap; margin: -8px 0 40px; }

/* ---------- Featured article ---------- */
.featured {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 0;
  box-shadow: var(--shadow-sm);
}
.featured-media { aspect-ratio: 4/3; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: 40px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
@media (max-width: 760px) { .featured { grid-template-columns: 1fr; } .featured-body { padding: 28px; } }

/* ---------- Related ---------- */
.related-strip {
  background: var(--surface-soft);
  padding: 48px 0;
  margin-top: 48px;
}

/* ---------- Util ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary-strong);
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.pill.teal { background: var(--secondary-soft); color: var(--secondary); }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-mute); }

/* ---------- HERO COMERCIAL (TIENDA) ---------- */
.hero-store {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--secondary-soft) 100%);
  position: relative;
  overflow: hidden;
}
.hero-store::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .15;
}
.hero-store::after {
  content: "";
  position: absolute;
  bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--secondary);
  opacity: .12;
}
.hero-store .container { position: relative; z-index: 1; }
.hero-store-content { max-width: 660px; }
.hero-store-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: pretty;
}
.hero-store-subtitle {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 58ch;
  text-wrap: pretty;
}
.hero-store-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-store-bullets li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.hero-store-bullets li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 13px;
  margin-top: 1px;
}
.hero-store-bullets li strong {
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 560px) {
  .hero-store {
    padding: 48px 0;
  }
  .hero-store-title {
    font-size: clamp(28px, 4vw, 40px);
  }
  .hero-store-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .hero-store-bullets {
    margin-bottom: 24px;
  }
}

/* ---------- PRODUCTOS DESTACADOS SECTION ---------- */
.section-featured-products {
  padding: 80px 0;
  background: var(--surface);
}
.section-featured-products h2 {
  color: var(--ink);
  margin: 0 0 6px;
}
.section-featured-products .grid-3 {
  gap: 28px;
}
.section-featured-products .product {
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.section-featured-products .product:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-soft);
}

@media (max-width: 560px) {
  .section-featured-products {
    padding: 64px 0;
  }
}


/* ---------- WordPress-specific tweaks ---------- */
.wp-block-image, .alignwide, .alignfull { margin: 24px 0; border-radius: var(--radius); overflow: hidden; }
.alignfull { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); border-radius: 0; }
.wp-caption-text, .wp-block-image figcaption { font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 8px; }

.article a { color: var(--primary-strong); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.article a:hover { color: var(--ink); }
.article blockquote { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.3; border-left: 4px solid var(--primary); padding: 8px 0 8px 20px; margin: 32px 0; color: var(--ink); }
.article blockquote p { margin: 0; }
.article code { background: var(--surface-soft); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.article pre { background: var(--ink); color: #F6EFE3; padding: 20px; border-radius: var(--radius); overflow-x: auto; font-size: 14px; line-height: 1.5; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 48px 0; }
.pagination a, .pagination span {
  padding: 10px 16px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 700; font-size: 14px; color: var(--ink);
  text-decoration: none; transition: all .15s;
}
.pagination a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Search */
.search-form { display: flex; gap: 8px; max-width: 400px; }
.search-field { flex: 1; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-family: inherit; background: var(--surface); }
.search-submit { padding: 10px 20px; background: var(--ink); color: #fff; border: 0; border-radius: 12px; font-weight: 700; cursor: pointer; }

/* ---------- Carousel Banner ---------- */
.banner-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 5;
  cursor: pointer;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--ink);
  z-index: 5;
  transition: all 0.3s ease;
}

.carousel-nav-button:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav-button.prev {
  left: 16px;
}

.carousel-nav-button.next {
  right: 16px;
}

.carousel-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: rgba(255, 255, 255, 1);
  width: 28px;
  border-radius: 6px;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.98);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 20px;
  animation: fadeIn 0.3s ease;
  overflow: auto;
}

.lightbox.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 95vw;
  max-height: 85vh;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
  padding: 0;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
  transform: scale(1.1);
}

.lightbox-nav {
  position: fixed;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  pointer-events: none;
  z-index: 1001;
}

.lightbox-nav-btn {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: white;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: auto;
  padding: 0;
  line-height: 1;
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
  transform: scale(1.1);
}

.lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 600;
  z-index: 1001;
}

@media (max-width: 760px) {
  .carousel-container {
    aspect-ratio: 16 / 8;
  }

  .carousel-nav-button {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .carousel-nav-button.prev {
    left: 8px;
  }

  .carousel-nav-button.next {
    right: 8px;
  }

  .carousel-controls {
    bottom: 12px;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }

  .carousel-dot.active {
    width: 24px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}
