/* ═══════════════════════════════════════════════════════════════════════
   Bosh sahifa «Qizil shox» (_home_shox.html, js/home-shox.js) - 2026-11-22
   Faqat bosh sahifada ulanadi (home.html), shuning uchun footer qoidasi ham shu yerda.
   Standart holat = YAKUNIY ko'rinish. Harakat holatlari faqat JS qo'shgan klasslar ostida:
     html.sx-motion  - kirish animatsiyalari
     .sx-story.is-live - scroll sahnasi
   ═══════════════════════════════════════════════════════════════════════ */
.sx-wrap { width: 100%; max-width: var(--container, 1440px); margin: 0 auto; padding: 0 24px; }

.sx-h2 {
  font-size: clamp(36px, 4.8vw, 68px); font-weight: 900; font-style: italic;
  letter-spacing: -.025em; line-height: 1; overflow-wrap: break-word;
}
.sx-h2 em { color: var(--brand, #E5142B); font-style: inherit; }
.sx-h2--xl { font-size: clamp(40px, 5.9vw, 84px); }
.sx-h2--md { font-size: clamp(27px, 3.4vw, 48px); }

.sx-ramp { line-height: 0; margin-bottom: -1px; pointer-events: none; }
.sx-ramp svg { display: block; width: 100%; height: clamp(58px, 11.4vw, 164px); }
.sx-ramp--ink { background: #1A1714; }

.sx-slash { display: flex; gap: 9px; flex: none; align-self: center; color: #fff; }
.sx-slash i { display: block; width: 15px; height: 64px; background: currentColor; transform: skewX(-22deg); opacity: .45; }
.sx-slash i:nth-child(2) { opacity: .7; }
.sx-slash i:nth-child(3) { opacity: 1; }

.sx-paper { position: relative; display: block; background: #FFFDF8; padding: 4.2%; border-radius: 4px; box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.sx-paper img { display: block; width: 100%; height: auto; }
.sx-paper::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 28%; height: 0; padding-top: 8%;
  background: rgba(243,227,181,.86); transform: translate(-50%, -52%) rotate(-3deg);
}

/* Asl surat butun turadi: 2:3 katak, contain, qiyalik 8% (kiyimga tegmasligi 37 suratda o'lchangan) */
.sx-frame {
  position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #F9F8F6;
  -webkit-clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}
.sx-frame img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }

.sx-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 30px; }
.sx-head__sub { max-width: 820px; margin-top: 12px; font-size: 17px; line-height: 1.5; }
.sx-more { font-size: 15px; font-weight: 700; white-space: nowrap; padding: 8px 0; }
.sx-more:hover { text-decoration: underline; text-underline-offset: 5px; }


/* skrollda yarim shaffof header qizil bo'lim ustida pushti bo'lib qolmasin (tepada o'zgarmaydi) */
.nav.is-scrolled { background: #FFFEFD; }


/* ─────────────── QANDAY ISHLAYDI ─────────────── */
.sx-story { position: relative; scroll-margin-top: var(--nav-h, 72px); }
.sx-story__track { position: relative; background: #E5142B; color: #fff; }
.sx-story__pin { padding: 2px 0 58px; }
.sx-story__in { display: flex; flex-direction: column; }
.sx-eyebrow { margin-bottom: 12px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sx-story__lead { margin-top: 12px; font-size: 19px; line-height: 1.35; }
.sx-story__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; }
.sx-story__txt { min-width: 0; }
.sx-story__go {
  flex: none; margin-bottom: 2px; padding: 15px 26px; background: #fff; color: #E5142B;
  font-size: 18px; line-height: 1.2; font-weight: 900; font-style: italic; white-space: nowrap; transform: skewX(-10deg);
  box-shadow: 0 10px 24px rgba(26,23,20,.18); transition: background-color .2s ease, color .2s ease;
}
.sx-story__go:hover { background: #1A1714; color: #fff; }
.sx-story__go:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.sx-story__end { display: none; }

.sx-scene {
  --s: min(410px, 27.5vw);
  position: relative; width: 100%; margin: 24px 0 30px;
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; justify-items: center; column-gap: 14px;
}
.sx-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; margin: 0; }
.sx-item__v { position: relative; height: var(--s); display: flex; align-items: center; justify-content: center; }
.sx-item--art .sx-paper { z-index: 1; flex: none; width: calc(var(--s) * .62); transform: rotate(-6deg); }
.sx-item--art .sx-paper--yeng {          /* yeng uchun ikkinchi fayl: shablonga shundan nusxa uchadi */
  z-index: 0; position: relative; top: calc(var(--s) * .07); width: calc(var(--s) * .25); margin-left: calc(var(--s) * -.05); transform: rotate(7deg);
}
/* shablon = muharrirdagi SVG (nisbati 1061:1024) */
.sx-item--tpl { z-index: 1; }
.sx-tplbox { position: relative; flex: none; display: block; width: calc(var(--s) * .94); height: calc(var(--s) * .907); }
.sx-tpl { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; transform-origin: 0 0; }
.sx-tpl__base { display: block; width: 100%; height: 100%; }
.sx-tpl__main, .sx-tpl__sl img {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: auto; max-width: none;
  transform: translate(-50%, -50%) rotate(var(--r));
}
.sx-tpl__sl { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.sx-tpl__zone { display: none; }
.sx-story.is-live .sx-tpl { width: var(--tw); height: calc(var(--tw) * .96487); will-change: transform; }
.sx-story.is-live .sx-tpl__zone {        /* muharrirdagi oldi zona: 30 x 21 sm */
  position: absolute; left: 26.19%; top: 27.81%; width: 47.62%; height: 34.54%;
  display: flex; align-items: center; justify-content: center; border: 2px dashed #E5142B; opacity: 0;
}
.sx-tpl__cta {
  display: flex; flex-direction: column; align-items: center; gap: .3em; max-width: 92%; padding: .65em .85em; border-radius: .7em;
  background: #E5142B; color: #fff; font-size: 11px; font-size: max(10px, calc(var(--tw) * .034)); font-style: normal; line-height: 1.15; text-align: center;
}
.sx-tpl__cta svg { width: 1.8em; height: 1.8em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sx-garment { position: relative; display: block; width: calc(var(--s) * .825); height: calc(var(--s) * 1.1); }
.sx-garment img { display: block; width: 100%; height: 100%; }
.sx-scene > .sx-slash { margin-top: calc(var(--s) / 2 - 32px); align-self: start; }
.sx-pill {
  position: relative; background: #fff; color: #1A1714; padding: 9px 22px;
  font-size: 20px; line-height: 1.2; font-weight: 900; font-style: italic; white-space: nowrap; transform: skewX(-10deg);
}

.sx-prog { display: none; }
.sx-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 10px; }
.sx-step { position: relative; padding: 18px 18px 14px; border-top: 2px solid rgba(255,255,255,.34); transition: background-color .3s ease, color .3s ease; }
.sx-step h3 { font: inherit; }
.sx-step__b {
  display: flex; align-items: baseline; gap: 12px; padding: 0; color: inherit; text-align: left;
  font-size: 21px; line-height: 1.2; font-weight: 800; cursor: default;
}
.sx-step__b span { font-size: 34px; line-height: 1; font-weight: 900; font-style: italic; }
.sx-step p { margin-top: 8px; font-size: 15px; line-height: 1.45; }

.sx-fx { display: none; }

/* ── jonli sahna ── */
.sx-story.is-live .sx-story__track, .sx-story.is-pre .sx-story__track { height: calc(100vh + 160vh); height: calc(100svh + 160vh); }
.sx-story.is-pre .sx-story__pin { position: sticky; top: var(--sx-top, 72px); }
.sx-story.is-live .sx-story__pin {
  position: sticky; top: var(--sx-top, 72px); padding: 0; overflow: hidden;
  height: calc(100vh - var(--sx-top, 72px)); height: calc(100svh - var(--sx-top, 72px));
}
.sx-story.is-live .sx-story__in { height: 100%; justify-content: space-between; padding-top: 10px; padding-bottom: 16px; }
.sx-story.is-live .sx-scene { margin: 0; }
.sx-story.is-live .sx-step { cursor: pointer; }
.sx-story.is-live .sx-step__b { cursor: pointer; }
.sx-story.is-live .sx-step::after {
  content: ""; position: absolute; left: 0; top: -2px; width: 100%; height: 2px; background: #fff;
  transform: scaleX(var(--f, 0)); transform-origin: left;
}
.sx-story.is-live .sx-step.is-on { background: #fff; color: #E5142B; }
.sx-story.is-live .sx-item__v, .sx-story.is-live .sx-pill, .sx-story.is-live .sx-scene > .sx-slash i { will-change: transform, opacity; }

.sx-story.is-live .sx-fx { display: block; position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; z-index: 5; }
.sx-fx > * { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.sx-fan { width: calc(var(--s) * .56); height: calc(var(--s) * .84); transform-origin: 50% 50%; }
.sx-fan::after {
  content: ""; position: absolute; left: 0; right: 8%; bottom: -9px; height: 9px; background: var(--c); transform: skewX(-10deg);
}
.sx-fan__ok {
  position: absolute; right: 4%; top: -14px; width: 46px; height: 46px; border-radius: 50%;
  background: #1A1714; display: grid; place-items: center; opacity: var(--ok, 0); transform: scale(var(--ok, 0));
}
.sx-fan__ok svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.sx-fly { width: calc(var(--s) * .62); height: calc(var(--s) * .62); transform-origin: 50% 50%; }
.sx-fly2 { width: calc(var(--s) * .25); transform-origin: 50% 50%; }
.sx-fly2 img { display: block; width: 100%; height: auto; }
.sx-fly > img { position: relative; display: block; width: 100%; height: 100%; }
.sx-fly__sel { position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.sx-fly, .sx-fly2, .sx-cursor, .sx-chip, .sx-press { z-index: 6; }
.sx-fly__sel { border: calc(2px * var(--k, 1)) dashed #fff; outline: calc(1px * var(--k, 1)) solid rgba(26,23,20,.45); opacity: 0; }
.sx-fly__sel i {
  position: absolute; width: calc(13px * var(--k, 1)); height: calc(13px * var(--k, 1));
  background: #fff; border: calc(2px * var(--k, 1)) solid #E5142B; transform: translate(-50%, -50%);
}
.sx-fly__sel i:nth-child(1) { left: 0; top: 0; }
.sx-fly__sel i:nth-child(2) { left: 100%; top: 0; }
.sx-fly__sel i:nth-child(3) { left: 0; top: 100%; }
.sx-fly__sel i:nth-child(4) { left: 100%; top: 100%; }
.sx-cursor { width: 34px; height: 34px; }
.sx-cursor svg { width: 100%; height: 100%; fill: #1A1714; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.sx-chip {
  display: flex; align-items: center; gap: 10px; width: max-content; min-width: 250px; padding: 10px 16px;
  background: #1A1714; color: #fff; font-size: 14px; font-style: normal;
}
.sx-chip svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.sx-chip b { white-space: nowrap; }
.sx-chip i { position: relative; flex: none; width: 52px; height: 5px; background: rgba(255,255,255,.25); overflow: hidden; }
.sx-chip em { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #fff; transform: scaleX(var(--up, 0)); transform-origin: left; }
.sx-press { border: 3px solid #fff; border-radius: 50%; width: 100px; height: 100px; transform-origin: 50% 50%; }
/* «Ko'rish» — editordagi tugmaning o'zi: kursor bosadi, tugma qorayadi, keyin haqiqiy kiyim ochiladi */
.sx-see {
  z-index: 5; display: flex; align-items: center; gap: 8px; padding: 11px 20px 11px 16px; border-radius: 12px;
  background: #fff; color: #1A1714; font-size: 16px; line-height: 1.2; font-style: normal; white-space: nowrap;
  box-shadow: 0 10px 24px rgba(26,23,20,.25); transform-origin: 50% 50%; transition: background-color .15s ease, color .15s ease;
}
.sx-see b { font-weight: 800; }
.sx-see svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sx-see.is-on { background: #1A1714; color: #fff; }


/* ─────────────── TAYYOR DIZAYNLAR ─────────────── */
.sx-ready { background: #1A1714; color: #fff; padding: 2px 0 28px; scroll-margin-top: calc(var(--nav-h, 72px) + 10px); }
.sx-ready .sx-head__sub { color: rgba(255,255,255,.75); }
.sx-ready__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 16px; align-items: start; }
.sx-ready .lcard { width: auto; min-width: 0; color: #fff; }
.sx-ready .lcard__media { aspect-ratio: 1 / 1; border: 0; border-radius: 0; background: #F0ECE7; }
/* Model mockuplari bo'yiga cho'zilgan (2:3, 4:5) — kvadrat kartada boshi kesilmasin: surat TEPADAN
   ko'rsatiladi, pasti (shim) kesiladi; dizayn ko'krakda — ko'rinadi (2026-11-27, egasi A varianti) */
.sx-ready .lcard__media img { object-position: 50% 0; }
.sx-ready .lcard__body { display: flex; flex-direction: column; align-items: flex-start; padding: 0; min-width: 0; }
.sx-ready .lcard__price {
  order: -1; position: relative; z-index: 1; max-width: 100%; margin: -19px 0 11px -5px; padding: 8px 16px;
  background: #E5142B; color: #fff; font-family: inherit; font-size: 16px; font-weight: 900; font-style: italic; transform: skewX(-10deg);
}
.sx-ready .lcard__from { color: inherit; font-size: inherit; font-weight: inherit; }
.sx-ready .lcard__t {
  max-width: 100%; color: #fff; font-size: 22px; line-height: 1.12; font-weight: 900; font-style: italic;
  white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere;
}
.sx-ready .lcard__body > .lcard__t:first-child { margin-top: 0; }
.sx-ready .lcard__by { max-width: 100%; margin-top: 7px; color: rgba(255,255,255,.68); font-size: 13.5px; overflow-wrap: anywhere; }
.sx-up { display: block; min-width: 0; color: #fff; }
.sx-up--2 { grid-column: span 2; }
.sx-up--3 { grid-column: span 3; }
.sx-up__media { display: block; position: relative; height: 0; padding-top: 100%; overflow: hidden; background: #E5142B; }
.sx-up--2 .sx-up__media { padding-top: calc((100% - 16px) / 2); }
.sx-up--3 .sx-up__media { padding-top: calc((100% - 32px) / 3); }
.sx-up__in { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-evenly; }
.sx-up__in > img { height: 100%; width: auto; }
.sx-up__t { display: block; margin-top: 28px; font-size: 22px; line-height: 1.12; font-weight: 900; font-style: italic; }
.sx-up__s { display: block; margin-top: 7px; color: rgba(255,255,255,.68); font-size: 13.5px; line-height: 1.45; }
.sx-drop { width: 62%; max-width: 270px; flex: none; transform: rotate(-5deg); padding: 10px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.sx-up--2 .sx-drop, .sx-up--3 .sx-drop { width: 32%; }
.sx-up:hover .sx-drop { transform: rotate(0deg) scale(1.05); }
.sx-drop__box {
  position: relative; display: block; height: 0; padding: 39% 0;
  border: 3px dashed rgba(229,20,43,.5); border-radius: 4px; color: #E5142B;
}
.sx-drop__box svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; max-width: 40%; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }


/* ─────────────── NIMA BOSSA BO'LADI ─────────────── */
.sx-examples { padding: 78px 0 0; }
.sx-uses { --eh: min(590px, 42vw); --eh: min(590px, 42vw, max(410px, calc(100vh - 226px))); display: flex; margin-top: 34px; }
.sx-use { position: relative; display: block; flex: 1 1 0; min-width: 0; height: var(--eh); margin-left: -5.2%; }
.sx-use:first-child { margin-left: 0; }
.sx-use__bg {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden;
  -webkit-clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%); clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}
.sx-use--yd .sx-use__bg { background: #E5142B; }
.sx-use--nd .sx-use__bg { background: #F5A21C; }
.sx-use--bola .sx-use__bg { background: #BEDDF0; }   /* #BFDDF2 webp'dan o'qilgandagi qiymati: chok bo'lmasin */
.sx-use__bg img {
  position: absolute; left: 50%; top: 2.4%; height: 84%; width: auto; max-width: none;
  transform: translateX(-50%); transform-origin: 50% 100%; transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.sx-use__tag {
  position: absolute; left: 9%; bottom: 2.4%; z-index: 1; max-width: 78%; padding: 9px 20px;
  background: #1A1714; color: #fff; font-size: clamp(17px, 1.85vw, 27px); line-height: 1.2; font-weight: 900; font-style: italic;
  transform: skewX(-10deg); transition: background-color .25s ease, color .25s ease;
}
.sx-use:hover .sx-use__bg img { transform: translateX(-50%) scale(1.035); }
.sx-use:hover .sx-use__tag { background: #fff; color: #E5142B; }


/* ─────────────── MAHSULOT TANLANG ─────────────── */
.sx-products { padding: 74px 0 0; overflow: hidden; }
.sx-goods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.sx-goods--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sx-good { display: flex; flex-direction: column; min-width: 0; color: #1A1714; }
.sx-good__ph {
  position: relative; display: block; height: 0; padding-top: 100%; overflow: hidden;
  background: #fff; border-radius: 14px;
}
.sx-good__ph::after {              /* oq suratning cheti iliq fonda ko'rinsin */
  content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(26,23,20,.09);
}
.sx-good__ph img, .sx-good__pv { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.sx-good__ph img { object-fit: contain; object-position: 50% 100%; }
.sx-good__hov { z-index: 1; display: none; }
.sx-good__pv { z-index: 2; display: block; background-color: #fff; opacity: 0; transition: opacity .18s ease; }
.sx-good.is-pv .sx-good__pv { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .sx-good__hov { display: block; opacity: 0; transition: opacity .3s ease; }
  .sx-good__ph:hover .sx-good__hov { opacity: 1; }
}
.sx-good__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; padding: 15px 2px 0; }
.sx-good__t { min-width: 0; max-width: 100%; font-size: 32px; line-height: 1.1; font-weight: 900; font-style: italic; letter-spacing: -.025em; }
.sx-good__t a { display: block; padding-right: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-good__t a::first-letter, .sx-row__t a::first-letter { text-transform: uppercase; }
.sx-good__price { font-size: 21px; line-height: 1.2; font-weight: 800; white-space: nowrap; }
.sx-good__price small { font-size: 14px; font-weight: 600; color: #625C56; }
.sx-dots { display: flex; flex-wrap: wrap; row-gap: 2px; margin: 12px 0 0 -3px; }
.sx-dot { position: relative; width: 29px; width: var(--dw, min(29px, calc(100% / var(--n, 12)))); height: 29px; flex: none; padding: 0; color: #1A1714; }
.sx-dot::before, .sx-dot::after {
  content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%);
}
.sx-dot::before {
  width: 19px; width: min(19px, calc(100% - 5px)); aspect-ratio: 1;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(128,128,128,.55); transition: transform .2s ease;
}
.sx-dot::after { width: 27px; width: min(27px, calc(100% + 1px)); aspect-ratio: 1; border: 2px solid currentColor; opacity: 0; }
.sx-dot:hover::before { transform: translate(-50%, -50%) scale(1.18); }
.sx-dot[aria-pressed="true"]::after { opacity: 1; }
.sx-good__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 10px 7px 0 2px; }
/* rang nomi uchun joy doim band: tanlansa tugma siljimaydi */
.sx-good__c { flex: 1 1 0; min-width: 0; height: 2.6em; display: flex; flex-direction: column; justify-content: center; font-size: 14px; line-height: 1.3; color: #625C56; }
.sx-good__c b, .sx-good__c span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-good__c b { font-weight: 800; color: #1A1714; }
.sx-good__c b:empty { display: none; }
.sx-good__go {
  position: relative; margin-left: auto; padding: 12px 19px; background: #E5142B; color: #fff;
  font-size: 15px; line-height: 1.2; font-weight: 900; font-style: italic; white-space: nowrap; transform: skewX(-10deg);
}
.sx-good__go:hover { background: #1A1714; }

.sx-rows { margin-top: 62px; }
.sx-row + .sx-row { margin-top: 36px; }
.sx-row__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sx-row__t { min-width: 0; font-size: 22px; line-height: 1.2; font-weight: 900; font-style: italic; letter-spacing: -.02em; white-space: nowrap; }
.sx-row__t a { display: block; padding-right: 3px; overflow: hidden; text-overflow: ellipsis; }
.sx-row__n { font-size: 13px; color: #625C56; white-space: nowrap; }
.sx-row__line { flex: 1 1 12px; height: 1px; background: rgba(26,23,20,.17); }
.sx-row__all { flex: none; padding: 8px 0; font-size: 14px; font-weight: 700; white-space: nowrap; }
.sx-row__all:hover, .sx-row__t a:hover, .sx-good__t a:hover { color: #E5142B; }
.sx-row .cat-row__viewport { margin: 0; }
.sx-row .cat-row__grid { gap: 16px; }
.sx-tile { flex: 0 0 calc((100% - 64px) / 5); min-width: 148px; scroll-snap-align: start; color: #1A1714; }
.sx-tile__ph { position: relative; display: block; height: 0; padding-top: 125%; overflow: hidden; border-radius: 12px; background-color: #fff; }
.sx-tile__ph::after {
  content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(26,23,20,.09); pointer-events: none;
}
.sx-tile__ph img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.sx-tile__c { display: flex; align-items: center; gap: 7px; margin-top: 9px; font-size: 14px; line-height: 1.25; font-weight: 600; }
.sx-tile__c i { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(128,128,128,.55); }
.sx-tile:hover .sx-tile__c { color: #E5142B; }
/* strelka: doim ko'rinadi (chekkada o'zi yashirinadi), rasm o'rtasida; qora — qizil faqat ustiga kelganda */
.sx-row .cat-row__arrow {
  top: calc((100% - 34px) / 2); width: 54px; height: 54px; border: 0; opacity: 1;
  background: #1A1714; color: #fff; box-shadow: 0 8px 22px rgba(26,23,20,.28);
  transition: opacity .25s ease, transform .25s cubic-bezier(.2,.8,.2,1), background-color .2s ease, box-shadow .2s ease;
}
.sx-row .cat-row__arrow svg { width: 24px; height: 24px; stroke-width: 3; }
.sx-row .cat-row__arrow--prev { left: -24px; }
.sx-row .cat-row__arrow--next { right: -24px; }
.sx-row .cat-row__arrow:hover { background: #E5142B; box-shadow: 0 8px 22px rgba(229,20,43,.35); }
.sx-row .cat-row__arrow:focus-visible { outline: 3px solid #E5142B; outline-offset: 3px; }
.sx-good a:focus-visible, .sx-row a:focus-visible, .sx-dot:focus-visible { outline: 3px solid #1A1714; outline-offset: 2px; }
.sx-good__ph:focus-visible { outline-offset: -3px; }

.cathub + .sx-products { padding-top: 18px; }
.sx-products + .sx-ramp, .sx-products + .sx-story > .sx-ramp { padding-top: 18px; }
.sx-ribbon { height: clamp(38px, 5.2vw, 74px); margin-top: 62px; overflow: hidden; }
.sx-ribbon__in { display: flex; height: 100%; width: 300%; will-change: transform; }
.sx-ribbon__in i { flex: 1 1 0; margin: 0 -1px; transform: skewX(-24deg); }


/* ─────────────── YETKAZISH + ISHONCH ─────────────── */
.sx-gap { height: 18px; }
.sx-deliv { background: #E5142B; color: #fff; padding: 0 0 62px; }
.sx-deliv--joined { padding-top: 48px; border-top: 2px solid rgba(255,255,255,.3); }
.sx-deliv__top { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); align-items: center; gap: 24px 44px; }
.sx-n {
  font-size: clamp(140px, 18.8vw, 270px); line-height: .86; font-weight: 900; font-style: italic;
  letter-spacing: -.045em; padding-right: 14px; font-variant-numeric: tabular-nums;
}
.sx-deliv__num .sx-h2 { margin-top: 18px; line-height: 1.04; }
.sx-map { display: block; width: 100%; height: auto; overflow: visible; }
.sx-map path { fill: none; stroke: #fff; stroke-width: 11; stroke-linecap: round; }
.sx-map text {
  fill: #fff; stroke: #E5142B; stroke-width: 7; stroke-linejoin: round; paint-order: stroke;
  font-size: 29px; font-weight: 800; font-style: italic;
}
.sx-map__pulse { fill: none; stroke: #fff; stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.sx-trust { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 22px; margin-top: 38px; }
.sx-trust li { padding-top: 18px; border-top: 2px solid rgba(255,255,255,.34); }
.sx-trust b { display: block; font-size: 22px; line-height: 1.15; font-weight: 900; font-style: italic; }
.sx-trust p { margin-top: 6px; font-size: 15px; line-height: 1.45; }


/* ─────────────── CTA ─────────────── */
.sx-cta { position: relative; background: #1A1714; color: #fff; overflow: hidden; }
.sx-cta__in { position: relative; min-height: 440px; padding-top: 82px; padding-bottom: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.sx-cta__text { max-width: 860px; min-width: 0; }
.sx-cta .sx-h2 { font-size: clamp(36px, 5.4vw, 78px); }
.sx-cta__text p { margin: 22px 0 30px; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.5; }
.sx-cta__b {
  position: relative; display: inline-block; overflow: hidden; padding: 17px 34px; background: #E5142B; color: #fff;
  font-size: 18px; line-height: 1.2; font-weight: 900; font-style: italic; transform: skewX(-10deg);
}
.sx-cta__b::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -45%; width: 26%;
  background: rgba(255,255,255,.26); transform: skewX(-18deg); transition: left .55s ease;
}
.sx-cta__b:hover::before { left: 120%; }
.sx-cta__b span { position: relative; }
.sx-bull { flex: none; width: clamp(190px, 22vw, 310px); }
.sx-bull__tilt { transform-origin: 50% 92%; }
.sx-bull img { display: block; width: 100%; height: auto; transform-origin: 50% 100%; }


/* ─────────────── FOOTER (faqat bosh sahifa) ─────────────── */
.footer { background: #12100E; border-top: 0; color: #fff; }
.footer__logo { filter: brightness(0) invert(1); }
.footer__brand p, .footer__col a, .footer__bottom, .footer__legal a { color: rgba(255,255,255,.7); }
.footer__col h4 { color: #fff; }
.footer__col a:hover, .footer__legal a:hover { color: #fff; }
.footer__bottom { border-top-color: rgba(255,255,255,.15); }
.footer__social a { color: #fff; border-color: rgba(255,255,255,.28); }


/* ─────────────── HARAKAT (faqat JS yoqqanda) ─────────────── */
html.sx-motion [data-in] { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
html.sx-motion [data-in="stagger"] { opacity: 1; transform: none; }
html.sx-motion [data-in="stagger"] > * { opacity: 0; translate: -26px 24px; transition: opacity .65s ease, translate .85s cubic-bezier(.2,.8,.2,1); }
html.sx-motion [data-in].is-in { opacity: 1; transform: none; }
html.sx-motion [data-in="stagger"].is-in > * { opacity: 1; translate: 0 0; }
html.sx-motion [data-in="stagger"].is-in > :nth-child(2) { transition-delay: .12s; }
html.sx-motion [data-in="stagger"].is-in > :nth-child(3) { transition-delay: .24s; }
html.sx-motion [data-in="stagger"].is-in > :nth-child(4) { transition-delay: .36s; }

html.sx-motion [data-deliv] .sx-map path { stroke-width: 0; opacity: 0; }
html.sx-motion [data-deliv] .sx-map text { opacity: 0; transition: opacity .5s ease; }
html.sx-motion [data-deliv].is-in .sx-map text { opacity: 1; transition-delay: calc(var(--i) * 120ms + 500ms); }
html.sx-motion [data-deliv]:not(.is-in) .sx-n { opacity: 0; }
html.sx-motion [data-deliv].is-in .sx-map path { animation: sxDot .75s cubic-bezier(.2,.9,.3,1) forwards; animation-delay: calc(var(--i) * 120ms + 150ms); }
html.sx-motion [data-deliv].is-in .sx-map__pulse { animation: sxPulse 2.6s ease-out .2s 3; }
@keyframes sxDot { 0% { stroke-width: 0; opacity: 0; } 55% { stroke-width: 19; opacity: 1; } 100% { stroke-width: 11; opacity: 1; } }
@keyframes sxPulse { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(5); } }

html.sx-motion .sx-bull.is-in img { animation: sxBreath 3.4s ease-in-out infinite; }
@keyframes sxBreath { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.012, .985); } }


/* ─────────────── O'LCHAMLAR ─────────────── */
@media (max-width: 1190px) {
  .sx-pill { font-size: 16px; padding: 8px 14px; }
  .sx-see { gap: 7px; padding: 9px 16px 9px 13px; font-size: 14px; }
  .sx-see svg { width: 18px; height: 18px; }
  .sx-scene { column-gap: 6px; }
  .sx-slash { gap: 5px; }
  .sx-slash i { width: 8px; height: 42px; }
  .sx-scene > .sx-slash { margin-top: calc(var(--s) / 2 - 21px); }
  .sx-step { padding: 14px 10px 12px; }
  .sx-step__b { font-size: 17px; gap: 8px; }
  .sx-step__b span { font-size: 28px; }
  .sx-step p { font-size: 13.5px; }
  .sx-goods { gap: 24px 16px; }
  .sx-goods--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-good__t { font-size: 25px; }
  .sx-good__price { font-size: 17px; }
  .sx-good__price small { font-size: 12px; }
  .sx-good__go { padding: 10px 13px; font-size: 13px; }
  .sx-tile { flex-basis: calc((100% - 48px) / 4); }
  .sx-trust b { font-size: 19px; }
  .sx-trust p { font-size: 13.5px; }
}

@media (min-width: 761px) and (max-width: 1190px) {
  .sx-dot { width: var(--dw, 29px); }   /* tor karta: nuqta kichraymaydi, teng qatorlarga tushadi */
}

/* is-tight: JS o'lchab qo'yadi, faqat /// shablon yengiga tegadigan ekranda */
@media (min-width: 1191px) {
  .sx-story.is-tight .sx-scene > .sx-slash { width: 63px; justify-content: center; gap: 5px; margin-top: calc(var(--s) / 2 - 21px); }   /* eni o'sha: ustunlar surilmaydi */
  .sx-story.is-tight .sx-scene > .sx-slash i { width: 8px; height: 42px; }
}
@media (min-width: 761px) and (max-width: 1190px) {
  .sx-story.is-tight .sx-tplbox { width: calc(var(--s) * .86); height: calc(var(--s) * .8298); }
  .sx-story.is-tight .sx-scene > .sx-slash { width: 34px; justify-content: center; gap: 4px; margin-top: calc(var(--s) / 2 - 16px); }
  .sx-story.is-tight .sx-scene > .sx-slash i { width: 6px; height: 32px; }
}

@media (min-width: 761px) and (max-width: 1190px) and (max-aspect-ratio: 9/10) {
  /* tik planshet: sarlavha, sahna va qadamlar bir-biridan uzilib qolmasin */
  .sx-story.is-live .sx-story__in { justify-content: center; }
  .sx-story.is-live .sx-story__head { margin-bottom: 5vh; }
  .sx-story.is-live .sx-story__foot { margin-top: 5vh; }
}

@media (max-height: 800px) and (min-width: 761px) {
  .sx-story.is-live .sx-eyebrow { margin-bottom: 6px; }
  .sx-story.is-live .sx-h2--xl { font-size: clamp(36px, 7.4vh, 58px); }
  .sx-story.is-live .sx-story__lead { margin-top: 5px; font-size: 16px; }
  .sx-story.is-live .sx-story__go { padding: 12px 20px; font-size: 16px; }
  .sx-story.is-live .sx-step { padding-top: 10px; padding-bottom: 9px; }
  .sx-story.is-live .sx-step p { margin-top: 4px; font-size: 13.5px; }
  .sx-story.is-live .sx-pill { font-size: 15px; padding: 6px 14px; }
}

@media (max-width: 900px) {
  .sx-ready__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .sx-ready .lcard__price { margin: -15px 0 8px -3px; padding: 6px 9px; font-size: 12.5px; }
  .sx-ready .lcard__t, .sx-up__t { font-size: 17px; }
  .sx-ready .lcard__by, .sx-up__s { margin-top: 5px; font-size: 12px; }
  .sx-up__t { margin-top: 22px; }
  .sx-up--3 { grid-column: span 1; }
  .sx-up--3 .sx-up__media { padding-top: 100%; }
  .sx-up--2 .sx-up__media { padding-top: calc((100% - 10px) / 2); }
  .sx-up--3 .sx-up__in > img, .sx-up--3 .sx-slash { display: none; }
  .sx-up--3 .sx-drop { width: 62%; }
  .sx-drop { padding: 7px; }

  .sx-examples { padding-top: 44px; }
  .sx-uses { display: block; margin-top: 20px; }
  .sx-use { height: 264px; margin: 0 0 10px; }
  .sx-use:first-child { margin-left: 0; }
  .sx-use__bg { -webkit-clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); }
  .sx-use__bg img { left: auto; right: 5%; top: 2%; height: 96%; transform: none; }
  .sx-use:hover .sx-use__bg img { transform: scale(1.025); }
  .sx-use:nth-child(2) .sx-use__bg img { right: auto; left: 5%; }
  .sx-use__tag { left: 18px; top: 18px; bottom: auto; max-width: 48%; padding: 8px 13px; font-size: 17px; }
  .sx-use:nth-child(2) .sx-use__tag { left: auto; right: 14px; }
}

@media (max-width: 760px) {
  .sx-wrap { padding: 0 16px; }
  .sx-head { margin-bottom: 18px; }
  .sx-head__sub { margin-top: 8px; font-size: 14px; }
  .sx-more { margin: -4px 0; padding: 12px 0; font-size: 13px; }

  .sx-eyebrow { margin-bottom: 7px; font-size: 10.5px; }
  .sx-h2--xl { font-size: clamp(35px, 10.8vw, 46px); }
  .sx-story__lead { margin-top: 7px; font-size: 15px; }
  .sx-story__head { gap: 12px; }
  .sx-story__go { margin: 0 0 0 4px; padding: 12px 18px; font-size: 14px; }   /* barmoq uchun 44 px atrofida */
  .sx-story.is-live .sx-story__head .sx-story__go, .sx-story.is-pre .sx-story__head .sx-story__go { display: none; }
  .sx-story.is-live .sx-story__end, .sx-story.is-pre .sx-story__end { display: block; padding: 4px 0 30px; background: #E5142B; }
  .sx-story__end .sx-story__go { display: inline-block; }
  .sx-story__pin { padding-bottom: 36px; }
  .sx-scene { --s: min(340px, calc(88vw - 28px)); display: block; height: var(--s); margin: 18px 0 22px; }
  .sx-scene > .sx-slash { display: none; }
  .sx-item { position: absolute; gap: 0; }
  .sx-item--art, .sx-item--tpl { left: 0; width: min(calc(var(--s) * .37), 31vw); }
  .sx-item--art { top: 4%; }
  .sx-item--tpl { bottom: 0; }
  .sx-item--art .sx-item__v, .sx-item--tpl .sx-item__v { width: 100%; height: auto; }
  .sx-item--art .sx-paper { width: 70%; }
  .sx-item--art .sx-paper--yeng { width: 34%; margin-left: -4%; top: calc(var(--s) * .035); }
  .sx-item--art .sx-item__v { padding-bottom: calc(var(--s) * .04); }
  .sx-tplbox { width: min(calc(var(--s) * .37), 31vw); height: calc(min(calc(var(--s) * .37), 31vw) * .96487); }
  .sx-item--wear { right: -6px; top: 0; }
  .sx-item--wear .sx-item__v { height: var(--s); }
  .sx-garment { width: calc(var(--s) * .75); height: var(--s); }
  .sx-pill { margin-top: 6px; padding: 5px 7px; font-size: 10.5px; }
  .sx-item--wear .sx-pill { position: absolute; bottom: -8px; margin: 0; }

  .sx-steps { grid-template-columns: 1fr 1fr; gap: 4px 8px; }
  .sx-step { padding: 12px 4px 10px 0; }
  .sx-step__b { font-size: 15px; gap: 7px; }
  .sx-step__b span { font-size: 23px; }
  .sx-step p { margin-top: 5px; font-size: 12.5px; }

  .sx-story.is-live .sx-story__track, .sx-story.is-pre .sx-story__track { height: calc(100vh + 145vh); height: calc(100svh + 145vh); }
  .sx-story.is-live .sx-prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
  .sx-prog i { position: relative; height: 4px; background: rgba(255,255,255,.3); overflow: hidden; }
  .sx-prog em { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #fff; transform: scaleX(var(--f, 0)); transform-origin: left; }
  .sx-story.is-live .sx-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sx-story.is-live .sx-step {
    grid-area: 1 / 1; padding: 12px 14px; border: 0; opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
  }
  .sx-story.is-live .sx-step::after { display: none; }
  .sx-story.is-live .sx-step.is-on { z-index: 1; opacity: 1; pointer-events: auto; }
  .sx-story.is-live .sx-step__b { font-size: 20px; }
  .sx-story.is-live .sx-step p { font-size: 14px; }
  .sx-chip { min-width: 0; width: 38%; max-width: 160px; flex-wrap: wrap; gap: 5px 6px; padding: 7px 8px; font-size: 10px; }
  .sx-chip svg { width: 14px; height: 14px; }
  .sx-chip b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sx-chip i { flex: 0 0 100%; }
  .sx-fan__ok { width: 34px; height: 34px; top: -10px; }
  .sx-fan__ok svg { width: 18px; height: 18px; }
  .sx-cursor { width: 26px; height: 26px; }
  .sx-see { gap: 5px; padding: 7px 12px 7px 10px; border-radius: 9px; font-size: 12.5px; box-shadow: 0 6px 16px rgba(26,23,20,.3); }
  .sx-see svg { width: 15px; height: 15px; }

  .sx-products { padding-top: 42px; }
  /* telefon: katta karta suriladi, keyingisi chetdan ko'rinib turadi */
  .sx-goods, .sx-goods--4 {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px;
    margin: 0 -16px; padding: 2px 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
    scrollbar-width: none;
  }
  .sx-goods::-webkit-scrollbar { display: none; }
  .sx-good { scroll-snap-align: start; }
  .sx-good__top { padding-top: 12px; }
  .sx-good__t { font-size: 25px; }
  .sx-good__price { font-size: 17px; }
  .sx-dots { row-gap: 0; margin-top: 10px; }
  .sx-dot { height: 40px; margin: -4px 0; }    /* barmoq maydoni baland, ko'rinish o'sha */
  .sx-good__c { font-size: 12.5px; }
  .sx-good__go { padding: 11px 13px; font-size: 13px; }
  .sx-good__go::after { content: ""; position: absolute; left: 0; right: 0; top: -5px; bottom: -5px; }
  .sx-rows { margin-top: 36px; }
  .sx-row + .sx-row { margin-top: 26px; }
  .sx-row__head { gap: 8px; margin-bottom: 8px; }
  .sx-row__t { font-size: 18px; }
  .sx-row__n { font-size: 11.5px; }
  .sx-row__all { padding: 12px 0; font-size: 12.5px; }
  .sx-row .cat-row__grid { gap: 10px; }
  .sx-tile { flex-basis: calc((100% - 10px) / 2.15); min-width: 0; }
  .sx-tile__c { font-size: 12.5px; }
  .sx-ribbon { margin-top: 34px; }

  .sx-deliv { padding-bottom: 38px; }
  .sx-deliv__top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sx-n { font-size: clamp(124px, 39vw, 160px); }
  .sx-map path { stroke-width: 13; }
  .sx-map text { font-size: 36px; }
  .sx-trust { grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
  .sx-trust li { padding: 11px 0; }
  .sx-trust b { font-size: 18px; }
  .sx-trust p { margin-top: 3px; font-size: 13.5px; }

  .sx-cta__in { display: block; min-height: 0; padding-top: 42px; padding-bottom: 18px; }
  .sx-cta__text p { margin: 14px 0 22px; font-size: 15px; }
  .sx-cta__b { padding: 15px 22px; font-size: 16px; }
  .sx-bull { width: 178px; margin: 14px 8px 0 auto; }
}

@media (max-width: 760px) and (max-height: 620px) {
  /* past telefon: yorliq shablon ustiga tushmasin, uzun tugma matni zonaga sigsin */
  .sx-tpl__cta { gap: .15em; max-width: 98%; padding: .3em .3em; }
  .sx-tpl__cta svg { width: 1.3em; height: 1.3em; }
  .sx-story.is-live .sx-item--art { top: -4px; }
  .sx-story.is-live .sx-tplbox { width: min(calc(var(--s) * .34), 28vw); height: calc(min(calc(var(--s) * .34), 28vw) * .96487); }
}

@media (max-width: 380px) {
  /* tor telefon: yorliq kiyim ustiga tushmasin */
  .sx-use { height: 274px; }
  .sx-use__bg img, .sx-use:nth-child(2) .sx-use__bg img { top: 21%; height: 77%; }
}

@media (max-width: 359px) {
  .sx-h2 { font-size: 32px; }
  .sx-pill { font-size: 9px; padding: 4px 5px; }
  .sx-see { padding: 6px 10px 6px 8px; font-size: 11.5px; }
  .sx-good__t { font-size: 22px; }
  .sx-row__line { min-width: 0; }
  .sx-use__tag { font-size: 14px; }
  .sx-row__n { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sx-use__bg img, .sx-drop, .sx-cta__b::before, .sx-good__pv, .sx-good__hov { transition: none; }
}
