:root {
  --bg: #ffffff;
  --ink: #392f5a;
  --ink-soft: #6a6a75;
  --coral: #fc9e30;
  --coral-dark: #ef8a00;
  --sun: #ffc531;
  --mint: #2ec4b6;
  --berry: #e63946;
  --sky: #4d96ff;
  --purple: #392f5a;
  --card: #ffffff;
  --hairline: #e6e6e6;
  --radius: 18px;
  --shadow: 0 4px 16px rgba(57, 47, 90, 0.08);
  --shadow-hover: 0 12px 28px rgba(57, 47, 90, 0.14);
  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 760px;
}

.section {
  padding: 72px 0;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  text-align: center;
  margin-bottom: 12px;
}

.section__title--left {
  text-align: left;
}

.section__subtitle {
  text-align: center;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  padding: 7px 0;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.15;
  color: var(--purple);
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 24px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--coral);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-btn {
  position: relative;
  border: none;
  cursor: pointer;
  font-size: 20px;
  background: var(--coral);
  border-radius: 999px;
  width: 52px;
  height: 52px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}

.cart-btn:hover {
  transform: scale(1.08);
}

.cart-btn__count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 22px;
}

.burger {
  display: none;
  border: none;
  background: var(--card);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 20px rgba(252, 158, 48, 0.4);
}

.btn--ghost {
  background: transparent;
  border: 2px solid var(--purple);
  color: var(--purple);
}

.btn--small {
  padding: 10px 18px;
  font-size: 15px;
  background: var(--mint);
  color: #fff;
  box-shadow: 0 6px 14px rgba(46, 196, 182, 0.35);
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.hero {
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(255, 197, 49, 0.28), transparent),
    radial-gradient(600px 300px at 85% 80%, rgba(252, 158, 48, 0.18), transparent),
    linear-gradient(180deg, #ffffff, #fff6ea);
  border-bottom: 1px solid var(--hairline);
  padding: 72px 0 84px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero__badge {
  display: inline-block;
  background: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 14px;
  color: var(--coral-dark);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero__lead {
  font-size: 19px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
}

.hero__facts li {
  display: flex;
  flex-direction: column;
}

.hero__facts b {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--purple);
}

.hero__facts span {
  font-size: 14px;
  color: var(--ink-soft);
}

.hero__art {
  position: relative;
  height: 460px;
}

@media (min-width: 961px) {
  .hero__art {
    margin: 115px 0;
    transform: translateX(30px) scale(1.5);
    transform-origin: left center;
  }

  .hero {
    overflow-x: clip;
  }
}

.hero__blob {
  position: absolute;
  inset: 6% 8%;
  background: linear-gradient(140deg, var(--sun), var(--coral));
  border-radius: 44% 56% 55% 45% / 50% 44% 56% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 130px;
  box-shadow: var(--shadow-hover);
  animation: blob 8s ease-in-out infinite;
}

@keyframes blob {
  0%, 100% { border-radius: 44% 56% 55% 45% / 50% 44% 56% 50%; }
  50% { border-radius: 56% 44% 45% 55% / 44% 56% 44% 56%; }
}

.hero__bubble {
  position: absolute;
  width: 116px;
  height: 116px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}

.hero__bubble--1 { top: 0; left: 4%; }
.hero__bubble--2 { bottom: 6%; left: 0; animation-delay: 1.2s; }
.hero__bubble--3 { top: 18%; right: 0; animation-delay: 2.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
}

.feature-card__emoji {
  font-size: 40px;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 15px;
  color: var(--ink-soft);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(57, 47, 90, 0.18);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip:hover {
  border-color: var(--coral);
}

.chip--active {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.catalog-search {
  max-width: 640px;
  margin: 0 auto 18px;
}

.catalog-search__input {
  width: 100%;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 2px solid rgba(45, 27, 78, 0.15);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.15s ease;
}

.catalog-search__input:focus {
  border-color: var(--coral);
}

.catalog-empty {
  text-align: center;
  color: var(--ink-soft);
  font-size: 17px;
  padding: 44px 20px;
  background: #fff;
  border: 2px dashed rgba(45, 27, 78, 0.2);
  border-radius: var(--radius);
}

.catalog-empty p {
  margin: 6px 0;
}

.catalog-more {
  text-align: center;
  margin-top: 24px;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-card__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  height: 150px;
  background: linear-gradient(135deg, #ffe8f0, #fff3d6);
  overflow: hidden;
}

.product-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__art .badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
}

.product-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 6px;
}

.product-card__sku {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.product-card__desc {
  font-size: 14px;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 14px;
}

.product-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--purple);
  white-space: nowrap;
}

.product-card__price--soft {
  white-space: normal;
  font-size: 15px;
  line-height: 1.25;
  color: var(--ink-soft);
}

.product-card__row .btn,
.new-card__row .btn {
  flex-shrink: 0;
}

.how {
  background: #f7f7f9;
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.how__step {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}

.how__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.how__step h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 6px;
}

.how__step p {
  font-size: 14px;
  color: var(--ink-soft);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  font-size: 15px;
}

.review-card__stars {
  color: var(--sun);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-card footer {
  margin-top: 14px;
  font-weight: 800;
  color: var(--purple);
}

.faq__item {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px 22px;
  margin-bottom: 12px;
}

.faq__item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}

.faq__item p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
}

input,
select,
textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 2px solid rgba(45, 27, 78, 0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--mint);
}

textarea {
  resize: vertical;
}

.phone-field {
  display: flex;
}

.phone-field__code {
  display: flex;
  align-items: center;
  padding: 0 4px 0 14px;
  border: 2px solid rgba(45, 27, 78, 0.12);
  border-right: none;
  border-radius: 14px 0 0 14px;
  background: #fff6df;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  transition: border-color 0.15s ease;
}

.phone-field input {
  flex: 1;
  min-width: 0;
  border-left: none;
  border-radius: 0 14px 14px 0;
}

.phone-field:focus-within .phone-field__code,
.phone-field input:focus {
  border-color: var(--mint);
}

.phone-field input.input--invalid {
  border-color: var(--coral) !important;
}

