/* =========================================================
   RaftarServices — services studio
   Theme: ember red to black, glassy dark surfaces
   ========================================================= */

:root {
  --red-900: #4d0309;
  --red-800: #7a0410;
  --red-700: #a80814;
  --red-600: #c8111f;
  --red-500: #e42532;
  --ember: #ff6a4d;
  --ink: #070406;
  --surface: rgba(26, 8, 12, 0.62);
  --surface-strong: rgba(18, 6, 9, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f8eff1;
  --muted: #c9b2b8;
  --muted-dim: #9d858c;
  --good: #47d18c;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 45px -22px rgba(0, 0, 0, 0.85);
  --shadow-lift: 0 30px 65px -28px rgba(0, 0, 0, 0.95);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 720px at 80% -10%, rgba(196, 16, 30, 0.45), transparent 62%),
    radial-gradient(900px 620px at 2% 2%, rgba(122, 4, 16, 0.5), transparent 58%),
    linear-gradient(168deg, #3a0408 0%, #240206 26%, #140205 54%, #080406 80%, #050304 100%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5rem; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.06rem; }
p { margin: 0 0 0.8rem; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- ambient background ---------- */
.aura { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.aura__glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.55; }
.aura__glow--one {
  width: 46vw; height: 46vw; min-width: 320px; min-height: 320px;
  top: -14vw; right: -8vw;
  background: radial-gradient(circle, rgba(226, 37, 50, 0.5), transparent 68%);
}
.aura__glow--two {
  width: 40vw; height: 40vw; min-width: 280px; min-height: 280px;
  bottom: -18vw; left: -10vw;
  background: radial-gradient(circle, rgba(148, 8, 24, 0.55), transparent 70%);
}
.aura__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
}

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, #ffb59f, var(--red-500) 60%, #7a0410);
  z-index: 60; box-shadow: 0 0 14px rgba(255, 106, 77, 0.8);
  transition: width 0.08s linear;
}

/* ---------- shared bits ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.eyebrow {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: #ffb3a8; font-weight: 600; margin: 0 0 0.55rem;
}
.hl {
  background: linear-gradient(96deg, #ffb59f, var(--red-500) 65%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.micro { font-size: 0.8rem; color: var(--muted-dim); margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  border: 1px solid transparent; border-radius: 999px;
  padding: 0.72rem 1.3rem; font-weight: 600; font-size: 0.93rem;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--red-500), var(--red-800) 88%);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(228, 37, 50, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn--primary:hover { box-shadow: 0 20px 40px -14px rgba(255, 90, 77, 0.9); transform: translateY(-1px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.11); }
.btn--block { width: 100%; }
.btn--sm { padding: 0.46rem 0.95rem; font-size: 0.83rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; transform: none; }

.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.28rem 0.78rem; border-radius: 999px;
  background: rgba(255, 106, 77, 0.13);
  border: 1px solid rgba(255, 106, 77, 0.34);
  color: #ffc0b4; font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
}

.icon-btn {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.4rem; line-height: 1;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 106, 77, 0.45); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  padding: 0.85rem clamp(1rem, 3vw, 2.5rem);
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.topbar.is-stuck {
  background: rgba(10, 3, 5, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}
.topbar__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 700; }
.brand__mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: linear-gradient(140deg, var(--red-500), var(--red-800));
  box-shadow: 0 8px 22px -10px rgba(228, 37, 50, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
}
.brand__text { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -0.02em; }
.brand__text em {
  font-style: normal; font-weight: 600; color: var(--muted);
  font-size: 0.9em; margin-left: 0.06em;
}

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__link {
  position: relative; padding: 0.45rem 0.72rem; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-size: 0.88rem; font-weight: 500;
  transition: color 0.16s ease, background 0.16s ease;
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav__link.is-active { color: #ffe7e1; background: rgba(255, 106, 77, 0.12); }

.topbar__actions { display: flex; align-items: center; gap: 0.6rem; }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.42rem 0.7rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  transition: background 0.16s ease, border-color 0.16s ease;
}
.cart-btn:hover { background: rgba(255, 255, 255, 0.11); border-color: rgba(255, 106, 77, 0.5); }
.cart-btn__count {
  min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: linear-gradient(135deg, var(--red-500), var(--red-700));
  font-size: 0.72rem; font-weight: 700;
}
.cart-btn__count.is-zero { background: rgba(255, 255, 255, 0.13); color: var(--muted); }

/* ---------- hero ---------- */
.hero {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(3rem, 9vw, 7rem) clamp(1rem, 3vw, 2.5rem) clamp(2.5rem, 6vw, 5rem);
  text-align: center;
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 42%; transform: translate(-50%, -50%);
  width: min(760px, 92vw); height: min(760px, 92vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 37, 50, 0.28), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.9rem, 11.5vw, 8.2rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  background: linear-gradient(96deg, #fff0e9 0%, #ffbfa9 20%, #ff7d5c 40%, #ff3d2f 58%, #d01424 76%, #7c0512 100%);
  background-size: 240% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 18px 46px rgba(226, 37, 50, 0.28));
  animation: heroShimmer 11s ease-in-out infinite;
}
@keyframes heroShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero__lede {
  max-width: 62ch; margin: 1.5rem auto 0;
  color: var(--muted); font-size: clamp(0.98rem, 1.4vw, 1.1rem);
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center;
  margin-top: 1.9rem;
}
.hero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem; max-width: 760px; margin: 3rem auto 0;
  padding: 1.1rem 0.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero__stats div { text-align: center; padding: 0 0.4rem; }
.hero__stats dt {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.3rem); color: #ffe3db;
}
.hero__stats dd { margin: 0.2rem 0 0; font-size: 0.78rem; color: var(--muted-dim); }

/* ---------- sections ---------- */
.section {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2.6rem, 6vw, 4.6rem) clamp(1rem, 3vw, 2.5rem);
  scroll-margin-top: 84px;
}
.section--tight { padding-top: clamp(1.6rem, 4vw, 2.8rem); }
.section__head { max-width: 62ch; margin-bottom: 2rem; }
.section__lede { color: var(--muted); margin: 0; }

/* ---------- service groups ---------- */
.service-groups { display: grid; gap: 2.6rem; }
.service-group { scroll-margin-top: 90px; }
.service-group__head {
  display: flex; align-items: center; gap: 0.9rem;
  margin-bottom: 1rem; padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.service-group__icon {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center; border-radius: 14px;
  background: rgba(255, 106, 77, 0.12);
  border: 1px solid rgba(255, 106, 77, 0.26);
  font-size: 1.2rem;
}
.service-group__text h3 { margin: 0; font-size: 1.12rem; }
.service-group__text p { margin: 0.1rem 0 0; font-size: 0.84rem; color: var(--muted-dim); }
.service-group__meta { margin-left: auto; font-size: 0.76rem; color: var(--muted-dim); white-space: nowrap; }

.service-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.service {
  display: flex; flex-direction: column;
  padding: 1.25rem 1.25rem 1.1rem;
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(38, 12, 18, 0.72), rgba(14, 5, 8, 0.72));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.service:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 77, 0.34);
  box-shadow: var(--shadow-lift);
}
.service__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.9rem; }
.service__icon {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 13px; font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.service__badge {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.22rem 0.55rem; border-radius: 999px;
  color: #ffd9ce; background: rgba(255, 106, 77, 0.16);
  border: 1px solid rgba(255, 106, 77, 0.32);
}
.service__title { font-size: 1.05rem; margin: 0 0 0.35rem; }
.service__desc { font-size: 0.87rem; color: var(--muted); margin: 0 0 0.9rem; }
.service__list { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: 0.32rem; }
.service__list li {
  position: relative; padding-left: 1.15rem;
  font-size: 0.8rem; color: var(--muted-dim);
}
.service__list li::before {
  content: ""; position: absolute; left: 0; top: 0.52em;
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ember), var(--red-600));
}
.service__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; }
.service__price { display: flex; flex-direction: column; line-height: 1.25; }
.service__price strong { font-family: var(--font-display); font-size: 1.02rem; color: #ffe6de; }
.service__price span { font-size: 0.72rem; color: var(--muted-dim); }
.service__add.is-in { background: rgba(71, 209, 140, 0.16); border: 1px solid rgba(71, 209, 140, 0.45); color: #b9f5d7; }

/* ---------- steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.step { padding: 1.3rem 1.2rem; border-radius: var(--radius); }
.step__num {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.14em;
  color: #ffb3a8; margin-bottom: 0.6rem;
}
.step h3 { margin-bottom: 0.3rem; }
.step p { margin: 0; font-size: 0.86rem; color: var(--muted); }

/* ---------- why ---------- */
.why {
  display: grid; gap: 2rem;
  grid-template-columns: 1.05fr 1fr;
  align-items: start;
}
.why__points { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.why__points li {
  position: relative; padding-left: 1.7rem; color: var(--muted); font-size: 0.9rem;
}
.why__points li::before {
  content: ""; position: absolute; left: 0; top: 0.35em;
  width: 15px; height: 15px; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.8), transparent 55%),
    linear-gradient(135deg, var(--ember), var(--red-700));
  box-shadow: 0 0 0 3px rgba(255, 106, 77, 0.12);
}
.why__points strong { color: var(--text); font-weight: 600; }
.why__grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.feature { padding: 1.1rem; border-radius: var(--radius); }
.feature__icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px; margin-bottom: 0.7rem;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  font-size: 1.05rem;
}
.feature h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.feature p { margin: 0; font-size: 0.82rem; color: var(--muted-dim); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 0.7rem; max-width: 860px; }
.faq__item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(24, 8, 12, 0.55);
  padding: 0.15rem 1.1rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.faq__item[open] { border-color: rgba(255, 106, 77, 0.32); background: rgba(32, 10, 15, 0.66); }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 0.95rem 2rem 0.95rem 0;
  font-weight: 600; font-size: 0.93rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, 0.07);
  font-size: 1rem; color: #ffc0b4; transition: transform 0.2s ease;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin: 0 0 1rem; font-size: 0.87rem; color: var(--muted); max-width: 68ch; }

