:root {
  --ink: #141210;          /* near-black, dominant dark surface */
  --ink-2: #201c18;        /* slightly lifted dark */
  --ink-3: #2c2722;
  --gold: #c79a3f;         /* refined gold accent (less yellow → not "orange") */
  --gold-soft: #ddc07a;
  --gold-dim: #9c7a32;
  --paper: #ffffff;        /* content background — white (not cream) */
  --paper-2: #f5f3ef;      /* subtle section background */
  --line: #e7e3da;
  --line-dark: #34302a;
  --text: #1d1a16;
  --text-on-dark: #f3efe7;
  --muted: #8c857a;
  --muted-dark: #a59c8c;
  --danger: #d23b30;
  --ok: #3f8f4f;
  --shadow: 0 12px 34px rgba(15, 12, 8, 0.12);
  --shadow-dark: 0 14px 40px rgba(0, 0, 0, 0.5);
  --radius: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* safety against off-canvas drawer / any horizontal overflow; does not break sticky */
}
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.12; margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 0; font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: 0 8px 22px rgba(199,154,63,.32); }
.btn-primary:hover { background: var(--gold-soft); }
.btn-dark { background: var(--ink); color: var(--text-on-dark); }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.20); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--text-on-dark);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--gold); color: var(--ink); border-radius: 11px;
  font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 800;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: 'Playfair Display', serif; font-size: 20px; color: #fff; }
.brand-text small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.main-nav { display: flex; gap: 22px; }
.main-nav a { font-weight: 500; font-size: 15px; color: var(--text-on-dark); opacity: .85; }
.main-nav a:hover, .main-nav a.active { opacity: 1; color: var(--gold-soft); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 700; font-size: 15px; color: #fff; }
.call-btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.22); color: #fff; padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: background .15s ease; white-space: nowrap; }
.call-btn:hover { background: rgba(255,255,255,.18); }
.call-ico { flex: 0 0 auto; display: block; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--ink); padding: 9px 16px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
}
.cart-btn:hover { background: var(--gold-soft); }
.cart-ico { flex: 0 0 auto; display: block; }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 12px; display: inline-grid; place-items: center;
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 84vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,9,7,.94) 0%, rgba(15,12,9,.78) 42%, rgba(12,10,8,.45) 100%); }
.hero-content { position: relative; max-width: 660px; padding: 60px 0; }
.hero-kicker { text-transform: uppercase; letter-spacing: .22em; font-size: 13px; color: var(--gold-soft); margin: 0 0 14px; font-weight: 600; }
.hero h1 { font-size: clamp(46px, 8vw, 88px); font-weight: 800; letter-spacing: -.01em; }
.hero-tagline { font-size: clamp(18px, 2.4vw, 23px); margin: 16px 0 22px; color: rgba(255,255,255,.88); }
.hero-rating { display: flex; align-items: center; gap: 8px; font-size: 17px; margin-bottom: 30px; }
.hero-rating .stars { color: var(--gold-soft); font-size: 20px; }
.hero-rating strong { font-size: 19px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--ink); color: #fff; padding: 54px 0 48px; }
.page-head .eyebrow { color: var(--gold-soft); }
.page-head h1 { font-size: clamp(34px, 6vw, 56px); }
.page-head p { color: rgba(255,255,255,.72); margin: 12px 0 0; max-width: 640px; }
.breadcrumbs { font-size: 13px; color: var(--muted-dark); margin-bottom: 14px; }
.breadcrumbs a:hover { color: var(--gold-soft); }

/* ---------- Features / about ---------- */
.about { background: var(--ink-2); color: #fff; }
.about-grid { display: grid; grid-template-columns: minmax(220px,.8fr) 1.4fr; gap: 40px; padding: 46px 24px; align-items: center; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.features li { position: relative; padding-left: 30px; font-weight: 600; font-size: 16px; }
.features li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); }
.about-text { margin: 0; font-size: 17px; color: rgba(255,255,255,.82); }

/* ---------- Sections ---------- */
.section { padding: 78px 0; }
.section-alt { background: var(--paper-2); }
.section-head { text-align: center; margin-bottom: 38px; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 13px; font-weight: 600; color: var(--gold-dim); margin: 0 0 8px; }
.section-head h2 { font-size: clamp(30px, 5vw, 46px); color: var(--ink); }