.form-hint {
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

.footer {
  background: #f7f7f9;
  border-top: 1px solid var(--hairline);
  color: var(--ink);
  padding: 36px 0 22px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 26px;
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  display: block;
  margin-bottom: 8px;
}

.footer__col b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.footer__col p {
  font-size: 14px;
  color: var(--ink-soft);
}

.footer__grid > .footer__col:first-child p {
  max-width: 320px;
}

.footer__bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
  font-size: 13px;
  color: var(--ink-soft);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 15px;
}

.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(45, 27, 78, 0.5);
  z-index: 90;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 100%);
  background: var(--bg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.25s ease;
  box-shadow: -10px 0 40px rgba(45, 27, 78, 0.25);
}

.drawer--open {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(45, 27, 78, 0.1);
}

.drawer__head h2 {
  font-family: var(--font-display);
  font-size: 24px;
}

.icon-btn {
  border: none;
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 17px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-empty {
  text-align: center;
  color: var(--ink-soft);
  margin-top: 40px;
}

.cart-item {
  background: var(--card);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  gap: 12px;
  box-shadow: var(--shadow);
}

.cart-item__art {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffe8f0, #fff3d6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
}

.cart-item__info {
  flex: 1;
}

.cart-item__name {
  font-weight: 800;
  font-size: 15px;
}

.cart-item__price {
  font-size: 13px;
  color: var(--ink-soft);
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-weight: 800;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: none;
  background: var(--sun);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.qty-input {
  width: 48px;
  height: 28px;
  padding: 0;
  border: 2px solid rgba(45, 27, 78, 0.15);
  border-radius: 9px;
  background: var(--card);
  text-align: center;
  font: inherit;
  font-weight: 800;
  color: var(--ink);
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.cart-item__remove {
  margin-left: auto;
  border: none;
  background: none;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.cart-item__remove:hover {
  opacity: 1;
}

.cart-item__sum {
  font-weight: 800;
  white-space: nowrap;
}

.drawer__foot {
  padding: 20px 22px;
  border-top: 1px solid rgba(45, 27, 78, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer__total {
  font-size: 18px;
  text-align: right;
}

.drawer__total b {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--purple);
}

.drawer__hint {
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

.modal-backdrop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 110;
}

.modal {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 30px 28px;
  width: min(480px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-hover);
}

.modal h2 {
  font-family: var(--font-display);
  margin-bottom: 18px;
}

.modal form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal__steps {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.modal__step {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  border: 2px solid rgba(45, 27, 78, 0.1);
}

.modal__step--active {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

.form-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-step__hint {
  font-size: 14px;
  color: var(--ink-soft);
  background: #fff6df;
  border-radius: 14px;
  padding: 12px 14px;
}

.input--invalid {
  border-color: var(--coral) !important;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  z-index: 120;
  opacity: 0;
  transition: all 0.25s ease;
}

.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__art {
    height: 360px;
    max-width: 480px;
    margin: 0 auto;
  }

  .features__grid,
  .how__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(45, 27, 78, 0.1);
    display: none;
  }

  .nav--open {
    display: flex;
  }

  .burger {
    display: block;
  }

  .section {
    padding: 52px 0;
  }

  .features__grid,
  .how__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero__art {
    height: 300px;
  }

  .hero__blob {
    font-size: 110px;
  }

  .hero__bubble {
    width: 92px;
    height: 92px;
    font-size: 46px;
  }
}

.admin-body {
  background: #f6f2fb;
}

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-login__card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 36px 32px;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-login__card h1 {
  font-family: var(--font-display);
  font-size: 26px;
}

.admin-login__hint {
  color: var(--ink-soft);
  font-size: 14px;
}

.admin-error {
  color: var(--coral-dark);
  font-weight: 700;
  font-size: 14px;
}

.admin-back {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}

.admin-back:hover {
  color: var(--purple);
}

.admin-header {
  background: var(--card);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 40;
}

.admin-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.admin-logo {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--purple);
  white-space: nowrap;
}

.admin-tabs {
  display: flex;
  gap: 8px;
}

.admin-tab {
  border: 2px solid transparent;
  background: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink-soft);
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.admin-tab:hover {
  color: var(--purple);
}

.admin-tab--active {
  background: var(--purple);
  color: #fff;
}

.admin-header__actions {
  display: flex;
  gap: 8px;
}

.admin-main {
  padding: 28px 20px 60px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.admin-toolbar__group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-hint {
  color: var(--ink-soft);
  font-size: 14px;
}

.admin-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.admin-chips .chip {
  font-size: 14px;
  padding: 7px 16px;
}

.import-preview {
  max-height: 320px;
  overflow: auto;
  border: 1px solid rgba(45, 27, 78, 0.12);
  border-radius: 12px;
  margin-bottom: 14px;
}

.modal-backdrop--wide .modal {
  width: 100%;
  height: calc(100vh - 40px);
  max-height: none;
  display: flex;
  flex-direction: column;
}

.modal-backdrop--wide .modal form {
  flex: 1;
  min-height: 0;
}

.modal-backdrop--wide .form-step {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.modal-backdrop--wide .import-preview {
  flex: 1;
  min-height: 120px;
  max-height: none;
  margin-bottom: 0;
}

.import-preview th,
.import-preview td {
  font-size: 13px;
}

tr.import-row--error td {
  color: #c0392b;
}

.admin-sub {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 400;
}

.admin-product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--cream, #fff4e3);
  flex-shrink: 0;
}

.admin-thumb--emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.admin-table-wrap {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th {
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  padding: 14px 16px;
  border-bottom: 2px solid rgba(45, 27, 78, 0.08);
}

.admin-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(45, 27, 78, 0.06);
  font-size: 15px;
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.btn--in {
  background: var(--mint);
  color: #fff;
  box-shadow: none;
}

.btn--out {
  background: var(--coral);
  color: #fff;
  box-shadow: none;
}

.btn--ghosty {
  background: #efe9f8;
  color: var(--purple);
  box-shadow: none;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.badge--ok {
  background: #dcf7f3;
  color: #157a6e;
}

.badge--warn {
  background: #fff1cf;
  color: #9a6b00;
}

.badge--gray {
  background: #eee9f5;
  color: var(--ink-soft);
}

.admin-table td.pos {
  color: #157a6e;
  font-weight: 800;
}

.admin-table td.neg {
  color: var(--coral-dark);
  font-weight: 800;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
}

.order-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.order-card__date {
  color: var(--ink-soft);
  font-size: 13px;
  margin-left: auto;
}

.order-card__info {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.order-card__items {
  font-size: 14px;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: 14px;
  margin-bottom: 12px;
}

.order-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-check {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.admin-check input {
  width: 18px;
  height: 18px;
}

.inv-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.inv-bar input {
  flex: 1;
  min-width: 150px;
}

.inv-table-wrap {
  max-height: 50vh;
  overflow-y: auto;
  border: 1px solid rgba(45, 27, 78, 0.12);
  border-radius: 12px;
}

.admin-table td.inv-diff {
  text-align: center;
  white-space: nowrap;
}

.inv-table-wrap th:nth-child(2),
.inv-table-wrap th:nth-child(4) {
  width: 70px;
}

.inv-table-wrap th:nth-child(3) {
  width: 110px;
}

body.role-staff #addProductBtn,
body.role-staff #importBtn,
body.role-staff #inventoryBtn,
body.role-staff #printCennikiBtn,
body.role-staff #printEtiketkiBtn,
body.role-staff [data-status],
body.role-staff [data-discount],
body.role-staff [data-edit],
body.role-staff [data-in],
body.role-staff [data-toggle],
body.role-staff .sel-product,
body.role-staff [data-scan-in],
body.role-staff [data-scan-cart],
body.role-staff #scanBrakBtn,
body.role-staff #scanVozvratBtn,
body.role-staff [data-scan-out],
body.role-staff [data-scan-edit],
body.role-staff .admin-tabs,
body.role-staff .admin-toolbar {
  display: none !important;
}

body:not(.role-staff) [data-scan-photo] {
  display: none !important;
}

body.role-staff .photo-thumb__btn {
  display: none !important;
}

@media (max-width: 760px) {
  .admin-header__inner {
    height: auto;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .admin-tabs {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
  }

  .admin-tab {
    padding: 8px 14px;
    font-size: 14px;
  }

  .admin-header__actions .btn--small {
    padding: 8px 12px;
  }

  .admin-main {
    padding: 16px 12px 40px;
  }

  .admin-toolbar .admin-hint {
    display: none;
  }

  .admin-table {
    min-width: 0;
  }

  .admin-table th,
  .admin-table td {
    padding: 9px 8px;
    font-size: 13px;
  }

  #tab-products .admin-table th:nth-child(3),
  #tab-products .admin-table td:nth-child(3),
  #tab-products .admin-table th:nth-child(4),
  #tab-products .admin-table td:nth-child(4),
  #tab-products .admin-table th:nth-child(7),
  #tab-products .admin-table td:nth-child(7) {
    display: none;
  }

  #tab-moves .admin-table th:nth-child(1),
  #tab-moves .admin-table td:nth-child(1),
  #tab-moves .admin-table th:nth-child(5),
  #tab-moves .admin-table td:nth-child(5) {
    display: none;
  }

  .admin-chips .chip {
    padding: 6px 12px;
    font-size: 13px;
  }

  .modal {
    padding: 20px 16px;
  }

  .modal input,
  .modal select,
  .modal textarea,
  .admin-login__card input {
    font-size: 16px;
  }
}

.admin-photocount {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(132, 94, 194, 0.14);
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

.photo-editor {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px dashed rgba(132, 94, 194, 0.45);
  border-radius: 14px;
}

.photo-editor__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.photo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.photo-list:empty::after {
  content: "Пока нет фото — загрузите файл или добавьте ссылку";
  font-size: 13px;
  color: var(--ink-soft);
}

.photo-thumb {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  flex: 0 0 auto;
}

.photo-thumb--main {
  border-color: var(--coral);
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-thumb__btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(45, 27, 78, 0.65);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.photo-thumb__btn--del {
  top: auto;
  bottom: 4px;
  background: rgba(232, 74, 96, 0.9);
}

.photo-thumb__tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2px 4px;
  background: rgba(255, 93, 115, 0.92);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.photo-link-row {
  display: flex;
  gap: 8px;
}

.photo-link-row input {
  flex: 1;
}

.photo-cam-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.photo-cam__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 6px;
}

.pc-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  padding: 0;
}

.pc-nav--prev {
  left: 8px;
}

.pc-nav--next {
  right: 8px;
}

.pc-dots {
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.pc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.pc-dot--active {
  background: var(--coral);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 27, 78, 0.92);
  padding: 20px;
}

.lightbox__img {
  max-width: min(92vw, 900px);
  max-height: 84vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--next {
  right: 16px;
}

.lightbox__counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 700;
}

.product-card {
  cursor: pointer;
}

.pmodal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 27, 78, 0.5);
  padding: 20px;
}

.pmodal {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.pmodal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(45, 27, 78, 0.12);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.pmodal__gallery {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffe8f0, #fff3d6);
  min-height: 320px;
  overflow: hidden;
}

.pmodal__gallery--zoom .pmodal__img {
  cursor: zoom-in;
}

.pmodal__img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: contain;
}

.pmodal__emoji {
  font-size: 110px;
}

.pmodal__info {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pmodal__name {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
  padding-right: 40px;
}

.pmodal__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.pmodal__desc {
  font-size: 15px;
  white-space: pre-line;
}

.pmodal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pmodal__row {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.pmodal__price {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--coral-dark);
}

.pmodal__hint {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 700;
}

@media (max-width: 760px) {
  .lightbox {
    padding: 10px;
  }

  .lightbox__img {
    max-width: 94vw;
    max-height: 78vh;
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .pc-nav {
    width: 26px;
    height: 26px;
    font-size: 15px;
  }

  .pmodal-backdrop {
    padding: 10px;
  }

  .pmodal {
    grid-template-columns: 1fr;
    max-height: 94vh;
  }

  .pmodal__gallery {
    min-height: 230px;
  }

  .pmodal__img {
    max-height: 300px;
  }

  .pmodal__info {
    padding: 18px;
  }

  .pmodal__name {
    font-size: 21px;
  }
}

.scan-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.scan-panel__row {
  display: flex;
  gap: 10px;
}

.scan-panel__row .scan-input {
  flex: 1;
  min-width: 0;
}

.scan-cam-btn {
  flex: 0 0 auto;
  font-size: 18px;
  padding: 8px 14px;
}

.scan-modes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.scan-mode--on {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

.scan-mode--rashod {
  background: #dcf7f3;
  color: #157a6e;
}

.scan-mode--brak {
  background: #fde2e4;
  color: #c1121f;
}

.scan-mode--vozvrat {
  background: #fff3cd;
  color: #8a6200;
}

.scan-mode--on.scan-mode--rashod {
  background: var(--mint);
  color: #fff;
}

.scan-mode--on.scan-mode--brak {
  background: var(--berry);
  color: #fff;
}

.scan-mode--on.scan-mode--vozvrat {
  background: var(--sun);
  color: var(--purple);
}

.product-search {
  margin-bottom: 10px;
}

.scan-cam__wrap {
  background: #000;
  border-radius: 14px;
  overflow: hidden;
}

.scan-cam__wrap video {
  display: block;
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
}

.barcode-row {
  display: flex;
  gap: 8px;
}

.barcode-row input {
  flex: 1;
  min-width: 0;
}

.scan-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px dashed rgba(132, 94, 194, 0.5);
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  background: var(--card);
}

.scan-input:focus {
  outline: none;
  border-color: var(--purple);
  border-style: solid;
}

.scan-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid rgba(132, 94, 194, 0.35);
  border-radius: 14px;
}

.rashod-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid rgba(232, 74, 96, 0.45);
  border-radius: 14px;
}

.rashod-bar--brak {
  border-color: rgba(132, 94, 194, 0.45);
}

.rashod-bar--brak .rashod-bar__buyer {
  display: none;
}

.rashod-bar__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.rashod-bar__buyer {
  flex: 1 1 180px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(45, 27, 78, 0.25);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
}

.rashod-bar__items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 180px;
  overflow: auto;
}

.rashod-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.rashod-row__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rashod-row__qty,
.rashod-row__sum {
  font-weight: 700;
  white-space: nowrap;
}

.scan-result__thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
}

.scan-result__thumb--emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: linear-gradient(135deg, #ffe8f0, #fff3d6);
}

.scan-result__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 220px;
  min-width: 180px;
}

.scan-result__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.scan-qty {
  width: 84px;
  padding: 8px 10px;
  border: 1px solid rgba(45, 27, 78, 0.25);
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
}

.discount-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.discount-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}

.discount-row__name {
  flex: 1 1 200px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discount-row__field input {
  width: 84px;
  padding: 8px 10px;
  border: 1px solid rgba(45, 27, 78, 0.25);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
}

.discount-row__field select,
.order-disc-row select {
  padding: 8px 10px;
  border: 1px solid rgba(45, 27, 78, 0.25);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  background: #fff;
}

.order-disc-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.order-disc-row input {
  width: auto;
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(45, 27, 78, 0.25);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
}

.discount-row__sum {
  font-weight: 700;
  white-space: nowrap;
}

tr.row-flash > td {
  animation: row-flash 1.6s ease;
}

@keyframes row-flash {
  0% {
    background: rgba(255, 197, 49, 0.55);
  }
  100% {
    background: transparent;
  }
}

@media (max-width: 760px) {
  .scan-input {
    padding: 10px 12px;
  }

  .scan-cam-btn {
    padding: 10px 14px;
  }

  .scan-result__actions {
    width: 100%;
  }

  .scan-qty {
    flex: 1 1 84px;
  }
}

.hero__blob {
  overflow: hidden;
  transition: opacity 0.32s ease;
}

.hero__blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__emoji {
  line-height: 1;
}

.hero__tag {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow);
  text-align: left;
  pointer-events: none;
}

.hero__tag span {
  font-weight: 800;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__tag b {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--coral-dark);
}

.hero--swap {
  opacity: 0;
}

.hero__bubble {
  transition: opacity 0.32s ease;
}

.hero__bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.section__title::after {
  content: "";
  display: block;
  width: 140px;
  height: 12px;
  margin: 4px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 12'%3E%3Cpath d='M3 8 Q 13 2 24 8 T 45 8 T 66 8 T 87 8 T 108 8 T 129 8 T 137 8' fill='none' stroke='%23ff5d73' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.section__title--left::after {
  margin-left: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal--visible {
  opacity: 1;
  transform: none;
}

.badge--pulse {
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 93, 115, 0); }
  50% { box-shadow: 0 0 0 6px rgba(255, 93, 115, 0.3); }
}

.new__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.new__head .section__title {
  text-align: left;
  margin-bottom: 4px;
}

.new__head .section__subtitle {
  text-align: left;
  margin-bottom: 0;
}

.new__nav {
  display: flex;
  gap: 8px;
  padding-bottom: 6px;
}

.new__arrow {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--purple);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: color 0.15s ease, transform 0.15s ease;
}

