/* =========================================================
   PrintBull — Home Page
   Premium e-commerce design (Printful + Apple uslubi)
   ========================================================= */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* ---------- DESIGN TOKENS (PrintBull dizayn tizimi — printbull_design_system.md) ---------- */
:root {
  /* ===== Brand (qizil) ===== */
  --brand:        #E5142B;  /* asosiy — logo, CTA */
  --brand-hover:  #C70F23;  /* hover */
  --brand-active: #A30C1C;  /* active */
  --brand-soft:   #FFF1F1;  /* badge, ikonka orqasi, fon urg'usi */
  --on-brand:     #FFFFFF;  /* qizil ustidagi matn */

  /* ===== Surfaces — yorug' (asosiy tema) ===== */
  --bg:         #FBF8F5;    /* sahifa foni */
  --surface:    #FFFFFF;    /* karta, panel */
  --surface-2:  #F4EFEA;    /* yumshoq ichki panel */
  --border:     #E7E0D9;    /* chegaralar */

  /* ===== Matn ===== */
  --text:       #1A1714;    /* sarlavha, asosiy matn */
  --text-muted: #837A71;    /* ikkilamchi, tavsif */

  /* ===== Surfaces — to'q (bannerlar) ===== */
  --d-bg:       #120F0D;
  --d-surface:  #1A1714;
  --d-text:     #F7F4F1;
  --d-muted:    #A9A097;
  --d-border:   rgba(255,255,255,.08);

  /* ===== Funksional (faqat holatlar) ===== */
  --success: #16A34A;  --success-soft: #DCFCE7;
  --warning: #F59E0B;  --warning-soft: #FEF3C7;
  --error:   #DC2626;  --error-soft:   #FEE2E2;
  --info:    #2563EB;  --info-soft:    #DBEAFE;

  /* ===== Eski tokenlar → yangi tizimga ulangan (backward-compat) ===== */
  --pb-red:      var(--brand);
  --pb-red-dark: var(--brand-hover);
  --pb-red-soft: var(--brand-soft);
  --ink:    var(--text);
  --ink-2:  var(--text-muted);
  --gray:   var(--text-muted);
  --gray-2: var(--border);
  --gray-3: var(--surface-2);
  --white:  var(--surface);

  /* ===== Soya / radius / o'lcham ===== */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --container: 1440px;
  --nav-h: 72px;
}

/* ---------- CONTAINER ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px; font-weight: 600;
  border-radius: 999px;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  user-select: none;
}
.btn:active { transform: scale(.97); }
.btn--primary {
  background: var(--pb-red); color: var(--white);
}
.btn--primary:hover { background: var(--pb-red-dark); box-shadow: 0 8px 20px rgba(211,32,39,.28); }
.btn--secondary {
  background: var(--white); color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--secondary:hover { background: var(--ink); color: var(--white); }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* ---------- NAVBAR ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-scrolled {
  border-bottom-color: rgba(0,0,0,.06);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 24px;
  display: flex; align-items: center; gap: 20px;
}
.nav__menu {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--ink);
}
.nav__menu:hover { background: var(--gray-3); }
.nav__menu svg { width: 22px; height: 22px; }

.nav__logo {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.nav__logo img { height: 34px; width: auto; }
.nav__logo-text {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--pb-red);
}

.nav__search {
  flex: 1;
  max-width: 520px;
  position: relative;
}
.nav__search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--gray);
  pointer-events: none;
}
.nav__search input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 44px;
  background: var(--gray-3);
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: all .2s ease;
}
.nav__search input::placeholder { color: var(--gray); }
.nav__search input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--ink);
}

.nav__actions {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
}
.nav__icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  transition: background .15s ease;
}
.nav__icon-btn:hover { background: var(--gray-3); }
.nav__icon-btn svg { width: 20px; height: 20px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
  transition: background .15s ease;
}
.nav__link:hover { background: var(--gray-3); }
.nav__link svg { width: 18px; height: 18px; }
.nav__user-name { font-weight: 600; }

/* ---------- HERO ---------- */
.hero {
  background-color: #E6BDA2; /* boshlang'ich (1hero foni); JS har slaydga moslab almashtiradi */
  overflow: hidden;
  transition: background-color 1.1s ease;
}
/* To'liq enli: chap matn (konteynerga tekis) | o'ng shaffof PNG — bitta fon, chok yo'q */
.hero--split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 32px;
  /* deyarli to'liq ekran balandligi (Printful uslubi) */
  min-height: clamp(620px, calc(100vh - var(--nav-h, 72px)), 1000px);
}

/* LEFT — matn (odatdagi joyida, qora; chap chet sayt konteyneriga tekislangan) */
.hero__text {
  text-align: left;
  padding: 48px clamp(24px, 4vw, 56px) 48px max(24px, calc((100vw - var(--container)) / 2 + 24px));
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pb-red-soft);
  color: var(--pb-red);
  font-size: 13px; font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero__badge svg { width: 15px; height: 15px; flex-shrink: 0; }
.hero__title {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 18px;
}
.hero__accent { color: var(--pb-red); }
.hero__subtitle {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 30px;
  max-width: 440px;
}
.hero__actions {
  display: flex; gap: 12px; justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* feature chips */
.hero__features {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 16px 26px;
}
.hero__features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.hero__features svg { width: 18px; height: 18px; color: var(--pb-red); flex-shrink: 0; }

/* RIGHT — 5 rasmli slideshow; fon rangi har slaydga sinxron (chok yo'q) */
.hero__media {
  position: relative;
  align-self: stretch;
}
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 1.1s ease;
  /* chetlarni hero foniga eritish — rasm "qirrasi"/soyasi ko'rinmaydi */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 9%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 9%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
}
.hero__slide.is-active { opacity: 1; }

