/* Tex.az Y3 — the new design (sayt.md › Y3). Clean, functional; tex.az yellow + graphite; Onest (ə, Cyrillic, ₼). */
:root {
  --ink: #18181b;
  --ink-2: #3f3f46;
  --muted: #71717a;
  --line: #e7e5e0;
  --bg: #fbfaf8;
  --soft: #f2f1ed;
  --card: #ffffff;
  --yellow: #f5df4c;
  --accent: #5b5bd6;          /* soft indigo: links, focus, small accents */
  --accent-soft: #ecebfb;
  --coral: #e5603c;           /* deal / discount */
  --coral-soft: #fdebe5;
  --green: #18794e;
  --wa: #1fa855;
  /* category tints, cycled by position */
  --t0: #e6eefb; --t1: #efe8fa; --t2: #e3f3ea; --t3: #fcece3; --t4: #eef1e2; --t5: #fbf3d6;
  --r: 20px;
  --r-sm: 12px;
  --gut: 16px;
  --font: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 1px 2px rgba(24,24,27,.04), 0 12px 32px -12px rgba(24,24,27,.14);
}
@media (min-width: 1000px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; font: 400 15px/1.5 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
svg { flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 100; background: var(--yellow); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tint-0 { background: var(--t0); } .tint-1 { background: var(--t1); } .tint-2 { background: var(--t2); }
.tint-3 { background: var(--t3); } .tint-4 { background: var(--t4); } .tint-5 { background: var(--t5); }
.wrap { max-width: 1312px; margin: 0 auto; padding: 0 var(--gut); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid transparent; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--glass { background: rgba(255,255,255,.7); border-color: rgba(24,24,27,.08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--glass:hover { background: #fff; }
.btn--glass svg { color: var(--wa); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #18914a; }
.btn--block { width: 100%; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; }
.icon-btn:hover { background: var(--soft); }

/* Language links */
.langs { display: inline-flex; gap: 2px; }
.langs a { padding: 2px 7px; border-radius: 6px; font-weight: 500; color: var(--muted); }
.langs a[aria-current] { color: var(--ink); background: #fff; }
.topbar .langs a { color: #a1a1aa; }
.topbar .langs a[aria-current] { color: var(--ink); }
.langs--dark a { color: #a7a7ad; }
.langs--dark a[aria-current] { color: var(--ink); background: #fff; }

/* Top bar */
.topbar { background: var(--ink); color: #d4d4d8; font-size: 13px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__right { display: flex; align-items: center; gap: 16px; }
.topbar__wa { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.topbar__wa:hover { color: #fff; }
@media (max-width: 999px) {
  .topbar__wa { display: none; }
  .topbar__text { font-size: 12px; }
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo__mark { width: 34px; height: 24px; fill: var(--yellow); }
.logo__word { font-weight: 700; font-size: 24px; letter-spacing: -.02em; line-height: 1; color: var(--ink); }
.logo--light .logo__word { color: #fff; }

/* Header */
.hd { position: sticky; top: 0; z-index: 30; background: rgba(251,250,248,.86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.hd__bar { display: grid; grid-template-columns: auto auto 1fr auto; grid-template-areas: 'burger logo . actions' 'search search search search';
  align-items: center; column-gap: 8px; row-gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.hd__burger { grid-area: burger; display: grid; place-items: center; width: 40px; height: 40px; margin-left: -8px; border: 0; background: none; border-radius: 50%; }
.hd .logo { grid-area: logo; }
.search { grid-area: search; position: relative; display: flex; }
.search input { width: 100%; height: 46px; padding: 0 52px 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: #8d8d93; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search button { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ink); color: #fff; }
.hd__actions { grid-area: actions; display: flex; gap: 4px; }
.hd__btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; border-radius: 999px; font-weight: 500; }
.hd__btn:hover { background: var(--soft); }
.hd__btn span { display: none; }
.hd__btn--wa svg { color: var(--wa); }
.badge { position: absolute; top: 2px; left: 26px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.badge[hidden] { display: none; }
@media (min-width: 1000px) {
  .hd__bar { grid-template-columns: auto 1fr auto; grid-template-areas: 'logo search actions'; column-gap: 32px; padding-top: 14px; padding-bottom: 14px; }
  .hd__burger { display: none; }
  .search { max-width: 720px; }
  .search input { height: 50px; }
  .search button { width: 42px; height: 42px; }
  .hd__btn { padding: 0 14px; }
  .hd__btn span { display: inline; }
  .badge { left: 28px; }
}

/* Category nav: chips that scroll on phones, a row with a dropdown on computers */
.cats { position: relative; }
.cats__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 10px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); }
.cats__list::-webkit-scrollbar { display: none; }
.cats__link { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: 14px; white-space: nowrap; }
.cats__link:hover { background: #ebebe6; }
.cats__link--hot { background: var(--accent-soft); color: #3e3eb0; }
.cats__link--hot:hover { background: #dedcf8; }
.mega { display: none; }
@media (min-width: 1000px) {
  .cats__list { overflow: visible; margin: 0; padding: 0; gap: 4px; }
  .cats__item { position: static; padding-bottom: 12px; }
  .cats__link { height: 36px; padding: 0 16px; background: none; border-color: transparent; font-size: 15px; }
  .cats__item:hover > .cats__link, .cats__item:focus-within > .cats__link { background: var(--soft); }
  .cats__link--hot { background: var(--accent-soft); }
  .mega { display: block; position: absolute; left: var(--gut); right: var(--gut); top: 100%; visibility: hidden; opacity: 0; transform: translateY(-4px);
    transition: opacity .15s ease .12s, transform .15s ease .12s, visibility 0s linear .27s; }
  @media (hover: hover) { .cats__item:hover > .mega { visibility: visible; opacity: 1; transform: none; transition-delay: .06s, .06s, 0s; } }
  .cats__item:focus-within > .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .mega__in { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px 32px; padding: 28px 32px 32px; background: #fff;
    border: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r); box-shadow: 0 24px 48px -24px rgba(0,0,0,.25); }
  .mega__title { font-weight: 600; margin-bottom: 8px; }
  .mega__col li a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; color: var(--ink-2); }
  .mega__col li a:hover { color: var(--ink); text-decoration: underline; }
  .mega__col small { color: var(--muted); }
}

/* Phone menu */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(23,23,26,.45); }
.drawer[hidden] { display: none; }
.drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(380px, 88vw); overflow-y: auto; background: #fff; padding: 12px var(--gut) 24px; display: flex; flex-direction: column; gap: 12px; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.drawer__label { font-size: 13px; color: var(--muted); margin-top: 8px; }
.drawer__menu > li { border-bottom: 1px solid var(--line); }
.drawer__menu summary { display: flex; align-items: center; gap: 8px; padding: 14px 0; font-weight: 600; font-size: 17px; list-style: none; cursor: pointer; }
.drawer__menu summary::-webkit-details-marker { display: none; }
.drawer__menu summary small { color: var(--muted); font-weight: 400; font-size: 13px; }
.drawer__menu summary svg { margin-left: auto; transition: transform .2s; }
.drawer__menu details[open] summary svg { transform: rotate(180deg); }
.drawer__sub { font-size: 13px; color: var(--muted); margin: 4px 0 2px; }
.drawer__menu details ul { padding-bottom: 8px; }
.drawer__menu details li a { display: flex; justify-content: space-between; padding: 8px 0; }
.drawer__menu details li small { color: var(--muted); }
.drawer__more a { display: block; padding: 8px 0; color: var(--ink-2); }
.langs--drawer { background: var(--soft); border-radius: 999px; padding: 4px; align-self: flex-start; }
.langs--drawer a { padding: 6px 14px; border-radius: 999px; }

/* Sections */
main { display: block; padding-bottom: 24px; }
.sec { margin-top: 40px; }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sec__title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.sec__all { display: inline-flex; align-items: center; gap: 2px; font-weight: 500; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.sec__all:hover { color: var(--ink); }
@media (min-width: 1000px) {
  .sec { margin-top: 64px; }
  .sec__title { font-size: 30px; }
  .sec__head { margin-bottom: 22px; }
}

/* Hero: one soft colour field — text on the left, today's deal as a glass card on the right, product bubbles behind it */
.hero { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 18px; margin-top: 16px; padding: 26px 16px 16px; border-radius: var(--r);
  background:
    radial-gradient(55% 65% at 8% 12%, #d9d0ff 0, rgba(217,208,255,0) 72%),
    radial-gradient(50% 60% at 95% 5%, #c9e4ff 0, rgba(201,228,255,0) 72%),
    radial-gradient(55% 65% at 80% 100%, #ffd6c2 0, rgba(255,214,194,0) 72%),
    radial-gradient(45% 55% at 5% 100%, #cdeedb 0, rgba(205,238,219,0) 72%),
    #f4f1ec;
  background-size: 140% 140%; animation: y3-drift 18s ease-in-out infinite alternate; }
@keyframes y3-drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
@keyframes y3-float { from { transform: translateY(-8px); } to { transform: translateY(8px); } }
.hero__main { display: flex; flex-direction: column; gap: 16px; padding: 0 4px; }
.hero__title { font-size: 34px; line-height: 1.05; font-weight: 700; letter-spacing: -.035em; max-width: 13ch; }
.hero__text { font-size: 16px; color: var(--ink-2); max-width: 46ch; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.hero__cats a { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.9); transition: background .15s, transform .15s; }
.hero__cats a:hover { background: #fff; transform: translateY(-1px); }
.hero__cats small { color: var(--muted); font-size: 12px; }
.hero__art { display: none; }
.hero .deal { position: relative; z-index: 2; background: rgba(255,255,255,.82); border-color: rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }

.deal { display: grid; grid-template-columns: 120px 1fr; grid-template-areas: 'top top' 'img brand' 'img name' 'img text' 'buy buy' 'cd cd';
  column-gap: 14px; row-gap: 2px; align-content: start; padding: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.deal__top { grid-area: top; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.chip--deal { background: var(--coral-soft); color: #b8411f; }
.chip--deal::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); animation: y3-pulse 1.6s ease-in-out infinite; }
@keyframes y3-pulse { 50% { opacity: .3; } }
.chip--new { background: var(--accent-soft); color: #3e3eb0; }
.deal__day { font-size: 13px; color: var(--muted); }
.deal__img { grid-area: img; display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r-sm); background: var(--soft); overflow: hidden; }
.deal__img img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.deal:hover .deal__img img { transform: scale(1.04); }
.deal__brand { grid-area: brand; font-size: 12px; color: var(--muted); align-self: end; }
.deal__name { grid-area: name; font-size: 16px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.deal__name a:hover { text-decoration: underline; }
.deal__text { grid-area: text; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.deal__buy { grid-area: buy; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 14px; }
.deal__prices { display: flex; flex-direction: column; }
.deal__prices s { font-size: 14px; color: var(--muted); }
.deal__prices strong { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.deal--on .deal__prices strong { color: var(--coral); }
.deal__save { font-size: 13px; font-weight: 600; color: var(--green); }
.deal__inst { font-size: 13px; color: var(--muted); }
.deal__buy .btn { height: 46px; padding: 0 18px; }
.deal__cd { grid-area: cd; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.deal__cd b { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; margin-left: 4px; }
@media (min-width: 1000px) {
  .hero { grid-template-columns: 1fr 400px; gap: 56px; align-items: center; margin-top: 20px; padding: 40px 48px 40px 64px; min-height: 540px; }
  .hero__main { gap: 22px; padding: 0; }
  .hero__title { font-size: 58px; }
  .hero__text { font-size: 18px; }
  .hero__art { display: block; position: absolute; z-index: 1; inset: 0; pointer-events: none; }
  .hero__art span { position: absolute; display: grid; place-items: center; border-radius: 50%; background: #fff;
    box-shadow: 0 30px 60px -28px rgba(60,50,120,.35); animation: y3-float 7s ease-in-out infinite alternate; }
  .hero__art img { width: 70%; height: 70%; object-fit: contain; mix-blend-mode: multiply; }
  .hero__art span:nth-child(1) { width: 170px; height: 170px; right: 400px; top: -26px; animation-delay: -2s; }
  .hero__art span:nth-child(2) { width: 140px; height: 140px; right: 410px; bottom: -20px; }
  .hero__art span:nth-child(3) { width: 120px; height: 120px; right: -24px; top: 34%; animation-delay: -4s; }
  .hero__art span:nth-child(4) { width: 110px; height: 110px; right: 470px; top: 40%; animation-delay: -1s; opacity: .9; }
  .hero__art span:nth-child(5) { display: none; }
  .deal { grid-template-columns: 1fr; grid-template-areas: 'top' 'img' 'brand' 'name' 'text' 'buy' 'cd'; padding: 20px; }
  .deal__img { margin-bottom: 12px; aspect-ratio: 4 / 3; }
  .deal__name { font-size: 18px; }
  .deal__prices strong { font-size: 32px; }
}


/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; isolation: isolate; display: flex; flex-direction: column; background: var(--soft); transition: transform .2s, box-shadow .2s; border-radius: var(--r); overflow: hidden; min-height: 150px; }
.tile__link { display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 0; }
.tile__link::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.tile__name { font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.tile__count { font-size: 13px; color: var(--muted); }
.tile__img { position: absolute; right: -6%; bottom: -8%; width: 62%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; z-index: -1; transition: transform .25s; pointer-events: none; }
.tile__subs { display: none; }
.tile.tint-0 { background: var(--t0); } .tile.tint-1 { background: var(--t1); } .tile.tint-2 { background: var(--t2); }
.tile.tint-3 { background: var(--t3); } .tile.tint-4 { background: var(--t4); } .tile.tint-5 { background: var(--t5); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile:hover .tile__img { transform: scale(1.06); }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .tile { min-height: 300px; }
  .tile__link { padding: 18px 18px 0; }
  .tile__name { font-size: 19px; }
  .tile__img { width: 62%; right: -8%; bottom: -8%; }
  .tile__subs { display: flex; flex-direction: column; gap: 2px; position: relative; z-index: 1; padding: 10px 18px 0; font-size: 13px; color: var(--ink-2); max-width: 75%; }
  .tile__subs a { position: relative; z-index: 1; }
  .tile__subs a:hover { text-decoration: underline; }
}

/* Product rows: native horizontal scroll, arrows on computers */
.y-row { position: relative; }
.y-row__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 10px) / 2.15); gap: 10px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 4px; scroll-padding: 0 var(--gut); }
.y-row__track::-webkit-scrollbar { display: none; }
.y-row__cell { scroll-snap-align: start; display: flex; }
.y-row__nav { position: absolute; top: 34%; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; box-shadow: 0 6px 18px -8px rgba(0,0,0,.3); z-index: 2; }
.y-row__nav[hidden] { display: none; }
.y-row__nav--prev { left: -12px; }
.y-row__nav--next { right: -12px; }
@media (max-width: 999px) { .y-row__nav { display: none !important; } }
@media (min-width: 700px) { .y-row__track { grid-auto-columns: calc((100% - 30px) / 3.3); } }
@media (min-width: 1000px) { .y-row__track { grid-auto-columns: calc((100% - 64px) / 5); gap: 16px; margin: -12px -12px -24px; padding: 12px 12px 24px; scroll-padding: 0 12px; } }

/* Product card */
.pc { position: relative; display: flex; flex-direction: column; width: 100%; }
.pc__media { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--soft); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s; }
.pc:hover .pc__media { box-shadow: var(--shadow); }
.pc__media img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.pc:hover .pc__media img { transform: scale(1.04); }
.pc__tags { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tag { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 1.3; }
.tag--new { background: var(--accent-soft); color: #3e3eb0; }
.tag--sale { background: var(--coral-soft); color: #b8411f; }
.pc__body { display: flex; flex-direction: column; flex: 1; padding: 10px 2px 0; }
.pc__brand { font-size: 12px; color: var(--muted); }
.pc__title { font-size: 14px; font-weight: 500; line-height: 1.35; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.35em * 2); }
.pc__title a:hover { text-decoration: underline; }
.pc__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.pc__prices { display: flex; flex-direction: column; min-width: 0; }
.pc__price { font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.pc__inst { font-size: 12px; color: var(--muted); }
.pc__stock { font-size: 12px; color: var(--green); margin-top: 2px; display: inline-flex; align-items: center; gap: 5px; }
.pc__stock::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pc.is-sold .pc__stock { color: var(--muted); }
.pc.is-sold .pc__media img { opacity: .55; }
.pc__add { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ink); color: #fff; transition: background .15s, transform .15s; }
.pc__add:hover { background: var(--accent); }
.pc__add:active { transform: scale(.92); }
.pc__add--choose { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.pc__add--choose:hover { color: #fff; }
.pc__add.is-added { background: var(--green); }
@media (min-width: 1000px) {
  .pc__title { font-size: 15px; }
  .pc__price { font-size: 20px; }
  .pc__body { padding-top: 12px; }
}

/* Advantages */
.usp { margin-top: 40px; }
.usp__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.usp__list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.usp__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: #3e3eb0; flex: none; }
.usp__list li:nth-child(2) .usp__icon { background: var(--t2); color: var(--green); }
.usp__list li:nth-child(3) .usp__icon { background: var(--coral-soft); color: #b8411f; }
.usp__list li:nth-child(4) .usp__icon { background: var(--t0); color: #2c5aa0; }
.usp__list strong { display: block; font-weight: 600; font-size: 14px; line-height: 1.3; }
.usp__list small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
@media (min-width: 1000px) {
  .usp { margin-top: 64px; }
  .usp__list { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .usp__list li { padding: 20px; align-items: center; }
  .usp__list strong { font-size: 16px; }
}
@media (max-width: 420px) { .usp__list li { flex-direction: column; gap: 8px; } }

/* Brands */
.brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.brands li { display: grid; place-items: center; aspect-ratio: 2 / 1; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; }
.brands a { display: contents; }
.brands img { max-height: 40px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.brands li:hover img { filter: none; opacity: 1; }
@media (min-width: 700px) { .brands { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .brands { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; } }

/* FAQ */
.faq { display: grid; gap: 16px; }
.faq__side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { transition: transform .2s; }
.faq__item[open] summary svg { transform: rotate(45deg); }
.faq__item p { padding: 0 0 18px; color: var(--ink-2); max-width: 70ch; }
.faq__list { border-top: 1px solid var(--line); }
@media (min-width: 1000px) {
  .faq { grid-template-columns: 1fr 2fr; gap: 48px; }
  .faq__item summary { font-size: 18px; }
}

/* Blog */
.posts { display: grid; gap: 24px; }
.post__img { display: block; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post:hover .post__img img { transform: scale(1.03); }
.post__title { font-size: 17px; font-weight: 600; line-height: 1.3; margin-top: 12px; }
.post__title a:hover { text-decoration: underline; }
.post__text { margin-top: 6px; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* Footer */
.ft { margin-top: 64px; background: var(--ink); color: #d9d9dd; font-size: 14px; }
.ft__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; padding-top: 40px; padding-bottom: 32px; }
.ft__about { grid-column: 1 / -1; }
.ft__about { display: flex; flex-direction: column; gap: 12px; max-width: 36ch; }
.ft__addr { color: #a7a7ad; }
.ft__social { display: flex; gap: 8px; }
.ft__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #2a2a2f; color: #fff; }
.ft__social a:hover { background: #fff; color: var(--ink); }
.ft__title { color: #fff; font-weight: 600; margin-bottom: 10px; }
.ft__col li a { display: inline-block; padding: 4px 0; color: #c5c5ca; }
.ft__col li a:hover { color: #fff; }
.ft__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid #2e2e33; color: #a7a7ad; }
@media (min-width: 700px) { .ft__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; } .ft__about { grid-column: auto; } }

/* Cart window (the clone's markup from /cart/items, restyled) */
.cart-drawer { position: fixed; inset: 0; z-index: 70; background: rgba(23,23,26,.45); }
.cart-drawer[hidden] { display: none; }
.cart-drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(440px, 100vw); background: #fff; display: flex; flex-direction: column; }
.cart-drawer__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cart-drawer__head h2 { font-size: 20px; font-weight: 700; margin-right: auto; }
.cart-drawer__view { font-size: 14px; color: var(--ink-2); text-decoration: underline; }
.cart-drawer__close { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: var(--soft); border-radius: 50%; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.cart-drawer__foot[hidden], [data-cart-empty][hidden], .cart-note-pop[hidden] { display: none; }
.cart-drawer__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.cart-note-open { border: 0; background: none; padding: 0; text-decoration: underline; color: var(--ink-2); }
.cart-order { height: 52px; border-radius: 999px; border: 0; background: var(--wa); color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }
.cart-order sup { font-size: .7em; }
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 48px 0; text-align: center; }
.cart-empty .btn { background: var(--ink); color: #fff; }
.cart-line { display: grid; grid-template-columns: 80px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line__img { aspect-ratio: 1; background: var(--soft); border-radius: var(--r-sm); overflow: hidden; display: grid; place-items: center; }
.cart-line__img img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.cart-line__vendor { font-size: 12px; color: var(--muted); }
.cart-line__title { font-weight: 500; font-size: 14px; line-height: 1.35; }
.cart-line__option { font-size: 13px; color: var(--muted); }
.cart-line .price { display: flex; gap: 8px; align-items: baseline; font-size: 14px; margin-top: 4px; }
.cart-line .price sup { font-size: .7em; }
.cart-line .price__was { color: var(--muted); font-size: 12px; }
.cart-line__actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-line__remove { border: 0; background: none; color: var(--muted); padding: 6px; }
.cart-line__total { font-weight: 600; font-size: 14px; }
.cart-line__total .price__was, .cart-line__total .price__inst { display: none; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 36px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; display: grid; place-items: center; }
.qty input { width: 32px; border: 0; text-align: center; font: inherit; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-also { margin-top: 20px; }
.cart-also__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cart-also__head h3 { font-size: 16px; }
.cart-also__nav { display: flex; gap: 4px; }
.cart-also__nav button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: #fff; display: grid; place-items: center; }
[data-also-track] { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
[data-also-track] > * { flex: 0 0 100%; scroll-snap-align: start; }
.cart-note-pop { position: absolute; inset: auto 0 0 0; background: #fff; padding: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; box-shadow: 0 -12px 32px -16px rgba(0,0,0,.3); }
.cart-note-pop textarea { font: inherit; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px; }
.cart-note-pop .btn { background: var(--ink); color: #fff; }
.cart-note-pop__close { position: absolute; right: 12px; top: 12px; border: 0; background: none; }
.product-label { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 12px; background: var(--soft); }

/* Collection page (templates-y3/collection.php): breadcrumbs, subcategory tiles, filters (sidebar / phone sheet), sticky bar, chips, grid */
.coll { padding-top: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: #c4c2bc; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }
.coll__title { margin: 6px 0 16px; font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -.03em; }

.subcats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.subcat { position: relative; isolation: isolate; overflow: hidden; min-height: 100px; border-radius: var(--r); padding: 14px; transition: transform .2s, box-shadow .2s; }
.subcat__link { display: flex; flex-direction: column; gap: 2px; max-width: 64%; }
.subcat__link::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.subcat__name { font-weight: 700; font-size: 15px; line-height: 1.25; letter-spacing: -.01em; }
.subcat__count { font-size: 13px; color: var(--muted); }
.subcat__img { position: absolute; right: -8%; bottom: -14%; width: 44%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; z-index: -1; pointer-events: none; transition: transform .25s; }
.subcat__leaves { display: none; }
@media (max-width: 699px) { .subcat:last-child:nth-child(odd) { grid-column: 1 / -1; } .subcat:last-child:nth-child(odd) .subcat__img { width: 28%; } }
.subcat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.subcat:hover .subcat__img { transform: scale(1.06); }

/* Filters: a full-screen sheet on phones (site.js adds .is-open), a plain sidebar on computers */
.fl { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: #fff; visibility: hidden; transform: translateY(100%);
  transition: transform .28s cubic-bezier(.2,.7,.2,1), visibility 0s linear .28s; }
.fl.is-open { visibility: visible; transform: none; transition-delay: 0s; }
.fl.no-anim { transition: none; }
.fl__head { display: flex; align-items: center; gap: 12px; padding: 12px var(--gut); border-bottom: 1px solid var(--line); flex: none; }
.fl__title { font-size: 18px; font-weight: 700; margin-right: auto; }
.fl__clear { font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.fl__close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); }
.fl__form { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 var(--gut); }
.fl__foot { flex: none; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.fl__group { border-bottom: 1px solid var(--line); }
.fl__group:last-of-type { border-bottom: 0; }
.fl__group summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 15px 0; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; }
.fl__group summary::-webkit-details-marker { display: none; }
.fl__group summary svg { color: var(--muted); transition: transform .2s; }
.fl__group[open] summary svg { transform: rotate(180deg); }
.fl__n, .bar__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; vertical-align: 1px; }
.fl__list { padding-bottom: 8px; }
.fl__opt { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 15px; }
.fl__opt input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.fl__box { display: grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid #c9c7c0; border-radius: 6px; background: #fff; color: #fff; transition: background .15s, border-color .15s; }
.fl__box svg { opacity: 0; }
.fl__opt input:checked + .fl__box { background: var(--ink); border-color: var(--ink); }
.fl__opt input:checked + .fl__box svg { opacity: 1; }
.fl__opt input:focus-visible + .fl__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.fl__opt:hover .fl__box { border-color: var(--ink-2); }
.fl__label { overflow-wrap: anywhere; }
.fl__count { font-size: 12px; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 1px 8px; font-variant-numeric: tabular-nums; }
.fl__opt.is-off { opacity: .42; cursor: default; }
.fl__more { border: 0; background: none; padding: 4px 0 14px; color: var(--accent); font-weight: 600; font-size: 14px; }
.fl__price { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding-bottom: 16px; }
.fl__price label { position: relative; }
.fl__price input { width: 100%; height: 44px; padding: 0 26px 0 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.fl__price input::-webkit-outer-spin-button, .fl__price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fl__price input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.fl__price label span:last-child { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; pointer-events: none; }
.fl__dash { color: var(--muted); }
.fl__go { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; }
.fl__go:hover { background: var(--accent); }

/* Phone: sticky bar (Filtrlər + sort) under the header; computers: only the sort, top right */
.bar { position: sticky; top: var(--hd-h, 0px); z-index: 20; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 calc(var(--gut) * -1); padding: 10px var(--gut);
  background: rgba(251,250,248,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.bar__btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: 999px; background: #fff; font-weight: 600; font-size: 14px; min-width: 0; }
.bar__btn:hover { border-color: #cfccc4; }
.bar__sort select { flex: 1; min-width: 0; height: 100%; border: 0; background: none; padding: 0; font: inherit; color: inherit; -webkit-appearance: none; appearance: none;
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden; cursor: pointer; }
.bar__sort select:focus { outline: none; }
.bar__sort:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.bar__sort svg { color: var(--muted); pointer-events: none; }

.meta { display: flex; align-items: center; gap: 16px; min-height: 40px; padding: 4px 0 8px; }
.meta__total { font-size: 14px; color: var(--muted); }
.meta__cmp { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.meta__view { display: none; }
.switch { -webkit-appearance: none; appearance: none; flex: none; width: 40px; height: 24px; margin: 0; border-radius: 12px; cursor: pointer;
  background: #d6d4ce radial-gradient(circle at 12px 12px, #fff 0 8px, transparent 8.6px) no-repeat; transition: background-color .2s, background-position .2s; }
.switch:checked { background-color: var(--ink); background-position: 16px 0; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chips__x { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px; border-radius: 999px; background: var(--accent-soft); color: #3e3eb0; font-size: 13px; font-weight: 600; }
.chips__x:hover { background: #dedcf8; }
.chips__clear { display: inline-flex; align-items: center; height: 32px; padding: 0 6px; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
.grid.is-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.grid.is-list .pc { flex-direction: row; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.grid.is-list .pc__media { flex: none; width: 128px; }
.grid.is-list .pc__body { padding-top: 0; }
.pc__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 20px; }
.pc__top .pc__brand { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc__cmp { display: none; flex: none; align-items: center; gap: 5px; height: 20px; font-size: 12px; color: var(--muted); cursor: pointer; }
.compare-on .pc__cmp { display: inline-flex; }
.pc__cmp input { -webkit-appearance: none; appearance: none; width: 15px; height: 15px; margin: 0; border: 1.5px solid #c4c2bc; border-radius: 4px; background: #fff center / 12px no-repeat; cursor: pointer; }
.pc__cmp input:checked { background-color: var(--accent); border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.pc__cmp:has(input:checked) { color: var(--accent); }
.coll__empty { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 48px 16px; border-radius: var(--r); background: var(--soft); text-align: center; color: var(--ink-2); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 36px 0 8px; }
.pagination ul { display: flex; gap: 4px; }
.pagination__page { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border-radius: 999px; font-weight: 500; font-variant-numeric: tabular-nums; }
.pagination__page:hover { background: var(--soft); }
.pagination__page.is-current { background: var(--ink); color: #fff; }
.pagination__gap { display: grid; place-items: center; width: 24px; color: var(--muted); }
.pagination__arrow { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 500; font-size: 14px; }
.pagination__arrow.is-disabled { opacity: .35; }
.pagination__summary, .pagination__label { display: none; }

.coll__about { margin-top: 48px; max-width: 820px; }
.coll__about .sec__title { margin-bottom: 14px; }
.rte { color: var(--ink-2); font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.rte p, .rte ul, .rte ol { margin: 0 0 12px; }
.rte ul, .rte ol { padding-left: 20px; }
.rte ul { list-style: disc; }
.rte h1, .rte h2, .rte h3, .rte h4 { margin: 22px 0 8px; font-size: 18px; line-height: 1.3; color: var(--ink); }
.rte h1 { font-size: 22px; }
.art__body h2 { font-size: 21px; }
.rte a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.rte img { height: auto; border-radius: var(--r-sm); }

@media (min-width: 700px) {
  .subcats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
  .grid.is-list .pc__media { width: 180px; }
}
@media (min-width: 1000px) {
  .coll { padding-top: 20px; }
  .coll__title { font-size: 40px; margin: 8px 0 22px; }
  .subcats { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 32px; }
  .subcat { min-height: 168px; padding: 18px; }
  .subcat__name { font-size: 18px; }
  .subcat__img { width: 46%; right: -6%; bottom: -10%; }
  .subcat__leaves { display: flex; flex-direction: column; gap: 1px; position: relative; z-index: 1; margin-top: 10px; max-width: 62%; font-size: 13px; color: var(--ink-2); }
  .subcat__leaves a:hover { color: var(--ink); text-decoration: underline; }
  .coll__body { display: grid; grid-template-columns: 256px minmax(0, 1fr); gap: 40px; align-items: start; }
  .fl { position: static; z-index: auto; display: block; visibility: visible; transform: none; transition: none; background: none; }
  .fl__head { padding: 0 0 6px; border-bottom: 0; }
  .fl__close, .fl__foot { display: none; }
  .fl__form { overflow: visible; padding: 0; }
  .fl__opt { font-size: 14px; padding: 6px 0; }
  .fl__price input { height: 40px; font-size: 15px; }
  .fl__go { width: 40px; height: 40px; }
  .coll__main { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'meta bar' 'chips chips' 'grid grid' 'pag pag'; column-gap: 16px; align-items: center; }
  .bar { grid-area: bar; position: static; display: flex; margin: 0; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bar__filter { display: none; }
  .bar__sort { width: 270px; justify-content: flex-start; }
  .meta { grid-area: meta; padding: 0; min-height: 44px; }
  .meta__total { font-size: 15px; color: var(--ink-2); }
  .meta__view { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--soft); }
  .meta__view button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--muted); }
  .meta__view button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
  .chips { grid-area: chips; margin: 14px 0 0; }
  .grid, .coll__empty { grid-area: grid; margin-top: 20px; align-self: start; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 16px; }
  .grid.is-list .pc__media { width: 200px; }
  .grid.is-list .pc { gap: 24px; }
  .pagination { grid-area: pag; margin-top: 48px; }
  .pagination__label { display: inline; }
  .coll__about { margin-top: 72px; }
}

/* Compare (the clone's markup from partials/compare + /compare, restyled): pill at the bottom → drawer → full-screen window */
.cmp-tab { position: fixed; z-index: 40; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); }
.cmp-tab svg { display: none; }
.cmp-tab[hidden], .cmp-tab.is-open, .cmp-drawer[hidden], .cmp-modal[hidden], .cmp-prompt[hidden], .cmp-prompt [hidden] { display: none; }
.cmp-drawer { position: fixed; inset: 0; z-index: 75; background: rgba(23,23,26,.45); }
.cmp-drawer__panel { position: absolute; left: 0; right: 0; bottom: 0; top: 96px; display: flex; flex-direction: column; background: #fff; border-radius: var(--r) var(--r) 0 0; }
.cmp-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cmp-drawer__head h2 { font-size: 18px; font-weight: 700; }
.cmp-drawer__close, .cmp-modal__close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); }
.cmp-drawer__body { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 20px; }
.cmp-card { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) 36px; align-items: center; gap: 12px; padding: 10px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.cmp-card__media { width: 72px; height: 72px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.cmp-card__media img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.cmp-card__title { font-size: 14px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cmp-card__remove { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--muted); }
.cmp-card__remove:hover { background: var(--soft); color: var(--ink); }
.cmp-prompt { padding: 16px; border: 1.5px dashed var(--line); border-radius: var(--r-sm); font-size: 14px; color: var(--muted); }
.cmp-drawer__foot { display: flex; flex-direction: column; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.cmp-go[aria-disabled="true"] { opacity: .4; cursor: default; }
.link { border: 0; background: none; padding: 0; font: inherit; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 4px; }
.price__current { font-weight: 700; font-size: 16px; }
.price__was, .price__from, .price__inst { font-size: 13px; color: var(--muted); }
.price--y3 { flex-direction: column; align-items: flex-start; gap: 0; }
.cmp-modal { position: fixed; inset: 0; z-index: 90; background: #fff; overflow: auto; -webkit-overflow-scrolling: touch; }
.cmp-modal__close { position: fixed; top: 14px; right: 14px; z-index: 1; }
.cmp-modal__body { padding: 68px 0 32px; }
.cmp-loading { padding: 40px 16px; text-align: center; color: var(--muted); }
.cmp-area { display: inline-block; vertical-align: top; padding: 0 16px; }
.cmp-row { display: flex; }
.cmp-col { flex: none; width: 62vw; padding: 6px 16px 6px 0; }
.cmp-media { position: relative; border-radius: var(--r); background: var(--soft); overflow: hidden; }
.cmp-media img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.cmp-vendor { font-size: 12px; color: var(--muted); }
.cmp-title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.cmp-row--price .cmp-col { padding-bottom: 20px; }
.cmp-col--dotted { padding-top: 12px; }
.cmp-col--dotted .cmp-value { padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.cmp-label { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.cmp-col--text { padding-top: 14px; font-size: 14px; color: var(--muted); }
.cmp-view { width: 100%; }
.cmp-remove { display: block; width: 100%; margin: 12px 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
@media (min-width: 1000px) {
  .cmp-drawer__panel { left: auto; top: 0; width: min(440px, 100%); border-radius: var(--r) 0 0 var(--r); }
  .cmp-modal__body { padding: 72px 0 40px; text-align: center; }
  .cmp-area { text-align: left; padding: 0 32px; }
  .cmp-col { width: min(320px, calc((100vw - 64px) / var(--n, 1))); padding-right: 28px; }
  .cmp-title { font-size: 19px; }
}

/* Product page (templates-y3/product.php) */
.pd { padding-top: 14px; }
.pd__grid { display: grid; gap: 20px; margin-top: 12px; }
.gal { display: grid; gap: 10px; min-width: 0; }
.gal__view { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.gal__track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 100%; aspect-ratio: 1; display: grid; place-items: center; padding: 6%; scroll-snap-align: start; }
.gal__slide > img { width: 100%; height: 100%; object-fit: contain; }
.gal__video { position: relative; width: 100%; height: 100%; border-radius: var(--r-sm); overflow: hidden; background: #000; }
.gal__video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.gal__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gal__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: var(--shadow); }
.gal__nav { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; display: none; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.gal__nav--prev { left: 12px; }
.gal__nav--next { right: 12px; }
.gal__count { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(24,24,27,.72); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gal__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gal__thumbs::-webkit-scrollbar { display: none; }
.gal__thumbs button { position: relative; display: block; width: 64px; height: 64px; padding: 4px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--card); }
.gal__thumbs button[aria-current] { border-color: var(--ink); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.gal__thumb-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.5); }

.buy__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--muted); }
.buy__brand { color: var(--accent); font-weight: 600; font-size: 14px; }
.buy__brand:hover { text-decoration: underline; }
.buy__sku { font-variant-numeric: tabular-nums; }
.buy__title { margin-top: 6px; font-size: 23px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; }
.buy__tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 22px; margin-top: 10px; }
.tag--brand { background: var(--soft); color: var(--ink-2); }
.tag--deal { background: var(--coral); color: #fff; }
.opts { margin: 18px 0 0; padding: 0; border: 0; min-width: 0; }
.opts__name { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.opts__list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--card); font-weight: 500; font-size: 14px; line-height: 1.3; cursor: pointer; transition: border-color .15s; }
.opt span:hover { border-color: #c9c6bf; }
.opt input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 .5px var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt.is-off span { color: var(--muted); border-style: dashed; }
.pp { margin-top: 18px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.pp__row { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.pp__price { font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pp__price.is-deal { color: var(--coral); }
.pp__cash { font-size: 14px; color: var(--muted); }
.pp__was { margin-left: auto; font-size: 15px; color: var(--muted); }
.pp__inst { margin-top: 8px; min-height: 40px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.pp__inst b { display: block; font-weight: 600; color: var(--ink); }
.pp__inst small { display: block; font-size: 13px; color: var(--muted); }
.pp__stock { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; color: #b8411f; }
.pp__stock i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.pp__stock.is-in { color: var(--green); }
.buy__row { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 14px; }
.buy__row .qty { height: 52px; background: var(--card); border-width: 1.5px; }
.buy__row .qty button { width: 42px; height: 48px; }
.buy__row .qty input { width: 30px; font-weight: 600; background: none; }
.buy__add { height: 52px; font-size: 16px; }
.buy__add:disabled { background: var(--soft); color: var(--muted); cursor: default; }
.btn--line { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: #c9c6bf; }
.btn--line svg { color: var(--wa); }
.buy__wa { margin-top: 10px; }
.buy__srv { margin-top: 18px; display: grid; gap: 2px; }
.buy__srv li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 14px; line-height: 1.35; }
.buy__srv strong { font-weight: 600; }
.buy__srv small { color: var(--muted); font-size: 13px; }
.buy__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--soft); color: var(--ink-2); flex: none; }
.buy__short { margin-top: 16px; padding: 16px 18px; background: var(--soft); border-radius: var(--r); font-size: 14px; }

.pd__nav { position: sticky; top: var(--hd-h, 0px); z-index: 15; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 36px calc(var(--gut) * -1) 0; padding: 10px var(--gut);
  background: rgba(251,250,248,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.pd__nav::-webkit-scrollbar { display: none; }
.pd__nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background .15s, color .15s; }
.pd__nav a:hover { background: var(--soft); }
.pd__nav a.is-on { background: var(--ink); color: #fff; }
.pd__more { max-width: 860px; }
.pd__sec { padding-top: 32px; }
html:has(.pd__nav) { scroll-padding-top: calc(var(--hd-h, 140px) + 58px); }
.pd__sec .sec__title { margin-bottom: 12px; }
.pd__body iframe { display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; margin: 0 0 14px; border: 0; border-radius: var(--r-sm); }
.pd__body img { margin: 8px 0; }
.specs { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.specs > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; padding: 12px 18px; font-size: 14px; }
.specs > div + div { border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.pd__related { margin-top: 48px; }

/* Buy bar: slides up once the main "Səbətə at" scrolls away (y3.js). Fixed, so the page never changes height. */
.pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease; }
.pbar.is-on { transform: none; }
.pbar__in { display: flex; align-items: center; gap: 12px; }
.pbar__title { display: none; }
.pbar__price { flex: 1; font-size: 20px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.pbar__add { height: 46px; min-width: 150px; }
.pbar__add:disabled { background: var(--soft); color: var(--muted); }
body:has(.pbar) .ft { padding-bottom: 72px; }

@media (min-width: 1000px) {
  .pd__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .gal__thumbs { flex-wrap: wrap; overflow: visible; }
  .gal__thumbs button { width: 72px; height: 72px; flex: none; }
  .gal__nav { display: grid; opacity: 0; transition: opacity .15s; }
  .gal__view:hover .gal__nav { opacity: 1; }
  .gal__count { display: none; }
  .buy { position: sticky; top: calc(var(--hd-h, 0px) + 20px); }
  .buy__title { font-size: 28px; }
  .pd__nav { margin-top: 56px; }
  .pbar__title { display: block; flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pbar__price { flex: none; }
  .pbar__add { min-width: 180px; }
}

/* Search (templates-y3/search.php) and 404 */
.srch__form { max-width: 720px; margin-bottom: 20px; }
.srch__empty { padding: 8px 0 16px; }
.srch__hint { color: var(--muted); }
.srch__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.srch__cats a { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 600; }
.srch__cats small { font-weight: 500; color: var(--muted); }
.sc__media { display: grid; place-items: center; }
.sc__media img { width: 100%; height: 100%; object-fit: cover; }
.sc__icon { color: var(--muted); }
.sc__text { margin-top: 6px; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nf { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 48px; }
.nf__code { font-size: 88px; line-height: 1; font-weight: 700; letter-spacing: -.05em; color: var(--accent); opacity: .25; }
.nf__title { margin-top: 8px; font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.nf__text { margin-top: 8px; color: var(--muted); max-width: 440px; }
.nf__search { width: 100%; max-width: 560px; margin-top: 24px; }
.nf__cats { justify-content: center; margin: 20px 0 28px; }

/* Cart page (templates-y3/cart.php) */
.cartp__grid { display: grid; gap: 24px; align-items: start; }
.cartp__main { min-width: 0; }
.cartp .cart-line { grid-template-columns: 96px 1fr auto; padding: 18px 0; }
.cartp .cart-line__title { font-size: 15px; }
.cartp__empty { padding: 56px 16px; border-radius: var(--r); background: var(--soft); }
.cartp__empty-ic { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--card); color: var(--muted); }
.cartp__sum { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.cartp__sum[hidden] { display: none; }
.cartp__h { font-size: 18px; font-weight: 700; }
.cartp__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cartp__total strong { font-size: 26px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.cartp__note { margin-top: 12px; }
.cartp__note summary { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; list-style: none; cursor: pointer; font-weight: 500; font-size: 14px; }
.cartp__note summary::-webkit-details-marker { display: none; }
.cartp__note[open] summary svg { transform: rotate(180deg); }
.cartp__note textarea { width: 100%; margin-top: 6px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: inherit; font-size: 14px; resize: vertical; }
.cartp__order { height: 52px; margin-top: 14px; font-size: 16px; }
.cartp__how { margin-top: 10px; font-size: 13px; color: var(--muted); }
.cartp__srv { margin-top: 12px; padding-top: 6px; border-top: 1px solid var(--line); }

/* Content pages, policies */
.doc, .cartp { padding-top: 14px; }
.doc__title { margin: 6px 0 20px; font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -.03em; max-width: 760px; }
.doc__body { max-width: 760px; }
.doc__body table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 14px; }
.doc__body td, .doc__body th { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.rte iframe { max-width: 100%; border: 0; border-radius: var(--r-sm); }
.rte table { display: block; overflow-x: auto; }

/* Blog, article */
.blg { padding-top: 14px; }
.blg__tags { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1) 20px; padding: 0 var(--gut); }
.blg__tags::-webkit-scrollbar { display: none; }
.blg__tags a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 500; white-space: nowrap; }
.blg__tags a:hover { border-color: #c9c6bf; }
.blg__tags a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.blg__list { margin-top: 28px; }
.post__meta { margin-top: 12px; font-size: 13px; color: var(--muted); }
.post__meta + .post__title { margin-top: 4px; }
.post--wide .post__title { font-size: 22px; letter-spacing: -.02em; }
.post__go { margin-top: 16px; height: 44px; }
.art__progress { position: fixed; left: 0; top: 0; z-index: 40; height: 3px; width: var(--percent, 0%); background: var(--accent); transition: width .1s linear; }
.art { padding-top: 14px; }
.art__head, .art__body, .art__share, .art__nav { max-width: 720px; margin-left: auto; margin-right: auto; }
.art__crumbs { max-width: 720px; margin: 0 auto; }
.art__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.art__tags a { padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: #3e3eb0; font-size: 13px; font-weight: 500; }
.art__title { margin-top: 12px; font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -.03em; }
.art__meta { margin-top: 10px; font-size: 14px; color: var(--muted); }
.art__img { max-width: 960px; margin: 24px auto; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.art__img img { width: 100%; height: auto; }
.art__body { font-size: 16px; line-height: 1.7; }
.art__body img { margin: 8px auto; }
.share { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.share__label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.share__list { display: flex; gap: 6px; }
.share__list a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--ink-2); }
.share__list a:hover { background: var(--line); }
.share__list svg { width: 20px; height: 20px; }
.art__nav { display: grid; gap: 10px; margin-top: 24px; }
.art__nav-link { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.art__nav-link:hover { border-color: #c9c6bf; }
.art__nav-link small { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.art__nav-link span { font-weight: 600; line-height: 1.35; }
.art__nav-link--next { text-align: right; align-items: flex-end; }

/* /collections */
.cl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cl-card { display: block; }
.cl-card__img { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; }
.cl-card__img img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.cl-card:hover .cl-card__img img { transform: scale(1.04); }
.cl-card__title { display: block; margin-top: 8px; font-weight: 600; font-size: 14px; line-height: 1.3; }

@media (min-width: 700px) {
  .cl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .art__nav { grid-template-columns: 1fr 1fr; }
  .post--wide { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
  .post--wide .post__meta { margin-top: 0; }
}
@media (min-width: 1000px) {
  .cartp__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
  .cartp__sum { position: sticky; top: calc(var(--hd-h, 0px) + 20px); }
  .cl-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .doc, .cartp { padding-top: 20px; }
  .doc__title, .art__title { font-size: 40px; }
  .post--wide .post__title { font-size: 28px; }
  .nf { padding-top: 72px; }
  .nf__code { font-size: 120px; }
}

/* Live search window (y3.js + partials/suggest.php): under every search box, over the page (never moves it) */
.sug-pop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60; max-height: min(72vh, 600px); overflow: auto; overscroll-behavior: contain;
  padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 2px 4px rgba(24,24,27,.04), 0 24px 48px -16px rgba(24,24,27,.22); text-align: left; }
.sug-pop[hidden] { display: none; }
.sug__h { padding: 8px 10px 4px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.sug__cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 8px; }
.sug__cat { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 500; }
.sug__cat small { color: var(--muted); font-size: 12px; }
.sug__cat:hover, .sug__cat.is-active { background: var(--accent-soft); color: #3e3eb0; }
.sug__prod { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 8px; border-radius: var(--r-sm); }
.sug__prod:hover, .sug__prod.is-active { background: var(--soft); }
.sug__img { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--soft); overflow: hidden; }
.sug__img img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.sug__prod.is-sold .sug__img img { opacity: .55; }
.sug__txt { display: flex; flex-direction: column; min-width: 0; }
.sug__name { font-size: 14px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sug__meta { margin-top: 2px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sug__in { color: var(--green); }
.sug__out { color: #b8411f; }
.sug__price { font-size: 15px; font-weight: 700; white-space: nowrap; }
.sug__all { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 4px -6px -6px; padding: 13px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.sug__all:hover, .sug__all.is-active { background: var(--soft); }
.sug__none { padding: 14px 10px; font-size: 14px; color: var(--muted); }

/* Soft reveal while scrolling (y3.js adds .rv / .is-in; without JS everything is simply visible) */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.rv.is-in { opacity: 1; transform: none; }
.y-row__cell.rv { transform: none; }
.pc__add.pop { animation: y3-pop .35s ease; }
@keyframes y3-pop { 40% { transform: scale(1.18); } }
.badge.bump { animation: y3-pop .35s ease; }

/* ---- Y3.7 (Emil's night answers) ------------------------------------------------------------------------------- */
/* Product: instalment months, delivery line, buy buttons, trust block, payment badges */
.pp__inst { min-height: 0; margin-top: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--soft); }
.pp__mo { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pp__mo b { display: inline; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pp__inst small { margin-top: 4px; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.seg button { height: 28px; padding: 0 11px; border: 0; border-radius: 999px; background: none; font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pp__stock { margin-top: 12px; }
.pp__deliv { display: flex; align-items: flex-start; gap: 6px; min-height: 40px; margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.pp__deliv svg { margin-top: 2px; }
.pp__deliv[hidden] { display: flex; visibility: hidden; }   /* keeps its line: switching a variant never changes the height */
.pp__deliv svg { color: var(--green); }
.buy__row { grid-template-columns: auto 1fr auto; }
.fav-btn { width: 52px; height: 52px; padding: 0; border-color: var(--line); background: var(--card); color: var(--ink-2); }
.fav-btn:hover { border-color: #c9c6bf; }
.fav-btn[aria-pressed="true"], .pc__fav[aria-pressed="true"] { color: var(--coral); }
.fav-btn[aria-pressed="true"] svg, .pc__fav[aria-pressed="true"] svg { fill: currentColor; }
.buy__one, .buy__notify { margin-top: 10px; height: 52px; font-size: 16px; }
.buy__one[hidden], .buy__notify[hidden] { display: none; }
.buy__ask { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.buy__ask svg { color: var(--wa); }
.buy__ask:hover { color: var(--ink); text-decoration: underline; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.trust a { display: flex; gap: 10px; align-items: flex-start; height: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); font-size: 13px; line-height: 1.3; transition: border-color .15s; }
.trust a:hover { border-color: #c9c6bf; }
.trust strong { display: block; font-size: 14px; font-weight: 600; }
.trust small { display: block; color: var(--muted); margin-top: 2px; }
.trust__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--t2); color: var(--green); flex: none; }
.trust li:nth-child(2) .trust__ic { background: var(--t0); color: #2c5aa0; }
.trust li:nth-child(3) .trust__ic { background: var(--t5); color: #8a6d00; }
.trust li:nth-child(4) .trust__ic { background: var(--t1); color: #6b45b8; }
@media (max-width: 340px) { .trust { grid-template-columns: 1fr; } }
.pay { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; font-size: 12px; }
.pay__t { color: var(--muted); margin-right: 2px; }
.pay__b { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--card); font-weight: 600; color: var(--ink-2); }
.ft .pay__b { background: #2a2a2f; border-color: #36363c; color: #e4e4e7; }
.ft .pay__t { color: #a7a7ad; }

/* Card: ♡, monthly instalment, notify */
.pc__fav { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.85); color: var(--ink-2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .15s, color .15s; }
.pc__fav:hover { color: var(--coral); }
.pc__fav.pop, .fav-btn.pop { animation: y3-pop .35s ease; }
.pc__inst { font-variant-numeric: tabular-nums; }
.pc__add--notify { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.pc__add--notify:hover { background: var(--wa); color: #fff; border-color: var(--wa); }
.grid.is-list .pc__fav { left: 92px; right: auto; top: 4px; width: 30px; height: 30px; }

/* Brands */
.brandlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.brandlist a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: box-shadow .2s, transform .2s; }
.brandlist a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.brandlist__logo { display: grid; place-items: center; height: 56px; }
.brandlist__logo img { width: 75%; height: 48px; object-fit: contain; }
.brandlist__logo b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.brandlist__name { font-weight: 600; font-size: 14px; text-align: center; }
.brandlist__name small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
@media (min-width: 700px) { .brandlist { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .brandlist { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; } }
.brandhead { display: flex; align-items: center; gap: 16px; margin: 6px 0 16px; }
.brandhead .coll__title { margin: 0; }
.brandhead__logo { display: grid; place-items: center; width: 120px; height: 64px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); flex: none; }
.brandhead__logo img { width: 100%; height: 44px; object-fit: contain; }
.brandhead__all { font-size: 14px; color: var(--accent); font-weight: 500; }

/* Favourites */
.favp__note { margin: -8px 0 18px; font-size: 13px; color: var(--muted); }
.favp__empty[hidden] { display: none; }
@media (min-width: 700px) { .favp__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .favp__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 16px; } }

/* Header: "Kataloq" + catalog panel (computers), ♡ */
.hd__cat { display: none; }
.hd__btn--fav { display: none; }
.hd__btn--fav .badge { background: var(--coral); }
@media (min-width: 1000px) {
  .hd__bar { grid-template-columns: auto auto 1fr auto; grid-template-areas: 'logo cat search actions'; column-gap: 20px; }
  .hd__cat { grid-area: cat; display: inline-flex; height: 50px; padding: 0 20px 0 16px; }
  .hd__cat[aria-expanded="true"] { background: var(--accent); }
  .hd__btn--fav { display: inline-flex; }
  .hd .cats { display: none; }   /* the catalog panel replaces the category row on computers (Emil, Y3.7) */
}
.catpanel { display: none; }
@media (min-width: 1000px) {
  .catpanel { display: block; position: absolute; left: 0; right: 0; top: 100%; padding-top: 1px; }
  .catpanel[hidden] { display: none; }
  .catpanel__in { display: grid; grid-template-columns: 260px minmax(0, 1fr); height: min(520px, calc(100vh - 120px)); padding: 0; background: #fff;
    border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r); box-shadow: 0 32px 64px -28px rgba(0,0,0,.3); overflow: hidden; }
  .catpanel__groups { padding: 14px 10px; border-right: 1px solid var(--line); background: var(--bg); overflow-y: auto; }
  .catpanel__g { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; }
  .catpanel__g small { color: var(--muted); font-weight: 400; font-size: 13px; }
  .catpanel__g svg { margin-left: auto; color: var(--muted); }
  .catpanel__g[aria-current], .catpanel__g:hover { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
  .catpanel__g--plain { font-weight: 500; color: var(--ink-2); }
  .catpanel__g--plain:first-of-type { margin-top: 8px; }
  .catpanel__dot { width: 12px; height: 12px; border-radius: 4px; flex: none; }
  .catpanel__pane { padding: 22px 26px; overflow-y: auto; }
  .catpanel__pane[hidden] { display: none; }
  .catpanel__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
  .catpanel__head a:first-child:hover { text-decoration: underline; }
  .catpanel__subs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; }
  .catpanel__sub { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: var(--r-sm); border: 1px solid var(--line); }
  .catpanel__card { display: flex; align-items: center; gap: 12px; }
  .catpanel__card strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
  .catpanel__card small { display: block; font-size: 12px; color: var(--muted); }
  .catpanel__card:hover strong { text-decoration: underline; }
  .catpanel__img { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 10px; background: var(--soft); flex: none; overflow: hidden; }
  .catpanel__img img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
  .catpanel__leaves { display: flex; flex-wrap: wrap; gap: 4px 10px; padding-left: 76px; font-size: 13px; color: var(--ink-2); }
  .catpanel__leaves a:hover { color: var(--ink); text-decoration: underline; }
}
.drawer__more--top { padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.drawer__more--top a { font-weight: 600; color: var(--ink); }

/* Phone bottom bar (Emil: Ana səhifə · Kataloq · Axtarış · Sevimlilər · Səbət) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 4px 4px env(safe-area-inset-bottom); background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
.tabbar > a, .tabbar > button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0 6px; border: 0; background: none;
  font-size: 11px; font-weight: 500; color: var(--ink-2); }
.tabbar [aria-current] { color: var(--ink); font-weight: 700; }
.tabbar .badge { top: 0; left: calc(50% + 4px); }
.tabbar [data-fav-count] { background: var(--coral); }
body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
.pbar { bottom: calc(60px + env(safe-area-inset-bottom)); padding-bottom: 10px; }
@media (min-width: 1000px) {
  .tabbar { display: none; }
  body { padding-bottom: 0; }
  .pbar { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}

/* Search: popular + own recent searches, "showing results for" */
.sug__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 10px; }
.sug__chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--soft); font-size: 14px; }
.sug__chip svg { color: var(--muted); }
.sug__chip--mine { background: var(--accent-soft); color: #3e3eb0; }
.sug__chip:hover, .sug__chip.is-active { background: var(--accent-soft); color: #3e3eb0; }
.sug__fix, .srch__fix { padding: 8px 10px 2px; font-size: 13px; color: var(--muted); }
.srch__fix { padding: 0; margin: -6px 0 12px; font-size: 14px; }

/* Home slider (Y3.7) — one height for every slide; soft pastel fields */
.slider { position: relative; margin-top: 16px; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: var(--r); overscroll-behavior-x: contain; }
.slider__track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-rows: auto 1fr; gap: 8px;
  height: 480px; padding: 24px 20px 44px; }
.slide--deal { background: radial-gradient(60% 70% at 90% 80%, #ffd6c2 0, rgba(255,214,194,0) 70%), radial-gradient(50% 60% at 0% 0%, #ffe9b8 0, rgba(255,233,184,0) 70%), #fbf1ea; }
.slide--new { background: radial-gradient(60% 70% at 95% 85%, #c9e4ff 0, rgba(201,228,255,0) 70%), radial-gradient(55% 60% at 0% 0%, #d9d0ff 0, rgba(217,208,255,0) 70%), #f1f0fb; }
.slide--inst { background: radial-gradient(60% 70% at 90% 90%, #cdeedb 0, rgba(205,238,219,0) 70%), radial-gradient(50% 60% at 0% 0%, #e3f3ea 0, rgba(227,243,234,0) 70%), #f0f6f1; }
.slide--del { background: radial-gradient(60% 70% at 90% 85%, #fbe7b0 0, rgba(251,231,176,0) 70%), radial-gradient(55% 60% at 0% 0%, #e6eefb 0, rgba(230,238,251,0) 70%), #f6f3ea; }
.slide__txt { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.slide__brand { font-size: 13px; color: var(--muted); margin-top: 2px; }
.slide__title { font-size: 24px; line-height: 1.15; font-weight: 700; letter-spacing: -.025em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide__title a:hover { text-decoration: underline; }
.slide__title--big { font-size: 28px; -webkit-line-clamp: 3; }
.slide__x { font-size: 15px; color: var(--ink-2); max-width: 44ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.slide__price strong { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.slide__price strong.is-deal { color: var(--coral); }
.slide__price s { color: var(--muted); font-size: 16px; }
.slide__save { font-size: 13px; font-weight: 600; color: var(--green); }
.slide__mo { font-size: 14px; color: var(--ink-2); }
.slide__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.btn--plain svg { display: none; }
.slide__cd { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.slide__cd b { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.chip--inst { background: var(--t2); color: var(--green); }
.chip--del { background: var(--t0); color: #2c5aa0; }
.slide__art { position: relative; z-index: 1; display: grid; place-items: center; min-height: 0; }
.slide__bubble { display: grid; place-items: center; width: min(160px, 44vw); aspect-ratio: 1; border-radius: 50%; background: #fff;
  box-shadow: 0 30px 60px -28px rgba(60,50,120,.35); overflow: hidden; isolation: isolate; transform: translateZ(0); transition: transform .3s; }
.slide__bubble img { width: 76%; height: 76%; object-fit: contain; mix-blend-mode: multiply; }
.slide__bubble:hover { transform: translateZ(0) scale(1.04); }
.slide__art--trio { grid-template-columns: repeat(3, auto); justify-content: center; align-items: end; gap: 0; }
.slide__art--trio .slide__bubble { width: min(130px, 30vw); margin: 0 -10px; }
.slide__art--trio .slide__bubble--0 { width: min(160px, 38vw); z-index: 2; order: 2; }
.slide__art--trio .slide__bubble--1 { order: 1; }
.slide__art--trio .slide__bubble--2 { order: 3; }
.slide__art--banks { grid-template-columns: repeat(3, auto); justify-content: center; align-content: center; gap: 10px; }
.slide__bank { display: grid; place-items: center; width: 84px; height: 56px; padding: 8px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.slide__bank img { max-height: 36px; object-fit: contain; }
.slide__mo-big { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; margin-top: 6px; }
.slide__mo-big b { font-size: 44px; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--green); }
.slide__mo-big small { font-size: 12px; color: var(--muted); }
.slide__art--icons { grid-template-columns: repeat(4, auto); justify-content: center; align-content: center; gap: 10px; }
.slide__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); color: var(--ink-2); }
.slide__ic--0 { color: var(--green); } .slide__ic--1 { color: #2c5aa0; } .slide__ic--2 { color: #8a6d00; } .slide__ic--3 { color: #6b45b8; }
/* Progress bars (Emil 12.11): the current one fills in 7 s, then the next slide comes (y3.js, animationend) */
.slider__bars { position: absolute; left: 50%; bottom: 14px; z-index: 3; display: flex; gap: 6px; width: min(260px, 60%); transform: translateX(-50%); }
.slider__bars button { flex: 1; height: 16px; padding: 6px 0; border: 0; background: none; cursor: pointer; }
.slider__bars i { display: block; height: 4px; border-radius: 2px; background: rgba(24,24,27,.16); overflow: hidden; position: relative; }
.slider__bars i::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.slider__bars .is-done i::after { transform: none; }
.slider__bars .is-on i::after { animation: y3-bar 7s linear forwards; }
.slider.is-paused .slider__bars .is-on i::after { animation-play-state: paused; }
@keyframes y3-bar { to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .slider__bars .is-on i::after { animation-duration: 12s !important; } }
.slider__nav { display: none; }
@media (min-width: 1000px) {
  .slider { margin-top: 20px; }
  .slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; align-items: center; gap: 32px; height: 440px; padding: 40px 72px 48px; }
  .slide__txt { gap: 14px; }
  .slide__title { font-size: 40px; }
  .slide__title--big { font-size: 48px; }
  .slide__x { font-size: 17px; }
  .slide__price strong { font-size: 40px; }
  .slide__bubble { width: 300px; }
  .slide__art--trio .slide__bubble { width: 190px; margin: 0 -18px; }
  .slide__art--trio .slide__bubble--0 { width: 250px; }
  .slide__bank { width: 120px; height: 76px; }
  .slide__bank img { max-height: 48px; }
  .slide__mo-big b { font-size: 72px; }
  .slide__ic { width: 96px; height: 96px; border-radius: 28px; }
  .slide__ic svg { width: 44px; height: 44px; }
  .slider__nav { position: absolute; top: 50%; margin-top: -22px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line);
    border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: var(--shadow); opacity: 0; transition: opacity .15s; }
  .slider:hover .slider__nav { opacity: 1; }
  .slider__nav--prev { left: 16px; }
  .slider__nav--next { right: 16px; }
}

/* By price (Y3.7) */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.steps a { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: var(--r); transition: transform .2s, box-shadow .2s; }
.steps a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.steps b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.steps small { font-size: 13px; color: var(--ink-2); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; } .steps a { padding: 20px; } .steps b { font-size: 22px; } }
@media (min-width: 1000px) and (max-width: 1279px) {
  .slide { padding: 40px 48px 48px; }
  .slide__art--trio .slide__bubble { width: 150px; margin: 0 -14px; }
  .slide__art--trio .slide__bubble--0 { width: 210px; }
  .slide__bubble { width: 260px; }
}
.brands__name { font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--ink-2); }

/* Cart page (Y3.7) */
.cartp__inst { margin-top: 4px; font-size: 13px; color: var(--muted); text-align: right; }
.cartp__deliv { margin: 12px 0 4px; min-height: 0; }
.cartp__also { margin-top: 8px; }

/* Footer (Y3.7, 12.11): about, Müştəriyə, Şirkət, store with map, payment logos */
.btn--ghost { border-color: #3a3a40; color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.ft__title--2 { margin-top: 22px; }
.ft__lines li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; color: #c5c5ca; }
.ft__lines svg { margin-top: 2px; color: #a7a7ad; }
.ft__lines a:hover { color: #fff; }
.ft__map { position: relative; display: block; margin-top: 12px; height: 150px; border-radius: var(--r-sm); overflow: hidden; background: #2a2a2f; }
.ft__map iframe { width: 100%; height: 100%; border: 0; pointer-events: none; filter: grayscale(.3); }
.ft__map-btn { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; box-shadow: var(--shadow); }
.ft__pay { margin-top: 0; padding-bottom: 20px; }
.ft__rating { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #2a2a2f; color: #fff; font-weight: 600; font-size: 13px; }
@media (min-width: 700px) {
  .ft__grid { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; }
}

/* Slogan above the slider (Emil 12.11: "irəlidə olsun") */
.intro { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-top: 18px; }
.intro__title { font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -.035em; }
.intro__text { font-size: 15px; color: var(--ink-2); }
@media (min-width: 1000px) { .intro { margin-top: 26px; } .intro__title { font-size: 44px; } .intro__text { font-size: 18px; } }
.intro + .slider { margin-top: 14px; }

/* Deal badge — big and coral (Emil: "Günün endirimi" must be seen) */
.slide__badge { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.slide__badge-t { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 14px; border-radius: 999px;
  background: var(--coral); color: #fff; font-size: 19px; font-weight: 700; letter-spacing: -.01em; box-shadow: 0 10px 24px -10px rgba(229,96,60,.7); }
.slide__badge-t svg { animation: y3-pulse 1.6s ease-in-out infinite; }
.slide__badge-d { font-size: 14px; font-weight: 600; color: #b8411f; }
@media (max-width: 999px) {
  .slide { height: 530px; padding-bottom: 34px; }
  .slide__badge-t { height: 40px; font-size: 17px; }
  .slide__title { font-size: 22px; }
  .slide__price strong { font-size: 26px; }
  .slide__bubble--main { width: 140px; margin: -70px 0 0 -70px; }
  .slide--deal .slide__bubble { width: 150px; }
}
@media (min-width: 1000px) { .slide__badge-t { height: 52px; font-size: 24px; padding: 0 22px 0 16px; } }

/* New arrivals: the main product big in the middle, the others floating around it; hover → name + price */
.slide__art--float { position: relative; display: block; min-height: 220px; }
.slide__bubble--main { position: absolute; left: 50%; top: 50%; z-index: 2; width: min(170px, 46vw); margin: calc(min(170px, 46vw) / -2) 0 0 calc(min(170px, 46vw) / -2); }
.flo { --k: .62; position: absolute; left: var(--x); top: var(--y); z-index: 1; width: calc(var(--z) * var(--k)); animation: y3-float var(--d) ease-in-out var(--dl) infinite alternate; }
.flo:hover, .flo:focus-visible { z-index: 5; animation-play-state: paused; }
.flo__img { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 50%; background: #fff; overflow: hidden; isolation: isolate;
  box-shadow: 0 18px 36px -18px rgba(60,50,120,.35); transform: translateZ(0); transition: transform .2s, box-shadow .2s; }
.flo__img img { width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; }
.flo:hover .flo__img { transform: translateZ(0) scale(1.08); box-shadow: 0 22px 44px -18px rgba(60,50,120,.5); }
.flo__tip { position: absolute; left: 50%; top: calc(100% + 8px); width: 200px; margin-left: -100px; padding: 8px 10px; border-radius: 12px; background: var(--ink); color: #fff;
  font-size: 12px; line-height: 1.35; text-align: center; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility 0s .15s; pointer-events: none; }
.flo__tip b { display: block; font-weight: 600; font-size: 13px; }
.flo__tip span { color: #d4d4d8; }
.flo:hover .flo__tip, .flo:focus-visible .flo__tip { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.flo--1 .flo__tip, .flo--3 .flo__tip, .flo--7 .flo__tip { left: auto; right: 0; margin-left: 0; }   /* right edge: tip opens leftwards */
.flo--2 .flo__tip { left: 0; margin-left: 0; }
.flo--5, .flo--6, .flo--7, .flo--8 { display: none; }   /* phones: main + 5 */
@media (min-width: 1000px) {
  .slide__art--float { height: 100%; min-height: 340px; }
  .slide__bubble--main { width: 280px; margin: -140px 0 0 -140px; }
  .flo { --k: 1; }
  .flo--5, .flo--6, .flo--7, .flo--8 { display: block; }
}
@media (min-width: 1000px) and (max-width: 1279px) { .slide__bubble--main { width: 230px; margin: -115px 0 0 -115px; } .flo { --k: .8; } }

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

/* 12.11 — payment logos on white chips (footer + product page) */
.pay__b { height: 30px; padding: 0 10px; gap: 6px; background: #fff; border-color: var(--line); color: var(--ink); }
.pay__b img { display: block; height: 16px; width: auto; }
.pay__b--mastercard img { height: 20px; }
.pay__b--leokart img { height: 20px; }
.pay__b--word { font-weight: 600; font-size: 12px; }
.pay__b--word svg { color: var(--ink-2); }
.ft .pay__b { background: #fff; border-color: #fff; color: var(--ink); }
.ft .pay__b--word svg { color: var(--ink-2); }

/* 12.11 — slide: credit with an ID card */
.slide--sv { background: radial-gradient(60% 70% at 90% 85%, #d9d0ff 0, rgba(217,208,255,0) 70%), radial-gradient(55% 60% at 0% 0%, #fbe7b0 0, rgba(251,231,176,0) 70%), #f4f1fa; }
.slide__art--sv { position: relative; }
/* A specimen Azerbaijani ID card (Emil 12.11: "daha real"): XXXX in every field, sized in em so it scales as one piece */
.idc { --w: min(310px, 80vw); position: relative; display: grid; grid-template-columns: 10.5em 1fr; grid-template-rows: auto auto 1fr; column-gap: 1.8em;
  width: var(--w); aspect-ratio: 1.586; padding: 1.4em 1.8em 1.6em; font-size: calc(var(--w) / 50); border-radius: 1.6em; overflow: hidden; color: #2a2a2e;
  background: linear-gradient(160deg, rgba(255,255,255,0) 55%, rgba(239,51,64,.10) 62%, rgba(0,181,226,.10) 72%, rgba(255,255,255,0) 82%),
    linear-gradient(135deg, #eeeef3 0%, #e3e4ec 100%);
  box-shadow: 0 30px 60px -28px rgba(40,40,80,.45), 0 0 0 1px rgba(255,255,255,.7) inset; transform: rotate(-4deg); }
.idc__head { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.6em; margin-bottom: 1.2em; }
.idc__flag { width: 4.6em; height: 2.3em; display: block; box-shadow: 0 0 0 .08em rgba(0,0,0,.15); }
.idc__ttl { display: flex; flex-direction: column; align-items: center; text-align: center; color: #6b3426; line-height: 1.25; }
.idc__ttl b { font-size: 1.2em; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.idc__ttl small { font-size: 1.05em; letter-spacing: .04em; white-space: nowrap; }
.idc__mark { width: 2.1em; height: 1.4em; border-radius: .2em; background: #7a3a2a; box-shadow: inset 0 0 0 .35em #7a3a2a, inset 0 0 0 .55em #e9d6c9; }
.idc__photo { grid-row: 2; display: block; background: #9a9aa0; height: 13em; }
.idc__photo svg { display: block; width: 100%; height: 100%; fill: #67676d; }
.idc__sign { grid-row: 3; align-self: start; display: grid; place-items: end center; margin-top: 1em; height: 4.4em; padding-bottom: .6em; background: #cfcfd6; font-size: 1em; color: #55555c; }
.idc__f { grid-column: 2; grid-row: 2 / 4; display: grid; grid-template-columns: 1fr 1.4fr 1.3fr; align-content: start; gap: 1.05em 1em; position: relative; z-index: 1; }
.idc__f > span { display: flex; flex-direction: column; gap: .3em; min-width: 0; }
.idc__f .w { grid-column: 1 / -1; } .idc__f .w2 { grid-column: span 2; }
.idc__f i { font-style: normal; font-size: .72em; letter-spacing: .02em; color: #6b3426; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idc__f b { font-size: 1.12em; font-weight: 500; letter-spacing: .03em; font-family: Arial, Helvetica, sans-serif; white-space: nowrap; }
.idc__emb { position: absolute; right: 3.4em; top: 6.8em; width: 11em; height: 11em; color: #c9c9d2; fill: #d6d6de; opacity: .8; }
@media (min-width: 1000px) { .idc { --w: 460px; } }
.idc-wrap { position: relative; display: block; }
.idc__ok { position: absolute; right: -10px; bottom: -14px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #fff;
  box-shadow: 0 12px 24px -10px rgba(24,121,78,.6); }
@media (min-width: 1000px) { .idc__ok { width: 64px; height: 64px; } }

/* 12.11 — questions: pastel cards with the answer in view (no accordion, no extra WhatsApp button) */
.qa { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); scroll-padding: 0 var(--gut); }
.qa::-webkit-scrollbar { display: none; }
.qa__item { scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r); }
.qa__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.75); color: var(--ink); margin-bottom: 4px; }
.qa__q { font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.qa__a { font-size: 14px; color: var(--ink-2); }
@media (min-width: 700px) { .qa { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; } }
@media (min-width: 1000px) { .qa { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .qa__item { padding: 24px; } }

/* 12.11 — articles: one big lead with the title on the photo + a short list */
.reads { display: grid; gap: 14px; }
.reads__lead { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--soft); isolation: isolate; }
.reads__lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; z-index: -1; }
.reads__lead:hover img { transform: scale(1.03); }
.reads__veil { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 6px; padding: 60px 20px 20px;
  background: linear-gradient(to top, rgba(12,12,16,.86) 0%, rgba(12,12,16,.55) 55%, rgba(12,12,16,0) 100%); color: #fff; }
.reads__title { font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.reads__text { font-size: 14px; color: rgba(255,255,255,.82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reads__go { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-weight: 600; font-size: 14px; }
.reads__list { display: grid; gap: 10px; }
.reads__item { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: box-shadow .2s; }
.reads__item:hover { box-shadow: var(--shadow); }
.reads__thumb { display: block; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--soft); }
.reads__thumb img { width: 100%; height: 100%; object-fit: cover; }
.reads__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.reads__body b { font-size: 15px; line-height: 1.3; font-weight: 600; }
.reads__body small { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 1000px) {
  .reads { grid-template-columns: 1.35fr 1fr; gap: 16px; }
  .reads__lead { aspect-ratio: auto; min-height: 380px; }
  .reads__title { font-size: 28px; }
  .reads__list { grid-template-rows: repeat(2, 1fr); gap: 16px; }
  .reads__item { grid-template-columns: 170px 1fr; padding: 12px; gap: 18px; }
  .reads__body b { font-size: 17px; }
  .reads__body small { -webkit-line-clamp: 3; }
}
.pp__inst .pp__nc b { display: inline; color: var(--ink); font-weight: 700; }
@media (max-width: 699px) { .ft__contact { grid-column: 1 / -1; } }

/* Y3.9 card: deal price, best-seller badge, last-unit line, second photo on hover (desktop) */
.tag--best { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(24,24,27,.1); }
.tag--best::before { content: '★ '; color: #e0a400; }
.pc__row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pc__price.is-deal { color: var(--coral); }
.pc__old { font-size: 13px; color: var(--muted); }
.pc__save { font-size: 12px; font-weight: 600; color: var(--coral); }
.pc__stock.is-last { color: #b45309; }
.pc__media img.pc__alt { position: absolute; inset: 0; margin: auto; opacity: 0; transition: opacity .25s; }
@media (hover: hover) {
  .pc.has-alt:hover .pc__media img:not(.pc__alt) { opacity: 0; }
  .pc.has-alt:hover .pc__media img.pc__alt { opacity: 1; }
}
/* Y3.11 card price (Kontakt-style): struck instalment price + "−20 ₼", cash price big, "ayda X ₼-dan" */
.pc__was { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.pc__off { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: var(--yellow); color: var(--ink); }
.pc__off.is-deal { background: var(--coral); color: #fff; }
.pc__cashl { font-size: 12px; color: var(--muted); }
/* Y3.11 colours (Kontakt: black price, yellow chip, navy monthly line with the amount bold) */
.pc__inst { color: #3e3eb0; }
.pc__inst b { font-weight: 700; }
.pc__cashl { color: var(--green); font-weight: 600; }
/* Y3.11 bigger price text (Emil: "qiymətlər yenə də kiçik qalır") */
.pc__price { font-size: 22px; letter-spacing: -.02em; }
.pc__was { font-size: 14px; }
.pc__off { font-size: 12px; padding: 1px 7px; }
.pc__cashl { font-size: 13px; }
.pc__inst { font-size: 13px; white-space: nowrap; }   /* one line always: "ayda 120,75 ₼-dan" on a 390 px phone */
@media (max-width: 420px) { .pc__inst { font-size: 12px; letter-spacing: -.01em; } }
@media (min-width: 1000px) {
  .pc__price { font-size: 26px; }
  .pc__was { font-size: 15px; }
  .pc__off { font-size: 13px; }
  .pc__cashl, .pc__inst { font-size: 14px; }
}
/* Y3.11 product price block (Kontakt-style): struck instalment price + chip, big cash price, "Nağd alışa endirim" */
.pp__top { display: flex; align-items: center; gap: 8px; font-size: 18px; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.pp__off { font-size: 15px; font-weight: 700; padding: 2px 9px; border-radius: 8px; background: var(--yellow); color: var(--ink); }
.pp__off.is-deal { background: var(--coral); color: #fff; }
.pp__price { font-size: 40px; letter-spacing: -.02em; }
.pp__note { margin-top: 4px; font-size: 15px; color: var(--muted); }
@media (min-width: 1000px) { .pp__price { font-size: 46px; } .pp__top { font-size: 20px; } }

/* Colour dots (Fon kağızı, 11.11): one row on the card, never wraps (the card's height stays); the product page's
   colour buttons get the same dot. A sold-out colour is crossed. */
.pc__sw { display: flex; align-items: center; gap: 5px; height: 26px; margin: -2px 0 2px; padding: 0 3px; overflow: hidden; }
.sw { position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); transition: transform .15s; }
.sw::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid transparent; transition: border-color .15s; }
.sw:hover { transform: scale(1.12); }
.sw.is-on::after { border-color: var(--ink); }
.sw.is-off::before, .opt__dot.is-off::before { content: ''; position: absolute; left: 50%; top: -1px; bottom: -1px; width: 1.5px; background: rgba(0,0,0,.45); transform: rotate(45deg); }
.pc__sw-more { font-size: 12px; font-weight: 600; color: var(--muted); padding: 0 2px; }
.pc__sw-more:hover { color: var(--ink); }
.opt__dot { position: relative; flex: none; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
@media (min-width: 1000px) { .pc__sw { gap: 7px; } .sw { width: 18px; height: 18px; } }
