/* Mundo Digital AR — catálogo */

@font-face {
  font-family: "Geist";
  src: url("https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #030b1c;
  --navy-900: #051230;
  --navy-800: #071a42;
  --navy-700: #0a2354;
  --navy-600: #0d2e6b;
  --blue-500: #1554c9;
  --cyan-400: #00d8fd;
  --cyan-300: #4de3ff;
  --cyan-glow: rgba(0, 216, 253, 0.35);
  --amber-400: #ffb020;
  --rose-400: #ff5c7a;

  --bg: var(--navy-950);
  --surface: var(--navy-900);
  --surface-2: var(--navy-800);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-primary: #f4f7fc;
  --text-secondary: #a9b6d4;
  --text-tertiary: #6c7a9c;
  --accent: var(--cyan-400);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 40px -20px rgba(0, 8, 30, 0.6);
  --shadow-elevated: 0 30px 60px -25px rgba(0, 216, 253, 0.15), 0 20px 40px -20px rgba(0, 8, 30, 0.7);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .wrap {
    padding: 0 32px;
  }
}

/* Background texture */
body {
  background-image:
    radial-gradient(ellipse 800px 500px at 15% -5%, rgba(0, 216, 253, 0.08), transparent 60%),
    radial-gradient(ellipse 600px 400px at 110% 15%, rgba(21, 84, 201, 0.15), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(3, 11, 28, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav__brand img {
  height: 36px;
  width: 36px;
  border-radius: 9px;
}

.nav__brand span em {
  font-style: normal;
  color: var(--accent);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

@media (min-width: 900px) {
  .nav__links {
    display: flex;
  }
}

.nav__links a {
  transition: color 0.2s var(--ease-out);
  white-space: nowrap;
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--navy-950);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px var(--cyan-glow);
}

.nav__cta:active {
  transform: translateY(0) scale(0.98);
}

/* ============ HERO ============ */
.hero {
  padding: 36px 0 28px;
  position: relative;
}

.hero__content {
  max-width: 640px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cyan-300);
  background: rgba(0, 216, 253, 0.1);
  border: 1px solid rgba(0, 216, 253, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 12px;
  max-width: 20ch;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--cyan-300), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 50ch;
  margin: 0 0 20px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.94rem;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: var(--navy-950);
}

.btn--primary:hover {
  box-shadow: 0 10px 28px -10px var(--cyan-glow);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--whatsapp {
  background: #25d366;
  color: #04140b;
}

.btn--whatsapp svg {
  flex-shrink: 0;
}

.btn--whatsapp:hover {
  background: #2be374;
  box-shadow: 0 10px 28px -10px rgba(37, 211, 102, 0.55);
  transform: translateY(-1px);
}

/* trust strip */
.trust {
  padding: 14px 0 28px;
  border-bottom: 1px solid var(--border);
}

.trust__row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-tertiary);
  font-size: 0.82rem;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust__item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ============ SECTION HEADERS ============ */
.section {
  padding: 64px 0;
}

.section--tight {
  padding: 40px 0 64px;
}

.section__head {
  margin-bottom: 32px;
  max-width: 60ch;
}

.section__head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  font-weight: 700;
}

.section__head p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.98rem;
}

/* ============ FEATURED DEALS ============ */
.deals {
  padding: 40px 0 8px;
}

.deals__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.deals__head h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  letter-spacing: -0.015em;
  margin: 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.deals__head h2 svg {
  width: 22px;
  height: 22px;
  color: var(--amber-400);
}

.deals__head p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9rem;
}

.deals-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  margin: 0 -4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.deals-scroll::-webkit-scrollbar {
  height: 6px;
}

.deals-scroll::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-pill);
}

.deal-card {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 200px;
  background: linear-gradient(160deg, var(--navy-800), var(--surface));
  border: 1px solid rgba(255, 176, 32, 0.22);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out), border-color 0.22s var(--ease-out);
}

.deal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 176, 32, 0.45);
}

.deal-card:hover .deal-card__media img {
  transform: scale(1.06);
}

.deal-card__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.deal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.deal-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(3, 11, 28, 0.75) 100%);
  pointer-events: none;
}

.deal-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(120deg, var(--amber-400), #ff8a3d);
  color: var(--navy-950);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px -6px rgba(255, 176, 32, 0.6);
}

.deal-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.deal-card__name {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.deal-card__duration {
  font-size: 0.76rem;
  color: var(--text-tertiary);
}

.deal-card__prices {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.deal-card__before {
  font-size: 0.76rem;
  color: var(--text-tertiary);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 92, 122, 0.6);
}

.deal-card__now {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ============ CATEGORY FILTER ============ */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-pill {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
}

.filter-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy-950);
}

