:root {
  --navy: #0b1f3a;
  --navy-dark: #071526;
  --navy-mid: #14315a;
  --accent: #c49a3c;
  --accent-dark: #a07b28;
  --ink: #1a2332;
  --muted: #5c6777;
  --line: #e6ebf2;
  --bg: #f3f5f8;
  --white: #fff;
  --ok: #1b7a4a;
  --danger: #c1121f;
  --field-h: 48px;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .08);
  --shadow-lg: 0 24px 50px rgba(11, 31, 58, .16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
h1, h2, h3, .brand, .stat b, .eyebrow {
  font-family: Fraunces, Georgia, serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-mid); text-decoration: none; }
a:hover { color: var(--accent-dark); }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.topbar {
  background: linear-gradient(90deg, #071526, #0f2748);
  color: #d5c28a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 9px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 12px; }
.site-header {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 0 rgba(196, 154, 60, .35);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: 22px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy-dark));
  color: #f3e6b8; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(196,154,60,.4);
}
.nav-toggle, [data-admin-toggle] { display: none; }
.nav-links { display: flex; align-items: center; gap: 16px; }
.nav-links a { font-weight: 600; font-size: 13px; color: var(--ink); white-space: nowrap; }
.nav-links a:hover { color: var(--navy); }
.nav-links a.btn,
.nav-links a.btn:visited,
.nav-links a.btn:hover {
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.nav-links form { margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: var(--field-h); padding: 0 20px; border: 0; border-radius: 10px;
  font-weight: 700; font-size: 14px; font-family: inherit; cursor: pointer; white-space: nowrap;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary, .btn-primary:visited, button.btn-primary {
  background: linear-gradient(180deg, #d4ae52, var(--accent-dark));
  color: #fff;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 8px 16px rgba(160, 123, 40, .28);
}
.btn-navy, .btn-navy:visited, a.btn-navy {
  background: linear-gradient(180deg, var(--navy-mid), var(--navy));
  color: #fff;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 8px 16px rgba(11, 31, 58, .22);
}
.btn-outline, .btn-outline:visited, .btn-outline:hover {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  box-shadow: none;
}
.btn-sm { height: 40px; padding: 0 16px; font-size: 13px; }
.btn-primary:hover, .btn-navy:hover,
a.btn-primary:hover, a.btn-navy:hover {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.hero { position: relative; color: #fff; padding: 72px 0 92px; overflow: hidden; text-align: center; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media:after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,21,38,.55), rgba(7,21,38,.88)),
    radial-gradient(circle at 20% 20%, rgba(196,154,60,.28), transparent 42%);
}
.hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 760px; margin: 0 auto 28px; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #f3e6b8;
}
.hero h1 { margin: 0 0 12px; font-size: 44px; line-height: 1.15; font-weight: 700; }
.hero .lede { margin: 0 auto; color: #d7e0ea; font-size: 17px; max-width: 560px; }

.search-card {
  background: #fff; color: var(--ink); border-radius: 16px; padding: 18px;
  text-align: left; max-width: 780px; margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6);
}
.search-tabs {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-bottom: 14px;
  position: relative; z-index: 2; background: #f4f1e8; padding: 5px; border-radius: 12px;
}
.search-tabs button {
  height: 42px; border: 0; background: transparent; color: var(--navy);
  font-weight: 700; font-size: 13px; border-radius: 8px; cursor: pointer; font-family: inherit;
}
.search-tabs button.active {
  background: var(--navy); color: #fff;
  box-shadow: 0 6px 14px rgba(11, 31, 58, .22);
}
.search-row { display: grid; grid-template-columns: 1fr 140px; gap: 10px; align-items: stretch; }
.search-row .btn { width: 100%; height: var(--field-h); }
.suggest { position: relative; min-width: 0; }
input:not([type]),
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="search"],
input[type="url"],
input[type="date"],
input[type="datetime-local"],
select {
  display: block;
  width: 100%;
  height: var(--field-h);
  min-height: var(--field-h);
  max-height: var(--field-h);
  border: 1px solid #d5dde8;
  border-radius: 10px;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  line-height: normal;
  background: #fff;
  color: var(--ink);
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%235c6777' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
textarea {
  display: block;
  width: 100%;
  min-height: 140px;
  height: auto;
  border: 1px solid #d5dde8;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  background: #fff;
  color: var(--ink);
  resize: vertical;
  box-sizing: border-box;
}
input[type="file"] {
  display: block;
  width: 100%;
  height: auto;
  min-height: var(--field-h);
  max-height: none;
  border: 1px solid #d5dde8;
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  background: #fff;
  box-sizing: border-box;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 154, 60, .18);
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  box-shadow: 0 0 0 1000px #fff inset;
  border: 1px solid #d5dde8;
  border-radius: 10px;
  height: var(--field-h);
  -webkit-text-fill-color: var(--ink);
}
input[type="checkbox"], input[type="radio"] {
  width: 16px;
  height: 16px;
  min-height: 16px;
  max-height: 16px;
  padding: 0;
  margin: 0;
  display: inline-block;
  appearance: auto;
  -webkit-appearance: auto;
  box-shadow: none;
}
.check-row {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin: 0;
}
.suggest-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  display: none; z-index: 8; box-shadow: var(--shadow);
}
.suggest-list a { display: block; padding: 10px 14px; color: var(--ink); }
.suggest-list a:hover { background: #f7f4ea; }
.search-card .muted { margin: 12px 0 0; font-size: 12px; text-align: center; }

.stats-bar { background: transparent; border: 0; margin-top: -42px; position: relative; z-index: 2; }
.stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.stat { padding: 22px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 28px; color: var(--navy); }
.stat span { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.section { padding: 56px 0; }
.page-body { padding: 24px 0 48px; }
.page-hero { position: relative; color: #fff; padding: 22px 0 24px; overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .bg:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,21,38,.88), rgba(7,21,38,.72));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 4px 0 6px; font-size: 26px; line-height: 1.25; }
.page-hero > .container > p { margin: 0; max-width: 720px; color: #d5deea; font-size: 14px; }
.page-hero .search-card { margin-top: 14px; max-width: none; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 13px; font-weight: 700; color: var(--ink);
  display: inline-flex; align-items: center;
}
.chip:hover, .chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.metric-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.metric span { display: block; font-size: 11px; color: var(--muted); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 4px; }
.metric b { font-size: 16px; color: var(--navy); font-family: Fraunces, Georgia, serif; word-break: break-word; }
.layout-main { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .85fr); gap: 18px; align-items: start; }
.stack { display: grid; gap: 14px; }
.list-card { padding: 0; overflow: hidden; }
.list-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid var(--line); color: inherit;
}
a.list-row:hover { background: #faf8f2; color: inherit; }
.list-row:last-child { border-bottom: 0; }
.list-row img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.list-row h3 { margin: 0 0 2px; font-size: 15px; }
.list-row .muted { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; color: var(--ink); min-height: 118px; display: flex; flex-direction: column; }
.tile:hover { border-color: var(--accent); color: var(--navy); }
.tile h3 { margin: 0 0 6px; font-size: 16px; }
.tile p { margin: 0; color: var(--muted); font-size: 13px; }
.prose { max-width: 760px; }
.prose.card, .article-card { padding: 28px 32px; line-height: 1.7; }
.empty-state { text-align: center; padding: 28px 18px; }
.side-card img { width: 100%; height: 140px; object-fit: cover; }
.price-lg { font-size: 28px; color: var(--navy); font-family: Fraunces, Georgia, serif; margin: 0 0 8px; }
.pack-list { margin: 0 0 16px; padding-left: 18px; }
.pack-list li { margin: 6px 0; }
.code-block { white-space: pre-wrap; background: #0a1f3d; color: #f3e6b8; padding: 14px 16px; border-radius: 12px; font-size: 13px; overflow: auto; }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .75fr); gap: 20px; align-items: start; }
.cart-panel, .cart-summary, .cart-empty {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
.cart-panel { overflow: hidden; }
.cart-panel-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; border-bottom: 1px solid var(--line); background: #faf8f2;
}
.cart-panel-head h2 { margin: 0; font-size: 20px; }
.cart-item {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto; gap: 14px; align-items: center;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: 0; }
.cart-mark {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy-dark));
  color: #f3e6b8; display: grid; place-items: center; font-weight: 800; font-size: 18px;
}
.cart-info h3 { margin: 0 0 4px; font-size: 16px; }
.cart-info p { margin: 0; color: var(--muted); font-size: 13px; }
.cart-price { font-family: Fraunces, Georgia, serif; font-size: 20px; color: var(--navy); white-space: nowrap; }
.cart-summary { padding: 20px; }
.cart-summary h2 { margin: 0 0 14px; font-size: 22px; }
.cart-summary h3 { margin: 8px 0 0; font-size: 16px; }
.cart-sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.cart-sum-row span { color: var(--muted); }
.cart-sum-total { border-bottom: 0; margin-bottom: 8px; padding-top: 12px; font-size: 16px; }
.cart-sum-total span, .cart-sum-total strong { color: var(--navy); font-size: 18px; }
.cart-note { margin: 0 0 16px; font-size: 13px; }
.cart-summary textarea { min-height: 96px; }
.cart-empty { text-align: center; padding: 48px 24px; max-width: 640px; margin: 0 auto; }
.cart-empty-mark {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 16px;
  background: #f7f4ea; color: var(--navy); display: grid; place-items: center;
  font-family: Fraunces, Georgia, serif; font-size: 28px; font-weight: 700;
}
.cart-empty h2 { margin: 0 0 8px; }
.cart-empty .btn { margin-top: 8px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 24px; }
.section h2, .section-head h2 {
  margin: 0; font-size: 28px; color: var(--navy-dark); font-weight: 650;
  position: relative;
}
.section-head a { font-weight: 700; font-size: 14px; color: var(--navy-mid); }
.grid-3, .grid-4 { display: grid; gap: 18px; align-items: stretch; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: 0 1px 0 rgba(11,31,58,.03);
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.media-card {
  padding: 0; overflow: hidden; display: flex; flex-direction: column; min-height: 330px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.media-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.media-card .thumb { height: 150px; flex: 0 0 150px; overflow: hidden; position: relative; background: #d9e3f2; }
.media-card .thumb img { width: 100%; height: 150px; object-fit: cover; transition: transform .45s ease; }
.media-card:hover .thumb img { transform: scale(1.06); }
.media-card .thumb .badge { position: absolute; top: 10px; left: 10px; }
.media-card .body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.media-card .body h3 {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.media-card .body p { margin: 0 0 8px; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.media-card .body .btn { margin-top: auto; width: 100%; }
.muted { color: var(--muted); }
.badge { display: inline-block; border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.badge-ok { background: #e6f6ee; color: var(--ok); }
.badge-warn { background: #fff6e4; color: var(--accent-dark); }
.badge-danger { background: #fde8ea; color: var(--danger); }
.table-wrap { overflow: auto; border-radius: 12px; }
table.data { width: 100%; border-collapse: collapse; background: #fff; }
table.data th, table.data td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; font-size: 14px; }
table.data th { background: #f7f4ea; color: var(--navy); font-weight: 700; }
.flash { padding: 12px 14px; border-radius: 10px; margin: 16px auto; width: min(1180px, calc(100% - 48px)); }
.flash-success { background: #e6f6ee; color: var(--ok); }
.flash-error { background: #fde8ea; color: var(--danger); }
.errors { color: var(--danger); font-size: 13px; margin: 4px 0 0; }

.form-grid { display: grid; gap: 16px; align-items: start; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid.two > * { min-width: 0; display: grid; align-content: start; }
.form-span-2 { grid-column: 1 / -1; }
form.card { padding: 28px; box-shadow: var(--shadow); }
form.card h1, form.card h3 { margin: 0; font-size: 28px; color: var(--navy-dark); }
label { font-weight: 700; font-size: 13px; display: block; margin-bottom: 6px; color: var(--ink); }

.site-footer {
  background: linear-gradient(180deg, #0b1f3a, #071526);
  color: #c9d4e0;
  padding: 56px 0 0;
  margin-top: 40px;
}
.site-footer a { color: #e8eef5; }
.site-footer a:hover { color: #f3e6b8; }
.site-footer strong { color: #f3e6b8; display: block; margin-bottom: 12px; font-family: Fraunces, Georgia, serif; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer-copy {
  border-top: 1px solid rgba(243, 230, 184, .18);
  margin-top: 36px; padding: 18px 0;
  font-size: 13px; color: #9aa8b8;
}
.breadcrumb { font-size: 13px; color: #d7e0f5; margin-bottom: 8px; }
.breadcrumb a { color: #f3e6b8; }
.profile-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.kv { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv > :first-child { color: var(--muted); font-weight: 600; }
.cover-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 18px; }
.cover-photo { border-radius: 12px; overflow: hidden; height: 180px; }
.cover-photo img { width: 100%; height: 180px; object-fit: cover; }
.avatar { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); color: #f3e6b8; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.person-row { display: flex; gap: 12px; align-items: center; }
.admin-shell { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.admin-side { background: var(--navy-dark); color: #d7e2ff; padding: 16px 10px; }
.admin-side a { display: block; color: #d7e2ff; padding: 9px 12px; border-radius: 8px; margin-bottom: 4px; }
.admin-side a.active, .admin-side a:hover { background: #16398f; color: #fff; }
.admin-main { padding: 22px; }
.pager { margin-top: 18px; }
.honeypot { position: absolute; left: -9999px; }
.auth-wrap { display: grid; grid-template-columns: 1.05fr .95fr; min-height: calc(100vh - 170px); }
.auth-visual { position: relative; }
.auth-visual:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,21,38,.25), rgba(7,21,38,.55));
}
.auth-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 480px; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 40px; background: #f7f5f0; }
.auth-form form { width: 100%; max-width: 420px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.result-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 110px; gap: 14px; align-items: center; margin-bottom: 12px; }
.result-row img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.result-row .btn { width: 100%; }

.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 4px 16px; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; color: var(--navy-dark); }
.faq-item p { margin: 0 0 16px; color: var(--muted); }
.browse-list { display: grid; gap: 10px; }
.browse-item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: var(--ink);
  transition: border-color .15s ease, transform .15s ease;
}
.browse-item:hover { border-color: var(--accent); color: var(--navy); transform: translateX(2px); }
.browse-item span { color: var(--muted); font-size: 13px; white-space: nowrap; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center;
    width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; margin: 3px 9px; background: var(--navy); }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    padding: 12px 16px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 10px;
  }
  .nav-links.open { display: flex; }
}
@media (max-width: 768px) {
  .container { width: calc(100% - 24px); }
  .topbar .container span:last-child { display: none; }
  [data-admin-toggle] { display: inline-flex; position: fixed; top: 12px; right: 12px; z-index: 60; height: 40px; }
  .hero { padding: 40px 0 72px; text-align: left; }
  .hero h1 { font-size: 30px; }
  .search-tabs, .search-row, .stats, .grid-3, .grid-4, .form-grid.two, .footer-grid,
  .cover-split, .contact-grid, .auth-wrap, .profile-head, .kv, .result-row, .admin-shell,
  .layout-main, .metric-row, .tile-grid, .list-row, .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-item { grid-template-columns: 48px minmax(0, 1fr); }
  .cart-price { grid-column: 2; }
  .cart-item form { grid-column: 1 / -1; }
  .cover-photo, .cover-photo img { height: 160px; }
  .page-hero h1 { font-size: 22px; }
  .search-row .btn { width: 100%; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-side { display: none; }
  .admin-side.open { display: block; }
  .media-card { min-height: 0; }
  .stats-bar { margin-top: -28px; }
}
