/* ============ Greek Paradise — base ============ */
:root {
  --bg: #04081a;
  --bg-2: #070e28;
  --card: rgba(16, 34, 84, 0.45);
  --card-solid: #0b1736;
  --line: rgba(110, 180, 255, 0.18);
  --line-strong: rgba(110, 180, 255, 0.45);
  --blue: #2f8cff;
  --blue-2: #5ab4ff;
  --ice: #cfeeff;
  --text: #e8f2ff;
  --muted: #93a7c8;
  --glow: 0 0 24px rgba(47, 140, 255, 0.45);
  --radius: 18px;
  /* Noto Serif Display & Inter have Greek letters; Cinzel only for the brand name */
  --serif: 'Noto Serif Display', Georgia, serif;
  --brand: 'Cinzel', Georgia, serif;
  --sans: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(47, 140, 255, 0.18), transparent 60%),
    radial-gradient(800px 500px at 100% 60%, rgba(47, 140, 255, 0.08), transparent 60%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: min(1200px, 92%); margin: 0 auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: 0.01em; line-height: 1.15; }
h1 span, h2 span {
  background: linear-gradient(180deg, #fff, var(--blue-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(47, 140, 255, 0.55));
}
.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--blue-2);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 0.95rem 1.8rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-2), var(--blue) 55%, #1a5fd6);
  color: #fff; box-shadow: var(--glow);
}
.btn-primary:hover { box-shadow: 0 0 36px rgba(47, 140, 255, 0.75); }
.btn-ghost { border: 1px solid var(--line-strong); background: rgba(47, 140, 255, 0.06); }
.btn-ghost:hover { border-color: var(--blue-2); background: rgba(47, 140, 255, 0.14); }
.btn-discord { background: #5865f2; color: #fff; padding: 0.55rem 1.05rem; }
.btn-discord svg { width: 18px; height: 18px; fill: currentColor; }
.btn-discord:hover { background: #4752c4; }

/* ============ Navbar ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 8, 26, 0.82); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-logo {
  width: 56px; height: 56px; flex: none; object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(47, 140, 255, 0.55));
  transition: transform 0.4s, filter 0.3s;
}
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); filter: drop-shadow(0 0 16px rgba(47, 140, 255, 0.85)); }
.brand-name { font-family: var(--brand); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 1rem; white-space: nowrap; }
.brand-name b { font-weight: 800; color: var(--ice); }

.nav-links { display: flex; gap: 0.3rem; }
.nav-links a {
  padding: 0.5rem 0.9rem; border-radius: 999px; font-size: 0.92rem; color: var(--muted); white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(47, 140, 255, 0.14); }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center;
  transition: background 0.2s;
}
.cart-btn:hover { background: rgba(47, 140, 255, 0.15); }
.cart-btn svg { width: 22px; height: 22px; fill: var(--ice); }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--blue); color: #fff; font-size: 0.72rem; font-weight: 700;
  display: grid; place-items: center; box-shadow: var(--glow);
}
.cart-count.bump { animation: bump 0.4s; }
@keyframes bump { 50% { transform: scale(1.35); } }

.menu-btn { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { width: 22px; height: 2px; background: var(--ice); border-radius: 2px; transition: 0.3s; }

/* ============ Hero ============ */
.hero { padding-top: 72px; position: relative; }
.hero-banner { position: relative; }
.hero-banner img { width: 100%; height: auto; }
.hero-banner::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 26, 0.55) 0%, transparent 18%, transparent 70%, var(--bg) 100%);
  pointer-events: none;
}
.hero-content { text-align: center; position: relative; margin-top: -2.5rem; padding-bottom: 3.5rem; }
.hero-content h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin: 0.6rem 0 1rem; }
.hero-sub { color: var(--muted); max-width: 620px; margin: 0 auto 2rem; font-size: 1.08rem; }
.hero-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ============ Perks strip ============ */
.perks { padding: 0 0 3rem; }
.perks-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding: 1.4rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.perk { display: flex; align-items: center; gap: 0.9rem; padding: 0.4rem 0.6rem; }
.perk-icon {
  width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem;
  background: rgba(47, 140, 255, 0.12); border: 1px solid var(--line);
}
.perk h3 { font-family: var(--sans); font-size: 0.98rem; font-weight: 600; letter-spacing: 0; }
.perk p { color: var(--muted); font-size: 0.85rem; }

/* ============ Sections ============ */
.section { padding: 5.5rem 0; position: relative; scroll-margin-top: 40px; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(11, 23, 54, 0.55) 20%, rgba(11, 23, 54, 0.55) 80%, transparent); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.8rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-top: 0.5rem; }
.section-sub { color: var(--muted); margin-top: 0.8rem; }

