/* ============================================================
   ZOMBIE LAND STORE - PayNow hosted webstore template
   Visual language mirrors zombieland.io (dark navy, Cinzel
   headings, Inter body, gold accent). Plain CSS, no framework.
   ============================================================ */
:root {
  --bg: #05070d;
  --panel: #1b1e26;
  --panel-2: #22252e;
  --text: #f1f3f8;
  --muted: #b7becf;
  --line: #353945;
  --accent: #b7cbe7;
  --gold: #e6c84a;
  --gold-bright: #ffd964;
  --gold-dim: rgba(230, 200, 74, 0.14);
  --gold-line: rgba(230, 200, 74, 0.32);
  --gold-glow: rgba(230, 200, 74, 0.22);
  --green: #8ff1c2;
  --red: #ff8c7a;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; }

.container {
  width: min(1240px, 94%);
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ---------- Header (same structure as the main site) ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(8, 12, 20, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.topbar-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}
.brand-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}
.brand-text strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  letter-spacing: 0.05em;
}
.brand-text small {
  display: block;
  margin-top: 0.05rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.topbar-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

/* utility row: main site, sign in, cart */
.utility {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.utility a,
.utility button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.utility a:hover,
.utility button:hover {
  color: var(--gold-bright);
  border-color: var(--gold-line);
  background: var(--gold-dim);
}
.utility svg { width: 15px; height: 15px; flex: 0 0 auto; }
.utility .u-user img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}
.utility .u-cart .count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  color: #1a1503;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-radius: 999px;
}
.utility form { display: inline; }

/* nav */
.menu { position: relative; }
.menu-list,
.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}
.menu-item { position: relative; }
.menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  text-decoration: none;
  color: #e6ecfb;
  text-transform: uppercase;
  font-family: "Cinzel", serif;
  letter-spacing: 0.02em;
  font-size: 0.93rem;
  line-height: 1.2;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.menu-list > .menu-item > .menu-link { padding: 0.35rem 0.35rem; }
.menu-item.has-submenu > .menu-link::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #c9d2e7;
  margin-top: 2px;
}
.menu .submenu .menu-item.has-submenu > .menu-link::after {
  border: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid #d7e2ff;
}
.menu-link:hover,
.menu-link:focus-visible,
.menu-item:hover > .menu-link,
.menu-item.is-active > .menu-link {
  color: #fff;
  background: rgba(140, 183, 255, 0.18);
  border-radius: 8px;
}
.menu-list > .menu-item.is-active > .menu-link { color: var(--gold-bright); }
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  padding: 0.45rem 0;
  border: 1px solid rgba(157, 172, 201, 0.32);
  border-radius: 12px;
  background: rgba(23, 29, 45, 0.97);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 20;
}
.submenu .menu-link {
  width: 100%;
  padding: 0.55rem 0.95rem;
  border-radius: 0;
  font-size: 0.86rem;
}
.submenu .submenu {
  top: -1px;
  left: calc(100% + 0.45rem);
  transform: translateX(-8px);
}
.menu-item:hover > .submenu,
.menu-item:focus-within > .submenu,
.menu-item.is-open > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.submenu .menu-item:hover > .submenu,
.submenu .menu-item:focus-within > .submenu,
.submenu .menu-item.is-open > .submenu { transform: translateX(0); }
/* right-align the last top-level dropdowns so they never overflow the viewport */
.menu-list > .menu-item:nth-last-child(-n+2) > .submenu { left: auto; right: 0; }
.menu-list > .menu-item:nth-last-child(-n+2) .submenu .submenu {
  left: auto;
  right: calc(100% + 0.45rem);
}

/* ---------- Notification banner ---------- */
.notice {
  margin: 1.2rem auto 0;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--gold-line);
  background: var(--gold-dim);
  color: var(--text);
  font-size: 0.95rem;
}
.notice.is-error {
  border-color: rgba(226, 69, 43, 0.45);
  background: rgba(226, 69, 43, 0.12);
}
.notice.is-success {
  border-color: rgba(143, 241, 194, 0.4);
  background: rgba(143, 241, 194, 0.1);
}
.notice svg { flex: 0 0 auto; }

/* ---------- Page shell ---------- */
main { flex: 1; padding-bottom: 4rem; }
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.4rem;
  align-items: start;
  margin-top: 2.2rem;
}
.page-grid > aside { position: sticky; top: 104px; display: grid; gap: 0.9rem; }
.page-grid > aside:empty { display: none; }
.page-grid.no-aside { grid-template-columns: minmax(0, 1fr); }

