/* ============================================================
   SantaMati — Catálogo (archive-product)
   Portado 1:1 del mockup "Catálogo" (Claude Design).
   Las TARJETAS reutilizan .sm-card del carrusel Bestsellers
   (definido en santamati-landing.css, encolado como dependencia).
   Aquí sólo va el layout propio del catálogo: header, chips,
   barra de control, filtros (sidebar + drawer), grid, quick view.
   Sistema visual: oro #c9a96e · crema #faf6ee · tinta #1a1612.
   ============================================================ */

.sm-cat { min-height: 100vh; background: #faf6ee; }

/* ── Trust strip ── */
.sm-cat-trust {
  background: #1a1612; padding: 10px 20px; text-align: center;
  border-bottom: 1px solid rgba(201,169,110,0.18);
}
.sm-cat-trust p {
  font-family: 'Inter Tight', sans-serif; font-size: 11px; font-weight: 500;
  color: #c9a96e; letter-spacing: 0.14em; text-transform: uppercase; margin: 0;
}

/* ── Category header ── */
.sm-cat-head { max-width: 1240px; margin: 0 auto; padding: 44px 20px 0; text-align: center; }
.sm-cat-eyebrow {
  font-family: 'Inter Tight', sans-serif; font-size: 10.5px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: #c9a96e; margin-bottom: 12px;
  animation: smCatFadeUp 0.6s cubic-bezier(0.16,1,0.3,1) both, smCatTracking 0.8s cubic-bezier(0.16,1,0.3,1) both;
}
.sm-cat-title {
  position: relative; display: inline-block;
  font-family: 'Italiana', serif; font-size: clamp(36px,7vw,62px); line-height: 1.25; margin-bottom: 13px;
  background-image: linear-gradient(115deg, #1a1612 42%, #c9a96e 50%, #1a1612 58%);
  background-size: 260% 100%; background-position: 200% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: smCatFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.08s both,
             smCatTitleShimmer 3.2s ease-in-out 1.1s infinite;
}
.sm-cat-title::after {
  content: ''; position: absolute; left: 50%; bottom: -6px; height: 2px;
  background: linear-gradient(90deg, transparent, #c9a96e, transparent);
  width: 0; transform: translateX(-50%);
  animation: smCatUnderline 0.7s cubic-bezier(0.16,1,0.3,1) 0.5s both;
}
.sm-cat-sub {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(14px,2.5vw,18px);
  color: rgba(26,22,18,0.5); max-width: 560px; margin: 0 auto 36px; line-height: 1.55;
  animation: smCatFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.24s both;
}
@keyframes smCatFadeUp {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes smCatTracking {
  from { letter-spacing: -0.05em; }
  to   { letter-spacing: 0.22em; }
}
@keyframes smCatTitleShimmer {
  0%, 55%  { background-position: 200% 0; }
  100%     { background-position: -60% 0; }
}
@keyframes smCatUnderline {
  from { width: 0; }
  to   { width: 64px; }
}

/* ── Merch chips ── */
.sm-cat-merch { max-width: 1240px; margin: 0 auto; padding: 0 20px 28px; }
.merch-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.merch-scroll::-webkit-scrollbar { display: none; }
.merch-row { display: flex; gap: 8px; width: max-content; min-width: 100%; }

/* Variante: encima de la grilla de tarjetas, centrada */
.sm-cat-merch--grid { max-width: none; padding: 0 0 20px; }
.sm-cat-merch--grid .merch-row { width: 100%; min-width: 0; justify-content: center; flex-wrap: wrap; }
.merch-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 100px;
  border: 1px solid rgba(26,22,18,0.12); background: rgba(26,22,18,0.03);
  font-family: 'Inter Tight', sans-serif; font-size: 12px; font-weight: 500;
  color: rgba(26,22,18,0.65); cursor: pointer; white-space: nowrap;
  transition: background 0.22s, border-color 0.22s, color 0.22s,
              transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s;
}
.merch-chip:hover {
  background: rgba(201,169,110,0.14); border-color: rgba(201,169,110,0.5); color: #1a1612;
  transform: translateY(-2px); box-shadow: 0 6px 16px rgba(26,22,18,0.12);
}
.merch-chip:active { transform: translateY(0) scale(0.93); transition-duration: 0.1s; }
.merch-chip.active {
  background: #1a1612; border-color: transparent; color: #faf6ee;
  box-shadow: 0 4px 14px rgba(26,22,18,0.25); animation: smChipPop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes smChipPop {
  0%   { transform: scale(0.82); }
  55%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ── Sticky control bar ── */
.control-bar {
  position: sticky; top: var(--sm-stickyhead-h, 0px); z-index: 100;
  background: rgba(250,246,238,0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26,22,18,0.09);
  opacity: 1; transform: translateY(0); transition: opacity 0.25s ease, transform 0.25s ease;
}
/* Bajo la última tarjeta (sin más resultados a la vista) se oculta y deja ver el header de siempre */
.control-bar.is-hidden { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.control-bar-inner { max-width: 1240px; margin: 0 auto; padding: 11px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.control-left { display: flex; align-items: center; gap: 14px; }
.control-count { font-family: 'Inter Tight', sans-serif; font-size: 12px; color: rgba(26,22,18,0.45); letter-spacing: 0.02em; white-space: nowrap; }

/* Buscador sutil de la barra de control (no roba espacio: chico y compacto) */
.control-search {
  position: relative; display: flex; align-items: center; gap: 6px;
  width: 168px; flex-shrink: 1; min-width: 0;
  background: rgba(26,22,18,0.04); border: 1px solid rgba(26,22,18,0.12); border-radius: 100px;
  padding: 7px 12px; color: rgba(26,22,18,0.4);
  animation: catSearchShake 5s ease-in-out infinite;
}
.control-search:focus-within { border-color: #c9a96e; background: #fff; animation: none; }
.control-search svg { flex-shrink: 0; }
.control-search__input {
  border: none; outline: none; background: transparent; width: 100%; min-width: 0;
  font-family: 'Inter Tight', sans-serif; font-size: 12px; color: #1a1612;
}
.control-search__input::placeholder { color: rgba(26,22,18,0.35); }
.control-search__clear {
  flex-shrink: 0; border: none; background: none; padding: 0; cursor: pointer;
  color: var(--gold, #c9a96e); display: flex; align-items: center; justify-content: center;
}
.control-search__results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20;
  background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(26,22,18,0.18);
  max-height: 320px; overflow-y: auto; padding: 6px;
}
/* Los estilos de .sm-search-item* fueron pensados para el fondo oscuro del
   buscador del header — aquí el fondo es blanco, así que se sobreescribe el
   color de texto para que se alcance a leer. */
.control-search__results .sm-search-item:hover { background: rgba(var(--gold-rgb), 0.08); }
.control-search__results .sm-search-item__name { color: #1a1612; }
.control-search__results .sm-search-item__price { color: rgba(26,22,18,0.55); }
.control-search__results .sm-search-seeall { border-top-color: rgba(26,22,18,0.1); }
.control-search__results .sm-search-empty { color: rgba(26,22,18,0.45); }
/* Por debajo de 16px, iOS/Chrome hacen zoom automático al enfocar el campo */
@media (max-width: 700px) { .control-search__input { font-size: 16px; } }
@keyframes catSearchShake {
  0%, 86%, 100% { transform: translateX(0) rotate(0deg) scale(1); }
  88%   { transform: translateX(-7px) rotate(-3deg) scale(1.035); }
  89.5% { transform: translateX(7px) rotate(3deg) scale(1.035); }
  91%   { transform: translateX(-6px) rotate(-2.4deg) scale(1.03); }
  92.5% { transform: translateX(6px) rotate(2.4deg) scale(1.03); }
  94%   { transform: translateX(-4px) rotate(-1.4deg) scale(1.015); }
  95.5% { transform: translateX(3px) rotate(1deg) scale(1.01); }
  97%   { transform: translateX(-2px) rotate(-0.5deg) scale(1); }
}
/* Móvil: Filtrar + buscador comparten la fila de arriba (donde antes iba el
   contador), y "N fragancias" pasa a su propia línea debajo. */
@media (max-width: 700px) {
  .control-bar-inner { flex-wrap: wrap; row-gap: 8px; }
  .control-left { display: contents; }
  .filter-toggle-btn { order: 1; }
  .control-search { order: 2; display: flex; width: auto; flex: 1; min-width: 0; }
  .sort-wrap { order: 3; }
  .control-count { order: 4; flex-basis: 100%; }
}

/* Mobile filter button — oculto en escritorio (sidebar lo reemplaza) */
.filter-toggle-btn {
  background: rgba(26,22,18,0.07); color: #1a1612; border: 1px solid rgba(26,22,18,0.14);
  font-family: 'Inter Tight', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  padding: 8px 14px; border-radius: 100px; display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
}
@media (min-width: 960px) { .filter-toggle-btn { display: none !important; } }

/* Sort dropdown */
.sort-wrap { position: relative; }
.sort-btn {
  background: transparent; border: 1px solid rgba(26,22,18,0.14); color: #1a1612;
  font-family: 'Inter Tight', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.03em;
  padding: 8px 13px; border-radius: 100px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
}
.sort-btn:hover { background: rgba(201,169,110,0.1); border-color: rgba(201,169,110,0.5); box-shadow: 0 4px 12px rgba(26,22,18,0.08); }
.sort-btn:active { transform: scale(0.95); }
.sort-wrap[data-open="true"] .sort-btn { background: #1a1612; color: #faf6ee; border-color: transparent; }
.sort-btn svg { transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1); }
.sort-wrap[data-open="true"] .sort-btn svg { transform: rotate(180deg); }
.sort-dd {
  position: absolute; top: calc(100% + 6px); right: 0; display: none;
  background: #fff; border: 1px solid rgba(26,22,18,0.1);
  border-radius: 8px; box-shadow: 0 8px 32px rgba(26,22,18,0.14);
  padding: 5px; min-width: 172px; z-index: 200;
}
.sort-wrap[data-open="true"] .sort-dd { display: block; }
.sort-opt {
  width: 100%; text-align: left; background: transparent; color: rgba(26,22,18,0.62);
  font-family: 'Inter Tight', sans-serif; font-size: 12px; font-weight: 400;
  padding: 9px 12px; border-radius: 5px; cursor: pointer; border: none; letter-spacing: 0.02em; white-space: nowrap;
  transition: background 0.16s, color 0.16s, padding-left 0.16s;
}
.sort-opt:hover { background: rgba(201,169,110,0.12); color: #1a1612; padding-left: 16px; }
.sort-opt[aria-checked="true"] { background: rgba(26,22,18,0.06); color: #1a1612; font-weight: 600; }

/* Active filter chips */
.chips-row { max-width: 1240px; margin: 0 auto; padding: 0 20px 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chips-row[hidden] { display: none; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(201,169,110,0.1); border: 1px solid rgba(201,169,110,0.3);
  color: #1a1612; font-family: 'Inter Tight', sans-serif; font-size: 10.5px; font-weight: 500;
  padding: 4px 8px 4px 11px; border-radius: 100px; cursor: pointer; transition: background 0.2s ease;
}
.filter-chip:hover { background: rgba(201,169,110,0.2); }
.chip-clear { background: transparent; border: none; font-family: 'Inter Tight', sans-serif; font-size: 10.5px; color: rgba(26,22,18,0.4); cursor: pointer; padding: 4px 6px; letter-spacing: 0.03em; text-decoration: underline; text-underline-offset: 2px; }

/* ── Main layout ── */
.sm-cat-main { max-width: 1240px; margin: 0 auto; padding: 24px 20px 64px; }
.catalog-layout { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 960px) {
  .catalog-layout { grid-template-columns: 228px 1fr; gap: 0 28px; align-items: start; }
}

/* ── Product grid (usa .sm-card de Bestsellers como celda) ── */
.product-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; transition: opacity 0.22s ease; }
@media (min-width: 640px)  { .product-grid { gap: 16px; } }
@media (min-width: 960px)  { .product-grid { grid-template-columns: repeat(3,1fr); gap: 16px; } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4,1fr); gap: 18px; } }
.product-grid.is-filtering { opacity: 0.3; }
/* La tarjeta en grid no debe llevar el ancho de carrusel */
.product-grid .sm-card { width: auto; margin: 0; }

/* Quick view chip sobre la imagen */
.qv-chip {
  position: absolute; bottom: 11px; left: 50%; transform: translateX(-50%) translateY(6px); z-index: 4;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.sm-card:not(.sm-soldout):hover .qv-chip { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.qv-btn {
  background: rgba(26,22,18,0.82); color: #faf6ee;
  font-family: 'Inter Tight', sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 0.06em;
  padding: 7px 13px; border-radius: 100px; border: 1px solid rgba(201,169,110,0.28);
  cursor: pointer; display: flex; align-items: center; gap: 5px;
}

/* Paginación */
.sm-cat-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 36px; }
.sm-cat-pagination[hidden] { display: none; }
.page-nav {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(26,22,18,0.16);
  background: transparent; color: #1a1612; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}
.page-nav:hover:not(:disabled) { background: rgba(26,22,18,0.05); border-color: rgba(26,22,18,0.32); }
.page-nav:disabled { opacity: 0.3; cursor: default; }
.page-numbers { display: flex; align-items: center; gap: 4px; }
.page-num {
  min-width: 34px; height: 34px; padding: 0 4px; border-radius: 50%; border: 1.5px solid transparent;
  background: transparent; color: rgba(26,22,18,0.55); cursor: pointer;
  font-family: 'Inter Tight', sans-serif; font-size: 13px; font-weight: 600;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.page-num:hover { background: rgba(26,22,18,0.05); color: #1a1612; }
.page-num.active { background: #1a1612; border-color: #1a1612; color: #faf6ee; }
.page-ellipsis { color: rgba(26,22,18,0.32); font-family: 'Inter Tight', sans-serif; font-size: 13px; padding: 0 2px; }
.sm-cat-shown { text-align: center; font-family: 'Inter Tight', sans-serif; font-size: 10.5px; color: rgba(26,22,18,0.36); margin-top: 10px; }

/* Empty state */
.sm-cat-empty { text-align: center; padding: 60px 20px; display: none; }
.sm-cat-empty.is-visible { display: block; }
.sm-cat-empty h2 { font-family: 'Italiana', serif; font-size: 28px; color: #1a1612; margin-bottom: 10px; }
.sm-cat-empty p { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 16px; color: rgba(26,22,18,0.5); margin-bottom: 22px; }
.sm-cat-empty button { background: #1a1612; color: #faf6ee; font-family: 'Inter Tight', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 13px 28px; border-radius: 3px; border: none; cursor: pointer; }

/* ── Filter groups (sidebar + drawer comparten estilos) ── */
.fgl { font-family: 'Inter Tight', sans-serif; font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(26,22,18,0.42); margin-bottom: 9px; }
.fgroup { margin-bottom: 22px; }
.fgroup-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.fdiv { height: 1px; background: rgba(26,22,18,0.07); margin-bottom: 22px; }
.fbtn {
  background: rgba(26,22,18,0.05); color: rgba(26,22,18,0.55);
  border: 1.2px solid rgba(26,22,18,0.13);
  font-family: 'Inter Tight', sans-serif; font-size: 11px; font-weight: 400;
  padding: 7px 12px; border-radius: 100px; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s,
              transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
  letter-spacing: 0.02em;
}
.fbtn:hover {
  background: rgba(201,169,110,0.16); border-color: rgba(201,169,110,0.55); color: #1a1612;
  transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,22,18,0.08);
}
.fbtn:active { transform: scale(0.92); transition-duration: 0.1s; }
.fbtn[aria-pressed="true"] {
  background: #1a1612; color: #faf6ee; border-color: transparent; font-weight: 600;
  box-shadow: 0 4px 14px rgba(26,22,18,0.22); animation: smChipPop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

/* ── Desktop sidebar ── */
.filter-sidebar { display: none; }
@media (min-width: 960px) {
  .filter-sidebar { display: block; position: sticky; top: calc(var(--sm-stickyhead-h, 0px) + 56px); max-height: calc(100vh - var(--sm-stickyhead-h, 0px) - 72px); overflow-y: auto; padding-bottom: 32px; }
  .filter-sidebar::-webkit-scrollbar { width: 3px; }
  .filter-sidebar::-webkit-scrollbar-thumb { background: rgba(201,169,110,0.3); border-radius: 2px; }
}
.filter-sidebar-title { font-family: 'Italiana', serif; font-size: 22px; color: #1a1612; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid rgba(26,22,18,0.08); }
.sidebar-clear { width: 100%; background: transparent; border: 1.5px solid rgba(26,22,18,0.14); color: rgba(26,22,18,0.55); font-family: 'Inter Tight', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; padding: 11px; border-radius: 3px; cursor: pointer; transition: all 0.2s; display: none; }
.sm-cat[data-haschips="true"] .sidebar-clear { display: block; }

/* ── Mobile drawer ── */
.drawer-backdrop { display: none; }
.filter-drawer { display: none; }
@media (max-width: 959px) {
  .drawer-backdrop {
    display: block; position: fixed; inset: 0; z-index: 499;
    background: rgba(26,22,18,0); pointer-events: none; transition: background 0.35s ease;
  }
  .sm-cat[data-drawer="true"] .drawer-backdrop { background: rgba(26,22,18,0.52); pointer-events: auto; }
  .filter-drawer {
    display: block; position: fixed; top: 0; left: 0; height: 100%; width: min(300px,86vw);
    background: #faf6ee; z-index: 500; overflow-y: auto;
    transform: translateX(-100%); transition: transform 0.38s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 4px 0 40px rgba(26,22,18,0.22);
  }
  .sm-cat[data-drawer="true"] .filter-drawer { transform: translateX(0); }
}
@media (min-width: 960px) { .filter-drawer, .drawer-backdrop { display: none !important; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 16px; border-bottom: 1px solid rgba(26,22,18,0.08); position: sticky; top: 0; background: #faf6ee; z-index: 1; }
.drawer-head p { font-family: 'Italiana', serif; font-size: 22px; color: #1a1612; }
.icon-round { background: rgba(26,22,18,0.06); border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.drawer-body { padding: 20px 20px 32px; }
.drawer-apply { width: 100%; background: #1a1612; color: #faf6ee; font-family: 'Inter Tight', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px; border-radius: 3px; border: none; cursor: pointer; min-height: 44px; }
.drawer-clear { width: 100%; background: transparent; border: none; color: rgba(26,22,18,0.45); font-family: 'Inter Tight', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; padding: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; min-height: 44px; display: none; }
.sm-cat[data-haschips="true"] .drawer-clear { display: block; }

/* ── Footer CTA ── */
.sm-cat-footer { background: #1a1612; padding: 56px 24px; position: relative; overflow: hidden; }
.sm-cat-footer-inner { max-width: 600px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.sm-cat-footer-inner .title { font-family: 'Italiana', serif; font-size: clamp(22px,4vw,34px); color: #faf6ee; margin-bottom: 8px; letter-spacing: 0.02em; }
.sm-cat-footer-inner .sub { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(14px,2.5vw,17px); color: rgba(250,246,238,0.48); margin-bottom: 28px; line-height: 1.55; }
.sm-cat-footer-cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 9px; background: #c9a96e; color: #1a1612;
  font-family: 'Inter Tight', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 28px; border-radius: 3px; text-decoration: none;
  transition: filter 0.2s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s;
  animation: smWaPulseGlow 2.6s ease-in-out infinite;
}
.sm-cat-footer-cta:hover { filter: brightness(1.08); color: #1a1612; transform: translateY(-3px) scale(1.03); box-shadow: 0 10px 28px rgba(201,169,110,0.4); }
.sm-cat-footer-cta:active { transform: translateY(-1px) scale(0.97); }
.sm-cat-footer-cta svg,
.sm-cat-footer-cta span { position: relative; z-index: 1; }
.sm-cat-footer-cta svg { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.sm-cat-footer-cta:hover svg { transform: rotate(-8deg) scale(1.1); }
/* Destello que recorre el botón, igual que el del logo del header */
.sm-cat-footer-cta::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.65) 50%, transparent 60%);
  background-size: 250% 100%; background-position: -140% 0;
  animation: smWaShine 2.6s ease-in-out infinite;
}
@keyframes smWaPulseGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(201,169,110,0); }
  50%      { box-shadow: 0 0 22px rgba(201,169,110,0.45); }
}
@keyframes smWaShine {
  0%, 55% { background-position: -140% 0; }
  100%    { background-position: 140% 0; }
}

/* ── Quick view modal ── */
.qv-backdrop {
  position: fixed; inset: 0; z-index: 600; display: none;
  background: rgba(26,22,18,0.56); align-items: center; justify-content: center; padding: 20px;
}
.qv-backdrop.is-open { display: flex; animation: qvFade 0.22s ease; }
@keyframes qvFade { from { opacity: 0; } to { opacity: 1; } }
.qv-modal { background: #fff; border-radius: 14px; padding: 28px 28px 24px; max-width: 460px; width: 100%; position: relative; animation: qvSlide 0.28s cubic-bezier(0.16,1,0.3,1); max-height: 90vh; overflow-y: auto; }
@keyframes qvSlide { from { transform: translateY(22px); opacity: 0; } to { transform: none; opacity: 1; } }
.qv-close { position: absolute; top: 14px; right: 14px; background: rgba(26,22,18,0.06); border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.qv-top { display: flex; gap: 20px; margin-bottom: 20px; }
.qv-bottle { width: 88px; height: 108px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.qv-bottle svg { height: 70%; width: auto; }
.qv-info { flex: 1; padding-top: 4px; }
.qv-insp { font-family: 'Inter Tight', sans-serif; font-size: 8.5px; font-weight: 500; color: rgba(26,22,18,0.35); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 4px; }
.qv-name { font-family: 'Italiana', serif; font-size: clamp(20px,3vw,26px); color: #1a1612; line-height: 1.08; margin-bottom: 5px; }
.qv-notas { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 13px; color: rgba(26,22,18,0.5); line-height: 1.4; margin-bottom: 8px; }
.qv-rating { display: flex; align-items: center; gap: 4px; }
.qv-rating .val { font-family: 'Inter Tight', sans-serif; font-size: 11px; font-weight: 600; color: #1a1612; }
.qv-rating .cnt { font-family: 'Inter Tight', sans-serif; font-size: 10px; color: rgba(26,22,18,0.38); }
.qv-hr { height: 1px; background: rgba(26,22,18,0.08); margin-bottom: 18px; }
.qv-sizes { display: flex; gap: 10px; margin-bottom: 20px; }
.qv-size { padding: 11px 18px; border-radius: 5px; border: 2px solid rgba(26,22,18,0.14); background: transparent; color: rgba(26,22,18,0.55); cursor: pointer; text-align: center; min-width: 96px; transition: all 0.2s; font-family: 'Inter Tight', sans-serif; }
.qv-size[aria-pressed="true"] { border-color: #1a1612; background: #1a1612; color: #faf6ee; }
.qv-size .ml { font-size: 12px; font-weight: 700; display: block; }
.qv-size .pr { font-size: 11px; display: block; margin-top: 2px; }
.qv-buy-row { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.qv-price-ancla { font-family: 'Inter Tight', sans-serif; font-size: 10px; color: rgba(26,22,18,0.3); text-decoration: line-through; display: block; }
.qv-price { font-family: 'Italiana', serif; font-size: clamp(20px,3vw,26px); color: #1a1612; }
.qv-buy { background: #1a1612; color: #faf6ee; font-family: 'Inter Tight', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 13px 22px; border-radius: 3px; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.qv-buy:hover { color: #faf6ee; filter: brightness(1.15); }
.qv-foot { font-family: 'Inter Tight', sans-serif; font-size: 9.5px; color: rgba(26,22,18,0.38); text-align: center; margin-top: 10px; letter-spacing: 0.04em; }
