/* MerchCloud Activations — shared styles */
:root {
  --navy: #161d37;
  --navy-2: #1c2547;
  --navy-3: #243056;
  --navy-4: #2e3a62;
  --cyan: #04d7fe;
  --cyan-dim: rgba(4, 215, 254, 0.14);
  --lavender: #d1caef;
  --magenta: #ff2d95;
  --text: #ffffff;
  --muted: #a8b0c8;
  --soft: #e8eaf2;
  --border: rgba(209, 202, 239, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0,0,0,.4);
  --header-h: 74px;
  --max: 1180px;
  --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); margin: 0 0 .85rem;
}
.eyebrow::before {
  content: ""; width: 1.4rem; height: 2px; background: var(--cyan); border-radius: 2px;
}
h1,h2,h3 { letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .55em; }
h1 { font-size: clamp(2.35rem, 5.2vw, 3.85rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 42rem; }
.hl { color: var(--cyan); }
.hl-pink { color: #ff6bb5; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .85rem 1.35rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s, color .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--cyan); color: var(--navy);
  box-shadow: 0 0 0 0 rgba(4,215,254,.35), 0 10px 30px rgba(4,215,254,.2);
}
.btn-primary:hover { box-shadow: 0 0 0 4px rgba(4,215,254,.18), 0 14px 34px rgba(4,215,254,.28); }
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.22);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-sm { padding: .55rem 1rem; font-size: .82rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 80; height: var(--header-h);
  background: rgba(22,29,55,.88); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: .75rem; min-width: 0; text-decoration: none !important; color: inherit;
}
.brand__mark {
  width: 46px; height: 46px; object-fit: contain; flex: none;
  filter: drop-shadow(0 4px 12px rgba(4,215,254,.25));
}
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand__name span { color: var(--cyan); }
.brand__sub {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lavender);
}
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  color: var(--muted); font-weight: 600; font-size: .88rem; padding: .5rem .75rem;
  border-radius: 999px; text-decoration: none !important;
}
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,.06); }
.header-actions { display: flex; align-items: center; gap: .65rem; }
.inquiry-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .85rem; border-radius: 999px;
  background: var(--cyan-dim); border: 1px solid rgba(4,215,254,.35);
  color: var(--cyan); font-weight: 700; font-size: .78rem; text-decoration: none !important;
}
.inquiry-chip[data-count="0"] { opacity: .55; }
.nav-toggle {
  display: none; appearance: none; background: var(--navy-3); border: 1px solid var(--border);
  color: #fff; width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav, .header-actions .btn { display: none; }
  .site-header.open .nav {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: rgba(22,29,55,.98); border-bottom: 1px solid var(--border); padding: 1rem 1.25rem 1.25rem;
    align-items: stretch;
  }
  .site-header.open .header-actions .btn { display: inline-flex; margin-top: .5rem; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 55% 50% at 85% 15%, rgba(4,215,254,.22), transparent 60%),
    radial-gradient(ellipse 40% 45% at 10% 80%, rgba(255,45,149,.12), transparent 55%),
    linear-gradient(160deg, #12182e 0%, var(--navy) 45%, #1a2244 100%);
}
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 75% 65% at 70% 35%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 70% 35%, #000 15%, transparent 72%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(209,202,239,.55) 1px, transparent 1.2px);
  background-size: 28px 28px; opacity: .12;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
}
.hero h1 .line2 { display: block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }
.hero__pills {
  list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem;
}
.hero__pills li {
  padding: .45rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--lavender);
}
.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(160deg, rgba(36,48,86,.95), rgba(22,29,55,.92));
  border: 1px solid var(--border); border-radius: 24px; padding: 1.25rem;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(4,215,254,.35), transparent 70%);
  pointer-events: none;
}
.flow {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin-bottom: .85rem;
}
.flow__step {
  background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 14px;
  padding: .85rem .7rem; text-align: center; position: relative;
}
.flow__step .num {
  width: 28px; height: 28px; margin: 0 auto .45rem; border-radius: 9px;
  display: grid; place-items: center; font-size: .72rem; font-weight: 800;
  background: var(--cyan); color: var(--navy);
}
.flow__step strong { display: block; font-size: .82rem; }
.flow__step span { display: block; font-size: .7rem; color: var(--muted); margin-top: .2rem; }
.hero-mosaic {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: .65rem;
}
.hero-mosaic figure {
  margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  aspect-ratio: 16/10; background: var(--navy-3); position: relative;
}
.hero-mosaic figure:first-child { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.hero-mosaic figcaption {
  position: absolute; left: .6rem; bottom: .55rem; right: .6rem;
  font-size: .68rem; font-weight: 700; padding: .3rem .55rem; border-radius: 8px;
  background: rgba(22,29,55,.78); backdrop-filter: blur(8px); color: #fff;
}
.float-badge {
  position: absolute; right: -8px; top: -12px;
  background: #fff; color: var(--navy); padding: .55rem .85rem; border-radius: 14px;
  font-size: .72rem; font-weight: 800; box-shadow: 0 12px 30px rgba(0,0,0,.35);
  display: flex; align-items: center; gap: .4rem;
}
.float-badge i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(4,215,254,.25);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(4,215,254,.2); }
  50% { box-shadow: 0 0 0 8px rgba(4,215,254,.08); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
}

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; position: relative; }
.section--soft {
  background:
    radial-gradient(ellipse 50% 60% at 0% 50%, rgba(4,215,254,.06), transparent 50%),
    var(--navy-2);
  border-block: 1px solid var(--border);
}
.section--light {
  background: #f4f5fb; color: var(--navy);
}
.section--light .lead, .section--light .muted { color: #5a647f; }
.section--light .eyebrow { color: #0a8fb0; }
.section--light .eyebrow::before { background: #0a8fb0; }
.section__head { max-width: 640px; margin-bottom: 2.25rem; }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .eyebrow::before { display: none; }
.muted { color: var(--muted); }

/* Activation types */
.type-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.type-card {
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.35rem 1.25rem; position: relative; overflow: hidden;
  transition: border-color .2s, transform .2s, background .2s;
}
.type-card:hover { border-color: rgba(4,215,254,.45); transform: translateY(-3px); background: rgba(4,215,254,.05); }
.type-card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cyan-dim); color: var(--cyan); margin-bottom: .9rem;
  border: 1px solid rgba(4,215,254,.25);
}
.type-card p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .type-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .type-grid { grid-template-columns: 1fr; } }

