/* ==========================================================================
   FYJ Golden — hoja de estilos principal
   Paleta y tipografía heredadas del diseño Next.js original.
   Esquinas rectas (radius 0) en todo el tema por decisión de diseño.
   ========================================================================== */

:root {
  /* Superficies */
  --cream: #f2ede6;
  --cream-deep: #e9dfd2;
  --paper: #fbf8f4;
  --white: #ffffff;

  /* Texto */
  --ink: #2a1b20;
  --ink-soft: #5c4a50;
  --stone: #94857a;

  /* Marca — granate */
  --garnet: #8b2942;
  --garnet-600: #7a2438;
  --garnet-700: #651e2e;
  --garnet-900: #3e0f1b;

  /* Acento — coral */
  --coral: #e37e92;
  --coral-soft: #f4cbd3;
  --blush: #f7e3e7;

  --gold: #c6a14e;
  --whatsapp: #25d366;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;

  --shadow-soft: 0 22px 55px -26px rgba(62, 15, 27, 0.35);
  --shadow-card: 0 14px 34px -20px rgba(62, 15, 27, 0.28);
  --shadow-lift: 0 26px 60px -24px rgba(62, 15, 27, 0.45);

  --radius: 0; /* esquinas rectas en todo el tema */
  --header-h: 108px;
  --track: 0.22em;
  --track-sm: 0.14em;
}

/* ---------- Reset ligero ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.01em; line-height: 1.1; }
::selection { background: var(--garnet); color: #fff; }
:focus-visible { outline: 2px solid var(--garnet); outline-offset: 2px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--garnet); color: #fff; padding: 10px 18px; font-size: 13px;
}
.skip-link:focus { left: 0; }

/* ---------- Utilidades ---------- */
.container { margin-inline: auto; width: 100%; max-width: 1280px; padding-inline: 16px; }
@media (min-width: 640px) { .container { padding-inline: 24px; } }
@media (min-width: 1024px) { .container { padding-inline: 32px; } }

.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: var(--track);
  text-transform: uppercase; color: var(--garnet);
}
.eyebrow .fyj-i { vertical-align: -3px; margin-right: 4px; }
.tx-coral { color: var(--coral); }
.tx-garnet { color: var(--garnet); }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