/* Hero responsive — mobil'da ustma-ust (rasm tepada, matn pastda) */
@media (max-width: 980px) {
  .hero--split { grid-template-columns: 1fr; text-align: center; gap: 28px; min-height: 0; }
  .hero__text { text-align: center; padding: 40px 24px; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__features { justify-content: center; }
  .hero--split { min-height: 0; }
  .hero__media { order: -1; align-self: auto; aspect-ratio: 4 / 3; }
}

/* Hero showcase: marquee (cheksiz yon scroll) */
.hero__showcase {
  margin-top: 56px;
  overflow: hidden;
  position: relative;
  /* Chetlarda yumshoq fade — cardlar tashqariga "kirib chiqadi" */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.hero__showcase-track {
  display: flex;
  align-items: flex-end;        /* baseline align — Printful uslubi */
  width: max-content;
  animation: showcase-scroll 40s linear infinite;
  will-change: transform;
}
.hero__showcase-track:hover {
  animation-play-state: paused;
}
.showcase-set {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding-right: 24px;          /* setlar orasidagi bo'shliq — gap bilan bir xil */
  flex-shrink: 0;
}
@keyframes showcase-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Card asosiy uslubi — hech qanday rang yo'q, faqat shakl */
.showcase-card {
  position: relative;
  flex-shrink: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-3);    /* faqat rasm yuklanguncha placeholder */
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}
.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.showcase-card img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

/* O'lchamlar — har xil bo'lsa vizual ritm hosil bo'ladi */
.showcase-card--sm { width: 220px; height: 280px; }
.showcase-card--md { width: 280px; height: 360px; }
.showcase-card--lg { width: 320px; height: 420px; }
.showcase-card--xl { width: 360px; height: 480px; }
.showcase-card__label {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(255,255,255,.95);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.showcase-card:hover .showcase-card__label {
  opacity: 1; transform: translateY(0);
}

/* Reduced motion — animatsiyani o'chiradi (a11y) */
@media (prefers-reduced-motion: reduce) {
  .hero__showcase-track { animation: none; }
}

/* ---------- SECTIONS ---------- */
/* ═══════════════════════════════════════════════════════════
   KIRGAN FOYDALANUVCHI — kategoriya carousel (ixcham, 1 qator)
   ═══════════════════════════════════════════════════════════ */
.cathub { padding: 36px 0 16px; }
.cathub__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.cathub__hi { font-family: 'Bricolage Grotesque', 'Inter', sans-serif; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
.cathub__sub { color: var(--gray); font-size: 14.5px; margin-top: 5px; font-weight: 500; }

/* Kategoriya grid — oq kartalar, chapda rangli dimensional ikonka */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
  display: flex; align-items: center; gap: 15px;
  background: var(--white); border: 1px solid var(--gray-2);
  border-radius: 18px; padding: 16px 18px; position: relative;
  box-shadow: 0 2px 4px rgba(26,23,20,.03), 0 8px 20px -16px rgba(26,23,20,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(26,23,20,.05), 0 18px 30px -18px rgba(26,23,20,.3); }
.cat__ic {
  flex: none; width: 54px; height: 54px; border-radius: 15px;
  background: linear-gradient(160deg, #FAF6F1, #F1EBE3);
  display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8); transition: transform .25s ease;
}
.cat:hover .cat__ic { transform: scale(1.05) rotate(-2deg); }
.cat__ic svg { width: 36px; height: 36px; display: block; filter: drop-shadow(0 2px 2px rgba(0,0,0,.12)); }
.cat__t { min-width: 0; }
.cat__t b { display: block; font-family: 'Bricolage Grotesque', 'Inter', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; color: var(--ink); }
.cat__t > span { font-size: 12.5px; color: var(--gray); font-weight: 500; }
.cat__new { position: absolute; top: 12px; right: 13px; font-size: 9.5px; font-weight: 700; letter-spacing: .03em; background: var(--pb-red); color: #fff; padding: 2px 8px; border-radius: 999px; }

/* "Tez orada" — bosib bo'lmaydigan, biroz xira */
.cat--soon { cursor: default; }
.cat--soon .cat__ic { filter: saturate(.9) opacity(.92); }
.cat--soon:hover { transform: none; box-shadow: 0 2px 4px rgba(26,23,20,.03), 0 8px 20px -16px rgba(26,23,20,.25); }
.cat--soon:hover .cat__ic { transform: none; }

@media (max-width: 900px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cats { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cat, .cat__ic { transition: none; } }

.section {
  padding: 64px 0;   /* barcha bo'limlar uchun standart vertikal spacing */
}
.section--gray { background: var(--gray-3); }
.section__head {
  text-align: center;
  margin-bottom: 56px;
}
.section__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 12px;
}
.section__sub {
  font-size: 17px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- CATEGORIES GRID ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);   /* 10 ta kategoriya = 2 qator × 5 */
  gap: 20px;
}
.cat-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 24px 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-2);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-align: center;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.cat-card__image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--gray-3);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cat-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cat-card__placeholder {
  font-size: 48px;
  font-weight: 800;
  color: var(--gray-2);
}
.cat-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.cat-card__count {
  font-size: 12px;
  color: var(--gray);
}

/* ─────────────────────────────────────────────────────────
   CATEGORY ROWS — home page'da har kategoriya o'z qatori
   (Netflix / Spotify uslubi — modulli, scalable)
   ───────────────────────────────────────────────────────── */
.cat-rows {
  padding: 64px 0;   /* standart spacing (oldin pastki 32 edi) */
}
/* Full-bleed: karta qatorlari butun ekran kengligini egallaydi —
   chetdagi bo'sh joy olib tashlandi, kartalar ikkala chetga taqaladi. */
.cat-rows .container {
  max-width: 100%;
}
.cat-rows + .cat-rows {
  padding-top: 0;
}
.cat-rows--trending {
  background: linear-gradient(180deg, var(--gray-3) 0%, var(--white) 100%);
}
.cat-rows--upcoming {
  background: var(--gray-3);
  padding-bottom: 64px;
}
.cat-row {
  margin-bottom: 56px;
}
.cat-row:last-child { margin-bottom: 0; }

/* "Tez orada" placeholder kartlari — boshqa karta ko'rinishida */
.prod-card--soon {
  cursor: default;
  opacity: 0.85;
}
.prod-card--soon .prod-card__image {
  background: linear-gradient(135deg, var(--gray-3) 0%, var(--white) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.prod-card__soon-icon {
  color: var(--gray);
  opacity: 0.4;
}
.prod-card__soon-icon svg {
  width: 64px;
  height: 64px;
}
.prod-card__soon-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--ink);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.prod-card__price--muted {
  color: var(--gray) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}
.prod-card--soon:hover {
  transform: none;
  box-shadow: none;
}

/* Sarlavha qismi — icon + nom + count */
.cat-row__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 0;
}
.cat-row__icon {
  width: 28px; height: 28px;
  color: var(--ink);
  flex-shrink: 0;
  align-self: center;
}
.cat-row__title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.1;
}
.cat-row__count {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  padding: 4px 10px;
  background: var(--gray-3);
  border-radius: 999px;
}