/* ---------- Category nav ---------- */
.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; position: sticky; top: 72px; z-index: 20; padding: 12px 0; background: linear-gradient(var(--paper) 72%, transparent); }
.section-alt .cat-nav { background: linear-gradient(var(--paper-2) 72%, transparent); }
.cat-chip { border: 1.5px solid var(--line); background: var(--paper); color: var(--text); padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s ease; }
.cat-chip:hover { border-color: var(--gold); }
.cat-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.menu-cat { margin-bottom: 52px; }
.menu-cat-title { font-size: 27px; color: var(--ink); margin-bottom: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }

/* ---------- Dish / product cards ---------- */
.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; }
.dish-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.dish-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(15,12,8,.18); }
.dish-photo { aspect-ratio: 4/3; background: var(--paper-2); overflow: hidden; }
.dish-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dish-card:hover .dish-photo img { transform: scale(1.05); }
.dish-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.dish-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dish-top h4 { font-size: 18px; color: var(--ink); }
.dish-amount { font-size: 13px; color: var(--muted); white-space: nowrap; }
.dish-desc { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.dish-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dish-price { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--ink); }
.dish-price span { color: var(--gold-dim); }
.add-btn { background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background .15s ease, transform .15s ease; font-family: inherit; }
.add-btn:hover { background: var(--gold); color: var(--ink); transform: translateY(-1px); }
.add-btn.in-cart { background: var(--ok); color: #fff; }

/* qty stepper */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 30px; height: 32px; border: 0; background: var(--paper); cursor: pointer; font-size: 17px; color: var(--ink); }
.qty button:hover { background: var(--paper-2); }
.qty span { min-width: 30px; text-align: center; font-weight: 700; font-size: 14px; }