.fyj-i { width: 20px; height: 20px; flex: none; }
.i-12 { width: 12px; height: 12px; } .i-14 { width: 14px; height: 14px; }
.i-16 { width: 16px; height: 16px; } .i-18 { width: 18px; height: 18px; }
.i-20 { width: 20px; height: 20px; } .i-24 { width: 24px; height: 24px; }
.i-28 { width: 28px; height: 28px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; font-size: 12px; font-weight: 600;
  letter-spacing: var(--track-sm); text-transform: uppercase;
  border: 1px solid transparent; transition: all .2s ease;
}
.btn-fill { background: var(--garnet); color: #fff; }
.btn-fill:hover { background: var(--garnet-700); color: #fff; }
.btn-outline { border-color: rgba(139, 41, 66, .3); color: var(--garnet); }
.btn-outline:hover { background: var(--garnet); color: #fff; }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: #fff; color: var(--garnet-900); }
.btn-white { background: #fff; color: var(--garnet); }
.btn-white:hover { background: var(--garnet); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 11px; }
.btn[disabled], .btn.loading { opacity: .6; pointer-events: none; }

.link-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: var(--track-sm);
  text-transform: uppercase; color: var(--garnet);
}
.link-more .fyj-i { transition: transform .2s; }
.link-more:hover .fyj-i { transform: translateX(4px); }

/* ---------- Encabezados de sección ---------- */
.sec { padding-block: 64px; }
@media (min-width: 640px) { .sec { padding-block: 80px; } }
.sec-paper { background: var(--paper); }
.sec-dark { background: var(--garnet-900); color: #fff; }

.sec-head { margin-bottom: 32px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sec-head > div { max-width: 42rem; }
.sec-head h2, .sec-head .h2 {
  margin-top: 8px; font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800; line-height: 1.05; color: var(--ink);
}
.sec-head p.sub { margin-top: 12px; max-width: 36rem; font-size: 14px; color: var(--stone); }
.sec-dark .sec-head h2 { color: #fff; }
.sec-dark .eyebrow { color: var(--coral-soft); }
.sec-dark .sec-head p.sub { color: rgba(242, 237, 230, .7); }
.sec-dark .link-more { color: var(--coral-soft); }

/* ==========================================================================
   CABECERA
   ========================================================================== */
.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 50; }

.announce { background: var(--garnet); color: #fff; }
.announce-inner {
  margin-inline: auto; max-width: 1280px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-inline: 16px;
}
.announce p {
  font-size: 11px; font-weight: 500; letter-spacing: var(--track-sm);
  text-transform: uppercase; text-align: center;
  animation: fadeup .7s cubic-bezier(.2, .7, .2, 1) both;
}

.masthead { transition: background .3s, box-shadow .3s; }
.masthead.solid {
  background: rgba(242, 237, 230, .95);
  box-shadow: 0 10px 30px -22px rgba(62, 15, 27, .5);
  backdrop-filter: blur(8px);
}
.masthead-inner {
  margin-inline: auto; display: flex; height: 72px; max-width: 1280px;
  align-items: center; justify-content: space-between; padding-inline: 16px;
}
@media (min-width: 640px) { .masthead-inner { padding-inline: 24px; } }
@media (min-width: 1024px) { .masthead-inner { padding-inline: 32px; } }

/* Logo */
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid rgba(139, 41, 66, .3); color: var(--garnet);
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
}
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: var(--track-sm); color: var(--garnet); text-transform: uppercase;
}
.brand-name span {
  margin-top: 3px; font-size: 10px; font-weight: 500;
  letter-spacing: var(--track); color: var(--ink-soft); text-transform: uppercase;
}
.brand img.custom-logo { max-height: 48px; width: auto; height: auto; display: block; }
/* SVG del tema (letras negras): blanco en fondos oscuros / cabecera transparente */
.brand--light img.custom-logo,
.header-overlay .masthead:not(.solid) .brand--theme-logo img.custom-logo,
.footer-brand .brand--theme-logo img.custom-logo {
  filter: brightness(0) invert(1);
}

/* Sobre hero transparente */
.header-overlay .masthead:not(.solid) { background: transparent; }
.header-overlay .masthead:not(.solid) .brand-mark { border-color: rgba(255,255,255,.4); color: #fff; }
.header-overlay .masthead:not(.solid) .brand-name b { color: #fff; }
.header-overlay .masthead:not(.solid) .brand-name span { color: rgba(255,255,255,.8); }
.header-overlay .masthead:not(.solid) .nav-desktop > li > a,
.header-overlay .masthead:not(.solid) .nav-desktop > li > button,
.header-overlay .masthead:not(.solid) .header-actions { color: #fff; }

/* Navegación escritorio */
.nav-desktop { display: none; align-items: center; gap: 32px; font-size: 13px; font-weight: 600; letter-spacing: var(--track-sm); text-transform: uppercase; color: var(--ink); }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-desktop > li { position: relative; }
.nav-desktop > li > a, .nav-desktop > li > button {
  display: flex; align-items: center; gap: 4px; padding-block: 8px;
  font: inherit; letter-spacing: inherit; text-transform: inherit;
}
.nav-desktop .fyj-i.caret { width: 14px; height: 14px; opacity: .7; }

/* Mega menú */
.mega {
  position: absolute; left: 50%; top: 100%; z-index: 50;
  width: min(100vw, 1080px); transform: translateX(-50%);
  padding-top: 12px; display: none;
}
.nav-desktop li:hover > .mega, .nav-desktop li:focus-within > .mega { display: block; }
.mega-panel {
  overflow: hidden; border: 1px solid rgba(139, 41, 66, .1);
  background: var(--paper); box-shadow: var(--shadow-lift);
  display: grid; grid-template-columns: 1.4fr 1fr;
}
.mega-cats { padding: 24px; }
.mega-label { font-size: 11px; font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; color: var(--stone); }
.mega-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mega-cat {
  display: flex; align-items: center; gap: 12px; padding: 8px;
  border: 1px solid transparent; transition: all .2s;
  text-transform: none; letter-spacing: 0;
}
.mega-cat:hover { border-color: rgba(139, 41, 66, .1); background: #fff; }
.mega-cat img { width: 48px; height: 48px; object-fit: cover; background: var(--cream); flex: none; }
.mega-cat .t { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.mega-cat .d { display: block; font-size: 11px; color: var(--stone); }
.mega-side { background: rgba(242, 237, 230, .6); padding: 24px; }
.mega-side ul { margin-top: 16px; display: grid; gap: 4px; font-size: 13px; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.mega-side ul a { display: flex; align-items: center; gap: 8px; padding-block: 6px; transition: color .2s; font-weight: 500; }
.mega-side ul a:hover { color: var(--garnet); }
.mega-side ul .fyj-i { color: var(--garnet); }
.mega-side .btn { margin-top: 16px; }

/* Dropdown simple */
.dropdown {
  position: absolute; left: 50%; top: 100%; z-index: 50; width: 260px;
  transform: translateX(-50%); padding-top: 12px; display: none;
}
.nav-desktop li:hover > .dropdown, .nav-desktop li:focus-within > .dropdown { display: block; }
.dropdown-panel {
  border: 1px solid rgba(139, 41, 66, .1); background: var(--paper);
  padding: 8px; box-shadow: var(--shadow-lift);
  text-transform: none; letter-spacing: 0;
}
.dropdown-panel a { display: flex; align-items: center; gap: 12px; padding: 10px; font-size: 13px; font-weight: 500; color: var(--ink); transition: background .2s; }
.dropdown-panel a:hover { background: var(--cream); }

/* Acciones cabecera */
.header-actions { display: flex; align-items: center; gap: 4px; color: var(--ink); }
@media (min-width: 640px) { .header-actions { gap: 8px; } }
.hact {
  position: relative; display: grid; place-items: center;
  width: 40px; height: 40px; transition: background .2s; color: inherit;
}
.hact:hover { background: rgba(139, 41, 66, .08); }
.hact .count {
  position: absolute; top: -2px; right: -2px;
  display: grid; place-items: center; min-width: 20px; height: 20px;
  padding-inline: 4px; background: var(--garnet); color: #fff;
  font-size: 10px; font-weight: 700;
}
.hact-menu { display: grid; }
@media (min-width: 1024px) { .hact-menu { display: none; } }
.hact-user, .hact-heart { display: none; }
@media (min-width: 640px) { .hact-user, .hact-heart { display: grid; } }

/* ---------- Menú móvil ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.mobile-menu.open { pointer-events: auto; }
.overlay {
  position: absolute; inset: 0; background: rgba(62, 15, 27, .4);
  backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s;
}
.mobile-menu.open .overlay { opacity: 1; }
.mobile-panel {
  position: absolute; right: 0; top: 0; display: flex; height: 100%;
  width: 86%; max-width: 384px; flex-direction: column;
  background: var(--cream); box-shadow: var(--shadow-lift);
  transform: translateX(100%); transition: transform .3s;
}
.mobile-menu.open .mobile-panel { transform: none; }
.mobile-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(139,41,66,.1); padding: 16px 20px; }
.mobile-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.mobile-body .mega-label { margin-top: 20px; }
.mobile-body .mega-label:first-child { margin-top: 0; }
.mobile-body ul { margin-top: 8px; }
.mobile-body ul a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; font-size: 15px; font-weight: 500; transition: background .2s;
}
.mobile-body ul a:hover { background: #fff; }
.mobile-body ul .fyj-i { color: var(--stone); }
.mobile-foot { border-top: 1px solid rgba(139,41,66,.1); padding: 20px; display: grid; gap: 12px; }
.mobile-foot a { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.mobile-foot .fyj-i { color: var(--garnet); }

/* ---------- Buscador overlay ---------- */
.search-modal { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.search-modal.open { pointer-events: auto; }
.search-panel {
  position: absolute; inset-inline: 0; top: 0; background: var(--cream);
  box-shadow: var(--shadow-lift); transform: translateY(-100%); transition: transform .3s;
  max-height: 100dvh; overflow-y: auto;
}
.search-modal.open .search-panel { transform: none; }
.search-inner { margin-inline: auto; max-width: 1280px; padding: 24px 16px; }
@media (min-width: 640px) { .search-inner { padding-inline: 24px; } }
@media (min-width: 1024px) { .search-inner { padding-inline: 32px; } }
.search-bar { display: flex; align-items: center; gap: 12px; }
.search-bar > .fyj-i { color: var(--garnet); }
.search-bar input {
  width: 100%; background: transparent; border: 0; outline: 0;
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
}
@media (min-width: 640px) { .search-bar input { font-size: 24px; } }
.search-bar input::placeholder { color: var(--stone); }
.search-tags { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.search-tags .mega-label { margin-right: 4px; }
.search-tag {
  border: 1px solid rgba(139,41,66,.15); background: #fff; padding: 6px 16px;
  font-size: 12px; font-weight: 500; color: var(--ink-soft); transition: all .2s;
}
.search-tag:hover { border-color: var(--garnet); color: var(--garnet); }

.search-results { margin-top: 24px; }
.search-status { font-size: 13px; color: var(--stone); min-height: 20px; }
.search-status .warn { color: var(--garnet); }
.search-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .search-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.search-hit .img { aspect-ratio: 1; overflow: hidden; background: #fff; }
.search-hit img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.search-hit:hover img { transform: scale(1.05); }
.search-hit .t { margin-top: 8px; font-size: 13px; font-weight: 600; }
.search-hit .pr { font-size: 13px; color: var(--garnet); font-weight: 700; }
.search-hit .pr del { color: var(--stone); font-weight: 400; margin-left: 6px; }
.search-all { margin-top: 20px; }
.search-spinner { display: none; }
.search-results.loading .search-spinner { display: inline-block; }

.spinner {
  width: 20px; height: 20px; border: 2px solid rgba(139,41,66,.2);
  border-top-color: var(--garnet); border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; margin-top: calc(-1 * var(--header-h));
  height: 100svh; min-height: 620px; width: 100%; overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-grad-1 { position: absolute; inset: 0; background: linear-gradient(to right, rgba(242,237,230,.95), rgba(242,237,230,.45) 50%, transparent); }
.hero-grad-2 { position: absolute; inset: 0; background: linear-gradient(to top, rgba(62,15,27,.35), transparent 50%, rgba(62,15,27,.1)); }
.hero-inner {
  position: relative; z-index: 10; margin-inline: auto; display: flex;
  height: 100%; max-width: 1280px; flex-direction: column; justify-content: center;
  padding-inline: 16px;
}
@media (min-width: 640px) { .hero-inner { padding-inline: 24px; } }
@media (min-width: 1024px) { .hero-inner { padding-inline: 32px; } }
.hero-content { max-width: 36rem; }
.hero-content .eyebrow { display: flex; align-items: center; gap: 8px; }
.hero-content .eyebrow .fyj-i { color: var(--coral); }
.hero-title {
  margin-top: 16px; font-size: clamp(2.75rem, 9vw, 6rem);
  font-weight: 800; line-height: .92; letter-spacing: -0.02em;
}
.hero-sub {
  margin-top: 20px; max-width: 28rem; font-size: 14px; font-weight: 600;
  letter-spacing: var(--track-sm); text-transform: uppercase; color: var(--garnet-700);
}
.hero-ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-feats { margin-top: 40px; display: none; gap: 32px; }
@media (min-width: 640px) { .hero-feats { display: flex; } }
.hero-feats > div { display: flex; align-items: center; gap: 8px; }
.hero-feats .fyj-i { color: var(--garnet); }
.hero-feats span.t { font-size: 11px; font-weight: 600; letter-spacing: var(--track-sm); text-transform: uppercase; color: var(--garnet-700); }
.hero-scroll {
  position: absolute; inset-inline: 0; bottom: 20px; z-index: 10;
  display: none; flex-direction: column; align-items: center; gap: 8px;
}
@media (min-width: 640px) { .hero-scroll { display: flex; } }
.hero-scroll .mouse {
  display: flex; height: 36px; width: 24px; justify-content: center;
  border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding-top: 6px;
}
.hero-scroll .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: scrolldot 1.7s ease-in-out infinite; }
.hero-scroll .lbl { font-size: 10px; font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; color: rgba(255,255,255,.9); }

/* Hero interior (páginas/archivos) */
.page-hero { background: linear-gradient(to bottom, rgba(233,223,210,.5), var(--cream)); padding-block: 40px 32px; text-align: center; }
@media (min-width: 640px) { .page-hero { padding-block: 56px 40px; } }
.page-hero h1 { margin-top: 8px; font-size: clamp(32px, 5vw, 48px); font-weight: 800; line-height: 1.02; }
.page-hero .sub { margin: 12px auto 0; max-width: 30rem; font-size: 14px; color: var(--stone); }

/* ==========================================================================
   FRANJA DE CONFIANZA
   ========================================================================== */
.trust-wrap { position: relative; z-index: 20; margin-top: -48px; padding-bottom: 16px; }
.trust-strip {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  overflow: hidden; border: 1px solid rgba(139,41,66,.1);
}
@media (min-width: 640px) { .trust-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .trust-strip { grid-template-columns: repeat(6, 1fr); } }
.trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--paper); padding: 24px 16px; text-align: center;
}
.trust-item .fyj-i { color: var(--garnet); }
.trust-item .t { font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.trust-item .d { font-size: 11px; line-height: 1.3; color: var(--stone); }

/* ==========================================================================
   TILES DE CATEGORÍA
   ========================================================================== */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--cream-deep); box-shadow: var(--shadow-card); display: block;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.tile:hover img { transform: scale(1.1); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(62,15,27,.75), rgba(62,15,27,.1) 55%, transparent);
}
.tile-info { position: absolute; inset-inline: 0; bottom: 0; padding: 16px; z-index: 1; }
.tile-info .t { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; }
.tile-info .d { font-size: 11px; color: rgba(255,255,255,.75); }
.tile-go {
  position: absolute; right: 12px; top: 12px; z-index: 1;
  display: grid; place-items: center; width: 32px; height: 32px;
  background: rgba(255,255,255,.9); color: var(--garnet);
  opacity: 0; transform: translateY(4px); transition: all .25s;
}
.tile:hover .tile-go { opacity: 1; transform: none; }

/* ==========================================================================
   CARRUSEL
   ========================================================================== */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 8px;
  margin-inline: -16px; padding-inline: 16px;
}
@media (min-width: 640px) { .carousel-track { gap: 20px; margin-inline: 0; padding-inline: 0; } }
.carousel-track > * { min-width: 76%; scroll-snap-align: start; }
@media (min-width: 640px) { .carousel-track > * { min-width: 40%; } }
@media (min-width: 1024px) { .carousel-track > * { min-width: 23.5%; } }
.carousel-nav { margin-top: 16px; display: flex; justify-content: flex-end; gap: 8px; }
@media (min-width: 640px) { .carousel-nav { position: absolute; top: -56px; right: 0; margin-top: 0; } }
.carousel-btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid rgba(139,41,66,.15); background: #fff; color: var(--garnet);
  box-shadow: 0 1px 3px rgba(62,15,27,.08); transition: all .2s;
}
.carousel-btn:hover { background: var(--garnet); color: #fff; }

/* ==========================================================================
   TARJETA DE PRODUCTO
   ========================================================================== */
.pcard {
  position: relative; display: flex; height: 100%; flex-direction: column;
  overflow: hidden; background: #fff; box-shadow: var(--shadow-card);
  transition: transform .3s, box-shadow .3s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.pcard-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--cream); }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard-media .img-b { opacity: 0; transform: scale(1.1); transition: opacity .5s, transform .7s; }
.pcard:hover .img-b { opacity: 1; transform: none; }
/* Solo oculta la principal si hay imagen de hover (galería). Una sola imagen no se apaga. */
.pcard:hover .pcard-media:has(.img-b) .img-a { opacity: 0; }
.pcard-media .img-a { transition: opacity .5s; }
.pcard-badges { position: absolute; left: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge {
  padding: 4px 10px; font-size: 10px; font-weight: 700;
  letter-spacing: var(--track-sm); text-transform: uppercase; color: #fff;
  box-shadow: 0 1px 3px rgba(62,15,27,.15); width: max-content;
}
.badge-new { background: var(--garnet); }
.badge-sale { background: var(--coral); }
.badge-out { background: var(--stone); }
.pcard-fav {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  display: grid; place-items: center; width: 36px; height: 36px;
  background: rgba(255,255,255,.9); color: var(--ink-soft);
  box-shadow: 0 1px 3px rgba(62,15,27,.1); backdrop-filter: blur(4px); transition: color .2s;
}
.pcard-fav:hover, .pcard-fav.active { color: var(--garnet); }
.pcard-fav.active .fyj-i { fill: var(--garnet); }
.pcard-add {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--garnet); color: #fff; box-shadow: var(--shadow-lift);
  transition: transform .3s, background .3s;
}
.pcard-add:hover { transform: scale(1.05); background: var(--garnet-700); }
.pcard-add.added { background: var(--gold); }
.pcard-body { display: flex; flex: 1; flex-direction: column; padding: 14px 48px 14px 16px; position: relative; }
.pcard-rating { margin-bottom: 4px; display: flex; align-items: center; gap: 4px; font-size: 11px; }
.pcard-rating .fyj-i { width: 12px; height: 12px; color: var(--gold); }
.pcard-rating b { color: var(--ink-soft); }
.pcard-rating span { color: var(--stone); }
.pcard-price { font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1; color: var(--ink); }
.pcard-price del { font-family: var(--font-sans); font-size: 12px; font-weight: 400; color: var(--stone); margin-left: 6px; }
.pcard-price ins { text-decoration: none; }
.pcard-name {
  margin-top: 4px; font-size: 11px; font-weight: 600;
  letter-spacing: var(--track-sm); text-transform: uppercase;
  color: var(--ink-soft); transition: color .2s; display: block;
}
.pcard-name:hover { color: var(--garnet); }
.pcard-name::after { content: ""; position: absolute; inset: 0; } /* toda la tarjeta clicable */
.pcard-short { margin-top: 4px; font-size: 12px; line-height: 1.35; color: var(--stone); }
.pcard-fav, .pcard-add { z-index: 3; } /* por encima del enlace expandido */
.pcard-media { z-index: 1; }

/* Grid de productos — gaps compactos en móvil */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .products-grid { gap: 20px; } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   SECCIONES DE LA HOME
   ========================================================================== */
/* Historia */
.story { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .story { grid-template-columns: 1fr 1fr; gap: 56px; } }
.story-media { position: relative; }
.story-media .photo { overflow: hidden; box-shadow: var(--shadow-soft); }
.story-media .photo img { aspect-ratio: 4/5; width: 100%; object-fit: cover; }
.story-badge {
  position: absolute; right: -8px; bottom: -24px; display: none;
  border: 1px solid rgba(139,41,66,.1); background: var(--cream);
  padding: 20px; box-shadow: var(--shadow-lift);
}
@media (min-width: 640px) { .story-badge { display: block; } }
.story-badge .n { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--garnet); }
.story-badge .d { font-size: 12px; color: var(--stone); }
.story h2 { margin-top: 8px; font-size: clamp(28px, 4.5vw, 40px); font-weight: 800; line-height: 1.05; }
.story .lead { margin-top: 20px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.story-list { margin-top: 24px; display: grid; gap: 12px; }
.story-list li { display: flex; gap: 12px; }
.story-list .ico {
  margin-top: 2px; display: grid; place-items: center; flex: none;
  width: 24px; height: 24px; background: var(--blush); color: var(--garnet);
}
.story-list .ico .fyj-i { width: 14px; height: 14px; }
.story-list b { color: var(--ink); }
.story-list span.d { font-size: 14px; color: var(--stone); }
.story-ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Regalos */
.gifts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .gifts-grid { gap: 16px; } }
@media (min-width: 1024px) { .gifts-grid { grid-template-columns: repeat(4, 1fr); } }
.gift-tile { position: relative; aspect-ratio: 1; overflow: hidden; display: block; background: var(--garnet-700); }
.gift-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.gift-tile:hover img { transform: scale(1.1); }
.gift-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(62,15,27,.85), transparent); }
.gift-info { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 16px; }
.gift-info .t { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: #fff; }
.gift-info .link-more { margin-top: 4px; font-size: 11px; color: var(--coral-soft); }
.gift-occasions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.gift-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05);
  padding: 10px 20px; font-size: 14px; font-weight: 500; color: rgba(242,237,230,.9);
  transition: all .2s;
}
.gift-chip:hover { border-color: var(--coral); color: #fff; }

/* Colecciones */
.collections { display: grid; gap: 8px; }
@media (min-width: 640px) { .collections { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .collections { grid-template-columns: repeat(4, 1fr); } }
.collection { position: relative; overflow: hidden; background: var(--cream-deep); box-shadow: var(--shadow-card); display: block; }
.collection img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .7s; }
.collection:hover img { transform: scale(1.05); }
@media (min-width: 1024px) {
  .collection.featured { grid-column: span 2; grid-row: span 2; }
  .collection.featured img { aspect-ratio: auto; height: 100%; }
}
.collection.featured img { aspect-ratio: 1; }
.collection::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(62,15,27,.85), rgba(62,15,27,.15) 55%, transparent); }
.collection-info { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 20px; }
.collection-info .tag { font-size: 11px; font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; color: var(--coral-soft); }
.collection-info h3 { margin-top: 4px; font-size: 24px; font-weight: 800; color: #fff; }
.collection-info .d { margin-top: 6px; max-width: 24rem; font-size: 14px; color: rgba(242,237,230,.8); }
.collection-info .link-more { margin-top: 12px; color: #fff; font-size: 12px; }

/* Taller */
.atelier { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .atelier { grid-template-columns: 1fr 1fr; gap: 56px; } }
.atelier-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.atelier-photos > div { overflow: hidden; box-shadow: var(--shadow-card); }
.atelier-photos > div:last-child { margin-top: 32px; }
.atelier-photos img { aspect-ratio: 3/4; width: 100%; height: 100%; object-fit: cover; }
.atelier h2 { margin-top: 8px; font-size: clamp(28px, 4.5vw, 40px); font-weight: 800; line-height: 1.05; }
.atelier .lead { margin-top: 20px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.atelier-steps { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.atelier-step { border: 1px solid rgba(139,41,66,.1); background: #fff; padding: 16px; text-align: center; }
.atelier-step .n {
  margin-inline: auto; display: grid; place-items: center; width: 32px; height: 32px;
  background: var(--garnet); color: #fff;
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
}
.atelier-step .t { margin-top: 8px; font-size: 12px; font-weight: 500; color: var(--ink-soft); }
@media (min-width: 1024px) {
  .atelier > .txt { order: 1; }
  .atelier > .atelier-photos { order: 2; }
}

/* Sobre nosotros */
.about { display: grid; gap: 32px; }
@media (min-width: 1024px) { .about { grid-template-columns: 1.3fr 1fr; gap: 56px; } }
.about h2 { margin-top: 8px; font-size: clamp(28px, 4.5vw, 40px); font-weight: 800; line-height: 1.05; }
.about .lead { margin-top: 20px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.about .lead a { font-weight: 600; color: var(--garnet); text-underline-offset: 2px; }
.about .lead a:hover { text-decoration: underline; }
.about-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-self: start; }
.about-feat { border: 1px solid rgba(139,41,66,.1); background: var(--paper); padding: 16px; }
.about-feat .fyj-i { color: var(--garnet); }
.about-feat .t { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.about-feat .d { font-size: 12px; color: var(--stone); }

/* Tiendas */
.stores-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .stores-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stores-grid.cols-5 { grid-template-columns: repeat(5, 1fr); } }
.store-card { border: 1px solid rgba(139,41,66,.1); background: #fff; padding: 24px; box-shadow: var(--shadow-card); }
.store-card .head { display: flex; align-items: center; gap: 12px; }
.store-card .pin { display: grid; place-items: center; width: 44px; height: 44px; background: var(--blush); color: var(--garnet); flex: none; }
.store-card h3 { font-size: 20px; font-weight: 700; color: var(--ink); }
.store-card .addr { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
.store-card .meta { margin-top: 4px; font-size: 14px; color: var(--stone); }
.store-card .meta a { color: inherit; }
.store-card .meta a:hover { color: var(--garnet); }
.store-card .link-more { margin-top: 16px; }
.stores-cta {
  margin-top: 24px; display: flex; flex-direction: column; align-items: flex-start;
  gap: 16px; background: var(--garnet); color: #fff; padding: 24px;
}
@media (min-width: 640px) { .stores-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px; } }
.stores-cta h3 { font-size: 20px; font-weight: 700; }
.stores-cta p { font-size: 14px; color: rgba(242,237,230,.8); }

/* Página Tiendas */
.store-page-card { display: flex; flex-direction: column; }
.store-map { aspect-ratio: 16/10; width: 100%; border: 0; background: var(--cream-deep); }
.store-hours { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--stone); }
.store-actions { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }

/* Reseñas */
.reviews-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(4, 1fr); } }
.review-card {
  display: flex; flex-direction: column; border: 1px solid rgba(139,41,66,.1);
  background: var(--paper); padding: 24px; box-shadow: var(--shadow-card);
}
.review-card > .fyj-i { color: var(--coral); width: 28px; height: 28px; }
.review-stars { margin-top: 8px; display: flex; gap: 2px; color: var(--gold); }
.review-stars .fyj-i { width: 16px; height: 16px; }
.review-card blockquote { margin-top: 12px; flex: 1; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.review-card figcaption { margin-top: 16px; border-top: 1px solid rgba(139,41,66,.1); padding-top: 12px; }
.review-card figcaption .n { font-size: 14px; font-weight: 600; color: var(--ink); }
.review-card figcaption .p { font-size: 12px; color: var(--stone); }

/* Prensa */
.press { margin-top: 48px; }
.press .lbl { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; color: var(--stone); }
.press-marquee {
  position: relative; margin-top: 16px; overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.press-track { display: flex; width: max-content; gap: 48px; padding-right: 48px; animation: marquee 32s linear infinite; }
.press-track:hover { animation-play-state: paused; }
.press-track span { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: .2em; color: rgba(42,27,32,.3); white-space: nowrap; }

/* ==========================================================================
   PIE
   ========================================================================== */
.site-footer { background: var(--garnet-900); color: rgba(242,237,230,.85); }
.footer-news { border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-news-inner { margin-inline: auto; display: grid; max-width: 1280px; gap: 32px; padding: 48px 16px; }
@media (min-width: 768px) { .footer-news-inner { grid-template-columns: 1fr 1fr; align-items: center; } }
@media (min-width: 640px) { .footer-news-inner { padding-inline: 24px; } }
@media (min-width: 1024px) { .footer-news-inner { padding-inline: 32px; } }
.footer-news .eyebrow { color: var(--coral-soft); }
.footer-news h3 { margin-top: 8px; font-size: 24px; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .footer-news h3 { font-size: 30px; } }
.footer-news p.d { margin-top: 8px; max-width: 28rem; font-size: 14px; color: rgba(242,237,230,.7); }
.news-form { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 640px) { .news-form { flex-direction: row; } }
.news-form input {
  width: 100%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05);
  padding: 14px 20px; font-size: 14px; color: #fff; outline: none; transition: border-color .2s;
}
.news-form input::placeholder { color: rgba(242,237,230,.4); }
.news-form input:focus { border-color: var(--coral); }
.news-form .btn { white-space: nowrap; }
.news-msg { margin-top: 8px; font-size: 12px; color: var(--coral-soft); }

.footer-trust { border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-trust-inner { margin-inline: auto; display: grid; max-width: 1280px; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px 16px; }
@media (min-width: 768px) { .footer-trust-inner { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) { .footer-trust-inner { padding-inline: 24px; } }
@media (min-width: 1024px) { .footer-trust-inner { padding-inline: 32px; } }
.footer-trust-inner > div { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(242,237,230,.8); }
.footer-trust-inner .fyj-i { color: var(--coral); }

.footer-cols { margin-inline: auto; display: grid; max-width: 1280px; gap: 40px; padding: 48px 16px; }
@media (min-width: 768px) { .footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
@media (min-width: 640px) { .footer-cols { padding-inline: 24px; } }
@media (min-width: 1024px) { .footer-cols { padding-inline: 32px; } }
.footer-brand .brand-mark { border-color: rgba(255,255,255,.4); color: #fff; }
.footer-brand .brand-name b { color: #fff; }
.footer-brand .brand-name span { color: rgba(255,255,255,.8); }
.footer-brand p.d { margin-top: 16px; max-width: 20rem; font-size: 14px; color: rgba(242,237,230,.7); }
.footer-contact { margin-top: 20px; display: grid; gap: 8px; font-size: 14px; color: rgba(242,237,230,.75); }
.footer-contact p { display: flex; align-items: center; gap: 8px; }
.footer-contact .fyj-i { color: var(--coral); width: 16px; height: 16px; }
.footer-social { margin-top: 20px; display: flex; gap: 8px; }
.footer-social a {
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15); color: rgba(242,237,230,.8); transition: all .2s;
}
.footer-social a:hover { border-color: var(--coral); color: var(--coral); }
.footer-col .lbl { font-size: 11px; font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; color: var(--coral-soft); }
.footer-col ul { margin-top: 16px; display: grid; gap: 10px; font-size: 14px; }
.footer-col a { color: rgba(242,237,230,.7); transition: color .2s; }
.footer-col a:hover { color: var(--coral); }

.footer-legal { border-top: 1px solid rgba(255,255,255,.1); }
.footer-legal-inner {
  margin-inline: auto; display: flex; max-width: 1280px; flex-direction: column;
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 24px 16px; font-size: 12px; color: rgba(242,237,230,.55);
}
@media (min-width: 640px) { .footer-legal-inner { flex-direction: row; padding-inline: 24px; } }
@media (min-width: 1024px) { .footer-legal-inner { padding-inline: 32px; } }
.footer-legal-inner nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.footer-legal-inner nav a:hover { color: var(--coral); }
.footer-pay { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; letter-spacing: var(--track-sm); }
.footer-pay span { border: 1px solid rgba(255,255,255,.15); padding: 4px 6px; }

/* ==========================================================================
   MIGAS DE PAN
   ========================================================================== */
.breadcrumbs { border-bottom: 1px solid rgba(139,41,66,.1); background: var(--paper); }
.breadcrumbs ol {
  margin-inline: auto; display: flex; flex-wrap: wrap; max-width: 1280px;
  align-items: center; gap: 6px; padding: 12px 16px; font-size: 12px; color: var(--stone);
}
@media (min-width: 640px) { .breadcrumbs ol { padding-inline: 24px; } }
@media (min-width: 1024px) { .breadcrumbs ol { padding-inline: 32px; } }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs a:hover { color: var(--garnet); }
.breadcrumbs .fyj-i { width: 14px; height: 14px; }
.breadcrumbs .current { font-weight: 500; color: var(--ink); }

/* ==========================================================================
   CATÁLOGO / ARCHIVO DE PRODUCTOS
   ========================================================================== */
.cat-chips {
  display: flex; gap: 16px; overflow-x: auto;
  margin-inline: -16px; padding-inline: 16px; justify-content: flex-start;
}
@media (min-width: 640px) { .cat-chips { gap: 24px; margin-inline: 0; padding-inline: 0; justify-content: center; } }
.cat-chip { display: flex; width: 68px; flex: none; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
@media (min-width: 640px) { .cat-chip { width: 84px; } }
.cat-chip .ring {
  display: block; border-radius: 50%; padding: 2px;
  border: 2px solid transparent; transition: border-color .2s;
}
.cat-chip:hover .ring { border-color: rgba(139,41,66,.3); }
.cat-chip.active .ring { border-color: var(--garnet); }
.cat-chip .img { display: block; width: 64px; height: 64px; overflow: hidden; border-radius: 50%; }
@media (min-width: 640px) { .cat-chip .img { width: 78px; height: 78px; } }
.cat-chip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-chip:hover img { transform: scale(1.1); }
.cat-chip .lbl { font-size: 10px; font-weight: 600; letter-spacing: var(--track-sm); text-transform: uppercase; color: var(--ink-soft); }
.cat-chip.active .lbl { color: var(--garnet); }
.cat-chip .more {
  display: grid; place-items: center; width: 64px; height: 64px;
  border: 1px solid rgba(139,41,66,.15); border-radius: 50%; background: #fff; color: var(--garnet);
}
@media (min-width: 640px) { .cat-chip .more { width: 78px; height: 78px; } }
.cat-chip .more i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--garnet); margin-inline: 2px; }

/* Toolbar */
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  border-block: 1px solid rgba(139,41,66,.1); padding-block: 12px;
}
.shop-toolbar .filter-btn {
  display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  letter-spacing: var(--track-sm); text-transform: uppercase; color: var(--ink); transition: color .2s;
}
.shop-toolbar .filter-btn:hover { color: var(--garnet); }
.filter-count { display: grid; place-items: center; min-width: 20px; height: 20px; padding-inline: 4px; background: var(--garnet); color: #fff; font-size: 10px; font-weight: 700; }
.orderby-wrap { display: flex; align-items: center; gap: 8px; }
.orderby-wrap .lbl { display: none; font-size: 11px; font-weight: 600; letter-spacing: var(--track-sm); text-transform: uppercase; color: var(--stone); }
@media (min-width: 640px) { .orderby-wrap .lbl { display: inline; } }
.orderby-wrap .sel { position: relative; }
.orderby-wrap select {
  appearance: none; border: 1px solid rgba(139,41,66,.15); background: #fff;
  padding: 10px 36px 10px 16px; font-size: 11px; font-weight: 600;
  letter-spacing: var(--track-sm); text-transform: uppercase; color: var(--ink);
  outline: none; transition: border-color .2s; cursor: pointer;
}
.orderby-wrap select:hover { border-color: var(--garnet); }
.orderby-wrap .sel .fyj-i { position: absolute; right: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; color: var(--garnet); }

.result-count { margin-top: 20px; font-size: 14px; color: var(--stone); }
.result-count b { color: var(--ink); }
.shop-grid-wrap { margin-top: 20px; }

/* Cajón de filtros */
.filter-drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.filter-drawer.open { pointer-events: auto; }
.filter-panel {
  position: absolute; left: 0; top: 0; display: flex; height: 100%;
  width: 88%; max-width: 384px; flex-direction: column;
  background: var(--cream); box-shadow: var(--shadow-lift);
  transform: translateX(-100%); transition: transform .3s;
}
.filter-drawer.open .filter-panel { transform: none; }
.filter-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(139,41,66,.1); padding: 16px 20px; }
.filter-head .t { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.filter-head .fyj-i { color: var(--garnet); }
.filter-body { flex: 1; overflow-y: auto; padding: 24px 20px; display: grid; gap: 28px; align-content: start; }
.filter-group .lbl { font-size: 11px; font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; color: var(--garnet); }
.filter-group .opts { margin-top: 12px; display: grid; gap: 4px; }
.filter-opt {
  display: flex; width: 100%; align-items: center; gap: 12px;
  padding: 8px; font-size: 14px; text-align: left; color: var(--ink-soft);
  transition: background .2s;
}
.filter-opt:hover { background: var(--cream-deep); }
.filter-opt .box {
  display: grid; place-items: center; width: 20px; height: 20px;
  border: 1px solid rgba(139,41,66,.25); flex: none; transition: all .15s;
}
.filter-opt.on .box { border-color: var(--garnet); background: var(--garnet); color: #fff; }
.filter-opt.on { font-weight: 600; color: var(--ink); }
.filter-opt .box .fyj-i { width: 14px; height: 14px; }
.filter-clear { font-size: 12px; font-weight: 600; letter-spacing: var(--track-sm); text-transform: uppercase; color: var(--garnet); text-decoration: underline; text-underline-offset: 4px; justify-self: start; }
.filter-foot { border-top: 1px solid rgba(139,41,66,.1); padding: 20px; }
.filter-foot .btn { width: 100%; }

/* Sin resultados */
.no-results { margin-top: 40px; border: 1px dashed rgba(139,41,66,.2); background: var(--paper); padding: 80px 24px; text-align: center; }
.no-results .fyj-i { margin-inline: auto; width: 32px; height: 32px; color: rgba(139,41,66,.4); }
.no-results .t { margin-top: 12px; font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.no-results .d { margin-top: 4px; font-size: 14px; color: var(--stone); }
.no-results .btn { margin-top: 20px; }

/* Paginación + scroll infinito */
.shop-pagination { margin-top: 40px; display: flex; justify-content: center; gap: 8px; }
.shop-pagination .page-numbers {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 8px;
  border: 1px solid rgba(139,41,66,.15); background: #fff; font-size: 13px; font-weight: 600;
  color: var(--ink-soft); transition: all .2s;
}
.shop-pagination .page-numbers.current { background: var(--garnet); border-color: var(--garnet); color: #fff; }
.shop-pagination .page-numbers:hover:not(.current) { border-color: var(--garnet); color: var(--garnet); }
.infinite-status { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 44px; }
.infinite-status .spinner { display: none; }
.infinite-status.loading .spinner { display: block; }
.infinite-status .end-msg { display: none; font-size: 12px; font-weight: 600; letter-spacing: var(--track-sm); text-transform: uppercase; color: var(--stone); }
.infinite-status.done .end-msg { display: block; }
.js .shop-pagination { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } /* accesible para bots, oculta con JS */

/* ==========================================================================
   FICHA DE PRODUCTO
   ========================================================================== */
.product-main { display: grid; gap: 32px; }
@media (min-width: 1024px) { .product-main { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* Galería */
.pgallery { display: flex; gap: 16px; }
.pgallery-thumbs { display: none; width: 84px; flex: none; flex-direction: column; gap: 12px; }
@media (min-width: 1024px) { .pgallery-thumbs { display: flex; } }
.pgallery-thumb { position: relative; aspect-ratio: 1; overflow: hidden; border: 2px solid transparent; transition: border-color .2s; }
.pgallery-thumb:hover { border-color: rgba(139,41,66,.3); }
.pgallery-thumb.active { border-color: var(--garnet); }
.pgallery-thumb img { width: 100%; height: 100%; object-fit: cover; background: var(--cream-deep); }
.pgallery-main { position: relative; flex: 1; overflow: hidden; background: var(--cream-deep); }
.pgallery-main img { aspect-ratio: 4/5; width: 100%; object-fit: cover; }
@media (max-width: 1023.9px) { .pgallery { display: block; } .pgallery-main img { aspect-ratio: 1; } }
.pgallery-mobile-thumbs { margin-top: 12px; display: flex; gap: 8px; overflow-x: auto; }
@media (min-width: 1024px) { .pgallery-mobile-thumbs { display: none; } }
.pgallery-mobile-thumbs button { width: 64px; height: 64px; flex: none; overflow: hidden; border: 2px solid transparent; }
.pgallery-mobile-thumbs button.active { border-color: var(--garnet); }
.pgallery-mobile-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.micro-badges { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.micro-badge {
  border: 1px solid rgba(139,41,66,.12); background: var(--paper); padding: 6px 12px;
  font-size: 10px; font-weight: 600; letter-spacing: var(--track-sm);
  text-transform: uppercase; color: var(--ink-soft);
}

/* Zona de compra */
.buybox .flags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.buybox .rating { display: flex; align-items: center; gap: 4px; font-size: 12px; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .dim { opacity: .25; }
.buybox .rating .stars { display: flex; color: var(--gold); }
.buybox .rating .stars .fyj-i { width: 14px; height: 14px; }
.buybox .rating b { color: var(--ink-soft); }
.buybox .rating span { color: var(--stone); }
.buybox h1 {
  margin-top: 12px; font-size: clamp(32px, 5vw, 48px); font-weight: 800;
  background: linear-gradient(to right, var(--coral), var(--garnet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.buybox .short { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.buybox .price-row { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.buybox .price-row .amount { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--ink); }
.buybox .price-row del { font-size: 18px; color: var(--stone); }
.buybox .price-row del .amount { font-size: 18px; font-weight: 400; font-family: var(--font-sans); color: var(--stone); }
.buybox .price-row ins { text-decoration: none; }
.buybox .price-row .off { margin-bottom: 6px; background: rgba(227,126,146,.15); padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--garnet); }
.buybox .tax-note { margin-top: 4px; font-size: 12px; color: var(--stone); }

/* Variaciones */
.buybox .variations { margin-top: 28px; display: grid; gap: 24px; }
.buybox .var-label { font-size: 11px; font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; color: var(--garnet); }
.buybox .var-label span { color: var(--ink-soft); }
.buybox .var-opts { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.var-pill {
  border: 1px solid rgba(139,41,66,.2); padding: 10px 20px;
  font-size: 14px; font-weight: 600; color: var(--ink-soft); transition: all .2s; cursor: pointer;
}
.var-pill:hover { border-color: var(--garnet); }
.var-pill.on { border-color: var(--garnet); background: var(--garnet); color: #fff; }
.buybox select {
  border: 1px solid rgba(139,41,66,.2); background: #fff; padding: 10px 16px;
  font-size: 14px; outline: none;
}
.reset_variations { font-size: 12px; color: var(--stone); margin-left: 8px; }

/* Cantidad + CTA */
.buybox .cart { margin-top: 28px; }
.buy-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.qty-box { display: flex; align-items: center; border: 1px solid rgba(139,41,66,.2); background: #fff; }
.qty-box button { display: grid; place-items: center; width: 48px; height: 52px; color: var(--ink-soft); transition: color .2s; }
.qty-box button:hover { color: var(--garnet); }
.qty-box input {
  width: 40px; border: 0; background: transparent; text-align: center;
  font-weight: 600; outline: none; -moz-appearance: textfield; appearance: textfield;
}
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .single_add_to_cart_button { flex: 1; min-width: 200px; }
.wa-help { margin-top: 20px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.wa-help:hover { color: var(--garnet); }
.wa-help .wa { color: var(--whatsapp); }
.wa-help b { color: var(--ink); }

/* Mini confianza producto */
.pmini-trust { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; border-top: 1px solid rgba(139,41,66,.1); padding-top: 20px; }
@media (min-width: 640px) { .pmini-trust { grid-template-columns: repeat(4, 1fr); } }
.pmini-trust > div { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.pmini-trust .fyj-i { color: var(--garnet); }

/* Banda garantías */
.guarantee-band { background: var(--garnet); color: #fff; }
.guarantee-band-inner { margin-inline: auto; display: grid; max-width: 1280px; grid-template-columns: repeat(2, 1fr); gap: 1px; }
@media (min-width: 640px) { .guarantee-band-inner { grid-template-columns: repeat(4, 1fr); } }
.guarantee-band-inner > div { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 16px; text-align: center; }
.guarantee-band-inner .fyj-i { color: var(--coral-soft); width: 28px; height: 28px; }
.guarantee-band-inner .t { font-size: 12px; font-weight: 700; letter-spacing: var(--track-sm); text-transform: uppercase; }
.guarantee-band-inner .d { font-size: 11px; color: rgba(242,237,230,.7); }

/* Ficha técnica / descripción */
.pdetails { display: grid; gap: 40px; }
@media (min-width: 1024px) { .pdetails { grid-template-columns: 1fr 1fr; gap: 64px; } }
.pdetails h2 { margin-top: 8px; font-size: clamp(26px, 4vw, 34px); font-weight: 800; line-height: 1.2; }
.pdetails .desc { margin-top: 16px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.pdetails .desc p + p { margin-top: 12px; }
.spec-table { margin-top: 28px; overflow: hidden; border: 1px solid rgba(139,41,66,.1); }
.spec-table > div { display: flex; align-items: center; justify-content: space-between; background: var(--paper); padding: 14px 20px; }
.spec-table > div + div { border-top: 1px solid rgba(139,41,66,.1); }
.spec-table dt { font-size: 14px; font-weight: 600; color: var(--ink); }
.spec-table dd { font-size: 14px; color: var(--stone); text-align: right; }
.pdetails .photo { overflow: hidden; box-shadow: var(--shadow-soft); }
.pdetails .photo img { aspect-ratio: 4/5; width: 100%; height: 100%; object-fit: cover; }

/* Valoraciones Woo */
.woocommerce-Reviews { max-width: 720px; }
.woocommerce-Reviews .commentlist { display: grid; gap: 16px; }
.woocommerce-Reviews .comment { border: 1px solid rgba(139,41,66,.1); background: var(--paper); padding: 20px; }
.woocommerce-Reviews .comment img.avatar { display: none; }
.woocommerce-Reviews .meta { font-size: 13px; color: var(--stone); }
.woocommerce-Reviews .description { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.star-rating { color: var(--gold); }

/* ==========================================================================
   MINI-CARRITO (drawer)
   ========================================================================== */
.cart-drawer { position: fixed; inset: 0; z-index: 85; pointer-events: none; }
.cart-drawer.open { pointer-events: auto; }
.cart-panel {
  position: absolute; right: 0; top: 0; display: flex; height: 100%;
  width: 100%; max-width: 420px; flex-direction: column;
  background: var(--cream); box-shadow: var(--shadow-lift);
  transform: translateX(100%); transition: transform .3s ease-out;
}
.cart-drawer.open .cart-panel { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(139,41,66,.1); padding: 16px 20px; }
.cart-head .t { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.cart-head .t .fyj-i { color: var(--garnet); }
.cart-head .t span { font-size: 14px; font-weight: 400; color: var(--stone); }
.freeship { border-bottom: 1px solid rgba(139,41,66,.1); background: rgba(247,227,231,.4); padding: 12px 20px; font-size: 14px; color: var(--garnet-700); }
.freeship-bar { margin-top: 8px; height: 6px; width: 100%; overflow: hidden; background: rgba(139,41,66,.1); }
.freeship-bar > div { height: 100%; background: var(--garnet); transition: width .5s; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-empty { display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cart-empty .ico { display: grid; place-items: center; width: 64px; height: 64px; background: rgba(139,41,66,.05); color: var(--garnet); }
.cart-empty .t { margin-top: 16px; font-family: var(--font-display); font-size: 18px; }
.cart-empty .d { margin-top: 4px; font-size: 14px; color: var(--stone); }
.cart-empty .btn { margin-top: 20px; }
.cart-item { display: flex; gap: 12px; }
.cart-item + .cart-item { margin-top: 16px; }
.cart-item img { width: 80px; height: 80px; flex: none; background: #fff; object-fit: cover; }
.cart-item .info { min-width: 0; flex: 1; }
.cart-item .row1 { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.cart-item .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.cart-item .rm { color: var(--stone); transition: color .2s; }
.cart-item .rm:hover { color: var(--garnet); }
.cart-item .var { font-size: 12px; color: var(--stone); }
.cart-item .row2 { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.cart-item .qty-box button { width: 28px; height: 28px; }
.cart-item .qty-box .q { width: 24px; text-align: center; font-size: 14px; }
.cart-item .amt { font-weight: 600; }
.cart-foot { border-top: 1px solid rgba(139,41,66,.1); background: var(--paper); padding: 16px 20px; }
.cart-foot .subtotal { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: 18px; }
.cart-foot .btn { width: 100%; }
.cart-foot .mini-trust { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 11px; color: var(--stone); }
.cart-foot .mini-trust span { display: flex; align-items: center; gap: 4px; }

/* ==========================================================================
   CARRITO (página), CHECKOUT, CUENTA
   ========================================================================== */
.wc-page { padding-block: 32px 80px; }
.wc-page h1.page-title { font-size: clamp(30px, 5vw, 42px); font-weight: 800; margin-bottom: 24px; }

.cart-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: 1.6fr 1fr; } }
.cart-table { border: 1px solid rgba(139,41,66,.1); background: #fff; }
.cart-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 16px; align-items: center; }
.cart-row + .cart-row { border-top: 1px solid rgba(139,41,66,.08); }
.cart-row img { width: 96px; height: 96px; object-fit: cover; background: var(--cream); }
.cart-row .n { font-weight: 600; }
.cart-row .n a { color: var(--ink); }
.cart-row .n a:hover { color: var(--garnet); }
.cart-row .var { font-size: 12px; color: var(--stone); margin-top: 2px; }
.cart-row .unit { font-size: 13px; color: var(--stone); margin-top: 4px; }
.cart-row .right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-row .amt { font-weight: 700; font-family: var(--font-display); }
.cart-row .rm { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--stone); }
.cart-row .rm:hover { color: var(--garnet); }
@media (max-width: 639.9px) {
  .cart-row { grid-template-columns: 72px 1fr; }
  .cart-row img { width: 72px; height: 72px; }
  .cart-row .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
.cart-coupon { margin-top: 16px; display: flex; gap: 8px; }
.cart-coupon input { flex: 1; border: 1px solid rgba(139,41,66,.15); background: #fff; padding: 12px 16px; font-size: 14px; outline: none; }
.cart-coupon input:focus { border-color: var(--garnet); }

.cart-summary { border: 1px solid rgba(139,41,66,.1); background: var(--paper); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); }
.cart-summary h2 { font-size: 20px; font-weight: 700; }
.cart-summary .line { display: flex; justify-content: space-between; padding-block: 10px; font-size: 14px; border-bottom: 1px solid rgba(139,41,66,.08); }
.cart-summary .line.total { border-bottom: 0; font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.cart-summary .btn { width: 100%; margin-top: 16px; }
.cart-summary .woocommerce-shipping-methods { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }

/* Formularios Woo genéricos */
.woocommerce form .form-row { margin-bottom: 16px; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: var(--track-sm); text-transform: uppercase; color: var(--ink-soft); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  width: 100%; border: 1px solid rgba(139,41,66,.15); background: #fff;
  padding: 12px 16px; font-size: 14px; outline: none; transition: border-color .2s;
  border-radius: 0; height: auto;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus { border-color: var(--garnet); }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 1.5; padding: 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; }
.woocommerce form .form-row .required { color: var(--garnet); }

/* Checkout */
.checkout-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .checkout-layout { grid-template-columns: 1.5fr 1fr; } }
.checkout-panel { border: 1px solid rgba(139,41,66,.1); background: #fff; padding: 24px; }
.checkout-panel h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.order-review-panel { border: 1px solid rgba(139,41,66,.1); background: var(--paper); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); }
.order-review-panel h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.woocommerce-checkout-review-order-table th { text-align: left; font-weight: 600; }
.woocommerce-checkout-review-order-table td { text-align: right; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 10px 0; border-bottom: 1px solid rgba(139,41,66,.08); }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-family: var(--font-display); font-size: 17px; font-weight: 700; border-bottom: 0; }
.wc_payment_methods { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.wc_payment_method { border: 1px solid rgba(139,41,66,.12); background: #fff; padding: 14px 16px; }
.wc_payment_method label { font-weight: 600; margin-left: 6px; }
.wc_payment_method .payment_box { margin-top: 8px; font-size: 13px; color: var(--stone); }
#place_order { width: 100%; margin-top: 20px; }
.woocommerce-privacy-policy-text { font-size: 12px; color: var(--stone); margin-top: 12px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; margin: 0 0 20px; padding: 14px 18px; font-size: 14px;
  border-left: 3px solid var(--garnet); background: var(--blush); color: var(--garnet-700);
}
.woocommerce-error { border-left-color: #b3261e; background: #fdecec; color: #7a1a15; }
.woocommerce-message a, .woocommerce-info a { font-weight: 600; text-decoration: underline; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { float: right; font-weight: 700; }

/* Mi cuenta */
.account-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .account-layout { grid-template-columns: 260px 1fr; } }
.account-nav { border: 1px solid rgba(139,41,66,.1); background: var(--paper); }
.account-nav ul { display: grid; }
.account-nav a { display: block; padding: 14px 20px; font-size: 14px; font-weight: 500; color: var(--ink-soft); border-left: 3px solid transparent; transition: all .2s; }
.account-nav a:hover { color: var(--garnet); background: #fff; }
.account-nav .is-active a { border-left-color: var(--garnet); color: var(--garnet); background: #fff; font-weight: 600; }
.account-content { border: 1px solid rgba(139,41,66,.1); background: #fff; padding: 24px; min-height: 320px; }
.account-content .woocommerce-orders-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.account-content .woocommerce-orders-table th, .account-content .woocommerce-orders-table td { padding: 12px 8px; border-bottom: 1px solid rgba(139,41,66,.08); text-align: left; }
.woocommerce-form-login, .woocommerce-form-register { max-width: 420px; }
.woocommerce-form-login .button, .woocommerce-form-register .button { width: 100%; }
.u-columns { display: grid; gap: 32px; }
@media (min-width: 768px) { .u-columns { grid-template-columns: 1fr 1fr; } }

/* Botón genérico Woo */
.woocommerce .button, .woocommerce button.button, .wc-block-components-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--garnet); color: #fff; border: 1px solid transparent;
  padding: 14px 24px; font-size: 12px; font-weight: 600;
  letter-spacing: var(--track-sm); text-transform: uppercase;
  border-radius: 0; cursor: pointer; transition: background .2s;
}
.woocommerce .button:hover, .woocommerce button.button:hover { background: var(--garnet-700); color: #fff; }
.woocommerce .button.alt { background: var(--garnet); }
.woocommerce a.remove { color: var(--stone) !important; font-size: 20px; line-height: 1; }
.woocommerce a.remove:hover { color: var(--garnet) !important; background: none !important; }

/* Gracias / pedido recibido */
.woocommerce-order { padding-block: 16px; }
.woocommerce-thankyou-order-received { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--garnet); margin-bottom: 20px; }
.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; padding: 20px; margin: 0 0 24px; border: 1px solid rgba(139,41,66,.1); background: var(--paper); font-size: 13px; }
.woocommerce-order-overview li { border-right: 1px dashed rgba(139,41,66,.15); padding-right: 16px; }
.woocommerce-order-overview li:last-child { border-right: 0; }
.woocommerce-order-overview strong { display: block; font-size: 14px; }
.woocommerce-table--order-details { width: 100%; border-collapse: collapse; font-size: 14px; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td { padding: 10px 8px; border-bottom: 1px solid rgba(139,41,66,.08); text-align: left; }

/* ==========================================================================
   CONTENIDO GENÉRICO (páginas, blog, 404)
   ========================================================================== */
.entry-content { max-width: 760px; margin-inline: auto; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.entry-content h2, .entry-content h3 { color: var(--ink); margin: 32px 0 12px; }
.entry-content p + p { margin-top: 16px; }
.entry-content a { color: var(--garnet); font-weight: 600; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-top: 16px; }
.entry-content img { box-shadow: var(--shadow-card); }

.error-404 { text-align: center; padding-block: 80px; }
.error-404 .code { font-family: var(--font-display); font-size: clamp(80px, 18vw, 160px); font-weight: 800; line-height: 1; background: linear-gradient(to right, var(--coral), var(--garnet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404 h1 { margin-top: 8px; font-size: clamp(24px, 4vw, 34px); }
.error-404 p { margin-top: 12px; color: var(--stone); }
.error-404 .btn { margin-top: 28px; }

/* Post list básico */
.post-list { display: grid; gap: 24px; }
@media (min-width: 768px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: #fff; border: 1px solid rgba(139,41,66,.1); overflow: hidden; box-shadow: var(--shadow-card); }
.post-card img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.post-card .body { padding: 20px; }
.post-card h2 { font-size: 18px; }
.post-card h2 a:hover { color: var(--garnet); }
.post-card .meta { font-size: 12px; color: var(--stone); margin-top: 6px; }
.post-card .excerpt { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }

/* ==========================================================================
   ANIMACIONES
   ========================================================================== */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(11px); opacity: 0; } }
.animate-fadeup { animation: fadeup .7s cubic-bezier(.2,.7,.2,1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* Body bloqueado con drawers abiertos */
body.drawer-open { overflow: hidden; }