/* Process */
.process {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; counter-reset: step;
  position: relative;
}
.process::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 36px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(4,215,254,.5), transparent);
  z-index: 0;
}
.pstep {
  position: relative; z-index: 1; text-align: center;
  background: var(--navy); border: 1px solid var(--border); border-radius: 18px;
  padding: 1.1rem .7rem 1.2rem;
}
.pstep__num {
  width: 42px; height: 42px; margin: 0 auto .75rem; border-radius: 14px;
  display: grid; place-items: center; font-weight: 800; font-size: .9rem;
  background: var(--navy-3); border: 2px solid rgba(4,215,254,.55); color: var(--cyan);
  box-shadow: 0 0 0 6px rgba(22,29,55,.85);
}
.pstep strong { display: block; font-size: .88rem; margin-bottom: .35rem; }
.pstep span { display: block; font-size: .72rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 1100px) {
  .process { grid-template-columns: repeat(3, 1fr); }
  .process::before { display: none; }
}
@media (max-width: 640px) { .process { grid-template-columns: 1fr 1fr; } }

/* Category cards */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.cat-card {
  display: block; text-decoration: none !important; color: inherit;
  border-radius: 18px; overflow: hidden; border: 1px solid var(--border);
  background: var(--navy-2); box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.cat-card:hover {
  transform: translateY(-4px); border-color: rgba(4,215,254,.45);
  box-shadow: 0 18px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(4,215,254,.15);
}
.cat-card__media { aspect-ratio: 16/11; background: var(--navy-3); overflow: hidden; position: relative; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__body { padding: 1rem 1.05rem 1.15rem; }
.cat-card__body .count {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan);
}
.cat-card__body h3 { margin: .25rem 0 0; font-size: 1.02rem; }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .cat-grid { grid-template-columns: 1fr; } }

