/* ============ Shaarfly — ommaviy sayt ============ */
:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --surface-2: #F4EEE7;
  --ink: #241B1E;
  --ink-2: #4A3F44;
  --muted: #8A7E83;
  --line: #EDE5DD;
  --line-2: #DED3C8;
  --accent: #8B2F4F;
  --accent-deep: #6E2340;
  --accent-soft: #F6E6EC;
  --gold: #B8863B;
  --gold-soft: #F7EEDD;
  --ok: #2E7D5B;
  --ok-soft: #E4F3EC;
  --bad: #B4433F;
  --bad-soft: #F8E5E3;
  --tg: #2AABEE;
  --tg-deep: #1E96D6;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(36, 27, 30, .05), 0 10px 30px -14px rgba(36, 27, 30, .22);
  --shadow-lg: 0 2px 4px rgba(36, 27, 30, .06), 0 24px 48px -20px rgba(36, 27, 30, .3);
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sab: env(safe-area-inset-bottom, 0px);
  --sat: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.no-scroll { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-touch-callout: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
input { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--muted); }
.ic { width: 1.15em; height: 1.15em; flex: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 768px) { .container { padding-left: 24px; padding-right: 24px; } }

/* ---------- Tugmalar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; line-height: 1.2;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s;
  white-space: nowrap; user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-lg { padding: 16px 22px; font-size: 16px; width: 100%; }
.btn-tg { background: var(--tg); color: #fff; box-shadow: 0 8px 20px -10px rgba(42, 171, 238, .7); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink-2); }
.iconbtn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
  transition: background .15s, color .15s, transform .15s; touch-action: manipulation;
}
.iconbtn:active { transform: scale(.94); }
.iconbtn .ic { width: 18px; height: 18px; }

/* ---------- Yuqori panel ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 248, 243, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding-top: var(--sat);
}
.topbar-in { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { height: 36px; width: auto; max-width: 160px; object-fit: contain; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.brand-mark .ic { width: 22px; height: 22px; }
.brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topnav { display: flex; align-items: center; gap: 8px; flex: none; }
@media (max-width: 440px) { .topnav .btn-tg span { display: none; } .topnav .btn-tg { width: 40px; height: 40px; padding: 0; } }

/* ---------- Hero / qidiruv ---------- */
.hero { padding: 28px 0 14px; text-align: center; }
.hero-title { font-family: var(--font-display); font-size: clamp(30px, 6vw, 46px); font-weight: 600; letter-spacing: -.3px; line-height: 1.1; }
.hero-sub { color: var(--muted); margin-top: 6px; font-size: 15px; }
.search {
  position: relative; display: flex; align-items: center; gap: 10px;
  max-width: 560px; margin: 18px auto 0; padding: 0 10px 0 16px; height: 50px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: var(--shadow);
  transition: border-color .15s, box-shadow .15s;
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search > .ic { color: var(--muted); width: 20px; height: 20px; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; -webkit-appearance: none; appearance: none; border-radius: 0; }
.search input::-webkit-search-cancel-button, .search input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.search-clear { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--surface-2); flex: none; }
.search-clear .ic { width: 14px; height: 14px; color: var(--ink-2); }