/* Horizontal scrollable grid — Netflix/Spotify uslubi.
   3 ta to'liq + 4-chining cheti ko'rinadi → "ko'proq bor" signali. */
.cat-row__viewport {
  position: relative;
  margin-bottom: 28px;
}
.cat-row__grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge */
  /* Konteyner padding'i — chetdan boshlanmasligi uchun, scroll uchun ham */
  padding: 4px 4px 12px;
  margin: -4px -4px -12px;
  scroll-padding: 0 4px;
}
.cat-row__grid::-webkit-scrollbar { display: none; }  /* Chrome/Safari */

/* 5 ta to'liq karta — ikkala chetga taqaladi, yarim karta (peek) yo'q. */
.cat-row__grid .prod-card {
  flex: 0 0 calc((100% - 80px) / 5);
  min-width: 190px;
  scroll-snap-align: start;
  margin: 0;
}

/* Fade o'chirilgan — chetda "davomi bor" tumani endi ko'rsatilmaydi */
.cat-row__fade {
  display: none;
}

/* Hover'da chiqadigan arrowlar (desktop only) */
.cat-row__arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s ease,
              transform .25s cubic-bezier(.2,.8,.2,1),
              box-shadow .25s ease;
  z-index: 2;
}
.cat-row__arrow svg { width: 18px; height: 18px; }
.cat-row__arrow--prev { left: -12px; }
.cat-row__arrow--next { right: -12px; }
.cat-row:hover .cat-row__arrow {
  opacity: 1;
}
.cat-row__arrow:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.cat-row__arrow:active {
  transform: translateY(-50%) scale(0.96);
}
.cat-row__arrow:disabled {
  opacity: 0 !important;
  pointer-events: none;
}

/* "── Hammasini ko'rish ──" link (centered, with dividers) */
.cat-row__all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .25s ease;
  cursor: pointer;
}
.cat-row__all-line {
  width: 80px;
  height: 1px;
  background: var(--gray-2);
  transition: width .35s cubic-bezier(.2,.8,.2,1),
              background .25s ease;
}
.cat-row__all-text {
  position: relative;
  transition: transform .25s ease;
}
.cat-row__all-text::after {
  content: ' →';
  display: inline-block;
  margin-left: 4px;
  transition: transform .25s ease;
  opacity: 0;
}
.cat-row__all:hover {
  color: var(--pb-red);
}
.cat-row__all:hover .cat-row__all-line {
  width: 120px;
  background: var(--pb-red);
}
.cat-row__all:hover .cat-row__all-text::after {
  opacity: 1;
  transform: translateX(4px);
}

@media (max-width: 1100px) {
  .cat-row__grid .prod-card { flex-basis: calc((100% - 60px) / 4); min-width: 180px; } /* 4 to'liq, peek yo'q */
}
@media (max-width: 820px) {
  .cat-rows { padding: 64px 0; }
  .cat-row { margin-bottom: 56px; }
  .cat-row__viewport { margin-left: -16px; margin-right: -16px; }
  .cat-row__grid { padding: 4px 16px 12px; gap: 12px; }
  .cat-row__grid .prod-card { flex-basis: calc((100% - 24px) / 2.5); min-width: 170px; } /* 2.5 */
  .cat-row__arrow { display: none; }     /* mobile'da swipe yetarli */
  .cat-row__fade { right: 0; width: 50px; }
  .cat-row__all-line { width: 50px; }
  .cat-row__all:hover .cat-row__all-line { width: 70px; }
}
@media (max-width: 480px) {
  .cat-row__grid .prod-card { flex-basis: calc((100% - 12px) / 1.7); min-width: 160px; } /* 1.7 */
  .cat-row__title { font-size: 24px; }
  .cat-row__icon { width: 22px; height: 22px; }
}

/* Keng ekranlar (≥1600px): kartalar kichikroq va zichroq — 6 ta to'liq.
   358px → ~290px. Density yuqori = ko'p mahsulot, premium vibe. */
@media (min-width: 1600px) {
  .cat-row__grid .prod-card { flex-basis: calc((100% - 100px) / 6); }
}


/* ---------- POPULAR PRODUCTS ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.prod-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.prod-card__image {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--gray-3);
  overflow: hidden;
}
.prod-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.prod-card:hover .prod-card__image img {
  transform: scale(1.04);
}
.prod-card__quick {
  position: absolute;
  bottom: 16px; left: 50%; transform: translateX(-50%) translateY(8px);
  padding: 10px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  white-space: nowrap;
}
.prod-card:hover .prod-card__quick {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.prod-card__body {
  padding: 16px 20px 20px;
}
.prod-card__cat {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.prod-card__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.prod-card__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--pb-red);
}

/* ---------- CATEGORY SHOWCASE (ilhomlantiruvchi kategoriya plitkalari) ---------- */
.cat-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.cat-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  transition: transform .3s ease, box-shadow .3s ease;
}
.cat-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cat-tile__media {
  position: absolute; inset: 0;
  background: var(--ink);
}
.cat-tile__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.cat-tile:hover .cat-tile__media img { transform: scale(1.06); }
.cat-tile__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px;
  padding: 22px;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 45%, transparent 72%);
  z-index: 1;
}
.cat-tile__name {
  color: var(--white);
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.1;
}
.cat-tile__count {
  display: block;
  color: rgba(255,255,255,.8);
  font-size: 13px; font-weight: 500;
  margin-top: 4px;
}
.cat-tile__arrow {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transform: translateY(6px); opacity: 0;
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
}
.cat-tile__arrow svg { width: 18px; height: 18px; }
.cat-tile:hover .cat-tile__arrow {
  opacity: 1; transform: translateY(0);
  background: var(--pb-red);
}
.cat-showcase__foot { text-align: center; }

@media (max-width: 560px) {
  .cat-tiles { gap: 12px; }
  .cat-tile__overlay { padding: 18px; }
}

/* ---------- HOW IT WORKS ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.how-step {
  text-align: center;
  padding: 32px 24px;
}
.how-step__num {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  background: var(--pb-red);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800;
  box-shadow: 0 8px 20px rgba(211,32,39,.25);
}
.how-step h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.how-step p {
  font-size: 15px;
  color: var(--gray);
  max-width: 280px;
  margin: 0 auto;
}

/* ---------- TRUST BLOCK ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-2);
}
.trust-item__icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pb-red-soft);
  border-radius: 16px;
  color: var(--pb-red);
}
.trust-item__icon svg { width: 28px; height: 28px; }
.trust-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.trust-item p {
  font-size: 14px;
  color: var(--gray);
}

/* ---------- QANDAY ISHLAYDI (HIW) — 4 qadam + ishonch paneli ---------- */
.hiw__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.hiw__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pb-red-soft); color: var(--pb-red);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
}
.hiw__badge svg { width: 15px; height: 15px; flex-shrink: 0; }
.hiw__title { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 12px; }
.hiw__sub { font-size: clamp(15px, 1.4vw, 18px); color: var(--gray); }