/* ---------- cta ---------- */
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.4rem;
  flex-wrap: wrap;
  padding: 1.8rem clamp(1.2rem, 3vw, 2.2rem);
  background:
    radial-gradient(80% 140% at 90% 0%, rgba(228, 37, 50, 0.28), transparent 60%),
    rgba(22, 7, 11, 0.8);
}
.cta h2 { margin-bottom: 0.25rem; }
.cta p { margin: 0; color: var(--muted); }
.cta__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); margin-top: 2rem; }
.footer__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 2rem clamp(1rem, 3vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.footer .micro { margin-top: 0.5rem; }
.footer__links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: 0.86rem; }
.footer__links a:hover { color: #ffd7cf; }
.footer__note { margin: 0; }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 30;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(18, 6, 9, 0.85);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: rgba(255, 106, 77, 0.5); }

/* ---------- scrim + drawer ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(4, 1, 2, 0.68);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80;
  width: min(420px, 100vw);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(28, 9, 13, 0.98), rgba(10, 4, 6, 0.99));
  border-left: 1px solid var(--line-strong);
  box-shadow: -30px 0 70px -30px rgba(0, 0, 0, 0.9);
  animation: slideIn 0.24s ease;
}
@keyframes slideIn { from { transform: translateX(24px); opacity: 0.6; } to { transform: none; opacity: 1; } }

.drawer__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.3rem; border-bottom: 1px solid var(--line);
}
.drawer__head h2 { margin: 0; font-size: 1.25rem; }
.drawer__head .eyebrow { margin-bottom: 0.15rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.3rem; }
.drawer__foot { padding: 1.1rem 1.3rem 1.4rem; border-top: 1px solid var(--line); background: rgba(8, 3, 5, 0.6); }
.drawer__foot .micro { text-align: center; margin-top: 0.6rem; }

.cart-empty { color: var(--muted-dim); font-size: 0.88rem; }

.line-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.8rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
  animation: fadeIn 0.2s ease;
}
.line-item:last-child { border-bottom: 0; }
.line-item__thumb {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
}
.line-item__title { margin: 0; font-size: 0.9rem; font-weight: 600; }
.line-item__sub { margin: 0.1rem 0 0.4rem; font-size: 0.76rem; color: var(--muted-dim); }
.line-item__price { font-family: var(--font-display); font-size: 0.9rem; color: #ffe6de; white-space: nowrap; }

.qty {
  display: inline-flex; align-items: center; gap: 0.15rem;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.1rem;
  background: rgba(255, 255, 255, 0.04);
}
.qty button {
  width: 26px; height: 26px; border: 0; border-radius: 50%;
  background: transparent; color: var(--text); font-size: 0.95rem; line-height: 1;
}
.qty button:hover { background: rgba(255, 255, 255, 0.12); }
.qty span { min-width: 22px; text-align: center; font-size: 0.82rem; }

.line-item__remove {
  display: block; margin-top: 0.35rem; padding: 0;
  background: none; border: 0; color: var(--muted-dim);
  font-size: 0.74rem; text-decoration: underline; text-underline-offset: 2px;
}
.line-item__remove:hover { color: #ff9d8c; }

.totals { display: grid; gap: 0.35rem; margin-bottom: 0.5rem; }
.totals p { display: flex; justify-content: space-between; margin: 0; font-size: 0.86rem; color: var(--muted); }
.totals__grand {
  padding-top: 0.45rem; margin-top: 0.2rem !important;
  border-top: 1px solid var(--line);
  font-size: 1rem !important; color: var(--text) !important; font-weight: 600;
}
.totals__grand span:last-child { font-family: var(--font-display); color: #ffe6de; }

/* ---------- payment ---------- */
.pay {
  position: fixed; z-index: 90;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(460px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem); overflow-y: auto;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(32, 10, 15, 0.98), rgba(11, 4, 6, 0.99));
  animation: popIn 0.22s ease;
}
@keyframes popIn { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }

.pay__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.pay__head .eyebrow { margin: 0 0 0.15rem; }
.pay__head h2 { margin: 0; font-size: 1.18rem; }
.pay__amount {
  display: flex; align-items: baseline; gap: 0.5rem;
  margin: 0.9rem 0 0.5rem; color: var(--muted); font-size: 0.86rem;
}
.pay__amount strong { font-family: var(--font-display); font-size: 1.28rem; color: #ffe3db; }
.pay__banner {
  margin: 0 0 1rem; padding: 0.5rem 0.7rem; border-radius: 10px;
  font-size: 0.78rem; color: #ffd9ce;
  background: rgba(255, 106, 77, 0.1);
  border: 1px solid rgba(255, 106, 77, 0.26);
}
.pay__methods { display: grid; gap: 0.5rem; }
.pay-method {
  display: flex; align-items: center; gap: 0.75rem; width: 100%;
  padding: 0.75rem 0.9rem; border-radius: 14px; text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.pay-method:hover { background: rgba(255, 106, 77, 0.1); border-color: rgba(255, 106, 77, 0.4); transform: translateY(-1px); }
.pay-method__icon {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center;
  border-radius: 11px; background: rgba(255, 255, 255, 0.06); font-size: 1rem;
}
.pay-method strong { display: block; font-size: 0.9rem; font-weight: 600; }
.pay-method em { font-style: normal; font-size: 0.76rem; color: var(--muted-dim); }

.pay__form { display: grid; gap: 0.8rem; }
.field { display: grid; gap: 0.3rem; }
.field label { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.field input {
  width: 100%; padding: 0.65rem 0.8rem;
  border-radius: 11px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem; outline: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.field input:focus { border-color: rgba(255, 106, 77, 0.65); background: rgba(255, 255, 255, 0.07); }
.field input.is-bad { border-color: #ff5a4d; background: rgba(255, 90, 77, 0.08); }
.field__hint { font-size: 0.72rem; color: var(--muted-dim); }
.form-error { margin: 0; min-height: 1.1rem; font-size: 0.78rem; color: #ff8f7a; }
.pay__actions { display: flex; gap: 0.6rem; }
.pay__actions .btn { flex: 1; }

.pay__done { text-align: center; padding: 0.6rem 0 0.2rem; }
.pay__tick {
  width: 56px; height: 56px; margin: 0.4rem auto 0.9rem;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(71, 209, 140, 0.14);
  border: 1px solid rgba(71, 209, 140, 0.45);
  color: var(--good);
}
.pay__done h3 { font-size: 1.1rem; }
.pay__done p { font-size: 0.86rem; color: var(--muted); }
.pay__done .btn { margin-top: 0.6rem; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  z-index: 100; max-width: calc(100vw - 2rem);
  padding: 0.7rem 1.1rem; border-radius: 999px;
  background: rgba(28, 10, 14, 0.96);
  border: 1px solid rgba(255, 106, 77, 0.4);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.9);
  font-size: 0.85rem;
  animation: toastIn 0.22s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .why { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; gap: 0.9rem; text-align: left; }
  .hero__stats div { text-align: left; border-left: 2px solid rgba(255, 106, 77, 0.35); padding-left: 0.8rem; }
}

@media (max-width: 620px) {
  .topbar { padding: 0.7rem 0.9rem; }
  .topbar__actions .btn--primary { display: none; }
  .hero { padding-top: 2.4rem; }
  .hero__lede { font-size: 0.95rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-group__meta { display: none; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1; }
  .line-item { grid-template-columns: auto 1fr; }
  .line-item__price { grid-column: 2; justify-self: end; }
  .to-top { right: 0.8rem; bottom: 0.8rem; }
}

/* ---------- account chip ---------- */
.account-chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.26rem 0.72rem 0.26rem 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  transition: background 0.16s ease, border-color 0.16s ease;
}
.account-chip:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(192, 132, 252, 0.6); }
.account-chip__avatar {
  width: 28px; height: 28px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #a855f7, #e11d48 70%, #7f1d1d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.account-chip__name { font-size: 0.82rem; font-weight: 600; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.account-pop {
  position: fixed; top: 68px; right: clamp(1rem, 3vw, 2.5rem); z-index: 95;
  width: 232px; padding: 0.95rem;
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(42, 12, 40, 0.98), rgba(10, 4, 8, 0.99));
  border: 1px solid rgba(192, 132, 252, 0.32);
  box-shadow: var(--shadow-lift);
  animation: cardIn 0.18s ease;
}
.account-pop .eyebrow { margin-bottom: 0.3rem; }
.account-pop__name { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.account-pop .micro { margin: 0.1rem 0 0.75rem; word-break: break-all; }

/* ---------- auth gate ---------- */
.auth {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  padding: 1.2rem; overflow-y: auto;
  background:
    radial-gradient(900px 620px at 12% -6%, rgba(168, 85, 247, 0.42), transparent 62%),
    radial-gradient(880px 620px at 92% 104%, rgba(220, 38, 38, 0.45), transparent 62%),
    rgba(4, 1, 3, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.auth__card {
  position: relative; width: min(452px, 100%);
  padding: 1.9rem 1.7rem 1.6rem;
  border-radius: 26px;
  background: linear-gradient(168deg, rgba(46, 12, 42, 0.97), rgba(11, 3, 8, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 45px 90px -45px rgba(217, 70, 239, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  animation: cardIn 0.28s ease;
}
.auth__card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 27px; z-index: -1;
  background: linear-gradient(140deg, rgba(192, 132, 252, 0.9), rgba(225, 29, 72, 0.55) 45%, transparent 75%);
  opacity: 0.5; filter: blur(1px);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(12px) scale(0.985); } to { opacity: 1; transform: none; } }

.auth__top { text-align: center; margin-bottom: 1.2rem; }
.auth__top .brand__mark { margin: 0 auto 0.75rem; width: 46px; height: 46px; }
.auth__top h2 { margin: 0 0 0.3rem; font-size: 1.35rem; }
.auth__lede { margin: 0; font-size: 0.85rem; color: var(--muted); }

.auth__tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem;
  padding: 0.25rem; margin-bottom: 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.auth__tab {
  border: 0; border-radius: 999px; padding: 0.5rem 0.6rem;
  background: transparent; color: var(--muted); font-size: 0.84rem; font-weight: 600;
  transition: background 0.16s ease, color 0.16s ease;
}
.auth__tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.9), rgba(225, 29, 72, 0.85));
  box-shadow: 0 10px 24px -14px rgba(217, 70, 239, 0.95);
}
.auth__form { display: grid; gap: 0.8rem; }
.auth__form .field input { background: rgba(255, 255, 255, 0.05); }
.auth__form .field input:focus { border-color: rgba(192, 132, 252, 0.75); }
.auth__note { margin-top: 0.9rem; text-align: center; }

/* ---------- support ---------- */
.support { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 1rem; align-items: stretch; }

.support__side {
  display: flex; flex-direction: column; gap: 0.8rem;
  padding: 1.05rem; border-radius: var(--radius-lg);
  background: linear-gradient(175deg, rgba(46, 14, 44, 0.72), rgba(12, 4, 9, 0.82));
  min-height: 420px;
}
.support__side-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; }
.support__side-head .eyebrow { margin-bottom: 0.15rem; }
.support__list { display: grid; gap: 0.4rem; overflow-y: auto; max-height: 340px; }
.support__empty { margin: auto 0; font-size: 0.83rem; color: var(--muted-dim); line-height: 1.55; }

.ticket-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.55rem;
  width: 100%; text-align: left; padding: 0.6rem 0.62rem;
  border-radius: 13px; border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.ticket-row:hover { background: rgba(192, 132, 252, 0.12); transform: translateX(2px); }
.ticket-row.is-active {
  background: linear-gradient(100deg, rgba(168, 85, 247, 0.26), rgba(225, 29, 72, 0.18));
  border-color: rgba(216, 180, 254, 0.45);
}
.ticket-row__dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #e879f9, #f43f5e);
  box-shadow: 0 0 0 3px rgba(232, 121, 249, 0.16);
}
.ticket-row__text { display: grid; min-width: 0; }
.ticket-row__subject {
  font-size: 0.83rem; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ticket-row__sub { font-size: 0.7rem; color: var(--muted-dim); }
.ticket-row__time { font-size: 0.68rem; color: var(--muted-dim); white-space: nowrap; }

.support__chat { min-height: 420px; display: flex; flex-direction: column; }
.support__placeholder {
  flex: 1; display: grid; align-content: center; justify-items: center; gap: 0.4rem;
  padding: 2rem 1.4rem; text-align: center;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(216, 180, 254, 0.28);
  background: linear-gradient(170deg, rgba(40, 12, 38, 0.6), rgba(10, 3, 8, 0.7));
}
.support__placeholder-icon {
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 18px; font-size: 1.4rem; margin-bottom: 0.4rem;
  background: rgba(192, 132, 252, 0.14);
  border: 1px solid rgba(216, 180, 254, 0.32);
}
.support__placeholder h3 { margin: 0; font-size: 1.05rem; }
.support__placeholder p { margin: 0; max-width: 44ch; font-size: 0.84rem; color: var(--muted-dim); }

/* ---------- the ticket: purple -> red -> black ---------- */
.ticket {
  position: relative; display: flex; flex-direction: column; flex: 1;
  min-height: 420px; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(244, 114, 182, 0.35), transparent 58%),
    linear-gradient(158deg, #6d28d9 0%, #8b2fd6 14%, #a21caf 28%, #c026d3 40%, #dc2626 62%, #7f1d1d 78%, #0b0305 100%);
  box-shadow: 0 34px 75px -38px rgba(168, 85, 247, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: cardIn 0.24s ease;
}
.ticket::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 60% at 100% 100%, rgba(0, 0, 0, 0.55), transparent 60%);
}
.ticket__head {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 2, 8, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ticket__avatar {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center;
  border-radius: 50%; font-family: var(--font-display); font-size: 0.74rem; font-weight: 800;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.34);
}
.ticket__head-text { min-width: 0; }
.ticket__head h3 { margin: 0; font-size: 0.96rem; }
.ticket__meta {
  margin: 0; display: flex; flex-wrap: wrap; gap: 0.35rem;
  font-size: 0.72rem; color: rgba(255, 255, 255, 0.76);
}
.ticket__sep { opacity: 0.6; }
.ticket__status { color: #fbcfe8; font-weight: 600; }

.ticket__body {
  position: relative; z-index: 1; flex: 1; overflow-y: auto;
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1rem 1rem 1.1rem; max-height: 460px;
}

.msg { display: flex; gap: 0.55rem; align-items: flex-start; max-width: 92%; }
.msg--user { margin-left: auto; flex-direction: row-reverse; }
.msg__avatar {
  width: 28px; height: 28px; flex: none; display: grid; place-items: center;
  border-radius: 50%; font-size: 0.64rem; font-weight: 800; font-family: var(--font-display);
  background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.3);
}
.msg--user .msg__avatar { background: rgba(9, 2, 8, 0.55); border-color: rgba(255, 255, 255, 0.22); }
.msg__main { min-width: 0; }
.msg__name {
  display: flex; align-items: center; gap: 0.32rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.82); margin-bottom: 0.2rem;
}
.msg--user .msg__name { justify-content: flex-end; }
.msg__name em {
  font-style: normal; font-size: 0.58rem; padding: 0.03rem 0.3rem; border-radius: 4px;
  background: rgba(255, 255, 255, 0.22); color: #fff; letter-spacing: 0.08em;
}
.msg__text {
  white-space: pre-wrap; word-break: break-word;
  font-size: 0.84rem; line-height: 1.55;
  padding: 0.6rem 0.8rem; border-radius: 14px;
  background: rgba(6, 2, 8, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.9);
}
.msg--user .msg__text { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.24); }
.msg__time { display: block; margin-top: 0.22rem; font-size: 0.64rem; color: rgba(255, 255, 255, 0.6); }
.msg--user .msg__time { text-align: right; }

