/* Стили мобильного интерфейса, тем Telegram и компонентов. */
:root {
  color-scheme: light;
  --accent: #9f1239;
  --accent-dark: #881337;
  --accent-soft: rgba(159, 18, 57, 0.09);
  --button-text: #ffffff;
  --focus: #2563eb;
  --bg: var(--tg-bg, #f7f4ef);
  --surface: var(--tg-secondary-bg, #ffffff);
  --surface-strong: #ffffff;
  --text: var(--tg-text, #171717);
  --muted: var(--tg-hint, #57534e);
  --danger: var(--tg-destructive, #b42318);
  --border: #ded8cf;
  --shadow: 0 16px 42px rgba(45, 35, 30, 0.07);
  --font-display: "Cormorant", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --app-width: 480px;
  --app-height: 100dvh;
  --touch-target: 44px;
  --transition: 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --safe-top: var(--tg-safe-area-inset-top, env(safe-area-inset-top, 0px));
  --safe-bottom: var(--tg-safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));
}

* { box-sizing: border-box; }

html,
body {
  min-width: 320px;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select {
  min-height: var(--touch-target);
  font: inherit;
}

button { cursor: pointer; }

.primary-button {
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--button-text);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background var(--transition), transform 120ms ease;
}

.primary-button:hover { background: var(--accent-dark); }

.danger-button {
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid color-mix(in srgb, var(--danger) 45%, var(--border));
  border-radius: 12px;
  background: color-mix(in srgb, var(--danger) 10%, var(--surface));
  color: var(--danger);
  font-weight: 750;
}

.danger-button:hover { background: color-mix(in srgb, var(--danger) 16%, var(--surface)); }
.admin-delete-product-button { margin-top: 26px; }

button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

button:active,
[role="button"]:active { transform: scale(0.98); }

.app-shell {
  width: 100%;
  max-width: var(--app-width);
  height: var(--app-height);
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  background: transparent;
}

.screen {
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: calc(14px + var(--safe-top)) 16px calc(88px + var(--safe-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  animation: screen-in var(--transition);
}

.screen--full { padding-bottom: calc(24px + var(--safe-bottom)); }
.screen--product { padding-bottom: calc(150px + var(--safe-bottom)); }

html[data-platform="browser"] body { overscroll-behavior: none; }

@media (display-mode: standalone) {
  html[data-platform="browser"] .app-shell { max-width: none; }
  html[data-platform="browser"] .bottom-nav { max-width: none; }
}

.bottom-nav {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: var(--app-width);
  margin: 0 auto;
  padding: 6px 4px calc(6px + var(--safe-bottom));
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 -8px 24px rgba(23, 33, 43, 0.06);
  backdrop-filter: blur(18px);
}

.bottom-nav[hidden] { display: none; }

.nav-button {
  position: relative;
  min-width: 0;
  min-height: 54px;
  padding: 4px 1px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color var(--transition), background var(--transition), transform 120ms ease;
}

.nav-button[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.nav-icon {
  display: grid;
  min-height: 24px;
  place-items: center;
}

.nav-icon--badge { position: relative; width: 28px; margin: 0 auto; }

.nav-badge {
  position: absolute;
  top: -4px;
  right: -7px;
  min-width: 21px;
  height: 21px;
  padding: 0 4px;
  border: 2px solid var(--surface);
  border-radius: 11px;
  background: var(--danger);
  color: #fff;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
}

.loading-screen { padding-top: 20vh; text-align: center; }

.brand-mark {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  place-items: center;
  border: 1px solid var(--text);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.loading-screen h1 { margin: 0 0 28px; font-size: 22px; }

.skeleton-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.skeleton-card {
  height: 190px;
  border-radius: 20px;
  background: linear-gradient(100deg, rgba(109, 120, 133, 0.09) 20%, rgba(109, 120, 133, 0.18) 40%, rgba(109, 120, 133, 0.09) 60%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite linear;
}

.toast {
  position: fixed;
  z-index: 80;
  right: 16px;
  bottom: calc(84px + var(--safe-bottom));
  left: 16px;
  max-width: 398px;
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 14px;
  background: #17212b;
  color: #fff;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
}

.toast.is-visible { opacity: 1; transform: translateY(0); }

h1,
h2,
p { margin-top: 0; }

h1 { margin-bottom: 6px; font-family: var(--font-display); font-size: clamp(32px, 9vw, 44px); font-weight: 600; line-height: 0.98; letter-spacing: -0.025em; }
h2 { margin-bottom: 8px; font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.05; letter-spacing: -0.018em; }
p { color: var(--muted); }
img { display: block; max-width: 100%; }

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.secondary-button,
.toolbar-button {
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  font-weight: 720;
  transition: background var(--transition), transform 120ms ease, border-color var(--transition);
}

.text-button,
.section-heading button,
.remove-button,
.seller-entry {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 720;
}

.text-button--center { display: block; margin: 5px auto 0; }

.icon-button {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-size: 30px;
  line-height: 1;
}

.page-header,
.home-header,
.section-heading,
.order-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-header { justify-content: flex-start; min-height: 54px; margin-bottom: 18px; }
.page-header h1, .page-header p { margin: 0; }
.page-header p { font-size: 14px; }
.home-header { margin-bottom: 16px; }
.home-header h1 { margin: 0; }
.brand-mark--small { width: 48px; height: 48px; margin: 0; border-radius: 16px; font-size: 21px; }

.hero {
  position: relative;
  min-height: 246px;
  padding: 28px 24px;
  overflow: hidden;
  border: 0;
  background: linear-gradient(145deg, #dff4ff 0%, #f7fbfd 55%, #e9e0f8 100%);
  color: #17212b;
}

.hero h2 { position: relative; max-width: 260px; font-size: 30px; }
.hero p { position: relative; max-width: 250px; color: #526170; }
.hero .secondary-button { position: relative; width: auto; background: rgba(255, 255, 255, 0.8); }
.hero__orb { position: absolute; border-radius: 999px; filter: blur(1px); }
.hero__orb--one { right: -48px; bottom: -68px; width: 190px; height: 190px; background: rgba(42, 171, 238, 0.34); }
.hero__orb--two { top: 24px; right: 28px; width: 68px; height: 68px; background: rgba(141, 92, 192, 0.18); }

.section-block { margin-top: 26px; }
.section-heading { margin-bottom: 12px; }
.section-heading h2, .section-heading p { margin: 0; }
.section-heading > span { color: var(--muted); font-size: 14px; }

.category-strip,
.chip-strip,
.active-filters {
  display: flex;
  margin-right: -16px;
  padding-right: 16px;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.category-strip::-webkit-scrollbar,
.chip-strip::-webkit-scrollbar,
.active-filters::-webkit-scrollbar { display: none; }

.category-card {
  position: relative;
  flex: 0 0 116px;
  height: 148px;
  padding: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border: 0;
  border-radius: 18px;
  background: #dfe6eb;
  box-shadow: 0 8px 22px rgba(23, 33, 43, 0.1);
  color: #fff;
}

.category-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(14, 24, 34, 0.75)); }
.category-card img { width: 100%; height: 100%; object-fit: cover; }
.category-card span { position: absolute; z-index: 1; right: 10px; bottom: 10px; left: 10px; font-weight: 750; text-align: left; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-card { min-width: 0; overflow: hidden; box-shadow: 0 8px 22px rgba(23, 33, 43, 0.07); }
.product-card__open { width: 100%; padding: 0; border: 0; background: transparent; color: var(--text); text-align: left; }
.product-card__media { position: relative; display: block; aspect-ratio: 0.76; overflow: hidden; background: linear-gradient(145deg, #e5edf2, #f8fafb); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.product-card__open:active img { transform: scale(1.02); }
.product-card__body { display: grid; min-height: 122px; padding: 11px; gap: 5px; }
.product-card__body strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.product-card__body small { color: var(--muted); font-size: 14px; line-height: 1.35; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.price-row b { font-size: 15px; }
.price-row s { color: var(--muted); font-size: 14px; }

.badge,
.status-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(23, 33, 43, 0.82);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.product-card .badge,
.product-gallery .badge { position: absolute; z-index: 2; top: 10px; left: 10px; }

.editorial-card { margin-top: 26px; padding: 22px; background: linear-gradient(135deg, var(--surface), var(--accent-soft)); }
.editorial-card p { margin-bottom: 8px; }

.chip-strip { margin-bottom: 14px; }
.chip,
.filter-chip {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 650;
}

.chip.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.toolbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.toolbar-button { display: flex; justify-content: space-between; }
.catalog-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 14px; gap: 8px; }
.catalog-control { display: flex; min-width: 0; min-height: 44px; padding: 8px 6px; align-items: center; justify-content: center; gap: 3px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-size: 12px; font-weight: 700; white-space: nowrap; }
.catalog-control .ui-icon { width: 15px; height: 15px; }
.catalog-control.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.active-filters { align-items: center; margin-bottom: 14px; }
.filter-chip { min-height: 44px; padding: 6px 10px; background: var(--accent-soft); color: var(--accent-dark); font-size: 14px; }
.active-filters button { flex: 0 0 auto; min-height: 44px; border: 0; background: transparent; color: var(--danger); }

@media (max-width: 360px) {
  .catalog-controls { gap: 6px; }
  .catalog-control { padding-right: 4px; padding-left: 4px; font-size: 11px; }
  .catalog-control .ui-icon { display: none; }
}

.product-gallery { position: relative; aspect-ratio: 0.83; overflow: hidden; background: linear-gradient(145deg, #e5edf2, #f8fafb); }
.product-gallery__track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.product-gallery__track::-webkit-scrollbar { display: none; }
.product-gallery__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.gallery-dots { position: absolute; right: 12px; bottom: 12px; left: 12px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gallery-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.58); box-shadow: 0 1px 5px rgba(23, 33, 43, 0.22); }
.gallery-dot.is-active { background: #fff; transform: scale(1.2); }
.product-info { padding: 12px 2px 4px; }
.product-info h1 { margin-bottom: 8px; }
.product-price { display: flex; align-items: baseline; margin-bottom: 14px; gap: 9px; }
.product-price b { font-size: 24px; }
.product-price s { color: var(--muted); }
.choice-section { margin: 8px 0; padding: 12px 0; border-top: 1px solid var(--border); }
.choice-section.needs-attention { animation: choice-alert 420ms ease; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(82px, 1fr)); gap: 9px; margin-bottom: 20px; }
.choice-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-grid--single { grid-template-columns: 1fr; }
.choice-grid--single .size-button { grid-column: 1 / -1; }
.choice-grid--colors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.color-button,
.size-button {
  min-width: 0;
  min-height: 50px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text);
}
.color-button { display: flex; align-items: center; gap: 8px; text-align: left; }
.color-button > span { flex: 0 0 21px; width: 21px; height: 21px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 50%; background: var(--swatch); }
.color-button.is-active,
.size-button.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); box-shadow: 0 0 0 1px var(--accent); }
.color-button.is-unavailable { border-style: dashed; opacity: 0.62; }
.size-button { display: grid; place-items: center; }
.size-button small { color: var(--muted); font-size: 14px; }
.size-button:disabled { border-color: transparent; background: color-mix(in srgb, var(--muted) 8%, var(--surface)); color: var(--muted); opacity: 0.38; cursor: not-allowed; text-decoration: line-through; }
.choice-hint { padding: 12px; border-radius: 13px; background: var(--accent-soft); font-size: 14px; }
.choice-hint--unavailable { color: var(--danger); }

.product-actions { position: fixed; z-index: 24; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 0.9fr 1.1fr; width: 100%; max-width: var(--app-width); margin: 0 auto; padding: 10px 16px calc(10px + var(--safe-bottom)); gap: 9px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(18px); }
.product-actions__cart { grid-column: 1 / -1; min-height: 44px; border: 0; background: transparent; color: var(--accent-dark); font-weight: 750; }

.cart-list { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); padding: 10px; gap: 12px; }
.cart-item__image { min-height: 142px; padding: 0; overflow: hidden; border: 0; border-radius: 14px; background: #e6edf1; }
.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__body { display: grid; min-width: 0; align-content: start; gap: 5px; }
.cart-item__body small { color: var(--muted); }
.quantity-control { display: grid; grid-template-columns: 42px 36px 42px; align-items: center; margin-top: 6px; }
.quantity-control button { min-height: 42px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-strong); color: var(--text); font-size: 22px; }
.quantity-control span { text-align: center; }
.remove-button { justify-self: start; color: var(--danger); }
.notice-card { display: flex; margin: 14px 0; padding: 13px; gap: 10px; border-radius: 16px; background: var(--accent-soft); }
.notice-card > span { display: grid; flex: 0 0 24px; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; }
.notice-card p { margin: 1px 0 0; color: var(--text); font-size: 14px; }
.summary-card { padding: 18px; }
.summary-card > div { display: flex; justify-content: space-between; margin-bottom: 10px; }
.summary-total { padding-top: 12px; border-top: 1px solid var(--border); font-size: 18px; }

.empty-state { padding: 34px 22px; text-align: center; }
.empty-state > span { display: grid; width: 58px; height: 58px; margin: 0 auto 14px; place-items: center; border-radius: 20px; background: var(--accent-soft); color: var(--accent); font-size: 28px; }
.empty-state .primary-button { margin-top: 8px; }

.order-card { display: grid; width: 100%; min-height: 170px; padding: 18px; gap: 10px; border-color: transparent; color: var(--text); text-align: left; }
.order-card > span:not(.status-pill) { display: block; }
.order-card small { color: var(--muted); }
.status-pill { justify-self: start; background: var(--accent-soft); color: var(--accent-dark); }
.status-pill--ready { background: rgba(34, 180, 113, 0.13); color: #178753; }

.information-intro { position: relative; margin-bottom: 14px; overflow: hidden; padding: 22px 20px 24px; background: linear-gradient(145deg, var(--surface-strong), var(--accent-soft)); }
.information-intro::after { position: absolute; right: -32px; bottom: -46px; width: 140px; height: 140px; border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent); border-radius: 50%; content: ''; }
.information-intro__mark { display: grid; width: 42px; height: 42px; margin-bottom: 16px; place-items: center; border: 1px solid var(--accent); border-radius: 14px; color: var(--accent); font-size: 22px; }
.information-intro .eyebrow { margin-bottom: 5px; }
.information-intro h2 { max-width: 280px; margin: 0 0 10px; font-size: clamp(30px, 8vw, 40px); line-height: .98; }
.information-intro p:last-child { max-width: 330px; margin: 0; color: var(--muted); line-height: 1.55; }
.information-list { display: grid; gap: 10px; }
.information-item { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: start; padding: 17px; gap: 13px; }
.information-item__icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: var(--accent-soft); color: var(--accent-dark); font-size: 20px; font-weight: 700; }
.information-item h3 { margin: 1px 0 6px; font-size: 16px; }
.information-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.store-visual { position: relative; height: 220px; overflow: hidden; background: linear-gradient(145deg, #d7e8f1, #f2e7de); }
.store-visual img { width: 100%; height: 100%; object-fit: cover; }
.store-card { margin-top: 14px; padding: 18px; }
.store-card h2 { font-size: 24px; }
.info-list { margin-top: 12px; overflow: hidden; }
.info-list > div { display: flex; min-height: 68px; align-items: center; padding: 13px 15px; gap: 12px; }
.info-list > div + div { border-top: 1px solid var(--border); }
.info-list > div > span { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); font-size: 18px; }
.info-list p, .info-list strong, .info-list small { display: block; margin: 0; }
.info-list small { color: var(--muted); }
.store-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.seller-entry { display: flex; width: 100%; margin-top: 22px; justify-content: space-between; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.admin-entry-link { display: block; min-height: 30px; margin: 10px 0 0 auto; padding: 5px 2px; border: 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 500; opacity: 0.62; }
.admin-entry-link:active, .admin-entry-link:focus-visible { color: var(--accent-dark); opacity: 1; }

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 2px 0 18px;
  gap: 8px;
}

.checkout-progress span {
  display: grid;
  min-height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 15%, transparent);
  color: transparent;
  font-size: 1px;
}

.checkout-progress span.is-active { background: var(--accent); }
.checkout-summary { display: flex; min-height: 58px; align-items: center; justify-content: space-between; margin-bottom: 12px; padding: 15px 17px; }
.form-card { display: grid; padding: 18px; gap: 16px; }
.form-card label { display: grid; gap: 7px; font-weight: 700; }
.form-card input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-strong);
  color: var(--text);
}
.form-card input:focus { border-color: var(--accent); }
.form-card > small { color: var(--muted); }
.field-error { margin: -8px 0 0; color: var(--danger); font-size: 14px; }
.field-error[hidden] { display: none; }

.delivery-list { display: grid; gap: 12px; }
.delivery-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 100px;
  align-items: center;
  padding: 14px;
  gap: 11px;
  color: var(--text);
  text-align: left;
}
.delivery-card.is-active { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.delivery-card__icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; background: var(--accent-soft); color: var(--accent-dark); font-size: 22px; }
.delivery-card strong, .delivery-card small { display: block; }
.delivery-card small { margin-top: 3px; color: var(--muted); line-height: 1.35; }
.delivery-card__price { display: grid; justify-items: end; gap: 5px; font-size: 14px; font-weight: 750; }
.delivery-card__price em { padding: 3px 6px; border-radius: 7px; background: rgba(23, 33, 43, 0.08); color: var(--muted); font-size: 14px; font-style: normal; text-transform: uppercase; }

.sticky-checkout { position: fixed; z-index: 24; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 0.65fr 1.35fr; width: 100%; max-width: var(--app-width); margin: 0 auto; padding: 10px 16px calc(10px + var(--safe-bottom)); align-items: center; gap: 10px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(18px); }
.sticky-checkout span, .sticky-checkout b { display: block; }
.sticky-checkout span { color: var(--muted); font-size: 14px; }
.sticky-checkout .primary-button:disabled { opacity: 0.42; cursor: not-allowed; }

.review-section { margin-bottom: 12px; padding: 17px; }
.review-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-heading h2 { margin: 0; }
.review-heading button { min-height: 44px; border: 0; background: transparent; color: var(--accent-dark); font-weight: 700; }
.review-section > p { margin: 10px 0 0; color: var(--text); }
.review-items { display: grid; margin: 12px 0 0; padding: 0; gap: 12px; list-style: none; }
.review-items li,
.order-item { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-width: 0; }
.order-item-image { width: 54px; height: 66px; border-radius: 10px; object-fit: cover; background: #e7edf1; }
.review-items img { width: 54px; height: 66px; border-radius: 10px; object-fit: cover; background: #e7edf1; }
.review-items strong, .review-items small { display: block; }
.review-items small { color: var(--muted); }
.review-items b { font-size: 14px; }
.checkout-items-disclosure { width: 100%; overflow: hidden; }
.checkout-items-disclosure > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; min-height: 44px; align-items: center; padding: 2px 0; gap: 10px; cursor: pointer; list-style: none; }
.checkout-items-disclosure > summary::-webkit-details-marker { display: none; }
.checkout-items-disclosure > summary b { font-size: 17px; }
.checkout-items-disclosure__arrow { color: var(--muted); font-size: 22px; line-height: 1; text-align: center; transition: transform var(--transition); }
.checkout-items-disclosure[open] .checkout-items-disclosure__arrow { transform: rotate(180deg); }
.checkout-items-disclosure .review-items { margin-bottom: 0; padding-top: 12px; border-top: 1px solid var(--border); }
.checkout-items-disclosure .review-items li { grid-template-columns: 44px minmax(0, 1fr) auto; }
.checkout-items-disclosure .review-items img { width: 44px; height: 54px; }
.checkout-items-disclosure__remove { grid-column: 2 / -1; justify-self: start; min-height: 44px; padding-top: 3px; }
.demo-caption { margin: 12px 0 0; color: var(--muted); font-size: 14px; text-align: center; }

.success-screen { min-height: calc(100dvh - var(--safe-top) - var(--safe-bottom)); padding-top: 9vh; text-align: center; }
.success-mark { display: grid; width: 76px; height: 76px; margin: 0 auto 20px; place-items: center; border-radius: 26px; background: linear-gradient(145deg, #2bb673, #78d7a6); box-shadow: 0 16px 34px rgba(43, 182, 115, 0.25); color: #fff; font-size: 40px; }
.success-screen > p { max-width: 340px; margin-right: auto; margin-left: auto; }
.success-card { display: grid; grid-template-columns: 1fr 1fr; margin: 24px 0 14px; padding: 17px; gap: 9px; text-align: left; }
.success-card span { color: var(--muted); }
.success-card strong { text-align: right; }

.order-status-card { margin-bottom: 12px; padding: 20px; }
.order-status-card h2 { margin-top: 12px; font-size: 24px; }
.order-status-card--ready { background: linear-gradient(145deg, var(--surface), rgba(43, 182, 115, 0.11)); }
.full-width { width: 100%; margin-top: 14px; }

.seller-header { display: flex; min-height: 64px; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.seller-header h1, .seller-header p { margin: 0; }
.seller-header .secondary-button { min-height: 44px; padding: 8px 12px; }
.seller-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 14px; padding: 4px; border-radius: 14px; background: color-mix(in srgb, var(--muted) 10%, transparent); }
.seller-tabs button { min-height: 42px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font-weight: 700; }
.seller-tabs button.is-active { background: var(--surface); color: var(--text); box-shadow: 0 4px 12px rgba(23, 33, 43, 0.08); }
.seller-order-card { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; width: 100%; min-height: 132px; padding: 16px; gap: 12px; color: var(--text); text-align: left; }
.seller-order-card .status-pill { grid-column: 1 / -1; justify-self: start; }
.seller-order-card strong, .seller-order-card small { display: block; }
.seller-order-card small { margin-top: 4px; color: var(--muted); }
.seller-ready-button { margin-top: 18px; }

.share-button {
  display: flex;
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-weight: 750;
}

.share-button svg {
  width: 20px;
  height: 20px;
}

.sheet__backdrop { position: fixed; z-index: 60; inset: 0; background: rgba(8, 18, 28, 0.46); backdrop-filter: blur(2px); animation: fade-in var(--transition); }
.sheet { position: fixed; z-index: 70; right: 0; bottom: 0; left: 0; width: 100%; max-width: var(--app-width); max-height: 88dvh; margin: 0 auto; padding: 12px 18px calc(18px + var(--safe-bottom)); overflow-y: auto; border-radius: 24px 24px 0 0; background: var(--surface); box-shadow: 0 -18px 50px rgba(8, 18, 28, 0.22); animation: sheet-in var(--transition); }
.sheet__handle { width: 42px; height: 4px; margin: 0 auto 12px; border-radius: 9px; background: var(--border); }
.sheet__close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; min-height: 40px; border: 0; background: color-mix(in srgb, var(--muted) 10%, transparent); font-size: 24px; }
.sheet__header { padding-right: 48px; }
.sheet fieldset { margin: 20px 0; padding: 0; border: 0; }
.sheet legend { margin-bottom: 10px; font-weight: 750; }
.sheet__actions { position: sticky; bottom: calc(-18px - var(--safe-bottom)); display: grid; grid-template-columns: 0.8fr 1.2fr; margin: 20px -18px calc(-18px - var(--safe-bottom)); padding: 10px 18px calc(10px + var(--safe-bottom)); gap: 9px; border-top: 1px solid var(--border); background: var(--surface); }
.toggle-row { display: flex; min-height: 50px; align-items: center; gap: 10px; font-weight: 650; }
.toggle-row input { width: 22px; min-height: 22px; accent-color: var(--accent); }
.sort-list { display: grid; margin-top: 14px; }
.sort-list button { display: flex; min-height: 54px; align-items: center; justify-content: space-between; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--text); text-align: left; }
.size-table { width: 100%; margin: 16px 0; border-collapse: collapse; }
.size-table th, .size-table td { padding: 12px 8px; border-bottom: 1px solid var(--border); text-align: left; }

.image-fallback { position: relative; background: linear-gradient(145deg, #dfeef6, #f2e8f8); }
.image-fallback::after { content: "Фэшн стор"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent-dark); font-weight: 800; }

/* Editorial Minimal: единая fashion-система для всех экранов. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ui-icon {
  display: block;
  width: 21px;
  height: 21px;
  pointer-events: none;
}

.nav-icon .ui-icon { width: 22px; height: 22px; }
.icon-button .ui-icon { width: 23px; height: 23px; }
.toolbar-button .ui-icon,
.text-button .ui-icon,
.seller-entry .ui-icon { width: 18px; height: 18px; }
.quantity-control .ui-icon { width: 17px; height: 17px; }

.screen { padding-top: calc(20px + var(--safe-top)); }
.page-header { position: relative; margin-bottom: 24px; }
.page-header::after,
.home-header::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}
.page-header { position: relative; }
.page-header--compact { min-height: 44px; margin-bottom: 12px; }
.page-header--compact::after { display: none; }
.page-header h1 { font-size: clamp(31px, 8vw, 42px); }

.home-header { position: relative; margin-bottom: 28px; }
.home-header h1 { font-size: clamp(39px, 11vw, 56px); }
.brand-mark--small { width: 46px; height: 46px; border-radius: 50%; font-size: 25px; }

.eyebrow {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(250, 247, 242, 0.96) 0%, rgba(250, 247, 242, 0.88) 51%, rgba(250, 247, 242, 0.14) 100%),
    url("assets/preorder-hero-bags.png") center / cover no-repeat;
  color: #211916;
  box-shadow: 0 20px 50px rgba(45, 35, 30, 0.16);
}
.hero h2 { max-width: 310px; margin-bottom: 10px; color: #211916; font-size: clamp(36px, 10vw, 52px); }
.hero p { max-width: 300px; margin-bottom: 18px; color: #5d4d46; }
.hero .eyebrow { color: #684d40; }
.hero .secondary-button { align-self: flex-start; border-color: rgba(33, 25, 22, 0.18); background: rgba(255, 255, 255, 0.82); color: #211916; }
.hero__orb { display: none; }

.preorder-summary { margin: 20px 0 2px; }
.preorder-terms {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.preorder-terms__item {
  position: relative;
  min-height: 0;
  padding: 4px 0 4px 17px;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.preorder-terms__item::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.low-stock-text {
  margin: -8px 0 14px;
  color: #8a3d55;
  font-size: 14px;
  font-weight: 700;
}

.section-block { margin-top: 34px; }
.section-heading { min-height: 38px; padding-left: 12px; border-left: 3px solid var(--accent); }
.section-heading h2 { font-size: 28px; }
.section-heading button { padding-right: 3px; }
.section-heading > span { font-size: 13px; }

.category-strip { gap: 12px; }
.category-card {
  flex-basis: 132px;
  height: 174px;
  border-radius: 12px;
  box-shadow: none;
}
.category-card::after { inset: 42% 0 0; }
.category-card span { bottom: 12px; font-size: 14px; }

.product-grid { gap: 18px 12px; }
.product-card { border: 0; border-radius: 12px; box-shadow: none; background: transparent; }
.product-card__media { border-radius: 12px; background: #ebe5df; }
.product-card__body { min-height: 112px; padding: 11px 2px 0; }
.product-card__body strong { font-size: 13px; font-weight: 600; }
.product-card__body small { color: var(--muted); font-size: 12px; }
.price-row b { font-size: 15px; font-variant-numeric: tabular-nums; }
.badge,
.status-pill { min-height: 27px; padding: 4px 9px; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; }
.badge { background: rgba(23, 23, 23, 0.88); }

.editorial-card {
  position: relative;
  margin-top: 36px;
  padding: 28px 24px 30px;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--accent) 18%, var(--border));
  background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--accent) 7%, var(--surface)));
}
.editorial-card::after {
  content: "F";
  position: absolute;
  right: -8px;
  bottom: -40px;
  color: color-mix(in srgb, var(--accent) 8%, transparent);
  font-family: var(--font-display);
  font-size: 150px;
  font-weight: 700;
  line-height: 1;
}
.editorial-card > * { position: relative; z-index: 1; }
.editorial-card h2 { font-size: 34px; }
.text-button--icon { display: inline-flex; align-items: center; gap: 4px; }

.chip,
.filter-chip { border-radius: 10px; box-shadow: none; }
.chip.is-active { color: var(--accent-dark); box-shadow: inset 0 0 0 1px var(--accent); }
.toolbar-button,
.secondary-button { border-color: var(--border); border-radius: 12px; box-shadow: none; }
.toolbar-button { align-items: center; }
.toolbar-button > span { display: grid; place-items: center; }

.product-gallery { border-radius: 16px; box-shadow: none; }
.product-info { padding-top: 12px; }
.product-info h1 { font-size: clamp(28px, 7.5vw, 36px); line-height: 1; }
.product-price b { font-size: 25px; font-variant-numeric: tabular-nums; }
.choice-section { margin-top: 6px; padding-top: 10px; padding-bottom: 10px; }
.color-button,
.size-button { border-radius: 10px; }
.product-actions,
.sticky-checkout {
  max-width: var(--app-width);
  border-color: var(--border);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
}

.cart-item { border-radius: 14px; box-shadow: none; }
.cart-item__image { border-radius: 10px; }
.quantity-control button { display: grid; min-height: 44px; place-items: center; border-radius: 10px; }
.notice-card { border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border)); border-radius: 12px; }
.notice-card > span { background: transparent; color: var(--accent-dark); }
.notice-card > span .ui-icon { width: 22px; height: 22px; }
.summary-card,
.checkout-summary,
.form-card,
.review-section,
.order-status-card { border-radius: 14px; box-shadow: none; }
.summary-total { font-size: 20px; }

.empty-state { padding: 44px 24px; box-shadow: none; }
.empty-state > span { border-radius: 50%; }
.empty-state > span .ui-icon { width: 27px; height: 27px; }
.empty-state h2 { font-size: 31px; }

.order-card,
.seller-order-card { border-color: var(--border); box-shadow: none; }
.status-pill { background: var(--accent-soft); color: var(--accent-dark); }
.status-pill--ready { background: rgba(21, 128, 61, 0.11); color: #166534; }

.store-visual { height: 280px; border-radius: 16px; box-shadow: none; }
.store-card { padding: 24px; box-shadow: none; }
.store-card h2 { font-size: 34px; }
.info-list { box-shadow: none; }
.info-list > div > span { background: var(--accent-soft); }
.info-list > div > span .ui-icon { width: 20px; height: 20px; }
.seller-entry > span { display: inline-flex; align-items: center; gap: 2px; }

.checkout-progress span { min-height: 5px; border-radius: 0; }
.form-card input { border-radius: 10px; }
.delivery-card { border-radius: 14px; box-shadow: none; }
.delivery-card__icon { border-radius: 50%; }
.delivery-card__icon .ui-icon { width: 20px; height: 20px; }
.review-heading button { border-radius: 8px; }
.review-items img { border-radius: 8px; }

.success-mark { border-radius: 50%; background: #166534; box-shadow: none; }
.success-mark .ui-icon { width: 39px; height: 39px; }
.success-screen h1 { font-size: clamp(44px, 12vw, 62px); }
.success-card { box-shadow: none; }

.seller-tabs { border: 1px solid var(--border); border-radius: 12px; background: transparent; }
.seller-tabs button { min-height: 44px; border-radius: 8px; }
.seller-tabs button.is-active { background: var(--text); color: var(--surface); box-shadow: none; }

/* Админ-панель: мобильный рабочий режим в визуальной системе «Фэшн стор». */
.seller-access {
  min-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.seller-access .brand-mark { opacity: 1; pointer-events: auto; transform: none; }
.seller-access h1 { max-width: 320px; margin: 0 auto 12px; font-size: clamp(42px, 12vw, 58px); }
.seller-access > p:not(.eyebrow) { max-width: 340px; margin: 0 auto 22px; }
.seller-access .notice-card { margin: 0 0 18px; text-align: left; }
.seller-access .text-button { margin-top: 8px; }

.seller-main-tabs {
  position: sticky;
  z-index: 12;
  top: calc(-20px - var(--safe-top));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 -16px 24px;
  padding: 10px 16px;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(18px);
}
.seller-main-tabs button {
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 750;
}
.seller-main-tabs button.is-active { border-color: var(--text); background: var(--text); color: var(--surface); }

.admin-section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.admin-section-heading h2 { margin: 0; font-size: 34px; }
.admin-section-heading p { margin: 3px 0 0; font-size: 13px; }
.admin-add-button { display: inline-flex; width: auto; min-width: 154px; align-items: center; justify-content: center; gap: 7px; }
.admin-add-button .ui-icon { width: 19px; height: 19px; }
.admin-list-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.admin-select-button { width: auto; min-height: 48px; padding: 10px 13px; border-radius: 12px; }
.admin-select-button.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }

.admin-search {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  min-height: 50px;
  margin-bottom: 12px;
  padding: 0 14px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.admin-search .ui-icon { width: 20px; height: 20px; color: var(--muted); }
.admin-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.admin-search:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }

.admin-filter-strip { display: flex; margin: 0 -16px 16px; padding: 0 16px 2px; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.admin-filter-strip::-webkit-scrollbar { display: none; }
.admin-filter-strip button { flex: 0 0 auto; min-height: 44px; padding: 8px 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 700; }
.admin-filter-strip button.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }

.admin-user-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.admin-user-stats .card { display: grid; gap: 4px; padding: 14px; }
.admin-user-stats strong { font-size: 24px; line-height: 1; }
.admin-user-stats span { color: var(--muted); font-size: 12px; line-height: 1.25; }
.admin-user-list { display: grid; gap: 10px; }
.admin-user-row { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 14px; text-align: left; }
.admin-user-row__avatar,
.admin-user-detail__avatar { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-weight: 800; }
.admin-user-row__content { display: grid; min-width: 0; gap: 3px; }
.admin-user-row__content strong { overflow-wrap: anywhere; }
.admin-user-row__content small { color: var(--muted); overflow-wrap: anywhere; }
.admin-user-badge { width: fit-content; margin-top: 4px; padding: 4px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 12px; font-style: normal; font-weight: 700; }
.admin-user-detail { display: grid; justify-items: center; gap: 8px; margin-bottom: 12px; text-align: center; }
.admin-user-detail__avatar { width: 56px; height: 56px; font-size: 20px; }
.admin-user-detail h2 { margin: 0; }
.admin-user-detail p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.admin-filter-tools { display: flex; margin: -4px 0 16px; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.admin-filter-tools::-webkit-scrollbar { display: none; }
.admin-filter-select { flex: 0 0 170px; }
.admin-filter-select select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-size: 13px; font-weight: 700; }
.admin-filter-tools .filter-chip { flex: 0 0 auto; min-height: 44px; padding: 6px 11px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 700; }
.admin-filter-tools .filter-chip.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }

.admin-product-list { display: grid; gap: 10px; }
.admin-product-row { position: relative; min-height: 112px; overflow: hidden; border-radius: 12px; box-shadow: none; }
.admin-product-row__open { display: grid; grid-template-columns: 64px minmax(0, 1fr); width: 100%; min-height: 112px; padding: 12px 54px 12px 12px; align-items: center; gap: 12px; border: 0; background: transparent; color: var(--text); text-align: left; }
.admin-product-row__image { display: grid; width: 64px; height: 80px; overflow: hidden; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--muted) 8%, var(--surface)); }
.admin-product-row__image img { width: 100%; height: 100%; object-fit: cover; }
.admin-product-row__placeholder { color: var(--muted); }
.admin-product-row__placeholder .ui-icon { width: 26px; height: 26px; }
.admin-product-row__content { min-width: 0; }
.admin-product-row__content strong,
.admin-product-row__content small,
.admin-product-row__content > span { display: block; }
.admin-product-row__content strong { display: -webkit-box; overflow: hidden; font-size: 15px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.admin-product-row__content small { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-product-row__content > span { margin-top: 3px; font-size: 12px; font-variant-numeric: tabular-nums; }
.admin-product-row__more { position: absolute; top: 34px; right: 8px; border: 0; background: transparent; }
.admin-product-row--selectable { border-color: color-mix(in srgb, var(--accent) 26%, var(--border)); }
.admin-product-row--selectable.is-selected { border-color: var(--accent); background: var(--accent-soft); }
.admin-product-row--selectable .admin-product-row__open { padding-right: 54px; padding-left: 52px; }
.admin-product-row__select { position: absolute; z-index: 2; top: 44px; left: 12px; display: grid; width: 28px; height: 28px; place-items: center; }
.admin-product-row__select input { appearance: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--muted); border-radius: 7px; background: var(--surface); }
.admin-product-row__select input:checked { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 4px var(--surface); }
.admin-bulk-bar { position: sticky; z-index: 8; bottom: calc(var(--safe-bottom) + 8px); display: grid; margin-top: 14px; padding: 12px; gap: 10px; box-shadow: var(--shadow); }
.admin-bulk-bar p { display: grid; margin: 0; gap: 3px; }
.admin-bulk-bar p span { color: var(--muted); font-size: 12px; line-height: 1.3; }
.admin-bulk-bar > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.admin-bulk-bar .secondary-button { min-width: 0; padding-right: 8px; padding-left: 8px; }

.admin-status { display: inline-flex; width: fit-content; min-height: 24px; margin-top: 6px; padding: 3px 8px; align-items: center; border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.admin-status--published { background: rgba(21, 128, 61, 0.11); color: #166534; }
.admin-status--draft { background: color-mix(in srgb, var(--muted) 12%, transparent); color: var(--muted); }
.admin-status--out { background: rgba(180, 35, 24, 0.1); color: var(--danger); }

.admin-editor-header { display: grid; grid-template-columns: 44px minmax(0, 1fr); min-height: 54px; margin-bottom: 16px; align-items: center; gap: 12px; }
.admin-editor-header h1,
.admin-editor-header p { margin: 0; }
.admin-editor-header h1 { overflow: hidden; font-size: 31px; text-overflow: ellipsis; white-space: nowrap; }

.admin-progress { margin: 0 0 20px; }
.admin-progress__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; gap: 12px; font-size: 12px; }
.admin-progress__top strong { color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.08em; }
.admin-progress__top span { color: var(--muted); }
.admin-progress__track { height: 4px; overflow: hidden; background: color-mix(in srgb, var(--muted) 14%, transparent); }
.admin-progress__track span { display: block; width: var(--progress); height: 100%; background: var(--accent); transition: width var(--transition); }
.admin-progress__labels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 7px; gap: 5px; color: var(--muted); font-size: 10px; }
.admin-progress__labels span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-progress__labels span.is-active { color: var(--text); font-weight: 700; }

.admin-editor-form { display: grid; padding-bottom: calc(84px + var(--safe-bottom)); gap: 12px; }
.admin-editor-form--single { gap: 14px; }
.admin-editor-form,
.admin-form-section,
.admin-form-heading,
.admin-editor-grid,
.admin-price-grid { min-width: 0; }
.admin-form-section { padding: 18px; border-radius: 14px; box-shadow: none; }
.admin-editor-form,
.admin-form-section,
.admin-variant-fields { min-width: 0; max-width: 100%; overflow-x: hidden; }
.admin-form-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.admin-form-heading h2,
.admin-form-heading p { margin: 0; }
.admin-form-heading > span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.admin-form-section label:not(.secondary-button) { display: grid; margin-top: 14px; gap: 7px; color: var(--text); font-size: 13px; font-weight: 700; }
.admin-form-section input,
.admin-form-section select,
.admin-form-section textarea { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; outline: 0; background: var(--bg); color: var(--text); font: inherit; font-weight: 500; resize: vertical; }
.admin-form-section textarea { min-height: 112px; }
.admin-form-section input:focus,
.admin-form-section select:focus,
.admin-form-section textarea:focus { border-color: var(--focus); box-shadow: 0 0 0 2px color-mix(in srgb, var(--focus) 22%, transparent); }
.admin-form-section fieldset { margin: 18px 0 0; padding: 0; border: 0; }
.admin-form-section legend { margin-bottom: 10px; font-weight: 750; }
.admin-form-section > small { display: block; margin-top: 8px; color: var(--muted); }
.admin-form-section label small { color: var(--muted); font-size: 11px; font-weight: 500; }
.admin-add-variant-button { width: 100%; margin-top: 12px; }
.admin-variant-hint { display: block; margin-top: 7px; color: var(--muted); }
.admin-form-heading--variants { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.admin-variant-fields { display: grid; min-width: 0; gap: 10px; }
.admin-variant-fields > label { margin-top: 0 !important; }
.admin-size-list { display: grid; min-width: 0; gap: 8px; }
.admin-size-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr) 44px; min-width: 0; align-items: end; gap: 8px; }
.admin-size-row label { min-width: 0; margin-top: 0 !important; }
.admin-size-row .icon-button { width: 44px; height: 44px; min-height: 44px; }
.admin-color-block { display: grid; gap: 12px; width: 100%; margin-inline: 0; padding: 16px; box-sizing: border-box; transform: none; box-shadow: none; }
.admin-color-block h3 { margin: 0; font-size: 18px; }
.admin-color-block .text-button { min-height: 44px; padding: 8px; color: var(--danger); }
.admin-color-block__stock { overflow: hidden; border: 1px solid var(--border); border-radius: 10px; }
.admin-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-editor-grid label { margin-top: 14px !important; }
.field-error { margin: 6px 0 0; color: var(--danger); font-size: 12px; font-weight: 700; }

.admin-photo-empty { min-height: 190px; display: grid; padding: 24px; place-items: center; align-content: center; gap: 8px; border: 1px dashed var(--border); border-radius: 12px; background: color-mix(in srgb, var(--accent) 3%, var(--bg)); color: var(--muted); text-align: center; }
.admin-photo-empty .ui-icon { width: 34px; height: 34px; color: var(--accent-dark); }
.admin-photo-empty strong { color: var(--text); }
.admin-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-photo { position: relative; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; border-radius: 10px; background: var(--bg); }
.admin-photo img { width: 100%; height: 100%; object-fit: cover; }
.admin-photo figcaption,
.admin-photo > button:not(.icon-button) { position: absolute; bottom: 8px; left: 8px; min-height: 32px; padding: 5px 8px; border: 0; border-radius: 7px; background: rgba(23, 23, 23, 0.82); color: #fff; font-size: 10px; font-weight: 750; }
.admin-photo .icon-button { position: absolute; top: 6px; right: 6px; width: 36px; min-height: 36px; height: 36px; border: 0; background: rgba(255, 255, 255, 0.9); color: #171717; }
.admin-photo-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; gap: 9px; }
.admin-photo-actions .secondary-button { display: inline-flex; min-width: 0; align-items: center; justify-content: center; gap: 6px; }
.admin-photo-actions .ui-icon { width: 18px; height: 18px; }

.admin-editor-actions { position: fixed; z-index: 24; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); width: 100%; max-width: var(--app-width); margin: 0 auto; padding: 10px 16px calc(10px + var(--safe-bottom)); align-items: center; gap: 9px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(18px); }
.admin-editor-actions .text-button { padding-right: 8px; padding-left: 8px; }
.admin-editor-actions--final .secondary-button { min-width: 0; padding-right: 8px; padding-left: 8px; }
.admin-editor-actions button:disabled { opacity: 0.42; cursor: not-allowed; }

.admin-group-card { overflow: hidden; }
.admin-group-card .admin-form-heading { margin-bottom: 12px; }
.admin-group-card .admin-form-heading p:last-child { margin: 6px 0 0; font-size: 13px; }
.admin-group-strip { display: flex; margin-right: -18px; padding: 2px 18px 4px 2px; gap: 10px; overflow-x: auto; flex-wrap: nowrap; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x proximity; }
.admin-group-strip::-webkit-scrollbar { display: none; }
.admin-group-product { display: grid; flex: 0 0 108px; min-height: 44px; padding: 5px; gap: 5px; scroll-snap-align: start; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); text-align: left; }
.admin-group-product.is-current { border: 2px solid var(--accent); background: var(--accent-soft); }
.admin-group-product__image { display: grid; aspect-ratio: 1 / 1; place-items: center; overflow: hidden; border-radius: 8px; background: color-mix(in srgb, var(--muted) 10%, var(--surface)); color: var(--muted); }
.admin-group-product__image img { width: 100%; height: 100%; object-fit: cover; }
.admin-group-product__placeholder .ui-icon { width: 28px; height: 28px; }
.admin-group-product strong { overflow: hidden; font-size: 12px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.admin-group-product small { overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }

.admin-variant-group { overflow: hidden; border-radius: 12px; box-shadow: none; }
.admin-variant-group summary { display: flex; min-height: 54px; padding: 12px 14px; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; }
.admin-variant-group summary::-webkit-details-marker { display: none; }
.admin-variant-group summary > span { display: flex; align-items: center; gap: 9px; }
.admin-variant-group summary i { width: 17px; height: 17px; border: 1px solid var(--border); border-radius: 50%; background: var(--swatch); }
.admin-variant-group summary small { color: var(--muted); }
.admin-variant-group > div { border-top: 1px solid var(--border); }
.admin-variant-row { display: grid; grid-template-columns: 52px 30px minmax(0, 1fr) 70px; min-height: 58px; padding: 8px 12px; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.admin-variant-row:last-child { border-bottom: 0; }
.admin-variant-row > button { min-height: 36px; padding: 5px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--accent-dark); font-size: 10px; font-weight: 800; }
.admin-variant-row > span { color: var(--muted); font-size: 11px; text-align: right; }
.admin-variant-row input { width: 70px; min-width: 0; min-height: 42px; padding: 6px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); text-align: center; }
.admin-variant-row.is-disabled { opacity: 0.55; }

@media (max-width: 380px) {
  .admin-editor-grid { grid-template-columns: 1fr; }
  .admin-variant-row { grid-template-columns: 48px 28px minmax(0, 1fr) 68px; padding-right: 8px; padding-left: 8px; gap: 6px; }
}

.admin-preview-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; border: 1px solid var(--border); border-radius: 12px; color: var(--muted); font-size: 12px; text-align: center; }
.admin-preview-switch span,
.admin-preview-switch strong { min-height: 38px; display: grid; padding: 8px; place-items: center; border-radius: 8px; }
.admin-preview-switch strong { background: var(--text); color: var(--surface); }
.admin-preview-card { overflow: hidden; border-radius: 14px; box-shadow: none; }
.admin-preview-card__media { aspect-ratio: 4 / 5; display: grid; place-items: center; background: color-mix(in srgb, var(--muted) 9%, var(--surface)); color: var(--muted); }
.admin-preview-card__media img { width: 100%; height: 100%; object-fit: cover; }
.admin-preview-card__media .ui-icon { width: 42px; height: 42px; }
.admin-preview-card__body { padding: 20px; }
.admin-preview-card__body h2 { font-size: 36px; }
.admin-preview-card__body .product-price { display: flex; align-items: baseline; gap: 9px; color: var(--text); }
.admin-preview-card__body .product-price s { color: var(--muted); }
.admin-preview-card__body .color-button { pointer-events: none; }
.admin-validation { padding: 18px; border-color: color-mix(in srgb, var(--danger) 35%, var(--border)); box-shadow: none; }
.admin-validation ul { margin: 10px 0 0; padding-left: 20px; color: var(--danger); }
.admin-save-error { border-color: color-mix(in srgb, var(--danger) 35%, var(--border)); }
.admin-save-error p { min-width: 0; overflow-wrap: anywhere; }
.admin-save-error small { color: var(--muted); }
.notice-card--success { border-color: rgba(21, 128, 61, 0.28); }
.notice-card--success > span { color: #166534; }

.admin-action-list { display: grid; margin: 16px 0; }
.admin-action-list button { display: grid; grid-template-columns: 24px minmax(0, 1fr) 20px; min-height: 64px; padding: 10px 2px; align-items: center; gap: 10px; border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--text); text-align: left; }
.admin-action-list button > span { min-width: 0; }
.admin-action-list button > span strong,
.admin-action-list button > span small { display: block; }
.admin-action-list button > span small { margin-top: 2px; color: var(--muted); }
.admin-menu-delete-button { margin: 0 0 10px; }
.admin-action-list .ui-icon { width: 20px; height: 20px; }
.seller-tabs button span { display: inline-grid; min-width: 22px; height: 22px; margin-left: 4px; place-items: center; border-radius: 999px; background: color-mix(in srgb, var(--muted) 12%, transparent); font-size: 11px; }
.seller-tabs button.is-active span { background: color-mix(in srgb, var(--surface) 18%, transparent); }

[data-theme="dark"] .admin-status--published,
[data-theme="dark"] .notice-card--success > span { color: #86efac; }
[data-theme="dark"] .admin-status--out { color: #fca5a5; }

.sheet { max-width: var(--app-width); border-radius: 20px 20px 0 0; }
.sheet__close { display: grid; place-items: center; border-radius: 50%; font-size: inherit; }
.sort-list b { color: var(--accent); }

@media (hover: hover) {
  .product-card__open:hover img,
  .category-card:hover img { transform: scale(1.025); }
  .product-card__open:hover strong { color: var(--accent-dark); }
  .secondary-button:hover,
  .toolbar-button:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); background: var(--accent-soft); }
}

@media (min-width: 768px) {
  body { background: #ebe7e0; }
  .app-shell {
    max-width: var(--app-width);
    border-right: 1px solid var(--border);
    border-left: 1px solid var(--border);
    background: var(--bg);
    box-shadow: 0 0 48px rgba(45, 35, 30, 0.12);
  }
  .screen { max-width: none; padding-right: 20px; padding-left: 20px; }
  .bottom-nav {
    right: auto;
    bottom: 12px;
    left: 50%;
    width: min(calc(100% - 32px), 488px);
    max-width: none;
    padding: 7px 8px calc(7px + var(--safe-bottom));
    border: 1px solid var(--border);
    border-radius: 18px;
    transform: translateX(-50%);
  }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-actions,
  .sticky-checkout { max-width: var(--app-width); padding-right: 20px; padding-left: 20px; }
}

@media (min-width: 1024px) {
  .app-shell { max-width: var(--app-width); }
}

@keyframes sheet-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes choice-alert { 50% { background: rgba(232, 93, 104, 0.1); } }

[data-theme="dark"] {
  color-scheme: dark;
  --accent: #a61e4d;
  --accent-dark: #f08cab;
  --accent-soft: rgba(240, 140, 171, 0.12);
  --button-text: #ffffff;
  --focus: #60a5fa;
  --bg: var(--tg-bg, #161411);
  --surface: var(--tg-secondary-bg, #211e1b);
  --surface-strong: #29241f;
  --text: var(--tg-text, #fbf8f4);
  --muted: var(--tg-hint, #c2b8ae);
  --border: #403831;
  --shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .status-pill--ready {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
}

@media (min-width: 768px) {
  [data-theme="dark"] body { background: #0f0e0c; }
}

@keyframes screen-in {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer { to { background-position-x: -200%; } }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 640px) {
  html,
  body { min-width: 0; }
  .app-shell,
  .screen { max-width: none; min-width: 0; }
  .screen > * { min-width: 0; max-width: 100%; }
  .seller-main-tabs,
  .admin-filter-strip { margin-right: 0; margin-left: 0; padding-right: 0; padding-left: 0; }
  .admin-editor-header h1 { font-size: 25px; }
  .admin-section-heading { align-items: stretch; flex-direction: column; }
  .admin-list-actions { justify-content: stretch; }
  .admin-list-actions > button { flex: 1 1 auto; }
  .admin-add-button { width: 100%; min-width: 0; }
  .admin-form-section { padding: 12px; }
  .admin-form-heading { flex-direction: column; }
  .admin-form-heading h2 { font-size: 24px; }
  .admin-form-section label:not(.secondary-button) { margin-top: 10px; gap: 5px; }
  .admin-form-section input,
  .admin-form-section select { min-height: 44px; padding: 8px 10px; }
  .admin-form-section textarea { min-height: 88px; padding: 8px 10px; }
  .admin-photo-empty { min-height: 130px; padding: 16px; }
  .admin-price-grid,
  .admin-editor-grid { grid-template-columns: 1fr; }
  .admin-editor-actions { padding-right: 12px; padding-left: 12px; }
  .admin-editor-actions button { min-width: 0; min-height: 44px; padding: 8px 10px; overflow-wrap: anywhere; font-size: 13px; }
  .admin-variant-row { grid-template-columns: minmax(0, 1fr) 72px; grid-template-areas: "toggle stock" "size label"; padding-right: 10px; padding-left: 10px; }
  .admin-variant-row > button { grid-area: toggle; justify-self: start; }
  .admin-variant-row > strong { grid-area: size; }
  .admin-variant-row > span { grid-area: label; text-align: left; }
  .admin-variant-row > input { grid-area: stock; justify-self: end; }
  .admin-group-strip { margin-right: -12px; padding-right: 12px; }
}

@media (max-width: 380px) {
  .admin-editor-form { padding-bottom: calc(142px + var(--safe-bottom)); }
  .admin-editor-actions,
  .admin-editor-actions--final { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-variant-row { grid-template-columns: minmax(0, 1fr) 68px; }
}

/* Узкий мобильный слой админ-панели: 320–430 px. */
@media (max-width: 430px) {
  .choice-grid--colors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .choice-grid--colors .color-button {
    gap: 6px;
    padding: 6px;
    font-size: 12px;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .choice-grid--colors .color-button > span {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
  }

  .seller-shell {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
  }

  .seller-shell h1,
  .seller-shell h2,
  .seller-shell p,
  .seller-shell strong,
  .seller-shell small,
  .seller-shell span,
  .seller-shell label,
  .seller-shell legend {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .seller-shell button,
  .seller-shell input,
  .seller-shell select,
  .seller-shell textarea,
  .seller-shell summary {
    min-height: 44px;
  }

  .seller-shell button:active,
  .seller-shell [role="button"]:active {
    transform: none;
    filter: brightness(0.94);
  }

  .seller-header {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .seller-header .secondary-button {
    width: 100%;
  }

  .seller-main-tabs {
    gap: 8px;
  }

  .seller-main-tabs button {
    min-width: 0;
    padding: 8px 10px;
    overflow-wrap: anywhere;
  }

  .admin-section-heading h2 { font-size: 30px; }
  .admin-section-heading p { font-size: 14px; }
  /* iOS/Telegram приближает страницу при фокусе на поле меньше 16 px. */
  .seller-shell .admin-search input,
  .seller-shell .admin-form-section input,
  .seller-shell .admin-form-section select,
  .seller-shell .admin-form-section textarea,
  .seller-shell .admin-filter-select select,
  .seller-shell .admin-variant-row input { font-size: 16px; }
  .admin-progress__top,
  .admin-progress__labels,
  .admin-form-heading > span,
  .admin-variant-group summary small,
  .admin-preview-switch,
  .admin-save-error small { font-size: 14px; }

  .admin-filter-strip,
  .admin-filter-tools {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }

  .admin-filter-strip button,
  .admin-filter-tools .filter-chip,
  .admin-filter-select select {
    font-size: 14px;
  }

  .admin-filter-select { flex-basis: 164px; }
  .admin-product-row__content small,
  .admin-product-row__content > span { font-size: 14px; }
  .admin-status { min-height: 44px; padding: 8px 10px; font-size: 14px; }
  .admin-product-row__more { top: 34px; right: 6px; }

  .admin-form-section { padding: 12px; }
  .admin-form-section label:not(.secondary-button),
  .admin-form-section label small,
  .admin-form-section > small,
  .field-error { font-size: 14px; }
  .admin-form-section input,
  .admin-form-section select,
  .admin-form-section textarea { font-size: 16px; }

  .admin-photo > button:not(.icon-button) {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .admin-photo .icon-button {
    width: 44px;
    height: 44px;
  }

  .admin-variant-row > button {
    min-height: 44px;
    font-size: 14px;
  }

  .admin-variant-row > span,
  .admin-variant-row input { font-size: 16px; }
  .admin-editor-form { min-width: 0; max-width: 100%; overflow-x: hidden; }
  .admin-editor-form .admin-variant-fields { min-width: 0; max-width: 100%; }
  .admin-editor-form .admin-variant-fields input { font-size: 16px; }
  .admin-size-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr) 44px; gap: 8px; min-width: 0; }
  .admin-size-row label { min-width: 0; }
  .admin-preview-switch { font-size: 14px; }
  .admin-preview-switch span,
  .admin-preview-switch strong { min-height: 44px; }
  .admin-preview-card__body { padding: 16px; }
  .admin-preview-card__body h2 { font-size: 30px; }

  .admin-action-list button { min-height: 64px; font-size: 14px; }
  .admin-action-list button > span small { font-size: 14px; }
  .admin-editor-actions--final button { width: 100%; min-width: 0; white-space: normal; }
}