/* ---------- Info blocks ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.info-card h3 { font-size: 25px; color: var(--ink); margin-bottom: 12px; }
.info-card p { color: var(--muted); font-size: 16px; margin: 0 0 22px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.gallery-item { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Contacts ---------- */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.contact-list { margin: 0 0 28px; display: grid; gap: 16px; }
.contact-list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.contact-list dd { margin: 0; font-size: 17px; font-weight: 500; }
.contacts-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 30px; align-items: start; }
.cart-items { display: grid; gap: 14px; }
.cart-row { display: grid; grid-template-columns: 86px 1fr auto; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.cart-row img { width: 86px; height: 70px; object-fit: cover; border-radius: 10px; }
.cart-row .ci-name { font-weight: 600; color: var(--ink); }
.cart-row .ci-meta { font-size: 13px; color: var(--muted); }
.cart-row .ci-right { display: flex; align-items: center; gap: 16px; }
.cart-row .ci-sum { font-weight: 700; font-family: 'Playfair Display', serif; font-size: 18px; min-width: 84px; text-align: right; }
.ci-remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 20px; line-height: 1; padding: 4px; }
.ci-remove:hover { color: var(--danger); }
.cart-summary { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; position: sticky; top: 90px; }
.cart-summary h3 { color: #fff; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-dark); color: var(--muted-dark); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 22px; font-size: 22px; font-weight: 700; }
.summary-total .stotal { font-family: 'Playfair Display', serif; color: var(--gold-soft); }
.cart-empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.cart-empty .big { font-size: 26px; color: var(--ink); font-family: 'Playfair Display', serif; margin-bottom: 10px; }

/* ---------- Forms / checkout ---------- */
.form-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--text); background: var(--paper); transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 90px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.notice { background: #fbf6e8; border: 1px solid var(--gold-soft); border-radius: 10px; padding: 12px 16px; font-size: 14px; color: var(--ink); margin-bottom: 20px; }
.success-box { text-align: center; padding: 60px 24px; }
.success-box .check { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 32px; margin: 0 auto 18px; }
.success-box h2 { color: var(--ink); margin-bottom: 10px; }

/* ---------- Promo strip ---------- */
.promo { background: var(--gold); color: var(--ink); }
.promo-inner { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 24px; font-weight: 600; text-align: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #0d0b09; color: rgba(255,255,255,.72); padding: 50px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line-dark); }
.footer-grid h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.footer-grid a { display: block; color: rgba(255,255,255,.7); padding: 4px 0; font-size: 15px; }
.footer-grid a:hover { color: var(--gold-soft); }
.footer-brand .brand-text strong { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: 13px; color: rgba(255,255,255,.5); flex-wrap: wrap; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.32); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease, background .15s ease; z-index: 40; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold-soft); transform: translateY(-2px); }
@media (max-width: 540px) { .to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; } }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; box-shadow: var(--shadow-dark); z-index: 100; font-weight: 600; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .about-grid, .info-grid, .contacts-grid, .form-grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 76vh; }
}
@media (max-width: 540px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 8px; height: 62px; }
  .brand { gap: 9px; }
  .brand-mark { width: 34px; height: 34px; font-size: 19px; border-radius: 9px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 9px; letter-spacing: .12em; }
  .header-actions { gap: 7px; }
  .site-header .cart-label, .site-header .call-label { display: none; }
  .site-header .cart-btn, .site-header .call-btn { padding: 9px 11px; }
  .nav-toggle { width: 38px; height: 38px; }
  .dish-grid { grid-template-columns: 1fr; }
  .contact-list div { grid-template-columns: 1fr; gap: 2px; }
  .cart-row { grid-template-columns: 64px 1fr; }
  .cart-row img { width: 64px; }
  .cart-row .ci-right { grid-column: 1 / -1; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr; }
}
/* Very narrow: drop the call button if it no longer fits (rare) */
@media (max-width: 340px) {
  .site-header .call-btn { display: none; }
}
/* ---------- Hamburger + side drawer ---------- */
.nav-toggle { display: none; flex-direction: column; gap: 4px; width: 42px; height: 42px; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 10px; cursor: pointer; padding: 0; }
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; }
.nav-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); opacity: 0; visibility: hidden; transition: opacity .25s ease; z-index: 90; }
.nav-drawer-overlay.open { opacity: 1; visibility: visible; }
.nav-drawer { position: fixed; top: 0; right: 0; height: 100%; width: 300px; max-width: 84vw; background: var(--ink); color: #fff; transform: translateX(100%); transition: transform .28s ease; z-index: 91; padding: 20px; display: flex; flex-direction: column; box-shadow: var(--shadow-dark); overflow-y: auto; }
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); margin-bottom: 12px; }
.nav-drawer-head .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav-drawer-head .brand-text strong { font-family: 'Playfair Display', serif; color: #fff; font-size: 20px; }
.nav-drawer-head .brand-text small { color: var(--gold-soft); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.nav-drawer-close { background: none; border: 0; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; padding: 0 4px; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a { padding: 13px 6px; border-bottom: 1px solid var(--line-dark); color: rgba(255,255,255,.9); font-size: 16px; font-weight: 500; }
.drawer-nav a:hover, .drawer-nav a.active { color: var(--gold-soft); }
.drawer-cart { margin-top: 18px; justify-content: center; }
.drawer-phone { display: block; text-align: center; margin-top: 14px; color: #fff !important; }
@media (max-width: 980px) { .nav-toggle { display: flex; } }

/* ---------- Home: category tiles ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(216px, 1fr)); gap: 18px; }
.cat-tile { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; display: block; box-shadow: var(--shadow); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,7,5,.88) 0%, rgba(8,7,5,.2) 58%, rgba(8,7,5,.05) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 18px; }
.cat-tile-name { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: #fff; line-height: 1.15; }
.cat-tile-count { font-size: 13px; color: var(--gold-soft); margin-top: 4px; }

/* ---------- Menu: horizontal category bar ---------- */
.cat-bar { position: sticky; top: 72px; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.cat-bar-inner { position: relative; display: flex; align-items: center; max-width: var(--maxw); margin: 0 auto; padding: 10px 24px; }
.cat-bar-scroll { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; padding: 4px 40px; scrollbar-width: none; -ms-overflow-style: none; flex: 1; }
.cat-bar-scroll::-webkit-scrollbar { display: none; }
.cat-bar-scroll .cat-chip { flex: 0 0 auto; }
.cat-bar-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; font-size: 15px; color: var(--ink); box-shadow: 0 2px 12px rgba(0,0,0,.14); transition: background .15s ease, color .15s ease; }
.cat-bar-arrow.left { left: 20px; }
.cat-bar-arrow.right { right: 20px; }
.cat-bar-arrow:hover { background: var(--ink); color: #fff; }
.menu-cat { scroll-margin-top: 132px; }

/* ---------- Reviews ---------- */
.rating-hero { display: flex; align-items: center; gap: 24px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 30px 34px; margin-bottom: 34px; flex-wrap: wrap; }
.rating-big { font-family: 'Playfair Display', serif; font-size: 64px; font-weight: 800; color: var(--gold-soft); line-height: 1; }
.rating-meta .stars { color: var(--gold-soft); font-size: 22px; letter-spacing: 2px; }
.rating-meta p { margin: 6px 0 0; color: var(--muted-dark); }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.theme-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.theme-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.theme-top b { font-size: 17px; color: var(--ink); }
.theme-top span { font-weight: 700; color: var(--ok); }
.theme-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.theme-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); border-radius: 999px; }
.theme-card small { color: var(--muted); font-size: 13px; display: block; margin-top: 8px; }

[x-cloak] { display: none !important; }