.hiw__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  margin-bottom: 28px;
}
.hiw__arrow { align-self: center; display: flex; align-items: center; justify-content: center; width: 38px; color: var(--pb-red); }
.hiw__arrow svg { width: 22px; height: 22px; }

.hiw-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.hiw-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hiw-card__num {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--pb-red); color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}
.hiw-card__icon {
  width: 40px; height: 40px;
  background: var(--pb-red-soft); color: var(--pb-red); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.hiw-card__icon svg { width: 20px; height: 20px; }
.hiw-card__title { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.hiw-card__text { font-size: 14px; line-height: 1.5; color: var(--gray); margin-bottom: 16px; min-height: 42px; }
.hiw-card__media { margin-bottom: 16px; }
.hiw-card__btn {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--gray-2); border-radius: var(--radius-md);
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  transition: border-color .2s ease, color .2s ease;
}
.hiw-card__btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.hiw-card__btn:hover { border-color: var(--pb-red); color: var(--pb-red); }

/* Karta 1 — mahsulot to'ri */
.hiw-prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--gray-3); border-radius: var(--radius-md); padding: 10px; }
.hiw-prods__tile { aspect-ratio: 1; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hiw-prods__tile img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

/* Karta 2 — dropzone + namunalar */
.hiw-drop { border: 2px dashed var(--gray-2); border-radius: var(--radius-md); background: var(--gray-3); padding: 20px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.hiw-drop__icon { width: 44px; height: 44px; margin-bottom: 6px; background: var(--pb-red-soft); color: var(--pb-red); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hiw-drop__icon svg { width: 20px; height: 20px; }
.hiw-drop__title { font-size: 14px; font-weight: 700; color: var(--ink); }
.hiw-drop__sub { font-size: 13px; color: var(--gray); }
.hiw-drop__formats { font-size: 11px; color: var(--gray); margin-top: 4px; }
.hiw-designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.hiw-designs__thumb { aspect-ratio: 1; background: var(--gray-3); border-radius: var(--radius-sm); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hiw-designs__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Karta 3 — video */
.hiw-video { position: relative; aspect-ratio: 4 / 3; background: var(--gray-3); border-radius: var(--radius-md); overflow: hidden; }
.hiw-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Karta 4 — foto */
.hiw-photo { aspect-ratio: 4 / 3; background: var(--gray-3); border-radius: var(--radius-md); overflow: hidden; }
.hiw-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Ishonch paneli */
.hiw-trust { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--gray-3); border-radius: var(--radius-lg); padding: 22px 8px; }
.hiw-trust__item { display: flex; align-items: flex-start; gap: 12px; padding: 4px 22px; border-left: 1px solid var(--gray-2); }
.hiw-trust__item:first-child { border-left: none; }
.hiw-trust__icon { flex-shrink: 0; color: var(--pb-red); }
.hiw-trust__icon svg { width: 26px; height: 26px; }
.hiw-trust__text h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.hiw-trust__text p { font-size: 13px; line-height: 1.4; color: var(--gray); }

/* ═══════════════════════════════════════════════════════════
   HIW JONLI ANIMATSIYA — qadamlar avtomatik o'ynaydi
   ⛔ Karta o'lchami/grid/CTA O'ZGARMAYDI — faqat .hiw-stage ichi jonlanadi.
   ═══════════════════════════════════════════════════════════ */
.hiw-stage { position: relative; height: 188px; border-radius: 14px; overflow: hidden; background: var(--gray-3); }
.hiw .step { transition: box-shadow .5s ease, border-color .5s ease; }
.hiw .step.active {
  border-color: color-mix(in srgb, var(--pb-red) 40%, var(--gray-2));
  box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--pb-red) 55%, transparent);
}

/* — Global kursor — */
.cursor {
  position: fixed; left: 0; top: 0; width: 24px; height: 24px; z-index: 1200;
  pointer-events: none; opacity: 0; transform: translate(-3px, -3px);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
  transition: left .85s cubic-bezier(.5,.05,.3,1), top .85s cubic-bezier(.5,.05,.3,1), opacity .3s;
}
.cursor.show { opacity: 1; }
.cursor.click .cur-svg { animation: howCurClick .35s ease; }
.cursor.grab .cur-svg { transform: scale(.82); }
@keyframes howCurClick { 50% { transform: scale(.78); } }

/* — QADAM 1: mahsulot grid — */
.hiw .pgrid { position: absolute; inset: 10px; display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(2,1fr); gap: 8px; }
.hiw .pcell { background: var(--white); border: 1px solid var(--gray-2); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 5px 6px 7px; overflow: hidden; position: relative; transition: transform .35s, box-shadow .35s, border-color .35s; }
.hiw .pcell img { flex: 1; min-height: 0; max-width: 78%; max-height: 100%; object-fit: contain; }
.hiw .pcell .cap { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0 6px; }
.hiw .pcell .bar { height: 5px; border-radius: 3px; background: #ece4db; }
.hiw .pcell .bar.b1 { width: 64%; }
.hiw .pcell .bar.b2 { width: 40%; background: #f1ebe3; }
.hiw .pcell.hot .bar, .hiw .pcell.picked .bar { background: #f4cdd0; }
.hiw .pcell.hot .bar.b2, .hiw .pcell.picked .bar.b2 { background: #f9dfe1; }
.hiw .pcell.hot { transform: translateY(-4px) scale(1.06); border-color: var(--pb-red); box-shadow: 0 10px 22px -10px var(--pb-red); z-index: 2; }
.hiw .pcell.picked { border-color: var(--pb-red); }
.hiw .pcell.picked::after { content: ""; position: absolute; inset: 0; background: rgba(229,20,43,.06); pointer-events: none; }
.hiw .pcell .tick { position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--pb-red); display: none; place-items: center; z-index: 3; }
.hiw .pcell.picked .tick { display: grid; }
.hiw .pcell .tick svg { width: 11px; height: 11px; stroke: #fff; stroke-width: 3; fill: none; }

/* — QADAM 2: dropzone → reveal — */
.hiw .drop { position: absolute; inset: 14px; border: 2px dashed color-mix(in srgb, var(--pb-red) 35%, var(--gray-2)); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #fff; transition: border-color .4s, background .4s; }
.hiw .upbtn { width: 42px; height: 42px; border-radius: 50%; background: var(--pb-red-soft); display: grid; place-items: center; }
.hiw .upbtn svg { width: 20px; height: 20px; stroke: var(--pb-red); stroke-width: 2; fill: none; }
.hiw .uptext { font-size: 11px; color: var(--gray); }
.hiw .step2.active:not(.uploaded) .upbtn { animation: howPulse 1.6s ease-in-out infinite; }
@keyframes howPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.hiw .step2.uploaded .drop { border-style: solid; border-color: var(--success); background: #fff; }
.hiw .prompt { display: flex; flex-direction: column; align-items: center; gap: 8px; transition: opacity .3s, transform .3s; }
.hiw .step2.uploaded .prompt { opacity: 0; transform: scale(.92); position: absolute; pointer-events: none; }
.hiw .preview { position: absolute; inset: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; opacity: 0; transform: scale(.4) translateY(14px); pointer-events: none; }
.hiw .step2.uploaded .preview { animation: howRevealUp .55s cubic-bezier(.34,1.56,.64,1) forwards; }
.hiw .preview .thumb { width: 84px; height: 84px; border-radius: 16px; position: relative; background: linear-gradient(160deg,#fff,#fbf3f3); border: 1px solid #f3d6d9; display: grid; place-items: center; box-shadow: 0 10px 22px -10px rgba(229,20,43,.35); }
.hiw .preview .thumb img { width: 70px; height: 70px; object-fit: contain; display: block; }
.hiw .preview .okdot { position: absolute; right: -6px; top: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--success); display: grid; place-items: center; border: 2.5px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); opacity: 0; transform: scale(.3); }
.hiw .step2.uploaded .preview .okdot { animation: howPop .45s ease .45s forwards; }
.hiw .preview .okdot svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 3.4; fill: none; }
.hiw .preview .fname { display: flex; align-items: center; gap: 5px; max-width: 100%; padding: 3px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--gray-2); font-size: 10.5px; color: var(--ink); opacity: 0; transform: translateY(4px); }
.hiw .preview .fname svg { width: 11px; height: 11px; stroke: var(--pb-red); stroke-width: 2; fill: none; flex: none; }
.hiw .preview .fname b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hiw .step2.uploaded .preview .fname { animation: howFadeUp .4s ease .5s forwards; }
@keyframes howRevealUp { 0% { opacity: 0; transform: scale(.4) translateY(16px); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes howPop { to { opacity: 1; transform: scale(1); } }
@keyframes howFadeUp { to { opacity: 1; transform: translateY(0); } }

/* — QADAM 3: shablon + dizayn (resize) — */
.hiw .teewrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hiw .tplbox { position: relative; display: inline-block; line-height: 0; }
.hiw .tplimg { display: block; width: auto; height: auto; max-width: 100%; max-height: 176px; }
.hiw .dz { position: absolute; left: 50%; top: 52%; transform: translate(-50%,-50%) scale(1); width: 30%; opacity: 0; z-index: 3; transition: transform .6s cubic-bezier(.34,1.4,.5,1), opacity .4s; }
.hiw .dz.in { opacity: 1; }
.hiw .dz > img { width: 100%; display: block; filter: drop-shadow(0 4px 8px rgba(0,0,0,.18)); }
.hiw .dz .frame { position: absolute; inset: -7px; border: 1.6px dashed var(--pb-red); border-radius: 3px; opacity: 0; transition: opacity .25s; pointer-events: none; }
.hiw .dz.sel .frame { opacity: 1; }
.hiw .dz .hdl { position: absolute; width: 9px; height: 9px; background: #fff; border: 1.7px solid var(--pb-red); border-radius: 2px; }
.hiw .dz .hdl.tl { left: -5px; top: -5px; } .hiw .dz .hdl.tr { right: -5px; top: -5px; }
.hiw .dz .hdl.bl { left: -5px; bottom: -5px; } .hiw .dz .hdl.br { right: -5px; bottom: -5px; }

/* — QADAM 4: natija + rang tanlash — */
.hiw .result { position: absolute; inset: 0; }
.hiw .teeshot { position: absolute; left: 50%; top: 45%; transform: translate(-50%,-50%); width: 152px; height: 152px; }
.hiw .teeshot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .45s ease; filter: drop-shadow(0 8px 14px rgba(0,0,0,.12)); }
.hiw .teeshot .blankr { opacity: 1; transition: opacity .5s ease; z-index: 1; }
.hiw .teeshot .tw, .hiw .teeshot .tb { opacity: 0; transition: opacity .5s ease; }
.hiw .step4.ready .teeshot .blankr { opacity: 0; }
.hiw .step4.ready .teeshot .tw { opacity: 1; }
.hiw .step4.ready.dark .teeshot .tw { opacity: 0; }
.hiw .step4.ready.dark .teeshot .tb { opacity: 1; }
.hiw .swatches { position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); display: flex; gap: 12px; z-index: 5; opacity: 0; transition: opacity .4s ease; }
.hiw .step4.ready .swatches { opacity: 1; }
.hiw .sw { width: 20px; height: 20px; border-radius: 50%; position: relative; box-shadow: 0 0 0 1px var(--gray-2), 0 2px 4px rgba(0,0,0,.12); transition: transform .2s, box-shadow .2s; }
.hiw .sw.white { background: #efe8de; }
.hiw .sw.black { background: #1a1714; }
.hiw .sw.active { box-shadow: 0 0 0 2px var(--pb-red), 0 2px 7px rgba(0,0,0,.22); transform: scale(1.18); }
.hiw .check { position: absolute; right: 14px; bottom: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--success); display: grid; place-items: center; opacity: 0; transform: scale(.5); z-index: 4; }
.hiw .check svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 3; fill: none; }
.hiw .step4.ready .check { animation: howPop .6s ease 0s forwards; }

/* — flow nuqtalari (progress) — */
.hiw .flowline { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.hiw .flowdot { width: 8px; height: 8px; border-radius: 50%; background: #d8ccc1; transition: .4s; }
.hiw .flowdot.lit { background: var(--pb-red); transform: scale(1.3); }

@media (prefers-reduced-motion: reduce) {
  .hiw .pcell, .hiw .drop, .hiw .dz, .hiw .teeshot img, .hiw .swatches, .hiw .check, .hiw .preview, .cursor { animation: none !important; transition: none !important; }
}

@media (max-width: 1024px) {
  .hiw__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hiw__arrow { display: none; }
  .hiw-trust { grid-template-columns: 1fr 1fr; gap: 18px 0; padding: 22px; }
  .hiw-trust__item:nth-child(odd) { border-left: none; }
}
@media (max-width: 620px) {
  .hiw__grid { grid-template-columns: 1fr; gap: 16px; }
  .hiw-card__text { min-height: 0; }
  .hiw-trust { grid-template-columns: 1fr; padding: 18px; }
  .hiw-trust__item { border-left: none; padding: 8px 0; }
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0;   /* standart spacing */
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════════════
   PLACEHOLDER MEDIA — rasm yuklanmaguncha (yoki yo'q bo'lsa)
   chiroyli qorong'i joy ko'rsatadi. Rasm qo'shilsa avtomatik to'ladi.
   ═══════════════════════════════════════════════════════════ */
.ph-media {
  position: relative;
  overflow: hidden;
  background: var(--gray-3);
}
.ph-media--dark {
  background:
    radial-gradient(120% 120% at 30% 0%, var(--d-surface) 0%, var(--d-bg) 100%);
}
.ph-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark fonli karta ustidagi oq tugma (biz + streetwear uchun) */
.btn--light {
  background: var(--white);
  color: var(--ink);
}
.btn--light:hover {
  background: var(--gray-3);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

/* Bo'lim ustidagi kichik yorliq (eyebrow) */
.biz__eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
}

/* ═══════════════════════════════════════════════════════════
   BIZNES YECHIMLARI — 1 katta hero + 4 portret karta
   ═══════════════════════════════════════════════════════════ */
.biz { padding-bottom: 28px; }   /* pastki oraliq kichik — streetwear yaqinroq/ko'rinadi */
.biz__grid {
  display: grid;
  grid-template-columns: 1fr;   /* katta karta tepada banner, 4 karta pastda to'liq enli qator */
  gap: 24px;
}

/* — Katta hero karta: chapda matn, o'ngda rasm — */
.biz-hero {
  position: relative;
  display: flex;
  min-height: 320px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
}
.biz-hero__content {
  order: 1;
  flex: 1 1 50%;
  padding: 40px;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  z-index: 2;
}
.biz-hero__media {
  order: 2;
  flex: 1 1 50%;
  position: relative;
}
.biz-hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.biz-hero__title {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.biz-hero__text {
  font-size: 15px; line-height: 1.55;
  color: rgba(255,255,255,.72);
  margin-bottom: 26px;
  max-width: 360px;
}

/* — 4 ta kichik portret karta — */
.biz-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.biz-card {
  position: relative;
  aspect-ratio: 4 / 5;   /* 4:5 — biroz ixcham (pastdagi streetwear "peek" qilishi uchun) */
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.biz-card__media {
  position: absolute; inset: 0; z-index: 0;
}
.biz-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.biz-card:hover .biz-card__media img { transform: scale(1.06); }
/* Matn o'qilishi uchun pastdan gradient qoplama */
.biz-card::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top,
              rgba(0,0,0,.82) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.30) 100%);
}
.biz-card__icon {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  width: 44px; height: 44px;
  background: var(--white); color: var(--ca, var(--pb-red));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: opacity .35s ease;   /* soha almashganda fade */
}
/* ⚠️ SVG ikonkaga o'lcham + stroke (JS in'ektsiya qiladigan ikonkalar rangi --ca dan) */
.biz-card__icon svg {
  width: 22px; height: 22px;
  stroke: var(--ca, var(--pb-red)); stroke-width: 1.9; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.biz-card__body { position: relative; z-index: 2; transition: opacity .35s ease; }

/* Soha almashganda ikonka+matn fade bilan yangilanadi (o'lcham o'zgarmaydi) */
.biz-card.swap .biz-card__icon,
.biz-card.swap .biz-card__body { opacity: 0; }

/* CTA holati ("Va sizniki?"): oddiy qatlamlar yashirinadi, faqat dashed CTA ko'rinadi */
.biz-card.ctaMode .biz-card__icon,
.biz-card.ctaMode::after,
.biz-card.ctaMode .biz-card__body { display: none; }
.biz-card__title {
  font-size: 16px; font-weight: 700;
  line-height: 1.25; margin-bottom: 4px;
}
.biz-card__sub {
  font-size: 13px; line-height: 1.4;
  color: rgba(255,255,255,.72);
}

/* ─── Cross-fade qatlamlari (rasm karta ICHIDA yumshoq almashadi) ─
   ⚠️ Karta o'lchami/grid o'zgarmaydi — bu faqat ichki rasm qatlami. */
.pb-layers { position: absolute; inset: 0; z-index: 0; }
.pb-layer {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  background-size: cover; background-position: center top;
  will-change: opacity, transform;
}
.pb-layer.show { opacity: 1; }
.pb-layer.real.show { animation: pbKen 7s ease-out both; }   /* yengil zoom (real rasm) */
@keyframes pbKen { from { transform: scale(1.001); } to { transform: scale(1.07); } }
.pb-layer.ph {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(150deg,
              var(--ca, var(--brand)),
              color-mix(in srgb, var(--ca, var(--brand)) 64%, #000));
}
.pb-layer.ph svg {
  width: 46px; height: 46px;
  stroke: #fff; fill: none; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; opacity: .95;
}
.pb-layer.ph .word {
  font-size: 22px; font-weight: 800; color: #fff;
  letter-spacing: -0.02em; text-align: center; padding: 0 12px;
}
/* CTA qatlami — "Va sizniki?": oq fon, dashed ramka, "+ Sizning dizayningiz" */
.pb-layer.cta {
  background: #fff;
  border: 2px dashed color-mix(in srgb, var(--ca, var(--brand)) 50%, #fff);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 9px;
}
.pb-layer.cta .plus {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--ca, var(--brand)) 12%, #fff);
  color: var(--ca, var(--brand)); font-weight: 700; font-size: 26px; line-height: 1;
}
.pb-layer.cta .t {
  font-weight: 700; font-size: 13.5px; color: var(--ca, var(--brand));
  text-align: center; padding: 0 10px;
}

/* ═══════════════════════════════════════════════════════════
   BIZNES — 5-SOHA SHOWCASE BRANDBAR (qora banner o'rnida)
   JS '--accent' ni har 4s da yangilaydi; soha (eyebrow) + brend almashadi.
   ═══════════════════════════════════════════════════════════ */
.bb {
  --accent: var(--brand);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-2);
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(135deg,
              color-mix(in srgb, var(--accent) 13%, #fff), var(--white) 64%);
  transition: background .8s ease;
}
.bb .eyebrow {
  font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  transition: opacity .45s ease, color .6s ease;
  margin-bottom: 14px;
}
.bb .eyebrow.out { opacity: 0; }
.bb .titleline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bb .titleline h2 {
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.04; color: var(--ink);
}
.bb .activebrand {
  display: inline-flex; align-items: center; height: 44px;
  transition: opacity .45s ease;
}
.bb .activebrand .word {
  font-size: clamp(28px, 3.4vw, 38px); font-weight: 800;
  letter-spacing: -0.02em; color: var(--accent);
}
.bb .activebrand.out { opacity: 0; }
.bb .subline { margin-top: 12px; color: var(--ink-2); font-size: 14.5px; max-width: 48ch; transition: opacity .45s ease; }
.bb .subline.out { opacity: 0; }

/* CTA tugma — faqat "Va sizniki?" holatida ko'rinadi */
.cta-btn {
  display: none; align-self: flex-start; margin-top: 18px;
  background: var(--brand); color: var(--on-brand); border: none;
  font-size: 15px; font-weight: 600; padding: 13px 26px; border-radius: 13px;
  cursor: pointer; align-items: center; gap: 9px; text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.cta-btn:hover { background: var(--brand-hover); transform: translateY(-1px); }
.cta-btn svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 2.4; fill: none; }
.bb.ctaState .cta-btn { display: inline-flex; }
.bb.ctaState .shadeR { display: none; }

/* O'ng panel — 2-qatlamli vizual konteyneri */
.bb-right {
  align-self: stretch; min-height: 178px;
  border-radius: 18px; overflow: hidden; position: relative;
  background: var(--gray-3);
}
.bb-right .shadeR {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(0,0,0,.22));
}
.bb-right .pb-layer.ph .word { font-size: 30px; }

.bb .prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; z-index: 5; }
.bb .prog .bar {
  height: 100%; width: 0;
  background: color-mix(in srgb, var(--accent) 55%, transparent);
}
.bb .prog .bar.run { animation: bbFill linear forwards; }   /* duration JS'dan: 4s / CTA 6s */
@keyframes bbFill { from { width: 0; } to { width: 100%; } }

@media (max-width: 760px) {
  .bb { grid-template-columns: 1fr; gap: 20px; }
}

/* ── Biz → Streetwear "pastga" ishorasi (scroll cue) ── */
.biz-more {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  transition: color .2s ease;
}
.biz-more:hover { color: var(--pb-red); }
.biz-more:hover .biz-more__chev { background: var(--pb-red); color: #fff; }
.biz-more__chev {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pb-red-soft); color: var(--pb-red);
  animation: bizBounce 1.8s ease-in-out infinite;
  transition: background .2s ease, color .2s ease;
}
.biz-more__chev svg { width: 18px; height: 18px; }
@keyframes bizBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

html { scroll-behavior: smooth; }
.street-hero { scroll-margin-top: 80px; }

@media (prefers-reduced-motion: reduce) {
  .biz-more__chev { animation: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════
   IMKONIYATLAR — full-bleed logo-rangli showcase (.ops)
   Chetdan-chetga, soha logo rangida fon, chegarasiz (mask) rasmlar,
   zigzag + nozik suzish. Karta o'lchami 4:5 (o'zgarmaydi).
   ═══════════════════════════════════════════════════════════ */
.ops {
  width: 100%;
  padding: clamp(48px, 7vw, 84px) 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 88% 0%, var(--c-l) 0%, transparent 55%),
    linear-gradient(150deg, color-mix(in srgb, var(--c-l) 60%, var(--c)) 0%, var(--c) 42%, var(--c-d) 100%);
}
.ops::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .05;
  background-image:
    repeating-linear-gradient(115deg, #fff 0 1px, transparent 1px 26px),
    radial-gradient(circle at 18% 30%, #fff 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 62% 72%, #fff 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 84% 22%, #fff 0 1.2px, transparent 1.6px);
  background-size: auto, 120px 120px, 160px 160px, 140px 140px;
}
.ops-inner { max-width: 1340px; margin: 0 auto; padding: 0 clamp(18px, 3.5vw, 40px); position: relative; z-index: 1; }

.ops-header { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.ops-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 14px; display: inline-block; }
.ops-title { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; margin: 0 0 12px; color: #fff; }
.ops-title b { color: #fff; font-weight: 800; filter: brightness(1.15); }
.ops-sub { font-size: clamp(14px, 1.3vw, 16px); line-height: 1.6; color: rgba(255,255,255,.82); max-width: 440px; }

.ops-emblem {
  position: relative; width: clamp(220px, 24vw, 300px); min-height: 150px; border-radius: 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 26px 24px; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ops-emblem__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); }
.ops-emblem__icon svg { width: 24px; height: 24px; stroke: #fff; stroke-width: 1.8; fill: none; }
.ops-emblem__name { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.ops-emblem::after { content: ""; position: absolute; right: -30%; top: -40%; width: 80%; height: 120%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); pointer-events: none; }

.ops-divider { position: relative; height: 2px; margin: 30px 0 34px; border-radius: 2px; background: rgba(255,255,255,.16); }
.ops-divider::before { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 34%; border-radius: 2px; background: linear-gradient(90deg, #fff, rgba(255,255,255,.4)); }

.ops-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.op-cell { display: flex; flex-direction: column; gap: 12px; --base: 0px; animation: opFloat var(--fdur, 8s) ease-in-out var(--fdelay, 0s) infinite; }
.op-cell:nth-child(even) { --base: 34px; }
.op-cell:nth-child(1) { --fdur: 8.5s; --fdelay: 0s; }
.op-cell:nth-child(2) { --fdur: 9.5s; --fdelay: -2.2s; }
.op-cell:nth-child(3) { --fdur: 7.8s; --fdelay: -1.1s; }
.op-cell:nth-child(4) { --fdur: 10s;  --fdelay: -3.4s; }
@keyframes opFloat { 0%, 100% { transform: translateY(var(--base)); } 50% { transform: translateY(calc(var(--base) - 8px)); } }

.op-img {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 18px;   /* 3:4 — rasmga aniq mos: qirqilmaydi, to'liq va kattaroq */
  -webkit-mask-image: radial-gradient(135% 130% at 50% 48%, #000 64%, transparent 100%);
  mask-image: radial-gradient(135% 130% at 50% 48%, #000 64%, transparent 100%);   /* yumshoq fade — mahsulot fokusda */
}
.op-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.op-cell:hover .op-img img { transform: scale(1.05); }
.op-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 52%, color-mix(in srgb, var(--c-d) 75%, transparent) 100%); }
.op-meta h3 { font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 2px; letter-spacing: -.01em; }
.op-meta p { font-size: 13px; color: rgba(255,255,255,.72); margin: 0; }

/* soha almashganda yumshoq fade (rang snap kontent ko'rinmaganida) */
.ops-eyebrow, .ops-title, .ops-sub, .ops-emblem, .op-cell { transition: opacity .42s ease; }
.ops.ops-swap .ops-eyebrow, .ops.ops-swap .ops-title, .ops.ops-swap .ops-sub,
.ops.ops-swap .ops-emblem, .ops.ops-swap .op-cell { opacity: 0; }

/* pastga ishora (streetwear) — rangli fonda oq */
.ops-more { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 40px; color: rgba(255,255,255,.85); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-decoration: none; }
.ops-more:hover { color: #fff; }
.ops-more__chev { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); color: #fff; animation: opsBounce 1.8s ease-in-out infinite; transition: background .2s ease; }
.ops-more:hover .ops-more__chev { background: rgba(255,255,255,.3); }
.ops-more__chev svg { width: 18px; height: 18px; }
@keyframes opsBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (max-width: 900px) {
  .ops-header { grid-template-columns: 1fr; gap: 20px; }
  .ops-emblem { width: 100%; min-height: 120px; }
  .ops-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .op-cell:nth-child(even) { --base: 0px; }
}
@media (max-width: 520px) { .ops-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .op-cell { animation: none; transform: translateY(var(--base)); }
  .ops-more__chev { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM STREETWEAR — to'liq enli immersiv banner (full-bleed)
   Rasm: img/street/street.jpg (keng landshaft). Rasm yo'q paytda
   premium qorong'i gradient ko'rinadi — buzilmaydi.
   ═══════════════════════════════════════════════════════════ */
.street-hero {
  position: relative;
  min-height: clamp(440px, 68vh, 700px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 110% at 82% 0%, rgba(229,20,43,.20) 0%, rgba(229,20,43,0) 58%),
    linear-gradient(120deg, #1b1714 0%, #110d0b 70%, #0b0908 100%);
}
.street-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.street-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg,
    rgba(8,7,6,.85) 0%, rgba(8,7,6,.60) 38%, rgba(8,7,6,.18) 72%, rgba(8,7,6,.05) 100%);
}
.street-hero .container { position: relative; z-index: 2; }
.street-hero__content { max-width: 560px; color: #fff; }
.street-hero__eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: 18px;
}
.street-hero__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 18px;
}
.street-hero__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,.78);
  max-width: 440px;
  margin: 0 0 30px;
}
.street-hero__btn { padding: 14px 28px; font-size: 15px; }

/* — Biz / Streetwear responsive — */
@media (max-width: 1100px) {
  .biz__grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .biz-cards { grid-template-columns: repeat(2, 1fr); }
  .street-hero { min-height: clamp(400px, 56vh, 520px); }
}
@media (max-width: 640px) {
  .biz-hero { flex-direction: column; }
  .biz-hero__content { order: 1; padding: 28px; }
  .biz-hero__media { order: 2; flex: 0 0 200px; width: 100%; }
  .street-hero__overlay { background: linear-gradient(180deg, rgba(8,7,6,.5), rgba(8,7,6,.78)); }
}
@media (max-width: 420px) {
  .biz-cards { grid-template-columns: 1fr; }
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--white);
  border-top: 1px solid var(--gray-2);
  padding: 64px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 3fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand p {
  font-size: 14px;
  color: var(--gray);
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.6;
}
.footer__logo { height: 32px; width: auto; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: var(--gray);
  padding: 6px 0;
  transition: color .15s ease;
}
.footer__col a:hover { color: var(--pb-red); }
.footer__bottom {
  border-top: 1px solid var(--gray-2);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  color: var(--gray);
}
.footer__legal { display: flex; gap: 18px; }
.footer__legal a { color: var(--gray); font-size: 13px; }
.footer__legal a:hover { color: var(--pb-red); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-2);
  border-radius: 50%;
  color: var(--ink);
  transition: all .15s ease;
}
.footer__social a:hover { background: var(--pb-red); color: var(--white); border-color: var(--pb-red); }
.footer__social svg { width: 16px; height: 16px; }

/* ---------- MOBILE MENU DRAWER ---------- */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--white);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
  padding: 24px;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
}
.mobile-menu__close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.mobile-menu__close:hover { background: var(--gray-3); }
.mobile-menu__close svg { width: 22px; height: 22px; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__list a {
  padding: 16px 0;
  font-size: 22px; font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--gray-3);
}
.mobile-menu__list a:hover { color: var(--pb-red); }
.mobile-menu__cta { margin-top: auto; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .showcase-set { gap: 18px; padding-right: 18px; }
  .showcase-card--sm { width: 180px; height: 230px; }
  .showcase-card--md { width: 220px; height: 290px; }
  .showcase-card--lg { width: 260px; height: 340px; }
  .showcase-card--xl { width: 300px; height: 400px; }
  .how-grid { grid-template-columns: 1fr; gap: 16px; }
  .trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav__menu { display: flex; }
  .nav__search,
  .nav__link { display: none; }
  .nav__icon-btn[data-hide-mobile] { display: none; }
  .nav__inner { gap: 12px; padding: 0 16px; }
  .nav__actions { gap: 4px; }
  .container { padding: 0 16px; }
  .hero { padding: 56px 0 40px; }
  .hero__showcase { margin-top: 40px; }
  .hero__showcase-track { animation-duration: 32s; }  /* mobile'da biroz tezroq */
  .showcase-set { gap: 14px; padding-right: 14px; }
  .showcase-card--sm { width: 140px; height: 180px; }
  .showcase-card--md { width: 180px; height: 230px; }
  .showcase-card--lg { width: 220px; height: 280px; }
  .showcase-card--xl { width: 240px; height: 320px; }
  .section { padding: 48px 0; }
  .cat-rows, .cta-banner { padding: 48px 0; }   /* planshetda ham standart */
  .section__head { margin-bottom: 40px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 480px) {
  .prod-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1; }
}

/* ---------- SCROLL-IN ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
