/* ==========================================================================
   KBS — main.css
   Design tokens, base typography, layout, header, footer, storefront sections
   ========================================================================== */

:root {
  /* سرمه‌ای اصلی برند */
  --navy: #182b49;
  --ink-900: #0a1424;
  --ink-800: #0f1e33;
  --ink-700: #182b49;
  --ink-600: #22395c;
  --text: #0f1d33;
  --muted: #5c6b82;
  --muted-2: #8c9aae;
  --bg: #f6f8fc;
  --bg-soft: #fbfcfe;
  --surface: #ffffff;
  --surface-2: #eef3fa;

  /* طلایی متالیک */
  --gold: #c9a54a;
  --gold-deep: #9a7626;
  --gold-soft: #f7ebcb;
  --gold-light: #f4e2a8;
  --grad-gold: linear-gradient(135deg, #f8ecbe 0%, #e2c47a 28%, #bb9433 60%, #f0dca2 100%);
  --grad-gold-line: linear-gradient(90deg, transparent, rgba(214, 181, 104, 0.65), transparent);
  --grad-navy: linear-gradient(140deg, #0a1424 0%, #182b49 48%, #0e1c31 100%);
  --grad-navy-soft: linear-gradient(140deg, #1e3557 0%, #0f1e33 100%);

  --accent: #2e5a96;
  --accent-2: #4c7cbf;
  --accent-soft: #e9f0fb;

  --ok: #1c8f5f;
  --ok-soft: #e4f6ee;
  --warn: #b9791a;
  --warn-soft: #fdf0dc;
  --danger: #c8453f;
  --danger-soft: #fdecea;
  --info: #2f6fca;
  --info-soft: #e8f0fd;

  --line: #e1e7f1;
  --line-2: rgba(15, 29, 51, 0.08);
  --line-dark: rgba(214, 181, 104, 0.22);

  --radius-xs: 10px;
  --radius-sm: 13px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(16, 24, 32, 0.05);
  --shadow-sm: 0 2px 6px rgba(16, 24, 32, 0.05), 0 10px 24px -18px rgba(16, 24, 32, 0.35);
  --shadow: 0 10px 30px -18px rgba(16, 24, 32, 0.28), 0 2px 8px rgba(16, 24, 32, 0.04);
  --shadow-lg: 0 26px 60px -30px rgba(16, 24, 32, 0.35), 0 6px 18px -12px rgba(16, 24, 32, 0.18);

  --header-h: 72px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font: "Vazirmatn", "Vazir", "IRANSansX", "IRANSans", "Segoe UI", Tahoma, Arial, sans-serif;
}

/* --------------------------------------------------------------- reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 88% -6%, rgba(201, 165, 74, 0.1), transparent 62%),
    radial-gradient(760px 380px at 4% 0%, rgba(24, 43, 73, 0.07), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.85;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

::selection {
  background: rgba(201, 165, 74, 0.34);
  color: #0a1424;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--navy);
}

:focus-visible {
  outline: 2px solid rgba(201, 165, 74, 0.65);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.2px;
  color: var(--text);
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}

::selection {
  background: var(--gold-soft);
  color: var(--ink-900);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --------------------------------------------------------- scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #cfcbc2 transparent;
}

*::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

*::-webkit-scrollbar-thumb {
  background: #d3cfc6;
  border-radius: 20px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #bdb8ac;
}

/* ------------------------------------------------------------ layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.container-narrow {
  max-width: 860px;
}

.container-wide {
  max-width: 1440px;
}

.section {
  padding-block: 58px;
}

.section-sm {
  padding-block: 34px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.section-head .section-title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.6px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.section-head .section-title::before {
  content: "";
  width: 7px;
  height: 26px;
  border-radius: 5px;
  background: var(--grad-gold);
  box-shadow: 0 4px 14px -8px rgba(154, 118, 38, 0.8);
  flex: none;
}

.section-head .section-sub {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 6px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.section-link:hover {
  color: var(--accent-2);
}

.section-link svg {
  width: 16px;
  height: 16px;
}

.stack {
  display: grid;
  gap: 16px;
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.spacer {
  flex: 1;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12.5px;
}

.tiny {
  font-size: 11.5px;
}

.strong {
  font-weight: 700;
}

.nowrap {
  white-space: nowrap;
}

.text-center {
  text-align: center;
}

.gold {
  color: var(--gold-deep);
}

.mono-num {
  font-variant-numeric: tabular-nums;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-auto {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ------------------------------------------------------------ topbar */
.topbar {
  background: var(--grad-navy);
  color: #ccd8e8;
  box-shadow: inset 0 -1px 0 rgba(214, 181, 104, 0.16);
  font-size: 12px;
  letter-spacing: 0.1px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 38px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar a:hover {
  color: var(--gold-soft);
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-soft);
}

.topbar-badge svg {
  width: 14px;
  height: 14px;
}

.topbar .topbar-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9aa4b1;
}

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-stuck {
  box-shadow: 0 12px 30px -24px rgba(16, 24, 32, 0.5);
  background: rgba(255, 255, 255, 0.94);
}

.header-main {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #27405f 0%, #0e1b2e 58%, #16294a 100%);
  color: var(--gold-soft);
  box-shadow: inset 0 0 0 1px rgba(214, 181, 104, 0.45), 0 12px 26px -16px rgba(10, 20, 36, 0.95);
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -40% -60% auto auto;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(222, 190, 112, 0.55), transparent 70%);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--ink-900);
}