.new__arrow:hover {
  color: var(--coral);
  transform: scale(1.08);
}

.new-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 14px;
  scrollbar-width: thin;
}

.new-card {
  position: relative;
  flex: 0 0 210px;
  scroll-snap-align: start;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.new-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.new-card__art {
  position: relative;
  height: 150px;
  background: linear-gradient(135deg, #ffe8f0, #fff3d6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  overflow: hidden;
}

.new-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.new-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
}

.new-card__body {
  padding: 12px 14px 14px;
}

.new-card__name {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.25;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.new-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.new-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--purple);
  white-space: nowrap;
}

.new-card__price--soft {
  white-space: normal;
  font-size: 13px;
  line-height: 1.25;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .badge--pulse {
    animation: none;
  }

  .hero__blob,
  .hero__bubble {
    transition: none;
  }
}

@media (max-width: 640px) {
  .new__head {
    align-items: center;
  }

  .new-card {
    flex: 0 0 164px;
  }

  .new-card__art {
    height: 120px;
    font-size: 52px;
  }
}

/* ===== Витрина v2 (редизайн 21.11.2026) — применяется только к body.v2 ===== */
body.v2{
      --bg: #fff8f0;
      --bg-soft: #fffdf8;
      --ink: #392f5a;
      --ink-soft: #6f6391;
      --coral: #ff5d73;
      --coral-dark: #e84a60;
      --sun: #ffc531;
      --mint: #2ec4b6;
      --sky: #4d96ff;
      --purple: #845ec2;
      --card: #ffffff;
      --line: #efe7f5;
      --radius: 22px;
      --shadow: 0 10px 26px rgba(57, 47, 90, .10);
      --shadow-hover: 0 20px 44px rgba(57, 47, 90, .18);
      --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
      --font-body: "Nunito", system-ui, sans-serif;
    }body.v2 *{ box-sizing: border-box; margin: 0; padding: 0; }body.v2 [hidden]{ display: none !important; }body.v2 html{ scroll-behavior: smooth; }body{
      font-family: var(--font-body);
      background: var(--bg);
      color: var(--ink);
      line-height: 1.55;
      overflow-x: hidden;
    }body.no-scroll{ overflow: hidden; }body.v2 .container{ max-width: 1180px; margin: 0 auto; padding: 0 20px; }body.v2 h1, body.v2 h2, body.v2 h3{ font-family: var(--font-display); line-height: 1.15; }body.v2 .section{ padding: 54px 0; }body.v2 .section__title{ font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 8px; }body.v2 .section__subtitle{ color: var(--ink-soft); margin-bottom: 26px; max-width: 640px; }body.v2 .header{
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 248, 240, .92);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--line);
    }body.v2 .header__inner{
      display: flex;
      align-items: center;
      gap: 18px;
      padding: 14px 20px;
      max-width: 1180px;
      margin: 0 auto;
    }body.v2 .logo{
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 21px;
      color: var(--ink);
      text-decoration: none;
      line-height: 1.05;
      white-space: nowrap;
    }body.v2 .logo small{ display: block; font-size: 12px; font-weight: 700; color: var(--coral); letter-spacing: .4px; }body.v2 .search{
      flex: 1;
      position: relative;
      max-width: 560px;
    }body.v2 .search input{
      width: 100%;
      border: 2px solid var(--line);
      background: #fff;
      border-radius: 999px;
      padding: 12px 18px 12px 46px;
      font: inherit;
      font-weight: 600;
      color: var(--ink);
      outline: none;
      transition: border-color .2s, box-shadow .2s;
    }body.v2 .search input:focus{ border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255, 93, 115, .14); }body.v2 .search::before{
      content: "🔎";
      position: absolute;
      left: 16px; top: 50%;
      transform: translateY(-50%);
      font-size: 17px;
    }body.v2 .cart-btn{
      position: relative;
      border: none;
      cursor: pointer;
      background: var(--coral);
      color: #fff;
      font: inherit;
      font-weight: 800;
      border-radius: 999px;
      padding: 11px 20px;
      display: flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 6px 16px rgba(255, 93, 115, .35);
      transition: transform .15s, box-shadow .15s;
      white-space: nowrap;
    }body.v2 .cart-btn:hover{ transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 93, 115, .45); }body.v2 .cart-btn__count{
      background: #fff;
      color: var(--coral-dark);
      border-radius: 999px;
      min-width: 22px;
      height: 22px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      padding: 0 6px;
    }body.v2 .cart-btn.bump{ animation: bump .35s; }@keyframes bump{40%{ transform: scale(1.12); } }body.v2 /* ===== Hero ===== */
    .hero{
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at 12% 18%, rgba(255, 197, 49, .30), transparent 34%),
        radial-gradient(circle at 88% 8%, rgba(46, 196, 182, .22), transparent 30%),
        radial-gradient(circle at 80% 88%, rgba(255, 93, 115, .16), transparent 34%),
        var(--bg);
    }body.v2 .hero__inner{
      display: grid;
      grid-template-columns: 1.15fr .85fr;
      gap: 40px;
      align-items: center;
      padding: 56px 20px 64px;
      max-width: 1180px;
      margin: 0 auto;
    }body.v2 .hero__badge{
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #fff;
      border: 2px solid var(--sun);
      color: var(--ink);
      font-weight: 800;
      font-size: 14px;
      border-radius: 999px;
      padding: 7px 16px;
      margin-bottom: 18px;
      transform: rotate(-1.5deg);
      box-shadow: var(--shadow);
    }body.v2 .hero h1{ font-size: clamp(32px, 5vw, 54px); font-weight: 800; margin-bottom: 16px; }body.v2 .hero h1 .hl{ color: var(--coral); position: relative; white-space: nowrap; }body.v2 .hero h1 .hl::after{
      content: "";
      position: absolute;
      left: 0; right: 0; bottom: 4px;
      height: 10px;
      background: var(--sun);
      z-index: -1;
      border-radius: 6px;
      transform: rotate(-1deg);
    }body.v2 .hero__lead{ font-size: 17px; color: var(--ink-soft); max-width: 520px; margin-bottom: 26px; }body.v2 .hero__cta{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }body.v2 .btn{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border: none;
      cursor: pointer;
      font: inherit;
      font-weight: 800;
      text-decoration: none;
      border-radius: 999px;
      padding: 14px 28px;
      transition: transform .15s, box-shadow .15s;
    }body.v2 .btn--primary{ background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(255, 93, 115, .38); }body.v2 .btn--primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 28px rgba(255, 93, 115, .48); }body.v2 .btn--ghost{ background: #fff; color: var(--ink); border: 2px solid var(--line); }body.v2 .btn--ghost:hover{ border-color: var(--ink); transform: translateY(-2px); }body.v2 .btn--small{ padding: 8px 16px; font-size: 14px; }body.v2 .hero__stats{ display: flex; gap: 26px; flex-wrap: wrap; }body.v2 .hero__stat b{ display: block; font-family: var(--font-display); font-size: 26px; color: var(--ink); }body.v2 .hero__stat span{ font-size: 14px; color: var(--ink-soft); font-weight: 700; }body.v2 .hero__art{ position: relative; height: 540px; }body.v2 .hero-card{
      position: absolute;
      background: #fff;
      border-radius: var(--radius);
      box-shadow: var(--shadow-hover);
      padding: 16px;
      width: 375px;
      transition: opacity .4s, transform .4s;
    }body.v2 .hero-card.swap{ opacity: 0; transform: translateY(12px) rotate(2deg); }body.v2 .hero-card--main{
      top: 24px; left: 50%;
      transform: translateX(-50%) rotate(-2deg);
      z-index: 2;
    }body.v2 .hero-card--main.swap{ transform: translateX(-50%) translateY(12px) rotate(2deg); }body.v2 .hero-card img{ width: 100%; height: 255px; object-fit: contain; border-radius: 14px; background: var(--bg-soft); }body.v2 .hero-card__name{ font-weight: 800; font-size: 16px; margin-top: 10px; line-height: 1.3; min-height: 42px; }body.v2 .hero-card__row{ display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }body.v2 .hero-card__price{ font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--coral-dark); }body.v2 .hero-card__price small{ font-size: 14px; color: var(--ink-soft); font-family: var(--font-body); font-weight: 700; }body.v2 .hero-card--b1{ bottom: 10px; left: -10px; width: 225px; transform: rotate(5deg); }body.v2 .hero-card--b2{ bottom: 44px; right: -6px; width: 225px; transform: rotate(-6deg); }body.v2 .hero-card--b1 img, body.v2 .hero-card--b2 img{ height: 144px; }body.v2 .hero-card--b1 .hero-card__name, body.v2 .hero-card--b2 .hero-card__name{ display: none; }body.v2 /* ===== Полоса условий ===== */
    .perks{
      background: #fff;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }body.v2 .perks__row{
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
      padding: 22px 20px;
      max-width: 1180px;
      margin: 0 auto;
    }body.v2 .perk{ display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 15px; }body.v2 .perk__ico{
      flex: 0 0 44px;
      height: 44px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 21px;
    }body.v2 .perk__ico--coral{ background: rgba(255, 93, 115, .14); }body.v2 .perk__ico--sun{ background: rgba(255, 197, 49, .22); }body.v2 .perk__ico--mint{ background: rgba(46, 196, 182, .16); }body.v2 .perk__ico--sky{ background: rgba(77, 150, 255, .14); }body.v2 .perk span{ display: block; font-weight: 600; font-size: 13px; color: var(--ink-soft); }body.v2 /* ===== Категории-плитки ===== */
    .cats__grid{
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 16px;
    }body.v2 .cat-tile{
      border: none;
      cursor: pointer;
      text-align: left;
      background: #fff;
      border-radius: var(--radius);
      padding: 16px;
      box-shadow: var(--shadow);
      transition: transform .18s, box-shadow .18s;
      font: inherit;
      color: var(--ink);
      position: relative;
      overflow: hidden;
    }body.v2 .cat-tile:hover{ transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow-hover); }body.v2 .cat-tile img{ width: 100%; height: 110px; object-fit: contain; margin-bottom: 10px; }body.v2 .cat-tile b{ display: block; font-size: 15px; font-weight: 800; line-height: 1.25; }body.v2 .cat-tile span{ font-size: 13px; color: var(--ink-soft); font-weight: 700; }body.v2 .cat-tile::after{
      content: "→";
      position: absolute;
      right: 14px; bottom: 12px;
      color: var(--coral);
      font-weight: 900;
      font-size: 17px;
      opacity: 0;
      transform: translateX(-6px);
      transition: opacity .18s, transform .18s;
    }body.v2 .cat-tile:hover::after{ opacity: 1; transform: none; }body.v2 /* ===== Лента новинок ===== */
    .rail-wrap{ position: relative; }body.v2 .rail{
      display: flex;
      gap: 16px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding: 6px 2px 18px;
      scrollbar-width: none;
    }body.v2 .rail::-webkit-scrollbar{ display: none; }body.v2 .rail-card{
      flex: 0 0 210px;
      scroll-snap-align: start;
      background: #fff;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
      cursor: pointer;
      transition: transform .18s, box-shadow .18s;
    }body.v2 .rail-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-hover); }body.v2 .rail-card__art{ position: relative; height: 150px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }body.v2 .rail-card__art img{ max-width: 88%; max-height: 88%; object-fit: contain; }body.v2 .rail-card__art .emoji{ font-size: 56px; }body.v2 .rail-card__badge{
      position: absolute;
      top: 10px; left: 10px;
      background: var(--sun);
      color: var(--ink);
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .4px;
      padding: 4px 10px;
      border-radius: 999px;
      transform: rotate(-3deg);
    }body.v2 .rail-card__body{ padding: 12px 14px 14px; }body.v2 .rail-card__name{ font-size: 13.5px; font-weight: 800; line-height: 1.3; height: 35px; overflow: hidden; margin-bottom: 8px; }body.v2 .rail-card__row{ display: flex; align-items: center; justify-content: space-between; }body.v2 .rail-card__price{ font-family: var(--font-display); font-weight: 800; font-size: 17px; }body.v2 .rail-nav{
      position: absolute;
      top: -64px; right: 0;
      display: flex; gap: 8px;
    }body.v2 .rail-nav button{
      width: 42px; height: 42px;
      border-radius: 50%;
      border: 2px solid var(--line);
      background: #fff;
      cursor: pointer;
      font-size: 20px;
      font-weight: 900;
      color: var(--ink);
      transition: border-color .15s, transform .15s;
    }body.v2 .rail-nav button:hover{ border-color: var(--coral); color: var(--coral); transform: scale(1.06); }body.v2 /* ===== Каталог ===== */
    .chips{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }body.v2 .chip{
      border: 2px solid var(--line);
      background: #fff;
      cursor: pointer;
      font: inherit;
      font-weight: 800;
      font-size: 14px;
      color: var(--ink-soft);
      border-radius: 999px;
      padding: 9px 18px;
      transition: all .15s;
    }body.v2 .chip:hover{ border-color: var(--ink); color: var(--ink); }body.v2 .chip--active{ background: var(--ink); border-color: var(--ink); color: #fff; }body.v2 .grid{
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }body.v2 .p-card{
      background: #fff;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      transition: transform .18s, box-shadow .18s;
    }body.v2 .p-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-hover); }body.v2 .p-card__art{
      position: relative;
      height: 170px;
      background: var(--bg-soft);
      display: flex;
      align-items: center;
      justify-content: center;
    }body.v2 .p-card__art img{ max-width: 86%; max-height: 86%; object-fit: contain; transition: transform .25s; }body.v2 .p-card:hover .p-card__art img{ transform: scale(1.06); }body.v2 .p-card__art .emoji{ font-size: 64px; }body.v2 .badge{
      position: absolute;
      top: 10px; left: 10px;
      font-size: 11px;
      font-weight: 900;
      padding: 4px 10px;
      border-radius: 999px;
    }body.v2 .badge--new{ background: var(--sun); color: var(--ink); transform: rotate(-3deg); }body.v2 .badge--ok{ background: rgba(46, 196, 182, .16); color: #0d8a7e; }body.v2 .badge--warn{ background: rgba(255, 93, 115, .14); color: var(--coral-dark); }body.v2 .badge--gray{ background: var(--line); color: var(--ink-soft); }body.v2 .p-card__body{ padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }body.v2 .p-card__name{ font-size: 14.5px; font-weight: 800; line-height: 1.3; margin-bottom: 4px; }body.v2 .p-card__sku{ font-size: 12px; color: var(--ink-soft); font-weight: 700; }body.v2 .p-card__desc{
      font-size: 12.5px;
      color: var(--ink-soft);
      margin: 8px 0;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }body.v2 .p-card__foot{ margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }body.v2 .p-card__price{ font-family: var(--font-display); font-weight: 800; font-size: 19px; }body.v2 .p-card__price small{ display: block; font-family: var(--font-body); font-size: 11px; color: var(--ink-soft); font-weight: 700; }body.v2 .p-card__price--soft{ color: var(--ink-soft); font-size: 14px; font-family: var(--font-body); font-weight: 800; }body.v2 .add-btn{
      border: none;
      cursor: pointer;
      background: var(--coral);
      color: #fff;
      font: inherit;
      font-size: 13px;
      font-weight: 900;
      border-radius: 999px;
      padding: 9px 16px;
      transition: background .15s, transform .15s;
      white-space: nowrap;
    }body.v2 .add-btn:hover{ background: var(--coral-dark); transform: scale(1.05); }body.v2 .add-btn:disabled{ background: var(--line); color: var(--ink-soft); cursor: default; transform: none; }body.v2 .catalog-more{ text-align: center; margin-top: 28px; }body.v2 .catalog-empty{
      text-align: center;
      padding: 44px 20px;
      background: #fff;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      font-weight: 700;
      color: var(--ink-soft);
    }body.v2 .catalog-empty b{ color: var(--ink); font-size: 18px; display: block; margin-bottom: 6px; }body.v2 /* ===== Как заказать ===== */
    .how__grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }body.v2 .how__step{
      background: #fff;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 22px 20px;
      position: relative;
    }body.v2 .how__num{
      width: 44px; height: 44px;
      border-radius: 14px;
      background: var(--sun);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 21px;
      margin-bottom: 14px;
      transform: rotate(-4deg);
    }body.v2 .how__step:nth-child(2) .how__num{ background: rgba(255, 93, 115, .18); }body.v2 .how__step:nth-child(3) .how__num{ background: rgba(46, 196, 182, .2); }body.v2 .how__step:nth-child(4) .how__num{ background: rgba(77, 150, 255, .16); }body.v2 .how__step h3{ font-size: 17px; margin-bottom: 6px; }body.v2 .how__step p{ font-size: 14px; color: var(--ink-soft); }body.v2 /* ===== Футер ===== */
    .footer{ background: var(--ink); color: #cfc6e6; padding: 44px 0 26px; margin-top: 40px; }body.v2 .footer__grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }body.v2 .footer b{ color: #fff; display: block; margin-bottom: 10px; font-family: var(--font-display); font-size: 17px; }body.v2 .footer p, body.v2 .footer a{ font-size: 14px; color: #cfc6e6; text-decoration: none; }body.v2 .footer__logo{ font-family: var(--font-display); font-weight: 800; font-size: 20px; color: #fff; display: block; margin-bottom: 8px; }body.v2 .footer__bottom{ border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; font-size: 13px; }body.v2 /* ===== Корзина-drawer ===== */
    .backdrop{
      position: fixed;
      inset: 0;
      background: rgba(57, 47, 90, .45);
      z-index: 90;
      opacity: 0;
      transition: opacity .25s;
    }body.v2 .backdrop.show{ opacity: 1; }body.v2 .drawer{
      position: fixed;
      top: 0; right: 0; bottom: 0;
      width: min(430px, 100vw);
      background: var(--bg);
      z-index: 100;
      transform: translateX(105%);
      transition: transform .3s cubic-bezier(.2, .9, .3, 1.1);
      display: flex;
      flex-direction: column;
      box-shadow: -20px 0 50px rgba(57, 47, 90, .25);
    }body.v2 .drawer.show{ transform: none; }body.v2 .drawer__head{
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 22px;
      border-bottom: 1px solid var(--line);
      background: #fff;
    }body.v2 .drawer__head h2{ font-size: 22px; }body.v2 .drawer__body{ flex: 1; overflow-y: auto; padding: 16px 22px; }body.v2 .drawer__foot{ padding: 18px 22px 22px; border-top: 1px solid var(--line); background: #fff; }body.v2 .drawer__total{ display: flex; justify-content: space-between; font-size: 17px; font-weight: 800; margin-bottom: 12px; }body.v2 .drawer__total b{ font-family: var(--font-display); font-size: 23px; color: var(--coral-dark); }body.v2 .drawer__hint{ font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; text-align: center; }body.v2 .icon-btn{
      border: none;
      background: var(--line);
      width: 38px; height: 38px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 17px;
      color: var(--ink);
      transition: background .15s;
    }body.v2 .icon-btn:hover{ background: #e2d8ef; }body.v2 .c-item{
      display: flex;
      gap: 12px;
      background: #fff;
      border-radius: 16px;
      box-shadow: var(--shadow);
      padding: 12px;
      margin-bottom: 12px;
      align-items: center;
    }body.v2 .c-item img, body.v2 .c-item .emoji{ width: 62px; height: 62px; object-fit: contain; border-radius: 12px; background: var(--bg-soft); }body.v2 .c-item .emoji{ display: flex; align-items: center; justify-content: center; font-size: 30px; }body.v2 .c-item__info{ flex: 1; min-width: 0; }body.v2 .c-item__name{ font-size: 13.5px; font-weight: 800; line-height: 1.25; margin-bottom: 2px; }body.v2 .c-item__price{ font-size: 12.5px; color: var(--ink-soft); font-weight: 700; }body.v2 .qty{ display: flex; align-items: center; gap: 6px; }body.v2 .qty button{
      border: none;
      background: var(--line);
      width: 28px; height: 28px;
      border-radius: 50%;
      cursor: pointer;
      font-weight: 900;
      font-size: 15px;
      color: var(--ink);
    }body.v2 .qty b{ min-width: 26px; text-align: center; font-size: 14px; }body.v2 .c-item__del{ border: none; background: none; cursor: pointer; font-size: 15px; opacity: .55; }body.v2 .c-item__del:hover{ opacity: 1; }body.v2 .cart-empty{ text-align: center; color: var(--ink-soft); font-weight: 700; padding: 40px 10px; }body.v2 /* ===== Модалки ===== */
    .modal-bg{
      position: fixed;
      inset: 0;
      background: rgba(57, 47, 90, .5);
      z-index: 110;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 18px;
    }body.v2 .modal{
      background: var(--bg);
      border-radius: 26px;
      max-width: 780px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      position: relative;
      animation: pop .25s cubic-bezier(.2, .9, .3, 1.2);
    }@keyframes pop{from{ transform: scale(.92); opacity: 0; } }body.v2 .modal__close{ position: absolute; top: 14px; right: 14px; z-index: 2; }body.v2 .pm{ display: grid; grid-template-columns: 1fr 1fr; }body.v2 .pm__art{
      background: #fff;
      border-radius: 26px 0 0 26px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 26px;
      min-height: 320px;
    }body.v2 .pm__art img{ max-width: 100%; max-height: 300px; object-fit: contain; }body.v2 .pm__art .emoji{ font-size: 90px; }body.v2 .pm__info{ padding: 30px 28px; }body.v2 .pm__name{ font-size: 22px; margin-bottom: 10px; }body.v2 .pm__meta{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }body.v2 .pm__meta span{ background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 800; color: var(--ink-soft); box-shadow: var(--shadow); }body.v2 .pm__desc{ color: var(--ink-soft); font-size: 14.5px; margin-bottom: 20px; }body.v2 .pm__price{ font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--coral-dark); margin-bottom: 16px; }body.v2 .pm__price small{ font-size: 13px; color: var(--ink-soft); font-family: var(--font-body); }body.v2 .om{ padding: 34px 30px; }body.v2 .om h2{ font-size: 24px; margin-bottom: 8px; }body.v2 .om p{ color: var(--ink-soft); margin-bottom: 16px; }body.v2 .om label{ display: block; font-weight: 800; font-size: 14px; margin-bottom: 14px; }body.v2 .om input, body.v2 .om textarea{
      display: block;
      width: 100%;
      margin-top: 6px;
      border: 2px solid var(--line);
      border-radius: 14px;
      padding: 12px 14px;
      font: inherit;
      outline: none;
      background: #fff;
    }body.v2 .om input:focus, body.v2 .om textarea:focus{ border-color: var(--coral); }body.v2 /* ===== Тост ===== */
    .toast{
      position: fixed;
      left: 50%;
      bottom: 26px;
      transform: translateX(-50%) translateY(20px);
      background: var(--ink);
      color: #fff;
      font-weight: 800;
      font-size: 14.5px;
      padding: 13px 24px;
      border-radius: 999px;
      box-shadow: var(--shadow-hover);
      z-index: 200;
      opacity: 0;
      transition: opacity .25s, transform .25s;
      pointer-events: none;
      max-width: 90vw;
      text-align: center;
    }body.v2 .toast.show{ opacity: 1; transform: translateX(-50%); }body.v2 .reveal{ opacity: 0; transform: translateY(22px); transition: opacity .5s, transform .5s; }body.v2 .reveal--visible{ opacity: 1; transform: none; }@media (prefers-reduced-motion: reduce){body.v2 .reveal{ opacity: 1; transform: none; transition: none; }body.v2 html{ scroll-behavior: auto; }
    }
