/* =========================================================
   Объектив — стили (версия 2)
   Заголовки: Montserrat Alternates, текст: Manrope.
   Кремовый фон, фиолетовый — действия, лаванда — поверхности, лайм — акцент.
   ========================================================= */
:root {
  --cream: #FFF1EB;
  --cream-2: #FFF8F4;
  --lime: #B9D440;
  --lime-soft: #EAF2C2;
  --lav: #BC9BF3;
  --lav-soft: #EEE4FD;
  --violet: #7360F9;
  --violet-deep: #5440E6;
  --ink: #1F1652;
  --ink-2: #5B5385;
  --line: #E8DAF8;
  --danger: #C8344F;

  --display: 'Montserrat Alternates', 'Manrope', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --dw: 800;
  --dw2: 700;
  --surface: #F6F2FD;
  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 500 16px/1.55 var(--body); -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; overflow-x: clip;
}
main { flex: 1; outline: none; }
img { max-width: 100%; display: block; }
a { color: var(--violet-deep); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--dw); line-height: 1.05; margin: 0; letter-spacing: -0.03em; }
h1 { font-size: clamp(32px, 7vw, 68px); }
h2 { font-size: clamp(26px, 5vw, 44px); }
h3 { font-size: clamp(18px, 3.4vw, 22px); font-weight: var(--dw2); letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ssr { max-width: 760px; margin: 40px auto; padding: 0 var(--gutter); }
.ssr h1 { margin-bottom: 16px; }
.ssr h2 { font-size: 24px; margin: 24px 0 8px; }

/* ---------- огромные заголовки в две строки со сдвигом ---------- */
.mega {
  font: var(--dw) clamp(40px, 10.5vw, 132px)/.9 var(--display); letter-spacing: -0.045em; text-transform: uppercase;
  color: var(--violet); margin: 0 0 clamp(24px, 4vw, 48px); display: grid;
}
.mega span { display: block; white-space: nowrap; }
.mega span + span { justify-self: end; text-align: right; }
.mega.on-dark { color: var(--lime); }
.mega.on-lime { color: var(--ink); }
.mega.left span + span { justify-self: start; padding-left: 12%; }
@media (max-width: 520px) { .mega { font-size: clamp(34px, 11.5vw, 60px); } }

/* ---------- появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .mega.reveal { opacity: 1; transform: none; }
.js .mega.reveal span { transition: transform 1s var(--ease), opacity 1s var(--ease); opacity: 0; }
.js .mega.reveal span:first-child { transform: translateX(-12%); }
.js .mega.reveal span + span { transform: translateX(12%); transition-delay: .08s; }
.js .mega.reveal.in span { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .mega.reveal span { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- кнопки ---------- */
.btn {
  --bg: var(--violet); --fg: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg); font: 700 16px/1 var(--body); text-decoration: none;
  cursor: pointer; transition: transform .2s var(--ease), color .3s; -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ink);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { color: #fff; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn[disabled]::before { display: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-lime { --bg: var(--lime); --fg: var(--ink); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost.light { --fg: #fff; }
.btn-soft { --bg: var(--lav-soft); --fg: var(--ink); }
.btn-white { --bg: #fff; --fg: var(--ink); }
.btn-danger { --bg: transparent; --fg: var(--danger); box-shadow: inset 0 0 0 2px currentColor; }
.btn-danger::before { background: var(--danger); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.arrow { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: #fff; color: var(--ink); flex: none; transition: transform .4s var(--ease); }
.arrow svg { width: 20px; height: 20px; }
a:hover .arrow, button:hover .arrow { transform: rotate(-45deg); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; display: inline-grid; place-items: center; background: transparent; cursor: pointer; color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: var(--lav-soft); }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn[disabled] { opacity: .35; cursor: default; }

/* ---------- шапка ---------- */
.topbar { position: sticky; top: 0; z-index: 40; transition: background .3s, box-shadow .3s; }
.topbar.scrolled { background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.topbar-in { display: flex; align-items: center; gap: 10px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo img { width: 40px; height: 40px; transition: transform .8s var(--ease); }
.logo:hover img { transform: rotate(180deg); }
.logo span { font: var(--dw) 22px/1 var(--display); letter-spacing: -0.04em; }
.nav { display: none; gap: 2px; background: #fff; border-radius: 999px; padding: 5px; box-shadow: 0 0 0 1px var(--line); }
.nav a { padding: 10px 16px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; transition: background .2s; }
.nav a:hover { background: var(--lav-soft); }
.nav a.active { background: var(--ink); color: #fff; }
.top-actions { display: flex; align-items: center; gap: 4px; }
.top-cta { display: none; }
@media (min-width: 960px) { .nav { display: flex; } .burger { display: none; } .top-cta { display: inline-flex; } }

.drawer {
  position: fixed; inset: 0; z-index: 60; background: var(--violet); color: #fff;
  display: flex; flex-direction: column; padding: 16px var(--gutter) calc(24px + var(--safe-b));
  clip-path: circle(0% at calc(100% - 40px) 34px); visibility: hidden;
  transition: clip-path .6s var(--ease), visibility .6s;
}
.drawer.open { clip-path: circle(150% at calc(100% - 40px) 34px); visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.drawer .icon-btn { color: #fff; }
.drawer .icon-btn:hover { background: rgba(255,255,255,.15); }
.drawer nav { display: flex; flex-direction: column; margin-top: 28px; }
.drawer nav a { color: #fff; text-decoration: none; font: var(--dw) clamp(30px, 9vw, 44px)/1.15 var(--display); letter-spacing: -0.04em; padding: 8px 0; text-transform: uppercase; }
.drawer.open nav a { animation: drawerIn .6s var(--ease) both; }
.drawer.open nav a:nth-child(2) { animation-delay: .05s; } .drawer.open nav a:nth-child(3) { animation-delay: .1s; }
.drawer.open nav a:nth-child(4) { animation-delay: .15s; } .drawer.open nav a:nth-child(5) { animation-delay: .2s; } .drawer.open nav a:nth-child(6) { animation-delay: .25s; }
@keyframes drawerIn { from { opacity: 0; transform: translateY(24px); } }
.drawer .btn { margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .drawer { transition: none; } .drawer.open nav a { animation: none; } }

/* ---------- бегущая строка ---------- */
.ticker { background: var(--lime); color: var(--ink); overflow: hidden; white-space: nowrap; padding: 16px 0; transform: rotate(-1.2deg); margin: 0 -12px; }
.ticker-track { display: inline-flex; gap: 28px; animation: ticker 34s linear infinite; padding-left: 28px; }
.ticker-track span { font: var(--dw) 20px/1 var(--display); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 28px; text-transform: uppercase; }
.ticker-track svg { width: 22px; height: 22px; flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- главная: первый экран (оставлен как был, с новыми шрифтами) ---------- */
.hero { padding: 24px 0 48px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-copy h1 { max-width: 14ch; font-size: clamp(34px, 6.4vw, 72px); }
.hero-copy p { margin-top: 20px; font-size: 17px; max-width: 46ch; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.hero-note i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px var(--lime-soft); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px transparent; } }
@media (max-width: 599px) { .hero-cta .btn { width: 100%; } }
@media (min-width: 900px) { .hero { padding: 48px 0 80px; } .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.js .hero-copy > * { animation: heroIn .9s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .1s; } .js .hero-copy > :nth-child(3) { animation-delay: .2s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } }

.mosaic { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; margin: 0 auto; --px: 0; --py: 0; }
.tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); border-radius: var(--r-lg); overflow: hidden; }
.tiles svg { width: 100%; height: 100%; display: block; }
.js .tiles > * { animation: tileIn .7s var(--ease) both; }
.js .tiles > :nth-child(3n+2) { animation-delay: .08s; } .js .tiles > :nth-child(3n) { animation-delay: .16s; }
@keyframes tileIn { from { opacity: 0; transform: scale(.6) rotate(-8deg); } }
.polaroid { position: absolute; background: #fff; padding: 9px 9px 36px; border-radius: 4px; box-shadow: 0 22px 36px -14px rgba(31, 22, 82, .4); width: 46%; margin: 0; transition: transform .3s ease-out; }
.polaroid .ph { aspect-ratio: 4/5; background: var(--lav-soft); overflow: hidden; }
.polaroid .ph img { width: 100%; height: 100%; object-fit: cover; }
.polaroid .ph svg { width: 100%; height: 100%; }
.polaroid figcaption { position: absolute; left: 12px; right: 12px; bottom: 9px; font: var(--dw2) 12px/1.2 var(--display); color: var(--ink-2); }
.polaroid.p1 { left: 5%; top: 5%; transform: translate(calc(var(--px) * -14px), calc(var(--py) * -10px)) rotate(-7deg); }
.polaroid.p2 { right: 3%; top: 37%; transform: translate(calc(var(--px) * 18px), calc(var(--py) * 14px)) rotate(6deg); }
.js .polaroid { animation: dropIn 1s var(--ease) both .25s; }
.js .polaroid.p2 { animation-delay: .4s; }
@keyframes dropIn { from { opacity: 0; translate: 0 -40px; } }
.mosaic-badge {
  position: absolute; left: 3%; bottom: -5%; width: 31%; aspect-ratio: 1; color: var(--ink);
  display: grid; place-items: center; text-align: center; font: var(--dw) clamp(15px, 3.4vw, 22px)/1.05 var(--display);
}
.mosaic-badge::before { content: ''; position: absolute; inset: 0; background: var(--lime); -webkit-mask: url(/img/flower.svg) center/contain no-repeat; mask: url(/img/flower.svg) center/contain no-repeat; animation: spin 18s linear infinite; }
.mosaic-badge > div { position: relative; transform: rotate(-8deg); }
.mosaic-badge small { display: block; font: 700 11px/1.2 var(--body); margin-top: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mosaic-badge::before, .hero-note i { animation: none; } }

/* ---------- секции ---------- */
.section { padding: clamp(56px, 9vw, 120px) 0; position: relative; }
.section-tight { padding-top: 0; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); max-width: 52ch; }

/* волнистая рамка (как у Simpule) */
.blob { position: relative; aspect-ratio: 4 / 5; }
.blob::before { content: ''; position: absolute; inset: 0; background: var(--frame, var(--lav)); -webkit-mask: url(/img/blob.svg) center/100% 100% no-repeat; mask: url(/img/blob.svg) center/100% 100% no-repeat; transition: transform .6s var(--ease); }
.blob-in { position: absolute; inset: 10px; -webkit-mask: url(/img/blob.svg) center/100% 100% no-repeat; mask: url(/img/blob.svg) center/100% 100% no-repeat; overflow: hidden; background: var(--cream-2); }
.blob-in img, .blob-in svg { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }

/* карточки услуг */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
@media (min-width: 820px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; } }
.svc { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; }
.svc:hover .blob::before { transform: scale(1.03) rotate(-1.5deg); }
.svc:hover .blob-in img, .svc:hover .blob-in svg { transform: scale(1.07); }
.svc h3 { font-size: clamp(17px, 2.4vw, 24px); text-align: center; }
.svc p { font-size: 14px; color: var(--ink-2); text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-tag { position: absolute; top: -6px; left: -6px; width: 30%; aspect-ratio: 1; display: grid; place-items: center; font: var(--dw) 12px/1 var(--display); color: var(--ink); z-index: 2; transform: rotate(-12deg); }
.svc-tag::before { content: ''; position: absolute; inset: 0; background: var(--lime); -webkit-mask: url(/img/flower.svg) center/contain no-repeat; mask: url(/img/flower.svg) center/contain no-repeat; z-index: -1; }
.svc-actions { display: grid; gap: 8px; }
.svc-actions .btn { min-height: 44px; font-size: 14px; padding: 0 12px; }
.svc-price { text-align: center; font: var(--dw) 15px/1 var(--display); color: var(--violet-deep); }

/* бенто-сетка */
.bento { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "cta cta" "s1 s2" "s3 s3" "loy loy" "fmt fmt"; }
.bento > * { border-radius: var(--r-lg); padding: 22px; position: relative; overflow: hidden; }
.b-cta { grid-area: cta; background: var(--lime); color: var(--ink); text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 220px; transition: transform .4s var(--ease); }
.b-cta:hover { transform: rotate(-1deg) scale(1.01); }
.b-cta .t { font: var(--dw) clamp(28px, 5vw, 46px)/.95 var(--display); letter-spacing: -0.045em; text-transform: uppercase; }
.b-cta > span:last-child { font-weight: 700; }
.b-cta .arrow { position: absolute; top: 20px; right: 20px; background: var(--ink); color: var(--lime); width: 52px; height: 52px; }
.b-s1 { grid-area: s1; } .b-s2 { grid-area: s2; } .b-s3 { grid-area: s3; }
.b-step { background: #fff; display: flex; flex-direction: column; gap: 10px; min-height: 170px; }
.b-s2 { background: var(--lav-soft); }
.b-s3 { background: var(--cream-2); box-shadow: inset 0 0 0 2px var(--line); }
.b-step .num { width: 42px; height: 42px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font: var(--dw) 18px/1 var(--display); }
.b-step strong { font: var(--dw2) 18px/1.2 var(--display); letter-spacing: -0.02em; }
.b-step span:last-child { font-size: 14px; color: var(--ink-2); }
.b-big { grid-area: loy; background: var(--violet); color: #fff; display: grid; gap: 16px; align-content: start; }
.b-big h3 { color: #fff; font-size: clamp(24px, 3.6vw, 36px); text-transform: uppercase; letter-spacing: -0.045em; line-height: 1; }
.b-big p { color: rgba(255,255,255,.85); max-width: 46ch; }
.b-formats { grid-area: fmt; background: var(--ink); color: #fff; }
.b-formats .chip-static { background: rgba(255,255,255,.1); box-shadow: none; color: #fff; min-height: 38px; font-size: 14px; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; grid-template-areas: "cta s1 s2 s3" "cta loy loy fmt"; }
  .bento > * { padding: 28px; }
  .b-cta { min-height: 100%; }
}
.dots { display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 8px; max-width: 420px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font: var(--dw) clamp(11px, 2.4vw, 15px)/1 var(--display); font-style: normal; color: rgba(255,255,255,.7); transition: background .4s, color .4s, transform .4s var(--ease); }
.dots i.on { background: var(--lav); color: var(--ink); }
.dots i.gift { background: var(--lime); color: var(--ink); }
.js .dots.reveal i { transform: scale(.4); }
.js .dots.reveal.in i { transform: none; transition-delay: calc(var(--i) * .09s + .2s); }

/* 3D футболка на главной */
.tee-promo { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px); display: grid; gap: 24px; overflow: hidden; position: relative; }
.tee-promo .lead { color: rgba(255,255,255,.8); }
.tee-stage-mini { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.tee-stage-mini::before { content: ''; position: absolute; inset: 8% 6%; background: var(--violet); -webkit-mask: url(/img/flower.svg) center/contain no-repeat; mask: url(/img/flower.svg) center/contain no-repeat; animation: spin 40s linear infinite; opacity: .9; }
.tee-stage-mini canvas { position: relative; width: 100%; height: 100%; display: block; }
.tee-stage-mini img { position: relative; width: 70%; margin: 15% auto; }
.tee-promo .chips span { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; }
@media (min-width: 900px) { .tee-promo { grid-template-columns: 1fr 1fr; align-items: center; } }

/* контакты */
.contacts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-card { background: #fff; border-radius: var(--r-lg); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); transition: transform .4s var(--ease), background .3s; }
a.contact-card:hover { transform: translateY(-4px); background: var(--lav-soft); }
.contact-card b { font: 700 13px/1.3 var(--body); color: var(--ink-2); }
.contact-card span { font: var(--dw2) clamp(18px, 2.4vw, 22px)/1.25 var(--display); letter-spacing: -0.02em; }

/* ---------- подвал ---------- */
.footer { background: var(--violet); color: #fff; padding: 48px 0 0; margin-top: 56px; border-radius: var(--r-xl) var(--r-xl) 0 0; overflow: hidden; }
.footer-grid { display: grid; gap: 24px; }
.footer a { color: #fff; }
.footer small { color: rgba(255,255,255,.75); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { text-decoration: none; font-weight: 700; }
.footer-links a:hover { text-decoration: underline; }
.footer-word { font: var(--dw) clamp(64px, 20vw, 300px)/.78 var(--display); letter-spacing: -0.06em; color: var(--lime); text-transform: lowercase; white-space: nowrap; margin: 32px 0 -0.08em -0.04em; user-select: none; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; align-items: end; } }
body.has-bar .footer { padding-bottom: calc(96px + var(--safe-b)); }
.foot-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- страница услуги ---------- */
.svc-hero { display: grid; gap: 16px; padding: 16px 0 24px; }
.svc-hero-card { background: var(--violet); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 18px; justify-content: space-between; min-height: 320px; position: relative; overflow: hidden; }
.svc-hero-card h1 { color: #fff; font-size: clamp(34px, 6vw, 76px); text-transform: uppercase; letter-spacing: -0.045em; line-height: .95; }
.svc-hero-card p { color: rgba(255,255,255,.88); font-size: 17px; max-width: 42ch; }
.svc-hero-card .crumbs a { color: rgba(255,255,255,.8); font-weight: 700; font-size: 14px; text-decoration: none; }
.svc-hero-card .deco { position: absolute; right: -40px; top: -40px; width: 200px; opacity: .25; }
.svc-hero .blob { --frame: var(--lime); width: 100%; max-width: 480px; justify-self: center; }
.js .svc-hero-card { animation: heroIn .9s var(--ease) both; }
.js .svc-hero .blob { animation: heroIn .9s var(--ease) both .15s; }
@media (min-width: 900px) { .svc-hero { grid-template-columns: 1.25fr .75fr; align-items: stretch; } .svc-hero .blob { max-width: none; } }

.blocks { display: flex; flex-direction: column; gap: 40px; padding-block: 40px 24px; max-width: 820px; }
.b-heading { font-size: clamp(26px, 5vw, 48px); text-transform: uppercase; letter-spacing: -0.04em; color: var(--violet); }
.b-text { font-size: 18px; line-height: 1.7; }
.b-text p + p, .b-text p + ul, .b-text ul + p { margin-top: 14px; }
.b-text ul { padding-left: 0; list-style: none; margin: 0; }
.b-text li { position: relative; padding-left: 30px; margin: 10px 0; }
.b-text li::before { content: ''; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; background: var(--lime); -webkit-mask: url(/img/flower.svg) center/contain no-repeat; mask: url(/img/flower.svg) center/contain no-repeat; }
.b-image figure { margin: 0; }
.b-image img { border-radius: var(--r-lg); width: 100%; }
.b-image figcaption { font-size: 14px; color: var(--ink-2); margin-top: 10px; }
.b-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.b-gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; }
.b-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.b-gallery button:hover img { transform: scale(1.06); }
@media (min-width: 760px) { .b-gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.price-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.price-title { font-size: clamp(22px, 3.6vw, 30px); margin-bottom: 14px; }
.price-card { background: #fff; border-radius: var(--r-md); padding: 20px; display: flex; flex-direction: column; gap: 6px; transition: transform .4s var(--ease); }
.price-card:hover { transform: translateY(-4px) rotate(-.6deg); }
.price-card:nth-child(3n+2) { background: var(--lav-soft); }
.price-card:nth-child(3n) { background: var(--lime-soft); }
.price-card .nm { font-weight: 700; }
.price-card small { color: var(--ink-2); font-size: 13px; }
.price-card .pr { font: var(--dw) 26px/1 var(--display); letter-spacing: -0.03em; margin-top: auto; padding-top: 12px; color: var(--violet-deep); }
.callout { background: var(--lime); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 8px; position: relative; overflow: hidden; }
.callout h3 { font-size: clamp(22px, 3.6vw, 30px); text-transform: uppercase; letter-spacing: -0.04em; }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 52px 20px 0; position: relative; font: var(--dw2) 18px/1.35 var(--display); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border-radius: 50%; background: var(--lav-soft); display: grid; place-items: center; font: 600 24px/1 var(--body); color: var(--violet); transition: transform .35s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); color: var(--ink); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); font-size: 17px; }
.faq details[open] p { animation: heroIn .45s var(--ease); }
.service-cta { position: sticky; bottom: calc(14px + var(--safe-b)); z-index: 20; display: flex; justify-content: center; padding-top: 8px; }
.service-cta .btn { box-shadow: 0 14px 34px -12px rgba(84, 64, 230, .7); min-width: min(100%, 360px); }

/* ---------- формы ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-weight: 700; font-size: 14px; }
.field small { color: var(--ink-2); font-size: 13px; }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-sm); border: 2px solid var(--line); background: #fff; font-size: 16px; font-weight: 500; transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--lav-soft); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F1652' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-error { background: #FDE6EA; color: var(--danger); border-radius: var(--r-sm); padding: 12px 14px; font-weight: 600; font-size: 14px; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; min-height: 40px; }
.check input { width: 22px; height: 22px; accent-color: var(--violet); }
input[type="color"] { width: 52px; height: 52px; padding: 4px; border-radius: var(--r-sm); border: 2px solid var(--line); background: #fff; cursor: pointer; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span, span.chip-static { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 2px var(--line); font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, box-shadow .2s, color .2s; user-select: none; white-space: nowrap; }
span.chip-static { cursor: default; }
.chip input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.chip input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.chip input:disabled + span { opacity: .4; cursor: not-allowed; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
.chips-scroll::-webkit-scrollbar { display: none; }
.chip-sm span { min-height: 38px; padding: 0 14px; font-size: 14px; }
.swatch { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); flex: none; }

.stepper { display: inline-flex; align-items: center; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 2px var(--line); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font: var(--dw2) 22px/1 var(--display); cursor: pointer; color: var(--ink); border-radius: 50%; }
.stepper button:hover { background: var(--lav-soft); }
.stepper input { width: 46px; text-align: center; border: 0; background: none; font-weight: 800; font-size: 16px; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- заголовок страниц-инструментов ---------- */
.tool-head { padding: 20px 0 24px; display: grid; gap: 16px; }
.tool-head .mega { margin: 0; }
.tool-head .lead { max-width: 56ch; }
.tool-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-facts span { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; }
.tool-facts span:nth-child(2) { background: var(--lime); }
.tool-facts span:nth-child(3) { background: var(--lav-soft); }

/* ---------- печать фото ---------- */
.tool-grid { display: grid; gap: 20px; padding-bottom: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .tool-grid { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } }
.tool-grid > *, .tee-tool > *, .editor > *, .acct > * { min-width: 0; }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; min-height: 240px; border-radius: var(--r-xl); background: var(--violet); color: #fff; padding: 32px 20px; cursor: pointer; position: relative; overflow: hidden; transition: background .3s, transform .3s var(--ease); }
.drop::after { content: ''; position: absolute; inset: 12px; border: 2px dashed rgba(255,255,255,.45); border-radius: calc(var(--r-xl) - 12px); pointer-events: none; }
.drop:hover, .drop.over { background: var(--violet-deep); }
.drop.over { transform: scale(.99); }
.drop svg { width: 64px; height: 64px; transition: transform .5s var(--ease); }
.drop:hover svg { transform: translateY(-6px) rotate(-6deg); }
.drop strong { font: var(--dw) clamp(22px, 4vw, 30px)/1.1 var(--display); text-transform: uppercase; letter-spacing: -0.03em; }
.drop .muted { color: rgba(255,255,255,.8); }
.drop.compact { min-height: 0; flex-direction: row; padding: 18px; border-radius: var(--r-lg); }
.drop.compact::after { inset: 8px; border-radius: calc(var(--r-lg) - 8px); }
.drop.compact svg { width: 34px; height: 34px; }
.drop.compact strong { font-size: 17px; }
.drop.compact .muted { display: none; }
.defaults { background: #fff; border-radius: var(--r-lg); padding: 20px; display: grid; gap: 14px; overflow: hidden; }
.defaults .lbl { font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.defaults .chips-scroll { margin: 0 -20px; padding: 2px 20px; }
.stack { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.photo-list { display: grid; gap: 12px; }
@media (min-width: 640px) { .photo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.photo { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px 14px; background: #fff; border-radius: var(--r-lg); padding: 12px; animation: popIn .45s var(--ease) both; }
@keyframes popIn { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.photo-thumb { position: relative; width: 96px; height: 120px; border-radius: 14px; overflow: hidden; background: var(--lav-soft); display: grid; place-items: center; font: var(--dw2) 12px var(--display); color: var(--ink-2); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-main { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.photo-top { display: flex; align-items: start; gap: 6px; }
.photo-name { flex: 1; font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-top: 10px; }
.photo-top .icon-btn { width: 38px; height: 38px; margin: -2px -4px 0 0; }
.photo-row { display: flex; gap: 8px; }
.photo-row .select { flex: 1; min-width: 0; min-height: 44px; padding: 8px 34px 8px 12px; font-size: 15px; background-position: right 10px center; }
.photo-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.photo-price { font: var(--dw) 17px/1 var(--display); }
.warn { font-size: 12px; font-weight: 600; color: #8A5200; background: #FFF0CC; padding: 4px 8px; border-radius: 6px; align-self: start; }
.photo .stepper button { width: 38px; height: 38px; font-size: 19px; }
.photo .stepper input { width: 36px; }

.summary { background: #fff; border-radius: var(--r-xl); padding: 24px; display: none; }
@media (min-width: 1000px) { .summary { display: block; position: sticky; top: 88px; } }
.sum-rows { display: grid; gap: 10px; margin: 16px 0; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sum-row.disc { color: #4B6A00; font-weight: 700; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 14px; margin-top: 4px; }
.sum-total b { font: var(--dw) 28px/1 var(--display); letter-spacing: -0.03em; }
.loyal-mini { display: flex; gap: 12px; align-items: center; background: var(--lime-soft); border-radius: var(--r-md); padding: 12px 14px; font-size: 14px; font-weight: 600; margin-top: 14px; }
.loyal-mini .dots { gap: 4px; width: 120px; flex: none; }
.loyal-mini .dots i { font-size: 0; background: #fff; }
.loyal-mini .dots i.on { background: var(--lav); }
.loyal-mini .dots i.gift { background: var(--violet); }

.bar { position: fixed; left: 8px; right: 8px; bottom: calc(8px + var(--safe-b)); z-index: 30; background: var(--ink); color: #fff; padding: 10px 10px 10px 20px; display: flex; align-items: center; gap: 12px; border-radius: 999px; transform: translateY(140%); transition: transform .45s var(--ease); box-shadow: 0 16px 40px -12px rgba(31,22,82,.5); }
.bar.show { transform: none; }
.bar-info { flex: 1; min-width: 0; }
.bar-info b { display: block; font: var(--dw) 19px/1.1 var(--display); letter-spacing: -0.02em; }
.bar-info small { color: #C9C1F5; font-size: 12px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .btn { min-height: 48px; }
@media (min-width: 1000px) { .bar.desk-hide { display: none; } }
.desk-only { display: none; }
@media (min-width: 1000px) { .desk-only { display: block; } }

/* ---------- 3D-конструктор футболок ---------- */
.tee-tool { display: grid; gap: 16px; padding-bottom: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .tee-tool { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: start; } .tee-stage { position: sticky; top: 84px; } }
.tee-stage { position: relative; background: var(--lav-soft); border-radius: var(--r-xl); overflow: hidden; height: min(68vh, 640px); min-height: 380px; touch-action: none; }
.tee-stage::before { content: ''; position: absolute; left: 50%; bottom: 7%; width: 56%; height: 8%; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(31,22,82,.22), transparent); }
.tee-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.tee-stage canvas:active { cursor: grabbing; }
.tee-views { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; z-index: 2; }
.tee-views::-webkit-scrollbar { display: none; }
.tee-views button { flex: none; border: 0; min-height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); font-weight: 700; font-size: 13px; cursor: pointer; color: var(--ink); }
.tee-views button.on { background: var(--ink); color: #fff; }
.tee-hint { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-2); pointer-events: none; }
.tee-zoom { position: absolute; right: 12px; bottom: 44px; display: grid; gap: 6px; z-index: 2; }
.tee-zoom button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font: var(--dw2) 20px/1 var(--display); cursor: pointer; color: var(--ink); }
.tee-panel { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.tee-card { background: #fff; border-radius: var(--r-lg); padding: 18px; display: grid; gap: 12px; }
.tee-card h3 { font-size: 17px; }
.panel-lbl { font-weight: 800; font-size: 15px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.panel-lbl small { font-weight: 600; color: var(--ink-2); }
.stickers { display: flex; gap: 8px; flex-wrap: wrap; }
.sticker-opt { position: relative; width: 64px; height: 64px; border-radius: 14px; border: 0; padding: 4px; background: var(--cream-2); cursor: pointer; box-shadow: inset 0 0 0 2px var(--line); }
.sticker-opt img { width: 100%; height: 100%; object-fit: contain; }
.sticker-opt[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--violet); background: var(--lav-soft); }
.sticker-add { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; background: var(--violet); color: #fff; font: var(--dw2) 28px/1 var(--display); cursor: pointer; }
.sticker-add:hover { background: var(--violet-deep); }
.sel-tools { display: grid; gap: 10px; padding-top: 4px; border-top: 2px dashed var(--line); }
.range { display: grid; grid-template-columns: 76px 1fr 52px; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.range input { width: 100%; accent-color: var(--violet); height: 32px; }
.range output { text-align: right; color: var(--ink-2); font-size: 13px; }
.tee-models { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.tee-models::-webkit-scrollbar { display: none; }
.model-opt { flex: none; display: flex; align-items: center; gap: 10px; border: 0; min-height: 52px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--cream-2); cursor: pointer; font-weight: 700; font-size: 14px; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.model-opt .swatch { width: 40px; height: 40px; }
.model-opt[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--violet); background: var(--lav-soft); }
.model-opt small { display: block; font-weight: 600; color: var(--ink-2); font-size: 12px; }
.no3d { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; font-weight: 600; }

/* ---------- окна ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 70; background: rgba(31, 22, 82, .5); display: flex; align-items: flex-end; justify-content: center; animation: fade .25s ease; }
.sheet { background: #fff; width: 100%; max-width: 540px; max-height: 92vh; overflow: auto; border-radius: 30px 30px 0 0; padding: 10px 22px calc(24px + var(--safe-b)); animation: up .4s var(--ease); }
.sheet-grip { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
.sheet-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sheet-head h2 { font-size: 26px; text-transform: uppercase; letter-spacing: -0.04em; }
@media (min-width: 640px) { .sheet-bg { align-items: center; } .sheet { border-radius: 30px; padding: 26px 30px 30px; } .sheet-grip { display: none; } }
@keyframes up { from { transform: translateY(60px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-bg { animation: none; } }
.tabs { display: flex; background: var(--lav-soft); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.tabs button { flex: 1; border: 0; background: none; min-height: 44px; border-radius: 999px; font-weight: 700; cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 2px 8px rgba(31,22,82,.1); }
.upl-list { display: grid; gap: 8px; margin: 4px 0; }
.upl-item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.upl-item .track { flex: 1; height: 8px; border-radius: 4px; background: var(--lav-soft); overflow: hidden; }
.upl-item .track i { display: block; height: 100%; background: var(--violet); width: 0; transition: width .2s; }

.success { text-align: center; padding-block: 56px 72px; max-width: 560px; margin: 0 auto; }
.success-badge { position: relative; width: 150px; height: 150px; margin: 0 auto 28px; display: grid; place-items: center; font: var(--dw) 32px/1 var(--display); }
.success-badge::before { content: ''; position: absolute; inset: 0; background: var(--lime); -webkit-mask: url(/img/flower.svg) center/contain no-repeat; mask: url(/img/flower.svg) center/contain no-repeat; animation: spin 20s linear infinite, popIn .7s var(--ease); }
.success-badge span { position: relative; }
.success h1 { text-transform: uppercase; letter-spacing: -0.04em; }
.success p { margin-top: 14px; color: var(--ink-2); }
.success .btn { margin-top: 28px; }

/* ---------- кабинет ---------- */
.acct { display: grid; gap: 20px; padding-block: 8px 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .acct { grid-template-columns: 360px minmax(0, 1fr); } }
.card { background: #fff; border-radius: var(--r-lg); padding: 22px; }
.acct-hello { background: var(--violet); color: #fff; }
.acct-hello h1 { color: #fff; font-size: 30px; }
.acct-hello .muted { color: rgba(255,255,255,.8); }
.acct-hello .loyal-mini { color: var(--ink); }
.order-card { background: #fff; border-radius: var(--r-lg); padding: 18px; display: grid; gap: 12px; }
.order-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.order-top h3 { font-size: 18px; }
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.st-new { background: var(--lime); color: var(--ink); }
.st-work { background: var(--lav); color: var(--ink); }
.st-ready { background: var(--violet); color: #fff; }
.st-done { background: #ECE7F5; color: var(--ink-2); }
.st-cancelled { background: #FDE6EA; color: var(--danger); }
.thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.thumbs img, .thumbs .noimg { width: 60px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; background: var(--lav-soft); }

/* ---------- мелочи ---------- */
.toast { position: fixed; left: 50%; top: calc(80px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -20px); z-index: 90; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--danger); }
.empty { text-align: center; padding: 40px 20px; color: var(--ink-2); }
.empty strong { display: block; font: var(--dw) 20px/1.3 var(--display); color: var(--ink); margin-bottom: 8px; letter-spacing: -0.02em; }
.loading { padding: 80px 0; text-align: center; color: var(--ink-2); }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 4px solid var(--lav-soft); border-top-color: var(--violet); animation: spin .8s linear infinite; margin: 0 auto 12px; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(20, 14, 50, .92); display: grid; place-items: center; padding: 20px; animation: fade .2s; }
.lightbox img { max-height: 90vh; border-radius: 12px; }
.lightbox .icon-btn { position: absolute; top: 14px; right: 14px; color: #fff; }
.float-deco { position: absolute; width: clamp(60px, 9vw, 120px); pointer-events: none; z-index: 0; transform: translateY(calc(var(--sy, 0) * 1px)) rotate(var(--r, 0deg)); }
.float-deco svg { width: 100%; height: 100%; border-radius: 50%; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* =========================================================
   Админка
   ========================================================= */
.admin { padding-block: 16px 60px; }
.admin h1 { text-transform: none; }
.admin-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 20px; padding: 2px var(--gutter); }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tabs a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; background: #fff; }
.admin-tabs a.active { background: var(--ink); color: #fff; }
.admin-tabs .count { background: var(--lime); color: var(--ink); border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.admin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.admin-head h1 { font-size: clamp(26px, 5vw, 38px); }
.notice { background: #FFF0CC; border-radius: var(--r-md); padding: 14px 16px; font-size: 14px; margin-bottom: 18px; font-weight: 600; }
.notice a { font-weight: 800; }
.filters { display: grid; gap: 10px; margin-bottom: 16px; }
@media (min-width: 760px) { .filters { grid-template-columns: 1fr auto; align-items: center; } }
.a-orders { display: grid; gap: 12px; }
.a-order { background: #fff; border-radius: var(--r-lg); overflow: hidden; }
.a-order > summary { list-style: none; cursor: pointer; padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
.a-order > summary::-webkit-details-marker { display: none; }
.a-order .o-title { font: var(--dw) 17px/1.3 var(--display); letter-spacing: -0.02em; }
.a-order .o-meta { font-size: 14px; color: var(--ink-2); }
.a-order .o-total { font: var(--dw) 18px/1 var(--display); text-align: right; }
.a-order-body { padding: 16px 18px 20px; display: grid; gap: 16px; border-top: 2px dashed var(--line); }
.o-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.o-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.o-file { background: var(--cream-2); border-radius: var(--r-sm); padding: 8px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.o-file img, .o-file .noimg { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; background: var(--lav-soft); display: grid; place-items: center; font-weight: 700; color: var(--ink-2); }
.o-file.wide { grid-column: 1 / -1; }
.o-file.wide img { aspect-ratio: auto; object-fit: contain; background: var(--lav-soft); max-height: 420px; }
.o-file b { font-size: 14px; }
.o-file .btn { min-height: 38px; font-size: 13px; padding: 0 10px; }
.o-actions { display: grid; gap: 10px; }
@media (min-width: 760px) { .o-actions { grid-template-columns: 220px 1fr auto; align-items: end; } }
.a-list { display: grid; gap: 10px; }
.a-row { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--r-md); padding: 10px 12px; }
.a-row img, .a-row .noimg { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; background: var(--lav-soft); }
.a-row .info { flex: 1; min-width: 0; }
.a-row .info b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-row .info small { color: var(--ink-2); }
.a-row .acts { display: flex; gap: 2px; }
.editor { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .editor { grid-template-columns: 380px minmax(0, 1fr); align-items: start; } .editor > .card:first-child { position: sticky; top: 84px; } }
.blk { background: #fff; border-radius: var(--r-md); padding: 14px; display: grid; gap: 12px; }
.blk-head { display: flex; align-items: center; gap: 6px; }
.blk-head b { flex: 1; font: var(--dw2) 15px/1.2 var(--display); }
.blk-head .icon-btn { width: 38px; height: 38px; }
.blk-head .icon-btn svg { width: 20px; height: 20px; }
.blk-rows { display: grid; gap: 8px; }
.blk-row { display: grid; grid-template-columns: 1fr 110px 40px; gap: 6px; align-items: start; }
.blk-row.faq-row { grid-template-columns: 1fr 40px; }
.blk-row .input, .blk-row .textarea { min-height: 44px; padding: 8px 12px; font-size: 15px; }
.add-blocks { display: flex; flex-wrap: wrap; gap: 8px; }
.img-field { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.img-field .preview { width: 84px; height: 64px; border-radius: 10px; background: var(--lav-soft); object-fit: cover; flex: none; }
.gal-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 6px; }
.gal-edit div { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
.gal-edit img { width: 100%; height: 100%; object-fit: cover; }
.gal-edit button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(31,22,82,.8); color: #fff; cursor: pointer; }
.save-bar { position: sticky; bottom: 0; z-index: 25; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); padding: 12px 0 calc(12px + var(--safe-b)); display: flex; gap: 10px; flex-wrap: wrap; }
.save-bar .btn { flex: 1; min-width: 140px; }
.set-table { display: grid; gap: 8px; }
.set-row { display: grid; gap: 6px; grid-template-columns: 1fr 1fr 40px; align-items: center; }
.set-row.fmt { grid-template-columns: 1.4fr .7fr .7fr 1fr 40px; }
.set-row .input { min-height: 44px; padding: 8px 10px; font-size: 15px; }
.set-row.head { font-size: 12px; font-weight: 800; color: var(--ink-2); }
.grid-2 { display: grid; gap: 14px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.help { background: var(--lav-soft); border-radius: var(--r-md); padding: 16px; font-size: 14px; }
.help ol { margin: 8px 0 0; padding-left: 20px; }
.help li { margin: 4px 0; }
.serp { background: #fff; border-radius: var(--r-md); padding: 14px 16px; box-shadow: inset 0 0 0 2px var(--line); font-family: Arial, sans-serif; }
.serp .u { color: #1a7f37; font-size: 13px; }
.serp .t { color: #1a0dab; font-size: 18px; line-height: 1.3; margin: 2px 0; }
.serp .d { color: #4d5156; font-size: 14px; line-height: 1.45; }
.counter { font-size: 12px; color: var(--ink-2); text-align: right; }
.counter.over { color: var(--danger); font-weight: 700; }
.tpl-preview { position: relative; height: 380px; background: var(--lav-soft); border-radius: var(--r-lg); overflow: hidden; touch-action: none; }
.tpl-preview canvas { width: 100%; height: 100%; display: block; }

.tee-card .stepper { justify-self: start; }
.tee-card.desk-only { display: none; }
@media (min-width: 1000px) { .tee-card.desk-only { display: grid; } }
.ticker-wrap { overflow: hidden; padding: 10px 0; }
.b-cta .t { padding-right: 60px; }
@media (min-width: 900px) { .b-cta .t { font-size: clamp(24px, 2.3vw, 34px); padding-right: 0; margin-top: 64px; } }
@media (max-width: 899px) { .svc-hero .blob { max-width: 340px; } }
.f-err, .field .f-err { color: var(--danger); font-size: 13px; font-weight: 700; }
.input.invalid, .textarea.invalid { border-color: var(--danger); box-shadow: 0 0 0 4px #FDE6EA; }

/* ---------- белый фон: карточки получают мягкую сиреневую подложку ---------- */
.nav, .contact-card, .b-s1, .photo, .defaults, .summary, .tee-card, .card, .order-card, .a-order, .a-row, .blk,
.price-card:nth-child(3n+1), .tool-facts span:first-child, .admin-tabs a:not(.active) { background: var(--surface); }
.nav { box-shadow: none; }
.b-s3 { background: var(--cream); box-shadow: none; }
.drop::after { border-color: rgba(255,255,255,.5); }
.sticker-opt, .model-opt { background: #fff; }
/* логотип */
.logo .logo-img { height: 46px; width: auto; display: block; transition: transform .5s var(--ease); }
.logo:hover .logo-img { transform: rotate(-3deg) scale(1.04); }
.drawer .logo .logo-img { height: 40px; }
.footer-logo { width: 100%; max-width: 1300px; display: block; margin: 24px auto -4%; padding: 0 var(--gutter); }