/* ============ Shop ============ */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.2rem; }
.filter {
  padding: 0.5rem 1.1rem; border-radius: 999px; font-size: 0.9rem; font-weight: 500;
  border: 1px solid var(--line); color: var(--muted); background: rgba(47, 140, 255, 0.04);
  transition: 0.2s;
}
.filter:hover { color: #fff; border-color: var(--line-strong); }
.filter.active { color: #fff; background: rgba(47, 140, 255, 0.2); border-color: var(--blue-2); box-shadow: var(--glow); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
.product {
  position: relative; display: flex; flex-direction: column;
  padding: 1.8rem 1.5rem 1.5rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 46, 110, 0.55), rgba(9, 18, 46, 0.75));
  border: 1px solid var(--line);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  animation: rise 0.45s both;
}
.product:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), var(--glow); }
.product.featured { border-color: var(--blue-2); box-shadow: 0 0 0 1px rgba(90, 180, 255, 0.35), var(--glow); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.product-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 0.28rem 0.85rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: var(--glow);
}
.product-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem;
  background: rgba(47, 140, 255, 0.14); border: 1px solid var(--line); margin-bottom: 1.1rem;
}
.product-cat { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-2); font-weight: 600; }
.product h3 { font-size: 1.35rem; margin: 0.3rem 0 0.5rem; }
.product-desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.1rem; }
.product ul { list-style: none; display: grid; gap: 0.45rem; margin-bottom: 1.4rem; font-size: 0.9rem; }
.product li { display: flex; gap: 0.55rem; align-items: flex-start; }
.product li::before { content: '✦'; color: var(--blue-2); font-size: 0.8rem; margin-top: 0.15rem; }
.product-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.price { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: #fff; line-height: 1; }
.price small { display: block; font-family: var(--sans); font-size: 0.75rem; font-weight: 500; color: var(--muted); margin-top: 0.35rem; }
.price s { font-size: 0.95rem; color: var(--muted); margin-right: 0.35rem; font-weight: 500; }
.add-btn { padding: 0.65rem 1.1rem; font-size: 0.9rem; }
.product-skeleton {
  height: 380px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(22, 46, 110, 0.35), rgba(47, 140, 255, 0.16), rgba(22, 46, 110, 0.35));
  background-size: 200% 100%; animation: shimmer 1.4s linear infinite;
}
.products > .review-empty { grid-column: 1 / -1; width: 100%; }
.add-btn.added { background: #1fae6a; box-shadow: 0 0 22px rgba(31, 174, 106, 0.5); }

/* ============ Steps ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; position: relative; }
.step {
  text-align: center; padding: 2.2rem 1.6rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
}
.step-num {
  width: 60px; height: 60px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 800;
  background: radial-gradient(circle at 30% 30%, var(--blue-2), var(--blue) 60%, #123f99);
  box-shadow: var(--glow);
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.93rem; }

/* ============ Stats + reviews ============ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 5rem;
}
.stat {
  text-align: center; padding: 1.6rem 1rem; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: rgba(47, 140, 255, 0.06);
  box-shadow: inset 0 0 30px rgba(47, 140, 255, 0.08);
}
.stat b { display: block; font-family: var(--serif); font-size: 2.2rem; color: #fff; text-shadow: 0 0 20px rgba(47, 140, 255, 0.7); }
.stat span { color: var(--muted); font-size: 0.88rem; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review {
  padding: 1.6rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1rem;
}
.review-stars { color: #ffd257; letter-spacing: 0.15em; text-shadow: 0 0 10px rgba(255, 210, 87, 0.45); }
.review p { color: #cfdcf2; font-size: 0.95rem; flex: 1; }
.review-user { display: flex; align-items: center; gap: 0.7rem; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: linear-gradient(135deg, var(--blue-2), #1a5fd6);
}
.review-user b { display: block; font-size: 0.92rem; }
.review-user small { color: var(--muted); font-size: 0.78rem; }
.example-tag {
  margin-left: auto; font-size: 0.68rem; padding: 0.2rem 0.55rem; border-radius: 999px;
  border: 1px dashed var(--line-strong); color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em;
}

/* ============ FAQ ============ */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 0.8rem; }
.faq-item { border-radius: 14px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: var(--line-strong); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.3rem; text-align: left; font-weight: 600; font-size: 1rem;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--blue-2); transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ============ Final CTA ============ */
.cta { padding: 2rem 0 6rem; }
.cta-inner {
  text-align: center; padding: 3.5rem 1.5rem; border-radius: 26px; position: relative; overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line-strong); box-shadow: var(--glow);
  isolation: isolate;
}
.cta-inner::before {
  content: ''; position: absolute; inset: -40px; z-index: -1;
  background: url('/assets/banner.webp') center / cover;
  filter: blur(18px) brightness(0.45) saturate(1.2);
}
.cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 0.8rem; }
.cta p { color: var(--muted); margin-bottom: 1.8rem; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--line); padding: 3.4rem 0 1.6rem; background: rgba(2, 5, 16, 0.7); min-height: 120px; }
.footer-grid { display: grid; grid-template-columns: minmax(260px, 1fr) 2.2fr; gap: 3.5rem; }
.footer-about { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin-top: 1.1rem; max-width: 380px; }
.footer-label { margin-top: 1.7rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.footer-pay { display: grid; grid-template-columns: repeat(4, max-content); gap: 0.9rem 1.5rem; margin-top: 0.85rem; align-items: center; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.8rem; align-content: start; }
.footer-col h4 { font-family: var(--sans); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin: 0.35rem 0 1.1rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.75rem; }
.footer-col a { position: relative; display: inline-block; padding-left: 1rem; color: var(--muted); font-size: 0.9rem; line-height: 1.35; transition: color 0.2s; }
.footer-col a::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 8px var(--blue); }
.footer-col a:hover { color: #fff; }
.footer-col .ext { margin-left: 0.3rem; font-size: 0.72rem; opacity: 0.55; }
.footer-bottom { margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; text-align: center; }
/* payment logos («Δεχόμαστε») */
.pm { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.88rem; white-space: nowrap; color: #e8f2ff; line-height: 1; opacity: 0.92; transition: opacity 0.2s; }
.pm:hover { opacity: 1; }
.pm b { font-weight: 800; }
.pm-psc { letter-spacing: -0.01em; }
.pm-psc span { color: #3ec1ff; }
.pm-pp { font-style: italic; color: #3fa9f5; display: inline-flex; align-items: center; gap: 0.25rem; }
.pm-pp i { font-style: italic; font-weight: 900; font-size: 1.05rem; color: #7fd0ff; }
.pm-pp span { color: #9fdcff; }
.pm-coin { width: 19px; height: 19px; border-radius: 50%; display: inline-grid; place-items: center; font-style: normal; font-size: 0.72rem; font-weight: 800; color: #fff; }
.pm-btc { background: #f7931a; } .pm-btc-t { color: #f7a13a; }
.pm-ltc { background: #4b74b8; } .pm-ltc-t { color: #8fb0e6; }
.pm-eth { background: #627eea; } .pm-eth-t { color: #a3b3f5; }
.pm-usdt { background: #26a17b; } .pm-usdt-t { color: #5fd1ad; }
.pm-visa { font-style: italic; font-weight: 900 !important; letter-spacing: 0.04em; color: #5b8cff; font-size: 0.98rem; }
.pm-mc { position: relative; display: inline-block; width: 34px; height: 20px; }
.pm-mc span { position: absolute; top: 0; width: 20px; height: 20px; border-radius: 50%; }
.pm-mc span:first-child { left: 0; background: #eb001b; }
.pm-mc span:last-child { right: 0; background: #f79e1b; mix-blend-mode: screen; }
.pm-gpay span { background: linear-gradient(90deg, #4285f4, #34a853 40%, #fbbc05 70%, #ea4335); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pm-apay { font-weight: 700 !important; }
.pm-rev { letter-spacing: -0.01em; }
.pm-viva { color: #fff; }
.pm-viva span { color: #ffd23f; font-weight: 600; }
.pm-iris { letter-spacing: 0.12em; color: #45c8ff; }
.pm-bank { font-style: normal; }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Checkout (/checkout) + my orders (/order) ============ */
.page-hero-sm { padding-bottom: 1.6rem; }
.page-hero-sm h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.co, .od { display: grid; grid-template-columns: 1fr 380px; gap: 1.8rem; align-items: start; }
.co[hidden], .od[hidden], .co-empty[hidden], .od-list[hidden] { display: none; }
.co-main, .od-main { display: grid; gap: 1.1rem; }
.co-side, .od-side { position: sticky; top: calc(90px + var(--bar-h)); }
.co-step { padding: 1.4rem 1.5rem; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 0.9rem; }
.co-step h3 { display: flex; align-items: center; gap: 0.7rem; font-family: var(--sans); font-size: 1.05rem; font-weight: 700; }
.co-step h3 b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 0.85rem; background: linear-gradient(135deg, var(--blue-2), var(--blue)); box-shadow: var(--glow); }
.co-step.done h3 b { background: #23d18b; box-shadow: 0 0 14px rgba(35, 209, 139, 0.6); font-size: 0; }
.co-step.done h3 b::after { content: '✓'; font-size: 0.85rem; }
.co-step p { color: var(--muted); font-size: 0.92rem; }
.co-step .btn-discord { justify-self: start; }
.co-step .btn-discord svg { width: 20px; height: 20px; fill: currentColor; }
.co-who { display: flex; align-items: center; gap: 0.8rem; padding: 0.75rem 0.9rem; border-radius: 14px; background: rgba(88, 101, 242, 0.12); border: 1px solid rgba(120, 140, 255, 0.35); }
.co-who[hidden], #coLoginOut[hidden] { display: none; }
.co-who img { width: 42px; height: 42px; border-radius: 50%; }
.co-who b { display: block; }
.co-who small { color: #8fe3bd; font-size: 0.8rem; }
.co-switch { margin-left: auto; font-size: 0.8rem; color: var(--muted); text-decoration: underline; }
.co-methods { display: grid; gap: 0.6rem; }
.co-method { display: flex; align-items: center; gap: 0.9rem; width: 100%; padding: 0.9rem 1rem; border-radius: 14px; text-align: left; background: rgba(4, 10, 32, 0.55); border: 1px solid var(--line-strong); transition: 0.2s; }
.co-method:hover { border-color: var(--blue-2); }
.co-method.on { border-color: var(--blue-2); background: rgba(47, 140, 255, 0.12); box-shadow: 0 0 0 1px var(--blue-2) inset; }
.co-method .pm-coin { width: 34px; height: 34px; font-size: 1.05rem; flex: none; }
.co-method span { flex: 1; }
.co-method b { display: block; }
.co-method small { color: var(--muted); font-size: 0.8rem; }
.co-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; }
.co-method.on .co-radio { border-color: var(--blue-2); background: radial-gradient(circle, var(--blue-2) 45%, transparent 50%); }
.co-none[hidden] { display: none; }
.co-other { padding-top: 0.2rem; }
.co-other a, .co-check a { color: var(--blue-2); text-decoration: underline; }
.co-check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; color: #cfdcf2; cursor: pointer; line-height: 1.5; }
.co-check input { width: 18px; height: 18px; margin-top: 0.2rem; accent-color: var(--blue); flex: none; }
.co-card-head { display: flex; justify-content: space-between; align-items: center; }
.co-card-head h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; }
.co-card-head a { font-size: 0.82rem; color: var(--blue-2); }
.co-items { display: grid; gap: 0.7rem; }
.co-item { display: flex; align-items: center; gap: 0.8rem; }
.co-item-media { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; flex: none; background: #071233; border: 1px solid var(--line); }
.co-item-media img, .co-item-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-item-media .media-ph span { font-size: 1.4rem; }
.co-item-info { flex: 1; min-width: 0; }
.co-item-info b { display: block; font-size: 0.92rem; }
.co-item-info small { color: var(--muted); font-size: 0.78rem; }
.co-item-price { white-space: nowrap; }
.co-coupon { margin: 0; }
.co-error:empty { display: none; }
.co-card .btn[disabled] { opacity: 0.6; }
/* one order */
.od-card { display: grid; gap: 1rem; padding: 1.8rem; border-radius: 22px; background: var(--card); border: 1px solid var(--line-strong); text-align: center; justify-items: center; }
.od-card h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.od-card p { color: #cfdcf2; max-width: 520px; }
.od-big { font-size: 3rem; line-height: 1; }
.od-done { border-color: rgba(35, 209, 139, 0.5); box-shadow: 0 0 40px rgba(35, 209, 139, 0.12); }
.od-warn { border-color: rgba(255, 184, 77, 0.5); }
.od-ends { font-size: 0.95rem; }
.od-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; justify-content: center; }
.od-pay { text-align: left; justify-items: stretch; }
.od-pay-head { display: flex; align-items: center; gap: 0.9rem; }
.od-pay-head .pm-coin { width: 46px; height: 46px; font-size: 1.4rem; flex: none; }
.od-pay-head h2 { font-size: 1.6rem; }
.od-pay-head small { color: var(--muted); }
.od-pay-grid { display: grid; grid-template-columns: 210px 1fr; gap: 1rem; align-items: start; }
.od-pay-fields { display: grid; gap: 0.8rem; min-width: 0; }
.od-qr { display: grid; gap: 0.5rem; justify-items: center; text-align: center; }
.od-qr[hidden] { display: none; }
.od-qr-box { width: 210px; aspect-ratio: 1; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line-strong), 0 10px 40px rgba(47, 140, 255, 0.25); }
.od-qr-box svg { display: block; width: 100%; height: 100%; }
.od-qr-box:empty { background: rgba(255, 255, 255, 0.85); animation: odQrLoad 1.2s ease-in-out infinite; }
@keyframes odQrLoad { 50% { opacity: 0.5; } }
.od-qr small { color: var(--muted); font-size: 0.78rem; }
@media (max-width: 640px) {
  .od-pay-grid { grid-template-columns: 1fr; }
  .od-qr-box { width: min(240px, 70vw); }
}
.od-field { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 0.8rem; align-items: center; padding: 0.9rem 1rem; border-radius: 14px; background: rgba(4, 10, 32, 0.6); border: 1px solid var(--line); }
.od-field > span { grid-column: 1 / -1; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.od-value { min-width: 0; overflow-wrap: anywhere; font-family: ui-monospace, Consolas, monospace; }
.od-amount { font-size: 1.15rem; }
.od-amount b { font-size: 1.5rem; color: #fff; }
.od-address { font-size: 0.95rem; color: var(--ice); }
.od-copy { padding: 0.45rem 0.75rem; border-radius: 10px; border: 1px solid var(--line-strong); font-size: 0.78rem; white-space: nowrap; }
.od-copy:hover { background: rgba(47, 140, 255, 0.15); border-color: var(--blue-2); }
.od-alert { padding: 0.8rem 0.95rem; border-radius: 12px; font-size: 0.85rem; line-height: 1.55; color: #ffdca3; background: rgba(255, 184, 77, 0.07); border: 1px solid rgba(255, 184, 77, 0.35); }
.od-status { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.9rem 1rem; border-radius: 14px; background: rgba(47, 140, 255, 0.08); border: 1px solid var(--line); }
.od-status b { display: block; }
.od-status small { color: var(--muted); font-size: 0.82rem; }
.od-dot { width: 12px; height: 12px; margin-top: 0.35rem; border-radius: 50%; flex: none; background: var(--blue-2); box-shadow: 0 0 0 0 rgba(47, 140, 255, 0.6); animation: odPulse 1.6s infinite; }
.od-status.seen { background: rgba(35, 209, 139, 0.08); border-color: rgba(35, 209, 139, 0.4); }
.od-status.seen .od-dot { background: #23d18b; animation-name: odPulseGreen; }
@keyframes odPulse { 70% { box-shadow: 0 0 0 10px rgba(47, 140, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 140, 255, 0); } }
@keyframes odPulseGreen { 0% { box-shadow: 0 0 0 0 rgba(35, 209, 139, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(35, 209, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(35, 209, 139, 0); } }
.od-tx { font-size: 0.85rem; color: var(--muted); }
.od-tx a { color: var(--blue-2); font-family: ui-monospace, Consolas, monospace; }
.od-txid summary { cursor: pointer; font-size: 0.85rem; color: var(--muted); text-decoration: underline; }
.od-txid form { display: flex; gap: 0.5rem; margin-top: 0.7rem; }
.od-txid input { flex: 1; min-width: 0; padding: 0.6rem 0.8rem; border-radius: 12px; background: rgba(4, 10, 32, 0.7); border: 1px solid var(--line-strong); color: #fff; font: 0.85rem ui-monospace, Consolas, monospace; outline: none; }
.od-txid .field-error:empty { display: none; }
.od-badge { font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; white-space: nowrap; color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.od-badge.wait { color: #7cc4ff; background: rgba(47, 140, 255, 0.12); border-color: rgba(47, 140, 255, 0.4); }
.od-badge.ok { color: #23d18b; background: rgba(35, 209, 139, 0.1); border-color: rgba(35, 209, 139, 0.4); }
.od-badge.warn { color: #ffb648; background: rgba(255, 182, 72, 0.1); border-color: rgba(255, 182, 72, 0.4); }
.od-badge.bad { color: #ff7b8a; background: rgba(255, 90, 110, 0.1); border-color: rgba(255, 90, 110, 0.4); }
.od-list { display: grid; gap: 0.7rem; max-width: 900px; margin: 0 auto; }
.od-row { display: grid; grid-template-columns: 170px 1fr auto auto; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color 0.2s, transform 0.2s; }
.od-row:hover { border-color: var(--blue-2); transform: translateY(-2px); }
.od-row small { display: block; color: var(--muted); font-size: 0.78rem; }
.od-help { padding: 0.9rem 1.1rem; border-radius: 14px; font-size: 0.88rem; line-height: 1.55; color: #cfdcf2; background: rgba(47, 140, 255, 0.08); border: 1px solid var(--line); }
.od-help code { font-weight: 700; color: #fff; letter-spacing: 0.04em; }
.od-help a { color: var(--blue-2); text-decoration: underline; }
.od-row-id { font-family: ui-monospace, Consolas, monospace; letter-spacing: 0.04em; display: flex; align-items: center; gap: 0.4rem; }
.od-id-copy { display: inline-grid; place-items: center; padding: 0.15rem 0.45rem; border-radius: 8px; border: 1px solid var(--line-strong); font-size: 0.75rem; font-family: var(--sans); color: #cfdcf2; cursor: pointer; transition: 0.2s; }
.od-id-copy:hover { background: rgba(47, 140, 255, 0.18); border-color: var(--blue-2); color: #fff; }
.od-row-items { color: #cfdcf2; font-size: 0.9rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 960px) {
  .co, .od { grid-template-columns: 1fr; }
  .co-side, .od-side { position: static; }
  .od-row { grid-template-columns: 1fr auto; }
  .od-row-items { grid-column: 1 / -1; grid-row: 2; white-space: normal; }
}

/* ============ Legal pages (/legal) ============ */
.legal { display: grid; grid-template-columns: 230px 1fr; gap: 2rem; align-items: start; }
.legal-nav { position: sticky; top: calc(96px + var(--bar-h)); display: grid; gap: 0.3rem; padding: 0.6rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.legal-nav a { padding: 0.65rem 0.9rem; border-radius: 11px; color: var(--muted); font-size: 0.92rem; font-weight: 600; transition: 0.2s; }
.legal-nav a:hover { color: #fff; background: rgba(47, 140, 255, 0.08); }
.legal-nav a.active { color: #fff; background: rgba(47, 140, 255, 0.18); box-shadow: inset 3px 0 0 var(--blue-2); }
.legal-nav:empty { display: none; }
.legal-body { display: grid; gap: 1.4rem; }
.legal-card { scroll-margin-top: calc(100px + var(--bar-h)); padding: 2rem 2.2rem; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.legal-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.1rem; }
.legal-text { color: #cfdcf2; font-size: 0.95rem; line-height: 1.75; }
.legal-text p + p, .legal-text ul + p, .legal-text p + ul { margin-top: 0.7rem; }
.legal-text h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; color: #fff; margin: 1.5rem 0 0.5rem; }
.legal-text ul { list-style: none; display: grid; gap: 0.45rem; }
.legal-text li { position: relative; padding-left: 1.2rem; }
.legal-text li::before { content: ''; position: absolute; left: 0.1rem; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 8px var(--blue); }
@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: flex; overflow-x: auto; }
  .legal-nav a { white-space: nowrap; }
  .legal-card { padding: 1.5rem 1.3rem; }
}

/* ============ Cart drawer ============ */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(400px, 100%);
  background: var(--card-solid); border-left: 1px solid var(--line-strong);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s ease;
}
body.cart-open .drawer { transform: none; }
body.cart-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); }
.drawer-close:hover { background: rgba(47, 140, 255, 0.15); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; display: grid; align-content: start; gap: 0.8rem; }
.drawer-empty { text-align: center; color: var(--muted); padding: 3rem 1rem; }
.drawer-empty div { font-size: 2.4rem; margin-bottom: 0.6rem; }
.cart-item { display: flex; gap: 0.9rem; align-items: center; padding: 0.8rem; border-radius: 14px; background: rgba(47, 140, 255, 0.06); border: 1px solid var(--line); }
.cart-item-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: rgba(47, 140, 255, 0.14); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info b { display: block; font-size: 0.95rem; }
.cart-item-info small { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 0.4rem; }
.qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); }
.qty button:hover { background: rgba(47, 140, 255, 0.2); }
.qty button[disabled] { opacity: 0.35; cursor: not-allowed; background: none; }
.cart-item-info small s { opacity: 0.7; }
.cart-item-info em { display: block; font-style: normal; font-size: 0.74rem; font-weight: 600; margin-top: 0.15rem; }
.cart-off { color: #23d18b; }
.cart-next { color: #7cc4ff; }
.drawer-foot { padding: 1.2rem 1.4rem 1.5rem; border-top: 1px solid var(--line); }
.drawer-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: 1.05rem; }
.drawer-total b { font-family: var(--serif); font-size: 1.5rem; }
.drawer-hint { margin-top: 0.7rem; color: var(--muted); font-size: 0.8rem; text-align: center; }
.drawer-sub { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.88rem; color: #cfdcf2; margin-bottom: 0.45rem; }
.drawer-off { color: #23d18b; }
.drawer-off em { font-style: normal; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.05rem 0.45rem; margin-left: 0.25rem; border-radius: 999px; border: 1px solid rgba(35, 209, 139, 0.5); }

/* coupon box (cart + package page) */
.coupon[hidden], .coupon-form[hidden], .coupon-on[hidden], .drawer-sub[hidden] { display: none; }
.coupon { display: grid; gap: 0.4rem; margin-bottom: 0.95rem; }
.coupon-form { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.35rem 0.35rem 0.8rem; border-radius: 14px; background: rgba(4, 10, 32, 0.6); border: 1px dashed var(--line-strong); transition: border-color 0.2s, box-shadow 0.2s; }
.coupon-form:focus-within { border-style: solid; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.18); }
.coupon-ico { flex: none; font-size: 1rem; }
.coupon-form input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font: inherit; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.coupon-form input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; color: rgba(147, 167, 200, 0.8); }
.coupon-form .btn { padding: 0.5rem 0.95rem; font-size: 0.82rem; border-radius: 10px; }
.coupon-form .btn[disabled] { opacity: 0.5; }
.coupon-on { display: flex; align-items: center; gap: 0.7rem; padding: 0.65rem 0.7rem 0.65rem 0.85rem; border-radius: 14px; background: rgba(35, 209, 139, 0.08); border: 1px solid rgba(35, 209, 139, 0.45); }
.coupon-on > div { flex: 1; min-width: 0; }
.coupon-on b { display: block; font-size: 0.88rem; letter-spacing: 0.05em; color: #23d18b; }
.coupon-on small { display: block; margin-top: 0.1rem; color: var(--muted); font-size: 0.76rem; line-height: 1.35; }
.coupon-on button { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); }
.coupon-on button:hover { color: #ff7b8a; border-color: rgba(255, 123, 138, 0.5); }
.coupon.is-warn .coupon-on { background: rgba(255, 184, 77, 0.07); border-color: rgba(255, 184, 77, 0.45); }
.coupon.is-warn .coupon-on b { color: #ffb84d; }
.coupon.is-warn .coupon-on small { color: #ffcf85; }
.coupon-msg { font-size: 0.78rem; color: #ff7b8a; }
.coupon-msg:empty { display: none; }
.coupon-msg.ok { color: #23d18b; }
.pp-coupon { margin: 0; }

/* ============ Toast ============ */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 20px);
  padding: 0.8rem 1.3rem; border-radius: 999px; background: var(--card-solid); border: 1px solid var(--line-strong);
  box-shadow: var(--glow); font-size: 0.92rem; opacity: 0; pointer-events: none; transition: 0.3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ Age gate ============ */
.age-gate {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem;
  background: rgba(2, 5, 16, 0.88); backdrop-filter: blur(16px);
}
.age-gate[hidden] { display: none; }
.age-card {
  width: min(440px, 100%); text-align: center; padding: 2.4rem 2rem; border-radius: 24px;
  background: var(--card-solid); border: 1px solid var(--line-strong); box-shadow: var(--glow);
}
.age-badge {
  width: 74px; height: 74px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 800; font-size: 1.5rem; border: 2px solid var(--blue-2); box-shadow: var(--glow);
}
.age-card h2 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.age-card p { color: var(--muted); margin-bottom: 1.6rem; }
.age-actions { display: grid; gap: 0.7rem; }

/* ============ Page change (fade in / fade out) ============ */
.page { animation: pageIn 0.45s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } }
body.leaving .page, body.leaving .footer { opacity: 0; transform: translateY(-8px); transition: opacity 0.18s, transform 0.18s; }

/* ============ Header of the inner pages ============ */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(72px + 4.5rem) 0 4rem; text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ''; position: absolute; inset: -60px; z-index: -2;
  background: url('/assets/banner.webp') center 40% / cover;
  filter: blur(22px) brightness(0.42) saturate(1.25);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4, 8, 26, 0.35), var(--bg));
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 0.7rem 0 0.9rem; }
.page-sub { color: var(--muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.crumbs { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.05em; }
.crumbs a { color: var(--blue-2); }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 0.4rem; opacity: 0.5; }

.section-tight { padding-top: 3.2rem; }
.review { animation: rise 0.45s both; }

/* How it works — info cards */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.info { padding: 1.6rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.info .perk-icon { margin-bottom: 1rem; }
.info h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.info p { color: var(--muted); font-size: 0.93rem; }

/* FAQ — search */
.search {
  display: flex; align-items: center; gap: 0.7rem; max-width: 560px; margin: 2rem auto 0;
  padding: 0.35rem 0.5rem 0.35rem 1.1rem; border-radius: 999px;
  background: rgba(8, 18, 46, 0.8); border: 1px solid var(--line-strong); box-shadow: var(--glow);
}
.search svg { width: 20px; height: 20px; fill: var(--blue-2); flex: none; }
.search input {
  flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: inherit; padding: 0.6rem 0;
}
.search input::placeholder { color: var(--muted); }
.search kbd {
  font: 600 0.72rem var(--sans); color: var(--muted); padding: 0.35rem 0.6rem; border-radius: 999px;
  border: 1px solid var(--line);
}
.faq-cat {
  font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-2);
  padding: 0.2rem 0.55rem; border-radius: 999px; border: 1px solid var(--line); margin-right: 0.8rem; flex: none;
}
.faq-q { justify-content: flex-start; }
.faq-q::after { margin-left: auto; }
.faq-empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }
.faq-empty p { margin-bottom: 1.2rem; }

/* ============ Home — About us ============ */
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.about-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0.5rem 0 1.2rem; }
.about-text > p, .about-paras p { color: var(--muted); margin-bottom: 1rem; }
/* changed home texts: hidden for a blink until main.js puts them in (no flash of the old ones) */
.gp-texts [data-text] { visibility: hidden; }

/* announcement bar (panel → «Ρυθμίσεις») — sits above the navbar */
:root { --bar-h: 0px; }
body.has-bar { --bar-h: 38px; padding-top: var(--bar-h); }
body.has-bar .nav { top: var(--bar-h); }
.announce {
  position: fixed; top: 0; left: 0; right: 0; z-index: 51; height: 38px; display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  padding: 0 3rem; font-size: 0.86rem; font-weight: 600; color: #fff; text-align: center;
  background: linear-gradient(90deg, #1a5fd6, var(--blue) 40%, #5aa9ff 60%, #1a5fd6); background-size: 200% 100%; animation: barShine 8s linear infinite;
  box-shadow: 0 2px 18px rgba(47, 140, 255, 0.45);
}
@keyframes barShine { to { background-position: -200% 0; } }
.announce span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announce a { flex: none; padding: 0.2rem 0.75rem; border-radius: 999px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.35); font-size: 0.78rem; transition: background 0.2s; }
.announce a:hover { background: rgba(255, 255, 255, 0.3); }
.announce button { position: absolute; right: 0.6rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; }
.announce button:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
@media (max-width: 600px) { .announce { font-size: 0.78rem; padding: 0 2.6rem 0 0.8rem; justify-content: flex-start; } }
.about-points { list-style: none; display: grid; gap: 0.8rem; margin-top: 1.8rem; }
.about-points li {
  display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.1rem; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
}
.about-points b {
  font-family: var(--serif); min-width: 92px; color: var(--ice);
  text-shadow: 0 0 14px rgba(47, 140, 255, 0.6);
}
.about-points span { color: var(--muted); font-size: 0.93rem; }

/* glowing GP emblem */
.emblem { position: relative; aspect-ratio: 1; width: min(420px, 100%); margin: 0 auto; display: grid; place-items: center; }
.emblem-ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-strong); }
.emblem-ring.r1 { inset: 0; border-style: dashed; animation: spin 40s linear infinite; }
.emblem-logo {
  width: 88%; height: 88%; object-fit: contain; position: relative; z-index: 1;
  filter: drop-shadow(0 0 30px rgba(47, 140, 255, 0.6));
  animation: breatheLogo 5s ease-in-out infinite;
}
@keyframes breatheLogo { 50% { filter: drop-shadow(0 0 55px rgba(47, 140, 255, 0.85)); transform: scale(1.02); } }
.emblem-ring.r3 {
  inset: 4%; border: 2px solid transparent; border-top-color: var(--blue-2); border-right-color: rgba(90, 180, 255, 0.4);
  filter: drop-shadow(0 0 8px var(--blue)); animation: spin 9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.petal {
  position: absolute; width: 16px; height: 22px; border-radius: 80% 0 80% 0;
  background: linear-gradient(135deg, var(--blue-2), #1a5fd6); box-shadow: 0 0 14px rgba(47, 140, 255, 0.8);
  opacity: 0.85; animation: float 6s ease-in-out infinite;
}
.petal.p1 { top: 8%; left: 18%; }
.petal.p2 { top: 20%; right: 6%; animation-delay: -1.5s; transform: scale(0.7); }
.petal.p3 { bottom: 14%; left: 4%; animation-delay: -3s; }
.petal.p4 { bottom: 4%; right: 24%; animation-delay: -4.5s; transform: scale(0.8); }
.petal.p5 { top: 48%; right: -2%; animation-delay: -2s; transform: scale(0.6); }
@keyframes float { 50% { translate: 0 -14px; rotate: 25deg; } }

/* ============ Home — Explore tiles ============ */
.explore { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.tile {
  display: flex; flex-direction: column; padding: 1.7rem 1.5rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 46, 110, 0.5), rgba(9, 18, 46, 0.7));
  border: 1px solid var(--line); transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.tile:hover { transform: translateY(-6px); border-color: var(--blue-2); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4), var(--glow); }
.tile-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem;
  background: rgba(47, 140, 255, 0.14); border: 1px solid var(--line); margin-bottom: 1.2rem;
}
.tile h3 { font-size: 1.3rem; margin-bottom: 0.45rem; }
.tile p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.3rem; }
.tile-go { margin-top: auto; color: var(--blue-2); font-weight: 600; font-size: 0.9rem; }
.tile-go i { font-style: normal; display: inline-block; transition: transform 0.25s; }
.tile:hover .tile-go i { transform: translateX(5px); }

/* ============ Home — Discord community ============ */
.community {
  display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center;
  padding: 2.4rem 2.6rem; border-radius: 26px; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(88, 101, 242, 0.35), transparent 70%),
    radial-gradient(500px 300px at 100% 100%, rgba(47, 140, 255, 0.25), transparent 70%),
    var(--card-solid);
  border: 1px solid rgba(120, 140, 255, 0.4); box-shadow: 0 0 40px rgba(88, 101, 242, 0.3);
}
.community-list { display: grid; gap: 1.6rem; }
.community-icon {
  position: relative; width: 104px; height: 104px; border-radius: 30px; display: grid; place-items: center;
  background: #5865f2; box-shadow: 0 0 40px rgba(88, 101, 242, 0.7);
}
.community-icon > svg { width: 56px; height: 56px; fill: #fff; }
.community-icon img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.community-badge {
  position: absolute; right: -8px; bottom: -8px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: #5865f2; border: 3px solid var(--card-solid);
}
.community-badge svg { width: 18px; height: 18px; fill: #fff; }
.community-kicker {
  font-size: 0.75rem !important; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase;
  color: #9aa6ff !important; margin-bottom: 0.3rem;
}

/* Telegram version of the box */
.community-tg {
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(34, 158, 217, 0.35), transparent 70%),
    radial-gradient(500px 300px at 100% 100%, rgba(47, 140, 255, 0.22), transparent 70%),
    var(--card-solid);
  border-color: rgba(70, 180, 235, 0.45); box-shadow: 0 0 40px rgba(34, 158, 217, 0.28);
}
.community-tg .community-icon { background: linear-gradient(135deg, #37aee2, #1e96c8); box-shadow: 0 0 40px rgba(34, 158, 217, 0.7); }
.community-tg .community-icon > svg { margin-left: -4px; }
.community-tg .community-kicker { color: #7fd0f5 !important; }
.btn-telegram { background: linear-gradient(135deg, #37aee2, #1e96c8); color: #fff; }
.btn-telegram:hover { background: #1a85b3; box-shadow: 0 0 26px rgba(34, 158, 217, 0.6); }
.community-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.5rem; }
.community-text p { color: var(--muted); }
.community-stats { display: flex; gap: 2.2rem; margin-top: 1.2rem; flex-wrap: wrap; }
.community-stats b { display: block; font-family: var(--serif); font-size: 1.5rem; color: #fff; }
.community-stats span { color: var(--muted); font-size: 0.82rem; }
.online-dot { display: flex !important; align-items: center; gap: 0.5rem; }
.online-dot::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%; background: #23d18b;
  box-shadow: 0 0 12px #23d18b; animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }
.community-btn { padding: 1rem 2rem; }

/* ============ Reviews page — two moving rows ============ */
.stat small { display: block; color: var(--blue-2); font-size: 0.75rem; margin-top: 0.25rem; min-height: 1em; }
.review-row { margin-top: 3.2rem; }
.review-row-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.2rem; }
.review-row-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.review-row-icon {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none;
}
.review-row-icon svg { width: 24px; height: 24px; fill: #fff; }
.review-row-icon.dc { background: #5865f2; box-shadow: 0 0 22px rgba(88, 101, 242, 0.6); }
.review-row-icon.web { background: linear-gradient(135deg, var(--blue-2), #1a5fd6); box-shadow: var(--glow); }
.review-count {
  margin-left: 0.2rem; min-width: 28px; padding: 0.15rem 0.6rem; border-radius: 999px; text-align: center;
  font-size: 0.8rem; font-weight: 700; background: rgba(47, 140, 255, 0.15); border: 1px solid var(--line-strong);
}
.review-count:empty { display: none; }

.marquee {
  overflow: hidden; padding: 0.6rem 0 1.2rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; gap: 1.2rem; width: max-content; padding-left: 1.2rem; animation: marquee var(--dur, 40s) linear infinite; }
.marquee-reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.review-card {
  width: 330px; flex: none; display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1.3rem 1.4rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 46, 110, 0.55), rgba(9, 18, 46, 0.8));
  border: 1px solid var(--line); transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.review-card:hover { border-color: var(--blue-2); box-shadow: var(--glow); transform: translateY(-4px); }
.review-card header { display: flex; align-items: center; gap: 0.75rem; }
.review-card header b { display: block; font-size: 0.95rem; }
.review-card header small { color: var(--muted); font-size: 0.78rem; }
.review-card .review-avatar {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none;
  display: grid; place-items: center; font-weight: 700; border: 2px solid var(--line-strong);
  background: linear-gradient(135deg, var(--blue-2), #1a5fd6);
}
.review-card .review-stars { color: #ffd257; letter-spacing: 0.12em; text-shadow: 0 0 10px rgba(255, 210, 87, 0.45); }
.review-card .review-stars span { color: rgba(255, 255, 255, 0.18); text-shadow: none; }
.review-card p { color: #cfdcf2; font-size: 0.93rem; line-height: 1.55; }
.review-card p:empty { display: none; }

.review-skeleton {
  width: 330px; height: 150px; flex: none; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(22, 46, 110, 0.35), rgba(47, 140, 255, 0.16), rgba(22, 46, 110, 0.35));
  background-size: 200% 100%; animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.marquee:has(.review-skeleton) .marquee-track { animation: none; }
.marquee.is-empty, .marquee.is-static { -webkit-mask-image: none; mask-image: none; }
.marquee.is-static .marquee-track { animation: none; width: auto; justify-content: center; flex-wrap: wrap; padding: 0 4%; }
.review-empty {
  width: min(1200px, 92%); margin: 0 auto; padding: 2rem 1.5rem; text-align: center; color: var(--muted);
  border: 1px dashed var(--line-strong); border-radius: var(--radius); background: rgba(47, 140, 255, 0.04);
}

/* ============ Modal (write a review) ============ */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(2, 5, 16, 0.75); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.25s;
}
.modal-card {
  position: relative; width: min(480px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto;
  padding: 2.2rem 2rem 1.8rem; border-radius: 24px;
  background:
    radial-gradient(400px 220px at 50% 0%, rgba(47, 140, 255, 0.22), transparent 70%),
    var(--card-solid);
  border: 1px solid var(--line-strong); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), var(--glow);
  opacity: 0; transform: translateY(18px) scale(0.97); transition: opacity 0.25s, transform 0.25s;
}
.modal.open .modal-backdrop { opacity: 1; }
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--muted);
}
.modal-close:hover { color: #fff; background: rgba(47, 140, 255, 0.15); }
.modal-step { display: grid; gap: 1rem; }
.modal-step[hidden] { display: none; }
.modal-step h2 { font-size: 1.7rem; text-align: center; }
.modal-sub { color: var(--muted); text-align: center; }
.modal-icon {
  width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 2rem;
  background: rgba(47, 140, 255, 0.14); border: 1px solid var(--line-strong); box-shadow: var(--glow);
}
.modal-icon.done { color: #23d18b; border-color: rgba(35, 209, 139, 0.6); box-shadow: 0 0 30px rgba(35, 209, 139, 0.45); font-weight: 700; }
.field-label { font-weight: 600; font-size: 0.92rem; margin-bottom: -0.5rem; }
.star-pick { display: flex; align-items: center; gap: 0.25rem; }
.star-pick button {
  font-size: 2.1rem; line-height: 1; color: rgba(255, 255, 255, 0.16); padding: 0 0.1rem;
  transition: color 0.15s, transform 0.15s, text-shadow 0.15s;
}
.star-pick button:hover { transform: scale(1.15); }
.star-pick button.on { color: #ffd257; text-shadow: 0 0 14px rgba(255, 210, 87, 0.65); }
.star-word { margin-left: 0.7rem; color: var(--muted); font-size: 0.9rem; font-weight: 600; }

.modal .field-input {
  width: 100%; padding: 0.8rem 1rem; border-radius: 14px; background: rgba(4, 10, 32, 0.7);
  border: 1px solid var(--line-strong); color: #fff; font: inherit; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.modal .field-input:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.2); }
.modal .field-input::placeholder { color: rgba(147, 167, 200, 0.7); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.modal textarea {
  width: 100%; resize: vertical; min-height: 120px; padding: 0.9rem 1rem; border-radius: 14px;
  background: rgba(4, 10, 32, 0.7); border: 1px solid var(--line-strong); color: #fff;
  font: inherit; line-height: 1.5; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.modal textarea:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.2); }
.modal textarea::placeholder { color: rgba(147, 167, 200, 0.7); }
.field-foot { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8rem; color: var(--muted); margin-top: -0.5rem; }
.field-error { color: #ff7b8a; }
.modal-note { color: var(--muted); font-size: 0.8rem; text-align: center; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}

/* ============ Shop: cards with big photo / GIF / video ============ */
.product { padding: 0; overflow: hidden; }
.product.is-out .product-media > img, .product.is-out .product-media > video, .product.is-out .media-ph { filter: grayscale(0.7) brightness(0.6); }
.product-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #071233; }
.product-media > img, .product-media > video, .media-ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.product:hover .product-media > img, .product:hover .product-media > video, .product:hover .media-ph { transform: scale(1.05); }
.media-ph { display: grid; place-items: center; background:
  radial-gradient(circle at 50% 45%, rgba(90, 180, 255, 0.45), transparent 55%),
  linear-gradient(135deg, #0d2a72, #071233 60%, #0a1d52); }
.media-ph span { font-size: 3.4rem; filter: drop-shadow(0 0 18px rgba(90, 180, 255, 0.8)); }
.product-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 10, 32, 0.85)); pointer-events: none; }
.product-badges { position: absolute; z-index: 1; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 0.4rem; }
.pb {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.28rem 0.6rem;
  border-radius: 999px; backdrop-filter: blur(6px); white-space: nowrap; border: 1px solid transparent;
}
.pb-tag { color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--blue)); box-shadow: var(--glow); }
.pb-in { color: #7dffc4; background: rgba(4, 30, 22, 0.75); border-color: rgba(35, 209, 139, 0.45); }
.pb-off { color: #fff; background: rgba(255, 70, 100, 0.85); }
.pb-out { color: #ffd0d6; background: rgba(60, 8, 16, 0.8); border-color: rgba(255, 90, 110, 0.5); }
.pb-cat { color: #fff; background: rgba(4, 10, 32, 0.7); border-color: var(--line-strong); }
.product-body { padding: 1.05rem 1.1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.2rem; margin: 0.2rem 0 0.35rem; }
.product-body h3 a:hover { color: var(--blue-2); }
.product-body .product-desc {
  font-size: 0.85rem; margin-bottom: 0.9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-body .product-foot { align-items: center; margin-top: auto; }
.product-body .price { font-size: 1.45rem; line-height: 1.1; }
.product-body .price small { display: block; font-size: 0.62rem; letter-spacing: 0.16em; color: var(--blue-2); font-weight: 700; margin: 0 0 0.2rem; }
.product-body .price s { font-size: 0.8rem; margin: 0 0 0 0.25rem; }
.product-body .price em { display: block; font-style: normal; font-family: var(--sans); font-size: 0.72rem; color: var(--muted); font-weight: 500; margin-top: 0.15rem; }
.product-btns { display: flex; gap: 0.45rem; align-items: center; }
.cart-mini {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-strong);
  transition: background 0.2s, border-color 0.2s;
}
.cart-mini svg { width: 19px; height: 19px; fill: var(--ice); }
.cart-mini:hover:not([disabled]) { background: rgba(47, 140, 255, 0.2); }
.cart-mini.added { background: #1fae6a; border-color: #1fae6a; }
.cart-mini[disabled] { opacity: 0.35; cursor: not-allowed; }
.buy-btn { padding: 0.6rem 1.1rem; font-size: 0.88rem; }
.buy-btn.is-disabled { background: rgba(255, 255, 255, 0.08); box-shadow: none; color: var(--muted); }

/* shop page: side menu + grid */
.shop-head { padding: calc(72px + 2.6rem) 0 0.4rem; text-align: center; }
.shop-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 0.6rem 0 0.6rem; }
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 1.8rem; align-items: start; }
.shop-side { position: sticky; top: calc(90px + var(--bar-h)); display: grid; gap: 1rem; }
.shop-search { margin: 0; box-shadow: none; padding: 0.2rem 0.4rem 0.2rem 0.9rem; }
.shop-cats { display: grid; gap: 0.3rem; padding: 0.5rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.shop-cats .shop-cat {
  display: flex; align-items: center; gap: 0.65rem; width: 100%; text-align: left; border: 0; border-radius: 12px;
  padding: 0.6rem 0.7rem; background: none; box-shadow: none; color: var(--muted); font-size: 0.92rem;
}
.shop-cats .shop-cat:hover { color: #fff; background: rgba(47, 140, 255, 0.1); }
.shop-cats .shop-cat.active { color: #fff; background: rgba(47, 140, 255, 0.2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.cat-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(47, 140, 255, 0.14); flex: none; }
.cat-name { flex: 1; }
.shop-cat em { font-style: normal; font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; color: var(--muted); font-size: 0.9rem; }
.shop-bar #shopCount { color: #fff; font-weight: 600; }
.shop-sort { display: flex; align-items: center; gap: 0.5rem; }
.shop-sort select {
  padding: 0.5rem 0.8rem; border-radius: 999px; background: var(--card-solid); color: #fff; border: 1px solid var(--line-strong); font: inherit; font-size: 0.85rem;
}
.shop-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem; }

/* product page */
.product-page { padding: calc(72px + 1.8rem) 0 4rem; }
.product-page .crumbs { margin-bottom: 1.2rem; }
.product-page .crumbs b { color: #fff; font-weight: 600; }
.pp { display: grid; grid-template-columns: 1fr 380px; gap: 1.8rem; align-items: start; }
.pp[hidden], .pp-missing[hidden] { display: none; }
.pp-media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: #071233; border: 1px solid var(--line-strong); box-shadow: var(--glow); }
.pp-media .pp-media-el { width: 100%; height: 100%; object-fit: cover; display: grid; }
.pp-media .media-ph span { font-size: 6rem; }
.pp-media-tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; }
.pp-head { margin: 1.3rem 0 1.4rem; }
.pp-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.pp-dot.in { color: #23d18b; }
.pp-dot.out { color: #ff7b8a; }
.pp-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: 0.5rem; }
.pp-title-row h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.pp-price { font-family: var(--serif); font-size: 2rem; font-weight: 700; text-align: right; white-space: nowrap; }
.pp-price s { font-size: 1rem; color: var(--muted); margin-right: 0.4rem; font-weight: 500; }
.pp-price small { display: block; font-family: var(--sans); font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.pp-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pp-box { padding: 1.3rem 1.4rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.pp-box h3 { display: flex; align-items: center; gap: 0.5rem; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.9rem; color: var(--ice); }
.pp-about { color: #cfdcf2; font-size: 0.93rem; display: grid; gap: 0.6rem; }
.pp-checks { list-style: none; display: grid; gap: 0.6rem; font-size: 0.92rem; }
.pp-checks li { display: flex; gap: 0.6rem; }
.pp-checks li::before {
  content: '✓'; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; font-weight: 800;
  color: #23d18b; border: 1.5px solid rgba(35, 209, 139, 0.6); margin-top: 0.1rem;
}
.pp-buy { position: sticky; top: calc(90px + var(--bar-h)); }
.pp-buy-card { padding: 1.4rem; border-radius: 22px; background: var(--card-solid); border: 1px solid var(--line-strong); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); display: grid; gap: 0.9rem; }
.pp-stat[hidden], .pp-qty-row[hidden], .pp-qty[hidden], .pp-unavail[hidden], .pp-bulk[hidden] { display: none; }
/* who's looking / who bought */
.pp-stats { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; padding-bottom: 0.95rem; border-bottom: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.pp-stat { display: flex; align-items: center; gap: 0.45rem; }
.pp-stat b { color: #fff; font-weight: 700; }
.pp-stat svg { width: 17px; height: 17px; flex: none; fill: #7cc4ff; }
.pp-stat-live svg { animation: live-eye 2.4s ease-in-out infinite; }
@keyframes live-eye { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.pp-qty-row { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.pp-qty button { width: 34px; height: 34px; border-radius: 10px; font-size: 1.1rem; }
.pp-qty span { min-width: 26px; text-align: center; font-weight: 700; }
.pp-unavail { color: #ff7b8a; font-size: 0.88rem; font-weight: 600; }
/* quantity discount: «Πρόσθεσε άλλα 2 για έκπτωση 5%» + bar */
.pp-bulk { display: grid; gap: 0.7rem; padding: 0.85rem 0.95rem; border-radius: 14px; background: rgba(47, 140, 255, 0.08); border: 1px solid var(--line); }
.pp-bulk-top { display: flex; align-items: center; gap: 0.7rem; font-size: 0.86rem; color: #cfdcf2; line-height: 1.35; }
.pp-bulk-top b { color: #fff; }
.pp-bulk-ico { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(47, 140, 255, 0.2); }
.pp-bulk-ico svg { width: 17px; height: 17px; fill: #7cc4ff; }
.pp-bulk-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.pp-bulk-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #7cc4ff); box-shadow: 0 0 12px rgba(47, 140, 255, 0.7); transition: width 0.35s ease; }
.pp-bulk.is-max .pp-bulk-bar span { background: linear-gradient(90deg, #13a86c, #23d18b); box-shadow: 0 0 12px rgba(35, 209, 139, 0.6); }
.pp-bulk.is-max .pp-bulk-ico { background: rgba(35, 209, 139, 0.18); }
.pp-bulk.is-max .pp-bulk-ico svg { fill: #23d18b; }
.pp-bulk-tiers { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pp-bulk-tiers button { padding: 0.25rem 0.6rem; border-radius: 999px; border: 1px solid var(--line); font-size: 0.74rem; color: var(--muted); transition: 0.2s; }
.pp-bulk-tiers button b { color: #cfdcf2; }
.pp-bulk-tiers button:hover { border-color: var(--line-strong); color: #fff; }
.pp-bulk-tiers button.on { border-color: rgba(35, 209, 139, 0.55); background: rgba(35, 209, 139, 0.1); color: #23d18b; }
.pp-bulk-tiers button.on b { color: #23d18b; }
.pp-lines { display: grid; gap: 0.55rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.pp-line { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.88rem; color: #cfdcf2; }
.pp-line s { color: var(--muted); font-weight: 500; margin-right: 0.25rem; }
.pp-line[hidden] { display: none; }
.pp-save { color: #23d18b; }
.pp-save em { font-style: normal; font-size: 0.72rem; font-weight: 700; padding: 0.1rem 0.45rem; margin-left: 0.3rem; border-radius: 999px; border: 1px solid rgba(35, 209, 139, 0.5); background: rgba(35, 209, 139, 0.1); }
.pp-total { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 0 0.4rem; border-top: 1px solid var(--line); }
.pp-total small { display: block; color: var(--muted); font-size: 0.75rem; }
.pp-total strong { font-family: var(--serif); font-size: 2rem; }
.pp-or { display: flex; align-items: center; gap: 0.7rem; color: var(--muted); font-size: 0.8rem; }
.pp-or::before, .pp-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.pp-buy-card .btn[disabled] { opacity: 0.45; }
.pp-note { text-align: center; color: var(--muted); font-size: 0.78rem; }
.pp-steps-wrap { margin-top: 4rem; }
.pp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pp-step { padding: 1.5rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.pp-step b { display: flex; align-items: center; gap: 0.8rem; font-family: var(--serif); font-size: 2.2rem; color: var(--blue-2); text-shadow: 0 0 18px rgba(47, 140, 255, 0.6); }
.pp-step b::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.pp-step h3 { font-size: 1.2rem; margin: 0.6rem 0 0.4rem; }
.pp-step p { color: var(--muted); font-size: 0.9rem; }
.pp-more-wrap { margin-top: 4rem; }
.pp-more-wrap[hidden] { display: none; }
.pp-more-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.pp-more-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.pp-more { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pkg-preview .product-media, .pkg-preview .product-body a { pointer-events: none; }

@media (max-width: 960px) {
  .shop { grid-template-columns: 1fr; }
  .shop-side { position: static; }
  .shop-cats { display: flex; overflow-x: auto; }
  .shop-cats .shop-cat { width: auto; white-space: nowrap; }
  .pp { grid-template-columns: 1fr; gap: 1.2rem; }
  .pp-buy { position: static; }
  /* on phones: photo, name/price, BUY box, then the details */
  .pp-left { display: contents; }
  .pp-media { order: 1; }
  .pp-head { order: 2; margin: 0; }
  .pp-buy { order: 3; }
  .pp-boxes { order: 4; }
  .pp-boxes, .pp-steps { grid-template-columns: 1fr; }
}

/* ============ Logged-in user (navbar) ============ */
.btn[hidden], .user-menu[hidden] { display: none; }
.user-menu { position: relative; }
.user-chip {
  display: flex; align-items: center; gap: 0.55rem; height: 44px; padding: 0 0.7rem 0 0.3rem; border-radius: 999px;
  background: rgba(88, 101, 242, 0.16); border: 1px solid rgba(120, 140, 255, 0.45); transition: background 0.2s, box-shadow 0.2s;
}
.user-chip:hover, .user-menu.open .user-chip { background: rgba(88, 101, 242, 0.3); box-shadow: 0 0 20px rgba(88, 101, 242, 0.45); }
.user-chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(160, 175, 255, 0.6); }
.user-chip span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 0.9rem; }
.user-chip .caret { width: 18px; height: 18px; fill: var(--muted); transition: transform 0.2s; }
.user-menu.open .caret { transform: rotate(180deg); }
.user-drop {
  position: absolute; right: 0; top: calc(100% + 10px); width: 250px; padding: 0.5rem; border-radius: 18px;
  background: var(--card-solid); border: 1px solid var(--line-strong); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), var(--glow);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.18s, transform 0.18s; z-index: 60;
}
.user-menu.open .user-drop { opacity: 1; transform: none; pointer-events: auto; }
.user-drop-head { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.6rem 0.8rem; border-bottom: 1px solid var(--line); margin-bottom: 0.4rem; }
.user-drop-head img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.user-drop-head b { display: block; font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.user-drop-head small { color: #9aa6ff; font-size: 0.75rem; }
.user-drop a { display: block; padding: 0.65rem 0.8rem; border-radius: 12px; font-size: 0.92rem; color: var(--text); }
.user-drop a:hover { background: rgba(47, 140, 255, 0.14); }
.user-drop a[hidden] { display: none; }
#dropAdmin { color: #ffd257; }
#dropLogout { color: #ff9aa6; }

/* ============ Admin panel ============ */
.nav-links a.nav-admin { color: #ffd257; }
.nav-links a.nav-admin:hover, .nav-links a.nav-admin.active { color: #fff; background: rgba(255, 210, 87, 0.16); }
.nav-links a[hidden] { display: none; }

.admin { padding: calc(72px + 3.5rem) 0 5rem; min-height: 80vh; }
.admin-state[hidden] { display: none; }
.admin-spinner {
  width: 50px; height: 50px; margin: 6rem auto; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--blue-2); animation: spin 0.8s linear infinite;
}
.admin-gate {
  max-width: 520px; margin: 3rem auto 0; text-align: center; padding: 2.8rem 2rem; border-radius: 26px;
  background: radial-gradient(400px 220px at 50% 0%, rgba(47, 140, 255, 0.2), transparent 70%), var(--card-solid);
  border: 1px solid var(--line-strong); box-shadow: var(--glow);
}
.admin-gate h1 { font-size: 2rem; margin: 1rem 0 0.7rem; }
.admin-gate p { color: var(--muted); margin-bottom: 1.8rem; }
.admin-gate p b { color: #fff; }
.admin-gate .btn-discord svg { width: 20px; height: 20px; fill: currentColor; }
.admin-gate-icon {
  width: 78px; height: 78px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 2.1rem;
  background: rgba(47, 140, 255, 0.14); border: 1px solid var(--line-strong);
}
.admin-gate-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.admin-top {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap;
  padding-bottom: 1.8rem; margin-bottom: 2.2rem; border-bottom: 1px solid var(--line);
}
.admin-top h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-top: 0.4rem; }
.admin-user {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem 0.7rem 0.6rem 0.8rem; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line);
}
.admin-user img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-strong); }
.admin-user b { display: block; }
.admin-user small { color: #ffd257; font-size: 0.78rem; font-weight: 600; }
.admin-user .btn { margin-left: 0.6rem; padding: 0.55rem 1rem; }

.admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 1100px) { .admin-grid { grid-template-columns: repeat(2, 1fr); } }

/* Footer & legal editor */
.ft { display: grid; gap: 1.2rem; margin-top: 0.4rem; }
.ft[hidden], #ftLoading[hidden] { display: none; }
#ftError:empty { display: none; }
.ft-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.ft-box { display: grid; gap: 0.85rem; align-content: start; padding: 1.4rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.ft-box h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; }
.ft-box h3 em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 0.85rem; }
.ft-box-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ft-tip { color: var(--muted); font-size: 0.82rem; line-height: 1.55; }
.ft-tip code, .ft-page code { font-size: 0.78rem; padding: 0.05rem 0.4rem; border-radius: 6px; background: rgba(47, 140, 255, 0.14); color: var(--ice); white-space: nowrap; }
.ft-small { padding: 0.45rem 0.95rem; font-size: 0.85rem; }
.ft-small[hidden] { display: none; }
.ft-pays { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 0.5rem; }
.ft-pay { position: relative; display: grid; justify-items: center; align-content: center; gap: 0.45rem; min-height: 72px; padding: 0.7rem 0.4rem 0.55rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(4, 10, 32, 0.5); opacity: 0.5; transition: 0.2s; }
.ft-pay small { font-size: 0.68rem; color: var(--muted); text-align: center; line-height: 1.2; }
.ft-pay:hover { opacity: 0.85; border-color: var(--line-strong); }
.ft-pay.on { opacity: 1; border-color: var(--blue-2); background: rgba(47, 140, 255, 0.12); }
.ft-pay em { position: absolute; top: 5px; right: 6px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 0.66rem; font-weight: 800; background: var(--blue); color: #fff; }
.ft-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.ft-cols:empty::before { content: 'Δεν υπάρχουν στήλες — πάτα «+ Στήλη».'; color: var(--muted); font-size: 0.88rem; }
.ft-col { display: grid; gap: 0.55rem; align-content: start; padding: 1rem; border-radius: 14px; background: rgba(4, 10, 32, 0.45); border: 1px solid var(--line); }
.ft-links { display: grid; gap: 0.45rem; }
.ft-col-head, .ft-link { display: flex; gap: 0.35rem; align-items: center; }
.ft-col input { flex: 1; min-width: 0; padding: 0.55rem 0.7rem; border-radius: 10px; background: rgba(4, 10, 32, 0.7); border: 1px solid var(--line-strong); color: #fff; font: inherit; font-size: 0.86rem; outline: none; }
.ft-col input:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.2); }
.ft-col input::placeholder { color: rgba(147, 167, 200, 0.6); }
.ft-col-head input { font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; }
.ft-col-head { padding-bottom: 0.45rem; border-bottom: 1px solid var(--line); margin-bottom: 0.15rem; }
.ft-link input[data-l="url"] { flex: 1.15; font-size: 0.8rem; color: var(--ice); }
.ft-col-head button, .ft-link button { flex: none; width: 28px; height: 32px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); font-size: 0.66rem; transition: 0.2s; }
.ft-col-head button:hover, .ft-link button:hover { color: #fff; border-color: var(--line-strong); }
.ft-col .ft-del:hover { color: #ff7b8a; border-color: rgba(255, 123, 138, 0.5); }
.ft-add-link { justify-self: start; padding: 0.4rem 0.85rem; border-radius: 999px; border: 1px dashed var(--line-strong); color: #7cc4ff; font-size: 0.8rem; }
.ft-add-link:hover { border-style: solid; background: rgba(47, 140, 255, 0.1); }
.ft-add-link[hidden] { display: none; }
.ft-pages { display: grid; gap: 0.6rem; }
.ft-page { border-radius: 14px; background: rgba(4, 10, 32, 0.45); border: 1px solid var(--line); }
.ft-page summary { display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1rem; cursor: pointer; list-style: none; }
.ft-page summary::-webkit-details-marker { display: none; }
.ft-page summary::before { content: '▸'; color: var(--blue-2); transition: transform 0.2s; }
.ft-page[open] summary::before { transform: rotate(90deg); }
.ft-page summary code { margin-left: auto; }
.ft-page-body { display: grid; gap: 0.8rem; padding: 0 1rem 1rem; }
.ft-page-row { display: flex; gap: 0.8rem; align-items: flex-end; }
.ft-page-row .pkg-field { flex: 1; }
.ft-page textarea { min-height: 260px; font-size: 0.88rem; line-height: 1.55; }
.ft-preview { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); margin-top: -0.6rem; }
.ft-preview .footer { border-top: 0; }
.ft-preview a { pointer-events: none; }
@media (max-width: 900px) { .ft-row, .ft-cols { grid-template-columns: 1fr; } }
.admin-card {
  position: relative; padding: 1.7rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 46, 110, 0.5), rgba(9, 18, 46, 0.75)); border: 1px solid var(--line);
}
.admin-card-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem;
  background: rgba(47, 140, 255, 0.14); border: 1px solid var(--line); margin-bottom: 1rem;
}
.admin-card h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.admin-card p { color: var(--muted); font-size: 0.92rem; }
.admin-soon {
  position: absolute; top: 1.2rem; right: 1.2rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.65rem; border-radius: 999px; color: #ffd257; border: 1px solid rgba(255, 210, 87, 0.45); background: rgba(255, 210, 87, 0.08);
}
.admin-card-link { display: block; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.admin-card-link:hover { transform: translateY(-4px); border-color: var(--blue-2); box-shadow: var(--glow); }
.admin-open {
  position: absolute; top: 1.2rem; right: 1.2rem; font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.7rem;
  border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--blue));
}
.admin-view[hidden] { display: none; }
.admin-view-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.admin-view-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); flex: 1; }
.admin-back { color: var(--muted); font-weight: 600; padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--line); }
.admin-back:hover { color: #fff; border-color: var(--line-strong); }
.admin-hint { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.5rem; }

/* packages list */
.pkg-list { display: grid; gap: 0.7rem; }
.pkg-item {
  display: grid; grid-template-columns: auto auto 1fr auto auto auto auto; align-items: center; gap: 0.9rem;
  padding: 0.8rem 1rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line);
  transition: opacity 0.2s, border-color 0.2s;
}
.pkg-item:hover { border-color: var(--line-strong); }
.pkg-item.is-hidden { opacity: 0.55; }
.pkg-move { display: grid; gap: 2px; }
.pkg-move button {
  width: 28px; height: 22px; border-radius: 7px; font-size: 0.65rem; color: var(--muted); border: 1px solid var(--line);
}
.pkg-move button:hover:not([disabled]) { color: #fff; background: rgba(47, 140, 255, 0.2); }
.pkg-move button[disabled] { opacity: 0.25; cursor: default; }
.pkg-item-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem;
  background: rgba(47, 140, 255, 0.14); border: 1px solid var(--line);
}
.pkg-item-icon { overflow: hidden; }
.pkg-item-icon img, .pkg-item-icon video { width: 100%; height: 100%; object-fit: cover; }
.pkg-item-info { min-width: 0; }
.pkg-item-info b { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; font-size: 1rem; }
.pkg-item-info small { color: var(--muted); font-size: 0.82rem; }
.pkg-item-info small s { opacity: 0.7; }
.pkg-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.15rem 0.5rem;
  border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--blue));
}
.pkg-role { font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 999px; white-space: nowrap; }
.pkg-role.ok { color: #23d18b; background: rgba(35, 209, 139, 0.1); border: 1px solid rgba(35, 209, 139, 0.35); }
.pkg-role.missing { color: #ffb648; background: rgba(255, 182, 72, 0.1); border: 1px solid rgba(255, 182, 72, 0.35); }
.pkg-edit-btn { padding: 0.5rem 0.9rem; font-size: 0.85rem; }
.pkg-del { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); }
.pkg-del:hover { background: rgba(255, 90, 110, 0.16); border-color: rgba(255, 90, 110, 0.5); }

/* on/off switch */
.switch { position: relative; width: 46px; height: 26px; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span {
  position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid var(--line);
  transition: background 0.2s; pointer-events: none;
}
.switch span::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  transition: transform 0.2s;
}
.switch input:checked + span { background: linear-gradient(135deg, var(--blue-2), var(--blue)); box-shadow: var(--glow); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 2px; }

/* add / edit window */
.modal-card.pkg-modal-card { width: min(940px, 100%); }
.pkg-modal-card > h2 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.pkg-edit { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 1.6rem; align-items: start; }
.pkg-form { display: grid; gap: 0.85rem; }
.pkg-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.pkg-row2 .pkg-icon-field { max-width: none; }
#pkgForm .pkg-row-name { grid-template-columns: 90px 1fr; }
.pkg-checks { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }

/* upload box (photo / GIF / video) */
.pkg-media {
  position: relative; border-radius: 16px; border: 2px dashed var(--line-strong); background: rgba(4, 10, 32, 0.55);
  min-height: 150px; display: grid; place-items: center; overflow: hidden; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.pkg-media:hover, .pkg-media.drag { border-color: var(--blue-2); background: rgba(47, 140, 255, 0.08); }
.pkg-media.has-media { border-style: solid; cursor: default; }
.pkg-media-empty { text-align: center; padding: 1.2rem; display: grid; gap: 0.3rem; justify-items: center; }
.pkg-media-empty small { color: var(--muted); font-size: 0.78rem; max-width: 340px; }
.pkg-media-icon { font-size: 1.8rem; }
.pkg-media.has-media .pkg-media-empty { display: none; }
.pkg-media-preview { position: absolute; inset: 0; }
.pkg-media-preview img, .pkg-media-preview video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pkg-media-actions { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 0.4rem; }
.pkg-media-actions[hidden], .pkg-media-bar[hidden] { display: none; }
.pkg-media-actions .btn { padding: 0.4rem 0.8rem; font-size: 0.8rem; background: rgba(4, 8, 26, 0.85); }
.pkg-media-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, 0.1); }
.pkg-media-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-2), var(--blue)); transition: width 0.15s; }
.pkg-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.8rem; }
.pkg-field { display: grid; gap: 0.35rem; }
.pkg-field > span { font-size: 0.82rem; font-weight: 600; color: #cfdcf2; }
.pkg-field em { font-style: normal; color: var(--muted); font-weight: 400; }
.pkg-field input, .pkg-field textarea {
  width: 100%; padding: 0.65rem 0.8rem; border-radius: 12px; background: rgba(4, 10, 32, 0.7);
  border: 1px solid var(--line-strong); color: #fff; font: inherit; font-size: 0.92rem; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pkg-field textarea { resize: vertical; min-height: 90px; line-height: 1.45; }
.pkg-field input:focus, .pkg-field textarea:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.2); }
.pkg-field input::placeholder, .pkg-field textarea::placeholder { color: rgba(147, 167, 200, 0.6); }
.pkg-icon-field input { text-align: center; font-size: 1.3rem; padding: 0.45rem; }
.pkg-check { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; cursor: pointer; }
.pkg-check input { width: 18px; height: 18px; accent-color: var(--blue); }
.pkg-actions { display: flex; justify-content: flex-end; gap: 0.7rem; }
/* quantity + quantity discounts in the package form */
.pkg-bulk { display: grid; gap: 0.7rem; padding: 1rem; border-radius: 14px; background: rgba(47, 140, 255, 0.06); border: 1px dashed var(--line-strong); }
.pkg-bulk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.pkg-bulk-head b { display: block; font-size: 0.92rem; }
.pkg-bulk-head small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 0.2rem; line-height: 1.4; }
.pkg-max { width: 130px; flex: none; }
.pkg-bulk-tip { color: var(--muted); font-size: 0.78rem; }
.pkg-bulk-tip b { color: #fff; }
.pkg-tiers { display: grid; gap: 0.5rem; }
.pkg-tiers:empty { display: none; }
.pkg-tier { display: flex; align-items: center; gap: 0.8rem; padding: 0.5rem 0.6rem; border-radius: 12px; background: rgba(4, 10, 32, 0.55); border: 1px solid var(--line); font-size: 0.88rem; color: #cfdcf2; }
.pkg-tier label { display: flex; align-items: center; gap: 0.45rem; }
.pkg-tier input {
  width: 70px; padding: 0.45rem 0.55rem; border-radius: 10px; background: rgba(4, 10, 32, 0.7);
  border: 1px solid var(--line-strong); color: #fff; font: inherit; outline: none;
}
.pkg-tier input:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.2); }
.pkg-tier-del { margin-left: auto; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); color: var(--muted); }
.pkg-tier-del:hover { color: #ff7b8a; border-color: rgba(255, 123, 138, 0.5); }
.pkg-tier-add { justify-self: start; padding: 0.5rem 0.9rem; font-size: 0.85rem; }
.pkg-form .field-error:empty { display: none; }
.pkg-preview { position: sticky; top: 0; }
.pkg-preview .products { grid-template-columns: 1fr; margin-top: 0.8rem; }
.pkg-preview .product { animation: none; }
.pkg-preview .add-btn { pointer-events: none; }

.pkg-field select {
  width: 100%; padding: 0.65rem 0.8rem; border-radius: 12px; background: rgba(4, 10, 32, 0.9);
  border: 1px solid var(--line-strong); color: #fff; font: inherit; font-size: 0.92rem; outline: none;
}
.pkg-field select:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.2); }

/* orders */
.ord-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; margin: 1rem 0 1.4rem; }
.ord-stat { padding: 1.1rem 1.2rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.ord-stat b { display: block; font-family: var(--serif); font-size: 1.6rem; color: #fff; }
.ord-stat span { color: var(--muted); font-size: 0.82rem; }
.ord-tools { display: grid; gap: 0.9rem; margin-bottom: 1.1rem; }
.ord-search { margin: 0; max-width: none; box-shadow: none; }
.ord-filters { justify-content: flex-start; margin: 0; }
.ord-list { display: grid; gap: 0.6rem; }
.ord-item {
  display: grid; grid-template-columns: auto 1fr auto auto auto; align-items: center; gap: 1rem; width: 100%; text-align: left;
  padding: 0.8rem 1rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color 0.2s, background 0.2s;
}
.ord-item:hover { border-color: var(--blue-2); background: rgba(22, 46, 110, 0.55); }
.ord-avatar {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-weight: 700; flex: none;
  background: linear-gradient(135deg, var(--blue-2), #1a5fd6); border: 2px solid var(--line-strong);
}
.ord-main { min-width: 0; }
.ord-main b { display: block; font-size: 0.98rem; }
.ord-main small { display: block; color: var(--muted); font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ord-id { font-family: ui-monospace, Consolas, monospace; font-size: 0.75rem; color: var(--blue-2); font-weight: 500; margin-left: 0.3rem; }
.ord-when { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.ord-sum { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.ord-badge { font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 999px; white-space: nowrap; border: 1px solid; }
.ord-badge.s-pending { color: #ffb648; background: rgba(255, 182, 72, 0.1); border-color: rgba(255, 182, 72, 0.4); }
.ord-badge.s-paid { color: #7cc7ff; background: rgba(47, 140, 255, 0.12); border-color: rgba(90, 180, 255, 0.45); }
.ord-badge.s-delivered { color: #23d18b; background: rgba(35, 209, 139, 0.1); border-color: rgba(35, 209, 139, 0.4); }
.ord-badge.s-failed { color: #ff7b8a; background: rgba(255, 90, 110, 0.1); border-color: rgba(255, 90, 110, 0.4); }
.ord-badge.s-refunded { color: #c9a2ff; background: rgba(160, 110, 255, 0.1); border-color: rgba(160, 110, 255, 0.4); }
.ord-badge.s-cancelled { color: var(--muted); background: rgba(255, 255, 255, 0.05); border-color: var(--line); }

/* settings (admin) */
#stLoading[hidden] { display: none; }
#stError:empty { display: none; }
.st-url { display: flex; gap: 0.5rem; }
.st-url input { flex: 1; min-width: 0; }
.st-url .btn { padding: 0.5rem 0.9rem; font-size: 0.82rem; border-radius: 12px; }
.st-url .btn.is-disabled { opacity: 0.4; }
.st-bar-preview { display: grid; gap: 0.4rem; }
.st-bar-preview .announce { position: relative; inset: auto; z-index: auto; border-radius: 12px; height: 38px; padding: 0 2.6rem 0 0.8rem; }
.st-bar-preview .announce.is-off { filter: grayscale(1); opacity: 0.55; }
.st-bar-preview .announce a, .st-bar-preview .announce button { pointer-events: none; }
.st-bar-preview small { color: var(--muted); font-size: 0.78rem; }
.st-open { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; font-weight: 600; color: #cfdcf2; cursor: pointer; }
.st-shop { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1rem; }
.st-shop input { font-family: ui-monospace, Consolas, monospace; font-size: 0.85rem !important; }
.st-check { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.st-check .btn[hidden] { display: none; }
.st-check-out { list-style: none; display: grid; gap: 0.35rem; font-size: 0.86rem; }
.st-check-out:empty { display: none; }
.st-check-out li { padding: 0.45rem 0.7rem; border-radius: 10px; background: rgba(4, 10, 32, 0.55); border: 1px solid var(--line); }
.st-check-out li.ok { color: #8fe3bd; border-color: rgba(35, 209, 139, 0.35); }
.st-check-out li.bad { color: #ffc2c9; border-color: rgba(255, 90, 110, 0.4); }
.st-check-out li.warn { color: #ffdca3; border-color: rgba(255, 184, 77, 0.35); }
@media (max-width: 760px) { .st-shop { grid-template-columns: 1fr; } }
.st-home { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
.st-home-fields { display: grid; gap: 0.8rem; }
.st-home-preview { position: sticky; top: calc(90px + var(--bar-h)); }
.st-prev { margin-top: 0.6rem; display: grid; gap: 1rem; padding: 1.4rem; border-radius: 16px; background: radial-gradient(500px 220px at 50% 0%, rgba(47, 140, 255, 0.18), transparent 70%), #050b22; border: 1px solid var(--line-strong); }
.st-prev-hero { text-align: center; }
.st-prev-hero h1 { font-size: 1.9rem; margin: 0.4rem 0 0.6rem; overflow-wrap: anywhere; }
.st-prev-hero .hero-sub { font-size: 0.88rem; color: var(--muted); }
.st-prev-about { padding-top: 1rem; border-top: 1px solid var(--line); }
.st-prev-about h2 { font-size: 1.4rem; margin: 0.3rem 0 0.6rem; overflow-wrap: anywhere; }
.st-prev-about .about-paras p { font-size: 0.85rem; margin-bottom: 0.6rem; }
@media (max-width: 900px) { .st-home { grid-template-columns: 1fr; } .st-home-preview { position: static; } }

/* reviews (admin) */
.rv-warn { margin: -0.4rem 0 1rem; padding: 0.7rem 0.9rem; border-radius: 12px; font-size: 0.86rem; color: #ffcf85; background: rgba(255, 184, 77, 0.07); border: 1px solid rgba(255, 184, 77, 0.35); }
.rv-warn[hidden] { display: none; }
.rv-list { display: grid; gap: 0.7rem; }
.rv-item { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: start; padding: 1rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: opacity 0.2s, border-color 0.2s; }
.rv-item:hover { border-color: var(--line-strong); }
.rv-item.is-hidden { opacity: 0.55; }
.rv-ava { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--blue-2), #1a5fd6); }
.rv-ava img { width: 100%; height: 100%; object-fit: cover; }
.rv-body { min-width: 0; }
.rv-top { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 0.6rem; }
.rv-top b { font-size: 0.98rem; }
.rv-top small { color: var(--muted); font-size: 0.78rem; }
.rv-src { font-size: 0.7rem; font-weight: 700; padding: 0.12rem 0.5rem; border-radius: 999px; }
.rv-src.site { color: #7cc4ff; background: rgba(47, 140, 255, 0.12); border: 1px solid rgba(47, 140, 255, 0.35); }
.rv-src.discord { color: #aab4ff; background: rgba(88, 101, 242, 0.15); border: 1px solid rgba(120, 140, 255, 0.4); }
.rv-stars { color: #ffc94d; letter-spacing: 0.05em; font-size: 0.9rem; }
.rv-stars i { font-style: normal; color: rgba(255, 255, 255, 0.15); }
.rv-nostars { color: var(--muted); font-size: 0.76rem; }
.rv-body p { margin-top: 0.4rem; color: #cfdcf2; font-size: 0.92rem; line-height: 1.55; overflow-wrap: anywhere; }
.rv-body .rv-empty-text { color: var(--muted); font-style: italic; }
.rv-actions { display: flex; align-items: center; gap: 0.6rem; }
@media (max-width: 760px) {
  .rv-item { grid-template-columns: auto 1fr; }
  .rv-actions { grid-column: 2; }
}

/* coupons (admin) */
.cp-tools { display: grid; gap: 0.9rem; margin-bottom: 1.1rem; }
.cp-list { display: grid; gap: 0.7rem; }
.cp-item {
  display: grid; grid-template-columns: auto 1fr auto auto auto auto; align-items: center; gap: 1rem;
  padding: 0.8rem 1rem 0.8rem 0.8rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: opacity 0.2s, border-color 0.2s;
}
.cp-item:hover { border-color: var(--line-strong); }
.cp-item.is-off, .cp-item.is-gone { opacity: 0.6; }
.cp-tag {
  position: relative; min-width: 84px; height: 52px; padding: 0 0.8rem; display: grid; place-items: center; border-radius: 12px;
  background: linear-gradient(135deg, rgba(47, 140, 255, 0.35), rgba(26, 95, 214, 0.25)); border: 1px dashed rgba(124, 196, 255, 0.6);
}
.cp-tag::before, .cp-tag::after { content: ''; position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--bg); border: 1px dashed rgba(124, 196, 255, 0.6); }
.cp-tag::before { left: -7px; clip-path: inset(0 0 0 50%); }
.cp-tag::after { right: -7px; clip-path: inset(0 50% 0 0); }
.cp-tag b { font-family: var(--serif); font-size: 1.15rem; color: #fff; white-space: nowrap; }
.cp-item.is-gone .cp-tag, .cp-item.is-off .cp-tag { filter: grayscale(1); }
.cp-info { min-width: 0; }
.cp-code-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.cp-code-row code { font-size: 1rem; font-weight: 800; letter-spacing: 0.08em; color: #fff; }
.cp-copy { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); font-size: 0.8rem; }
.cp-copy:hover { border-color: var(--line-strong); background: rgba(47, 140, 255, 0.14); }
.cp-status { font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 999px; }
.cp-status.ok { color: #23d18b; background: rgba(35, 209, 139, 0.1); border: 1px solid rgba(35, 209, 139, 0.35); }
.cp-status.gone { color: #ffb648; background: rgba(255, 182, 72, 0.1); border: 1px solid rgba(255, 182, 72, 0.35); }
.cp-status.off { color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.cp-info small { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.8rem; }
.cp-uses { text-align: center; min-width: 64px; }
.cp-uses b { display: block; font-family: var(--serif); font-size: 1.3rem; }
.cp-uses b span { font-size: 0.85rem; color: var(--muted); }
.cp-uses small { color: var(--muted); font-size: 0.72rem; }
.modal-card.cp-modal-card { width: min(640px, 100%); }
.cp-modal-card > h2 { font-size: 1.6rem; margin-bottom: 1.1rem; }
.cp-count { display: grid; grid-template-columns: 150px 1fr; gap: 0.9rem; align-items: end; padding: 0.8rem 0.9rem; border-radius: 14px; background: rgba(47, 140, 255, 0.07); border: 1px solid var(--line); }
.cp-count[hidden] { display: none; }
.cp-count small, .cp-field-hint { color: var(--muted); font-size: 0.78rem; line-height: 1.4; }
.cp-count small b { color: #fff; }
.cp-code { display: flex; gap: 0.5rem; }
.cp-code input { flex: 1; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.cp-code input[readonly] { opacity: 0.6; }
.cp-code .btn { padding: 0.5rem 0.9rem; font-size: 0.85rem; border-radius: 12px; }
.cp-code .btn[hidden] { display: none; }
.cp-value { display: flex; gap: 0.5rem; }
.cp-value input { flex: 1; min-width: 0; }
.cp-type { display: flex; padding: 3px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(4, 10, 32, 0.7); }
.cp-type button { width: 40px; border-radius: 9px; font-weight: 800; color: var(--muted); transition: 0.2s; }
.cp-type button.on { color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--blue)); }
.cp-scope { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.cp-pkgs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; margin-top: 0.5rem; padding: 0.8rem 0.9rem; border-radius: 12px; background: rgba(4, 10, 32, 0.55); border: 1px solid var(--line); }
.cp-pkgs[hidden] { display: none; }
.cp-pkgs em { font-style: normal; color: var(--muted); font-size: 0.8rem; }
.cp-preview { padding: 0.8rem 0.95rem; border-radius: 12px; font-size: 0.86rem; color: #cfdcf2; line-height: 1.5; background: rgba(35, 209, 139, 0.06); border: 1px solid rgba(35, 209, 139, 0.3); }
.cp-preview code { font-weight: 800; letter-spacing: 0.06em; color: #fff; }
.cp-preview b { color: #23d18b; }
.cp-done { display: grid; gap: 0.9rem; text-align: center; }
.cp-done[hidden], #cpForm[hidden] { display: none; }
.cp-done-icon { font-size: 2.6rem; }
.cp-done textarea { width: 100%; padding: 0.8rem; border-radius: 12px; background: rgba(4, 10, 32, 0.7); border: 1px solid var(--line-strong); color: #fff; font: 700 0.95rem/1.6 ui-monospace, Consolas, monospace; letter-spacing: 0.06em; text-align: center; resize: vertical; }
.cp-upper { text-transform: uppercase; }
.ord-off { font-style: normal; font-size: 0.75rem; color: #23d18b; }
.ord-d-coupon td { color: #23d18b; }
.ord-d-coupon code { color: #fff; font-weight: 700; letter-spacing: 0.05em; }
@media (max-width: 760px) {
  .cp-item { grid-template-columns: auto 1fr auto auto auto; grid-template-areas: "tag info info info info" "uses . sw edit del"; gap: 0.8rem 0.7rem; }
  .cp-tag { grid-area: tag; min-width: 76px; }
  .cp-info { grid-area: info; }
  .cp-uses { grid-area: uses; display: flex; align-items: baseline; gap: 0.3rem; min-width: 0; }
  .cp-uses b { font-size: 1.1rem; }
  .cp-item .switch { grid-area: sw; }
  .cp-item .pkg-edit-btn { grid-area: edit; }
  .cp-item .pkg-del { grid-area: del; }
  .cp-pkgs, .cp-count { grid-template-columns: 1fr; }
}
.modal-card.ord-modal-card { width: min(620px, 100%); }
.ord-modal-card > h2 { font-size: 1.6rem; margin-bottom: 1.1rem; }
.ord-who { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.8rem; border-radius: 12px; background: rgba(88, 101, 242, 0.12); border: 1px solid rgba(120, 140, 255, 0.35); }
.ord-who[hidden] { display: none; }
.ord-who img { width: 36px; height: 36px; border-radius: 50%; }
.ord-who b { display: block; font-size: 0.92rem; }
.ord-who small { color: var(--muted); font-size: 0.78rem; }
.ord-row { grid-template-columns: 1fr 110px !important; }
.ord-total { text-align: right; color: var(--muted); }
.ord-total b { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin-left: 0.4rem; }

.ord-d-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.1rem; padding-right: 2.5rem; }
.ord-d-head h2 { font-family: ui-monospace, Consolas, monospace; font-size: 1.5rem; letter-spacing: 0.04em; }
.ord-d-head small { color: var(--muted); font-size: 0.82rem; }
.ord-d-customer { display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 1rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.ord-d-customer b { display: block; }
.ord-d-customer small { color: var(--muted); font-size: 0.8rem; }
.ord-d-customer code { color: var(--blue-2); }
.ord-d-items { width: 100%; border-collapse: collapse; margin: 1rem 0 0.6rem; font-size: 0.92rem; }
.ord-d-items td { padding: 0.55rem 0.3rem; border-bottom: 1px solid var(--line); }
.ord-d-items td:first-child { width: 40px; color: var(--muted); }
.ord-d-items td:last-child { text-align: right; white-space: nowrap; }
.ord-d-total td { border-bottom: 0; font-weight: 700; }
.ord-d-total td:last-child { font-family: var(--serif); font-size: 1.2rem; }
.ord-d-role { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.pkg-days-hint { margin-top: -0.4rem; color: var(--muted); font-size: 0.78rem; }
.pkg-days-hint:empty { display: none; }
.ord-badge.s-review { color: #ffb648; background: rgba(255, 182, 72, 0.14); border-color: rgba(255, 182, 72, 0.6); }
.ord-badge.s-expired { color: var(--muted); background: rgba(255, 255, 255, 0.05); border-color: var(--line); }
.ord-d-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 0.8rem; }
.ord-d-pay > div { padding: 0.7rem 0.8rem; border-radius: 12px; background: rgba(4, 10, 32, 0.55); border: 1px solid var(--line); min-width: 0; }
.ord-d-pay span { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ord-d-pay b { display: block; font-family: ui-monospace, Consolas, monospace; font-size: 0.95rem; margin: 0.15rem 0; }
.ord-d-pay small { color: var(--muted); font-size: 0.76rem; }
.ord-d-pay a { color: var(--blue-2); }
.ord-d-addr { grid-column: 1 / -1; }
.ord-d-addr code { font-size: 0.82rem; overflow-wrap: anywhere; color: var(--ice); }
.ord-d-delivery { display: grid; gap: 0.6rem; padding: 0.8rem 0.9rem; margin-bottom: 1rem; border-radius: 12px; font-size: 0.86rem; color: #cfdcf2; background: rgba(47, 140, 255, 0.07); border: 1px solid var(--line); }
.ord-d-delivery.ok { color: #8fe3bd; background: rgba(35, 209, 139, 0.07); border-color: rgba(35, 209, 139, 0.35); }
.ord-d-delivery.bad { color: #ffc2c9; background: rgba(255, 90, 110, 0.07); border-color: rgba(255, 90, 110, 0.4); }
.ord-d-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ord-d-btns:empty { display: none; }
.ord-d-btns .btn { padding: 0.5rem 0.95rem; font-size: 0.85rem; }
.ord-d-actions { justify-content: space-between; }
.ord-del:hover { border-color: rgba(255, 90, 110, 0.6); background: rgba(255, 90, 110, 0.12); }
.ord-history { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.ord-history ul { list-style: none; display: grid; gap: 0.35rem; margin-top: 0.6rem; font-size: 0.85rem; }
.ord-history span { color: var(--muted); font-size: 0.78rem; margin-right: 0.3rem; }
.ord-history em { color: var(--muted); font-style: normal; }

@media (max-width: 860px) {
  .ord-stats { grid-template-columns: repeat(2, 1fr); }
  .ord-item { grid-template-columns: auto 1fr auto; }
  .ord-when { display: none; }
  .ord-item .ord-badge { grid-column: 2 / -1; justify-self: start; }
}
@media (max-width: 860px) {
  .pkg-edit { grid-template-columns: 1fr; }
  .pkg-preview { position: static; }
  .pkg-item { grid-template-columns: auto auto 1fr auto; }
  .pkg-item .pkg-role { grid-column: 3; justify-self: start; }
  .pkg-edit-btn { grid-column: 3; justify-self: start; }
}
@media (max-width: 760px) { .admin-grid { grid-template-columns: 1fr; } }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .perks-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .reviews, .steps, .info-grid { grid-template-columns: 1fr; }
  .search kbd { display: none; }
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .emblem { width: min(320px, 80%); }
  .explore { grid-template-columns: repeat(2, 1fr); }
  .community { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 2rem 1.4rem; }
  .community-stats { justify-content: center; }
  .hero-content { margin-top: 0.5rem; }
}
/* the Greek tabs need more room: switch to the ☰ menu earlier */
@media (max-width: 1120px) {
  .menu-btn { display: flex; }
  .nav-links {
    position: fixed; top: calc(72px + var(--bar-h)); left: 0; right: 0; flex-direction: column; padding: 1rem 4%;
    background: rgba(4, 8, 26, 0.97); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform 0.3s; z-index: -1;
  }
  .nav-links a { padding: 0.8rem 1rem; }
  body.menu-open .nav-links { transform: none; }
  body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .nav .btn-discord span { display: none; }
  .nav .btn-discord { padding: 0.6rem; width: 44px; height: 44px; }
  .user-chip span, .user-chip .caret { display: none; }
  .user-chip { padding: 0 0.25rem; }
  .nav .brand-name { display: none; }
  .perks-grid, .explore { grid-template-columns: 1fr; }
  .review-card, .review-skeleton { width: 270px; }
  .section { padding: 4rem 0; }
}