/* ---------- Hero (rank-page style) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 900px 420px at 78% 10%, rgba(230, 200, 74, 0.09), transparent 65%),
    radial-gradient(ellipse 700px 380px at 15% 110%, rgba(120, 150, 200, 0.07), transparent 60%),
    linear-gradient(180deg, #0a0d14 0%, #05070d 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 2.6rem 0 2.4rem;
}
.hero-text { max-width: 680px; }
.kicker {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-title {
  margin: 0 0 0.75rem;
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(175deg, #fdf6d8 20%, var(--gold) 55%, #a8871f 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 55px rgba(230, 200, 74, 0.25);
}
.hero-tagline {
  margin: 0 0 1.3rem;
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.6;
}
.hero-badge {
  position: relative;
  flex: 0 0 auto;
  width: clamp(160px, 22vw, 260px);
  filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.55));
}
.hero-badge::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 62%);
  animation: zl-glow 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes zl-glow {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.hero-badge img { position: relative; width: 100%; height: auto; display: block; }

/* home hero: no badge, compact, text spans the width */
.home-hero .hero-inner { padding: 1.7rem 0 1.6rem; display: block; }
.home-hero .hero-text { max-width: none; }
.home-hero .hero-title { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 0.5rem; }
.home-hero .hero-tagline { max-width: 860px; margin-bottom: 1rem; font-size: 1.05rem; }
.home-hero .hero-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; }
.home-hero .btn-row .btn { padding: 0.65rem 1.3rem; font-size: 0.86rem; }

/* page-level hero for category/product/cart/account */
.page-hero .hero-inner { padding: 1.9rem 0 1.7rem; }
.page-hero .hero-title { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.page-hero .hero-tagline { margin-bottom: 0; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}
.chip svg { color: var(--gold); flex: 0 0 auto; }
a.chip:hover { border-color: var(--gold-line); color: var(--gold-bright); }
.chip.is-gold {
  color: var(--gold-bright);
  background: var(--gold-dim);
  border-color: var(--gold-line);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled,
.btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-gold {
  color: #1a1503;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
}
.btn-gold:hover { box-shadow: 0 8px 26px rgba(230, 200, 74, 0.3); }
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold-line); box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35); }
.btn-green {
  color: #07160f;
  background: linear-gradient(180deg, #a9f5d0, var(--green));
}
.btn-green:hover { box-shadow: 0 8px 26px rgba(143, 241, 194, 0.25); }
.btn-danger {
  color: var(--red);
  background: rgba(226, 69, 43, 0.1);
  border-color: rgba(226, 69, 43, 0.35);
}
.btn-danger:hover { border-color: rgba(226, 69, 43, 0.7); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.82rem; }
.btn-block { width: 100%; }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ---------- Sections ---------- */
.section { margin: 0 0 2.9rem; }
.section-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 0.55rem;
}
.section-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-line);
  border-radius: 9px;
}
.section-head h1,
.section-head h2 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.section-head .rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.section-head .count {
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}
.section-intro {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1rem;
}
.section-intro a { color: var(--accent); }

/* ---------- Panels / cards ---------- */
.panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.3rem 1.35rem 1.25rem;
}
.panel h3 {
  margin: 0 0 0.5rem;
  font-family: "Cinzel", serif;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.panel p { margin: 0 0 0.8rem; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.panel p:last-child { margin-bottom: 0; }
.panel-gold { border-top: 2px solid var(--gold-line); }
.panel-warn { border-color: rgba(226, 69, 43, 0.35); }
.panel-warn h3 { color: var(--red); }
.panel-success { border-color: rgba(143, 241, 194, 0.4); }
.panel-success h3 { color: var(--green); }

.prose { color: var(--muted); font-size: 0.97rem; line-height: 1.6; }
.prose p { margin: 0 0 0.9rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); }
.prose ul, .prose ol { margin: 0 0 0.9rem; padding-left: 1.2rem; }
.prose img { border-radius: 8px; border: 1px solid var(--line); height: auto; }
.prose h1, .prose h2, .prose h3, .prose h4 {
  margin: 1.2rem 0 0.5rem;
  color: var(--text);
  font-family: "Cinzel", serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.05rem;
}
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.prose td, .prose th { padding: 0.45rem 0.6rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); text-align: left; }

/* category grid on home */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.cat-grid a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.05rem 1.1rem;
  text-decoration: none;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.cat-grid a:hover { transform: translateY(-2px); border-color: var(--gold-line); }
