@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --blue-900: #003FB7;
  --blue-800: #0a4fd6;
  --blue-700: #2d6dff;
  --blue-100: #edf4ff;
  --blue-050: #f5f9ff;
  --gold: #f4c542;
  --ink: #111827;
  --muted: #5b6475;
  --line: #d8e1f2;
  --surface: #ffffff;
  --bg: #f7f9fc;
  --success: #15a34a;
  --danger: #dc2626;
  --shadow-lg: 0 30px 60px rgba(17, 24, 39, 0.12);
  --shadow-md: 0 18px 34px rgba(17, 24, 39, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1680px, calc(100vw - 28px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 75, 207, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

body.body-modal-open {
  overflow: hidden;
}

body.body-mobile-menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(15, 75, 207, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(15, 75, 207, 0.24);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 5px 0;
}

.site-header__brand-row,
.site-header__quick-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-lockup__logos {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-lockup__logo {
  display: block;
  height: auto;
}

.brand-lockup__logo--caja {
  width: 126px;
}

.brand-lockup__logo--beneficios {
  width: 168px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 360px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.search-shell__icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--blue-900);
  flex: 0 0 auto;
}

.search-shell__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.search-shell input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 0;
}

.icon-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--blue-900);
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(0, 63, 183, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(0, 63, 183, 0.18);
}

.icon-button--admin {
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}

.icon-button--admin svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.icon-button--menu {
  display: none;
  place-items: center;
}

.icon-button--menu svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.icon-button--menu-close {
  display: inline-grid;
  place-items: center;
  font-size: 1.65rem;
  line-height: 1;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 44;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.mobile-menu-backdrop.is-visible {
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 45;
  width: min(92vw, 420px);
  height: 100vh;
  padding: 20px 18px 24px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.18);
  transform: translateX(100%);
  transition: transform 0.26s ease;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__header,
.mobile-menu__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mobile-menu__header {
  margin-bottom: 18px;
}

.mobile-menu__header h2 {
  margin: 6px 0 0;
  color: var(--blue-900);
  font-size: 1.35rem;
}

.mobile-menu__eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-menu__actions {
  margin-bottom: 14px;
}

.mobile-menu__body {
  display: grid;
  gap: 12px;
}

.mobile-menu__group {
  border: 1px solid rgba(0, 63, 183, 0.12);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}

.mobile-menu__group summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--blue-900);
  font-weight: 700;
}

.mobile-menu__group summary::-webkit-details-marker {
  display: none;
}

.mobile-menu__group summary::after {
  content: "+";
  color: var(--blue-900);
  font-size: 1.15rem;
}

.mobile-menu__group[open] summary::after {
  content: "-";
}

.mobile-menu__content {
  padding: 0 18px 18px;
}

.hero {
  padding: 26px 0 38px;
}

.hero__panel {
  display: grid;
  grid-template-columns: 1.15fr 1.75fr;
  gap: 28px;
  align-items: center;
  padding: 26px 28px 30px;
  border-radius: 42px;
  background:
    radial-gradient(circle at top left, rgba(0, 63, 183, 0.07), transparent 28%),
    radial-gradient(circle at bottom right, rgba(244, 197, 66, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 255, 0.96) 100%);
  box-shadow: 0 26px 54px rgba(0, 63, 183, 0.08);
  border: 1px solid rgba(216, 225, 242, 0.88);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(0, 63, 183, 0.08);
  color: var(--blue-900);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 16px 0 12px;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.98;
  color: var(--blue-900);
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 500px;
  margin: 0;
  color: #1f2937;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-metric {
  padding: 20px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 63, 183, 0.08);
  box-shadow: 0 16px 24px rgba(15, 23, 42, 0.05);
}

.hero-metric strong {
  display: block;
  color: var(--blue-900);
  font-size: clamp(2rem, 2.8vw, 3.1rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero-metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.2;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  border-radius: 44px;
  overflow: hidden;
 
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.hero-visual__gif-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  padding: 18px;
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.hero-visual__gif {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  filter: drop-shadow(0 24px 38px rgba(15, 23, 42, 0.16));
}

.hero-visual__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero-visual__glow--left {
  left: -40px;
  top: 28px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at center, rgba(244, 197, 66, 0.46), rgba(244, 197, 66, 0));
}

.hero-visual__glow--right {
  right: -50px;
  bottom: 32px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at center, rgba(0, 63, 183, 0.28), rgba(0, 63, 183, 0));
}

.hero-visual__orbit {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 28px rgba(15, 23, 42, 0.08);
  color: #23324a;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-visual__orbit--top {
  top: 28px;
  right: 42px;
}

.hero-visual__orbit--middle {
  top: 132px;
  left: 28px;
}

.hero-visual__orbit--bottom {
  right: 28px;
  bottom: 126px;
}

.hero-visual__pedestal {
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 70%;
  height: 98px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at center, #ffffff 10%, #f1f3f7 72%, #dfe3ea 100%);
  box-shadow: inset 0 -16px 20px rgba(31, 41, 55, 0.08);
}

.card-showcase {
  position: absolute;
  inset: 48px 24px 90px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.benefit-card-visual {
  position: absolute;
  width: 34%;
  aspect-ratio: 1.65;
  border-radius: 24px;
  padding: 20px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
}

.benefit-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.benefit-card-visual strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 60px;
  font-size: 1.9rem;
}

.benefit-card-visual span {
  position: relative;
  z-index: 1;
  display: block;
  opacity: 0.8;
}

.benefit-card-visual--gold {
  left: 7%;
  bottom: 42px;
  transform: rotate(-3deg);
  background: linear-gradient(135deg, #e9bf44 0%, #c08919 100%);
}

.benefit-card-visual--dark {
  z-index: 2;
  width: 42%;
  bottom: 18px;
  background:
    linear-gradient(200deg, rgba(255, 255, 255, 0.55), transparent 26%),
    linear-gradient(135deg, #132041 0%, #29365d 55%, #d1ab30 100%);
}

.benefit-card-visual--blue {
  right: 2%;
  bottom: 44px;
  transform: rotate(3deg);
  background: linear-gradient(135deg, #1556d1 0%, #0d2f8f 100%);
}

.hero-visual__spotlight {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  z-index: 3;
  display: grid;
  gap: 6px;
  max-width: 360px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(11, 29, 73, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  color: #fff;
  box-shadow: 0 26px 36px rgba(15, 23, 42, 0.22);
}

.hero-visual__spotlight span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual__spotlight strong {
  font-size: 1.5rem;
  line-height: 1;
}

.hero-visual__spotlight p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.93rem;
  line-height: 1.45;
}

.hero-visual__spotlight-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.category-rail {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 12px;
  align-items: center;
  margin: 18px 0 20px;
}

.rail-arrow {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #e7ebf2;
  cursor: pointer;
  color: var(--ink);
}

.category-chip-list {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 4px 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.category-chip-list::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 14px 32px;
  border-radius: 999px;
  border: 2px solid #d9d9df;
  background: #fff;
  cursor: pointer;
  color: #111827;
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.category-chip__icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-900);
  background: #fff;
  box-shadow: inset 0 0 0 3px #d7dce5;
}

.category-chip__icon img,
.category-chip__icon svg,
.category-chip__icon-fallback svg {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.category-chip__icon-fallback {
  display: inline-grid;
  place-items: center;
}

.category-chip.is-active,
.category-chip:hover {
  border-color: var(--blue-900);
  box-shadow: 0 14px 24px rgba(15, 75, 207, 0.12);
  transform: translateY(-2px);
}

.category-chip.is-active .category-chip__icon,
.category-chip:hover .category-chip__icon {
  box-shadow: inset 0 0 0 3px #bed2ff;
}

.category-chip__label {
  white-space: nowrap;
}

.category-chip-list--mobile {
  display: grid;
  grid-template-columns: 1fr;
  overflow: visible;
  padding: 2px 0 0;
}

.category-chip-list--mobile .category-chip {
  width: 100%;
  justify-content: flex-start;
  min-height: 78px;
  padding-inline: 18px;
}

.filter-checklist--mobile {
  display: grid;
  gap: 10px;
}

.promo-strip {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  grid-auto-rows: 565px;
  gap: 16px;
  align-items: stretch;
}

.promo-strip > * {
  height: 100%;
}

.promo-banner {
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  min-height: 184px;
  box-shadow: var(--shadow-md);
}

.promo-banner--primary {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0, 63, 183, 0.78) 0%, rgba(0, 63, 183, 0.62) 24%, rgba(0, 63, 183, 0.18) 52%, rgba(0, 63, 183, 0.08) 100%),
    url("https://storageproyectosmercadeo.blob.core.windows.net/masaccesosbeneficios/banners/Mujertarjetabeneficios.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #fff;
}

.promo-banner--primary h2 {
  margin: 0;
  max-width: 340px;
  font-size: clamp(2.05rem, 3vw, 2.9rem);
  line-height: 1;
}

.promo-banner--primary p {
  margin: 8px 0 0;
  max-width: 330px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.5;
}

.promo-banner__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
 
  min-height: 460px;
  padding-bottom: 20px;
}

.promo-featured-card-shell {
  margin-top: auto;
  width: min(420px, 100%);
}

.promo-featured-card {
  width: 100%;
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1)),
    rgba(10, 28, 81, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 34px rgba(6, 18, 51, 0.22);
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.promo-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(6, 18, 51, 0.28);
  border-color: rgba(255, 241, 195, 0.48);
}

.promo-featured-card__kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 241, 195, 0.16);
  color: #fff1c3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-featured-card__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.promo-featured-card__body .commerce-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 18px rgba(7, 17, 41, 0.18);
}

.promo-featured-card__body .commerce-logo img {
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  object-fit: contain;
  object-position: center;
}

.promo-featured-card__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.promo-featured-card__copy strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.08;
}

.promo-featured-card__copy span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.2;
}

.promo-featured-card__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
}

.promo-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #eff6ff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-banner__media-shell {
  display: none;
}

.promo-banner__media-placeholder {
  position: absolute;
  inset: 18px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(244, 197, 66, 0.16), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.promo-banner__media-placeholder span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
}

.promo-banner--secondary {
  background:
    radial-gradient(circle at top left, rgba(0, 63, 183, 0.07), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid #f3ce69;
  overflow: hidden;
  display: block;
  padding-left: 0;
  padding-right: 0;
  height: 100%;
}

.featured-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  min-height: 112px;
  perspective: 1400px;
  transform-style: preserve-3d;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.92) 10%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0.92) 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.92) 10%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0.92) 90%, transparent 100%);
}

.featured-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  transform-style: preserve-3d;
}

.featured-marquee.is-css-fallback .featured-marquee__track {
  animation: featured-marquee-scroll 28s linear infinite;
}

.featured-marquee__group {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 0 0 auto;
  padding: 12px 22px 10px;
}

.featured-logo {
  width: 110px;
  text-align: center;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform-origin: center center;
  transition: filter 0.25s ease;
  will-change: transform, opacity, filter;
}

.commerce-logo {
  position: relative;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  background: #ffffff;
}

.commerce-logo img,
.commerce-logo__fallback {
  width: 100%;
  height: 100%;
}

.commerce-logo img {
  object-fit: cover;
}

.commerce-logo__fallback {
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--blue-900);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), rgba(236, 243, 255, 0.98)),
    linear-gradient(135deg, #f8fbff 0%, #eaf2ff 100%);
}