/* ===== Адаптив ===== */
    @media (max-width: 1020px){body.v2 .cats__grid{ grid-template-columns: repeat(3, 1fr); }body.v2 .grid{ grid-template-columns: repeat(3, 1fr); }body.v2 .how__grid{ grid-template-columns: repeat(2, 1fr); }body.v2 .hero__inner{ grid-template-columns: 1fr; gap: 20px; }body.v2 .hero__art{ height: 460px; max-width: 460px; margin: 0 auto; width: 100%; }
    }@media (max-width: 720px){body.v2 .header__inner{ flex-wrap: wrap; }body.v2 .search{ order: 3; flex-basis: 100%; max-width: none; }body.v2 .cats__grid{ grid-template-columns: repeat(2, 1fr); }body.v2 .grid{ grid-template-columns: repeat(2, 1fr); gap: 12px; }body.v2 .perks__row{ grid-template-columns: repeat(2, 1fr); }body.v2 .rail-card{ flex-basis: 170px; }body.v2 .pm{ grid-template-columns: 1fr; }body.v2 .pm__art{ border-radius: 26px 26px 0 0; min-height: 220px; }body.v2 .footer__grid{ grid-template-columns: 1fr; }body.v2 .section{ padding: 38px 0; }
    }@media (max-width: 460px){body.v2 .grid{ grid-template-columns: 1fr 1fr; }body.v2 .p-card__name{ font-size: 13px; }body.v2 .how__grid{ grid-template-columns: 1fr; }body.v2 .hero__stats{ gap: 16px; }
    }