.msg__typing { display: inline-flex; align-items: center; gap: 4px; padding: 0.7rem 0.85rem; }
.msg__typing span {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.85);
  animation: typingDot 1.1s infinite ease-in-out;
}
.msg__typing span:nth-child(2) { animation-delay: 0.15s; }
.msg__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-3px); opacity: 1; }
}

.ticket__composer {
  position: relative; z-index: 1;
  display: flex; gap: 0.5rem; align-items: center;
  padding: 0.75rem 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 2, 6, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ticket__composer input {
  flex: 1; min-width: 0; padding: 0.58rem 0.85rem;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08); font-size: 0.85rem; outline: none;
}
.ticket__composer input::placeholder { color: rgba(255, 255, 255, 0.55); }
.ticket__composer input:focus { border-color: rgba(251, 207, 232, 0.8); background: rgba(255, 255, 255, 0.13); }

/* ---------- ticket modal ---------- */
.ticket-modal {
  position: fixed; z-index: 90;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(480px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem); overflow-y: auto;
  padding: 1.4rem;
  background: linear-gradient(170deg, rgba(44, 13, 42, 0.98), rgba(11, 3, 8, 0.99));
  border: 1px solid rgba(216, 180, 254, 0.28);
  animation: popIn 0.22s ease;
}
.ticket-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.ticket-modal__head .eyebrow { margin: 0 0 0.15rem; }
.ticket-modal__head h2 { margin: 0; font-size: 1.15rem; }
.ticket-modal__form { display: grid; gap: 0.8rem; margin-top: 1rem; }
.ticket-modal__actions { display: flex; gap: 0.6rem; }
.ticket-modal__actions .btn { flex: 1; }