.featured-logo .commerce-logo {
  width: 92px;
  height: 92px;
  margin: 4px auto 6px;
  border-radius: 50%;
  background: #f6d0d5;
  box-shadow: 0 12px 24px rgba(177, 92, 104, 0.18);
  transition: box-shadow 0.25s ease;
}

.featured-logo .commerce-logo__fallback {
  font-size: 1.75rem;
}

.featured-logo span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}

.featured-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 18px;
  align-items: stretch;
  margin: 6px 18px 18px;
  padding: 18px;
  min-height: 314px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.92)),
    radial-gradient(circle at top left, rgba(0, 63, 183, 0.1), transparent 36%);
  border: 1px solid rgba(0, 63, 183, 0.1);
  box-shadow:
    0 22px 36px rgba(0, 63, 183, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.featured-spotlight__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  min-height: 248px;
  padding: 8px 4px 8px 8px;
}

.featured-spotlight__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.featured-spotlight__brand .commerce-logo {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: #fff;
  border: 3px solid #fff;
  box-shadow: 0 18px 28px rgba(0, 63, 183, 0.14);
  flex: 0 0 auto;
}

.featured-spotlight__brand .commerce-logo__fallback {
  font-size: 1.5rem;
}

.featured-spotlight__eyebrow {
  margin: 0 0 6px;
  color: var(--blue-900);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.featured-spotlight h3 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.featured-spotlight__description {
  margin: 0;
  color: #243042;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 58ch;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.featured-spotlight__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.featured-spotlight__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 24px rgba(0, 63, 183, 0.18);
}

.featured-spotlight__copy {
  color: var(--muted);
  font-size: 0.92rem;
}

.featured-spotlight__tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(0, 63, 183, 0.08);
  color: var(--blue-900);
  font-size: 0.82rem;
  font-weight: 700;
}

.featured-spotlight__tag--featured {
  background:
    linear-gradient(135deg, rgba(255, 247, 214, 0.98) 0%, rgba(244, 205, 99, 0.98) 48%, rgba(214, 164, 60, 0.98) 100%);
  border: 1px solid rgba(191, 146, 35, 0.34);
  color: #80590a;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow:
    0 10px 18px rgba(186, 145, 33, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.featured-spotlight__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-spotlight__visual {
  position: relative;
  height: 248px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  isolation: isolate;
}

.featured-spotlight__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-spotlight__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(6, 18, 53, 0.68) 8%, rgba(6, 18, 53, 0.26) 42%, rgba(6, 18, 53, 0.08) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(6, 18, 53, 0.2) 100%);
}

.featured-spotlight__glow {
  position: absolute;
  inset: auto auto -42px -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(0, 63, 183, 0.35), rgba(0, 63, 183, 0));
  filter: blur(10px);
  z-index: 1;
}

.featured-spotlight__floating-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  min-width: 152px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  color: #fff;
  box-shadow: 0 20px 30px rgba(15, 23, 42, 0.18);
}

.featured-spotlight__floating-card span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.82;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.featured-spotlight__floating-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.5rem;
  line-height: 1;
}

.featured-empty-state {
  display: grid;
  gap: 10px;
  min-height: 280px;
  align-content: center;
  padding: 30px 34px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.92)),
    radial-gradient(circle at top left, rgba(0, 63, 183, 0.1), transparent 36%);
  border: 1px solid rgba(0, 63, 183, 0.1);
  box-shadow: 0 22px 36px rgba(0, 63, 183, 0.08);
}

.featured-empty-state__eyebrow {
  color: var(--blue-900);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-empty-state h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.75rem;
  line-height: 1.05;
}

.featured-empty-state p {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.6;
}

@keyframes featured-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.catalog-shell {
  display: grid;
  grid-template-columns: 348px 1fr;
  gap: 22px;
  align-items: start;
  margin-top: 16px;
}

.filters {
  display: grid;
  gap: 12px;
}

.filter-card,
.results-panel {
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.filter-card {
  padding: 0;
}

.filter-card h3 {
  margin: 0 0 16px;
  font-size: 1.2rem;
}

.filter-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 8px;
}

.link-button {
  border: 0;
  background: transparent;
  color: #111827;
  text-decoration: underline;
  cursor: pointer;
}

.link-button--clear {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f4f8ff;
  border: 1px solid #d8e7ff;
  color: var(--blue-900);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.link-button--clear:hover {
  background: #eaf2ff;
  border-color: #bfd5ff;
  transform: translateY(-1px);
}

.filter-group {
  margin: 0 0 12px;
  padding: 0 18px 8px;
}

.filter-group strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1rem;
}

.filter-group--boxed {
  margin: 10px 0 0;
  padding: 16px 18px;
  border-top: 1px solid #edf1f7;
}

.filter-group--hidden {
  display: none;
}

.filter-group__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.filter-group__title span {
  color: #8a94a5;
  font-size: 1rem;
}

.filter-group label,
.filter-checklist label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
}

.filter-checklist {
  display: grid;
  gap: 12px;
}

.filter-checklist input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--blue-900);
}

.filter-empty {
  margin: 0;
  color: var(--muted);
}

.filter-input,
.filter-select,
.form-control {
  width: 100%;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid #d6deee;
  background: #fbfdff;
  outline: 0;
}

.results-panel {
  padding: 16px;
}

.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--muted);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #edf1f7;
}

.catalog-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  flex: 1 1 auto;
}

.catalog-pagination__page,
.catalog-pagination__nav {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid #d9e4fb;
  background: #f8fbff;
  color: var(--blue-900);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.catalog-pagination__page:hover,
.catalog-pagination__nav:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #eef5ff;
  border-color: #bfd3ff;
  box-shadow: 0 10px 18px rgba(0, 63, 183, 0.08);
}

.catalog-pagination__page.is-active {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 22px rgba(0, 63, 183, 0.18);
}

.catalog-pagination__nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.catalog-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  color: var(--muted);
  font-weight: 700;
}

.benefit-card {
  position: relative;
  overflow: visible;
  border-radius: 22px;
  min-height: 430px;
  perspective: 1600px;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: transform 0.25s ease;
  cursor: pointer;
}

.benefit-card::after {
  content: none;
}

.benefit-card.is-featured {
  box-shadow: none;
}

.benefit-card:hover {
  transform: none;
}

.benefit-card.is-featured:hover {
  box-shadow: none;
}

.benefit-card__inner {
  position: relative;
  height: 100%;
  min-height: 430px;
  transform-style: preserve-3d;
  transition: none;
}

.benefit-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(196, 203, 214, 0.96);
  box-shadow:
    0 14px 28px rgba(17, 24, 39, 0.07),
    0 0 0 1px rgba(230, 235, 242, 0.92),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.benefit-card__face--front {
  z-index: 2;
}

.benefit-card__face--back {
  padding: 20px 20px 18px;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  transform: rotateY(180deg);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.42), transparent 24%),
    radial-gradient(circle at 82% 20%, rgba(108, 160, 255, 0.18), transparent 20%),
    radial-gradient(circle at 26% 82%, rgba(255, 205, 236, 0.18), transparent 20%),
    radial-gradient(circle at 76% 78%, rgba(198, 246, 255, 0.18), transparent 22%),
    linear-gradient(145deg, #dbe4f3 0%, #c9d6ea 30%, #d8d2e8 62%, #c8d9e8 100%);
}

.benefit-card.is-featured .benefit-card__face {
  border-color: rgba(196, 203, 214, 0.96);
  box-shadow:
    0 18px 34px rgba(0, 63, 183, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(163, 192, 255, 0.22);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.99) 0%, rgba(243, 248, 255, 0.98) 38%, rgba(235, 243, 255, 0.99) 100%);
}

.benefit-card__back-logo-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 52px;
}

.benefit-card__back-logo-wrap .commerce-logo {
  width: 136px;
  height: 136px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    0 20px 34px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.benefit-card__back-logo-wrap .commerce-logo img {
  object-fit: contain;
  padding: 12px;
}

.benefit-card__back-logo-wrap .commerce-logo__fallback {
  font-size: 2.5rem;
  color: var(--blue-900);
}

.benefit-card.is-featured .benefit-card__face::before {
  content: none;
}

.benefit-card.is-featured .benefit-card__face::after {
  content: "";
  position: absolute;
  top: -34%;
  left: -56%;
  width: 54%;
  height: 190%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(226, 241, 255, 0.72), rgba(113, 165, 255, 0.28), rgba(255, 255, 255, 0));
  transform: rotate(17deg);
  pointer-events: none;
  opacity: 0.92;
  animation: featured-card-shimmer 4.2s ease-in-out infinite;
}

.benefit-card__back-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.benefit-card__back-header-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.benefit-card__back-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 63, 183, 0.08);
  color: var(--blue-900);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.benefit-card__back-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 63, 183, 0.08);
  color: var(--blue-900);
  box-shadow: inset 0 0 0 1px rgba(0, 63, 183, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card__back-icon:hover {
  transform: translateY(-1px);
  background: rgba(0, 63, 183, 0.14);
  box-shadow: inset 0 0 0 1px rgba(0, 63, 183, 0.16), 0 10px 18px rgba(0, 63, 183, 0.12);
}

.benefit-card__back-icon svg {
  width: 16px;
  height: 16px;
}

.benefit-card__back-header strong {
  color: var(--blue-900);
  font-size: 0.98rem;
}

.benefit-card__back-copy {
  display: grid;
  gap: 8px;
}

.benefit-card__back-copy--institutional {
  width: 100%;
  margin-top: 14px;
  padding: 0 16px 28px;
  text-align: center;
  justify-items: center;
  gap: 12px;
}

.benefit-card__back-copy--institutional h3 {
  margin: 0;
  max-width: 92%;
  color: #12213f;
  font-size: 1.40rem;
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.benefit-card__back-copy--institutional p {
  margin: 0;
  color: rgba(18, 33, 63, 0.94);
  font-size: 3.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.benefit-card__back-copy h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.02rem;
  line-height: 1.08;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.benefit-card__back-copy p {
  margin: 0;
  color: #334155;
  font-size: 0.82rem;
  line-height: 1.34;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.benefit-card__back-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.benefit-card__back-list li {
  position: relative;
  padding-left: 18px;
  color: #1f2937;
  font-size: 0.8rem;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.benefit-card__back-list li::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-900);
  box-shadow: 0 0 0 4px rgba(0, 63, 183, 0.1);
}

.benefit-card__back-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.benefit-card__back-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: #334155;
  font-size: 0.76rem;
  font-weight: 600;
}

.benefit-card__media {
  position: relative;
  aspect-ratio: 1.4;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  border-radius: 22px 22px 0 0;
  overflow: hidden;
}

.benefit-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-card__featured-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 63, 183, 0.12);
  color: var(--blue-900);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(10px);
}

.benefit-card__featured-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #d9a11c;
  font-size: 0.88rem;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(217, 161, 28, 0.28);
}