body.v2 .pm__actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
body.v2 .cart-btn{width:auto;height:auto;}
body.v2 .cart-btn__count{position:static;}
body.v2 .header__inner{height:auto;justify-content:flex-start;}
@media (max-width: 720px){
body.v2 .hero-card{width:290px;padding:12px;}
body.v2 .hero-card img{height:190px;}
body.v2 .hero-card__price{font-size:20px;}
body.v2 .hero-card--b1{width:170px;left:0;}
body.v2 .hero-card--b2{width:170px;right:0;}
body.v2 .hero-card--b1 img,body.v2 .hero-card--b2 img{height:105px;}
body.v2 .hero__art{height:430px;}
}

body.v2 .hero__art{height:380px;}
body.v2 .hero-card{width:250px;padding:12px;}
body.v2 .hero-card img{height:170px;}
body.v2 .hero-card__name{font-size:14px;min-height:36px;margin-top:8px;}
body.v2 .hero-card__price{font-size:18px;}
body.v2 .hero-card__price small{font-size:12px;}
body.v2 .hero-card--b1{width:150px;bottom:6px;left:-6px;}
body.v2 .hero-card--b2{width:150px;bottom:30px;right:-4px;}
body.v2 .hero-card--b1 img,body.v2 .hero-card--b2 img{height:96px;}
@media (max-width:1020px){body.v2 .hero__art{height:340px;}}