/* ---------- Kategoriya chiplari ---------- */
.chips-wrap { position: relative; margin: 0 -16px; }
.chips-wrap::before, .chips-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40px; pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 1;
}
.chips-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), rgba(251, 248, 243, 0)); }
.chips-wrap::after { right: 0; background: linear-gradient(270deg, var(--bg), rgba(251, 248, 243, 0)); }
.chips-wrap.fade-l::before { opacity: 1; }
.chips-wrap.fade-r::after { opacity: 1; }
.chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 16px 16px 6px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scroll-padding: 16px;
  overscroll-behavior-x: contain;
}
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .chips-wrap { margin: 0; }
  .chips-wrap::before, .chips-wrap::after { display: none; }
  .chips { padding-left: 0; padding-right: 0; flex-wrap: wrap; justify-content: center; }
}
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 600; font-size: 14px;
  transition: background .15s, color .15s, border-color .15s, transform .15s; scroll-snap-align: start;
}
.chip:active { transform: scale(.96); }
.chip span { font-size: 12px; color: var(--muted); font-weight: 700; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.active span { color: rgba(255, 255, 255, .7); }

/* ---------- Toolbar / switch ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0 14px; }
.count { color: var(--muted); font-size: 13px; font-weight: 600; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; -webkit-user-select: none; min-height: 32px; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-track { width: 42px; height: 24px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .2s; flex: none; }
.switch-knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.switch input:checked + .switch-track { background: var(--ok); }
.switch input:checked + .switch-track .switch-knob { transform: translateX(18px); }
.switch input:focus-visible + .switch-track { box-shadow: 0 0 0 4px var(--accent-soft); }
.switch-label { font-weight: 600; font-size: 14px; color: var(--ink-2); }

/* ---------- Grid / kartochka ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 32px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; position: relative;
  -webkit-touch-callout: none;
}
.card:active { transform: scale(.985); }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--surface-2); overflow: hidden; }
.card-media img, .card-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card.is-out .card-media img, .card.is-out .card-media video { filter: grayscale(.7); opacity: .75; }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--line-2); }
.noimg .ic { width: 38%; height: 38%; }
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; line-height: 1.2; }
.badge-sale { background: var(--accent); color: #fff; }
.badge-new { background: var(--gold); color: #fff; }
.badge-top { background: var(--ink); color: #fff; }
.badge-out { background: rgba(36, 27, 30, .78); color: #fff; backdrop-filter: blur(4px); }
.media-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(36, 27, 30, .6); color: #fff; backdrop-filter: blur(4px); }
.media-count .ic { width: 13px; height: 13px; }
.play { position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); pointer-events: none; }
.play .ic { width: 24px; height: 24px; margin-left: 3px; }
.play.small { width: 22px; height: 22px; } .play.small .ic { width: 12px; height: 12px; margin-left: 1px; }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 700; }
.card-name { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { display: flex; align-items: baseline; gap: 6px 8px; flex-wrap: wrap; margin-top: 4px; }
.card-price strong { font-size: 15px; font-weight: 800; color: var(--accent); }
.card-price s { color: var(--muted); font-size: 12px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; margin-top: auto; padding-top: 4px; }
.stock i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock.ok { color: var(--ok); } .stock.no { color: var(--muted); }

.empty { text-align: center; padding: 48px 16px 64px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty.tall { padding: 80px 16px 100px; }
.empty-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--line-2); margin-bottom: 4px; }
.empty-ic .ic { width: 34px; height: 34px; }
.empty-title { color: var(--ink); font-family: var(--font-display); font-size: 28px; }
.empty .btn { margin-top: 8px; }

/* ---------- Mahsulot sahifasi ---------- */
.product-page { padding-bottom: calc(96px + var(--sab)); }
@media (min-width: 900px) { .product-page { padding-bottom: 40px; } }
.crumbs { display: flex; align-items: center; gap: 8px; padding: 14px 0 10px; font-size: 13px; color: var(--muted); font-weight: 600; min-width: 0; }
.crumbs a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 32px; }
.product-layout { display: grid; gap: 22px; }
@media (min-width: 900px) { .product-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; } }

.gallery { position: relative; }
.gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; border-radius: var(--radius);
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; background: var(--surface-2); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line); }
@media (min-width: 900px) { .slide { aspect-ratio: 1 / 1; } }
.slide img, .slide video { width: 100%; height: 100%; object-fit: contain; }
.slide img { cursor: zoom-in; }
.slide.noimg { color: var(--line-2); }
.gallery.is-out .slide img { filter: grayscale(.6); }
.gallery-counter { position: absolute; top: 12px; right: 12px; background: rgba(36, 27, 30, .62); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); pointer-events: none; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px 4px; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { position: relative; flex: none; width: 62px; height: 62px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--surface-2); opacity: .7; transition: opacity .15s, border-color .15s; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--accent); opacity: 1; }

