/* Многостраничная навигация и каталог (дополнение к styles.css) */
.site-header.solid { background: rgba(7,7,7,.92); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.desktop-nav a.active, .mobile-menu a.active { color: var(--gold-light); }
.nav-item { position: relative; display: flex; align-items: center; padding: 32px 0; }
.hero-cta { margin-top: 38px; }
@media (max-width: 820px) { .hero-cta { width: 100%; max-width: 420px; justify-content: space-between; } }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 30px; font: 13px var(--sf-pro); color: #8a8780; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs span { color: var(--ink); }

.picker { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; margin: 60px 0 10px; }
.picker label { display: flex; flex-direction: column; gap: 8px; font: 600 12px var(--sf-pro); letter-spacing: .1em; text-transform: uppercase; color: #8a8780; }
.picker select, .product-receiving select { appearance: none; padding: 16px 48px 16px 24px; border: 1.5px solid #b9b5aa; border-radius: 999px; font: 600 17px var(--sf-pro); color: var(--ink); text-transform: none; letter-spacing: 0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 22px center; }
.picker .button { background: var(--ink); color: #fff; border-color: var(--ink); min-height: 56px; }
.picker .button:hover { background: var(--gold); border-color: var(--gold); }
.brand-title { margin: 56px 0 16px; font: 700 28px var(--sf-pro); color: #000; }
.device-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 15px; }
.device-tile { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; color: var(--ink); transition: transform .3s, box-shadow .3s; }
.device-tile:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.device-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; padding: 8px 0; box-sizing: border-box; }
.device-tile div { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 20px; }
.device-tile strong { font: 700 22px var(--sf-pro); }
.device-tile span { font: 14px var(--sf-pro); color: #8a8780; }
.all-products { margin-top: 90px; padding-top: 50px; border-top: 1px solid #d9d6cc; }
.all-products .filter-row { margin-top: 30px; }
.empty-note { grid-column: 1 / -1; font: 18px var(--sf-pro); color: var(--ink); }
a.buy-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center; }
#device-chips { margin: 50px 0 30px; }
a.filter { display: inline-block; }

.pp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5vw; align-items: start; }
.pp-media { position: relative; background: #fff; border-radius: 28px; overflow: hidden; }
.pp-media img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.pp-info h1 { margin: 12px 0 14px; font: 700 clamp(34px, 4.6vw, 58px) / 1.05 var(--sf-pro); color: #000; }
.pp-info .eyebrow { color: #a67c3c; }
.pp-desc { max-width: 520px; font: 18px / 1.55 var(--sf-pro); color: #444; }
.opt-group { margin-top: 26px; }
.opt-group h4 { margin: 0 0 12px; font: 600 15px var(--sf-pro); color: #8a8780; }
.opt-group h4 b { color: var(--ink); }
.opt-row { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { padding: 13px 22px; border: 1.5px solid #b9b5aa; border-radius: 999px; background: #fff; color: var(--ink); font: 600 16px var(--sf-pro); transition: .25s; }
.opt:hover { border-color: var(--ink); }
.opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pp-price { margin: 34px 0 18px; font: 700 40px var(--sf-pro); color: #000; }
.product-receiving { display: flex; flex-direction: column; gap: 8px; font: 600 12px var(--sf-pro); letter-spacing: .1em; text-transform: uppercase; color: #8a8780; }
.pp-buy { margin-top: 22px; background: var(--ink); color: #fff; border-color: var(--ink); }
.pp-buy:hover { background: var(--gold); border-color: var(--gold); }
.pp-back { display: inline-block; margin-top: 22px; font: 600 15px var(--sf-pro); color: var(--ink); }
.pp-back:hover { text-decoration: underline; }

.contact-block .display { margin-top: 30px; }
.contact-block p { max-width: 520px; margin: 26px 0 34px; color: var(--muted); line-height: 1.8; }
.contact-block .contact-handle { display: block; margin-bottom: 30px; font: 700 clamp(26px, 4vw, 44px) var(--sf-pro); color: var(--gold-light); }

@media (max-width: 820px) {
  .picker { grid-template-columns: 1fr; margin-top: 40px; }
  .pp { grid-template-columns: 1fr; gap: 28px; }
  .all-products { margin-top: 60px; }
  .opt { padding: 12px 18px; font-size: 15px; }
  .pp-price { font-size: 34px; }
}
.desktop-nav { align-items: center; }

/* Выпадающий каталог: бренды слева, устройства справа */
.nav-caret, .caret { display: inline-block; margin-left: 4px; font-style: normal; font-size: 10px; transition: transform .25s; }
.nav-item:hover .caret, .nav-item:focus-within .caret { transform: rotate(180deg); }
.nav-drop { display: block; visibility: hidden; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .28s ease .1s, transform .35s cubic-bezier(.2,.8,.2,1) .1s, visibility 0s linear .38s; position: absolute; top: 100%; left: 50%; width: min(700px, 92vw); text-transform: none; letter-spacing: 0; font-family: var(--sf-pro); }
.nav-drop::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; background: #121212; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); z-index: 1; }
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { visibility: visible; opacity: 1; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.drop-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 200px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #121212; box-shadow: 0 28px 70px rgba(0,0,0,.6); }
.drop-brands { list-style: none; margin: 0; padding: 12px 0; }
.drop-brands a, .drop-devices a { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; font-size: 18px; color: #ece9e2; transition: color .2s, background .2s; }
.drop-brands a::after { content: "▸"; font-size: 11px; color: #777; }
.drop-brands a.active { color: var(--gold-light); background: rgba(255,255,255,.04); }
.drop-brands a.active::after { content: "◂"; color: var(--gold); }
.drop-devices { display: flex; flex-direction: column; padding: 12px 0; background: rgba(255,255,255,.06); }
.drop-devices a:hover { color: var(--gold-light); background: rgba(255,255,255,.04); }
.drop-devices .drop-all { margin-top: auto; color: var(--gold); }
.mobile-drop { display: flex; flex-direction: column; gap: 12px; margin: -6px 0 4px 14px; font-size: 18px; letter-spacing: 0; color: #c9c6bf; }
.mobile-drop .m-brand { margin-top: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.mobile-drop:empty { display: none; }

/* ---------- Плавность ---------- */
@keyframes pageIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(.98); } }
@keyframes fadeSwap { from { opacity: 0; transform: translateX(8px); } }
@keyframes progress { from { width: 0; } to { width: 88%; } }
main, .site-footer, .admin-strip { animation: pageIn .75s cubic-bezier(.2,.8,.2,1) backwards; }
.site-footer { animation-delay: .12s; }
html.is-leaving main, html.is-leaving .site-footer, html.is-leaving .admin-strip { opacity: 0; transform: translateY(-12px); transition: opacity .32s ease, transform .32s ease; }
html.is-leaving body { pointer-events: none; }
.page-progress { position: fixed; z-index: 120; top: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); box-shadow: 0 0 12px rgba(201,160,108,.7); pointer-events: none; }
html.is-leaving .page-progress { animation: progress 1.1s cubic-bezier(.1,.7,.2,1) forwards; }
#models-root .product-card, .device-tile { animation: cardIn .7s cubic-bezier(.2,.8,.2,1) backwards; }
#models-root .product-card:nth-child(2), .device-tile:nth-child(2) { animation-delay: .08s; }
#models-root .product-card:nth-child(3), .device-tile:nth-child(3) { animation-delay: .16s; }
#models-root .product-card:nth-child(4), .device-tile:nth-child(4) { animation-delay: .24s; }
#models-root .product-card:nth-child(n+5), .device-tile:nth-child(n+5) { animation-delay: .32s; }
.pp-media { animation: cardIn .8s cubic-bezier(.2,.8,.2,1) .1s backwards; }
.drop-devices.swap > a { animation: fadeSwap .3s ease backwards; }
.drop-devices.swap > a:nth-child(2) { animation-delay: .04s; }
.drop-devices.swap > a:nth-child(3) { animation-delay: .08s; }
.drop-devices.swap > a:nth-child(n+4) { animation-delay: .12s; }
.opt, .picker select, .picker .button, .pp-buy, .device-tile, .product-card { transition: background .3s ease, color .3s ease, border-color .3s ease, transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.mobile-menu a { transition: color .25s, opacity .4s, transform .4s; }
@media (prefers-reduced-motion: reduce) { main, .site-footer, .admin-strip, #models-root .product-card, .device-tile, .pp-media { animation: none; } html.is-leaving main { transition: none; } }

/* Контакты: текст слева, фото справа */
.contact-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.contact-photo { margin: 0; justify-self: end; width: min(100%, 560px); }
.contact-photo img { display: block; width: 100%; height: auto; aspect-ratio: 853 / 1280; object-fit: cover; object-position: center top; border-radius: 0; border: 0; }
@media (max-width: 820px) {
  .contact-block { grid-template-columns: 1fr; gap: 40px; }
  .contact-photo { justify-self: stretch; width: 100%; }
}

/* =====================================================================
   ПОЛНАЯ МОБИЛЬНАЯ АДАПТАЦИЯ — только телефоны/планшеты (≤ 820px).
   Десктоп (> 820px) этим блоком не затрагивается.
   ===================================================================== */
@media (max-width: 820px) {
  html { scroll-padding-top: 64px; }
  body { font-size: 14px; }

  /* --- Шапка и меню --- */
  .site-header { height: 58px; }
  .brand img { width: 84px; height: 42px; }
  .cart-trigger { padding: 8px 11px; font-size: 10px; }
  .cart-trigger span { width: 16px; height: 16px; margin-left: 6px; font-size: 10px; }
  .menu-trigger { padding: 8px 2px 8px 8px; gap: 5px; }
  .menu-trigger span { width: 21px; }
  .mobile-menu { gap: 16px; padding: 84px 7vw calc(28px + env(safe-area-inset-bottom)); font-size: clamp(21px, 6vw, 26px); }
  .mobile-drop { gap: 9px; font-size: 15px; }

  /* --- Общие секции и типографика --- */
  .section { padding: 56px 5vw; }
  .section-label { font-size: 8px; letter-spacing: .14em; gap: 10px; }
  .display { font-size: clamp(34px, 10.5vw, 52px); }
  .intro-content, .section-head, .director { gap: 20px; }
  .intro-content { margin-top: 22px; }
  .intro-text p, .section-description, .trade-content > p, .director-copy > p { font-size: 13px; line-height: 1.65; }
  .section-head .section-description { font-size: 15px; }
  .ticker { padding: 11px 0; }
  .ticker-track { font-size: 8px; }

  /* --- Главный экран --- */
  .hero { min-height: max(520px, 100svh); }
  .hero-message { padding: 26px 16px; }
  .hero-message-kicker { margin-bottom: 14px; font-size: 10px; letter-spacing: .12em; }
  .hero-copy.hero-message h1 { font-size: clamp(25px, 7.6vw, 36px); }
  .hero-cta { margin-top: 24px; }
  .cta-button { font-size: 15px; padding: 14px 16px 14px 22px; }
  .cta-button .cta-arrow { font-size: 18px; }

  /* --- Преимущества --- */
  .feature-line { margin-top: 40px; gap: 18px 10px; }
  .feature-line div { gap: 9px; }
  .feature-line strong { width: 34px; height: 34px; font-size: 12px; }
  .feature-line span { font-size: 12px; line-height: 1.3; }

  /* --- Галерея iPhone (все 3 карточки, как на ПК) --- */
  .iphone-scene { --stage: 112vw; padding: 60px 5vw calc(var(--stage) + 8vw); }
  .scene-copy h2 { margin: 16px 0; font-size: clamp(32px, 9.4vw, 46px); }
  .scene-copy p:not(.eyebrow) { font-size: 14px; line-height: 1.45; }
  .scene-orbit { width: 88vw; height: 88vw; bottom: 20vw; }
  .phone-card-one   { width: 48vw; height: 58vw; bottom: 62vw; }
  .phone-card-two   { width: 37vw; height: 46vw; bottom: 42vw; }
  .phone-card-three { width: 33vw; height: 40vw; bottom: 18vw; }
  .phone-card span { font-size: 6.5px; }

  /* --- Каталог / выбор устройства --- */
  .picker { gap: 10px; margin: 26px 0 6px; }
  .picker label { font-size: 10px; gap: 6px; }
  .picker select, .product-receiving select { padding: 12px 38px 12px 18px; font-size: 15px; background-position: right 16px center; }
  .picker .button { min-height: 46px; font-size: 12px; }
  .brand-title { margin: 32px 0 12px; font-size: 22px; }
  .crumbs { margin-bottom: 18px; font-size: 12px; gap: 6px; }
  .device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .device-tile { border-radius: 14px; }
  .device-tile img { aspect-ratio: 16 / 11; }
  .device-tile div { padding: 10px 12px 13px; gap: 2px; }
  .device-tile strong { font-size: 16px; }
  .device-tile span { font-size: 12px; }
  .all-products { margin-top: 40px; padding-top: 30px; }
  #device-chips { margin: 28px 0 18px; }

  /* --- Карточки товаров --- */
  .filter-row { margin: 26px 0 14px; }
  .filter { padding: 10px 18px; font-size: 14px; }
  .products-grid { gap: 9px; }
  .product-card { min-height: 0; padding: 7px; border-radius: 14px; gap: 9px; }
  .product-card-media { height: clamp(120px, 36vw, 160px); border-radius: 10px; }
  .product-info { padding: 10px 2px 2px; }
  .product-name { font-size: 14px; line-height: 1.2; }
  .product-meta { font-size: 10px; margin-top: 3px; }
  .product-price { font-size: 15px; padding: 6px 10px 7px; }
  .product-bottom { gap: 8px; }
  .buy-button { min-height: 42px; padding: 0 6px 0 10px; font-size: 12px; white-space: nowrap; border-radius: 11px; }
  .buy-plus { width: 28px; height: 28px; font-size: 19px; border-radius: 9px; }
  .badge, .product-badge { font-size: 9px; }

  /* --- Страница товара --- */
  .pp { gap: 20px; }
  .pp-media { border-radius: 16px; }
  .pp-media img { aspect-ratio: 4 / 3.4; }
  .pp-info h1 { font-size: clamp(26px, 8vw, 34px); margin: 8px 0 10px; }
  .pp-desc { font-size: 14px; line-height: 1.5; }
  .opt-group { margin-top: 18px; }
  .opt-group h4 { font-size: 13px; margin-bottom: 9px; }
  .opt-row { gap: 7px; }
  .opt { padding: 9px 14px; font-size: 13px; }
  .pp-price { margin: 22px 0 12px; font-size: 28px; }
  .pp-buy { margin-top: 14px; }
  .pp-back { font-size: 13px; margin-top: 16px; }

  /* --- Обмен техники (3D-телефон) --- */
  .th { padding: 84px 5vw 48px; }
  .th-inner { gap: 10px; }
  .th-stage { height: 350px; }
  .th-phone { --w: 158px; --h: 326px; }
  .th-phone .th-slices i, .th-phone .th-front { border-radius: 30px; }
  .th-front { padding: 6px; }
  .th-screen { border-radius: 24px; }
  .th-island { width: 56px; height: 17px; top: 8px; }
  .th-status { font-size: 9px; top: 11px; left: 16px; right: 16px; }
  .th-home { width: 64px; bottom: 7px; height: 4px; }
  .th-btn-action { top: 64px; height: 18px; } .th-btn-up { top: 96px; height: 34px; }
  .th-btn-down { top: 138px; height: 34px; } .th-btn-power { top: 116px; height: 54px; }
  .th-shadow { width: 158px; height: 26px; }
  .th-eyebrow { margin-bottom: 14px; font-size: 14px; gap: 10px; }
  .th-eyebrow:before { width: 30px; height: 2px; }
  .th-h2 { font-size: clamp(32px, 9.6vw, 42px); }
  .th-h3 { margin-top: 18px; font-size: 19px; }
  .th-text { margin-top: 10px; font-size: 15px; line-height: 1.45; }
  .th-actions { margin-top: 26px; gap: 14px; }
  .th-cta { min-height: 58px; padding: 0 8px 0 24px; font-size: 18px; border-radius: 999px; gap: 14px; }
  .th-cta i { width: 42px; height: 42px; font-size: 22px; border-radius: 50%; }
  .th-social { gap: 10px; padding: 5px 16px 5px 5px; }
  .th-social-mark { width: 40px; height: 40px; }
  .th-social-mark img { width: 26px; }
  .th-social-text strong { font-size: 14px; }
  .th-social-text small { font-size: 11px; margin-top: 1px; }

  /* --- О магазине --- */
  .director { gap: 24px; }
  .director-photo { height: min(88vw, 360px); }
  .director-copy .display { margin: 18px 0 14px; }
  .director-copy > p { font-size: 16px; }
  .director-copy .signature { font-size: 26px; margin: 20px 0 6px; }
  .logos { padding-block: 44px; }
  .logo-wall { margin-top: 26px; gap: 16px 8px; font-size: 11px; }
  .logo-wall img { width: 36px; height: 36px; }

  /* --- Контакты --- */
  .contact-block { gap: 26px; }
  .contact-block .display { margin-top: 18px; }
  .contact-block p { margin: 14px 0 18px; font-size: 13px; line-height: 1.6; }
  .contact-block .contact-handle { margin-bottom: 18px; font-size: 22px; }

  /* --- Кнопки связи --- */
  .button { min-height: 46px; padding: 0 18px; font-size: 12px; }
  .cta-buttons { gap: 8px; }

  /* --- Футер --- */
  .footer-top { min-height: 0; gap: 22px; padding-bottom: 8px; }
  .footer-logo { width: 110px; height: 68px; }
  .footer-cta p { font-size: 11px; margin-bottom: 0; }
  .footer-cta .cta-buttons { margin-top: 10px; }
  .footer-bottom { font-size: 9px; gap: 10px; padding-block: 14px; }
  .admin-strip { padding: 14px 5vw calc(14px + env(safe-area-inset-bottom)); }
  .admin-strip-link { font-size: 8px; padding: 9px 14px; }

  /* --- Корзина и окна --- */
  .drawer-head h3 { font-size: 26px; }
  .cart-item { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 9px; }
  .cart-item img { width: 50px; height: 50px; }
  .modal-card { padding: 22px 16px; }
  .modal-card h3 { font-size: clamp(24px, 7.5vw, 30px); margin-bottom: 14px; }
  .message-preview { min-height: 130px; font-size: 13px; }
  .toast { font-size: 12px; max-width: 90vw; }

  /* --- Админка --- */
  .admin-heading { margin: 40px 0 18px; }
  .admin-heading h1 { font-size: clamp(34px, 10vw, 46px); }
  .admin-panel { padding: 20px 5vw 40px; }
}

@media (max-width: 380px) {
  .section { padding: 48px 4.5vw; }
  .device-grid, .products-grid { gap: 7px; }
  .product-name { font-size: 13px; }
  .product-price { font-size: 14px; }
  .buy-button { font-size: 11px; }
  .th-phone { --w: 140px; --h: 290px; }
  .th-stage { height: 320px; }
  .th-btn-action { top: 56px; } .th-btn-up { top: 86px; } .th-btn-down { top: 124px; } .th-btn-power { top: 104px; }
}

@media (max-width: 820px) {
  /* контент подстраниц не прячется под фиксированной шапкой */
  .catalog.section, .director.section, .contact-block.section { padding-top: 84px; }
  .product-tag { top: 8px !important; left: 8px !important; padding: 5px 9px !important; font-size: 10px !important; }
}

/* ===== Контакты: связь, самовывоз, карта ===== */
.contact-block { align-items: start; }
.contact-block .display { font-size: clamp(38px, 5.4vw, 76px); }
.contact-block .contact-info > p { margin: 22px 0 36px; }
.contact-phone { display: block; margin-bottom: 26px; font: 600 clamp(28px, 3.4vw, 44px)/1.1 var(--sf-pro); color: #fff; }
.contact-ask { background: var(--gold); border-color: var(--gold); color: #111; min-height: 52px; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); color: #fff; font: 600 15px/1 var(--sf-pro); transition: border-color .3s, color .3s; }
.pill svg { width: 18px; height: 18px; }
.pill:hover { border-color: var(--gold); color: var(--gold-light); }
.pickup-card { margin-top: 70px; padding: 34px 36px; border: 1px solid var(--line); border-radius: 28px; background: #111; font-family: var(--sf-pro); }
.pickup-card h2 { margin: 0 0 22px; font: 600 28px/1.1 var(--sf-pro); }
.pickup-card p { margin: 0; max-width: none; letter-spacing: 0; }
.pickup-addr { color: #f1eee7; font-size: 18px; font-weight: 500; margin-bottom: 14px !important; }
.pickup-hours { color: var(--muted); font-size: 15px; line-height: 1.6; }
.pickup-link { display: inline-block; margin: 26px 0 30px; color: var(--gold); font-weight: 600; }
.pickup-link:hover { color: var(--gold-light); }
.pickup-legal { padding-top: 20px; border-top: 1px solid var(--line); color: #777; font-size: 13px; }
.find-us { position: relative; width: 100%; height: clamp(460px, 62vh, 640px); margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #111; }
.find-map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.3) contrast(1.05) brightness(.97); }
.find-card { position: absolute; z-index: 2; left: 8vw; top: 50%; transform: translateY(-50%); width: min(420px, 84vw); padding: 36px; border: 1px solid var(--line); border-radius: 28px; background: rgba(17,17,17,.94); backdrop-filter: blur(10px); font-family: var(--sf-pro); }
.find-card .display { margin: 14px 0 18px; font-size: clamp(34px, 4vw, 52px); }
.find-card p { margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: none; }
.find-card .find-addr { color: #f1eee7; font-size: 17px; font-weight: 500; margin-bottom: 12px; }
.find-card .button { background: var(--gold); border-color: var(--gold); color: #111; }
@media (max-width: 820px) {
  .pickup-card { margin-top: 0; padding: 26px 22px; }
  .find-us { height: auto; display: flex; flex-direction: column; }
  .find-card { position: static; transform: none; width: auto; margin: 0 5vw; border-radius: 22px; padding: 26px 22px; }
  .find-map { position: static; height: 360px; margin-top: 20px; }
}

/* ===== Trade-in: иерархия текста ===== */
.th-copy .th-label { margin: 0 0 22px; }
.th-copy .th-title { font-size: clamp(36px, 4.4vw, 66px); font-weight: 700; line-height: 1.08; max-width: 14em; }
.th-copy .th-sub { margin: 26px 0 0; max-width: 30em; font: 500 clamp(17px, 1.5vw, 22px)/1.45 var(--sf-pro); letter-spacing: 0; color: #9a9a9f; }
@media (max-width: 820px) {
  .th-copy .th-title { font-size: clamp(28px, 8vw, 40px); }
  .th-copy .th-sub { margin-top: 16px; font-size: 16px; }
}

/* ===== Trade-in: «Как работает» ===== */
.how-works { padding: clamp(56px, 8vw, 110px) 4.5vw; border-top: 1px solid var(--line); background: #070707; font-family: var(--sf-pro); }
.hw-title { margin: 0 0 clamp(32px, 4vw, 52px); text-align: center; font: 700 clamp(30px, 4vw, 52px)/1.1 var(--sf-pro); letter-spacing: 0; color: #fff; }
.hw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1400px; margin: 0 auto; }
.hw-card { position: relative; min-height: clamp(340px, 34vw, 440px); padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(160deg, #161513 0%, #0d0d0c 100%); transition: border-color .35s, transform .35s; }
.hw-card:hover { border-color: rgba(201,160,108,.5); transform: translateY(-4px); }
.hw-tag { display: inline-block; padding: 7px 15px; border: 1px solid rgba(201,160,108,.45); border-radius: 999px; color: var(--gold-light); font: 600 13px/1 var(--sf-pro); letter-spacing: 0; }
.hw-card p { margin: 26px 0 0; max-width: 20em; color: #f1eee7; font: 700 clamp(19px, 1.7vw, 25px)/1.28 var(--sf-pro); letter-spacing: 0; }
.hw-star { position: absolute; left: 30px; bottom: 30px; width: 24px; height: 24px; color: var(--gold); }
.hw-num { position: absolute; right: 26px; bottom: 6px; font: 700 clamp(110px, 12vw, 170px)/1 var(--sf-pro); letter-spacing: 0; color: rgba(201,160,108,.13); }
@media (max-width: 900px) {
  .hw-grid { grid-template-columns: 1fr; gap: 14px; }
  .hw-card { min-height: 250px; padding: 24px; border-radius: 26px; }
  .hw-star { left: 24px; bottom: 24px; }
  .hw-num { font-size: 120px; right: 20px; }
}

/* ===== Trade-in: преимущества ===== */
.tr-adv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); padding: clamp(56px, 8vw, 110px) 4.5vw; border-top: 1px solid var(--line); background: #070707; font-family: var(--sf-pro); }
.tr-adv h2 { margin: 0; font: 700 clamp(30px, 4vw, 56px)/1.08 var(--sf-pro); letter-spacing: 0; color: #fff; max-width: 10em; }
.tr-adv ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tr-adv li { position: relative; padding: 26px 70px 26px 0; border-bottom: 1px solid var(--line); }
.tr-adv h3 { margin: 0 0 10px; font: 600 clamp(20px, 1.9vw, 27px)/1.2 var(--sf-pro); letter-spacing: 0; color: #fff; }
.tr-adv li p { margin: 0; max-width: 24em; color: var(--muted); font: 500 clamp(14px, 1.2vw, 16px)/1.5 var(--sf-pro); letter-spacing: 0; }
.tr-adv li span { position: absolute; right: 0; top: 28px; color: var(--gold); font: 600 15px/1 var(--sf-pro); letter-spacing: 0; }
@media (max-width: 820px) {
  .tr-adv { grid-template-columns: 1fr; gap: 28px; }
  .tr-adv li { padding: 20px 52px 20px 0; }
  .tr-adv li span { top: 22px; }
}

.pp-ask { margin-top: 22px; background: var(--gold); color: #111; border-color: var(--gold); }
.pp-ask:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* Состояние товара на карточке */
.pp-note { margin: 0 0 16px; font: 500 15px/1.4 var(--sf-pro); color: #555; }
.used-empty { padding: 8px 0 40px; }

/* ===== Админка: выбор раздела (Новые / Б/У) ===== */
.adm-add-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.adm-add-used { border-color: rgba(201,160,108,.45); background: rgba(201,160,108,.1); }
.adm-seg { display: flex; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #0b0b0b; }
.adm-seg button { flex: 1; min-height: 34px; border: 0; border-radius: 9px; background: none; color: #bdb8ae; font: 600 13px/1 var(--sf-pro); cursor: pointer; }
.adm-seg button.active { background: var(--gold); color: #111; }
.adm-badge { display: inline-block; margin-left: 6px; padding: 3px 7px; border-radius: 999px; background: rgba(201,160,108,.22); color: var(--gold-light); font: 700 10px/1 var(--sf-pro); font-style: normal; letter-spacing: .04em; vertical-align: middle; }
.adm-section-pick select { border-color: var(--gold); background: rgba(201,160,108,.08); font-weight: 700; }
.adm-section-pick { color: var(--gold-light); }

/* кнопка «Построить маршрут» — как «Рассчитать обмен» на Trade-in */
.find-card .th-cta { min-height: 68px; padding: 0 10px 0 32px; gap: 22px; font: 700 21px/1 var(--sf-pro); text-decoration: none; margin-top: 6px; }
.find-card .th-cta i { width: 48px; height: 48px; font-size: 26px; }
@media (max-width: 820px) { .find-card .th-cta { width: 100%; min-height: 58px; font-size: 18px; } .find-card .th-cta i { width: 42px; height: 42px; } }
.find-card .th-cta { background: var(--ea-grad); color: #000; }

/* «Задать вопрос» в контактах — фирменный градиент */
.contact-actions .th-cta.contact-ask { background: var(--ea-grad); color: #000; min-height: 68px; padding: 0 10px 0 36px; font: 700 21px/1 var(--sf-pro); gap: 22px; }
.contact-actions .th-cta.contact-ask i { width: 48px; height: 48px; font-size: 26px; }
@media (max-width: 820px) { .contact-actions .th-cta.contact-ask { min-height: 58px; font-size: 18px; } .contact-actions .th-cta.contact-ask i { width: 42px; height: 42px; } }

/* Trade-in: подзаголовок — SF Pro Medium (500), перебивает общее правило для h2 */
.th-copy .th-sub { font-weight: 500 !important; }

/* «Узнать цену» на странице товара — фирменный градиент */
.pp-ask { background: var(--ea-grad); color: #111; border-color: transparent;
  box-shadow: 0 10px 26px rgba(166,124,60,.28); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.pp-ask:hover { background: var(--ea-grad); border-color: transparent; filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(166,124,60,.4); }

/* Админка: категории (iPhone / Samsung / Huawei / свои) */
.adm-catbox { display: grid; gap: 8px; }
.adm-catbox-head { display: flex; justify-content: space-between; align-items: center; font: 600 12px/1 var(--sf-pro); color: #9b978e; letter-spacing: .04em; text-transform: uppercase; }
.adm-catbox-head .adm-link { text-transform: none; letter-spacing: 0; font-size: 12px; }
.adm-catrow { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-catrow button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #0b0b0b; color: #d9d6cf; font: 600 12.5px/1 var(--sf-pro); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.adm-catrow button small { color: #8d8a82; font-weight: 600; }
.adm-catrow button i { font-style: normal; margin-left: 2px; color: #d66; }
.adm-catrow button:hover { border-color: rgba(201,160,108,.6); }
.adm-catrow button.active { background: var(--ea-grad); color: #111; border-color: transparent; }
.adm-catrow button.active small { color: #3a2c17; }

/* карта офиса (Leaflet): тайлы приглушены, маркер с логотипом остаётся цветным */
.find-map.leaflet-container { background: #1a1a1a; font-family: var(--sf-pro, inherit); }
.find-map .leaflet-tile-pane { filter: grayscale(1) sepia(.3) contrast(1.05) brightness(.97); }
.office-pin { background: none; border: 0; }
.office-pin-body { position: relative; display: grid; place-items: center; width: 46px; height: 46px; box-sizing: border-box; border-radius: 50%; background: #0b0b0b; border: 2px solid #c9a06c; box-shadow: 0 8px 22px rgba(0,0,0,.45); }
.office-pin-body::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; background: #0b0b0b; border-right: 2px solid #c9a06c; border-bottom: 2px solid #c9a06c; transform: translateX(-50%) rotate(45deg); z-index: -1; }
.office-pin-body img { width: 30px !important; height: auto !important; max-width: none !important; display: block; }
@media (max-width: 820px) { .find-map { z-index: 0; } }

/* карточка теперь только с кнопкой — компактная */
.find-card { width: min(380px, 84vw); padding: 14px; border-radius: 40px; }
.find-card .th-cta { margin-top: 0; }
@media (max-width: 820px) { .find-card { width: auto; padding: 10px; border-radius: 40px; } }
.adm-check + .adm-check small.adm-hint, .adm-hint { display: block; margin-top: 6px; color: var(--gold-light, #e3c39c); font-size: 12px; line-height: 1.4; }

/* ABOUT PAGE */
.ab-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 140px; }
.ab-title { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; margin: 18px 0 24px; }
.ab-title span { display: block; margin-top: 8px; }
.ab-hero-copy p, .ab-sub { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 560px; }
.ab-hero-photo img { width: 100%; max-height: 720px; object-fit: cover; object-position: top; border-radius: 28px; border: 1px solid var(--line); display: block; }
.ab-timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.ab-timeline::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: var(--ea-grad); opacity: .55; }
.ab-timeline li { position: relative; padding: 0 0 38px 88px; }
.ab-timeline li:last-child { padding-bottom: 0; }
.ab-dot { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 26px; background: #0b0b0b; border: 1px solid var(--gold); }
.ab-timeline h3 { margin: 4px 0 8px; font-size: 24px; color: var(--gold-light); }
.ab-timeline p, .ab-card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 16px; }
.ab-h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.08; text-align: center; margin: 0 0 36px; }
.ab-h2 span { display: block; }
.ab-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ab-card { padding: 32px 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.04); }
.ab-card b { font: 11px var(--mono); letter-spacing: .18em; color: var(--gold); }
.ab-card h3 { margin: 14px 0 10px; font-size: 24px; }
.ab-video, .ab-cta { text-align: center; }
.ab-sub { margin: -12px auto 32px; }
.ab-video-frame { margin: 0 auto; max-width: 340px; }
.ab-video-frame video, .ab-video-stub { display: block; position: relative; width: 100%; aspect-ratio: 9/16; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.ab-video-stub img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.ab-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: #000; background: var(--ea-grad); }
.ab-video-frame figcaption { margin-top: 16px; font: 11px var(--mono); letter-spacing: .2em; color: var(--gold-light); }
.ab-cta .cta-buttons { justify-content: center; }
@media (max-width: 820px) {
  .ab-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 110px; }
  .ab-hero-photo { order: -1; }
  .ab-cards { grid-template-columns: 1fr; }
  .ab-timeline::before { left: 21px; }
  .ab-dot { width: 44px; height: 44px; font-size: 21px; }
  .ab-timeline li { padding-left: 66px; }
}

.ab-embed { display: block; width: 100%; height: 600px; border: 1px solid var(--line); border-radius: 24px; background: #000; overflow: hidden; }
.ab-video-frame { max-width: 400px; }
@media (max-width: 820px) { .ab-embed { height: 560px; } }
.ab-cta .cta-buttons { gap: 16px; }
@media (max-width: 820px) { .ab-cta .cta-button { width: 100%; max-width: 420px; justify-content: space-between; } }

/* about v2 */
.ab-hero-photo img { aspect-ratio: 3 / 4; max-height: none; height: auto; object-position: 65% top; }
.ab-hero { grid-template-columns: 1.2fr .8fr; }
.ab-video { display: grid; grid-template-columns: 1fr 400px; gap: 72px; align-items: center; max-width: 1100px; margin-inline: auto; text-align: left; }
.ab-video .ab-h2 { text-align: left; margin-bottom: 22px; }
.ab-video .ab-sub { margin: 0 0 8px; max-width: 480px; }
.ab-ig-btn { margin-top: 22px; padding: 14px 14px 14px 28px; font-size: 16px; gap: 14px; }
.ab-ig-btn .cta-arrow { width: 34px; height: 34px; font-size: 17px; }
.ab-arrow { display: block; width: 190px; margin: 18px 0 0 40px; animation: abNudge 2.4s ease-in-out infinite; }
@keyframes abNudge { 50% { transform: translateX(10px); } }
.ab-video-frame { max-width: 400px; width: 100%; margin: 0; }
@media (min-width: 821px) {
  .ab-wave-wrap { position: relative; max-width: 1180px; margin: 0 auto; }
  .ab-wave { position: absolute; top: 0; left: 0; width: 100%; height: 140px; }
  .ab-timeline { max-width: none; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 170px; }
  .ab-timeline::before { display: none; }
  .ab-timeline li { padding: 0 18px; text-align: center; }
  .ab-dot { left: 50%; margin-left: -28px; }
  .ab-timeline li:nth-child(odd) .ab-dot { top: -163px; }
  .ab-timeline li:nth-child(even) .ab-dot { top: -93px; }
}
@media (max-width: 820px) {
  .ab-wave { display: none; }
  .ab-video { grid-template-columns: 1fr; gap: 32px; }
  .ab-video .ab-h2, .ab-video .ab-sub { text-align: center; margin-inline: auto; }
  .ab-video-copy { text-align: center; }
  .ab-arrow { display: none; }
  .ab-video-frame { margin: 0 auto; }
}
.ab-arrow { width: 230px; margin: 22px 0 0 8px; }
.ab-hero { grid-template-columns: 1fr 1fr; gap: 48px; }
.ab-hero-photo img { aspect-ratio: 4 / 5; object-position: center top; }
@media (max-width: 820px) { .ab-hero { grid-template-columns: 1fr; } }

/* about v3: fill empty space */
.ab-hero, .ab-path, .ab-video, .ab-cta, .ab-stats, .ab-quote, .ab-store { padding-block: clamp(40px, 5vw, 76px); }
.ab-hero { position: relative; padding-top: 130px; }
.ab-hero::before { content: ""; position: absolute; inset: 10% -10% auto auto; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(201,160,108,.16), transparent); pointer-events: none; z-index: -1; }
.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1180px; margin-inline: auto; }
.ab-stat { padding: 26px 22px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(160deg, #161513, #0d0d0c); text-align: center; }
.ab-stat b { display: block; font: 700 clamp(34px, 4vw, 52px)/1 var(--sf-pro); background: var(--ea-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-stat > span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.ab-quote { max-width: 900px; margin-inline: auto; text-align: center; }
.ab-quote p { margin: 0; font: 700 clamp(24px, 3.2vw, 42px)/1.25 var(--sf-pro); color: #fff; }
.ab-quote .signature { margin-top: 22px; color: var(--gold-light); }
.ab-store-card { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 40px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 36px 40px; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(160deg, #161513, #0d0d0c); }
.ab-store-card h3 { margin: 14px 0 0; font: 700 clamp(24px, 2.6vw, 34px)/1.15 var(--sf-pro); }
.ab-store-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; color: #f1eee7; font-size: 16px; }
.ab-store-card li b { display: block; margin-bottom: 3px; font: 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ab-store-card .text-link { margin: 0; white-space: nowrap; }
@media (max-width: 820px) {
  .ab-stats { grid-template-columns: 1fr 1fr; }
  .ab-store-card { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; }
}
@media (max-width: 820px) {
  /* колонка = ширина самой широкой строки заголовка; кнопки растянуты по её краям */
  body .ab-cta { display: grid; grid-template-columns: minmax(0, max-content); justify-content: center; }
  body .ab-cta .cta-buttons { align-items: stretch; gap: 10px; width: 100%; }
  body .ab-cta .cta-button { width: 100% !important; max-width: none !important; min-height: 46px !important; margin-top: 0; padding: 6px 6px 6px 20px !important; font-size: 14px !important; gap: 10px; }
  body .ab-cta .cta-button .cta-arrow { width: 32px !important; height: 32px !important; font-size: 15px !important; }
}

/* about stats: 3 cards */
.ab-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-stat { padding: 34px 22px; }
.ab-stat b { font-size: clamp(34px, 4vw, 52px); white-space: nowrap; }
@media (max-width: 820px) {
  .ab-stats { grid-template-columns: 1fr; max-width: 420px; }
  .ab-stat { padding: 26px 22px; }
}

/* about stats: animation */
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.ab-stat { position: relative; isolation: isolate; opacity: 0;
  --rx: 0deg; --ry: 0deg; --ty: 0px; --mx: 50%; --my: 50%;
  transform: perspective(900px) translateY(var(--ty)) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d; will-change: transform; }
.ab-stat:not(.is-in) { --rx: -80deg; --ty: 50px; }
.ab-stat.is-in { opacity: 1; transition: transform 1.1s cubic-bezier(.2,.9,.25,1.1), opacity .8s ease; }
.ab-stat:not(.is-done) { transition-delay: var(--d, 0s); }
.ab-stat.is-done.is-hover { transition: transform .12s ease-out, opacity .8s ease; }
.ab-stat.is-done:not(.is-hover) { transition: transform .6s cubic-bezier(.2,.9,.25,1.1), opacity .8s ease; }
/* rotating gold light along the border */
.ab-stat::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0 62%, rgba(201,160,108,.9) 82%, #f3d9b8 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: abSpin 6s linear infinite; }
.ab-stat:nth-child(2)::before { animation-delay: -2s; }
.ab-stat:nth-child(3)::before { animation-delay: -4s; }
@keyframes abSpin { to { --a: 360deg; } }
/* spotlight under the cursor */
.ab-stat::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(243,217,184,.16), transparent 60%); }
.ab-stat.is-hover::after { opacity: 1; }
.ab-stat > b, .ab-stat > span { position: relative; z-index: 2; }
.ab-stat > span { transform: translateZ(18px); }
/* odometer */
.ab-stat b.is-odo { display: flex; justify-content: center; background: none; color: transparent; height: 1em; line-height: 1; }
.odo { display: inline-flex; height: 1em; overflow: hidden; line-height: 1; }
.od { display: block; height: 1em; overflow: hidden; }
.od-in { display: flex; flex-direction: column; transform: translateY(0); }
.od-in i, .odo .ch { display: block; height: 1em; line-height: 1; font-style: normal; background: var(--ea-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-stat.is-in .od-in { transform: translateY(var(--to)); transition: transform var(--dur) cubic-bezier(.12,.8,.2,1) var(--dl); }
.ab-stat.is-in .odo { animation: abGlow 1.2s ease-out 1.8s 1; }
@keyframes abGlow { 40% { filter: drop-shadow(0 0 14px rgba(243,217,184,.7)); } }
@media (prefers-reduced-motion: reduce) {
  .ab-stat, .ab-stat.is-in { opacity: 1; transform: none; transition: none; }
  .ab-stat::before { animation: none; }
  .ab-stat.is-in .od-in { transition: none; }
}
.ab-arrow { display: none !important; }

/* about: bigger video, more space between text and video */
@media (min-width: 821px) {
  .ab-video { grid-template-columns: minmax(0, 1fr) 500px; gap: 140px; max-width: 1280px; }
  .ab-video-frame { max-width: 500px; }
  .ab-embed { height: 760px; }
}
@media (max-width: 820px) {
  .ab-video-frame { max-width: 460px; }
  .ab-embed { height: 640px; }
}

/* about: video even bigger */
@media (min-width: 821px) {
  .ab-video { grid-template-columns: minmax(0, 1fr) 600px; gap: 120px; max-width: 1380px; }
  .ab-video-frame { max-width: 600px; }
  .ab-embed { height: 900px; }
}
@media (max-width: 820px) {
  .ab-video-frame { max-width: 520px; }
  .ab-embed { height: 720px; }
}

/* about: mobile hero photo must clear the fixed header and show fully */
@media (max-width: 820px) {
  .ab-hero { padding-top: calc(env(safe-area-inset-top, 0px) + 112px); }
  .ab-hero-photo img { aspect-ratio: 4 / 5; height: auto; max-height: none; object-fit: cover; object-position: center top; }
}

/* about: mobile timeline headings in the site gradient */
@media (max-width: 820px) {
  .ab-timeline h3 { width: fit-content; max-width: 100%; background: var(--ea-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}

/* principles cards: rotating gold light along the border (same as stats) */
.hw-card::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0 62%, rgba(201,160,108,.9) 82%, #f3d9b8 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: abSpin 6s linear infinite; }
.hw-card:nth-child(2)::before { animation-delay: -2s; }
.hw-card:nth-child(3)::before { animation-delay: -4s; }
@media (prefers-reduced-motion: reduce) { .hw-card::before { animation: none; } }

/* pickup card (contacts): same rotating gold border */
.pickup-card { position: relative; isolation: isolate; }
.pickup-card::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0 62%, rgba(201,160,108,.9) 82%, #f3d9b8 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: abSpin 6s linear infinite; }
@media (prefers-reduced-motion: reduce) { .pickup-card::before { animation: none; } }

/* about: mobile.css (.section padding) was overriding hero top padding -> photo hid under fixed header */
@media (max-width: 820px) {
  body .section.ab-hero { padding-top: calc(env(safe-area-inset-top, 0px) + 92px); }
}

/* about: video block aligned to the same edges as the store card below
   (text on the card's left edge, video on its right edge) */
@media (min-width: 821px) {
  .ab-video { max-width: none; margin-inline: 0;
    padding-inline: 8vw; /* как у блока «Я не побоялся изменить всё» */
    grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 60px; }
  .ab-video-copy { justify-self: start; }
  .ab-video-frame { justify-self: end; margin: 0; }
}

/* about: store card spans the same width as the hero block (8vw side gutters) */
.ab-store-card { max-width: none; margin-inline: 0; }

/* ===== Единая сетка сайта: боковые отступы 8vw на десктопе, как у .section ===== */
@media (min-width: 821px) {
  .how-works { padding-inline: 8vw; }            /* принципы / Как работает Trade-in */
  .hw-grid { max-width: none; margin-inline: 0; }
  .th { padding-inline: 8vw; }                   /* шапка Trade-in */
  .th-inner { width: 100%; margin-inline: 0; }
  .ab-stats { max-width: none; margin-inline: 0; }       /* статистика «О нас» */
  .ab-wave-wrap { max-width: none; margin-inline: 0; }   /* таймлайн «О нас» */
}
/* Мобильные: те же отступы, что у .section в mobile.css */
@media (max-width: 820px) {
  .how-works { padding-inline: 6vw; }
  .th { padding-inline: 6vw; }
}
@media (max-width: 360px) { .how-works, .th { padding-inline: 5vw; } }
@media (min-width: 428px) and (max-width: 820px) { .how-works, .th { padding-inline: 7vw; } }

/* ===== Единый размер главных заголовков на всех страницах =====
   Менять размер — только здесь (две переменные: десктоп / мобильные) */
:root { --h-hero: clamp(36px, 4.4vw, 64px); }
@media (max-width: 820px) { :root { --h-hero: clamp(28px, 8vw, 36px); } }

body .intro h2.intro-title,                    /* Технологии, выбранные лично. */
body .iphone-scene .scene-copy h2,             /* Форма. Материал. Характер. */
body .contact-block.sc-hero h1.display,        /* Доставка / Гарантия / Ремонт */
body .ab-hero h1.ab-title,                     /* О нас */
body .th-copy h1.th-title {                    /* Trade-in */
  font-size: var(--h-hero) !important;
  line-height: 1.05 !important;
}

/* ===== Контакты: карточка «Самовывоз» лежит на карте (слева), кнопка маршрута — под текстом ===== */
.find-us .find-card.pickup-card { position: absolute; left: 8vw; top: 50%; transform: translateY(-50%); margin: 0;
  width: min(520px, 84vw); padding: 32px 34px; border-radius: 28px; background: rgba(17,17,17,.94); }
.find-card.pickup-card h2 { margin: 0 0 18px; }
.find-card.pickup-card .pickup-hours { margin-bottom: 0; }
.find-card.pickup-card .pickup-trade { margin-top: 10px; }
.find-card.pickup-card .th-cta { display: flex; width: 100%; margin: 26px 0 24px; }
.find-card.pickup-card .pickup-legal { margin-top: 0; }
@media (max-width: 820px) {
  .find-us .find-card.pickup-card { position: static; transform: none; width: auto; margin: 0 5vw; padding: 24px 20px; border-radius: 22px; }
}

/* ===== Карточка «Как нас найти» — вид как на макете ===== */
.find-card.pickup-card { padding: 34px 32px 30px; border-radius: 36px; background: rgba(12,12,12,.92); border: 1px solid rgba(201,160,108,.28); }
.find-card.pickup-card .eyebrow { margin: 0 0 22px; font-size: 12px; letter-spacing: .2em; color: var(--gold-light); }
.find-card.pickup-card h2 { margin: 0 0 26px; font: 700 clamp(38px, 4.4vw, 54px)/1.05 var(--sf-pro); color: #fff; letter-spacing: -.02em; }
.find-card.pickup-card .pickup-addr { margin: 0 0 20px; font-size: 22px; font-weight: 500; line-height: 1.35; color: #f1eee7; }
.find-card.pickup-card .pickup-note { margin: 0; font-size: 19px; line-height: 1.5; color: rgba(241,238,231,.6); }
.find-card.pickup-card .th-cta { margin: 32px 0 0; }
@media (max-width: 820px) {
  .find-us .find-card.pickup-card { padding: 28px 22px 22px; border-radius: 32px; }
  .find-card.pickup-card h2 { font-size: 40px; margin-bottom: 22px; }
  .find-card.pickup-card .pickup-addr { font-size: 20px; }
  .find-card.pickup-card .pickup-note { font-size: 18px; }
  .find-card.pickup-card .th-cta { margin-top: 26px; }
}

/* ===== Контакты: фото здания офиса справа от текста ===== */
.contact-block .office-photo { margin: 0; justify-self: end; width: min(100%, 780px); aspect-ratio: 1 / 1; border-radius: 0; overflow: hidden; border: 1px solid rgba(201,160,108,.28); background: #111; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.contact-block .office-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .contact-block .office-photo { justify-self: stretch; width: 100%; aspect-ratio: 4 / 5; border-radius: 0; }
}

/* ===== Контакты: панель построенного маршрута (поверх карты, справа; на телефоне — между карточкой и картой) ===== */
.find-map { z-index: 0; }
.find-card.pickup-card .th-cta.is-busy { opacity: .75; pointer-events: none; }
.route-panel { position: absolute; z-index: 5; right: 4vw; bottom: 28px; width: min(360px, 88vw); padding: 20px 20px 18px; border-radius: 28px;
  background: rgba(12,12,12,.94); border: 1px solid rgba(201,160,108,.28); box-shadow: 0 24px 60px rgba(0,0,0,.5); color: #f1eee7; font-family: var(--sf-pro, inherit); }
.route-panel[hidden] { display: none; }
.rp-close { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #f1eee7; font-size: 20px; line-height: 1; cursor: pointer; }
.rp-title { margin: 0 40px 14px 0; font: 700 18px/1.2 var(--sf-pro, inherit); }
.rp-modes { display: flex; gap: 4px; padding: 4px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: #0b0b0b; }
.rp-modes button { flex: 1; min-height: 36px; border: 0; border-radius: 10px; background: none; color: #bdb8ae; font: 600 13px/1 var(--sf-pro, inherit); cursor: pointer; }
.rp-modes button.active { background: var(--ea-grad, #c9a06c); color: #111; }
.rp-result { margin: 14px 0 0; min-height: 22px; color: rgba(241,238,231,.7); font-size: 15px; }
.rp-result strong { display: block; color: #fff; font: 700 30px/1.1 var(--sf-pro, inherit); letter-spacing: -.01em; }
.rp-result span { display: block; margin-top: 4px; }
.rp-msg { margin: 10px 0 0; color: #e7c9a0; font-size: 14px; line-height: 1.4; }
.rp-msg:empty { display: none; }
.rp-from { display: flex; gap: 8px; margin-top: 12px; }
.rp-from[hidden] { display: none; }
.rp-from input { flex: 1; min-width: 0; min-height: 42px; padding: 0 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: #0b0b0b; color: #fff; font: 500 16px/1 var(--sf-pro, inherit); }
.rp-from button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--ea-grad, #c9a06c); color: #111; font: 700 14px/1 var(--sf-pro, inherit); cursor: pointer; }
.rp-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rp-links a { padding: 8px 12px; border: 1px solid rgba(201,160,108,.35); border-radius: 999px; color: var(--gold-light, #e7c9a0); font: 600 13px/1 var(--sf-pro, inherit); text-decoration: none; }
.rp-links a:hover { background: rgba(201,160,108,.12); }
@media (max-width: 820px) {
  .route-panel { position: static; width: auto; margin: 14px 5vw 0; padding: 18px 16px 16px; border-radius: 24px; }
}

/* Контакты: фото целиком (не обрезается), уменьшено до высоты текста; дальше сразу карта */
#contacts.contact-block { align-items: stretch; padding-bottom: 48px; }
#contacts.contact-block + .find-us { margin-top: 0; }
#contacts.contact-block .office-photo { position: relative; aspect-ratio: auto; width: 100%; height: auto; min-height: 340px; align-self: stretch; border: 0; box-shadow: none; background: none; overflow: visible; }
#contacts.contact-block .office-photo img { position: absolute; top: 0; right: 0; height: 100%; width: auto; aspect-ratio: 1 / 1; max-width: 100%; object-fit: cover; border: 1px solid rgba(201,160,108,.28); box-shadow: 0 30px 70px rgba(0,0,0,.5); background: #111; }
@media (max-width: 820px) {
  #contacts.contact-block { padding-bottom: 32px; }
  #contacts.contact-block .office-photo { aspect-ratio: 1 / 1; min-height: 0; height: auto; }
  #contacts.contact-block .office-photo img { width: 100%; height: 100%; }
}

/* ===== about: блок «Хочешь узнать мою историю целиком?» — крупнее (заголовок, подпись, кнопка) ===== */
body .ab-video .ab-h2 { font-size: clamp(44px, 5.6vw, 80px) !important; line-height: 1.06 !important; margin-bottom: 30px; }
body .ab-video .ab-sub { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.6; max-width: 680px; margin-bottom: 12px; }
body .ab-video .ab-ig-btn { margin-top: 34px; padding: 20px 20px 20px 40px !important; font-size: 24px !important; gap: 22px; min-height: 0 !important; }
body .ab-video .ab-ig-btn .cta-arrow { width: 54px !important; height: 54px !important; font-size: 26px !important; }
@media (max-width: 820px) {
  body .ab-video .ab-h2 { font-size: clamp(34px, 9.5vw, 46px) !important; margin-bottom: 20px; }
  body .ab-video .ab-sub { font-size: 19px; line-height: 1.55; }
  body .ab-video .ab-ig-btn { font-size: 19px !important; padding: 12px 12px 12px 28px !important; min-height: 64px !important; gap: 14px; }
  body .ab-video .ab-ig-btn .cta-arrow { width: 44px !important; height: 44px !important; font-size: 20px !important; }
}

/* about: заголовки таймлайна — градиент сайта и на десктопе */
@media (min-width: 821px) {
  .ab-timeline h3 { width: fit-content; max-width: 100%; margin-inline: auto; padding-bottom: .08em;
    background: var(--ea-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}

/* ===== Главная: «Технологии, выбранные лично.» и «Форма. Материал. Характер.» — крупнее ===== */
:root { --h-big: clamp(48px, 6.2vw, 96px); }
@media (max-width: 820px) { :root { --h-big: clamp(36px, 10.5vw, 46px); } }

body .intro .intro-content h2.intro-title,
body .iphone-scene .scene-copy h2 {
  font-size: var(--h-big) !important;
  line-height: 1.04 !important;
}
@media (min-width: 821px) {
  body .iphone-scene .scene-copy { max-width: min(640px, 46vw); }
}
@media (max-width: 820px) {
  body .iphone-scene .scene-copy { max-width: min(380px, 92vw); }
}

/* ===== Гарантия / Доставка и оплата: заголовок крупнее, метка («· ГАРАНТИЯ») меньше ===== */
body #warranty.contact-block.sc-hero h1.display,
body #delivery.contact-block.sc-hero h1.display {
  font-size: clamp(44px, 5.4vw, 80px) !important;
  line-height: 1.04 !important;
}
/* Ремонт: заголовок «Забота о вашей технике.» чуть крупнее, чем «Гарантия» / «Доставка» */
body #repair.contact-block.sc-hero h1.display { font-size: clamp(50px, 6vw, 90px) !important; line-height: 1.04 !important; }
@media (max-width: 820px) { body #repair.contact-block.sc-hero h1.display { font-size: clamp(36px, 11vw, 48px) !important; } }

body #warranty.sc-hero .section-label,
body #delivery.sc-hero .section-label {
  font-size: 11px !important;
  letter-spacing: .18em !important;
  margin-bottom: 16px !important;
}
@media (max-width: 820px) {
  body #warranty.contact-block.sc-hero h1.display,
  body #delivery.contact-block.sc-hero h1.display { font-size: clamp(34px, 10vw, 44px) !important; }
  body #warranty.sc-hero .section-label,
  body #delivery.sc-hero .section-label { font-size: 10px !important; margin-bottom: 12px !important; }
}

/* «Хочешь узнать мою историю целиком?» на мобильных — ровно три строки:
   «Хочешь узнать / мою историю / целиком?» (на компьютере переносы прежние) */
.ab-br { display: none; }
@media (max-width: 820px) {
  .ab-br { display: inline; }
  body .ab-video .ab-h2 { text-wrap: nowrap; }
  body .ab-video .ab-h2 span { display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
}

/* О нас (только мобильная версия): убираем лишний разрыв между белой и золотой частью заголовка */
@media (max-width: 820px) {
  body .ab-hero h1.ab-title { line-height: 1.08 !important; }
  body .ab-hero h1.ab-title span {
    display: block;
    margin-top: 0;
    padding-bottom: 0;
    line-height: 1.08;
    font-family: inherit;
  }
}

/* Контакты: реквизиты по центру, как на сайте-образце */
.legal-info { text-align: center; padding: clamp(48px, 7vw, 96px) 6vw clamp(40px, 6vw, 80px); }
.legal-info h2 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 40px); font-weight: 700; }
.legal-info p { margin: 0 auto; max-width: 760px; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.7; color: rgba(241,238,231,.78); }
.legal-info .legal-note { margin-top: 24px; font-size: clamp(13px, 1.2vw, 15px); line-height: 1.6; color: rgba(241,238,231,.5); }

/* галерея на странице товара */
.pp-gallery { display: grid; gap: 14px; min-width: 0; }
.pp-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-thumb { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: #fff; cursor: pointer; opacity: .7; transition: opacity .25s, border-color .25s; }
.pp-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-thumb:hover, .pp-thumb[aria-pressed="true"] { opacity: 1; }
.pp-thumb[aria-pressed="true"] { border-color: var(--gold, #c9a06c); }
@media (max-width: 820px) { .pp-thumb { width: 60px; height: 60px; border-radius: 12px; } }

/* ценник на странице товара — на фирменной золотой градиентной плашке */
.pp-price {
  display: inline-block; align-self: flex-start; padding: 12px 26px; border-radius: 18px;
  background: var(--gold-grad, linear-gradient(120deg, #f3d9b8 0%, #c9a06c 32%, #a67c3c 58%, #c9a06c 82%, #e3c39c 100%));
  color: #000; letter-spacing: -.01em; line-height: 1.1; font-weight: 700 !important;
  box-shadow: 0 10px 26px rgba(166,124,60,.32), inset 0 1px 0 rgba(255,255,255,.45);
}
@media (max-width: 820px) { .pp-price { padding: 10px 22px; border-radius: 16px; } }

/* Выбор цвета на странице товара: кружок цвета внутри кнопки */
.opt-color { display: inline-flex; align-items: center; gap: 10px; }
.opt-sw { display: block; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--sw, #8e8e93); box-shadow: inset 0 0 0 1px rgba(128,128,128,.45), inset 0 2px 3px rgba(255,255,255,.22); }
.opt-color[aria-pressed="true"] .opt-sw { box-shadow: 0 0 0 1.5px rgba(255,255,255,.75), inset 0 0 0 1px rgba(128,128,128,.4); }
@media (max-width: 820px) { .opt-color { gap: 8px; } .opt-sw { width: 15px; height: 15px; } }

/* iPhone: фото целиком, без обрезки, на чисто белом фоне. */
.product-card-media[data-fit], .pp-media[data-fit] { background: #fff; }
[data-fit] > img { object-fit: contain !important; }
.product-card-media[data-fit] > img { width: 100%; height: 100%; padding: 6px 0; }
.pp-media[data-fit] > img { aspect-ratio: 1; }
@media (max-width: 820px) { .pp-media[data-fit] > img { aspect-ratio: 4 / 3.4; } }

/* Админка: плашка «Сменить пароль», окна смены пароля и новой подкатегории */
.admin-heading-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-pass-chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid rgba(201,160,108,.55); border-radius: 999px; background: rgba(201,160,108,.08); color: #e6c99a; font: 600 13px/1 var(--sf-pro); cursor: pointer; transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.adm-pass-chip svg { width: 16px; height: 16px; }
.adm-pass-chip:hover { background: var(--ea-grad); color: #111; border-color: transparent; transform: translateY(-1px); }
.adm-catbox-links { display: inline-flex; gap: 14px; }
.adm-modal .modal-card { width: min(460px, 100%); border-radius: 22px; }
.adm-modal .modal-card h3 { font-size: 30px; margin: 8px 0 20px; }
.adm-modal-form { display: grid; gap: 14px; }
.adm-modal-label { display: grid; gap: 6px; font: 600 13px/1.2 var(--sf-pro); color: #4a4741; }
.adm-modal-label input, .adm-modal-label select { width: 100%; padding: 13px 14px; border: 1px solid #d8d3c8; border-radius: 12px; background: #fff; color: #111; font: 500 15px/1.2 var(--sf-pro); }
.adm-modal-label input:focus, .adm-modal-label select:focus { outline: none; border-color: #c9a06c; box-shadow: 0 0 0 3px rgba(201,160,108,.22); }
.adm-modal-hint { margin: 0; font-size: 12.5px; color: #77736b; }
.pass-msg { min-height: 18px; margin: 0; font: 600 13px/1.35 var(--sf-pro); color: #77736b; }
.pass-msg.err { color: #c0392b; }
.pass-msg.ok { color: #2e8b57; }
.adm-cats-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.adm-cats-head h3 { margin: 0; }
.adm-sub-empty { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px dashed rgba(201,160,108,.45); border-radius: 12px; color: #d9d6cf; font: 600 13px/1.2 var(--sf-pro); }
.adm-sub-empty small { color: #8d8a82; font-weight: 500; }
.adm-sub-empty .adm-del { color: #d66; }
.adm-sub-add { justify-self: start; margin-top: 4px; }
@media (max-width: 640px) {
  .admin-heading-actions { width: 100%; }
  .adm-pass-chip { flex: 1; justify-content: center; }
}
.adm-modal { z-index: 120; }
.adm-catbox-links .adm-link { white-space: nowrap; cursor: pointer; }
/* Админка: обложка модели (первое фото на карточке каталога) */
.adm-cover { border-color: rgba(201,160,108,.45); background: rgba(201,160,108,.05); }
/* Админка: фото плиток подкатегорий (вкладка «Категории») */
.adm-subrow { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.adm-tile-cover { display: grid; gap: 6px; justify-items: center; }
.adm-tile-cover img { width: 92px; height: 92px; object-fit: contain; border-radius: 14px; background: #0b0b0b; border: 1px solid var(--line); }
.adm-tile-cover.own img { border-color: rgba(201,160,108,.7); box-shadow: 0 0 0 2px rgba(201,160,108,.18); }
.adm-tile-cover-actions { display: grid; gap: 4px; justify-items: center; }
.adm-tile-cover-actions .adm-link { font-size: 12px; cursor: pointer; white-space: nowrap; }
.adm-sub-empty .adm-tile-cover img { width: 56px; height: 56px; }
@media (max-width: 640px) { .adm-subrow { grid-template-columns: 76px minmax(0, 1fr); } .adm-tile-cover img { width: 76px; height: 76px; } }
.adm-subrow + .adm-subrow { margin-top: 8px; }
/* Б/У: плашка АКБ и факты об устройстве */
.akb-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: 999px; font: 600 12px/1.2 var(--sf-pro, inherit); background: #eef6ee; color: #25672c; border: 1px solid #cfe5d0; }
.akb-pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.akb-mid { background: #fff7e6; color: #8a5a00; border-color: #f1dfb2; }
.akb-lo { background: #fdeceb; color: #a12a22; border-color: #f3c9c6; }
.used-facts { display: grid; gap: 8px; margin: 6px 0 14px; justify-items: start; }
.used-facts .akb-pill { margin: 0; font-size: 14px; padding: 6px 14px; }
.used-facts div { display: flex; gap: 10px; font-size: 15px; }
.used-facts div span { color: #88847d; min-width: 92px; }
.adm-label textarea { width: 100%; background: #0b0b0b; color: inherit; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; resize: vertical; }

/* Артикул в конце названия товара (iPad и MacBook) */
.pp-article { white-space: nowrap; }

/* Админка: порядок подкатегорий */
.adm-move { display: inline-flex; flex-direction: column; gap: 4px; margin-left: auto; }
.adm-move button { width: 36px; height: 34px; border-radius: 10px; border: 1px solid var(--line, #333); background: rgba(255,255,255,.04); color: #e8e4dc; font: 700 16px/1 var(--sf-pro, inherit); cursor: pointer; }
.adm-move button:hover:not(:disabled) { border-color: rgba(201,160,108,.7); color: #c9a06c; }
.adm-move button:disabled { opacity: .3; cursor: default; }
.adm-sub-empty .adm-move { flex-direction: row; }
.adm-sub-main { display: grid; gap: 4px; min-width: 0; }
.adm-sub-del { justify-self: start; font-size: 12px; cursor: pointer; }
.adm-brand-head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: end; }
.adm-brand-del { white-space: nowrap; cursor: pointer; font-size: 13px; padding-bottom: 12px; }
.adm-brand-head .adm-move { flex-direction: row; margin-left: 0; }

/* Админка: перетаскивание категорий и подкатегорий */
.adm-grip { width: 30px; min-height: 34px; align-self: center; border-radius: 10px; border: 1px dashed var(--line, #333); background: transparent; color: #8d8a82; font: 700 18px/1 var(--sf-pro, inherit); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; padding: 0; }
.adm-grip:hover { color: #c9a06c; border-color: rgba(201,160,108,.7); }
.adm-grip:active { cursor: grabbing; }
.adm-brand-head { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.adm-subrow { grid-template-columns: auto 92px minmax(0, 1fr) auto; }
@media (max-width: 640px) { .adm-subrow { grid-template-columns: auto 76px minmax(0, 1fr) auto; gap: 10px; } }
.adm-sub-empty .adm-grip { min-height: 30px; }
[data-dragitem].dragging { position: relative; z-index: 5; opacity: .85; box-shadow: 0 12px 32px rgba(0,0,0,.55); background: #151311; border-radius: 14px; }
[data-dragitem].drop-before { box-shadow: 0 -3px 0 0 #c9a06c; }
[data-dragitem].drop-after { box-shadow: 0 3px 0 0 #c9a06c; }
body.adm-dragging { user-select: none; -webkit-user-select: none; cursor: grabbing; }
@media (max-width: 640px) {
  .adm-brand-head { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 8px; }
  .adm-brand-head > label { grid-column: 2 / -1; }
  .adm-brand-head .adm-brand-del { grid-column: 1 / 3; justify-self: start; padding-bottom: 0; }
  .adm-brand-head .adm-move { grid-column: 3; flex-direction: row; }
  .adm-subrow { grid-template-columns: auto 76px minmax(0, 1fr); row-gap: 8px; }
  .adm-subrow .adm-move { grid-column: 2 / -1; flex-direction: row; margin-left: 0; justify-self: start; }
  .adm-subrow .adm-grip { grid-row: 1 / span 2; }
  .adm-sub-empty .adm-move { margin-left: 0; }
}
