:root {
  color-scheme: light;
  --navy: #071631;
  --blue: #173a88;
  --blue-soft: #eef4ff;
  --gold: #f5cf42;
  --ink: #14213d;
  --muted: #5a6680;
  --line: #dfe6f1;
  --ok: #166534;
  --surface: #ffffff;
  --background: #f6f8fc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: inherit; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--navy); font-weight: 800; }
.skip:focus { top: 12px; }
.catalog-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(7, 22, 49, .1); background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); }
.catalog-nav { width: min(1180px, calc(100% - 28px)); min-height: 70px; margin: 0 auto; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--navy); text-decoration: none; font-weight: 950; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--navy); color: #fff; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { min-height: 42px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 800; }
.nav-links a:hover, .nav-links a:focus-visible { background: var(--blue-soft); outline: none; }
.nav-links .chat-link { background: var(--gold); color: #111827; }
.catalog-main { width: min(1180px, calc(100% - 28px)); margin: 0 auto; padding: 26px 0 56px; }
.breadcrumbs { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { text-decoration: none; }
.catalog-hero { overflow: hidden; padding: clamp(28px, 5vw, 54px); border-radius: 30px; background: radial-gradient(circle at 88% 12%, rgba(255,255,255,.18), transparent 28%), linear-gradient(135deg, var(--navy), var(--blue) 58%, #4d2a63); color: #fff; box-shadow: 0 22px 60px rgba(15, 37, 82, .17); }
.eyebrow { margin: 0 0 10px; color: #fff0a3; font-size: 12px; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
.catalog-hero h1 { max-width: 850px; margin: 0; color: #fff; font-size: clamp(38px, 6vw, 68px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.catalog-hero .lead { max-width: 820px; margin: 18px 0 0; color: #f3f6ff; font-size: clamp(17px, 2vw, 20px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 24px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 19px; border: 0; border-radius: 999px; text-decoration: none; font-weight: 900; cursor: pointer; }
.button.primary { background: var(--gold); color: #111827; }
.button.secondary { border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; }
.catalog-section { margin-top: 18px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 10px 30px rgba(19, 36, 84, .05); }
.catalog-section h2 { margin: 0 0 8px; color: var(--blue); font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -.035em; }
.catalog-section > p { color: var(--muted); line-height: 1.65; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.category-card { display: flex; min-height: 170px; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, #fff, #f7f9fd); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.category-card:hover, .category-card:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(19, 49, 115, .12); outline: none; }
.category-card b { color: var(--navy); font-size: 20px; }
.category-card span { margin-top: 8px; color: var(--muted); line-height: 1.5; }
.category-card em { margin-top: auto; padding-top: 16px; color: var(--blue); font-style: normal; font-weight: 900; }
.catalog-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; margin-top: 18px; }
.search-field { display: grid; gap: 7px; }
.search-field label { color: var(--navy); font-size: 14px; font-weight: 900; }
.search-field input { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #bdc8d9; border-radius: 15px; background: #fff; color: var(--ink); font: inherit; }
.search-field input:focus { border-color: var(--blue); outline: 3px solid rgba(23, 58, 136, .15); }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { min-height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 850; cursor: pointer; }
.filter-button[aria-pressed='true'] { border-color: var(--navy); background: var(--navy); color: #fff; }
.result-summary { margin: 18px 0 10px; color: var(--muted); font-weight: 800; }
.promotion-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.promotion-card { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.promotion-card h3 { margin: 8px 0; color: var(--navy); font-size: 20px; line-height: 1.25; }
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 950; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.price-box { padding: 13px; border-radius: 14px; background: #f7f9fd; }
.price-box span, .price-box strong { display: block; }
.price-box span { color: var(--muted); font-size: 12px; line-height: 1.35; }
.price-box strong { margin-top: 4px; color: var(--navy); font-size: 19px; }
.card-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.promotion-table { width: 100%; min-width: 940px; border-collapse: collapse; background: #fff; }
.promotion-table th, .promotion-table td { padding: 13px 12px; border-bottom: 1px solid #e7ebf2; text-align: left; vertical-align: top; }
.promotion-table th { position: sticky; top: 0; background: #f4f7fb; color: #43506a; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.promotion-table td.number, .promotion-table th.number { text-align: right; white-space: nowrap; }
.promotion-table tbody tr:last-child td { border-bottom: 0; }
.promotion-table tbody tr:hover { background: #fbfcff; }
.empty-state { padding: 30px; border: 1px dashed #aebbd0; border-radius: 18px; text-align: center; color: var(--muted); }
.notice { border-left: 5px solid var(--gold); background: #fffbeb; }
.notice strong { color: #7a4a00; }
.catalog-footer { padding: 30px 14px 44px; border-top: 1px solid var(--line); background: #fff; text-align: center; color: var(--muted); }
.catalog-footer a { color: var(--blue); font-weight: 850; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (max-width: 920px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .promotion-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .catalog-header { position: static; }
  .catalog-nav { min-height: auto; padding: 12px 0; flex-wrap: wrap; }
  .nav-links { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .nav-links a { flex: 0 0 auto; }
  .catalog-main { width: min(100% - 20px, 1180px); padding-top: 14px; }
  .catalog-hero { padding: 26px 20px; border-radius: 22px; }
  .catalog-hero h1 { font-size: clamp(34px, 11vw, 50px); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .category-grid { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr; }
  .catalog-section { padding: 20px 16px; border-radius: 20px; }
}