.info { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 900px) { .info { position: sticky; top: 80px; } }
.info-cat { font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); font-weight: 700; }
.info-title { font-family: var(--font-display); font-size: clamp(26px, 4vw, 36px); line-height: 1.15; font-weight: 600; margin-top: -6px; overflow-wrap: anywhere; }
.info-price { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.info-price strong { font-size: 28px; font-weight: 800; color: var(--accent); letter-spacing: -.3px; }
.info-price s { color: var(--muted); font-size: 16px; }
.stock-pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.stock-pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-pill.ok { background: var(--ok-soft); color: var(--ok); }
.stock-pill.no { background: var(--surface-2); color: var(--muted); }
.desc { white-space: pre-line; color: var(--ink-2); font-size: 15px; line-height: 1.65; padding-top: 4px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.actions { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.actions .btn-ghost { align-self: flex-start; }
.hint { font-size: 13px; color: var(--muted); }
.hint.warn { color: var(--bad); background: var(--bad-soft); padding: 10px 12px; border-radius: var(--radius-sm); }

.section-title { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin: 36px 0 14px; }
.grid-related { padding-bottom: 8px; }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + var(--sab));
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(36, 27, 30, .3);
}
.sticky-price { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.sticky-price strong { font-size: 17px; color: var(--accent); font-weight: 800; white-space: nowrap; }
.sticky-price small { font-size: 12px; font-weight: 700; }
.sticky-price small.ok { color: var(--ok); } .sticky-price small.no { color: var(--muted); }
.sticky-cta .btn { flex: 1; max-width: 260px; min-height: 48px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Lightbox (rasmni to'liq ekranda ko'rish) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(14, 9, 11, .97); display: flex; flex-direction: column; }
.lb-track { flex: 1; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; padding: calc(56px + var(--sat)) 0 calc(24px + var(--sab)); }
.lb-slide img, .lb-slide video { width: 100%; height: 100%; max-height: 100%; object-fit: contain; touch-action: pinch-zoom; }
.lb-close { position: absolute; top: calc(10px + var(--sat)); right: 12px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; z-index: 2; }
.lb-close .ic { width: 20px; height: 20px; }
.lb-counter { position: absolute; top: calc(22px + var(--sat)); left: 16px; color: #fff; font-weight: 700; font-size: 14px; z-index: 2; opacity: .9; }
.lb-hint { position: absolute; bottom: calc(10px + var(--sab)); left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .55); font-size: 12px; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 24px; }
.footer-in { display: grid; gap: 24px; padding: 32px 16px; }
@media (min-width: 768px) { .footer-in { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 40px; padding-bottom: 40px; } }
.footer-brand { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.footer-about p { color: var(--ink-2); max-width: 46ch; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); margin-bottom: 12px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 600; min-height: 28px; }
.contact-list .ic { color: var(--accent); width: 18px; height: 18px; }
.footer-col .btn { margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px calc(14px + var(--sab)); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--sab)); transform: translate(-50%, 20px); z-index: 60;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Faqat sichqoncha bor qurilmalarda hover ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn-tg:hover { background: var(--tg-deep); }
  .btn-primary:hover { background: var(--accent-deep); }
  .btn-ghost:hover { border-color: var(--ink-2); }
  .iconbtn:hover { background: var(--accent-soft); color: var(--accent); }
  .chip:hover { border-color: var(--accent); color: var(--accent); }
  .chip.active:hover { border-color: var(--ink); color: #fff; }
  .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
  .card:hover .card-media img { transform: scale(1.04); }
  .thumb:hover { opacity: 1; }
  .crumbs a:hover, .contact-list a:hover, .footer-bottom a:hover { color: var(--accent); }
  .lb-close:hover { background: rgba(255, 255, 255, .28); }
}

/* ---------- Telefon uchun ixcham o'lchamlar ---------- */
@media (max-width: 640px) {
  .topbar-in { height: 56px; }
  .brand-name { font-size: 20px; }
  .brand-mark { width: 32px; height: 32px; }
  .hero { padding: 14px 0 4px; }
  .hero-title { display: none; } /* nom allaqachon yuqori panelda bor */
  .hero-sub { font-size: 16px; font-weight: 600; color: var(--ink-2); margin-top: 0; }
  .search { height: 46px; margin-top: 12px; }
  .chips { padding-top: 12px; }
  .toolbar { padding: 6px 0 12px; }
  .grid { gap: 10px; padding-bottom: 24px; }
  .card { border-radius: 14px; }
  .card-body { padding: 8px 10px 10px; gap: 2px; }
  .card-cat { font-size: 10px; letter-spacing: .5px; }
  .card-name { font-size: 13px; }
  .card-price { margin-top: 3px; }
  .card-price strong { font-size: 14px; }
  .card-price s { font-size: 11px; }
  .stock { font-size: 11px; }
  .badges { top: 8px; left: 8px; gap: 5px; }
  .badge { font-size: 10px; padding: 3px 7px; }
  .media-count { right: 8px; bottom: 8px; }
  .play { width: 40px; height: 40px; }
  .play .ic { width: 20px; height: 20px; }
  .crumbs { padding: 10px 0 8px; }
  .product-layout { gap: 16px; }
  .info { gap: 12px; }
  .info-title { font-size: 24px; margin-top: -4px; }
  .info-price strong { font-size: 24px; }
  .info-price s { font-size: 14px; }
  .desc { font-size: 14.5px; }
  .section-title { font-size: 20px; margin: 26px 0 12px; }
  .thumb { width: 56px; height: 56px; }
  .footer-in { padding: 26px 16px; gap: 20px; }
  .footer-brand { font-size: 21px; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 18px; }
  .topnav { gap: 6px; }
  .iconbtn { width: 36px; height: 36px; }
  .topnav .btn-tg { width: 36px; height: 36px; }
  .hero-title { font-size: 26px; }
  .card-body { padding: 8px 8px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
