/* ==========================================================================
   Plaza Virtual Palenque — sistema visual
   ========================================================================== */

:root {
  --cream: #fff7f0;
  --paper: #fffdfb;
  --ink: #211a17;
  --ink-2: #3b302a;
  --muted: #6b5d54;
  --coral: #c7431f;
  --coral-bright: #e4572e;
  --coral-hover: #a93618;
  --amber: #f2a65a;
  --amber-soft: #fbe7cf;
  --line: #eadcd2;
  --line-strong: #dfcab9;

  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, ui-serif, serif;
  --font-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 22px 48px -28px rgba(56, 30, 18, 0.45);
  --container: 1200px;

  --store-accent: var(--coral);
  --store-soft: #f6e3d6;
  --store-ink: #7a3e1f;
}

[data-store="dulce-trigo"] {
  --store-accent: #c96a3d;
  --store-soft: #f6e3d6;
  --store-ink: #7a3e1f;
}

[data-store="nodo-tec"] {
  --store-accent: #2f6f8f;
  --store-soft: #dcebf1;
  --store-ink: #1e4e64;
}

[data-store="raiz-moda"] {
  --store-accent: #7a5c8e;
  --store-soft: #eae1ef;
  --store-ink: #523a62;
}

[data-store="cafe-bruma"] {
  --store-accent: #5e7351;
  --store-soft: #e4eadb;
  --store-ink: #405033;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(199, 67, 31, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--coral-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Utilidades
   -------------------------------------------------------------------------- */

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(199, 67, 31, 0.12);
  flex-shrink: 0;
}

.section-title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.link-arrow svg {
  transition: transform 0.2s ease;
}

.link-arrow:hover {
  color: var(--coral);
  border-color: currentColor;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  flex-shrink: 0;
}

.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 24px -14px rgba(199, 67, 31, 0.9);
}

.btn--primary:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -14px rgba(199, 67, 31, 0.85);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn[aria-disabled='true'] {
  cursor: default;
  opacity: 0.55;
  box-shadow: none;
}

.btn[aria-disabled='true']:hover,
.btn[aria-disabled='true']:active {
  background: var(--coral);
  transform: none;
  box-shadow: none;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--paper);
  border-color: var(--ink-2);
  transform: translateY(-1px);
}

.btn--sm {
  min-height: 40px;
  padding: 0 15px;
  font-size: 0.78rem;
}