.brand-tag {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.4px;
}

.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.header-search .search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 5px 6px 5px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.header-search .search-field:focus-within {
  background: #fff;
  border-color: rgba(46, 90, 150, 0.4);
  box-shadow: 0 0 0 4px rgba(46, 90, 150, 0.08);
}

.header-search .search-field > svg {
  width: 18px;
  height: 18px;
  color: var(--muted-2);
  flex: none;
}

.header-search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  min-width: 0;
  padding: 7px 0;
}

.header-search input::placeholder {
  color: var(--muted-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
  flex: none;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: inline-grid;
  place-items: center;
  color: var(--ink-700);
  background: transparent;
  border: 1px solid transparent;
  position: relative;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.icon-btn:hover {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--ink-900);
}

.icon-btn:active {
  transform: scale(0.96);
}

.cart-count {
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  line-height: 1;
}

.cart-count.is-empty {
  display: none;
}

.account-wrap {
  position: relative;
}

.account-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  max-width: 190px;
}

.account-btn:hover {
  border-color: rgba(46, 90, 150, 0.35);
  box-shadow: var(--shadow-xs);
}

.account-btn .avatar {
  width: 30px;
  height: 30px;
}

.account-btn .account-label {
  font-size: 12.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  width: 236px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}

.account-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.account-menu-head {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 6px;
}

.account-menu-head strong {
  display: block;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-head span {
  font-size: 11px;
  color: var(--muted);
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 11px;
  font-size: 13px;
  color: var(--ink-700);
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}

.menu-item svg {
  width: 17px;
  height: 17px;
  color: var(--muted);
  flex: none;
}

.menu-item:hover {
  background: var(--surface-2);
  color: var(--ink-900);
}

.menu-item:hover svg {
  color: var(--accent);
}

.menu-sep {
  height: 1px;
  background: var(--line-2);
  margin: 6px 4px;
}

/* ---------------------------------------------------------- main nav */
.header-nav {
  border-top: 1px solid var(--line-2);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 48px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-600);
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-link svg {
  width: 15px;
  height: 15px;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink-900);
  background: var(--surface-2);
}

.nav-link:hover {
  color: var(--navy);
  background: linear-gradient(180deg, rgba(24, 43, 73, 0.06), rgba(24, 43, 73, 0.02));
}

.nav-link.is-active {
  color: var(--navy);
  background: linear-gradient(180deg, rgba(201, 165, 74, 0.16), rgba(201, 165, 74, 0.06));
  box-shadow: inset 0 -2px 0 var(--gold);
}

/* -------------------------------------------------------- mega menu */
.mega-wrap {
  position: relative;
}

.mega-panel {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  width: min(760px, 86vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.mega-wrap.is-open .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 6px;
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--ink-600);
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}

.mega-item:hover {
  background: var(--surface-2);
  color: var(--ink-900);
}

.mega-item .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.mega-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ------------------------------------------------------ mobile nav */
.mobile-toggle {
  display: none;
  flex: none;
  order: -1;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 18, 0.5);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
  backdrop-filter: blur(3px);
}

.drawer-panel {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(340px, 88vw);
  background: var(--bg-soft);
  box-shadow: var(--shadow-lg);
  transform: translateX(-100%);
  transition: transform 0.32s var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

[dir="rtl"] .drawer-panel {
  transform: translateX(100%);
}

.drawer.is-open {
  pointer-events: auto;
}

.drawer.is-open .drawer-backdrop {
  opacity: 1;
}

.drawer.is-open .drawer-panel,
[dir="rtl"] .drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}

.drawer-body {
  padding: 16px 14px 30px;
  display: grid;
  gap: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer-panel {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 13px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line-2);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-700);
}

.drawer-link svg {
  width: 17px;
  height: 17px;
  color: var(--muted-2);
}

.drawer-link:hover {
  border-color: rgba(46, 90, 150, 0.3);
  color: var(--accent);
}

.drawer-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: 0.4px;
  margin: 16px 8px 6px;
}