.benefit-card.is-featured .benefit-card__featured-badge {
  background:
    linear-gradient(135deg, rgba(255, 250, 232, 0.99), rgba(247, 230, 176, 0.98), rgba(255, 244, 208, 0.98));
  border-color: rgba(214, 167, 56, 0.4);
  color: #8a6410;
  box-shadow:
    0 12px 24px rgba(180, 138, 28, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.benefit-card.is-featured .benefit-card__featured-star {
  color: #b8860b;
  text-shadow:
    0 0 10px rgba(245, 198, 73, 0.45),
    0 2px 10px rgba(184, 134, 11, 0.22);
}

@keyframes featured-card-glow {
  0%,
  100% {
    opacity: 0.62;
    filter: blur(12px) saturate(1);
  }
  50% {
    opacity: 0.92;
    filter: blur(15px) saturate(1.08);
  }
}

@keyframes featured-card-shimmer {
  0% {
    transform: translate3d(-12%, 0, 0) rotate(18deg);
    opacity: 0;
  }
  14% {
    opacity: 0.94;
  }
  46% {
    transform: translate3d(245%, 0, 0) rotate(18deg);
    opacity: 0;
  }
  100% {
    transform: translate3d(245%, 0, 0) rotate(18deg);
    opacity: 0;
  }
}

.benefit-card__media.is-fallback::after {
  content: "Imagen no disponible";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--blue-900);
}

.benefit-card__badge {
  position: absolute;
  right: 12px;
  bottom: -12px;
  min-width: 118px;
  min-height: 52px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 18px 18px 0px 0px;
  background: linear-gradient(135deg, #9343ce, #7a2bb8);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.08;
  box-shadow: 0 14px 24px rgba(122, 43, 184, 0.26);
}

.benefit-card__badge-text {
  display: block;
  transform: translateY(-3px);
}

.benefit-card.is-featured .benefit-card__badge {
  background:
    linear-gradient(135deg, #fff4c8 0%, #f4cd63 42%, #d7a43c 100%);
  color: #76510a;
  box-shadow:
    0 14px 24px rgba(180, 138, 28, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.benefit-card__body {
  padding: 16px 16px 16px;
  position: relative;
  z-index: 2;
}

.benefit-card__brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  align-items: flex-start;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.benefit-card__brand .commerce-logo {
  position: relative;
  top: -58px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #fff;
  box-shadow: 0 14px 22px rgba(17, 24, 39, 0.14);
  flex: 0 0 auto;
  margin-bottom: -28px;
}

.benefit-card__brand .commerce-logo img {
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  object-fit: contain;
  object-position: center;
  display: block;
}

.benefit-card__brand .commerce-logo__fallback {
  font-size: 1.85rem;
}

.benefit-card__brand > div {
  width: 100%;
  margin-top: -10px;
}

.benefit-card__brand h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.05;
  width: 100%;
}

.benefit-card__brand p,
.benefit-card__footer span {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  width: 100%;
}

.benefit-card__location {
  display: block;
  margin-top: 4px;
  color: #5f6f8d;
  font-size: 0.84rem;
  line-height: 1.25;
  width: 100%;
}

.benefit-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 16px;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  border: 0;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.button--small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.86rem;
  border-radius: 12px;
}

.button--ghost {
  background: #f5f8ff;
  color: var(--blue-900);
  border: 1px solid #dbe7ff;
}

.button--danger {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.button--premium-featured {
  position: relative;
  background:
    linear-gradient(135deg, #fff4c8 0%, #f1ca60 38%, #d9a33b 100%);
  color: #6e4a08;
  box-shadow:
    0 16px 26px rgba(180, 138, 28, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.button--premium-featured::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 34%;
  height: 180%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 251, 228, 0.8), rgba(255, 255, 255, 0));
  transform: rotate(20deg);
  animation: premium-button-shimmer 3.8s ease-in-out infinite;
  pointer-events: none;
}

.button--premium-featured:hover {
  box-shadow:
    0 18px 30px rgba(180, 138, 28, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

@keyframes premium-button-shimmer {
  0% {
    transform: translate3d(-18%, 0, 0) rotate(20deg);
    opacity: 0;
  }
  14% {
    opacity: 0.94;
  }
  44% {
    transform: translate3d(250%, 0, 0) rotate(20deg);
    opacity: 0;
  }
  100% {
    transform: translate3d(250%, 0, 0) rotate(20deg);
    opacity: 0;
  }
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 40px;
  padding: 28px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, #e8f0ff 0%, #dfeafb 100%);
}

.cta-banner__copy {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 38px;
  flex: 0 0 auto;
  margin-left: 18px;
}

.cta-banner__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--blue-900);
  color: var(--gold);
  flex: 0 0 auto;
}

.cta-banner__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-banner h3 {
  margin: 0 0 6px;
  font-size: 2.2rem;
  color: var(--blue-900);
}

.cta-banner__actions .button {
  min-width: 188px;
  justify-content: center;
  background: #003fb7;
  color: #ffc900;
  border: 1px solid #003fb7;
  box-shadow: 0 14px 24px rgba(0, 63, 183, 0.18);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.cta-banner__actions .button:hover {
  background: #0b4bcc;
  color: #ffc900;
  border-color: #ffc900;
  transform: translateY(-3px) scale(1.035);
  box-shadow:
    0 20px 32px rgba(0, 63, 183, 0.22),
    0 0 0 3px rgba(255, 201, 0, 0.2),
    0 0 22px rgba(255, 201, 0, 0.45);
}

.cta-banner__actions .button--ghost {
  background: #003fb7;
  color: #fdfdfd;
  border-color: #003fb7;
}

.cta-banner__actions .button:focus-visible {
  outline: none;
  border-color: #ffc900;
  box-shadow:
    0 0 0 3px rgba(255, 201, 0, 0.22),
    0 16px 28px rgba(0, 63, 183, 0.18);
}

.site-footer {
  padding: 38px 0 20px;
  color: #fff;
  background: var(--blue-900);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 28px;
}

.site-footer__brand {
  display: grid;
  gap: 16px;
}

.site-footer__brand-logos {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.site-footer__brand-logo {
  display: block;
  height: auto;
}

.site-footer__brand-logo--caja {
  width: 138px;
}

.site-footer__brand-logo--beneficios {
  width: 186px;
}

.site-footer h4 {
  margin: 0 0 18px;
}

.site-footer__section {
  margin: 0;
}

.site-footer__section summary {
  list-style: none;
  cursor: default;
}

.site-footer__section summary::-webkit-details-marker {
  display: none;
}

.site-footer__section summary h4 {
  margin: 0 0 18px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer li,
.site-footer li a,
.site-footer__links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer li a:hover,
.site-footer__links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.84);
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer__socials {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-footer__social-link img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.site-footer__social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 241, 195, 0.4);
  text-decoration: none;
}

.footer-admin-link {
  color: #fff1c3;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  color: var(--blue-900);
  font-weight: 600;
}

.detail-card-transition {
  position: fixed;
  inset: 0;
  z-index: 94;
  overflow: hidden;
  pointer-events: none;
}

.detail-card-transition__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.18), rgba(15, 23, 42, 0.42));
  opacity: 0;
}

.detail-card-transition__card {
  position: fixed;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
}

.detail-card-transition__card.benefit-card__face--front,
.detail-card-transition__card .benefit-card__face--front {
  position: relative;
  inset: auto;
}

.detail-card-transition__card .benefit-card__brand img {
  pointer-events: none;
}

.detail-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(10px);
}

.detail-modal {
  position: relative;
  width: min(1060px, calc(100vw - 56px));
  max-height: calc(100vh - 60px);
  border-radius: 28px;
  background: #f8fbff;
  box-shadow: 0 36px 90px rgba(15, 23, 42, 0.3);
  overflow: hidden;
}

.detail-modal__scroll {
  max-height: calc(100vh - 60px);
  overflow: auto;
  padding: 0 16px 22px;
}

.detail-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-900);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.16);
}

.detail-modal__share {
  position: absolute;
  top: 16px;
  right: 72px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-900);
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.detail-modal__share-launch {
  position: absolute;
  top: 16px;
  right: 128px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-900);
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.detail-modal__share-launch:hover {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 16px 28px rgba(17, 24, 39, 0.16);
}

.detail-modal__share:hover {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 16px 28px rgba(17, 24, 39, 0.16);
}

.detail-modal__share-launch svg,
.detail-modal__share svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

.detail-modal__share-feedback {
  position: absolute;
  top: 22px;
  right: 126px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.detail-modal__share-feedback.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.detail-share-panel {
  position: fixed;
  inset: 0;
  z-index: 115;
}

.detail-share-panel.is-visible {
  display: block;
}

.detail-discounts-modal {
  position: fixed;
  inset: 0;
  z-index: 112;
}

.detail-discounts-modal.is-visible {
  display: block;
}

.detail-discounts-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.44);
  backdrop-filter: blur(6px);
}

.detail-discounts-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, calc(100vw - 28px));
  max-height: min(72vh, 760px);
  padding: 24px;
  overflow: auto;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(0, 63, 183, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.24);
}

.detail-discounts-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 63, 183, 0.08);
  color: var(--blue-900);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.detail-discounts-modal__header {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding-right: 40px;
}

.detail-discounts-modal__header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-discounts-modal__header h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.detail-discounts-modal__header span {
  color: var(--muted);
  font-size: 0.98rem;
}

.detail-discounts-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-share-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(8px);
}

.detail-share-panel__sheet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(560px, calc(100vw - 28px));
  max-height: min(76vh, 760px);
  padding: 24px;
  overflow: auto;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(0, 63, 183, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
}

.detail-share-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.detail-share-panel__header p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-share-panel__header h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.05;
}

.detail-share-panel__close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 63, 183, 0.08);
  color: var(--blue-900);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.detail-share-panel__native {
  margin-bottom: 14px;
}

.detail-share-panel__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-share-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 16px;
  border: 1px solid rgba(0, 63, 183, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: #182338;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.detail-share-option:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 63, 183, 0.22);
  box-shadow: 0 14px 24px rgba(0, 63, 183, 0.1);
}

.detail-share-option__icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  flex: 0 0 auto;
}

.detail-share-option--native .detail-share-option__icon,
.detail-share-option.is-telegram .detail-share-option__icon {
  background: #229ed9;
}

.detail-share-option.is-whatsapp .detail-share-option__icon {
  background: #25d366;
}

.detail-share-option.is-messenger .detail-share-option__icon {
  background: linear-gradient(135deg, #0084ff, #7b5cff);
}

.detail-share-option.is-facebook .detail-share-option__icon {
  background: #1877f2;
}

.detail-share-option.is-instagram .detail-share-option__icon {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
}

.detail-share-option.is-sms .detail-share-option__icon {
  background: #16a34a;
}

.detail-share-option.is-gmail .detail-share-option__icon {
  background: #ea4335;
}

.detail-share-option.is-mail .detail-share-option__icon {
  background: #64748b;
}

.detail-share-option.is-x .detail-share-option__icon {
  background: #111111;
}

.detail-share-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 63, 183, 0.1);
}