.btn--block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 240, 0.9);
  border-bottom: 1px solid rgba(234, 220, 210, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 8px 18px -10px rgba(122, 45, 20, 0.7);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand__name em {
  color: var(--coral);
  font-style: italic;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__list a {
  position: relative;
  display: inline-block;
  padding: 7px 0;
  color: var(--ink-2);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav__list a:hover {
  color: var(--ink);
}

.nav__list a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

/* --------------------------------------------------------------------------
   Buscador de tiendas
   -------------------------------------------------------------------------- */

.store-search {
  position: relative;
  z-index: 3;
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.store-search__decorations {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.store-search__decor {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  width: clamp(140px, 17vw, 280px);
  height: clamp(90px, 10.5vw, 150px);
  transform: translateY(-50%);
}

.store-search__decor--left {
  left: max(12px, 2vw);
  justify-content: flex-start;
}

.store-search__decor--right {
  right: max(12px, 2vw);
  justify-content: flex-end;
}

.store-search__decor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-search__decor--left img {
  object-position: left center;
}

.store-search__decor--right img {
  object-position: right center;
}

.store-search__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  margin: 0 auto;
}

.store-search__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.store-search__form {
  position: relative;
}

.store-search__field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px 6px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 16px 34px -28px rgba(56, 30, 18, 0.55);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-search__field:focus-within {
  border-color: var(--coral);
  box-shadow:
    0 0 0 4px rgba(199, 67, 31, 0.12),
    0 18px 36px -28px rgba(56, 30, 18, 0.6);
}

.store-search__icon {
  flex-shrink: 0;
  color: var(--muted);
}

.store-search__input {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  outline: none;
}

.store-search__input::placeholder {
  color: #8a7a6f;
  opacity: 1;
}

.store-search__input::-webkit-search-cancel-button,
.store-search__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.store-search__clear {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.store-search__clear[hidden] {
  display: none;
}

.store-search__clear:hover {
  background: var(--amber-soft);
  color: var(--coral);
}

.store-search__hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.store-search__results {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  left: 0;
  z-index: 10;
  max-height: min(58vh, 430px);
  padding: 10px;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 30px 60px -30px rgba(56, 30, 18, 0.5);
}

.store-search__results[hidden] {
  display: none;
}

.store-search__status {
  margin: 0;
  padding: 8px 12px 10px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.store-search__list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.store-search__result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.18s ease;
}

.store-search__result:hover,
.store-search__result:focus-visible {
  background: var(--cream);
}

.store-search__result-logo {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
}

.store-search__result-body {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.store-search__result-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.15;
}

.store-search__result-meta {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-search__result-arrow {
  flex-shrink: 0;
  margin-left: auto;
  color: var(--coral);
  font-size: 1rem;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Anunciantes
   -------------------------------------------------------------------------- */

.ads {
  position: relative;
  background: transparent;
  overflow: hidden;
}

.ad-slider {
  position: relative;
  z-index: 1;
}

.ad-slider__track {
  display: flex;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ad-slider__track::-webkit-scrollbar {
  display: none;
}

.ad-slider__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.ad-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 247, 240, 0.28);
  border-radius: 50%;
  background: rgba(33, 26, 23, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ad-slider__nav:hover {
  border-color: rgba(242, 166, 90, 0.68);
  background: rgba(33, 26, 23, 0.9);
  transform: translateY(-50%) scale(1.04);
}

.ad-slider__nav:focus-visible {
  outline-color: var(--amber);
}

.ad-slider__nav--prev {
  left: 14px;
}

.ad-slider__nav--next {
  right: 14px;
}

.ad-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 253, 251, 0.86);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.45);
  transform: translateX(-50%);
}

.ad-slider__dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.ad-slider__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(33, 26, 23, 0.32);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.ad-slider__dot:hover::before {
  background: rgba(33, 26, 23, 0.55);
}

.ad-slider__dot.is-active::before {
  width: 24px;
  background: var(--coral);
}

.ad-slider__dot:focus-visible {
  outline-color: var(--amber);
}

html:not(.js) .ad-slider__track {
  padding-bottom: 12px;
  scrollbar-color: rgba(255, 247, 240, 0.35) transparent;
  scrollbar-width: thin;
}

html:not(.js) .ad-slider__nav,
html:not(.js) .ad-slider__dots {
  display: none;
}

.ad-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: #2b2420;
  text-decoration: none;
}

.ad-card:focus-visible {
  outline-color: var(--amber);
}

.ad-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;
  object-fit: cover;
  object-position: left center;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ad-card:hover img {
  transform: scale(1.035);
}

.ad-card__arrow {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 253, 251, 0.94);
  color: var(--ink);
  transform: translateY(5px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ad-card__cta {
  position: absolute;
  left: clamp(14px, 3vw, 52px);
  bottom: clamp(14px, 3.5vw, 38px);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(10px, 1.1vw, 14px) clamp(18px, 2vw, 28px);
  border: 1px solid rgba(33, 26, 23, 0.08);
  border-radius: 999px;
  background: rgba(255, 253, 251, 0.95);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.55);
  color: var(--ink);
  font-size: clamp(0.8rem, 1vw, 1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  pointer-events: none;
}

.ad-card__cta::after {
  content: "→";
  font-size: 0.92em;
  line-height: 1;
}

.ad-card:hover .ad-card__arrow,
.ad-card:focus-visible .ad-card__arrow {
  transform: translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Ticker LED
   -------------------------------------------------------------------------- */

.ticker {
  position: relative;
  background: #b83b18;
  color: var(--cream);
  border-top: 1px solid #8a2a10;
  border-bottom: 1px solid #8a2a10;
  overflow: hidden;
}

.ticker__bar {
  display: flex;
  align-items: stretch;
  height: 58px;
}

.ticker__badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  padding: 0 22px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ticker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(242, 166, 90, 0.18);
  animation: ticker-pulse 2.2s ease-in-out infinite;
}

.ticker__viewport {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 55s linear infinite;
  will-change: transform;
}

.ticker__track.is-paused {
  animation-play-state: paused;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__store {
  color: var(--cream);
  font-weight: 800;
}

.ticker__text {
  opacity: 1;
}

.ticker__code {
  padding: 2px 7px;
  border: 1px solid rgba(255, 247, 240, 0.42);
  border-radius: 4px;
  background: rgba(33, 26, 23, 0.18);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ticker__star {
  flex-shrink: 0;
  padding: 0 4px;
  color: var(--amber);
  font-size: 0.64rem;
  line-height: 1;
}

.ticker__toggle {
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  width: 56px;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(255, 247, 240, 0.22);
  background: rgba(33, 26, 23, 0.18);
  color: var(--cream);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ticker__toggle:hover {
  background: rgba(33, 26, 23, 0.34);
}

.ticker__toggle .icon-play {
  display: none;
}

html:not(.js) .ticker__toggle {
  display: none;
}

.ticker__toggle[aria-pressed="true"] .icon-pause {
  display: none;
}

.ticker__toggle[aria-pressed="true"] .icon-play {
  display: block;
}

@keyframes ticker-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes ticker-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(242, 166, 90, 0.18);
  }
  50% {
    opacity: 0.65;
    box-shadow: 0 0 0 7px rgba(242, 166, 90, 0.05);
  }
}

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */

.intro {
  padding: 0 0 78px;
}

.intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  align-items: end;
  gap: 68px;
  padding-top: 56px;
  border-top: 1px solid var(--line-strong);
}

.intro__title {
  margin: 18px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.4vw, 5.15rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.intro__title em {
  color: var(--coral);
  font-style: italic;
}

.intro__lede {
  max-width: 56ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.intro__panel {
  padding-left: 32px;
  border-left: 1px solid var(--line-strong);
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.stat strong {
  min-width: 1.25em;
  color: var(--coral);
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.intro__panel-note {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.8rem;
}

.intro__panel-star {
  color: var(--coral);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Tiendas
   -------------------------------------------------------------------------- */

.stores {
  padding: 56px 0 52px;
}

.stores__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 30px;
}

.stores__note {
  max-width: 390px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.65;
  text-align: right;
}

.stores__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.store-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 30px -30px rgba(56, 30, 18, 0.55);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.store-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.store-card__top {
  display: grid;
  gap: 9px;
  padding: 16px 18px 12px;
}

.chip {
  justify-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--store-soft);
  color: var(--store-ink);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.store-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  margin: 0 14px;
  overflow: hidden;
  border-radius: 13px;
  background: var(--store-soft);
}

.store-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.store-card:hover .store-card__media > img {
  transform: scale(1.045);
}

.store-card__logo {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: block;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 2px solid rgba(255, 253, 251, 0.92);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.55);
}

.store-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-card__overlay {
  position: absolute;
  right: 10px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(33, 26, 23, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.store-card__media:hover .store-card__overlay,
.store-card__media:focus-visible .store-card__overlay {
  background: rgba(33, 26, 23, 0.9);
}

.store-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 19px;
}

.store-card__name {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.store-card__name a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.store-card__name a:hover {
  color: var(--coral);
}

.store-card__meta {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.store-card__meta svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--store-accent);
}

.store-card__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Modal de detalles de tienda
   -------------------------------------------------------------------------- */

body.has-modal {
  overflow: hidden;
}

.store-modal {
  width: min(720px, calc(100% - 32px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: var(--ink);
}

.store-modal::backdrop {
  background: rgba(33, 26, 23, 0.62);
  backdrop-filter: blur(5px);
}

.store-modal[open] {
  animation: store-modal-in 0.22s ease both;
}

.store-modal[open]::backdrop {
  animation: store-modal-fade 0.22s ease both;
}

@keyframes store-modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes store-modal-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.store-modal__panel {
  position: relative;
  max-height: min(88vh, 820px);
  padding: 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: inherit;
  background: var(--paper);
  box-shadow: 0 40px 80px -34px rgba(33, 26, 23, 0.65);
}

.store-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.store-modal__close:hover {
  border-color: var(--line-strong);
  background: var(--cream);
  color: var(--coral);
}

.store-modal__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-right: 46px;
}

.store-modal__logo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--store-soft);
}

.store-modal__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-modal__intro {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.store-modal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.store-modal__tagline {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.5;
}

.store-modal__desc {
  margin: 18px 0 20px;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.68;
}

.store-modal__info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.store-modal__info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}

.store-modal__info-icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--store-accent);
}

.store-modal__info-text {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.store-modal__info-label {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.store-modal__info-text a,
.store-modal__info-text p {
  margin: 0;
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.store-modal__info-text a {
  text-decoration: none;
}

.store-modal__info-text a:hover {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.store-modal__tags-block {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.store-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.store-modal__tags li {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--store-soft);
  color: var(--store-ink);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.35;
}

.store-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.store-modal__actions .btn {
  flex: 1 1 200px;
  justify-content: center;
}

@media (max-width: 560px) {
  .store-modal {
    width: calc(100% - 20px);
  }

  .store-modal__panel {
    max-height: 92vh;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .store-modal__head {
    gap: 12px;
  }

  .store-modal__logo {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .store-modal__title {
    font-size: 1.45rem;
  }

  .store-modal__info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .store-modal__info-item {
    gap: 8px;
    padding: 10px;
  }

  .store-modal__info-icon svg {
    width: 16px;
    height: 16px;
  }

  .store-modal__info-label {
    font-size: 0.55rem;
  }

  .store-modal__info-text a,
  .store-modal__info-text p {
    font-size: 0.73rem;
  }

  .store-modal__actions .btn {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-modal[open],
  .store-modal[open]::backdrop {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Promociones
   -------------------------------------------------------------------------- */

.promos {
  position: relative;
  padding: 78px 0 88px;
  overflow: hidden;
  border-top: 1px solid #efd8c1;
  border-bottom: 1px solid #efd8c1;
  background: #f8e8d7;
}

.promos::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -100px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(199, 67, 31, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.promos > .container {
  position: relative;
  z-index: 1;
}

.promos__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 30px;
}

.promos__note {
  max-width: 330px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.65;
  text-align: right;
}

.promos__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 23px 22px 21px;
  overflow: hidden;
  border: 1px solid #e8cdb2;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 30px -32px rgba(56, 30, 18, 0.5);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--store-accent);
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -30px rgba(56, 30, 18, 0.5);
}

.promo-card__store {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.promo-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--store-accent);
  flex-shrink: 0;
}

.promo-card__title {
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.promo-card__desc {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.promo-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.promo-card__code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px dashed #d8bda2;
  border-radius: 7px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.promo-card__code:hover {
  border-color: var(--ink-2);
  background: #fff;
}

.promo-card__code.is-copied {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.promo-card__valid {
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.35;
}

.promo-card__valid time {
  font-weight: 700;
  white-space: nowrap;
}

.promo-card__actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.promo-card__visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.promo-card__visit:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
}

.promo-card__visit svg {
  flex-shrink: 0;
}

.promos__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
}

/* Página de todas las promociones ---------------------------------------- */

.promos-page {
  background: var(--cream);
}

.promos-page__hero {
  padding: 48px 0 42px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 18%, rgba(242, 166, 90, 0.18), transparent 42%),
    var(--cream);
}

.promos-page__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promos-page__breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.promos-page__breadcrumb a:hover {
  color: var(--coral);
}

.promos-page__title {
  margin: 10px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.promos-page__title em {
  color: var(--coral);
}

.promos-page__lede {
  max-width: 590px;
  margin: 0;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.7;
}

.promos-page__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promos-page__stats strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.promos-page__list {
  padding: 42px 0 84px;
}

.promos-page__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 24px;
}

.promos-page__list-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.promos-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.promos-sort__label {
  margin-right: 3px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.promos-sort__link {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.promos-sort__link:hover {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--coral);
}

.promos-sort__link.is-active {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
}

.promos__grid--all {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.promo-card--all {
  height: 100%;
}

.promo-card__expired {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f6dfd7;
  color: #a9391f;
  font-size: 0.55rem;
  letter-spacing: 0.06em;
}

.promo-card.is-expired {
  border-style: dashed;
  opacity: 0.78;
}

@media (max-width: 760px) {
  .promos-page__hero {
    padding: 34px 0 32px;
  }

  .promos-page__breadcrumb {
    margin-bottom: 20px;
  }

  .promos-page__list {
    padding: 32px 0 62px;
  }

  .promos-page__toolbar {
    align-items: flex-start;
  }

  .promos-sort {
    width: 100%;
  }

  .promos-sort__label {
    flex: 1 0 100%;
    margin-bottom: 2px;
  }

  .promos-sort__link {
    flex: 1 1 0;
    min-width: 0;
    padding: 7px 6px;
    font-size: 0.63rem;
    text-align: center;
  }

  .promos__actions .btn {
    width: 100%;
  }
}

.promos__grid--detail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.promo-card--wide {
  padding: 26px 28px 24px;
}

.empty-state {
  margin-top: 22px;
  padding: 26px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding-top: 64px;
  background: var(--ink);
  color: rgba(255, 247, 240, 0.7);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
}

.brand--footer .brand__name {
  color: var(--cream);
}

.footer__tagline {
  max-width: 26ch;
  margin: 18px 0 8px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.footer__note {
  max-width: 33ch;
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer__title {
  margin: 4px 0 16px;
  color: var(--amber);
  font-family: var(--font-sans);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__text {
  margin-bottom: 14px;
  font-size: 0.82rem;
  line-height: 1.65;
}

.footer__cta {
  margin-top: 2px;
}

.footer__cta.btn--ghost {
  border-color: rgba(255, 247, 240, 0.34);
  color: var(--cream);
}

.footer__cta.btn--ghost:hover {
  background: transparent;
  border-color: var(--amber);
  color: var(--amber);
}

.footer__cta.btn--ghost[aria-disabled='true']:hover {
  border-color: rgba(255, 247, 240, 0.34);
  color: var(--cream);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 247, 240, 0.14);
  color: rgba(255, 247, 240, 0.62);
  font-size: 0.7rem;
}

/* --------------------------------------------------------------------------
   Detalle de tienda
   -------------------------------------------------------------------------- */

.detail {
  padding: 26px 0 90px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.73rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--coral);
}

.breadcrumb__sep {
  color: #c3b2a6;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: 52px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.store-hero__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
  background: var(--store-soft);
}

.store-hero__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-hero__logo {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: block;
  width: 92px;
  height: 92px;
  overflow: hidden;
  border: 3px solid rgba(255, 253, 251, 0.94);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.55);
}

.store-hero__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-hero__content {
  padding: 22px 34px 22px 0;
}

.store-hero__title {
  margin: 14px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.store-hero__tagline {
  margin-bottom: 16px;
  color: var(--store-ink);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.4;
}

.store-hero__desc {
  max-width: 54ch;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.store-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.info {
  margin-top: 20px;
}

.info__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 138px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.info-card__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 7px;
  border-radius: 10px;
  background: var(--store-soft);
  color: var(--store-ink);
}

.info-card__label {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.info-card__value {
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.info-card__value:hover {
  color: var(--coral);
}

.store-promos {
  margin-top: 68px;
}

.store-promos__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.store-promos__note {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.other-stores {
  margin-top: 70px;
}

.other-stores__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 22px;
}

.other-stores__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.other-store {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  text-decoration: none;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.other-store:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 32px -28px rgba(56, 30, 18, 0.5);
}

.other-store__logo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--store-soft);
}

.other-store__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.other-store__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.other-store__category {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.other-store__name {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.other-store__arrow {
  flex-shrink: 0;
  margin-left: auto;
  color: var(--store-accent);
  transition: transform 0.2s ease;
}

.other-store:hover .other-store__arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Error
   -------------------------------------------------------------------------- */

.error-page {
  padding: 64px 0 100px;
}

.error-page__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  max-width: 980px;
}

.error-page__art {
  display: flex;
  justify-content: center;
}

.error-page__art svg {
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 26px 34px rgba(56, 30, 18, 0.14));
}

.error-page__title {
  margin: 16px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.error-page__message {
  max-width: 48ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (min-width: 761px) and (max-width: 900px) {
  .store-card__top {
    gap: 6px;
    padding: 13px 13px 11px;
  }

  .chip {
    padding: 4px 7px;
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  .store-card__media {
    margin: 0 10px;
    border-radius: 10px;
  }

  .store-card__logo {
    left: 8px;
    bottom: 8px;
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .store-card__body {
    padding: 12px 13px 15px;
  }

  .store-card__name {
    font-size: 1.1rem;
  }

  .store-card__meta {
    margin-bottom: 12px;
    font-size: 0.64rem;
  }

  .store-card__actions {
    gap: 6px;
  }
}

@media (max-width: 1240px) {
  .store-search__decorations {
    position: static;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    width: min(100%, 760px);
    height: 74px;
    margin: 0 auto 10px;
    padding: 0 18px;
  }

  .store-search__decor {
    position: static;
    width: 45%;
    max-width: 220px;
    height: 100%;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .ad-slider__nav {
    width: 36px;
    height: 36px;
  }

  .ad-slider__nav--prev {
    left: 8px;
  }

  .ad-slider__nav--next {
    right: 8px;
  }

  .promos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .intro__inner {
    gap: 48px;
  }
}

@media (max-width: 960px) {
  .store-hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px;
  }

  .store-hero__content {
    padding: 28px 18px 20px;
  }

  .store-hero__media {
    aspect-ratio: 16 / 10;
  }

  .info__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .other-stores__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .header__inner {
    position: relative;
    min-height: 70px;
  }

  html:not(.js) .header__inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  html:not(.js) .nav {
    flex-wrap: wrap;
    gap: 10px 18px;
    width: 100%;
    padding-bottom: 6px;
  }

  html:not(.js) .nav__list {
    flex-wrap: wrap;
    gap: 14px;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 8px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
    box-shadow: 0 24px 40px -30px rgba(56, 30, 18, 0.5);
  }

  .js .nav.is-open {
    display: flex;
  }

  .js .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .js .nav__list li {
    border-bottom: 1px solid var(--line);
  }

  .js .nav__list a {
    display: block;
    padding: 14px 0;
    font-size: 0.84rem;
    letter-spacing: 0.06em;
  }

  .js .nav__list a::after {
    display: none;
  }

  .js .nav__cta {
    align-self: flex-start;
    margin-top: 4px;
  }

  .intro__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .intro__panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 20px;
    padding: 0;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .stat {
    flex-direction: column;
    gap: 4px;
    border-bottom: 0;
    padding-top: 20px;
  }

  .intro__panel-note {
    grid-column: 1 / -1;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .stores__head,
  .promos__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .stores__note,
  .promos__note {
    max-width: 540px;
    text-align: left;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__col:last-child {
    grid-column: auto;
  }

  .error-page__inner {
    grid-template-columns: 1fr;
    gap: 34px;
    max-width: 560px;
  }

  .error-page__art {
    justify-content: flex-start;
  }

  .error-page__art svg {
    max-width: 280px;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }

  .store-search {
    padding: 20px 0 24px;
  }

  .store-search__title {
    margin-bottom: 10px;
    font-size: 1rem;
  }

  .store-search__field {
    gap: 10px;
    padding: 5px 8px 5px 15px;
  }

  .store-search__input {
    height: 44px;
    font-size: 0.92rem;
  }

  .store-search__hint {
    font-size: 0.72rem;
  }

  .store-search__results {
    max-height: 64vh;
  }

  .intro {
    padding-bottom: 56px;
  }

  .intro__inner {
    padding-top: 40px;
  }

  .stores {
    padding: 44px 0 40px;
  }

  .stores__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .promos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .promos__grid--detail {
    grid-template-columns: 1fr;
  }

  .promo-card {
    padding: 16px 13px 14px;
  }

  .promo-card__store {
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 9px;
    font-size: 0.52rem;
    letter-spacing: 0.08em;
  }

  .promo-card__title {
    margin-bottom: 6px;
    font-size: 0.96rem;
    line-height: 1.14;
  }

  .promo-card__desc {
    margin-bottom: 12px;
    font-size: 0.7rem;
    line-height: 1.45;
  }

  .promo-card__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 10px;
  }

  .promo-card__code {
    gap: 4px;
    padding: 5px 6px;
    font-size: 0.56rem;
  }

  .promo-card__valid {
    font-size: 0.54rem;
  }

  .promo-card__actions {
    margin-top: 10px;
  }

  .promo-card__visit {
    min-height: 31px;
    gap: 4px;
    padding: 7px 10px;
    font-size: 0.61rem;
  }

  .promo-card__visit svg {
    width: 12px;
    height: 12px;
  }

  .intro__title {
    font-size: clamp(2.85rem, 12vw, 4.1rem);
  }

  .ad-slider__nav {
    display: none;
  }

  .ad-card img {
    aspect-ratio: 16 / 9;
  }

  .ad-card__cta {
    left: 12px;
    bottom: 12px;
    gap: 5px;
    padding: 7px 12px;
    font-size: 0.66rem;
  }

  .ad-slider__dots {
    right: 10px;
    left: auto;
    transform: none;
  }

  .ticker__bar {
    height: 54px;
  }

  .ticker__badge {
    padding: 0 15px;
    font-size: 0.58rem;
  }

  .ticker__item {
    font-size: 0.68rem;
    padding: 0 10px;
  }

  .ticker__toggle {
    flex-basis: 48px;
    width: 48px;
  }

  .promos {
    padding: 62px 0 70px;
  }

  .promo-card {
    padding: 22px 20px;
  }

  .store-promos__head,
  .other-stores__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .store-promos__note {
    text-align: left;
  }

  .other-stores__grid {
    grid-template-columns: 1fr;
  }

  .store-promos,
  .other-stores {
    margin-top: 52px;
  }

  .site-footer {
    padding-top: 52px;
  }

  .footer__grid {
    gap: 30px;
    padding-bottom: 38px;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .error-page {
    padding: 42px 0 72px;
  }
}

@media (max-width: 560px) {
  .header__inner {
    gap: 12px;
  }

  .brand__name {
    font-size: 1.3rem;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  html:not(.js) .nav__cta {
    display: none;
  }

  .js .nav {
    padding-inline: 18px;
  }

  .store-card__top {
    gap: 7px;
    padding: 14px 14px 12px;
  }

  .store-card__media {
    margin: 0 11px;
  }

  .store-card__logo {
    left: 9px;
    bottom: 9px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .store-card__overlay {
    right: 8px;
    bottom: 9px;
    padding: 5px 8px;
    font-size: 0.56rem;
  }

  .store-card__body {
    padding: 13px 14px 16px;
  }

  .store-card__name {
    font-size: 1.18rem;
  }

  .store-card__meta {
    margin-bottom: 13px;
    font-size: 0.66rem;
  }

  .store-card__actions {
    gap: 7px;
  }

  .store-card__actions .btn--sm {
    gap: 5px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .intro__panel {
    grid-template-columns: 1fr;
  }

  .stat {
    flex-direction: row;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .intro__panel-note {
    padding-top: 16px;
  }

  .info__grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 0;
  }

  .store-hero__logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .store-hero__content {
    padding: 24px 10px 14px;
  }

  .store-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .store-hero__actions .btn {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__col:last-child {
    grid-column: auto;
  }

  .footer__bottom {
    font-size: 0.66rem;
  }

  .error-page__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-page__actions .btn {
    width: 100%;
  }
}

@media (hover: none) {
  .store-card__overlay {
    transform: translateY(0);
    opacity: 1;
  }

  .ad-card__arrow {
    transform: translateY(0);
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Movimiento reducido
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ad-slider__track {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ticker__track {
    width: 100%;
    animation: none !important;
  }

  .ticker__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ticker__group[aria-hidden="true"] {
    display: none;
  }

  .ticker__group {
    flex-wrap: wrap;
    padding: 9px 0;
  }

  .ticker__item {
    white-space: normal;
  }

  .ticker__bar {
    height: auto;
    min-height: 54px;
  }

  .ticker__toggle {
    display: none;
  }
}