/* ------------------------------------------------------------- hero */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(214, 181, 104, 0.22), transparent 58%),
    radial-gradient(860px 470px at 6% 112%, rgba(46, 90, 150, 0.4), transparent 62%),
    var(--grad-navy);
  box-shadow: inset 0 -1px 0 rgba(214, 181, 104, 0.25);
  color: #fff;
  overflow: hidden;
  padding-block: 54px 60px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  color: var(--gold-soft);
  backdrop-filter: blur(8px);
}

.hero-eyebrow svg {
  width: 15px;
  height: 15px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(28px, 4.2vw, 50px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-top: 18px;
}

.hero h1 .grad {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero p.lead {
  margin-top: 16px;
  color: #b9c3cf;
  font-size: 14.5px;
  max-width: 46ch;
  line-height: 2;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 26px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-size: 20px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.hero-stat span {
  font-size: 11.5px;
  color: #93a0ae;
}

.hero-visual {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
}

.hero-glass {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.2;
  border-radius: 30px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 14px;
}

.hero-glass img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.hero-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink-800);
  border-radius: 16px;
  padding: 11px 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  animation: floaty 6s ease-in-out infinite;
}

.hero-float strong {
  display: block;
  font-size: 13px;
}

.hero-float span {
  font-size: 10.5px;
  color: var(--muted);
}

.hero-float .ico {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}

.hero-float .ico svg {
  width: 18px;
  height: 18px;
}

.hero-float.f1 {
  inset-block-start: 8%;
  inset-inline-start: -14px;
}

.hero-float.f2 {
  inset-block-end: 10%;
  inset-inline-end: -10px;
  animation-delay: 1.4s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ----------------------------------------------------- trust strip */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-block: 18px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 6px;
}

.trust-item .ico {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}

.trust-item .ico svg {
  width: 20px;
  height: 20px;
}

.trust-item strong {
  display: block;
  font-size: 12.5px;
}

.trust-item span {
  font-size: 11px;
  color: var(--muted);
}

/* ------------------------------------------------------- category */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  display: grid;
  gap: 10px;
  justify-items: center;
  position: relative;
  overflow: hidden;
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 165, 74, 0.35);
}

.cat-card:hover::after {
  transform: scaleX(1);
}

.cat-thumb {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--accent);
}

.cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-thumb svg {
  width: 26px;
  height: 26px;
}

.cat-card strong {
  font-size: 13px;
  line-height: 1.6;
}

.cat-card span {
  font-size: 11px;
  color: var(--muted-2);
}

/* --------------------------------------------------- brand strip */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.brand-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 18px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.brand-card img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.2);
  opacity: 0.9;
  transition: filter 0.25s var(--ease), opacity 0.25s var(--ease);
}

.brand-card:hover img {
  filter: none;
  opacity: 1;
}

.brand-card .brand-fallback {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-600);
  letter-spacing: 0.6px;
}

/* ------------------------------------------------------- footer */
.site-footer {
  margin-top: 64px;
  background: linear-gradient(180deg, #0e1c31, #0a1424 58%, #081120);
  color: #a8b6c9;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 181, 104, 0.7), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 34px;
  padding-block: 52px 38px;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand p {
  font-size: 12.5px;
  line-height: 2.1;
  color: #8c97a4;
  margin-top: 14px;
  max-width: 34ch;
}

.footer-brand .brand-mark {
  background: linear-gradient(150deg, #27405f 0%, #0e1b2e 60%, #16294a 100%);
  box-shadow: inset 0 0 0 1px rgba(214, 181, 104, 0.45);
}

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col a {
  font-size: 12.5px;
  color: #8f9aa7;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.footer-col a svg {
  width: 14px;
  height: 14px;
}

.footer-contact {
  display: grid;
  gap: 11px;
  font-size: 12.5px;
  color: #8f9aa7;
}

.footer-contact .fc-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: #79838f;
}

.footer-bottom .fb-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom a:hover {
  color: var(--gold-soft);
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-payments .pay-chip {
  height: 26px;
  padding: 0 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #b8c1cb;
  letter-spacing: 0.3px;
}

/* ---------------------------------------------------- page header */
.page-head {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-block: 26px 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb svg {
  width: 13px;
  height: 13px;
  color: var(--muted-2);
}

.breadcrumb .current {
  color: var(--ink-700);
  font-weight: 600;
}

.page-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.7px;
}

.page-desc {
  color: var(--muted);
  font-size: 13px;
  margin-top: 7px;
  max-width: 70ch;
}

/* ------------------------------------------------------ reveal fx */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------- skeleton */
.sk {
  background: linear-gradient(90deg, #ece9e2 25%, #f5f3ee 37%, #ece9e2 63%);
  background-size: 400% 100%;
  animation: shimmer 1.3s ease infinite;
  border-radius: 10px;
}

@keyframes shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.anim-in {
  animation: fadeUp 0.4s var(--ease-out) both;
}

/* --------------------------------------------------------- print */
@media print {
  .site-header,
  .site-footer,
  .topbar,
  .drawer,
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
  }
}