/* ============ PRODUCT GRID ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 18px;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-elevated);
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card--has-discount {
  border-color: rgba(255, 176, 32, 0.28);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(3, 11, 28, 0.85) 100%);
  pointer-events: none;
}

.card__discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: linear-gradient(120deg, var(--amber-400), #ff8a3d);
  color: var(--navy-950);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px -6px rgba(255, 176, 32, 0.6);
  letter-spacing: -0.01em;
}

.card__brand-badge {
  position: absolute;
  bottom: -18px;
  left: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 8px 18px -8px rgba(0, 8, 30, 0.7);
}

.card__brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card__body {
  padding: 28px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card__title {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.card__tagline {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
  min-height: 2.6em;
}

.card__variants {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.variant-pill {
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 0.76rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s var(--ease-out);
}

.variant-pill.is-selected {
  background: rgba(0, 216, 253, 0.12);
  border-color: var(--accent);
  color: var(--cyan-300);
}

.card__footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card__price-before {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 92, 122, 0.6);
}

.card__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.card__price-value {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card__price-save {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber-400);
}

.card__price-note {
  font-size: 0.74rem;
  color: var(--text-tertiary);
}

.card__buy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--navy-950);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}

.card__buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px var(--cyan-glow);
}

.card__buy:active {
  transform: scale(0.97);
}

.card__stock {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.card__stock::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ddc84;
  flex-shrink: 0;
}

/* ============ HOW IT WORKS ============ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
}

.step__num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.step h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  font-weight: 600;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* ============ FAQ ============ */
.faq {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  color: var(--text-primary);
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  transition: transform 0.25s var(--ease-out);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out);
}

.faq-item.is-open .faq-item__a {
  max-height: 240px;
}

.faq-item__a p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 65ch;
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer__brand img {
  height: 32px;
  width: 32px;
  border-radius: 8px;
}

.footer__brand em {
  font-style: normal;
  color: var(--accent);
}

.footer p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  max-width: 34ch;
  margin: 0;
}

.footer__col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin: 0 0 14px;
  font-weight: 600;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s var(--ease-out);
}

.footer__col a:hover {
  color: var(--text-primary);
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 11, 28, 0.75);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.modal-overlay.is-open {
  display: flex;
}

@media (min-width: 640px) {
  .modal-overlay {
    align-items: center;
    padding: 20px;
  }
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 0;
  box-shadow: var(--shadow-elevated);
}

@media (min-width: 640px) {
  .modal {
    border-radius: var(--radius-lg);
  }
}

.modal__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
}

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

.modal__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 11, 28, 0.15) 0%, var(--surface) 100%);
  pointer-events: none;
}

.modal__content {
  padding: 0 28px 28px;
}

.modal__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: -32px;
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.modal__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
  box-shadow: 0 8px 18px -8px rgba(0, 8, 30, 0.7);
}

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

.modal__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 8px 0 4px;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(3, 11, 28, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s var(--ease-out);
}

.modal__close:hover {
  background: rgba(3, 11, 28, 0.85);
}

.modal__section {
  margin-bottom: 18px;
}

.modal__label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-bottom: 10px;
}

.modal__variants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-variant {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.18s var(--ease-out);
}

.modal-variant.is-selected {
  border-color: var(--accent);
  background: rgba(0, 216, 253, 0.1);
  color: var(--text-primary);
}

.modal-variant strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-top: 2px;
}

.modal-variant s {
  color: var(--text-tertiary);
  font-size: 0.78rem;
  text-decoration-color: rgba(255, 92, 122, 0.6);
}

.modal__save-badge {
  display: inline-block;
  background: linear-gradient(120deg, var(--amber-400), #ff8a3d);
  color: var(--navy-950);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
}

.modal__desc {
  color: var(--text-secondary);
  font-size: 0.87rem;
  line-height: 1.6;
  white-space: pre-line;
}

.modal__details {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

.modal__details::-webkit-scrollbar {
  width: 5px;
}

.modal__details::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-pill);
}

.modal__detail-item {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.modal__detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.modal__detail-item dt {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan-300);
  margin-bottom: 4px;
}

.modal__detail-item dd {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.modal__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.modal__footer .btn--whatsapp {
  flex: 0 0 auto;
}

.modal__total {
  display: flex;
  flex-direction: column;
}

.modal__total-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.modal__total-label {
  font-size: 0.76rem;
  color: var(--text-tertiary);
}

/* skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 200;
  background: var(--accent);
  color: var(--navy-950);
  padding: 10px 16px;
  border-radius: 8px;
}