/* Merch + experience */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
}
.split--rev > :first-child { order: 2; }
.feature-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .75rem; }
.feature-list li {
  display: grid; grid-template-columns: 28px 1fr; gap: .75rem; align-items: start;
  font-size: .95rem; color: #3a4560;
}
.feature-list .tick {
  width: 28px; height: 28px; border-radius: 9px; background: rgba(4,215,254,.15);
  color: #0a8fb0; display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}
.panel {
  background: var(--navy); color: #fff; border-radius: 24px; padding: 1.5rem;
  border: 1px solid rgba(4,215,254,.2); box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.panel::after {
  content: ""; position: absolute; right: -30px; bottom: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,45,149,.25), transparent 70%);
}
.panel-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.panel-chip {
  padding: .45rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: rgba(255,255,255,.06); border: 1px solid var(--border); color: var(--lavender);
}
@media (max-width: 860px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: start;
}
.form-card {
  background: var(--navy-2); border: 1px solid var(--border); border-radius: 22px;
  padding: 1.5rem; box-shadow: var(--shadow);
}
.demo-banner {
  display: flex; gap: .65rem; align-items: flex-start;
  background: rgba(255,45,149,.1); border: 1px solid rgba(255,45,149,.35);
  color: #ffb3d6; padding: .75rem .9rem; border-radius: 12px; font-size: .82rem; margin-bottom: 1.15rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: grid; gap: .35rem; font-size: .78rem; font-weight: 700; color: var(--lavender); letter-spacing: .02em; }
input, select, textarea {
  width: 100%; padding: .75rem .9rem; border-radius: 12px;
  border: 1px solid var(--border); background: var(--navy); color: #fff; outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(4,215,254,.18);
}
textarea { min-height: 110px; resize: vertical; }
.wishlist-box {
  margin-top: .85rem; padding: .85rem; border-radius: 12px;
  background: rgba(4,215,254,.06); border: 1px dashed rgba(4,215,254,.35);
  font-size: .85rem; color: var(--muted);
}
.wishlist-box strong { color: var(--cyan); }
.contact-aside .stat-row { display: grid; gap: .75rem; margin-top: 1.5rem; }
.stat {
  padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
}
.stat strong { display: block; font-size: 1.35rem; color: var(--cyan); margin-bottom: .15rem; }
.stat span { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) {
  .contact-grid, .form-grid { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); padding: 2.5rem 0 2rem; color: var(--muted); font-size: .88rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: flex-start;
}
.footer-brand { display: flex; gap: .75rem; align-items: center; }
.footer-brand img { width: 40px; height: 40px; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: var(--lavender); }
.footer-meta { width: 100%; margin-top: .5rem; font-size: .78rem; }

/* Catalog page */
.catalog-hero {
  padding: 2rem 0 1rem; border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 40% 80% at 100% 0%, rgba(4,215,254,.15), transparent 50%),
    var(--navy);
}
.catalog-hero h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .35rem; }
.controls { padding: 1.25rem 0 .5rem; }
.controls-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.search-wrap { flex: 1 1 260px; position: relative; }
.search-wrap svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none;
}
.search-wrap input {
  width: 100%; padding: .85rem 1rem .85rem 2.6rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--navy-2); color: #fff;
}
.category-select {
  flex: 0 1 220px; padding: .85rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--navy-2); color: #fff; cursor: pointer;
}
.chips {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .85rem;
  max-height: 5.2rem; overflow-y: auto;
}
.chip {
  appearance: none; border: 1px solid var(--border); background: var(--navy-2);
  color: var(--lavender); font-size: .72rem; font-weight: 600;
  padding: .32rem .7rem; border-radius: 999px; cursor: pointer;
}
.chip:hover { border-color: rgba(4,215,254,.45); color: #fff; }
.chip.active { background: var(--cyan-dim); border-color: var(--cyan); color: var(--cyan); }
.meta-bar {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  margin-top: .85rem; color: var(--muted); font-size: .88rem;
}
.meta-bar strong { color: #fff; }
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.1rem;
  padding: 1rem 0 2.5rem;
}
.card {
  background: var(--navy-2); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; cursor: pointer;
  transition: transform .18s, border-color .18s, box-shadow .18s; outline: none;
}
.card:hover, .card:focus-visible {
  transform: translateY(-3px); border-color: rgba(4,215,254,.4);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.card-media { aspect-ratio: 16/10; background: var(--navy-3); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pill {
  display: inline-flex; align-self: flex-start; padding: .18rem .55rem; border-radius: 999px;
  background: rgba(4,215,254,.12); color: var(--cyan); font-size: .68rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.card-title {
  margin: 0; font-size: .98rem; font-weight: 700; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-excerpt {
  margin: 0; color: var(--muted); font-size: .82rem; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1;
}
.card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-top: .25rem; padding-top: .65rem; border-top: 1px solid var(--border);
}
.btn-view {
  display: inline-flex; padding: .35rem .7rem; border-radius: 999px;
  background: var(--cyan); color: var(--navy); font-size: .72rem; font-weight: 800;
}
.btn-add {
  appearance: none; border: 1px solid rgba(4,215,254,.4); background: transparent;
  color: var(--cyan); font-size: .72rem; font-weight: 700; padding: .35rem .65rem;
  border-radius: 999px; cursor: pointer;
}
.btn-add.in { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.empty, .loading { text-align: center; padding: 4rem 1.5rem; color: var(--muted); }
.pagination {
  display: flex; justify-content: center; align-items: center; gap: .55rem;
  flex-wrap: wrap; padding-bottom: 3rem;
}
.page-btn {
  appearance: none; border: 1px solid var(--border); background: var(--navy-2); color: #fff;
  font-weight: 700; font-size: .85rem; min-width: 2.4rem; height: 2.4rem; padding: 0 .7rem;
  border-radius: 10px; cursor: pointer;
}
.page-btn.active, .page-btn:hover:not(:disabled) { border-color: var(--cyan); }
.page-btn.active { background: var(--cyan); color: var(--navy); }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(8,11,24,.75); backdrop-filter: blur(6px);
  z-index: 200; display: none; align-items: center; justify-content: center; padding: 1.25rem;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--navy-2); border: 1px solid var(--border); border-radius: 18px;
  width: min(920px, 100%); max-height: min(90vh, 900px); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 24px 80px rgba(0,0,0,.55);
}
.modal-header {
  display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.modal-header h2 { margin: .35rem 0 0; font-size: 1.2rem; }
.modal-close {
  appearance: none; border: 1px solid var(--border); background: var(--navy-3); color: #fff;
  width: 2.2rem; height: 2.2rem; border-radius: 10px; cursor: pointer; font-size: 1.2rem;
}
.modal-body { overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 1.25rem; }
.modal-detail { min-width: 0; }
@media (min-width: 800px) {
  .modal-body { flex-direction: row; align-items: flex-start; }
  .modal-body .gallery { flex: 1.05 1 0; min-width: 0; }
  .modal-detail { flex: 1 1 0; }
}
.gallery-main {
  aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; background: var(--navy-3);
  border: 1px solid var(--border);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: .45rem; overflow-x: auto; margin-top: .65rem; }
.thumbs button {
  appearance: none; border: 2px solid transparent; padding: 0; border-radius: 8px;
  overflow: hidden; width: 64px; height: 40px; cursor: pointer; background: var(--navy-3); flex-shrink: 0;
}
.thumbs button.active { border-color: var(--cyan); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-desc { color: var(--soft); font-size: .92rem; }
.detail-desc p { margin: 0 0 .75rem; }
.attrs {
  font-size: .82rem; color: var(--muted); padding: .75rem .9rem; background: var(--navy);
  border-radius: 10px; border: 1px solid var(--border); margin-top: .75rem;
}
.modal-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.toast {
  position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%) translateY(120%);
  background: #fff; color: var(--navy); padding: .75rem 1.15rem; border-radius: 999px;
  font-weight: 700; font-size: .88rem; box-shadow: 0 12px 40px rgba(0,0,0,.35);
  z-index: 300; transition: transform .25s ease; pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }
