/* Bala.bookskz — премиум минимализм: сүт, беж, крем, ашық қоңыр */
:root {
  --milk: #fbf8f3;
  --cream: #f4ede2;
  --studio: #f6f0e6;
  --beige: #e9decd;
  --sand: #d8c7ac;
  --brown: #8b6b4a;
  --brown-dark: #4a3626;
  --text: #3b2d22;
  --muted: #7a6a5a;
  --line: rgba(74, 54, 38, .12);
  --green: #3f7a54;
  --green-dark: #2f6241;
  --terracotta: #b85d43;
  --ig: linear-gradient(135deg, #f5a45b 0%, #e0566f 48%, #8a4fbf 100%);
  --radius: 22px;
  --shadow: 0 22px 54px -26px rgba(74, 54, 38, .42);
  --shadow-sm: 0 8px 24px -16px rgba(74, 54, 38, .32);
  --shadow-card: 0 12px 32px -18px rgba(74, 54, 38, .28);
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--milk); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
.ico { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.ico--fill { fill: currentColor; stroke: none; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--brown-dark); }
h1 { font-size: clamp(2.05rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.45rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(52px, 7.5vw, 96px) 0; }
.section--cream { background: var(--cream); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brown); margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--beige); }
.section--cream .eyebrow { background: #fff; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2::after { content: ""; display: block; width: 52px; height: 3px; border-radius: 3px; margin-top: 14px; background: linear-gradient(90deg, var(--brown), var(--sand)); }
.section-head--row h2::after { display: none; }
.section-head p { color: var(--muted); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brown-dark); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: 600 .96rem var(--sans); text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn .ico { transition: transform .2s; }
.btn:hover .ico:last-child:not(.ico--fill) { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: linear-gradient(180deg, #5a4331, var(--brown-dark)); color: var(--milk); box-shadow: 0 10px 24px -14px rgba(74, 54, 38, .75); }
.btn--primary:hover { background: #33251a; box-shadow: 0 12px 26px -12px rgba(74, 54, 38, .65); }
.btn--ghost { background: transparent; color: var(--brown-dark); border-color: rgba(74, 54, 38, .34); }
.btn--ghost:hover { background: var(--brown-dark); color: var(--milk); border-color: var(--brown-dark); }
.btn--soft { background: var(--cream); color: var(--brown-dark); border-color: var(--beige); }
.btn--soft:hover { background: var(--beige); }
.btn--wa { background: linear-gradient(180deg, #4b8f62, var(--green)); color: #fff; box-shadow: 0 10px 24px -14px rgba(47, 98, 65, .85); }
.btn--wa:hover { background: var(--green-dark); box-shadow: 0 14px 28px -14px rgba(47, 98, 65, .95); }
.btn--ig { background: var(--ig); color: #fff; box-shadow: 0 12px 26px -14px rgba(224, 86, 111, .9); }
.btn--ig:hover { filter: brightness(1.06); box-shadow: 0 16px 30px -14px rgba(224, 86, 111, 1); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn--block { width: 100%; }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 10px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(74, 54, 38, .55); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.header__right { display: flex; align-items: center; gap: 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.38rem; font-weight: 700; color: var(--brown-dark); flex: none; }
.logo img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid rgba(139, 107, 74, .22); box-shadow: 0 3px 10px -5px rgba(74, 54, 38, .38); }
.logo i { font-style: normal; font-weight: 500; color: var(--brown); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav__social { display: flex; align-items: center; gap: 8px; margin-left: 4px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 42px; height: 42px; border-radius: 50%; color: var(--brown-dark); border: 1px solid var(--sand); background: #fff; text-decoration: none; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.icon-btn .ico { width: 20px; height: 20px; }
.icon-btn__t { display: none; }
.icon-btn--ig:hover, .icon-btn--wa:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.icon-btn--ig:hover { background: var(--ig); }
.icon-btn--wa:hover { background: var(--green); }
.nav > a { text-decoration: none; font-size: .94rem; font-weight: 500; color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.nav > a:hover, .nav > a[aria-current="page"] { border-color: var(--brown); color: var(--brown-dark); }

/* Language Switcher */
.lang { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; background: var(--cream); border: 1px solid var(--sand); gap: 2px; flex: none; }
.lang button { border: 0; background: transparent; color: var(--muted); font: 600 .8rem var(--sans); padding: 6px 11px; min-height: 32px; border-radius: 999px; cursor: pointer; line-height: 1; transition: background .18s, color .18s, box-shadow .18s; }
.lang button:hover { color: var(--brown-dark); }
.lang button[aria-pressed="true"] { background: var(--brown-dark); color: var(--milk); box-shadow: 0 3px 10px -4px rgba(74, 54, 38, .55); }

/* Header Cart Button */
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--brown-dark); background: var(--brown-dark); color: var(--milk); font: 600 .9rem var(--sans); cursor: pointer; transition: transform .18s, background .18s, box-shadow .18s; box-shadow: 0 8px 20px -14px rgba(74, 54, 38, .85); }
.cart-btn:hover { background: #33251a; transform: translateY(-1px); }
.cart-btn.is-bump { animation: cartBump .38s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes cartBump { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.1); } }
.cart-btn__badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--milk); color: var(--brown-dark); font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-btn__badge[hidden] { display: none; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 14px; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 19px; height: 2px; background: var(--brown-dark); position: relative; transition: .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: clamp(34px, 6vw, 76px) 0 clamp(44px, 6.5vw, 84px); overflow: hidden; background: radial-gradient(960px 540px at 88% 8%, #efe3d0, transparent 70%), radial-gradient(620px 380px at 0% 100%, #f1e8da, transparent 70%); }
.hero::before { content: ""; position: absolute; width: 440px; height: 440px; right: -140px; top: -140px; border-radius: 50%; border: 1px solid var(--sand); opacity: .5; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero__in { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(28px, 4.5vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero__lead { font-size: 1.14rem; color: var(--muted); max-width: 520px; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ig { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; padding: 7px 18px 7px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.hero__ig:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hero__ig-ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ig); color: #fff; }
.hero__ig-ico .ico { width: 22px; height: 22px; }
.hero__ig b { display: block; font-family: var(--serif); font-size: 1rem; color: var(--brown-dark); line-height: 1.2; }
.hero__ig small { display: block; color: var(--muted); font-size: .8rem; }

/* Hero Editorial Studio Book Showcase */
.hero__showcase { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 14px; border-radius: 32px; background: linear-gradient(155deg, rgba(255, 255, 255, .86), rgba(244, 237, 226, .75)); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 30px 64px -28px rgba(74, 54, 38, .35); }
.hero__card { position: relative; display: block; border-radius: 20px; overflow: hidden; background: var(--studio); aspect-ratio: 3 / 4; border: 1px solid rgba(74, 54, 38, .08); box-shadow: 0 12px 26px -16px rgba(74, 54, 38, .4); transition: transform .3s ease, box-shadow .3s ease; text-decoration: none; }
.hero__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero__card:hover { transform: translateY(-5px); box-shadow: 0 20px 36px -18px rgba(74, 54, 38, .5); }
.hero__card:hover img { transform: scale(1.04); }
.hero__card:nth-child(2) { transform: translateY(14px); }
.hero__card:nth-child(2):hover { transform: translateY(9px); }
.hero__card:nth-child(3) { transform: translateY(-10px); }
.hero__card:nth-child(3):hover { transform: translateY(-15px); }
.hero__card-tag { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 6px 10px; border-radius: 12px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); font-size: .78rem; font-weight: 600; color: var(--brown-dark); display: flex; justify-content: space-between; align-items: center; gap: 6px; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .2); }
.hero__card-tag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__card-tag b { font-family: var(--serif); font-size: .86rem; color: var(--brown); white-space: nowrap; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 46px; }
.trust__item { display: flex; align-items: center; gap: 13px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 20px; background: #fff; font-size: .88rem; color: var(--muted); box-shadow: var(--shadow-sm); }
.trust__item > .ico { width: 42px; height: 42px; padding: 10px; border-radius: 14px; background: var(--cream); color: var(--brown); stroke-width: 1.7; }
.trust__item b { display: block; font-family: var(--serif); font-size: 1rem; color: var(--brown-dark); font-weight: 600; margin-bottom: 1px; }

/* Age Quick Bar */
.age-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 22px; margin-top: 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.age-strip__label { font-family: var(--serif); font-weight: 600; font-size: 1rem; color: var(--brown-dark); margin-right: 6px; }
.age-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--cream); border: 1px solid var(--beige); text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--brown-dark); transition: background .18s, color .18s, transform .18s, border-color .18s; }
.age-pill:hover { background: var(--brown-dark); color: var(--milk); border-color: var(--brown-dark); transform: translateY(-2px); }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.cat:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sand); }
.cat__media { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--studio); flex: none; }
.cat__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .55s ease; }
.cat:hover .cat__media img { transform: scale(1.05); }
.cat__count { position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(74, 54, 38, .1); font-size: .74rem; font-weight: 700; color: var(--brown-dark); box-shadow: 0 4px 12px -6px rgba(74, 54, 38, .35); }
.cat__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.cat__body h3 { margin-bottom: 6px; font-size: 1.12rem; }
.cat__body p { color: var(--muted); font-size: .88rem; margin: 0 0 12px; flex: 1; }
.cat__more { font-size: .88rem; font-weight: 600; color: var(--brown); margin-top: auto; }
.cat:hover .cat__more { color: var(--brown-dark); }

/* Crisp Studio Product Cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 52px -26px rgba(74, 54, 38, .44); border-color: var(--sand); }
.card__media { position: relative; background: var(--studio); aspect-ratio: 3 / 4; overflow: hidden; }
.card__img { display: block; width: 100%; height: 100%; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img img { transform: scale(1.045); }
.card__badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; pointer-events: none; }
.card__tools { position: absolute; top: 10px; right: 10px; z-index: 3; display: flex; flex-direction: column; gap: 7px; }
.card__tool { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(74, 54, 38, .12); background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); color: var(--brown-dark); display: grid; place-items: center; cursor: pointer; transition: transform .18s, background .18s, color .18s, border-color .18s; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .35); }
.card__tool .ico { width: 17px; height: 17px; }
.card__tool:hover { transform: scale(1.08); background: #fff; }
.card__tool[aria-pressed="true"] { background: #fff1ee; color: #c9463c; border-color: #f0c0b8; }
.card__tool[aria-pressed="true"] .ico { fill: currentColor; }

.badge { display: inline-flex; align-items: center; padding: 4px 10px; font-size: .71rem; font-weight: 700; letter-spacing: .04em; border-radius: 999px; background: var(--brown-dark); color: var(--milk); box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .4); }
.badge--new { background: var(--green); }
.badge--sale { background: var(--terracotta); }
.badge--hit { background: var(--brown); }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 18px; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 6px; }
.card__cat { font-size: .71rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.age { font-size: .74rem; font-weight: 600; padding: 2px 9px; border: 1px solid var(--beige); border-radius: 999px; color: var(--brown-dark); background: var(--cream); white-space: nowrap; }
.card__title { font-size: 1.05rem; line-height: 1.28; margin: 0 0 6px; }
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--brown); }
.card__short { color: var(--muted); font-size: .86rem; line-height: 1.48; margin: 0 0 12px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.price { font-family: var(--serif); font-size: 1.28rem; font-weight: 700; color: var(--brown-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price s { font-family: var(--sans); font-size: .82rem; font-weight: 400; color: var(--muted); margin-right: 6px; }
.stock { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: var(--cream); color: var(--brown); border: 1px solid var(--beige); white-space: nowrap; }
.stock--last { background: #fdf0ec; color: var(--terracotta); border-color: #f0c0b8; }

.card__actions { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.card__add { flex: 1; min-height: 44px; padding: 0 14px; border-radius: 14px; border: 0; background: linear-gradient(180deg, #5a4331, var(--brown-dark)); color: var(--milk); font: 600 .9rem var(--sans); display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; transition: transform .16s, background .16s, box-shadow .16s; }
.card__add:hover { background: #33251a; transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(74, 54, 38, .8); }
.card__add:active { transform: scale(.98); }
.card__qty { flex: 1; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; min-height: 44px; border-radius: 14px; border: 1.5px solid var(--brown-dark); background: var(--cream); overflow: hidden; }
.card__qty button { height: 100%; border: 0; background: transparent; color: var(--brown-dark); font: 700 1.15rem var(--sans); cursor: pointer; transition: background .15s; }
.card__qty button:hover { background: var(--beige); }
.card__qty span { text-align: center; font-weight: 700; font-size: .92rem; color: var(--brown-dark); font-variant-numeric: tabular-nums; cursor: pointer; }
.card__wa-mini { width: 44px; height: 44px; flex: none; border-radius: 14px; background: #edf5ef; border: 1px solid #cce2d3; color: var(--green); display: grid; place-items: center; text-decoration: none; transition: background .16s, color .16s, transform .16s; }
.card__wa-mini:hover { background: var(--green); color: #fff; border-color: var(--green); transform: translateY(-1px); }

.empty { padding: 40px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--sand); border-radius: var(--radius); grid-column: 1 / -1; background: #fff; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.about__art { border-radius: 32px; background: linear-gradient(145deg, var(--beige), #efe3d0); padding: 24px; box-shadow: var(--shadow); }
.about__art img { border-radius: 22px; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.about blockquote { margin: 24px 0 0; padding: 18px 22px; border-left: 3px solid var(--brown); background: rgba(255, 255, 255, .7); border-radius: 0 16px 16px 0; font-family: var(--serif); font-size: 1.12rem; color: var(--brown-dark); }
.about__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.about__list li { padding-left: 28px; position: relative; color: var(--text); }
.about__list li::before { content: ""; position: absolute; left: 0; top: .52em; width: 13px; height: 13px; border-radius: 50%; background: var(--sand); box-shadow: inset 0 0 0 3px var(--cream); border: 1px solid var(--brown); }

/* Delivery */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); counter-increment: s; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step::before { content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-family: var(--serif); font-size: 1.2rem; color: var(--milk); background: var(--brown-dark); margin-bottom: 14px; }
.steps__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.step h3 { font-size: 1.06rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* FAQ Accordion */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow-sm); transition: border-color .2s; }
.faq details[open] { border-color: var(--sand); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--brown-dark); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--cream); color: var(--brown-dark); display: grid; place-items: center; font: 600 1.2rem var(--sans); transition: transform .2s, background .2s; }
.faq details[open] summary::after { content: "−"; background: var(--brown-dark); color: var(--milk); }
.faq details p { margin: 12px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* Instagram */
.insta { display: grid; grid-template-columns: .92fr 1.08fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 34px; padding: clamp(24px, 4.5vw, 52px); box-shadow: var(--shadow); }
.insta__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.insta__avatar { flex: none; width: 78px; height: 78px; border-radius: 50%; padding: 3px; background: var(--ig); }
.insta__avatar span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #fff; border: 3px solid #fff; color: #c2476b; overflow: hidden; }
.insta__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.insta__avatar .ico { width: 34px; height: 34px; }
.insta__handle { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--brown-dark); line-height: 1.15; }
.insta__sub { color: var(--muted); font-size: .9rem; }
.insta__bio { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--cream); border: 1px solid var(--beige); text-decoration: none; font-size: .88rem; color: var(--brown-dark); transition: background .2s, transform .2s; }
.chip:hover { background: var(--beige); transform: translateY(-2px); }
.insta__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--studio); border: 1px solid var(--line); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile__ov { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, rgba(245, 164, 91, .82), rgba(224, 86, 111, .82) 50%, rgba(138, 79, 191, .82)); opacity: 0; transition: opacity .25s; }
.tile__ov .ico { width: 32px; height: 32px; }
.tile:hover img { transform: scale(1.07); }
.tile:hover .tile__ov, .tile:focus-visible .tile__ov { opacity: 1; }

/* Contact / CTA */
.cta { position: relative; overflow: hidden; text-align: center; background: radial-gradient(520px 260px at 90% 0, rgba(216, 199, 172, .22), transparent 70%), radial-gradient(420px 260px at 0 100%, rgba(139, 107, 74, .5), transparent 70%), var(--brown-dark); color: var(--milk); border-radius: 36px; padding: clamp(40px, 6.5vw, 76px) 24px; box-shadow: var(--shadow); }
.cta h2 { color: var(--milk); max-width: 720px; margin-inline: auto; }
.cta p { color: rgba(251, 248, 243, .8); max-width: 560px; margin: 0 auto 26px; }
.cta .eyebrow { color: var(--sand); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.cta .btn--primary { background: var(--milk); color: var(--brown-dark); box-shadow: none; }
.cta .btn--ghost { color: var(--milk); border-color: rgba(251, 248, 243, .6); }
.cta .btn--ghost:hover { background: var(--milk); color: var(--brown-dark); }
.cta__row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { padding: 60px 0 28px; margin-top: 48px; background: var(--brown-dark); color: rgba(251, 248, 243, .78); }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer .logo { color: var(--milk); } .footer .logo i { color: var(--sand); } .footer .logo img { width: 52px; height: 52px; border-color: rgba(251, 248, 243, .28); }
.footer__tag { margin: 14px 0 18px; max-width: 340px; color: rgba(251, 248, 243, .72); }
.footer h4 { font-size: 1rem; margin-bottom: 14px; color: var(--milk); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: rgba(251, 248, 243, .74); }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.footer .icon-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: var(--milk); }
.footer .icon-btn:hover { color: #fff; }
.footer__note { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(251, 248, 243, .55); font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Catalog */
.page-head { padding: 42px 0 22px; background: radial-gradient(700px 300px at 90% 0, var(--cream), transparent 70%); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.toolbar { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin: 8px 0 16px; }
.search { position: relative; }
.search input, .select { width: 100%; min-height: 50px; border: 1px solid var(--sand); border-radius: 999px; padding: 0 22px 0 48px; background: #fff; font: 1rem var(--sans); color: var(--text); }
.search svg { position: absolute; left: 17px; top: 14px; width: 22px; height: 22px; color: var(--brown); }
.select { padding: 0 38px 0 20px; min-width: 230px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brown) 50%), linear-gradient(135deg, var(--brown) 50%, transparent 50%); background-position: calc(100% - 22px) 21px, calc(100% - 16px) 21px; background-size: 6px 6px; background-repeat: no-repeat; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.filters__label { font-size: .82rem; font-weight: 700; color: var(--muted); margin-right: 4px; white-space: nowrap; }
.filters--tags { margin-bottom: 20px; }
.pill { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--sand); background: #fff; font: 500 .88rem var(--sans); color: var(--brown-dark); cursor: pointer; transition: background .16s, color .16s, border-color .16s; }
.pill:hover { background: var(--cream); }
.pill[aria-pressed="true"] { background: var(--brown-dark); color: var(--milk); border-color: var(--brown-dark); }
.count { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }

/* Book page */
.book { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); padding: 20px 0 60px; align-items: start; }
.gallery { position: sticky; top: 92px; }
.gallery__main { background: var(--studio); border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 12px; margin-top: 14px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; cursor: pointer; background: var(--studio); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--brown-dark); }
.book__info h1 { font-size: clamp(1.75rem, 3.8vw, 2.65rem); }
.book__price { display: flex; align-items: baseline; gap: 12px; margin: 12px 0 18px; }
.book__price .price { font-size: 2rem; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.fact { padding: 7px 15px; border-radius: 999px; background: var(--cream); border: 1px solid var(--beige); font-size: .88rem; }
.fact b { color: var(--brown-dark); font-weight: 600; }
.benefits { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.benefits li { padding: 13px 16px 13px 46px; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-size: .95rem; }
.benefits li::before { content: "✓"; position: absolute; left: 15px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: #e8f3ec; color: var(--green); display: grid; place-items: center; font-weight: 700; font-size: .78rem; }
.order-box { padding: 22px; border-radius: 24px; background: var(--cream); border: 1px solid var(--beige); }
.order-box__main { display: grid; grid-template-columns: 1fr; gap: 10px; }
.order-box p { margin: 12px 0 0; font-size: .88rem; color: var(--muted); }
.order-box__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.order-box__row .btn { flex: 1 1 auto; }
.book__info h2 { font-size: 1.28rem; margin-top: 28px; }
.notfound { text-align: center; padding: 80px 0; }

/* Cart Drawer (Себет) */
.drawer-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(34, 24, 16, .48); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(460px, 100vw); background: var(--milk); display: flex; flex-direction: column; box-shadow: -20px 0 60px -20px rgba(34, 24, 16, .45); transform: translateX(100%); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.drawer__head h2 { margin: 0; font-size: 1.35rem; display: flex; align-items: center; gap: 8px; }
.drawer__count { font-family: var(--sans); font-size: .8rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--cream); color: var(--brown-dark); }
.drawer__clear { margin-left: auto; border: 0; background: transparent; color: var(--muted); font: 500 .84rem var(--sans); cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.drawer__clear:hover { color: var(--terracotta); background: #fdf0ec; }
.drawer__close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); color: var(--brown-dark); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.drawer__close:hover { background: var(--beige); }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.drawer__empty { text-align: center; padding: 36px 16px; }
.drawer__empty-ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--cream); color: var(--brown); display: grid; place-items: center; }
.drawer__empty-ico .ico { width: 30px; height: 30px; }
.drawer__empty h3 { margin-bottom: 6px; }
.drawer__empty p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.drawer__recs { text-align: left; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.drawer__recs h4 { font-size: .96rem; margin-bottom: 12px; color: var(--muted); font-family: var(--sans); font-weight: 600; }

.cart-items { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 66px 1fr; gap: 12px; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); align-items: center; }
.cart-item__img { width: 66px; height: 86px; border-radius: 12px; overflow: hidden; background: var(--studio); border: 1px solid var(--line); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.cart-item__title { font-family: var(--serif); font-size: .98rem; font-weight: 600; color: var(--brown-dark); text-decoration: none; line-height: 1.25; }
.cart-item__rm { width: 28px; height: 28px; flex: none; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.cart-item__rm:hover { background: #fdf0ec; color: var(--terracotta); }
.cart-item__meta { font-size: .8rem; color: var(--muted); margin: 2px 0 8px; }
.cart-item__bot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qty-mini { display: inline-flex; align-items: center; border: 1px solid var(--sand); border-radius: 10px; background: var(--milk); overflow: hidden; }
.qty-mini button { width: 32px; height: 32px; border: 0; background: transparent; color: var(--brown-dark); font: 700 1rem var(--sans); cursor: pointer; }
.qty-mini button:hover { background: var(--cream); }
.qty-mini span { min-width: 28px; text-align: center; font-size: .9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-item__sum { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--brown-dark); font-variant-numeric: tabular-nums; }

.chk-gift { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: var(--cream); border: 1px solid var(--beige); font: 600 .88rem var(--sans); color: var(--brown-dark); cursor: pointer; }
.chk-gift input { width: 18px; height: 18px; accent-color: var(--brown-dark); flex: none; cursor: pointer; }

.drawer__foot { padding: 16px 20px calc(20px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); display: grid; gap: 10px; box-shadow: 0 -10px 26px -18px rgba(74, 54, 38, .35); }
.drawer__rows { display: grid; gap: 5px; font-size: .9rem; }
.drawer__row { display: flex; justify-content: space-between; align-items: center; color: var(--muted); gap: 10px; }
.drawer__row--save { color: var(--green); font-weight: 600; }
.drawer__row--sub { font-size: .82rem; padding-left: 10px; opacity: .92; }
.drawer__row--total { margin-top: 4px; padding-top: 8px; border-top: 1px dashed var(--sand); color: var(--brown-dark); font-size: 1.02rem; font-weight: 600; }
.drawer__row--total b { font-family: var(--serif); font-size: 1.45rem; font-variant-numeric: tabular-nums; }

/* Quick View Modal */
.qmodal-backdrop { position: fixed; inset: 0; z-index: 85; background: rgba(34, 24, 16, .55); backdrop-filter: blur(5px); display: grid; place-items: center; padding: 18px; opacity: 0; pointer-events: none; transition: opacity .22s; }
.qmodal-backdrop.is-open { opacity: 1; pointer-events: auto; }
.qmodal { position: relative; width: min(760px, 100%); max-height: 90vh; overflow-y: auto; background: var(--milk); border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 32px 72px -20px rgba(34, 24, 16, .55); display: grid; grid-template-columns: .92fr 1.08fr; overflow-x: hidden; transform: scale(.96); transition: transform .22s; }
.qmodal-backdrop.is-open .qmodal { transform: scale(1); }
.qmodal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .94); color: var(--brown-dark); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.qmodal__img { background: var(--studio); aspect-ratio: 3 / 4; }
.qmodal__img img { width: 100%; height: 100%; object-fit: cover; }
.qmodal__body { padding: 24px 24px 26px; display: flex; flex-direction: column; }
.qmodal__body h3 { font-size: 1.45rem; margin: 8px 0 8px; }
.qmodal__body .price { font-size: 1.65rem; margin-bottom: 12px; display: inline-block; }
.qmodal__body p { font-size: .92rem; color: var(--muted); }
.qmodal__list { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 6px; font-size: .88rem; }
.qmodal__list li { padding-left: 20px; position: relative; }
.qmodal__list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.qmodal__btns { display: grid; gap: 8px; margin-top: auto; }

/* Toast notification */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 95; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; background: var(--brown-dark); color: var(--milk); padding: 12px 16px 12px 20px; border-radius: 999px; box-shadow: 0 18px 40px -12px rgba(34, 24, 16, .6); display: flex; align-items: center; gap: 14px; font-size: .92rem; max-width: calc(100vw - 32px); transition: opacity .22s, transform .22s; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { border: 0; border-radius: 999px; padding: 6px 14px; background: var(--milk); color: var(--brown-dark); font: 700 .84rem var(--sans); cursor: pointer; white-space: nowrap; }

/* Floating Mobile Cart Bar */
.cart-bar { position: fixed; left: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 42; display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 999px; background: var(--brown-dark); color: var(--milk); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 16px 36px -10px rgba(34, 24, 16, .6); font: 600 .9rem var(--sans); cursor: pointer; transition: transform .2s, opacity .2s; }
.cart-bar[hidden] { display: none; }
.cart-bar:hover { transform: translateY(-2px); background: #33251a; }
.cart-bar b { font-family: var(--serif); font-size: 1.02rem; font-variant-numeric: tabular-nums; }

/* Floating buttons */
.fabs { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.fab { width: 54px; height: 54px; border-radius: 50%; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .42); text-decoration: none; transition: transform .2s; }
.fab:hover { transform: scale(1.08); }
.fab .ico { width: 25px; height: 25px; }
.fab--wa { background: var(--green); }
.fab--ig { background: var(--ig); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* Responsive */
@media (max-width: 1080px) {
  .cats, .grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .burger { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--milk); border-bottom: 1px solid var(--line); display: none; box-shadow: 0 18px 34px -20px rgba(74, 54, 38, .4); }
  .nav[data-open="true"] { display: flex; }
  .nav > a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__social { margin: 16px 0 0; gap: 10px; }
  .nav__social .btn { flex: 1; }
  .nav__social .icon-btn { width: auto; border-radius: 999px; min-height: 44px; flex: 1; border: 1px solid var(--sand); }
  .nav__social .icon-btn__t { display: inline; font-weight: 600; font-size: .9rem; }
  .hero__in, .about, .insta, .book { grid-template-columns: 1fr; }
  .hero__showcase { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .hero__card:nth-child(2), .hero__card:nth-child(3) { transform: none; }
  .trust { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
  .cats, .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gallery { position: static; }
  .footer__in { grid-template-columns: 1fr; }
  .toolbar { grid-template-columns: 1fr; }
  .select { width: 100%; }
  .insta__tiles { order: -1; }
  .qmodal { grid-template-columns: 1fr; }
  .qmodal__img { aspect-ratio: 4 / 3; }
}
@media (max-width: 540px) {
  .container { width: calc(100% - 24px); }
  .header__in { gap: 8px; min-height: 64px; }
  .header__right { gap: 6px; }
  .logo { font-size: 1.12rem; gap: 7px; }
  .logo img { width: 38px; height: 38px; }
  .lang { padding: 2px; }
  .lang button { padding: 5px 9px; min-height: 30px; font-size: .76rem; }
  .cart-btn__label { display: none; }
  .cart-btn { min-height: 40px; padding: 0 11px; }
  .burger { width: 40px; height: 40px; border-radius: 12px; }
  .card { border-radius: 18px; }
  .card__body { padding: 12px 11px 13px; }
  .card__title { font-size: .95rem; }
  .card__short { display: none; }
  .card__top { flex-direction: column; align-items: flex-start; gap: 4px; }
  .card__price-row { margin-bottom: 10px; }
  .price { font-size: 1.12rem; }
  .card__add { min-height: 40px; font-size: .82rem; padding: 0 8px; }
  .card__qty { min-height: 40px; grid-template-columns: 32px 1fr 32px; }
  .card__wa-mini { width: 40px; height: 40px; }
  .card__tool { width: 32px; height: 32px; }
  .cat { border-radius: 18px; }
  .cat__body { padding: 12px 12px 15px; }
  .cat__body h3 { font-size: 1rem; margin-bottom: 4px; }
  .cat__body p { display: none; }
  .cat__more { font-size: .82rem; }
  .cat__count { top: 8px; right: 8px; padding: 3px 8px; font-size: .7rem; }
  .steps { grid-template-columns: 1fr; }
  .trust__item { padding: 13px; font-size: .84rem; }
  .hero__cta .btn { width: 100%; }
  .hero__ig { width: 100%; }
  .insta__head { align-items: flex-start; }
  .fabs { right: 12px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  .fab { width: 44px; height: 44px; }
  .fab .ico { width: 21px; height: 21px; }
  .cart-bar { left: 12px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); padding: 9px 14px; font-size: .84rem; max-width: calc(100vw - 78px); }
  .section-head--row .btn { width: 100%; }
  .footer { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
}

/* Көмекші (чат) */
.fab--bot { background: var(--brown-dark); border: 0; cursor: pointer; }
.fab--bot .ico { fill: none; }
.bot { position: fixed; right: 18px; bottom: 18px; z-index: 65; width: min(390px, calc(100vw - 24px)); height: min(580px, calc(100vh - 36px)); display: flex; flex-direction: column; background: var(--milk); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 30px 70px -20px rgba(74, 54, 38, .55); overflow: hidden; }
.bot[hidden] { display: none; }
.bot__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--brown-dark); color: #fff; }
.bot__head b { display: block; font-family: var(--serif); font-size: 1.05rem; line-height: 1.2; }
.bot__head small { display: block; opacity: .8; font-size: .8rem; }
.bot__ava { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 20px; overflow: hidden; flex: none; }
.bot__ava img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.bot__x { margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.bot__x:hover { background: rgba(255, 255, 255, .25); }
.bot__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.bot__msg { max-width: 88%; padding: 10px 14px; border-radius: 18px; font-size: .94rem; line-height: 1.5; overflow-wrap: anywhere; }
.bot__msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bot__msg--me { align-self: flex-end; background: var(--brown); color: #fff; border-bottom-right-radius: 6px; }
.bot__msg a { color: var(--brown); font-weight: 600; }
.bot__book { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.bot__book img { width: 54px; height: 72px; object-fit: cover; border-radius: 10px; background: var(--studio); border: 1px solid var(--line); }
.bot__book b { display: block; font-family: var(--serif); font-size: .92rem; line-height: 1.25; color: var(--brown-dark); }
.bot__book small { display: block; color: var(--muted); font-size: .8rem; }
.bot__book span { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; align-items: center; }
.bot__add { border: 0; border-radius: 999px; background: var(--brown-dark); color: var(--milk); padding: 4px 10px; font: 600 .78rem var(--sans); cursor: pointer; }
.bot__add:hover { background: #33251a; }
.bot__chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 14px; max-height: 40%; overflow-y: auto; border-top: 1px solid var(--line); }
.bot__chip { border: 1px solid var(--sand); background: #fff; color: var(--brown-dark); border-radius: 999px; padding: 7px 13px; font: inherit; font-size: .86rem; cursor: pointer; transition: background .15s; }
.bot__chip:hover { background: var(--beige); }
.bot__form { display: flex; gap: 8px; padding: 10px 14px 14px; }
.bot__form input { flex: 1; min-width: 0; border: 1px solid var(--sand); border-radius: 999px; padding: 10px 16px; font: inherit; font-size: 16px; background: #fff; color: var(--text); }
.bot__form button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--brown-dark); color: #fff; cursor: pointer; }
@media (max-width: 560px) { .bot { right: 12px; bottom: 12px; } }

.card__ctl { display: contents; }
.qmodal__btns .card__ctl, .order-box__main .card__ctl { display: contents; }
.drawer__foot[hidden] { display: none; }
.card__qty span[data-cart-open] { cursor: pointer; }
@media (max-width: 720px) { .qmodal__img { aspect-ratio: 4 / 3; } }
.drawer { visibility: hidden; transition: transform .3s cubic-bezier(.22, 1, .36, 1), visibility 0s .3s; }
.drawer.is-open { visibility: visible; transition-delay: 0s; }
.qmodal-backdrop { visibility: hidden; transition: opacity .22s, visibility 0s .22s; }
.qmodal-backdrop.is-open { visibility: visible; transition-delay: 0s; }


.gallery__main { cursor: zoom-in; }
.gallery__vt { font-size: 1.05rem; margin: 22px 0 10px; }
.gallery__video { border-radius: 20px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.gallery__video video { display: block; width: 100%; max-height: 520px; }
.gallery__video--embed { aspect-ratio: 9 / 16; max-height: 560px; }
.gallery__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(20, 14, 9, .92); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 14px; object-fit: contain; }
.lightbox__x, .lightbox__nav { position: absolute; border: 0; background: rgba(255, 255, 255, .16); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox__x { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }

.sets { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.set { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform .24s ease, box-shadow .24s ease; }
.set:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.set__imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--studio); }
.set__imgs a { display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.set__imgs img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.set__imgs a:hover img { transform: scale(1.05); }
.set__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.set__top { display: flex; align-items: center; gap: 10px; }
.set__body h3 { margin: 0; font-family: var(--serif); font-size: 1.25rem; color: var(--brown-dark); }
.set__body p { margin: 0; color: var(--muted); font-size: .95rem; }
.set__list { margin: 0; padding-left: 18px; font-size: .92rem; display: grid; gap: 4px; }
.set__list a { color: var(--text); text-decoration: none; }
.set__list a:hover { color: var(--brown); text-decoration: underline; }
.set__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: auto; padding-top: 6px; }
.set__price s { color: var(--muted); font-size: .92rem; }
.set__price b { font-family: var(--serif); font-size: 1.4rem; color: var(--brown-dark); }
.set__price small { color: var(--green-dark); font-weight: 600; font-size: .84rem; }

/* Interactive Book Picker Quiz */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow-sm); }
.quiz__bar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.quiz__bar span { font-size: .8rem; font-weight: 700; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.quiz__bar-track { flex: 1; height: 6px; border-radius: 999px; background: var(--cream); overflow: hidden; }
.quiz__bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brown), var(--brown-dark)); transition: width .3s ease; }
.quiz__intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.quiz__intro p { margin: 0; color: var(--muted); max-width: 540px; }
.quiz h3 { font-size: clamp(1.25rem, 2.5vw, 1.55rem); margin-bottom: 18px; }
.quiz__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.quiz__opt { min-height: 54px; padding: 12px 18px; border-radius: 16px; border: 1.5px solid var(--sand); background: var(--milk); color: var(--brown-dark); font: 600 .96rem var(--sans); cursor: pointer; text-align: center; transition: transform .16s, background .16s, color .16s, border-color .16s; }
.quiz__opt:hover { background: var(--brown-dark); color: var(--milk); border-color: var(--brown-dark); transform: translateY(-2px); }
.quiz__foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid--3 { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 540px) {
  .quiz { border-radius: 22px; padding: 20px 16px; }
  .quiz__opts { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .quiz__opt { min-height: 48px; padding: 10px 12px; font-size: .88rem; }
  .quiz__intro .btn { width: 100%; }
}

/* Checkout page */
body[data-page="checkout"] .cart-bar { display: none !important; }
.co { padding-bottom: clamp(40px, 6vw, 80px); }
.co [hidden] { display: none !important; }
.co .crumbs { padding-top: 26px; }
.co__h1 { font-size: clamp(1.8rem, 4.4vw, 2.7rem); margin-bottom: .3em; }
.co__lead { color: var(--muted); max-width: 640px; margin-bottom: .4em; }
.co__req { font-size: .84rem; color: var(--muted); margin-bottom: 22px; }
.co__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 28px; align-items: start; }
.co__main { display: grid; gap: 18px; min-width: 0; }
.co__side { position: sticky; top: 92px; min-width: 0; }
.co-card { margin: 0; min-width: 0; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
fieldset.co-card legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; font: 600 1.22rem var(--serif); color: var(--brown-dark); }
fieldset.co-card legend + * { clear: both; }
.co-sub { font-size: 1.05rem; margin: 0 0 12px; }
.co-field { margin-bottom: 14px; min-width: 0; }
.co-field:last-child { margin-bottom: 0; }
.co-field label, .co-lbl { display: block; margin-bottom: 6px; font: 700 .84rem var(--sans); letter-spacing: .02em; color: var(--brown-dark); }
.co-req { color: var(--terracotta); }
.co-opt { font-weight: 500; color: var(--muted); }
.co-input { display: block; width: 100%; min-height: 52px; padding: 12px 15px; border: 1.5px solid var(--sand); border-radius: 14px; background: var(--milk); font: 1rem var(--sans); color: var(--text); scroll-margin-top: 104px; transition: border-color .16s, background .16s, box-shadow .16s; -webkit-appearance: none; appearance: none; }
textarea.co-input { min-height: 96px; resize: vertical; line-height: 1.5; }
.co-select { padding-right: 42px; background: var(--milk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%238b6b4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.co-input::placeholder { color: #a39383; }
.co-input:focus { outline: none; border-color: var(--brown-dark); background-color: #fff; box-shadow: 0 0 0 3px rgba(139, 107, 74, .22); }
.co-input:disabled { opacity: .6; }
.co-input.is-bad { border-color: var(--terracotta); background-color: #fff6f3; }
.co-err { margin: 6px 2px 0; color: #a8472f; font-size: .86rem; font-weight: 600; }
.co-err--sum { margin: 12px 0 0; text-align: center; }
.co-hint { margin: 6px 2px 0; font-size: .82rem; color: var(--muted); }
.co-hint a { color: var(--brown-dark); font-weight: 600; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.co-dlv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-dlv__item { position: relative; display: block; cursor: pointer; }
.co-dlv__item input, .co-seg input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.co-dlv__box { display: grid; gap: 4px; justify-items: start; min-height: 112px; padding: 16px; border: 1.5px solid var(--sand); border-radius: 18px; background: var(--milk); color: var(--brown-dark); transition: border-color .16s, background .16s, box-shadow .16s, transform .16s; }
.co-dlv__box .ico { width: 1.7em; height: 1.7em; color: var(--brown); }
.co-dlv__box b { font: 600 1.02rem var(--serif); line-height: 1.25; }
.co-dlv__box small { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.co-dlv__item:hover .co-dlv__box { background: var(--cream); }
.co-dlv__item input:checked + .co-dlv__box { border-color: var(--brown-dark); background: #fff; box-shadow: 0 0 0 3px rgba(74, 54, 38, .16), var(--shadow-sm); }
.co-dlv__item input:checked + .co-dlv__box .ico { color: var(--green); }
.co-dlv__item input:focus-visible + .co-dlv__box, .co-seg input:focus-visible + span { outline: 3px solid var(--brown); outline-offset: 3px; }

.co-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .38s cubic-bezier(.22, 1, .36, 1), opacity .28s ease; }
.co-panel.is-open { grid-template-rows: 1fr; opacity: 1; }
.co-panel__in { min-height: 0; overflow: hidden; margin: 0 -5px; padding: 0 5px; }
.co-panel__pad { padding: 20px 0 6px; }
.co-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.co-seg label { position: relative; margin: 0; }
.co-seg span { display: grid; place-items: center; min-height: 48px; padding: 0 8px; border: 1.5px solid var(--sand); border-radius: 14px; background: var(--milk); font: 600 .92rem var(--sans); color: var(--brown-dark); text-align: center; transition: background .16s, color .16s, border-color .16s; }
.co-seg label:hover span { background: var(--cream); }
.co-seg input:checked + span { background: var(--brown-dark); border-color: var(--brown-dark); color: var(--milk); }

.co-sum__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.co-sum__head h2 { font-size: 1.22rem; margin: 0; }
.co-link { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--brown); font: 600 .88rem var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.co-items { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.co-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; }
.co-item__img { width: 48px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--studio); border: 1px solid var(--line); }
.co-item__img img { width: 100%; height: 100%; object-fit: cover; }
.co-item__t { min-width: 0; display: grid; gap: 2px; }
.co-item__t a { font: 600 .94rem var(--serif); color: var(--brown-dark); text-decoration: none; line-height: 1.25; }
.co-item__t span { font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.co-item__sum { font: 700 .98rem var(--serif); color: var(--brown-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-promo { padding-top: 14px; border-top: 1px dashed var(--sand); }
#f-promo { text-transform: uppercase; letter-spacing: .06em; }
#f-promo::placeholder { text-transform: none; letter-spacing: 0; }
.co-promo__msg { margin: 6px 2px 0; font-size: .84rem; color: var(--muted); }
.co-promo__msg:empty { display: none; }
.co-promo__msg.is-ok { color: var(--green); font-weight: 600; }
.co-promo__msg.is-bad { color: #a8472f; font-weight: 600; }
.co-gift { min-height: 48px; margin-bottom: 14px; }
.co-sum .drawer__rows { margin-bottom: 16px; }
.co-send { min-height: 58px; font-size: 1.04rem; position: relative; }
.co-send:disabled { cursor: progress; opacity: .92; transform: none; }
.co-spin { display: none; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: co-spin .7s linear infinite; }
.co-send.is-busy .co-spin { display: inline-block; }
.co-send.is-busy .ico { display: none; }
@keyframes co-spin { to { transform: rotate(360deg); } }

.co-state { max-width: 560px; margin: 24px auto 0; padding: clamp(28px, 6vw, 48px) 24px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-card); }
.co-state h1 { font-size: clamp(1.5rem, 4.4vw, 2.1rem); }
.co-state p { color: var(--muted); }
.co-state__ico { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--brown); border: 1px solid var(--beige); }
.co-state__ico .ico { width: 34px; height: 34px; }
.co-state__ico--ok { background: #e8f3ec; color: var(--green); border-color: #cfe5d7; }
.co-state.is-blocked .co-state__ico--ok { background: #fbeee8; color: var(--terracotta); border-color: #f1d5c9; }
.co-state h1:focus { outline: none; }
.co-state__btns { display: grid; gap: 10px; justify-items: center; margin-top: 6px; }
.co-fb { margin-top: 22px; text-align: left; border-top: 1px dashed var(--sand); padding-top: 14px; }
.co-fb summary { min-height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; font: 600 .9rem var(--sans); color: var(--brown); }
.co-fb__body { padding-top: 8px; }
.co-fb__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.co-fb__btns .btn { flex: 1 1 200px; }
.co-fb .co-input { font-size: .9rem; min-height: 0; }
.co-state.is-blocked .co-state__btns { order: 3; }

@media (max-width: 900px) {
  .co__grid { grid-template-columns: minmax(0, 1fr); }
  .co__side { position: static; }
}
@media (max-width: 520px) {
  .co-card { padding: 18px 16px; border-radius: 20px; }
  .co-dlv { grid-template-columns: 1fr; }
  .co-dlv__box { min-height: 0; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
  .co-dlv__box .ico { grid-row: span 2; }
  .co-dlv__box small, .co-dlv__box b { justify-self: start; }
}

/* Reviews */
.section--cream + .section--cream { border-top: 1px solid var(--line); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.review__shot { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--studio); aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in; border-bottom: 1px solid var(--line); }
.review__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.review__shot:hover img { transform: scale(1.03); }
.review__zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(74, 54, 38, .82); color: var(--milk); font: 600 .78rem var(--sans); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.review__zoom .ico { width: 15px; height: 15px; }
.review__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.review__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.review__stars { color: #e8a33d; letter-spacing: 2px; font-size: 1rem; line-height: 1; }
.review__src { font-size: .76rem; font-weight: 600; color: var(--brown); background: var(--cream); border: 1px solid var(--beige); padding: 3px 10px; border-radius: 999px; }
.review blockquote { margin: 0; color: var(--brown-dark); line-height: 1.58; font-size: .95rem; }
.review__caption { margin: 0; color: var(--muted); line-height: 1.55; font-size: .92rem; }
.review figcaption, .vreview figcaption { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: .85rem; color: var(--muted); }
.review figcaption b, .vreview figcaption b { color: var(--brown-dark); font-family: var(--serif); font-size: 1rem; }
.review__books { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.review__books-label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.review__book-list { display: flex; flex-wrap: wrap; gap: 7px; }
.review__book { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--beige); color: var(--brown-dark); font-size: .82rem; font-weight: 500; text-decoration: none; transition: background .18s, border-color .18s; }
.review__book:hover { background: var(--beige); border-color: var(--sand); }
.vreviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 290px)); justify-content: center; gap: 20px; margin-bottom: 24px; }
.vreviews:empty { display: none; }
.vreviews--single { display: block; }
.vreview { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.vreview--featured { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow-card); display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: clamp(20px, 3.5vw, 36px); align-items: center; }
.vreview video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 20px; background: #1c140e; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: block; }
.vreview__body { display: flex; flex-direction: column; gap: 14px; }
.vreview__quote { margin: 0; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.3; color: var(--brown-dark); }
.vreview__quote--sm { font-size: 1.02rem; }
.vreview__note { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }
@media (max-width: 960px) {
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .vreview--featured { grid-template-columns: 1fr; }
  .vreview--featured .vreview__media { max-width: 300px; width: 100%; margin-inline: auto; }
}
@media (max-width: 600px) {
  .reviews { grid-template-columns: 1fr; }
}