.field select, .field textarea {
  width: 100%; padding: 0.65rem 0.8rem;
  border-radius: 11px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem; outline: none; font-family: var(--font);
  transition: border-color 0.16s ease, background 0.16s ease;
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.5; }
.field select:focus, .field textarea:focus { border-color: rgba(216, 180, 254, 0.7); background: rgba(255, 255, 255, 0.07); }
.field select option { background: #1c0714; color: var(--text); }

/* ---------- ticket popup ---------- */
.ticket-pop {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 110;
  display: flex; align-items: flex-start; gap: 0.7rem;
  width: min(360px, calc(100vw - 2rem));
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(58, 16, 52, 0.98), rgba(14, 4, 10, 0.99));
  border: 1px solid rgba(244, 114, 182, 0.45);
  box-shadow: 0 30px 60px -28px rgba(217, 70, 239, 0.85);
  animation: popUp 0.24s ease;
}
@keyframes popUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ticket-pop__icon {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  border-radius: 11px; font-size: 1rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(225, 29, 72, 0.35));
  border: 1px solid rgba(244, 114, 182, 0.4);
}
.ticket-pop__text { min-width: 0; }
.ticket-pop__title { margin: 0 0 0.2rem; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; }
.ticket-pop__body { margin: 0 0 0.6rem; font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.ticket-pop__close {
  position: absolute; top: 0.5rem; right: 0.6rem;
  background: none; border: 0; color: var(--muted-dim); font-size: 1.1rem; line-height: 1; padding: 0.1rem 0.2rem;
}
.ticket-pop__close:hover { color: #fff; }

/* ---------- receipt block ---------- */
.receipt {
  display: grid; gap: 0.25rem;
  margin: 0.2rem 0 0.7rem; padding: 0.7rem 0.8rem;
  border-radius: 12px; text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.receipt__row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8rem; color: var(--muted); }
.receipt__row span:last-child { color: #ffe6de; font-weight: 600; font-family: var(--font-display); }
.receipt__note { display: inline-block; margin-top: 0.35rem; font-size: 0.78rem; color: #fbcfe8; }

@media (max-width: 900px) {
  .support { grid-template-columns: 1fr; }
  .support__side { min-height: 0; }
  .support__list { max-height: 220px; }
}

@media (max-width: 620px) {
  .account-chip__name { display: none; }
  .account-chip { padding: 0.26rem; }
  .auth__card { padding: 1.5rem 1.15rem 1.3rem; }
  .ticket { min-height: 380px; }
  .msg { max-width: 100%; }
  .ticket-pop { left: 0.7rem; right: 0.7rem; width: auto; }
}

/* ---------- coupons ---------- */
.coupon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 0.9rem;
}
.coupon-card {
  display: flex; flex-direction: column; gap: 0.45rem;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(46, 12, 38, 0.72), rgba(12, 3, 9, 0.9));
  border: 1px dashed rgba(148, 130, 150, 0.4);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.coupon-card:hover { border-color: rgba(244, 114, 182, 0.45); transform: translateY(-2px); }
.coupon-card.is-premium {
  background: linear-gradient(165deg, rgba(88, 28, 135, 0.4), rgba(76, 5, 25, 0.55));
  border-color: rgba(217, 70, 239, 0.45);
}
.coupon-card.is-applied {
  border-style: solid; border-color: rgba(244, 114, 182, 0.85);
  box-shadow: 0 22px 40px -30px rgba(217, 70, 239, 0.9);
}
.coupon-card.is-used { opacity: 0.55; }
.coupon-card__top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.coupon-card__tag {
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.2rem 0.45rem; border-radius: 999px;
  color: #fbcfe8; background: rgba(244, 114, 182, 0.14);
  border: 1px solid rgba(244, 114, 182, 0.3);
}
.coupon-card.is-premium .coupon-card__tag {
  color: #fde68a; background: rgba(250, 204, 21, 0.12); border-color: rgba(250, 204, 21, 0.35);
}
.coupon-card__value { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: #ffd9cd; }
.coupon-card h3 { margin: 0; font-size: 0.98rem; }
.coupon-card__blurb { margin: 0; font-size: 0.76rem; line-height: 1.55; color: var(--muted); }
.coupon-card__code {
  margin-top: 0.15rem;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.78rem; letter-spacing: 0.14em; color: #ffb4a2;
}
.coupon-card .btn { margin-top: auto; }
.coupon-foot { margin-top: 0.9rem; }

.coupon-box { margin-bottom: 0.9rem; }
.coupon-box__form { display: flex; gap: 0.45rem; }
.coupon-box__form input {
  flex: 1; min-width: 0;
  padding: 0.55rem 0.7rem; border-radius: 11px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04);
  color: var(--text); font-family: var(--font); font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase; outline: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.coupon-box__form input:focus { border-color: rgba(244, 114, 182, 0.7); background: rgba(255, 255, 255, 0.07); }
.coupon-box__form input::placeholder { text-transform: none; letter-spacing: 0; }
.coupon-box__note { margin: 0.35rem 0 0; min-height: 0.9rem; font-size: 0.72rem; color: var(--muted); }
.coupon-box__note.is-bad { color: #fca5a5; }
.coupon-active {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  padding: 0.6rem 0.75rem; border-radius: 12px;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(244, 114, 182, 0.42);
}
.coupon-active__text { min-width: 0; }
.coupon-active__code {
  margin: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.76rem; letter-spacing: 0.12em; color: #ffd9cd;
}
.coupon-active__desc { margin: 0.1rem 0 0; font-size: 0.72rem; color: var(--muted); }
.coupon-active .line-item__remove { flex: none; }

.pay__coupon { margin: -0.3rem 0 0.9rem; text-align: center; font-size: 0.75rem; color: #fbcfe8; }

.account-pop__badge {
  margin: 0.15rem 0 0.6rem;
  align-self: flex-start;
  display: inline-block;
  padding: 0.18rem 0.5rem; border-radius: 999px;
  font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #1b0a10; background: linear-gradient(120deg, #fde68a, #fbbf24);
}
.account-chip.is-premium .account-chip__avatar { box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.7); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- pay method accents ---------- */
.pay-method__icon--paypal { background: rgba(0, 112, 224, 0.22); color: #8ec5ff; font-weight: 700; }
.pay-method__icon--upi { background: rgba(255, 153, 0, 0.2); color: #ffc46b; font-weight: 700; }

/* ---------- admin panel (#admin_panel) ---------- */
.admin {
  position: fixed;
  inset: 0;
  z-index: 300;
  overflow-y: auto;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(900px 640px at 8% 4%, rgba(96, 62, 255, 0.55), transparent 62%),
    radial-gradient(820px 600px at 92% 8%, rgba(255, 66, 120, 0.42), transparent 62%),
    radial-gradient(760px 640px at 76% 96%, rgba(0, 210, 190, 0.3), transparent 66%),
    radial-gradient(620px 520px at 22% 92%, rgba(120, 60, 220, 0.34), transparent 68%),
    linear-gradient(152deg, #140a30 0%, #1d0b37 26%, #2b0b34 50%, #150a20 76%, #060511 100%);
  background-attachment: fixed;
  animation: admin-in 260ms ease-out;
}

@keyframes admin-in {
  from { opacity: 0; transform: scale(0.99); }
  to { opacity: 1; transform: none; }
}

.admin__grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at 50% 12%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 12%, #000 0%, transparent 72%);
}

.admin__blob {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.5;
}
.admin__blob--one { width: 34vw; height: 34vw; min-width: 260px; min-height: 260px; top: -10vw; left: -8vw; background: radial-gradient(circle, rgba(124, 92, 255, 0.75), transparent 68%); }
.admin__blob--two { width: 30vw; height: 30vw; min-width: 220px; min-height: 220px; top: 18vh; right: -10vw; background: radial-gradient(circle, rgba(255, 90, 140, 0.6), transparent 70%); }
.admin__blob--three { width: 28vw; height: 28vw; min-width: 200px; min-height: 200px; bottom: -12vw; left: 40vw; background: radial-gradient(circle, rgba(0, 220, 200, 0.45), transparent 70%); }

.admin__wrap {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 3.5rem;
}

.admin__head {
  position: sticky;
  top: 0.8rem;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(16, 9, 32, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  margin-bottom: 1.4rem;
}
.admin__brand { display: flex; align-items: center; gap: 0.8rem; }
.admin__brand h2 { margin: 0; font-size: 1.2rem; }
.admin__brand .eyebrow { margin: 0; }
.admin__head-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.admin-gate {
  max-width: 430px;
  margin: 14vh auto 0;
  padding: 1.7rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 10, 32, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lift);
}
.admin-gate h3 { margin-bottom: 0.4rem; }
.admin-gate__form { display: flex; gap: 0.6rem; margin: 1rem 0 0.35rem; }
.admin-gate__form input {
  flex: 1;
  min-width: 0;
  padding: 0.72rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.38);
  color: var(--text);
}
.admin-gate__form input.is-bad { border-color: #ff5c72; }

.admin-note {
  margin: 0 0 1rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 214, 120, 0.28);
  background: rgba(255, 214, 120, 0.08);
  color: #f4dcb2;
  font-size: 0.76rem;
  line-height: 1.5;
}

.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 0.7rem; margin-bottom: 1.2rem; }
.admin-stat {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(22, 12, 40, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.admin-stat__label { margin: 0 0 0.3rem; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #a697c4; }
.admin-stat__value { margin: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.admin-stat__sub { margin: 0.15rem 0 0; font-size: 0.72rem; color: #a697c4; }

.admin-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.9rem; }
.admin-tab {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.82rem;
}
.admin-tab:hover { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.admin-tab.is-active {
  color: #fff;
  border-color: rgba(255, 140, 120, 0.55);
  background: linear-gradient(135deg, rgba(255, 106, 77, 0.3), rgba(140, 80, 255, 0.34));
  box-shadow: 0 10px 24px -16px rgba(180, 90, 255, 0.9);
}

.admin-panel {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(16, 9, 30, 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
.admin-panel__head { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: baseline; justify-content: space-between; padding: 0.95rem 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.admin-panel__head h3 { margin: 0; font-size: 1rem; }
.admin-panel__head .micro { margin: 0; }

.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; min-width: 660px; }
.admin-table th {
  text-align: left;
  padding: 0.62rem 1rem;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
  color: #a697c4;
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}
.admin-table th.num, .admin-table td.num { text-align: right; white-space: nowrap; }
.admin-table td { padding: 0.62rem 1rem; border-top: 1px solid rgba(255, 255, 255, 0.07); vertical-align: middle; }
.admin-table tbody tr:hover td { background: rgba(255, 255, 255, 0.035); }

.admin-pill {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.66rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--muted);
  white-space: nowrap;
}
.admin-pill.is-good { border-color: rgba(71, 209, 140, 0.5); color: var(--good); }
.admin-pill.is-premium { border-color: rgba(255, 208, 120, 0.6); color: #ffd987; }

.admin-subhead { margin: 0; padding: 0.8rem 1.1rem 0.2rem; font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 600; color: #a697c4; }
.admin-subhead + .admin-table-wrap { margin-top: 0.35rem; }
.admin-subhead + .admin-empty { padding-top: 0.8rem; }

.admin-method { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 0.82rem; }
.admin-empty { margin: 0; padding: 1.4rem 1.1rem; color: #a697c4; font-size: 0.84rem; }

@media (max-width: 640px) {
  .admin__wrap { width: calc(100% - 1.2rem); }
  .admin__head { position: static; }
  .admin-gate { margin-top: 8vh; padding: 1.3rem; }
}

/* ---------- site announcement banner ---------- */
.announce {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.62rem 2.6rem 0.62rem 1.1rem;
  margin-top: 4.9rem;
  background: linear-gradient(100deg, rgba(255, 106, 77, 0.22), rgba(140, 80, 255, 0.24));
  border-bottom: 1px solid rgba(255, 160, 130, 0.32);
  color: #ffe6de;
  text-align: center;
}
.announce__icon { font-size: 0.95rem; line-height: 1; }
.announce__text { margin: 0; font-size: 0.82rem; line-height: 1.5; font-weight: 500; }
.announce__close {
  position: absolute; top: 50%; right: 0.9rem; transform: translateY(-50%);
  background: none; border: 0; color: rgba(255, 230, 222, 0.7);
  font-size: 1.15rem; line-height: 1; padding: 0.1rem 0.3rem; cursor: pointer;
}
.announce__close:hover { color: #fff; }

/* ---------- ticket state card ---------- */
.ticket__state {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  justify-content: space-between;
  margin: 0 0.95rem 0.75rem;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}
.ticket__state-main { min-width: 0; flex: 1 1 260px; }
.ticket__state-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fbcfe8; font-weight: 600;
}
.ticket__state-text { margin: 0; font-size: 0.78rem; line-height: 1.55; color: var(--muted); }
.ticket__state-text b { color: #ffe6de; }
.ticket__state.is-awaiting {
  border-color: rgba(255, 214, 120, 0.4);
  background: rgba(255, 214, 120, 0.08);
}
.ticket__state.is-awaiting .ticket__state-eyebrow { color: #ffd987; }
.ticket__state.is-closed {
  border-color: rgba(71, 209, 140, 0.38);
  background: rgba(71, 209, 140, 0.07);
}
.ticket__state.is-closed .ticket__state-eyebrow { color: var(--good); }

.ticket-row.is-closed { opacity: 0.62; }
.msg--system {
  border-color: rgba(255, 214, 120, 0.32);
  background: linear-gradient(150deg, rgba(255, 214, 120, 0.1), rgba(255, 255, 255, 0.03));
}
.msg--system .msg__name em { color: #ffd987; border-color: rgba(255, 214, 120, 0.42); }
.msg--system .msg__text { color: #fdf3e2; }

/* ---------- admin additions ---------- */
.admin-panels { display: grid; gap: 1rem; }
.admin-pill.is-warn { border-color: rgba(255, 214, 120, 0.55); color: #ffd987; }
.admin-pill.is-bad { border-color: rgba(160, 160, 175, 0.5); color: #c9c4d6; }

.admin-actions { display: flex; flex-wrap: wrap; gap: 0.3rem; justify-content: flex-end; }
.admin-mini {
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.68rem; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.admin-mini:hover {
  color: #fff;
  border-color: rgba(255, 160, 130, 0.6);
  background: linear-gradient(135deg, rgba(255, 106, 77, 0.28), rgba(140, 80, 255, 0.3));
}

.admin-search { display: flex; align-items: center; gap: 0.4rem; position: relative; }
.admin-search__icon { font-size: 0.72rem; opacity: 0.6; }
.admin-search input {
  width: 190px; max-width: 46vw;
  padding: 0.38rem 1.5rem 0.38rem 0.55rem;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.32); color: var(--text);
  font-family: var(--font); font-size: 0.76rem; outline: none;
}
.admin-search input:focus { border-color: rgba(255, 160, 130, 0.6); }
.admin-search__clear {
  position: absolute; right: 0.35rem;
  background: none; border: 0; color: #a697c4; font-size: 1rem; line-height: 1; cursor: pointer;
}
.admin-search__clear:hover { color: #fff; }

.admin-attention { list-style: none; margin: 0; padding: 0; }
.admin-attention li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  padding: 0.65rem 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.admin-attention li:first-child { border-top: 0; }
.admin-attention .admin-pill { margin-top: 0.1rem; }
.admin-attention__text { display: flex; flex-direction: column; gap: 0.1rem; font-size: 0.78rem; }
.admin-attention__text b { font-size: 0.8rem; }
.admin-attention__text span { color: #a697c4; font-size: 0.74rem; line-height: 1.45; }

.admin-broadcast { padding: 0.9rem 1.1rem; display: grid; gap: 0.6rem; }
.admin-broadcast textarea {
  width: 100%; resize: vertical; min-height: 62px;
  padding: 0.6rem 0.75rem; border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.32); color: var(--text);
  font-family: var(--font); font-size: 0.82rem; line-height: 1.5; outline: none;
}
.admin-broadcast textarea:focus { border-color: rgba(255, 160, 130, 0.6); }
.admin-broadcast__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.admin-broadcast__live {
  margin: 0; padding: 0 1.1rem 0.95rem;
  font-size: 0.76rem; color: #ffd987;
}
.admin-broadcast__live.is-off { color: #a697c4; }

.admin-activity { list-style: none; margin: 0; padding: 0; }
.admin-activity li {
  display: grid; grid-template-columns: 3.2rem 0.55rem 1fr; align-items: baseline; gap: 0.55rem;
  padding: 0.55rem 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 0.78rem;
}
.admin-activity li:first-child { border-top: 0; }
.admin-activity__time { color: #a697c4; font-size: 0.7rem; font-variant-numeric: tabular-nums; }
.admin-activity__dot { width: 6px; height: 6px; border-radius: 50%; background: #a697c4; }
.admin-activity__dot--delivery { background: #ffd987; }
.admin-activity__dot--confirm { background: var(--good); }
.admin-activity__dot--close { background: #c9c4d6; }
.admin-activity__dot--announce { background: #c084fc; }
.admin-activity__text { line-height: 1.45; }

.admin-console { display: flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.1rem 0.7rem; }
.admin-console__prompt { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: #ffd987; }
.admin-console input {
  flex: 1; min-width: 0;
  padding: 0.55rem 0.75rem; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.42); color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.8rem; outline: none;
}
.admin-console input:focus { border-color: rgba(255, 160, 130, 0.65); }
.admin-console__out {
  margin: 0 1.1rem 0.9rem; padding: 0.6rem 0.75rem;
  max-height: 200px; overflow-y: auto;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.34);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.admin-console__line { margin: 0 0 0.28rem; font-size: 0.76rem; line-height: 1.45; color: #d7d1e6; }
.admin-console__line:last-child { margin-bottom: 0; }
.admin-console__line.is-in { color: #fff; }
.admin-console__line.is-in::before { content: "\203A  "; color: #ffd987; }
.admin-console__line.is-good { color: var(--good); }
.admin-console__line.is-bad { color: #ff8095; }
.admin-console__hint { margin: 0; font-size: 0.76rem; color: #a697c4; line-height: 1.5; }
.admin-console__hint code, .admin-console__row code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  padding: 0.05rem 0.32rem; border-radius: 5px;
  background: rgba(255, 255, 255, 0.08); color: #ffd9cd; font-size: 0.72rem;
}
.admin-console__help { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.admin-console__row {
  display: grid; grid-template-columns: minmax(9rem, 13rem) 1fr; gap: 0.8rem;
  padding: 0.5rem 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem; color: #a697c4;
}
.admin-console__row code { justify-self: start; }

@media (max-width: 640px) {
  .admin-console { flex-wrap: wrap; }
  .admin-console input { flex-basis: 100%; }
  .admin-console__row { grid-template-columns: 1fr; gap: 0.2rem; }
  .admin-search input { width: 100%; }
  .admin-panel__head { align-items: center; }
}

/* =========================================================
   Site settings drawer + themes
   ========================================================= */

.icon-btn--gear { font-size: 1rem; }
.icon-btn--gear svg { display: block; }

.settings-row { padding: 0 0 1.05rem; border-bottom: 1px solid var(--line); margin-bottom: 1.05rem; }
.settings-row:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.settings-row__head h3 { margin: 0 0 0.15rem; font-size: 0.95rem; }
.settings-row__head .micro { line-height: 1.5; }

.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0.45rem; margin-top: 0.75rem; }
.segmented__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.55rem 0.6rem; border-radius: 12px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.05);
  color: var(--muted); font-size: 0.82rem; font-weight: 600;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.segmented__btn:hover { color: var(--text); border-color: rgba(255, 106, 77, 0.45); }
.segmented__btn.is-active {
  color: #fff; border-color: rgba(255, 106, 77, 0.6);
  background: linear-gradient(135deg, rgba(255, 106, 77, 0.28), rgba(140, 80, 255, 0.24));
  box-shadow: 0 12px 26px -18px rgba(255, 106, 77, 0.9);
}
.segmented__preview { width: 16px; height: 16px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.35); flex: none; }
.segmented__preview--dark { background: linear-gradient(135deg, #3a0408, #0a0305); }
.segmented__preview--light { background: linear-gradient(135deg, #fff6f1, #ffd9e6 55%, #e6e2ff); }

.swatches { display: flex; gap: 0.6rem; margin-top: 0.75rem; }
.swatch {
  width: 46px; height: 34px; border-radius: 11px;
  border: 2px solid transparent; padding: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.swatch:hover { transform: translateY(-2px); }
.swatch.is-active { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 106, 77, 0.28); }
.swatch--ember { background: linear-gradient(135deg, #ff6a4d, #a80814); }
.swatch--violet { background: linear-gradient(135deg, #c084fc, #7e22ce); }
.swatch--ocean { background: linear-gradient(135deg, #22d3ee, #0e7490); }
.settings .drawer__foot .btn { margin-bottom: 0.4rem; }

/* ---------- accent options ---------- */
html[data-accent="violet"] {
  --ember: #c084fc; --red-500: #a855f7; --red-600: #9333ea; --red-700: #7e22ce; --red-800: #581c87;
}
html[data-accent="ocean"] {
  --ember: #22d3ee; --red-500: #06b6d4; --red-600: #0891b2; --red-700: #0e7490; --red-800: #155e75;
}

/* ---------- calm motion ---------- */
html[data-motion="calm"] { scroll-behavior: auto; }
html[data-motion="calm"] *,
html[data-motion="calm"] *::before,
html[data-motion="calm"] *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}
html[data-motion="calm"] [data-reveal] { opacity: 1; transform: none; }

/* ---------- larger text ---------- */
html[data-size="large"] { font-size: 18px; }

/* ---------- soft light theme ---------- */
html[data-theme="light"] {
  color-scheme: light;
  --ink: #fffaf7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.95);
  --line: rgba(112, 42, 52, 0.14);
  --line-strong: rgba(112, 42, 52, 0.24);
  --text: #2b1013;
  --muted: #6d4c51;
  --muted-dim: #8b6b70;
  --good: #128a58;
  --shadow: 0 18px 45px -28px rgba(120, 45, 55, 0.35);
  --shadow-lift: 0 30px 65px -30px rgba(120, 45, 55, 0.42);
}
html[data-theme="light"] body {
  background:
    radial-gradient(1100px 680px at 82% -8%, rgba(255, 168, 150, 0.5), transparent 62%),
    radial-gradient(880px 600px at 4% 4%, rgba(255, 214, 226, 0.75), transparent 60%),
    radial-gradient(820px 620px at 90% 96%, rgba(206, 206, 255, 0.55), transparent 66%),
    linear-gradient(162deg, #fffaf6 0%, #fff0e9 26%, #ffe8ef 50%, #f3ecff 76%, #fbf7ff 100%);
  background-attachment: fixed;
}
html[data-theme="light"] .aura__glow { opacity: 0.35; }
html[data-theme="light"] .aura__glow--one { background: radial-gradient(circle, rgba(255, 122, 106, 0.42), transparent 68%); }
html[data-theme="light"] .aura__glow--two { background: radial-gradient(circle, rgba(150, 130, 255, 0.38), transparent 70%); }
html[data-theme="light"] .aura__grid {
  background-image:
    linear-gradient(rgba(120, 40, 45, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 40, 45, 0.05) 1px, transparent 1px);
}

html[data-theme="light"] .topbar.is-stuck { background: rgba(255, 250, 247, 0.84); border-bottom-color: var(--line); }
html[data-theme="light"] .nav__link:hover { color: var(--text); background: rgba(112, 42, 52, 0.06); }
html[data-theme="light"] .nav__link.is-active { color: #8d1220; background: rgba(200, 17, 31, 0.09); }
html[data-theme="light"] .cart-btn,
html[data-theme="light"] .account-chip,
html[data-theme="light"] .icon-btn,
html[data-theme="light"] .btn--ghost { background: rgba(255, 255, 255, 0.72); border-color: var(--line-strong); }
html[data-theme="light"] .cart-btn:hover,
html[data-theme="light"] .account-chip:hover,
html[data-theme="light"] .icon-btn:hover,
html[data-theme="light"] .btn--ghost:hover { background: #fff; }
html[data-theme="light"] .cart-btn__count.is-zero { background: rgba(112, 42, 52, 0.12); color: var(--muted); }

html[data-theme="light"] .card { background: rgba(255, 255, 255, 0.72); border-color: var(--line); }
html[data-theme="light"] .hero::after { background: radial-gradient(circle, rgba(255, 122, 106, 0.22), transparent 62%); }
html[data-theme="light"] .hero__title {
  background-image: linear-gradient(96deg, #c8111f 0%, #e42532 22%, #b3182a 46%, #8d1220 66%, #6b0d18 84%, #4a0910 100%);
  filter: drop-shadow(0 18px 40px rgba(200, 40, 50, 0.2));
}
html[data-theme="light"] .hero__stats dt { color: #8d1220; }
html[data-theme="light"] .eyebrow { color: #b3182a; }
html[data-theme="light"] .pill { color: #a3182a; background: rgba(200, 17, 31, 0.08); border-color: rgba(200, 17, 31, 0.26); }

html[data-theme="light"] .service { background: linear-gradient(170deg, #ffffff 0%, #fff7f4 100%); }
html[data-theme="light"] .service__badge { color: #8d1220; background: rgba(200, 17, 31, 0.1); border-color: rgba(200, 17, 31, 0.3); }
html[data-theme="light"] .service__icon,
html[data-theme="light"] .feature__icon,
html[data-theme="light"] .line-item__thumb { background: rgba(255, 255, 255, 0.8); border-color: var(--line); }
html[data-theme="light"] .service__price strong,
html[data-theme="light"] .line-item__price,
html[data-theme="light"] .totals__grand span:last-child,
html[data-theme="light"] .pay__amount strong { color: #8d1220; }
html[data-theme="light"] .service__add.is-in { color: #0f6b45; background: rgba(18, 138, 88, 0.12); border-color: rgba(18, 138, 88, 0.4); }
html[data-theme="light"] .step__num { color: #b3182a; }

html[data-theme="light"] .faq__item { background: rgba(255, 255, 255, 0.72); }
html[data-theme="light"] .faq__item[open] { background: #fff; border-color: rgba(200, 17, 31, 0.28); }
html[data-theme="light"] .faq__item summary::after { background: rgba(112, 42, 52, 0.08); color: #a3182a; }
html[data-theme="light"] .cta { background: radial-gradient(80% 140% at 90% 0%, rgba(255, 150, 130, 0.28), transparent 60%), rgba(255, 255, 255, 0.8); }
html[data-theme="light"] .footer__links a:hover { color: #8d1220; }
html[data-theme="light"] .to-top { background: rgba(255, 255, 255, 0.9); }

html[data-theme="light"] .scrim { background: rgba(60, 22, 28, 0.3); }
html[data-theme="light"] .drawer { background: linear-gradient(180deg, #fffaf8, #ffffff); border-left-color: var(--line-strong); box-shadow: -30px 0 70px -30px rgba(90, 40, 50, 0.35); }
html[data-theme="light"] .drawer__foot { background: rgba(255, 244, 240, 0.85); }
html[data-theme="light"] .qty { background: rgba(255, 255, 255, 0.7); }
html[data-theme="light"] .qty button:hover { background: rgba(112, 42, 52, 0.1); }
html[data-theme="light"] .line-item__remove:hover { color: #a3182a; }
html[data-theme="light"] .pay { background: linear-gradient(170deg, #fffaf8, #ffffff); }
html[data-theme="light"] .pay-method { background: rgba(255, 255, 255, 0.75); }
html[data-theme="light"] .pay-method:hover { background: rgba(255, 122, 106, 0.12); }
html[data-theme="light"] .pay-method__icon { background: rgba(112, 42, 52, 0.08); }
html[data-theme="light"] .pay__banner { color: #9a3520; background: rgba(255, 122, 106, 0.12); border-color: rgba(200, 17, 31, 0.24); }
html[data-theme="light"] .pay__coupon,
html[data-theme="light"] .receipt__note { color: #a3331f; }
html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .field textarea,
html[data-theme="light"] .coupon-box__form input { background: rgba(255, 255, 255, 0.88); }
html[data-theme="light"] .field input:focus,
html[data-theme="light"] .field select:focus,
html[data-theme="light"] .field textarea:focus,
html[data-theme="light"] .coupon-box__form input:focus { background: #fff; }
html[data-theme="light"] .field select option { background: #fff; color: var(--text); }
html[data-theme="light"] .form-error { color: #b3161f; }
html[data-theme="light"] .receipt { background: rgba(112, 42, 52, 0.05); }
html[data-theme="light"] .receipt__row span:last-child { color: #8d1220; }
html[data-theme="light"] .ticket-modal,
html[data-theme="light"] .account-pop,
html[data-theme="light"] .ticket-pop { background: linear-gradient(170deg, #fffaf8, #ffffff); border-color: rgba(200, 17, 31, 0.22); }
html[data-theme="light"] .ticket-pop__close:hover { color: #8d1220; }
html[data-theme="light"] .support__side { background: linear-gradient(175deg, #ffffff, #fff6f8); }
html[data-theme="light"] .support__placeholder { background: linear-gradient(170deg, #ffffff, #fff7fb); border-color: rgba(168, 85, 247, 0.24); }
html[data-theme="light"] .support__placeholder-icon { background: rgba(168, 85, 247, 0.12); border-color: rgba(168, 85, 247, 0.28); }
html[data-theme="light"] .ticket-row { background: rgba(255, 255, 255, 0.7); }
html[data-theme="light"] .ticket-row:hover { background: rgba(168, 85, 247, 0.12); }
html[data-theme="light"] .ticket-row.is-active { background: linear-gradient(100deg, rgba(168, 85, 247, 0.18), rgba(225, 29, 72, 0.12)); }

html[data-theme="light"] .coupon-card { background: linear-gradient(165deg, #ffffff, #fff6f8); border-color: rgba(112, 42, 52, 0.24); }
html[data-theme="light"] .coupon-card.is-premium { background: linear-gradient(165deg, #fdf4ff, #fff7e6); }
html[data-theme="light"] .coupon-card__tag { color: #9d2b52; background: rgba(244, 114, 182, 0.12); }
html[data-theme="light"] .coupon-card.is-premium .coupon-card__tag { color: #8a5a12; }
html[data-theme="light"] .coupon-card__value { color: #8d1220; }
html[data-theme="light"] .coupon-card__code { color: #a3331f; }
html[data-theme="light"] .coupon-active { background: rgba(168, 85, 247, 0.1); }
html[data-theme="light"] .coupon-active__code { color: #7a2f8f; }

html[data-theme="light"] .announce {
  background: linear-gradient(100deg, rgba(255, 150, 130, 0.28), rgba(180, 150, 255, 0.26));
  border-bottom-color: rgba(200, 17, 31, 0.22); color: #7d1a12;
}
html[data-theme="light"] .announce__close { color: rgba(125, 26, 18, 0.6); }
html[data-theme="light"] .announce__close:hover { color: #7d1a12; }

html[data-theme="light"] .auth {
  background:
    radial-gradient(900px 620px at 12% -6%, rgba(255, 190, 170, 0.6), transparent 62%),
    radial-gradient(880px 620px at 92% 104%, rgba(210, 200, 255, 0.7), transparent 62%),
    rgba(255, 248, 245, 0.96);
}
html[data-theme="light"] .auth__card {
  background: linear-gradient(168deg, #ffffff, #fff8f5);
  border-color: rgba(112, 42, 52, 0.16);
  box-shadow: 0 45px 90px -50px rgba(180, 90, 120, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
html[data-theme="light"] .auth__tabs { background: rgba(112, 42, 52, 0.06); }
html[data-theme="light"] .auth__form .field input { background: rgba(255, 255, 255, 0.9); }
html[data-theme="light"] .account-pop__badge { color: #4a2c05; }

html[data-theme="light"] .toast {
  background: rgba(255, 255, 255, 0.98); color: var(--text);
  border-color: rgba(200, 17, 31, 0.35); box-shadow: 0 16px 40px -20px rgba(90, 40, 50, 0.45);
}

html[data-theme="light"] .segmented__btn { background: rgba(255, 255, 255, 0.72); color: var(--muted); }
html[data-theme="light"] .segmented__btn.is-active {
  color: #8d1220; border-color: rgba(200, 17, 31, 0.4);
  background: linear-gradient(135deg, rgba(255, 150, 130, 0.3), rgba(200, 200, 255, 0.4));
  box-shadow: none;
}
html[data-theme="light"] .segmented__preview { border-color: rgba(112, 42, 52, 0.3); }
html[data-theme="light"] .swatch.is-active { border-color: #8d1220; box-shadow: 0 0 0 3px rgba(200, 17, 31, 0.18); }

/* ---------- light admin panel ---------- */
html[data-theme="light"] .admin {
  background:
    radial-gradient(900px 640px at 8% 4%, rgba(255, 182, 160, 0.55), transparent 62%),
    radial-gradient(820px 600px at 92% 8%, rgba(255, 196, 222, 0.5), transparent 62%),
    radial-gradient(760px 640px at 76% 96%, rgba(196, 232, 255, 0.55), transparent 66%),
    linear-gradient(152deg, #fffaf7 0%, #fff2ec 30%, #fdeef5 55%, #f6f0ff 80%, #fbf8ff 100%);
}
html[data-theme="light"] .admin__grid {
  background-image:
    linear-gradient(rgba(112, 42, 52, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 42, 52, 0.06) 1px, transparent 1px);
}
html[data-theme="light"] .admin__blob { opacity: 0.28; }
html[data-theme="light"] .admin__head,
html[data-theme="light"] .admin-gate,
html[data-theme="light"] .admin-stat,
html[data-theme="light"] .admin-panel { background: rgba(255, 255, 255, 0.74); border-color: rgba(112, 42, 52, 0.16); }
html[data-theme="light"] .admin-tab { background: rgba(255, 255, 255, 0.7); border-color: rgba(112, 42, 52, 0.18); color: var(--muted); }
html[data-theme="light"] .admin-tab:hover { color: var(--text); }
html[data-theme="light"] .admin-tab.is-active {
  color: #8d1220; border-color: rgba(200, 17, 31, 0.4);
  background: linear-gradient(135deg, rgba(255, 150, 130, 0.28), rgba(200, 200, 255, 0.36));
  box-shadow: none;
}
html[data-theme="light"] .admin-stat__label,
html[data-theme="light"] .admin-stat__sub,
html[data-theme="light"] .admin-table th,
html[data-theme="light"] .admin-subhead,
html[data-theme="light"] .admin-empty,
html[data-theme="light"] .admin-activity__time,
html[data-theme="light"] .admin-console__hint,
html[data-theme="light"] .admin-console__row { color: #7c5a63; }
html[data-theme="light"] .admin-table th { background: rgba(112, 42, 52, 0.05); }
html[data-theme="light"] .admin-table td,
html[data-theme="light"] .admin-attention li,
html[data-theme="light"] .admin-activity li { border-top-color: rgba(112, 42, 52, 0.09); }
html[data-theme="light"] .admin-table tbody tr:hover td { background: rgba(112, 42, 52, 0.04); }
html[data-theme="light"] .admin-panel__head,
html[data-theme="light"] .admin-console__help { border-bottom-color: rgba(112, 42, 52, 0.1); }
html[data-theme="light"] .admin-mini { background: rgba(255, 255, 255, 0.8); border-color: rgba(112, 42, 52, 0.2); }
html[data-theme="light"] .admin-mini:hover { color: #8d1220; background: rgba(255, 150, 130, 0.2); }
html[data-theme="light"] .admin-search input,
html[data-theme="light"] .admin-gate__form input,
html[data-theme="light"] .admin-broadcast textarea,
html[data-theme="light"] .admin-console input,
html[data-theme="light"] .admin-console__out { background: rgba(255, 255, 255, 0.92); border-color: rgba(112, 42, 52, 0.2); }
html[data-theme="light"] .admin-note { background: rgba(255, 214, 120, 0.22); border-color: rgba(190, 140, 30, 0.3); color: #7a5310; }
html[data-theme="light"] .admin-pill.is-premium,
html[data-theme="light"] .admin-pill.is-warn { color: #8a5a12; }
html[data-theme="light"] .admin-pill.is-bad { color: #6d4c51; }
html[data-theme="light"] .admin-console__line { color: #6d4c51; }
html[data-theme="light"] .admin-console__line.is-in { color: var(--text); }
html[data-theme="light"] .admin-console__line.is-good { color: var(--good); }
html[data-theme="light"] .admin-console__line.is-bad { color: #b3161f; }

/* ---------- theme changes fade instead of snapping ---------- */
body, .topbar, .card, .service, .faq__item, .cta, .drawer, .drawer__foot, .pay, .toast,
.to-top, .admin, .admin-panel, .admin-stat, .admin__head, .admin-gate, .support__side,
.coupon-card, .ticket-row, .pay-method, .account-pop, .ticket-modal, .ticket-pop, .announce,
.segmented__btn, .field input, .field select, .field textarea, .coupon-box__form input,
.admin-search input, .admin-console input, .admin-console__out, .admin-broadcast textarea {
  transition: background-color 0.35s ease, color 0.3s ease, border-color 0.35s ease;
}
.service, .coupon-card, .ticket-row, .pay-method, .faq__item, .segmented__btn {
  transition: background-color 0.35s ease, color 0.3s ease, border-color 0.35s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}