.cat-grid strong {
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.cat-grid a:hover strong { color: var(--gold-bright); }
.cat-grid span { font-size: 0.82rem; color: var(--muted); }

/* sub-category pills on category page */
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.6rem;
}
.jump a {
  padding: 0.45rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.jump a:hover,
.jump a.is-active {
  color: var(--gold-bright);
  border-color: var(--gold-line);
  background: var(--gold-dim);
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-line);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.product-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #101318;
  border-bottom: 1px solid var(--line);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-media .placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--line);
}
.product-media .placeholder svg { width: 56px; height: 56px; }
.sale-tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.22rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1503;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-radius: 4px;
}
.sale-tag.is-out { color: #fff; background: rgba(226, 69, 43, 0.9); }
.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.05rem 1.05rem;
}
.product-name {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--text);
}
.product-name a { text-decoration: none; }
.product-name a:hover { color: var(--gold-bright); }
.product-label {
  font-size: 0.8rem;
  color: var(--muted);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gold-bright);
}
.price .was {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: line-through;
  opacity: 0.7;
}
.price .cur {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.price .per {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.product-actions {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
}
.product-actions .btn { flex: 1; padding: 0.6rem 0.6rem; font-size: 0.78rem; letter-spacing: 0.06em; white-space: nowrap; }
.product-desc-short {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Product page ---------- */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 1.4rem;
  align-items: start;
}
.product-figure {
  position: sticky;
  top: 104px;
  background: #101318;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.product-figure img { display: block; width: 100%; height: auto; }
.product-figure .placeholder {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: var(--line);
}
.product-figure .placeholder svg { width: 80px; height: 80px; }
.buy-box { display: grid; gap: 1rem; }
.buy-box .price { font-size: 1.9rem; }
.buy-box .price .cur { font-size: 0.85rem; }
.vat-note { font-size: 0.82rem; color: var(--muted); }
.field { display: grid; gap: 0.35rem; }
.field label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field .hint { font-size: 0.82rem; color: var(--muted); opacity: 0.8; }
.input,
select.input,
textarea.input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #101318;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}
.input:focus { border-color: var(--gold-line); box-shadow: 0 0 0 3px var(--gold-dim); }
select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b7becf' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}
.gift-box { display: none; gap: 0.6rem; }
.gift-box.is-open { display: grid; }
.gift-box .row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.gift-box .row .input { flex: 1; min-width: 200px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag-row a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  color: var(--muted);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.tag-row a:hover { color: var(--gold-bright); border-color: var(--gold-line); }

/* ---------- Cart ---------- */
.cart-lines { display: grid; gap: 0.8rem; }
.cart-line {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}
.cart-thumb {
  width: 84px;
  height: 64px;
  background: #101318;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--line);
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line h3 { margin: 0 0 0.2rem; font-size: 1rem; }
.cart-line .meta { font-size: 0.82rem; color: var(--muted); }
.cart-line .meta span { margin-right: 0.8rem; }
.qty { display: flex; align-items: center; gap: 0.45rem; }
.qty label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.qty input { width: 64px; text-align: center; padding: 0.45rem 0.4rem; }
.cart-line .line-total { text-align: right; }
.cart-line .line-total .price { justify-content: flex-end; font-size: 1.1rem; }
.cart-line .remove {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0;
  font: inherit;
  font-size: 0.78rem;
  color: var(--red);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.cart-line .remove:hover { text-decoration: underline; }
.cart-summary {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.cart-summary .total { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.cart-summary .price { font-size: 1.9rem; }
.empty-state { text-align: center; padding: 2.5rem 1rem; }
.empty-state svg { width: 52px; height: 52px; color: var(--line); margin-bottom: 0.6rem; }
.empty-state h3 { margin: 0 0 0.4rem; }

/* ---------- Account ---------- */
.rows { display: grid; gap: 0.7rem; }
.row-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
}
.row-card.no-thumb { grid-template-columns: minmax(0, 1fr) auto auto; }
.row-card h3 { margin: 0 0 0.15rem; font-size: 1rem; }
.row-card .meta { font-size: 0.82rem; color: var(--muted); }
.row-card .meta span { display: inline-block; margin-right: 0.8rem; }
.status {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.status.is-active,
.status.is-completed {
  color: var(--green);
  background: rgba(143, 241, 194, 0.1);
  border-color: rgba(143, 241, 194, 0.35);
}
.status.is-canceled,
.status.is-expired,
.status.is-removed,
.status.is-revoked {
  color: var(--red);
  background: rgba(226, 69, 43, 0.1);
  border-color: rgba(226, 69, 43, 0.35);
}
.status.is-gold {
  color: var(--gold-bright);
  background: var(--gold-dim);
  border-color: var(--gold-line);
}

/* ---------- Modules (sidebar) ---------- */
.module { padding: 1.1rem 1.15rem 1.05rem; }
.module h3 { font-size: 0.92rem; margin-bottom: 0.7rem; }
.module h3 small {
  display: block;
  margin-top: 0.15rem;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.module form { display: grid; gap: 0.5rem; }
.donors { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.donors li { display: flex; align-items: center; gap: 0.65rem; }
.donors img,
.donors .avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  background: #101318;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--line);
  flex: 0 0 auto;
}
.donors .who { min-width: 0; flex: 1; }
.donors .name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.donors .what { display: block; font-size: 0.76rem; color: var(--muted); }
.donors .amt { font-size: 0.82rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.goal-bar {
  height: 10px;
  background: #101318;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.goal-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}
.goal-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.goal-meta strong { color: var(--gold-bright); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  padding: 1.9rem 2rem;
  background:
    radial-gradient(ellipse 600px 260px at 85% 50%, rgba(120, 150, 200, 0.10), transparent 65%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-band .kicker { color: var(--accent); font-size: 0.8rem; letter-spacing: 0.28em; }
.cta-band h2 {
  margin: 0 0 0.4rem;
  font-family: "Cinzel", serif;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cta-band p { margin: 0; color: var(--muted); max-width: 640px; }
.cta-band .btn-silver {
  color: #10131a;
  background: linear-gradient(180deg, #d8e4f5, var(--accent));
}
.cta-band .btn-silver:hover { box-shadow: 0 8px 26px rgba(183, 203, 231, 0.25); }

.fineprint {
  margin: 1.6rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  opacity: 0.85;
}
.fineprint a { color: var(--accent); }

/* ---------- Footer (same as main site) ---------- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: rgba(9, 12, 20, 0.88);
}
.footer-inner { padding: 1.2rem 0 1rem; text-align: center; }
.footer-title {
  margin: 0;
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(1.45rem, 2vw, 2rem);
}
.footer-links { margin: 0.4rem 0; }
.footer-links a {
  margin: 0 0.5rem;
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  margin: 0.2rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-disclaimer {
  margin: 0.7rem auto 0;
  max-width: 720px;
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.75;
}
.footer-paynow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  font-size: 0.74rem;
  color: var(--muted);
  opacity: 0.7;
  text-decoration: none;
}
.footer-paynow:hover { opacity: 1; }
.footer-paynow svg { width: 16px; height: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0;
  }
  .topbar-right { width: 100%; align-items: flex-start; }
  .utility { justify-content: flex-start; }
  .menu { width: 100%; }
  .menu-list { justify-content: flex-start; row-gap: 0.55rem; }
  .menu-list > .menu-item:nth-last-child(-n+2) > .submenu { left: 0; right: auto; }
  .menu-list > .menu-item:nth-last-child(-n+2) .submenu .submenu { left: calc(100% + 0.45rem); right: auto; }
  .page-grid { grid-template-columns: minmax(0, 1fr); }
  .page-grid > aside { position: static; }
  .product-layout { grid-template-columns: minmax(0, 1fr); }
  .product-figure { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .hero-inner { flex-direction: column-reverse; text-align: center; gap: 1rem; }
  .hero-text { max-width: none; }
  .chips { justify-content: center; }
  .hero-badge { width: 150px; }
  .home-hero .hero-inner { text-align: left; }
  .home-hero .hero-row { justify-content: center; }
  .btn-row { justify-content: center; }
  .cart-line { grid-template-columns: 64px minmax(0, 1fr); }
  .cart-thumb { width: 64px; height: 50px; }
  .cart-line .qty, .cart-line .line-total { grid-column: 2; }
  .cart-line .line-total { text-align: left; }
  .cart-line .line-total .price { justify-content: flex-start; }
  .row-card, .row-card.no-thumb { grid-template-columns: minmax(0, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .product-grid { grid-template-columns: 1fr; }
  /* nested submenus open downward instead of sideways on small screens */
  .submenu .submenu { position: static; transform: none; border: 0; box-shadow: none; padding-left: 0.8rem; }
}