.detail-share-panel__footer span {
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-hero--modal {
  margin-top: 18px;
}

.detail-summary--modal {
  width: min(1100px, calc(100% - 28px));
  margin-bottom: 0;
  border-radius: 28px;
  position: relative;
  z-index: 4;
}

.detail-highlights--modal,
.detail-section--modal {
  margin-left: auto;
  margin-right: auto;
  width: min(1020px, calc(100% - 76px));
}

.detail-summary--modal .detail-summary__icon {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  font-size: 1.7rem;
}

.detail-summary--modal h2 {
  font-size: 1rem;
}

.detail-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-highlights--modal {
  width: min(1020px, calc(100% - 100px));
  margin-top: -58px;
  padding-top: 26px;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 22px 40px rgba(0, 63, 183, 0.08);
  position: relative;
  z-index: 1;
}

.detail-highlights--modal article span {
  line-height: 1.35;
  font-size: 0.9rem;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.social-icon.is-facebook {
  background: #1877f2;
}

.social-icon.is-instagram {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
}

.social-icon.is-x {
  background: #111111;
}

.social-icon.is-default {
  background: var(--blue-900);
}

.detail-restrictions {
  margin: 0;
  padding-left: 18px;
}

.detail-restrictions li + li {
  margin-top: 6px;
}

.detail-hero {
  min-height: 500px;
  padding: 48px 44px 160px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #37145c;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 22%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 28%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.04) 0%, rgba(17, 24, 39, 0.16) 100%);
}

.detail-hero__content {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.detail-hero h1 {
  margin: 26px 0 10px;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.detail-hero p {
  margin: 0;
  font-size: 1.5rem;
}

.promo-burst {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 198px;
  min-height: 92px;
  margin-top: 34px;
  padding: 12px 18px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-radius: 18px;
  box-shadow: 0 20px 30px rgba(0, 63, 183, 0.2);
}

.promo-burst strong {
  font-size: 1.95rem;
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 160px;
}

.detail-summary {
  position: relative;
  z-index: 2;
  width: min(1030px, calc(100% - 72px));
  margin: -86px auto 18px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: minmax(88px, 12%) minmax(0, 88%);
  gap: 18px;
  align-items: center;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.detail-summary__icon {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 92px;
  background: transparent;
  color: var(--blue-900);
  font-size: 1.8rem;
  justify-self: center;
}

.detail-summary__icon .commerce-logo {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  background: #ffffff;
  padding: 0;
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.1);
}

.detail-summary__icon .commerce-logo img {
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: contain;
  object-position: center;
  display: block;
  filter: none;
}

.detail-summary__icon .commerce-logo__fallback {
  font-size: 1.45rem;
  color: var(--blue-900);
  background: transparent;
}

.detail-summary h1 {
  margin: 0 0 6px;
  color: var(--blue-900);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.detail-summary__content {
  width: 100%;
  max-width: none;
}

.detail-summary__content p {
  max-width: 100%;
}

.detail-summary__content--no-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 116px;
}

.detail-summary__content--no-description h1 {
  margin: 0;
}

.detail-summary p {
  margin: 0;
  font-size: 0.97rem;
  max-width: 640px;
  line-height: 1.35;
}

.detail-summary__content {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.detail-summary__more-discounts {
  width: fit-content;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(0, 63, 183, 0.16);
  border-radius: 999px;
  background: rgba(0, 63, 183, 0.07);
  color: var(--blue-900);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.detail-summary__more-discounts:hover {
  transform: translateY(-1px);
  background: rgba(0, 63, 183, 0.12);
  box-shadow: 0 12px 20px rgba(0, 63, 183, 0.12);
}

.detail-summary__price {
  text-align: center;
  justify-self: end;
}

.detail-summary__price small {
  display: block;
  color: var(--muted);
  text-decoration: line-through;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.detail-summary__price strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 198px;
  min-height: 92px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: #fff;
  font-size: 1.95rem;
}

.detail-highlights {
  display: grid;
  grid-template-columns: 1fr;
  border: 2px solid var(--blue-900);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}

.detail-highlights article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 96px;
  padding: 18px 18px;
}

.detail-highlights article + article {
  border-left: 1px solid var(--line);
}

.detail-highlights article:first-child:last-child {
  min-height: 84px;
}

.detail-highlights article:first-child:last-child + article {
  display: none;
}

.detail-highlights__icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--blue-900);
  font-size: 1.18rem;
  font-weight: 700;
}

.detail-highlights__restriction-list,
#detailRestriction {
  display: grid;
  gap: 8px;
  width: 100%;
}

.detail-highlights__restriction-line {
  display: block;
  line-height: 1.5;
  color: var(--text);
}

.detail-section {
  width: min(1020px, calc(100% - 76px));
  margin: 24px auto 0;
}

.detail-section h2 {
  margin: 0 0 14px;
  color: var(--blue-900);
}

.detail-page-shell {
  padding-bottom: 42px;
}

.detail-extended-card {
  display: grid;
  gap: 0;
}

.detail-extended-card--modal {
  padding-bottom: 10px;
}

.detail-hero--standalone {
  margin-top: 12px;
}

.detail-summary--standalone,
.detail-summary--modal {
  width: min(1100px, calc(100% - 28px));
}

.detail-summary--standalone {
  margin-bottom: 0;
  border-radius: 28px;
  position: relative;
  z-index: 4;
}

.detail-highlights--standalone,
.detail-section--standalone {
  margin-left: auto;
  margin-right: auto;
  width: min(1020px, calc(100% - 76px));
}

.detail-highlights--standalone {
  width: min(1020px, calc(100% - 100px));
  margin-top: -58px;
  padding-top: 26px;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 22px 40px rgba(0, 63, 183, 0.08);
  position: relative;
  z-index: 1;
}

.detail-summary--standalone .detail-summary__icon,
.detail-summary--modal .detail-summary__icon {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  font-size: 1.7rem;
}

.detail-extra-discounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-extra-discount-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(0, 63, 183, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  box-shadow: var(--shadow-md);
}

.detail-extra-discount-card strong {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue-900);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.detail-extra-discount-card h3 {
  margin: 0 0 8px;
  color: #12213f;
  font-size: 1.02rem;
}

.detail-extra-discount-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.important-note--standalone {
  width: min(1020px, calc(100% - 76px));
  margin-left: auto;
  margin-right: auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.info-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #d8dfea;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.info-card h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 1rem;
}

.info-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.important-note {
  margin: 24px 0 42px;
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #e9f2ff, #edf5ff);
  color: #0f2f78;
}

.important-note > strong:first-child {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 14px 22px rgba(0, 63, 183, 0.18);
}

.important-note > div {
  display: grid;
  gap: 4px;
}

.important-note > div > strong {
  font-size: 1.08rem;
}

.important-note > div > p {
  font-size: 1rem;
}

.important-note--modal {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  gap: 16px;
  padding: 22px 26px;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.important-note--modal > strong:first-child {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.important-note--modal > div {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 4px;
  text-align: left;
  width: 100%;
}

.important-note--modal > div > strong {
  font-size: 1.28rem;
  line-height: 1;
}

.important-note--modal > div > p {
  font-size: 2.08rem;
  max-width: none;
  line-height: 1.35;
}

.important-note--modal > div > p:first-of-type {
  font-size: 1.58rem;
  font-weight: 700;
  line-height: 1.32;
  color: var(--blue-900);
}

.important-note--modal > div > p:first-of-type a {
  display: inline-block;
  margin-left: 2px;
  color: #003fb7;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.important-note--modal > div > p + p {
  margin-top: 2px;
}

.important-note--modal > div > p:last-of-type {
  color: rgba(0, 63, 183, 0.62);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.important-note--modal > div > p:last-of-type br {
  display: none;
}

.important-note--modal a {
  color: var(--blue-900);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-location-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(0, 63, 183, 0.08), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f6faff 100%);
  border: 1px solid rgba(0, 63, 183, 0.12);
  box-shadow: 0 18px 28px rgba(0, 63, 183, 0.08);
}

.detail-location-panel__copy {
  display: grid;
  gap: 8px;
}

.detail-location-panel__copy span {
  color: var(--blue-900);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-location-panel__copy h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.4rem;
  line-height: 1.05;
}

.detail-location-panel__copy p {
  margin: 0;
  color: #334155;
  line-height: 1.5;
}

.detail-location-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


.detail-discounts-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
}

.detail-discounts-modal.is-visible {
  display: block;
}

.detail-discounts-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
}

.detail-discounts-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(860px, calc(100vw - 28px));
  max-height: min(76vh, 780px);
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  border: 1px solid rgba(0, 63, 183, 0.12);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.28);
  transform: translate(-50%, -50%);
  overflow: auto;
}

.detail-discounts-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 63, 183, 0.08);
  color: var(--blue-900);
  font-size: 1.6rem;
  cursor: pointer;
}

.detail-discounts-modal__header {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.detail-discounts-modal__header p,
.detail-discounts-modal__header span {
  margin: 0;
  color: var(--muted);
}

.detail-discounts-modal__header p {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-discounts-modal__header h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  line-height: 1;
}

.detail-discounts-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-discount-card {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(0, 63, 183, 0.1);
  box-shadow: 0 18px 28px rgba(0, 63, 183, 0.08);
}

.detail-discount-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 34px;
  margin-bottom: 12px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 63, 183, 0.08);
  color: var(--blue-900);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.detail-discount-card h4 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1.2;
}

.detail-discount-card p {
  margin: 0;
  color: #334155;
  line-height: 1.5;
}

.detail-locations-modal {
  position: fixed;
  inset: 0;
  z-index: 111;
}

.detail-locations-modal.is-visible {
  display: block;
}

.detail-locations-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
}

.detail-locations-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(920px, calc(100vw - 28px));
  max-height: min(78vh, 820px);
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  border: 1px solid rgba(0, 63, 183, 0.12);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.28);
  transform: translate(-50%, -50%);
  overflow: auto;
}

.detail-locations-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 63, 183, 0.08);
  color: var(--blue-900);
  font-size: 1.6rem;
  cursor: pointer;
}

.detail-locations-modal__header {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.detail-locations-modal__header p,
.detail-locations-modal__header span {
  margin: 0;
  color: var(--muted);
}

.detail-locations-modal__header p {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-locations-modal__header h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  line-height: 1;
}

.detail-locations-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-location-card {
  padding: 20px 18px 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(0, 63, 183, 0.1);
  box-shadow: 0 18px 28px rgba(0, 63, 183, 0.08);
}

.detail-location-card h4 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1.2;
}

.detail-location-card p {
  margin: 0 0 16px;
  color: #334155;
  line-height: 1.5;
}

.detail-location-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
  background: linear-gradient(135deg, #f4f7fd 0%, #edf3ff 100%);
  position: relative;
  transition: grid-template-columns 0.28s ease;
}

.admin-sidebar {
  padding: 28px 22px;
  background: linear-gradient(180deg, #0f2c80 0%, #0f4bcf 100%);
  color: #fff;
  transition: opacity 0.24s ease, transform 0.28s ease, padding 0.28s ease;
  overflow: hidden;
}

.admin-sidebar nav {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.admin-sidebar a,
.admin-sidebar button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-sidebar [hidden] {
  display: none !important;
}

.admin-shell__toggle {
  position: fixed;
  top: 108px;
  left: 264px;
  z-index: 30;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 30px;
  height: 74px;
  padding: 0;
  border: 1px solid rgba(15, 75, 207, 0.18);
  border-left: none;
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 10px 18px 34px rgba(18, 33, 63, 0.12);
  cursor: pointer;
  transition: left 0.28s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-shell__toggle:hover {
  transform: translateX(2px);
  box-shadow: 14px 20px 38px rgba(18, 33, 63, 0.16);
}

.admin-shell__toggle-bar {
  position: absolute;
  width: 11px;
  height: 2.5px;
  border-radius: 999px;
  background: #003fb7;
  transition: transform 0.24s ease, opacity 0.2s ease, background 0.2s ease;
}

.admin-shell__toggle-bar:nth-child(1) {
  transform: translate(-1px, -4px) rotate(45deg);
}

.admin-shell__toggle-bar:nth-child(2) {
  width: 2px;
  height: 26px;
  background: rgba(0, 63, 183, 0.16);
  transform: none;
}

.admin-shell__toggle-bar:nth-child(3) {
  transform: translate(-1px, 4px) rotate(-45deg);
}

.admin-shell.is-sidebar-collapsed {
  grid-template-columns: 0 1fr;
}

.admin-shell.is-sidebar-collapsed .admin-sidebar {
  opacity: 0;
  transform: translateX(-24px);
  pointer-events: none;
  padding-left: 0;
  padding-right: 0;
}

.admin-shell.is-sidebar-collapsed .admin-shell__toggle {
  left: 0;
  border-left: 1px solid rgba(15, 75, 207, 0.18);
  border-right: none;
  border-radius: 0 18px 18px 0;
}

.admin-shell.is-sidebar-collapsed .admin-shell__toggle-bar:nth-child(1) {
  transform: translate(1px, -4px) rotate(-45deg);
}

.admin-shell.is-sidebar-collapsed .admin-shell__toggle-bar:nth-child(2) {
  opacity: 1;
}

.admin-shell.is-sidebar-collapsed .admin-shell__toggle-bar:nth-child(3) {
  transform: translate(1px, 4px) rotate(45deg);
}

.admin-content {
  padding: 28px;
  min-width: 0;
  transition: padding 0.28s ease;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-export-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-export-actions .button {
  min-width: 160px;
}

.admin-topbar__panel,
.admin-card,
.login-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(218, 229, 248, 0.95);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.admin-topbar__panel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 24px;
}

.admin-topbar__panel small {
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

.admin-grid--dashboard {
  margin-top: 8px;
}

.admin-grid--dashboard-secondary {
  margin-top: 14px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.admin-grid--insights {
  margin-top: 16px;
}

.admin-grid--insights-extended {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.admin-card {
  padding: 22px;
  border-radius: 22px;
}

.admin-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.6rem;
  color: var(--blue-900);
}

.admin-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.35;
}

.admin-card span {
  color: #41506a;
  font-weight: 600;
}

.admin-card--summary strong {
  font-size: clamp(1.25rem, 1.7vw, 1.7rem);
}

.admin-card--insight strong {
  font-size: clamp(1.2rem, 2vw, 1.15rem);
  line-height: 1.02;
}

.admin-layout-card {
  margin-top: 22px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.admin-users-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.95fr);
  gap: 22px;
  align-items: start;
}

.admin-user-form {
  display: grid;
  gap: 20px;
}

.wizard-toggles--users {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-permissions-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(59, 130, 246, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 247, 255, 0.96) 100%);
}

.admin-permissions-card__header {
  margin-bottom: 16px;
}

.admin-permissions-card__header h3 {
  margin: 0;
  color: var(--brand-blue);
}

.admin-permissions-card__header p {
  margin: 6px 0 0;
  color: var(--muted);
}

.admin-permissions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.permission-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
}

.permission-chip input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-blue);
}

.permission-chip.is-disabled {
  opacity: 0.56;
}

.admin-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(226, 232, 240, 0.72);
  color: var(--ink);
}

.admin-user-pill.is-superadmin {
  background: linear-gradient(135deg, rgba(255, 233, 163, 0.98) 0%, rgba(235, 183, 58, 0.92) 100%);
  color: #6f4500;
}

.admin-user-pill.is-editor {
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-blue);
}

.admin-user-permissions {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.table-wrapper {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table--commerce {
  min-width: 1480px;
}

th,
td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #e6ebf4;
  vertical-align: top;
}

.admin-table--commerce th {
  white-space: nowrap;
  font-size: 0.95rem;
}

.admin-table--commerce td {
  font-size: 0.95rem;
  line-height: 1.32;
}

.admin-table--commerce td:first-child {
  width: 60px;
}

.admin-table--commerce td:nth-child(2) {
  min-width: 138px;
}

.admin-table--commerce td:nth-child(3) {
  min-width: 148px;
}

.admin-table--commerce td:nth-child(4) {
  min-width: 98px;
}

.admin-table--commerce td:nth-child(10) {
  min-width: 114px;
}

.admin-table--commerce td:nth-child(11) {
  min-width: 132px;
}

td small {
  display: block;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-pill.is-active {
  color: #0f7a39;
  background: #dcfce7;
}

.status-pill.is-vigente {
  color: #0f7a39;
  background: #dcfce7;
}

.status-pill.is-por-vencer {
  color: #8a5a00;
  background: #fef3c7;
}

.status-pill.is-en-renovacion {
  color: #1d4ed8;
  background: #dbeafe;
}

.status-pill.is-vencido {
  color: #991b1b;
  background: #fee2e2;
}

.status-pill.is-suspendido {
  color: #c2410c;
  background: #ffedd5;
}

.status-pill.is-inactive {
  color: #475569;
  background: #e2e8f0;
}

.status-pill.is-pending,
.status-pill.is-neutral {
  color: #475569;
  background: #eef2f7;
  border: 1px dashed rgba(71, 85, 105, 0.28);
}

.table-actions {
  display: flex;
  gap: 8px;
}

.admin-table--commerce .table-actions {
  min-width: 248px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.admin-table--commerce .table-actions .button {
  flex: 0 1 auto;
  min-width: 72px;
  font-size: 0.74rem;
  line-height: 1.1;
  padding: 8px 10px;
  white-space: nowrap;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-toolbar--stack {
  align-items: flex-start;
}

.admin-toolbar--commerce {
  align-items: flex-start;
  gap: 18px;
}

.admin-toolbar__summary {
  flex: 0 0 240px;
}

.admin-toolbar__summary h2 {
  margin: 0 0 8px;
  font-size: 1.24rem;
}

.admin-toolbar__summary p {
  margin: 0;
  color: var(--muted);
}

.admin-toolbar__filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-toolbar__filters--commerce {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 14px;
}

.admin-filter {
  min-width: 0;
}

.admin-filter--span-3 {
  grid-column: 1 / -1;
}

.admin-filter--action {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.admin-filter--action .button {
  min-width: 190px;
}

.admin-filter--dashboard-note {
  display: flex;
  align-items: end;
}

.admin-filter-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.admin-analytics-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.admin-chart-card {
  margin-top: 0;
}

.admin-chart-card--full {
  grid-column: auto;
}

.admin-list-card {
  margin-top: 0;
  padding: 10px 10px 8px;
  border-radius: 20px;
}

.admin-analytics-grid--panels {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-analytics-grid--commerce-focus {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: start;
}

.admin-chart-card--wide {
  grid-column: auto;
}

.admin-chart-shell--commerce {
  height: 360px;
}

.selected-commerce-insights {
  display: grid;
  gap: 14px;
}

.selected-commerce-insights__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.selected-commerce-insights__metric {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(218, 229, 248, 0.95);
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.selected-commerce-insights__metric span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.selected-commerce-insights__metric strong {
  display: block;
  font-size: 1.12rem;
  color: var(--blue-900);
}

.selected-commerce-insights__history {
  display: grid;
  gap: 10px;
}

.selected-commerce-insights__event {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(218, 229, 248, 0.95);
  background: rgba(255, 255, 255, 0.95);
}

.selected-commerce-insights__event-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.selected-commerce-insights__event-head strong {
  color: var(--blue-900);
  font-size: 0.98rem;
}

.selected-commerce-insights__event-head span {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.selected-commerce-insights__event p {
  margin: 0;
  color: #20314f;
  line-height: 1.45;
}

.selected-commerce-insights__event small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.selected-commerce-insights__empty {
  padding: 22px;
  border-radius: 18px;
  border: 1px dashed rgba(195, 211, 239, 0.95);
  background: rgba(247, 250, 255, 0.82);
  color: var(--muted);
}

@media (max-width: 1500px) {
  .admin-grid--dashboard {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-grid--dashboard-secondary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-analytics-grid--panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-analytics-grid--commerce-focus {
    grid-template-columns: 1fr;
  }

  .admin-table--commerce {
    min-width: 1180px;
  }

  .admin-table--commerce th,
  .admin-table--commerce td {
    padding: 12px 10px;
  }

  .admin-table--commerce td {
    font-size: 0.9rem;
  }

  .admin-table--commerce .table-actions {
    min-width: 232px;
  }
}

@media (max-width: 1600px) {
  .admin-table--commerce {
    min-width: 1360px;
  }

  .admin-table--commerce td:nth-child(2) {
    min-width: 124px;
  }

  .admin-table--commerce td:nth-child(3) {
    min-width: 128px;
  }

  .admin-table--commerce .table-actions {
    min-width: 220px;
  }

  .admin-table--commerce .table-actions .button {
    min-width: 68px;
    font-size: 0.72rem;
    padding: 7px 9px;
  }
}

.admin-list-card .admin-toolbar {
  margin-bottom: 12px;
}

.admin-list-card .admin-toolbar h2 {
  font-size: 1.08rem;
  line-height: 1.1;
}

.admin-list-card .admin-toolbar p {
  font-size: 0.88rem;
  line-height: 1.35;
}

.admin-chart-shell {
  position: relative;
  height: 320px;
  min-height: 0;
  padding-top: 6px;
}

/* Gráficos circulares más pequeños */
.admin-chart-shell:has(#provinceCoverageChart),
.admin-chart-shell:has(#catalogHealthChart) {
  height: 300px;
  max-width: 420px;
  margin: 0 auto;
}

/* Gráfico horizontal de categorías */
.admin-chart-shell:has(#categoryDistributionChart) {
  height: 330px;
}

/* Gráfico inferior */
.admin-chart-shell--compact {
  height: 280px;
  min-height: 0;
}

.admin-chart-shell canvas {
  width: 100% !important;
  height: 100% !important;
}

.admin-stat-list,
.admin-check-list {
  display: grid;
  gap: 8px;
}

.admin-stat-list__item,
.admin-check-list__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 63, 183, 0.1);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.admin-stat-list__rank {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(0, 63, 183, 0.08);
  color: var(--blue-900);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.admin-stat-list__copy,
.admin-check-list__label {
  display: grid;
  gap: 4px;
}

.admin-stat-list__copy strong,
.admin-check-list__label strong {
  color: #102149;
  font-size: 0.94rem;
  line-height: 1.2;
}

.admin-stat-list__copy small,
.admin-check-list__label small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

.admin-stat-list__value,
.admin-check-list__value {
  color: var(--blue-900);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

.admin-check-list__item {
  grid-template-columns: minmax(0, 1fr) auto;
  position: relative;
}

.admin-check-list__item.has-popover {
  cursor: pointer;
}

.admin-check-list__item.has-popover:focus-visible {
  outline: 2px solid rgba(0, 63, 183, 0.34);
  outline-offset: 2px;
}

.admin-check-list__popover {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  z-index: 20;
  width: min(360px, calc(100vw - 48px));
  max-height: 260px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0, 63, 183, 0.14);
  background:
    radial-gradient(circle at top right, rgba(244, 197, 66, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.98));
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  pointer-events: none;
}

.admin-check-list__item.has-popover:hover .admin-check-list__popover,
.admin-check-list__item.has-popover:focus-visible .admin-check-list__popover,
.admin-check-list__item.has-popover:focus-within .admin-check-list__popover {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.admin-check-list__popover-title {
  display: block;
  margin-bottom: 10px;
  color: #102149;
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-check-list__popover-list {
  display: grid;
  gap: 8px;
  max-height: 206px;
  overflow-y: auto;
  padding-right: 4px;
}

.admin-check-list__popover-item {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 63, 183, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

.admin-check-list__popover-item strong {
  color: #102149;
  font-size: 0.86rem;
  line-height: 1.2;
}

.admin-check-list__popover-item small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

.admin-empty-state {
  margin: 0;
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(0, 63, 183, 0.14);
  color: var(--muted);
  background: rgba(248, 251, 255, 0.9);
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(15, 75, 207, 0.2), transparent 30%),
    linear-gradient(135deg, #eef4ff 0%, #f8fbff 100%);
}

.login-card {
  width: min(460px, 100%);
  padding: 34px;
  border-radius: 28px;
}

.login-card h1 {
  margin: 20px 0 8px;
  color: var(--blue-900);
}

.wizard-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.82fr);
  gap: 24px;
  align-items: start;
}

.wizard-main,
.wizard-summary__card {
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96));
  border: 1px solid rgba(0, 63, 183, 0.1);
  box-shadow: 0 22px 54px rgba(17, 24, 39, 0.08);
}

.wizard-main {
  padding: 26px;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.wizard-progress__step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 63, 183, 0.12);
  border-radius: 20px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.wizard-progress__step:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(0, 63, 183, 0.1);
}

.wizard-progress__step.is-active {
  border-color: var(--blue-900);
  box-shadow: 0 18px 30px rgba(0, 63, 183, 0.12);
}

.wizard-progress__step.is-complete {
  border-color: rgba(21, 163, 74, 0.2);
  background: linear-gradient(180deg, #ffffff, #f3fff7);
}

.wizard-progress__index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(0, 63, 183, 0.08);
  color: var(--blue-900);
  font-weight: 800;
  flex: 0 0 auto;
}

.wizard-progress__step.is-active .wizard-progress__index,
.wizard-progress__step.is-complete .wizard-progress__index {
  background: var(--blue-900);
  color: #fff;
}

.wizard-progress__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.wizard-progress__copy strong {
  color: #162033;
  font-size: 0.98rem;
}

.wizard-progress__copy small {
  color: var(--muted);
  font-size: 0.79rem;
}

.wizard-step-header {
  margin: 24px 0 22px;
}

.wizard-step-header__eyebrow,
.wizard-summary__eyebrow {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wizard-step-header h2 {
  margin: 0 0 8px;
  color: #102149;
  font-size: clamp(1.75rem, 2vw, 2.2rem);
}

.wizard-step-header p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
}

.wizard-step {
  animation: wizardStepIn 0.22s ease;
}

@keyframes wizardStepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.wizard-step[data-step="0"] > .form-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  grid-template-areas:
    "id nombre"
    "clasificacion cobertura"
    "beneficio cobertura"
    "canton cobertura"
    "estado estado";
  align-items: start;
}

.wizard-step[data-step="0"] > .form-grid > .form-group:nth-child(1) {
  grid-area: id;
}

.wizard-step[data-step="0"] > .form-grid > .form-group:nth-child(2) {
  grid-area: nombre;
}

.wizard-step[data-step="0"] > .form-grid > .form-group:nth-child(3) {
  grid-area: clasificacion;
  padding: 14px 16px 16px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(0, 63, 183, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid rgba(0, 63, 183, 0.12);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.05);
}

.wizard-step[data-step="0"] > .form-grid > .form-group:nth-child(4) {
  grid-area: cobertura;
  align-self: stretch;
  padding: 14px 16px 16px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(244, 197, 66, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid rgba(0, 63, 183, 0.12);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.05);
}

.wizard-step[data-step="0"] > .form-grid > .form-group:nth-child(5) {
  grid-area: canton;
}

.wizard-step[data-step="0"] > .form-grid > .form-group:nth-child(6) {
  grid-area: beneficio;
}

.wizard-step[data-step="0"] > .form-grid > .form-group:nth-child(7) {
  grid-area: estado;
}

.wizard-step[data-step="0"] > .form-grid > .form-group:nth-child(3) label,
.wizard-step[data-step="0"] > .form-grid > .form-group:nth-child(4) label {
  font-size: 1.02rem;
  color: #102149;
}

.wizard-step[data-step="0"] > .form-grid > .form-group:nth-child(3)::before,
.wizard-step[data-step="0"] > .form-grid > .form-group:nth-child(4)::before {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-900);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wizard-step[data-step="0"] > .form-grid > .form-group:nth-child(3)::before {
  content: "Clasificacion comercial";
}

.wizard-step[data-step="0"] > .form-grid > .form-group:nth-child(4)::before {
  content: "Cobertura territorial";
}

.wizard-step[data-step="0"] > .form-grid > .form-group:nth-child(6) {
  align-self: start;
}

.form-grid .form-group--full {
  grid-column: 1 / -1;
}

.form-inline-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-inline-control .form-control {
  flex: 1 1 auto;
}

.province-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.province-selector__option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  color: #1f2937;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.province-selector__option:hover {
  border-color: rgba(0, 63, 183, 0.28);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.province-selector__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.province-selector__bullet {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(0, 63, 183, 0.24);
  background: #ffffff;
  box-shadow: inset 0 0 0 4px #ffffff;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.province-selector__option span:last-child {
  line-height: 1.2;
}

.province-selector__option.is-selected {
  border-color: rgba(0, 63, 183, 0.5);
  box-shadow: 0 18px 32px rgba(0, 63, 183, 0.12);
}

.province-selector__option.is-selected .province-selector__bullet {
  border-color: var(--blue-900);
  background: var(--blue-900);
  box-shadow: inset 0 0 0 4px #ffffff;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  color: #1f2937;
  font-weight: 600;
}

.wizard-toggles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.toggle-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 0 18px;
  border-radius: 20px;
  border: 1px solid rgba(0, 63, 183, 0.12);
  background: linear-gradient(180deg, #fff, #f8fbff);
  color: #162033;
  font-weight: 600;
}

.toggle-card input {
  accent-color: var(--blue-900);
}

.wizard-review-card {
  padding: 22px 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(244, 197, 66, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(0, 63, 183, 0.06), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(0, 63, 183, 0.08);
}

.wizard-review-card h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
}

.wizard-review-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.wizard-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
  align-items: stretch;
}

.wizard-preview-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  height: 100%;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(0, 63, 183, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid rgba(0, 63, 183, 0.14);
  box-shadow: 0 18px 32px rgba(17, 24, 39, 0.06);
}

.wizard-preview-card strong {
  color: #102149;
  font-size: 1rem;
}

.wizard-preview {
  position: relative;
  display: grid;
  align-self: stretch;
  place-items: center;
  overflow: hidden;
  min-height: 220px;
  height: 100%;
  border-radius: 22px;
  border: 1px dashed rgba(0, 63, 183, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 255, 0.98));
}

.wizard-preview span {
  color: #6b7280;
  font-weight: 600;
}

.wizard-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.wizard-preview--logo img {
  object-fit: contain;
  padding: 18px;
  background: #fff;
}

.wizard-summary {
  position: sticky;
  top: 100px;
}

.wizard-summary__card {
  padding: 24px;
}

.wizard-summary__card h3 {
  margin: 0 0 8px;
  color: #102149;
  font-size: 1.35rem;
}

.wizard-summary__card p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.wizard-summary__list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.wizard-summary__list li {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(216, 225, 242, 0.88);
}

.wizard-summary__list strong {
  color: var(--blue-900);
  font-size: 0.86rem;
}

.wizard-summary__list span {
  color: #1f2937;
  font-weight: 500;
  word-break: break-word;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.form-actions--wizard {
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 225, 242, 0.9);
}

.form-actions__wizard-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.empty-state {
  padding: 50px 24px;
  text-align: center;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  min-width: 280px;
  padding: 16px 18px;
  border-radius: 16px;
  color: #fff;
  transform: translateY(16px);
  opacity: 0;
  transition: 0.25s ease;
  z-index: 90;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast--success {
  background: linear-gradient(135deg, #059669, #047857);
}

.toast--error {
  background: linear-gradient(135deg, #dc2626, #991b1b);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.42);
  z-index: 80;
}

.modal {
  width: min(460px, 100%);
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.modal--form {
  width: min(540px, 100%);
  padding: 26px;
  border: 1px solid rgba(0, 63, 183, 0.12);
  background:
    radial-gradient(circle at top right, rgba(0, 63, 183, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.modal__eyebrow {
  margin: 0 0 6px;
  color: var(--blue-900);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal__lead {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.modal__form {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.modal__field {
  display: grid;
  gap: 8px;
}

.modal__field span {
  color: #1f2937;
  font-weight: 700;
}

.modal__icon-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 63, 183, 0.08);
  color: var(--blue-900);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.modal h3 {
  margin: 0 0 12px;
}

.modal p {
  margin: 0 0 16px;
  color: var(--muted);
}

.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.modal-backdrop--admin {
  z-index: 120;
  align-items: flex-start;
  overflow-y: auto;
  padding: 24px 20px;
}

.modal--admin {
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 63, 183, 0.1);
  background:
    radial-gradient(circle at top right, rgba(244, 197, 66, 0.1), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.modal--wide {
  width: min(920px, 100%);
}

.modal--xl {
  width: min(1180px, calc(100vw - 40px));
}

.modal__header--admin {
  align-items: flex-start;
  padding: 24px 26px 18px;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(216, 225, 242, 0.9);
}

.modal__header--admin h3 {
  margin: 0 0 8px;
  color: #102149;
  font-size: 1.5rem;
}

.modal__header--admin p {
  margin: 0;
  color: var(--muted);
}

.modal__content--admin {
  padding: 22px 26px 26px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal__close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 63, 183, 0.08);
  color: var(--blue-900);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}

.admin-inline-form {
  display: grid;
  gap: 18px;
}

.wizard-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wizard-preview-card--contract {
  min-height: 420px;
}

.wizard-contract-preview {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  min-height: 320px;
  height: 100%;
  padding: 16px;
  border-radius: 22px;
  border: 1px dashed rgba(0, 63, 183, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 255, 0.98));
}

.wizard-contract-preview > span {
  display: grid;
  place-items: center;
  min-height: 100%;
  color: #64748b;
  font-weight: 600;
}

.wizard-contract-preview__actions {
  display: flex;
  justify-content: flex-end;
}

.wizard-contract-preview iframe {
  width: 100%;
  min-height: 280px;
  height: 100%;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(216, 225, 242, 0.9);
}

.commerce-history-panel {
  padding: 22px 24px;
  border-radius: 26px;
  border: 1px solid rgba(0, 63, 183, 0.12);
  background:
    radial-gradient(circle at top right, rgba(0, 63, 183, 0.06), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.commerce-history-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.commerce-history-panel__header h3 {
  margin: 4px 0 0;
  color: #102149;
  font-size: 1.25rem;
}

.commerce-history-timeline {
  display: grid;
  gap: 16px;
}

.commerce-history-timeline__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
}

.commerce-history-timeline__dot {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-900), #2d6dff);
  box-shadow: 0 0 0 6px rgba(0, 63, 183, 0.08);
}

.commerce-history-timeline__dot::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 2px;
  height: calc(100% + 26px);
  background: rgba(0, 63, 183, 0.12);
  transform: translateX(-50%);
}

.commerce-history-timeline__item:last-child .commerce-history-timeline__dot::after {
  display: none;
}

.commerce-history-timeline__content {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(216, 225, 242, 0.9);
  background: rgba(255, 255, 255, 0.96);
}

.commerce-history-timeline__header,
.commerce-history-timeline__subheader,
.commerce-history-timeline__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.commerce-history-timeline__header {
  justify-content: space-between;
  align-items: baseline;
}

.commerce-history-timeline__header strong {
  color: #102149;
  font-size: 1rem;
  text-transform: capitalize;
}

.commerce-history-timeline__header span,
.commerce-history-timeline__subheader span,
.commerce-history-timeline__meta span,
.commerce-history-timeline__content small {
  color: var(--muted);
  font-size: 0.9rem;
}

.commerce-history-timeline__status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 63, 183, 0.08);
  color: var(--blue-900);
  font-size: 0.8rem;
  font-weight: 700;
}

.commerce-history-timeline__content p {
  margin: 0;
  color: #1f2937;
  line-height: 1.55;
}

.commerce-history-timeline__contract {
  color: var(--blue-900);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.commerce-report-list,
.commerce-record-contract-shell {
  display: grid;
  gap: 16px;
}

.commerce-report-list__grid,
.commerce-record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.commerce-report-card,
.commerce-record-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(216, 225, 242, 0.9);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.commerce-report-card__header,
.commerce-report-card__metrics,
.commerce-report-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

.commerce-report-card__header strong,
.commerce-record-card strong {
  color: #102149;
  font-size: 1rem;
}

.commerce-report-card__header span,
.commerce-record-card span,
.commerce-record-card small,
.commerce-report-card__footer span,
.commerce-report-card__metrics small {
  color: var(--muted);
  font-size: 0.9rem;
}

.commerce-report-card__metrics strong {
  display: block;
  color: var(--blue-900);
  font-size: 1.05rem;
}

.commerce-report-card p {
  margin: 10px 0 0;
  color: #1f2937;
  line-height: 1.55;
}

.commerce-record-sections {
  display: grid;
  gap: 18px;
}

.commerce-record-contract {
  display: grid;
  gap: 14px;
}

.commerce-record-contract__actions {
  display: flex;
  justify-content: flex-start;
}

.commerce-record-contract iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(216, 225, 242, 0.9);
}

.contract-alert-list {
  display: grid;
  gap: 12px;
}

.contract-alert-list__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(0, 63, 183, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

.contract-alert-list__item strong {
  color: #102149;
  font-size: 1rem;
}

.contract-alert-list__item span,
.contract-alert-list__item small {
  color: var(--muted);
}

@media (max-width: 1360px) {
  .promo-strip {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    grid-auto-rows: auto;
    gap: 14px;
  }

  .promo-strip > * {
    height: auto;
    min-height: 100%;
  }

  .promo-banner {
    padding: 22px 22px;
  }

  .promo-banner--primary {
    background-position: 64% center;
  }

  .promo-banner--secondary {
    padding-bottom: 2px;
  }

  .featured-marquee__group {
    margin-bottom: 4px;
    gap: 6px;
    padding: 2px 12px 0;
  }

  .featured-logo {
    width: 72px;
  }

  .featured-logo .commerce-logo {
    width: 54px;
    height: 54px;
    margin: 2px auto 3px;
  }

  .featured-logo .commerce-logo__fallback {
    font-size: 0.96rem;
  }

  .featured-logo span {
    font-size: 0.54rem;
    line-height: 1;
    max-width: 72px;
  }

  .featured-spotlight {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
    min-height: 0;
    height: auto;
    margin: 4px 14px 14px;
    padding: 16px;
    gap: 14px;
  }

  .featured-spotlight__content {
    min-height: 220px;
    gap: 12px;
    padding: 4px 2px 4px 4px;
    justify-content: flex-start;
  }

  .featured-spotlight__brand {
    gap: 12px;
  }

  .featured-spotlight__brand .commerce-logo {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .featured-spotlight h3 {
    font-size: clamp(1.32rem, 2.1vw, 1.88rem);
    line-height: 0.96;
  }

  .featured-spotlight__description {
    font-size: 0.86rem;
    line-height: 1.32;
    max-width: 42ch;
  }

  .featured-spotlight__eyebrow {
    margin-bottom: 4px;
    font-size: 0.72rem;
    letter-spacing: 0.07em;
  }

  .featured-spotlight__copy {
    font-size: 0.82rem;
  }

  .featured-spotlight__visual {
    height: 220px;
  }

  .featured-spotlight__floating-card {
    right: 14px;
    bottom: 14px;
    min-width: 136px;
    padding: 14px 16px;
  }

  .featured-spotlight__floating-card strong {
    font-size: 1.16rem;
  }
}

@media (max-width: 1260px) {
  .promo-banner--secondary {
    padding-bottom: 0;
  }

  .featured-marquee {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.96) 8%, rgba(0, 0, 0, 1) 18%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0.96) 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.96) 8%, rgba(0, 0, 0, 1) 18%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0.96) 92%, transparent 100%);
  }

  .featured-marquee__group {
    margin-bottom: 2px;
    gap: 4px;
    padding: 0 10px;
  }

  .featured-logo {
    width: 62px;
  }

  .featured-logo .commerce-logo {
    width: 48px;
    height: 48px;
    margin: 1px auto 2px;
  }

  .featured-logo span {
    font-size: 0.5rem;
    line-height: 1;
    max-width: 62px;
  }

  .featured-spotlight__meta {
    gap: 10px;
  }

  .featured-spotlight__pill {
    min-height: 40px;
    padding: 0 15px;
    font-size: 0.82rem;
  }

  .featured-spotlight__tag {
    min-height: 31px;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  .featured-spotlight h3 {
    font-size: clamp(1.18rem, 1.9vw, 1.65rem);
  }

  .featured-spotlight__description {
    font-size: 0.8rem;
    line-height: 1.26;
    max-width: 38ch;
  }

  .featured-spotlight__copy {
    font-size: 0.76rem;
  }

  .featured-spotlight__actions .button {
    min-height: 42px;
    padding-inline: 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 1600px) and (max-height: 920px) {
  .benefit-card {
    min-height: 394px;
  }

  .benefit-card__inner {
    min-height: 394px;
  }

  .benefit-card__media {
    aspect-ratio: 1.54;
  }

  .benefit-card__body {
    padding: 12px 14px 14px;
  }

  .benefit-card__footer {
    margin-top: 14px;
  }

  .featured-marquee {
    min-height: 126px;
  }

  .featured-marquee__group {
    margin-bottom: 0;
    gap: 12px;
    padding: 10px 18px 8px;
  }

  .featured-logo {
    width: 102px;
  }

  .featured-logo .commerce-logo {
    width: 72px;
    height: 72px;
    margin: 2px auto 7px;
  }

  .featured-logo .commerce-logo__fallback {
    font-size: 1.32rem;
  }

  .featured-logo span {
    font-size: 0.72rem;
    line-height: 1.1;
    max-width: 102px;
  }

  .promo-banner--secondary {
    padding-bottom: 0;
  }

  .featured-spotlight {
    margin: 3px 12px 12px;
    padding: 15px;
    gap: 12px;
  }

  .featured-spotlight__content {
    min-height: 0;
    gap: 10px;
    padding: 2px 0 2px 2px;
  }

  .featured-spotlight__brand .commerce-logo {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .featured-spotlight__eyebrow {
    font-size: 0.66rem;
    margin-bottom: 2px;
  }

  .featured-spotlight h3 {
    font-size: clamp(1.2rem, 1.9vw, 1.72rem);
  }

  .featured-spotlight__description {
    font-size: 0.81rem;
    line-height: 1.24;
    max-width: 38ch;
  }

  .featured-spotlight__meta {
    gap: 8px;
  }

  .featured-spotlight__pill {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.8rem;
  }

  .featured-spotlight__tag {
    min-height: 30px;
    padding: 0 12px;
    font-size: 0.73rem;
  }

  .featured-spotlight__copy {
    font-size: 0.75rem;
  }

  .featured-spotlight__visual {
    height: 204px;
  }

  .featured-spotlight__floating-card {
    right: 10px;
    bottom: 10px;
    min-width: 122px;
    padding: 12px 14px;
  }

  .featured-spotlight__floating-card span {
    font-size: 0.72rem;
  }

  .featured-spotlight__floating-card strong {
    font-size: 1.08rem;
  }

  .featured-spotlight__actions .button {
    min-height: 40px;
    padding-inline: 17px;
    font-size: 0.87rem;
  }
}

@media (max-width: 1200px) {
  .hero__panel,
  .promo-strip,
  .featured-spotlight,
  .catalog-shell,
  .site-footer__grid,
  .admin-shell,
  .admin-users-grid,
  .detail-summary,
  .detail-highlights,
  .info-grid,
  .detail-extra-discounts,
  .detail-discounts-modal__grid,
  .admin-grid,
  .form-grid,
  .wizard-shell {
    grid-template-columns: 1fr;
  }

  .commerce-report-list__grid,
  .commerce-record-grid {
    grid-template-columns: 1fr;
  }

  .wizard-step[data-step="0"] > .form-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "id"
      "nombre"
      "clasificacion"
      "beneficio"
      "cobertura"
      "canton"
      "estado";
  }

  .benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .info-grid--modal {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .promo-strip {
    grid-auto-rows: auto;
  }

  .admin-sidebar {
    display: grid;
    gap: 20px;
  }

  .admin-shell__toggle {
    top: 88px;
    left: calc(100% - 34px);
    width: 34px;
    height: 62px;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-summary {
    width: calc(100% - 32px);
  }

  .detail-summary--modal,
  .detail-highlights--modal,
  .detail-section--modal,
  .important-note--modal {
    width: 100%;
  }

  .detail-discounts-modal__grid {
    grid-template-columns: 1fr;
  }

  .detail-locations-modal__grid {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    overflow: visible;
    transition: max-height 0.28s ease, opacity 0.24s ease, transform 0.24s ease, padding 0.24s ease, margin 0.24s ease;
    max-height: 640px;
  }

  .admin-shell.is-sidebar-collapsed .admin-sidebar {
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border: 0;
    opacity: 0;
    transform: translateY(-10px);
  }

  .admin-shell.is-sidebar-collapsed .admin-shell__toggle {
    left: 0;
  }

  .wizard-summary {
    position: static;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(calc(100vw - 24px), 100%);
  }

  .site-header__inner,
  .cta-banner,
  .admin-topbar,
  .admin-toolbar,
  .admin-toolbar__filters,
  .site-footer__bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header__inner {
    align-items: stretch;
  }

  .detail-location-panel,
  .detail-location-panel__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-permissions-grid,
  .wizard-toggles--users {
    grid-template-columns: 1fr;
  }

  .form-inline-control {
    flex-direction: column;
    align-items: stretch;
  }

  .province-selector {
    grid-template-columns: 1fr;
  }

  .detail-summary {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .detail-summary__icon {
    width: 100%;
    justify-self: center;
    margin-inline: auto;
  }

  .detail-summary__icon .commerce-logo {
    margin-inline: auto;
  }

  .site-header__brand-row {
    justify-content: space-between;
  }

  .brand-lockup__logos {
    gap: 8px;
  }

  .brand-lockup__logo--caja {
    width: 72px;
  }

  .brand-lockup__logo--beneficios {
    width: 96px;
  }

  .header-tools {
    width: 100%;
  }

  .search-shell {
    min-width: 0;
    width: 100%;
  }

  .hero-copy h1,
  .detail-hero h1 {
    font-size: 2.8rem;
  }

  .hero-visual {
    min-height: 280px;
  }

  .category-rail {
    grid-template-columns: 42px 1fr 42px;
    gap: 8px;
  }

  .category-chip-list {
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
  }

  .category-chip {
    min-height: 82px;
    padding: 12px 22px;
    font-size: 0.94rem;
    scroll-snap-align: start;
  }

  .category-chip::before {
    width: 46px;
    height: 46px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .featured-spotlight {
    padding: 16px;
  }

  .featured-spotlight__visual {
    height: 220px;
  }

  .hero-visual__orbit {
    display: none;
  }

  .hero-visual__spotlight {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: 0 18px 18px;
  }

  .modal-backdrop--admin {
    padding: 14px;
  }

  .modal--admin {
    max-height: calc(100vh - 28px);
  }

  .modal__content--admin {
    padding: 18px 18px 20px;
  }

  .benefit-card-visual strong {
    font-size: 1.2rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-shell {
    gap: 16px;
  }

  .results-toolbar,
  .admin-toolbar {
    align-items: stretch;
  }

  .catalog-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-sidebar {
    padding: 20px 16px;
  }

  .admin-shell__toggle {
    width: 32px;
    height: 56px;
    top: 82px;
    left: calc(100% - 32px);
    border-radius: 0 14px 14px 0;
  }

  .admin-sidebar nav {
    grid-template-columns: 1fr;
  }

  .admin-content {
    padding: 18px 14px 24px;
  }

  .admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-grid--insights,
  .admin-analytics-grid {
    grid-template-columns: 1fr;
  }

  .admin-analytics-grid--panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .selected-commerce-insights__summary {
    grid-template-columns: 1fr;
  }

  .admin-chart-card--full {
    grid-column: auto;
  }

  .admin-topbar__panel {
    width: 100%;
    justify-content: space-between;
  }

  .admin-topbar__actions,
  .admin-export-actions {
    width: 100%;
    justify-content: stretch;
  }

  .admin-export-actions .button {
    flex: 1 1 0;
    min-width: 0;
  }

  .admin-grid--dashboard,
  .admin-grid--dashboard-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-toolbar--commerce {
    flex-direction: column;
  }

  .admin-toolbar__summary {
    flex: initial;
  }

  .admin-toolbar__filters,
  .admin-toolbar__filters--commerce {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .admin-filter--span-3 {
    grid-column: 1 / -1;
  }

  .admin-filter--action {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .admin-filter--dashboard-note {
    align-items: start;
  }

  .table-wrapper table {
    min-width: 760px;
  }

  .admin-table--commerce {
    min-width: 1080px;
  }

  .admin-chart-shell {
    min-height: 220px;
  }

  .wizard-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .form-actions > * {
    width: 100%;
  }

  .form-actions__wizard-group {
    flex-direction: column-reverse;
    align-items: stretch;
    width: 100%;
  }

  .form-actions__wizard-group > * {
    width: 100%;
  }

  .detail-modal {
    width: min(100vw - 20px, 100%);
    max-height: calc(100vh - 20px);
  }

  .detail-modal__scroll {
    max-height: calc(100vh - 20px);
    padding: 0 10px 18px;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    padding: 12px 0;
  }

  .site-header__brand-row {
    width: 100%;
  }

  .site-header__quick-actions {
    margin-left: auto;
  }

  .brand-lockup__logos {
    gap: 6px;
  }

  .brand-lockup__logo--caja {
    width: 60px;
  }

  .brand-lockup__logo--beneficios {
    width: 82px;
  }

  .header-tools {
    gap: 12px;
  }

  .search-shell {
    padding: 10px 14px;
  }

  .icon-button {
    width: 46px;
    height: 46px;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-copy h1 {
    font-size: 2.45rem;
  }

  .info-grid--modal {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .info-grid--modal .info-card {
    padding: 12px 10px;
  }

  .info-grid--modal .info-card h3 {
    margin-bottom: 8px;
    font-size: 0.92rem;
  }

  .info-grid--modal .info-card p {
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-metric strong {
    font-size: 1.12rem;
  }

  .hero-metric {
    padding: 14px 10px;
  }

  .hero-metric span {
    font-size: 0.73rem;
    line-height: 1.2;
  }

  .promo-strip {
    gap: 12px;
  }

  .promo-banner--primary {
    background-position: 72% center;
  }

  .promo-banner__copy {
    gap: 4px;
    min-height: 310px;
    max-width: min(320px, 100%);
    padding-top: 10px;
  }

  .promo-featured-card-shell {
    width: 100%;
    max-width: 100%;
  }

  .promo-featured-card {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .promo-featured-card__body {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .promo-featured-card__body .commerce-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .promo-featured-card__copy strong {
    font-size: 0.9rem;
  }

  .promo-featured-card__copy span {
    font-size: 0.75rem;
  }

  .promo-featured-card__value {
    width: auto;
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.82rem;
  }
  
  .promo-banner--primary h2 {
    margin: 0;
    max-width: 340px;
    font-size: clamp(1.75rem, 2vw, 1.9rem);
    line-height: 1;
  }

  .cta-banner__copy {
    align-items: flex-start;
  }

  .cta-banner__actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .cta-banner__actions .button {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 12px;
    font-size: 0.9rem;
  }

  .wizard-main,
  .wizard-summary__card {
    padding: 18px;
    border-radius: 22px;
  }

  .wizard-progress {
    grid-template-columns: 1fr;
  }

  .wizard-progress__step {
    padding: 12px 14px;
  }

  .wizard-toggles {
    grid-template-columns: 1fr;
  }

  .icon-button--menu {
    display: inline-grid;
  }

  .category-rail,
  .filters {
    display: none;
  }

  .category-chip-list--mobile {
    gap: 10px;
  }

  .filter-card__heading {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .link-button--clear {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .promo-featured-card-shell {
    width: 100%;
    max-width: 100%;
  }

  .catalog-pagination__page,
  .catalog-pagination__nav {
    min-height: 40px;
    padding: 0 14px;
  }

  .benefit-card {
    min-height: 380px;
  }

  .benefit-card__inner {
    min-height: 380px;
  }

  .benefit-card__face--back {
    padding: 16px 16px 14px;
    gap: 10px;
  }

  .benefit-card__back-kicker {
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.68rem;
  }

  .benefit-card__back-icon {
    width: 30px;
    height: 30px;
  }

  .benefit-card__back-icon svg {
    width: 14px;
    height: 14px;
  }

  .benefit-card__back-header strong {
    font-size: 0.9rem;
  }

  .benefit-card__back-copy h3 {
    font-size: 0.94rem;
    -webkit-line-clamp: 2;
  }

  .benefit-card__back-copy p {
    font-size: 0.76rem;
    line-height: 1.26;
    -webkit-line-clamp: 2;
  }

  .benefit-card__back-list {
    gap: 6px;
  }

  .benefit-card__back-list li {
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .benefit-card__back-meta {
    gap: 8px;
  }

  .benefit-card__back-meta span {
    min-height: 28px;
    padding: 0 9px;
    font-size: 0.7rem;
  }

  .featured-spotlight {
    margin: 6px 12px 14px;
    padding: 14px;
  }

  .featured-spotlight__brand {
    align-items: flex-start;
  }

  .featured-spotlight__brand .commerce-logo {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .featured-spotlight__floating-card {
    right: 12px;
    bottom: 12px;
    min-width: 132px;
    padding: 14px;
  }

  .important-note--modal {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    padding: 18px 16px;
  }

  .important-note--modal > strong:first-child {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    font-size: 1.45rem;
    margin-top: 2px;
  }

  .important-note--modal > div {
    display: block;
    width: 100%;
    text-align: left;
  }

  .important-note--modal > div > strong {
    display: block;
    margin: 2px 0 10px;
    font-size: 1.16rem;
    line-height: 1.1;
  }

  .important-note--modal > div > p {
    margin: 0;
    font-size: 1rem;
    text-align: left;
  }

  .important-note--modal > div > p + p {
    margin-top: 4px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-grid--insights,
  .admin-analytics-grid {
    grid-template-columns: 1fr;
  }

  .admin-analytics-grid--panels {
    grid-template-columns: 1fr;
  }

  .selected-commerce-insights__summary {
    grid-template-columns: 1fr;
  }

  .admin-grid--dashboard,
  .admin-grid--dashboard-secondary,
  .admin-grid--insights-extended {
    grid-template-columns: 1fr;
  }

  .admin-toolbar__filters,
  .admin-toolbar__filters--commerce {
    grid-template-columns: 1fr;
  }

  .admin-export-actions {
    flex-direction: column;
  }

  .admin-filter--action .button {
    width: 100%;
    min-width: 0;
  }

  .admin-chart-shell {
    min-height: 200px;
  }

  .login-page {
    padding: 16px;
  }

  .hero__panel {
    padding: 18px;
    border-radius: 28px;
  }

  .hero-kicker {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-copy p {
    font-size: 1.05rem;
  }

  .hero-visual__spotlight strong {
    font-size: 1.25rem;
  }

  .detail-hero,
  .detail-summary,
  .promo-banner,
  .cta-banner,
  .admin-card,
  .admin-layout-card,
  .login-card {
    padding: 20px;
  }

  .detail-summary__price strong {
    min-width: 100%;
  }
}

@media (max-width: 520px) {
  .mobile-menu {
    width: min(90vw, 380px);
    padding: 16px 14px 18px;
  }

  .mobile-menu__header {
    margin-bottom: 14px;
  }

  .mobile-menu__header h2 {
    font-size: 1.08rem;
    line-height: 1.1;
  }

  .mobile-menu__eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .mobile-menu__group {
    border-radius: 18px;
  }

  .mobile-menu__group summary {
    padding: 14px 14px;
    font-size: 0.98rem;
  }

  .mobile-menu__content {
    padding: 0 12px 14px;
  }

  .category-chip-list--mobile {
    gap: 8px;
  }

  .category-chip-list--mobile .category-chip {
    min-height: 64px;
    padding-inline: 14px;
    gap: 10px;
    border-width: 1.5px;
    border-radius: 999px;
  }

  .category-chip-list--mobile .category-chip__icon {
    width: 42px;
    height: 42px;
    font-size: 1.08rem;
    box-shadow: inset 0 0 0 2px #d7dce5;
  }

  .category-chip-list--mobile .category-chip__label {
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  .container {
    width: min(calc(100vw - 16px), 100%);
  }

  .hero__panel,
  .promo-banner,
  .results-panel,
  .filter-card,
  .cta-banner,
  .admin-layout-card,
  .login-card {
    border-radius: 22px;
  }

  .benefit-card__badge {
    min-width: 104px;
    min-height: 46px;
    font-size: 1.64rem;
  }

  .benefit-card__body {
    padding: 14px;
  }

  .benefit-card__brand .commerce-logo {
    width: 74px;
    height: 74px;
    top: -50px;
  }

  .benefit-card__brand > div {
    margin-top: -6px;
  }

  .benefit-card__brand h3 {
    font-size: 1.08rem;
  }

  .cta-banner {
    margin-bottom: 28px;
  }

  .site-footer {
    padding-top: 28px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__brand-logos {
    gap: 14px;
  }

  .site-footer__brand-logo--caja {
    width: 112px;
  }

  .site-footer__brand-logo--beneficios {
    width: 154px;
  }

  .site-footer__section {
    padding: 14px 14px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
  }

  .site-footer__section summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }

  .site-footer__section summary::after {
    content: "+";
    color: #fff1c3;
    font-weight: 700;
    font-size: 1rem;
  }

  .site-footer__section[open] summary::after {
    content: "-";
  }

  .site-footer__section summary h4 {
    margin: 0;
    font-size: 0.98rem;
  }

  .site-footer__section ul {
    margin-top: 12px;
    gap: 8px;
  }

  .site-footer__socials {
    width: 100%;
    justify-content: flex-start;
  }
}
