/* Мир Тюльпанов — тёплая витрина без сборки */
:root {
  --cream: #faf8eb;
  --cream-2: #f4f0dd;
  --paper: #fffdf6;
  --peony: #fad2e1;
  --peony-soft: #fde8ef;
  --burgundy: #770523;
  --burgundy-2: #9a1234;
  --pistachio: #d0d996;
  --pistachio-soft: #eef2d5;
  --fuchsia: #d81a67;
  --orange: #dd4e28;
  --apple-green: #7fb069;
  --apple-green-soft: #e9f4e4;
  --red-yellow: #e8933c;
  --red-yellow-deep: #c96a1e;
  --red-yellow-soft: #fce8d6;
  --rose-white: #fbe4ea;
  --rose-white-deep: #f7d2de;
  --ink: #2b1a1f;
  --muted: #806a70;
  --line: rgba(119, 5, 35, 0.13);
  --line-strong: rgba(119, 5, 35, 0.24);
  --shadow: 0 18px 50px rgba(119, 5, 35, 0.10);
  --shadow-sm: 0 8px 24px rgba(119, 5, 35, 0.09);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-display: "Unbounded", "Trebuchet MS", sans-serif;
  --font-body: "Golos Text", "Segoe UI", sans-serif;
  --header-h: 72px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(250, 210, 225, 0.65), transparent 65%),
    radial-gradient(900px 600px at -10% 30%, rgba(208, 217, 150, 0.30), transparent 60%),
    var(--cream);
  line-height: 1.5;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--fuchsia);
  color: #fff;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 3px solid rgba(216, 26, 103, 0.55);
  outline-offset: 3px;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.view {
  flex: 1;
  min-height: 55vh;
}

.section {
  padding: 58px 0;
}

.section--tight {
  padding: 36px 0;
}

.section--flush {
  padding-top: 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 40px);
}

.section-head p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 15px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--burgundy);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--line-strong);
  transition: gap .25s var(--ease), border-color .2s;
}

.section-link:hover {
  gap: 12px;
  border-color: var(--fuchsia);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fuchsia);
  box-shadow: 0 0 0 4px rgba(216, 26, 103, 0.12);
}

.muted {
  color: var(--muted);
}

.accent {
  color: var(--fuchsia);
}

.small {
  font-size: 13px;
}

.tiny {
  font-size: 11px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(250, 248, 235, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}

.header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(119, 5, 35, 0.05);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--burgundy);
  color: var(--cream);
  box-shadow: 0 6px 16px rgba(119, 5, 35, .22);
  transform: rotate(-3deg);
  transition: transform .3s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(4deg) scale(1.04);
}

.brand__mark svg {
  width: 25px;
  height: 25px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.02;
}

.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 14px;
}

.main-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s, background .2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--burgundy);
  background: rgba(250, 210, 225, .55);
}

.header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 246, .72);
  display: grid;
  place-items: center;
  color: var(--burgundy);
  transition: transform .2s var(--ease), background .2s, border-color .2s;
}

.icon-btn:hover {
  transform: translateY(-2px);
  background: var(--paper);
  border-color: var(--line-strong);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -3px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--fuchsia);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--cream);
}

.avatar-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--burgundy);
  background: var(--peony);
  color: var(--burgundy);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  transition: transform .2s var(--ease);
}

.avatar-btn:hover {
  transform: translateY(-2px) rotate(-3deg);
}

.header__cart-text {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: var(--burgundy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s var(--ease), background .2s;
}

.header__cart-text:hover {
  transform: translateY(-2px);
  background: var(--burgundy-2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  transition: transform .18s var(--ease), box-shadow .2s, background .2s, color .2s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(.985);
}

.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--primary {
  background: var(--fuchsia);
  color: #fff;
  box-shadow: 0 10px 26px rgba(216, 26, 103, .26);
}

.btn--primary:hover {
  background: #c5145c;
}

.btn--burgundy {
  background: var(--burgundy);
  color: #fff;
  box-shadow: 0 10px 26px rgba(119, 5, 35, .20);
}

.btn--light {
  background: var(--paper);
  color: var(--burgundy);
  border: 1px solid var(--line);
}

.btn--ghost {
  background: transparent;
  color: var(--burgundy);
  border: 1.5px solid var(--line-strong);
}

.btn--soft {
  background: var(--peony);
  color: var(--burgundy);
}

.btn--pistachio {
  background: var(--pistachio);
  color: var(--burgundy);
}

.btn--danger {
  background: #fbe9e5;
  color: #a42a12;
}

.btn--sm {
  min-height: 38px;
  padding: 8px 15px;
  font-size: 12.5px;
}

.btn--xs {
  min-height: 32px;
  padding: 6px 12px;
  font-size: 11.5px;
}

.btn--block {
  width: 100%;
}

.btn--wide {
  min-width: 180px;
}

.btn--icon-only {
  width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
}

.link-btn {
  border: 0;
  background: none;
  color: var(--burgundy);
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
}

/* ---------- Pills / chips ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--peony-soft);
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.pill--pistachio {
  background: var(--pistachio-soft);
}

.pill--outline {
  background: transparent;
  border: 1px solid var(--line);
}

.pill--orange {
  background: #fde5dc;
  color: #9b2f12;
}

.pill--dark {
  background: var(--burgundy);
  color: var(--cream);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 246, .7);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  transition: all .2s;
}

.chip:hover {
  border-color: var(--line-strong);
  color: var(--burgundy);
}

.chip.active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}

.chip__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c, var(--fuchsia));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

/* ---------- Badges / status ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}

.badge--peony { background: var(--peony); color: var(--burgundy); }
.badge--pistachio { background: var(--pistachio); color: #3d4819; }
.badge--cream { background: #f6efd9; color: #6d5c33; }
.badge--dark { background: var(--burgundy); color: #fff; }
.badge--glass {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(8px);
  color: var(--burgundy);
  box-shadow: 0 3px 12px rgba(119, 5, 35, .08);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  background: var(--cream-2);
  color: var(--muted);
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.status--awaiting_payment { background: #fff2d6; color: #8a5a00; }
.status--payment_claimed { background: #ffe7c7; color: #945000; }
.status--paid { background: var(--pistachio-soft); color: #4b5a1e; }
.status--preparing { background: #fde4e9; color: var(--fuchsia); }
.status--ready { background: #dff2d6; color: #2e641f; }
.status--issued { background: var(--burgundy); color: #fff; }
.status--cancelled,
.status--expired { background: #f1e8e5; color: #855449; }
.status--pending { background: #f4eee8; color: #7c655c; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 34px 0 46px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 48px;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 24px 0;
}

.hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(44px, 6.3vw, 86px);
  line-height: .98;
  letter-spacing: -.045em;
  color: var(--burgundy);
}

.hero h1 em {
  position: relative;
  display: inline-block;
  color: var(--fuchsia);
  font-style: normal;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: -4px;
  bottom: 2px;
  height: 12px;
  background: var(--pistachio);
  border-radius: 10px;
  z-index: -1;
  transform: rotate(-1.5deg);
}

.hero__lead {
  max-width: 500px;
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--burgundy);
  line-height: 1;
}

.hero__stat span {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .03em;
}

.hero__visual {
  position: relative;
  min-height: 540px;
}

.hero__blob {
  position: absolute;
  inset: 2% 0 2% 6%;
  border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%;
  background:
    radial-gradient(circle at 34% 26%, rgba(216, 26, 103, .30), transparent 48%),
    linear-gradient(145deg, var(--peony), #f6b8cb 55%, #e9a3ba);
  filter: saturate(1.05);
  animation: blob 14s ease-in-out infinite alternate;
}

.hero__photo {
  position: absolute;
  inset: 7% 7% 5% 12%;
  border-radius: 48% 52% 46% 54% / 50% 46% 54% 50%;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(119, 5, 35, .20);
  transform: rotate(1.5deg);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.03);
  transition: transform 6s var(--ease);
}

.hero:hover .hero__photo img {
  transform: scale(1.09);
}

.hero__tag {
  position: absolute;
  z-index: 3;
  background: rgba(255, 253, 246, .95);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 12px 15px;
  backdrop-filter: blur(10px);
}

.hero__tag--price {
  top: 8%;
  left: -4%;
  transform: rotate(-5deg);
  animation: float 5s ease-in-out infinite;
}

.hero__tag--price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 25px;
  color: var(--fuchsia);
  line-height: 1;
}

.hero__tag--price span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}

.hero__tag--pack {
  right: 0;
  bottom: 17%;
  transform: rotate(4deg);
  animation: float 6s ease-in-out infinite reverse;
}

.hero__tag--pack strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--burgundy);
}

.hero__tag--pack span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}

.hero__mascot {
  position: absolute;
  z-index: 4;
  width: 142px;
  left: 2%;
  bottom: -4%;
  filter: drop-shadow(0 16px 20px rgba(119, 5, 35, .18));
  animation: bob 4.5s ease-in-out infinite;
}

.hero__spark {
  position: absolute;
  color: var(--fuchsia);
  font-size: 22px;
  animation: twinkle 3s ease-in-out infinite;
}

.hero__spark--1 { top: 1%; right: 18%; }
.hero__spark--2 { top: 44%; right: -1%; animation-delay: 1s; }
.hero__spark--3 { bottom: 9%; left: 4%; animation-delay: 2s; }

.hero__announcement {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 253, 246, .72);
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}

.hero__announcement b {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--burgundy);
  color: #fff;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding: 15px 0;
  background: var(--burgundy);
  color: var(--cream);
  transform: rotate(-.6deg) scale(1.02);
  margin: 12px 0 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 0 18px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__item::after {
  content: "✿";
  color: var(--pistachio);
  font-size: 17px;
  letter-spacing: 0;
}

@media (max-width: 640px) {
  .marquee {
    transform: none;
    padding: 10px 0;
    margin: 8px 0 0;
  }
  .marquee__item {
    font-size: 11px;
    gap: 10px;
    padding: 0 14px;
  }
  .marquee__item::after {
    font-size: 14px;
  }
}

/* ---------- Color mood cards ---------- */
.mood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 10px;
}

.mood-card {
  position: relative;
  padding: 18px 10px 15px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s, border-color .2s;
  overflow: hidden;
}

.mood-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--c);
}

.mood-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}

.mood-card__dot {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff8, transparent 45%), var(--c);
  box-shadow: inset 0 0 0 1px rgba(43, 26, 31, .06), 0 8px 18px -8px var(--c);
}

.mood-card__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--burgundy);
}

.mood-card__count {
  margin-top: 2px;
  font-size: 10px;
  color: var(--muted);
}

/* ---------- Product cards ---------- */
.rail-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(224px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.rail-scroll::-webkit-scrollbar {
  display: none;
}

.rail-scroll > * {
  scroll-snap-align: start;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 18px;
}

.catalog-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 4.6;
  background:
    radial-gradient(circle at 50% 42%, #fff 0%, var(--peony-soft) 52%, #f7e3e8 100%);
  overflow: hidden;
  display: block;
}

.product-card__media::after {
  content: "";
  position: absolute;
  inset: auto 12% 7% 12%;
  height: 14px;
  border-radius: 50%;
  background: rgba(119, 5, 35, .12);
  filter: blur(9px);
}

.product-card__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12% 13% 8%;
  transition: transform .4s var(--ease);
}

.product-card:hover .product-card__img {
  transform: scale(1.055) rotate(-1deg);
}

.product-card__badges {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 11px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.product-card__fav {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  color: var(--burgundy);
  transition: transform .2s, background .2s;
}

.product-card__fav:hover {
  transform: scale(1.1);
  background: #fff;
}

.product-card__fav svg {
  width: 16px;
  height: 16px;
}

.product-card__body {
  padding: 14px 15px 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__top {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: -.02em;
}

.product-card__ru {
  font-size: 11px;
  color: var(--muted);
}

.product-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  font-size: 10.5px;
  color: var(--muted);
}

.product-card__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
}

.product-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.product-card__price {
  font-size: 11px;
  color: var(--muted);
}

.product-card__price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--burgundy);
  line-height: 1.15;
}

.product-card__price span {
  display: block;
  margin-top: 1px;
}

.quick-add {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--burgundy);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .2s var(--ease), background .2s;
}

.quick-add:hover {
  transform: scale(1.08) rotate(5deg);
  background: var(--fuchsia);
}

.quick-add:disabled {
  background: #d8cfcd;
  cursor: not-allowed;
  transform: none;
}

.quick-add--added {
  background: var(--apple-green);
}

.quick-add svg {
  width: 20px;
  height: 20px;
}

.product-card--compact .quick-add svg {
  width: 16px;
  height: 16px;
}

.product-card.is-unavailable .product-card__img {
  filter: grayscale(.55) opacity(.72);
}

.product-card__soldout {
  position: absolute;
  z-index: 2;
  inset: auto 0 12px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.product-card--compact .product-card__body {
  padding: 10px 11px 12px;
}

.product-card--compact .product-card__name {
  font-size: 13px;
}

.product-card--compact .product-card__price strong {
  font-size: 15px;
}

.product-card--compact .quick-add {
  width: 32px;
  height: 32px;
}

.product-card--compact .product-card__media {
  aspect-ratio: 1 / 1.05;
}

/* ---------- Promo split ---------- */
.promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--burgundy);
  color: var(--cream);
  min-height: 390px;
  box-shadow: var(--shadow);
}

.promo__media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.promo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.promo:hover .promo__media img {
  transform: scale(1.04);
}

.promo__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(119, 5, 35, .40));
}

.promo__body {
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.promo__body::after {
  content: "✿";
  position: absolute;
  right: 24px;
  bottom: 14px;
  font-size: 120px;
  color: rgba(250, 210, 225, .10);
  line-height: 1;
  transform: rotate(12deg);
}

.promo__body .eyebrow {
  color: var(--pistachio);
}

.promo__body .eyebrow::before {
  background: var(--pistachio);
}

.promo h2 {
  font-size: clamp(27px, 3.4vw, 46px);
  margin: 14px 0 14px;
  line-height: 1.04;
}

.promo p {
  color: rgba(250, 248, 235, .74);
  max-width: 420px;
  font-size: 14.5px;
}

.promo__prices {
  display: flex;
  gap: 25px;
  margin: 24px 0;
}

.promo__price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 27px;
  color: var(--peony);
  line-height: 1;
}

.promo__price span {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: .04em;
  color: rgba(250, 248, 235, .6);
}

.promo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.promo .btn--light {
  background: var(--cream);
  border-color: transparent;
}

.promo__tag {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: step;
}

.step {
  position: relative;
  background: rgba(255, 253, 246, .68);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px 22px;
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 13px;
  right: 17px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--peony);
  opacity: .8;
}

.step__icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--peony-soft);
  color: var(--burgundy);
  display: grid;
  place-items: center;
  margin-bottom: 17px;
}

.step:nth-child(2n) .step__icon { background: var(--pistachio-soft); }
.step:nth-child(3n) .step__icon { background: #fde5dc; }

.step__icon svg {
  width: 23px;
  height: 23px;
}

.step h3 {
  font-size: 15px;
  margin-bottom: 7px;
}

.step p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.news-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--peony-soft);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.news-card:hover .news-card__media img {
  transform: scale(1.05);
}

.news-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__date {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.news-card h3 {
  font-size: 17px;
  margin: 8px 0 7px;
  line-height: 1.2;
}

.news-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.news-card__more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--fuchsia);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 2px;
  border: 0;
  background: none;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  color: var(--burgundy);
}

.faq-item__q span {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .25s, background .2s;
}

.faq-item__q[aria-expanded="true"] span {
  transform: rotate(45deg);
  background: var(--peony);
  border-color: transparent;
}

.faq-item__a {
  display: none;
  padding: 0 52px 22px 2px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.faq-item.open .faq-item__a {
  display: block;
  animation: fadeUp .3s var(--ease);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 40px;
  padding: 54px 0 34px;
  background: var(--burgundy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "✿";
  position: absolute;
  right: -30px;
  top: -50px;
  font-size: 260px;
  color: rgba(250, 210, 225, .06);
  line-height: 1;
  transform: rotate(14deg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.footer .brand__mark {
  background: var(--cream);
  color: var(--burgundy);
}

.footer .brand__name {
  color: var(--cream);
}

.footer .brand__name small {
  color: rgba(250, 248, 235, .55);
}

.footer__about {
  margin-top: 20px;
  max-width: 360px;
  color: rgba(250, 248, 235, .64);
  font-size: 12.5px;
  line-height: 1.6;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(250, 248, 235, .5);
  margin-bottom: 14px;
  font-weight: 600;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
}

.footer__links a {
  color: rgba(250, 248, 235, .8);
  transition: color .2s;
}

.footer__links a:hover {
  color: var(--pistachio);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 248, 235, .12);
  font-size: 10.5px;
  color: rgba(250, 248, 235, .45);
  position: relative;
  z-index: 1;
}

/* ---------- Bottom nav ---------- */
.bottom-nav {
  display: none;
  position: fixed;
  z-index: 45;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 246, .94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
}

.bottom-nav__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  max-width: 560px;
  margin: 0 auto;
}

.bottom-nav__item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 2px;
  border-radius: 14px;
  font-size: 9.5px;
  color: var(--muted);
  transition: color .2s, background .2s;
}

.bottom-nav__item svg {
  width: 21px;
  height: 21px;
}

.bottom-nav__item.active {
  color: var(--burgundy);
  background: var(--peony-soft);
}

.bottom-nav__item.active::before {
  content: "";
  position: absolute;
  top: 1px;
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: var(--fuchsia);
}

.bottom-nav__badge {
  position: absolute;
  top: 1px;
  left: calc(50% + 4px);
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--fuchsia);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--paper);
}

.legal-doc {
  max-width: 820px;
}
.legal-doc h2 {
  font-size: 15px;
  color: var(--burgundy);
  margin: 18px 0 8px;
}
.legal-doc h2:first-child {
  margin-top: 0;
}
.legal-doc p {
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0 0 10px;
}
.legal-doc ul {
  padding-left: 20px;
  margin: 0 0 10px;
}
.legal-doc li {
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 4px;
}
.legal-doc__note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.consent-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
}
.consent-check input {
  margin-top: 3px;
  accent-color: var(--fuchsia);
}
.consent-check .small {
  line-height: 1.55;
}

/* ---------- Catalog ---------- */
.page-head {
  padding: 30px 0 24px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  font-size: 11px;
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--fuchsia);
}

.breadcrumbs span {
  opacity: .45;
}

.page-head h1 {
  font-size: clamp(31px, 4.4vw, 56px);
  color: var(--burgundy);
}

.page-head__sub {
  max-width: 620px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 253, 246, .74);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 22px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search-box svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--muted);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  height: 43px;
  padding: 0 15px 0 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.search-box input:focus {
  border-color: var(--fuchsia);
  box-shadow: 0 0 0 3px rgba(216, 26, 103, .10);
}

.select {
  height: 43px;
  padding: 0 36px 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23770523' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 15px center;
  font-size: 12.5px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.toggle input {
  appearance: none;
  -webkit-appearance: none;
  width: 36px;
  height: 21px;
  border-radius: 999px;
  background: #ddd4d0;
  position: relative;
  transition: background .2s;
  cursor: pointer;
}

.toggle input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .2s var(--ease);
}

.toggle input:checked {
  background: var(--fuchsia);
}

.toggle input:checked::after {
  transform: translateX(15px);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}

.filter-group__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 0 14px;
  font-size: 12px;
  color: var(--muted);
}

.empty {
  padding: 60px 24px;
  text-align: center;
  background: rgba(255, 253, 246, .6);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-xl);
}

.empty__mascot {
  width: 130px;
  margin: 0 auto 18px;
}

.empty h3 {
  font-size: 22px;
  color: var(--burgundy);
  margin-bottom: 8px;
}

.empty p {
  max-width: 380px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Product detail ---------- */
.pd {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 42px;
  align-items: start;
  padding: 10px 0 20px;
}

.pd__media {
  position: relative;
  background:
    radial-gradient(circle at 50% 38%, #fff 0%, var(--peony-soft) 52%, #f2d5dd 100%);
  border-radius: var(--radius-xl);
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  border: 1px solid var(--line);
}

.pd__media::after {
  content: "";
  position: absolute;
  inset: auto 17% 8% 17%;
  height: 22px;
  border-radius: 50%;
  background: rgba(119, 5, 35, .12);
  filter: blur(13px);
}

.pd__img {
  position: absolute;
  inset: 5% 8% 3%;
  z-index: 1;
  width: 84%;
  height: 92%;
  object-fit: contain;
}

.pd__badges {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pd__stamp {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(119, 5, 35, .18);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 8px;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--burgundy);
  background: rgba(250, 248, 235, .72);
  backdrop-filter: blur(5px);
  transform: rotate(-7deg);
}

.pd__stamp b {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -.02em;
}

.pd__body {
  padding-top: 10px;
}

.pd__title {
  font-size: clamp(34px, 4.4vw, 58px);
  color: var(--burgundy);
  line-height: 1;
}

.pd__ru {
  margin-top: 7px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .05em;
}

.pd__desc {
  margin: 20px 0;
  max-width: 520px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #5f4a50;
}

.pd__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.pd__price-row {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  margin-bottom: 4px;
}

.pd__price {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: -.04em;
  color: var(--burgundy);
  line-height: 1;
}

.pd__price small {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

.pd__price-note {
  font-size: 11.5px;
  color: var(--muted);
  padding-bottom: 5px;
}

.buy-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 246, .8);
  border: 1px solid var(--line);
}

.buy-box--disabled {
  background: #f6f0ee;
}

.buy-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.buy-box__head strong {
  font-size: 13px;
}

.buy-box__head span {
  font-size: 11px;
  color: var(--muted);
}

/* «Капсула»: кремовый минус, красный плюс, зелёная цифра */
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: #ebabbb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 5px 14px rgba(73, 38, 35, .10);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.stepper button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform .18s var(--ease), background .2s, box-shadow .2s;
}

.stepper button:first-child {
  background: #fef8f0;
  color: #492623;
}

.stepper button:last-child {
  background: #d86363;
  color: #fff;
  box-shadow: 0 2px 0 rgba(73, 38, 35, .14);
}

.stepper button:hover:not(:disabled) {
  transform: translateY(-1px) scale(1.05);
}

.stepper button:active:not(:disabled) {
  transform: scale(.94);
}

.stepper button:disabled {
  opacity: .38;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.stepper button svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
}

.stepper__value {
  min-width: 34px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #2c5a45;
}

.stepper__value::-webkit-outer-spin-button,
.stepper__value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper__value::-moz-appearance {
  appearance: textfield;
}

.stepper__value {
  border: 0;
  background: transparent;
  width: 40px;
}

.stepper--lg {
  padding: 5px;
}

.stepper--lg button {
  width: 40px;
  height: 40px;
}

.stepper--lg .stepper__value {
  min-width: 44px;
  font-size: 17px;
}

.buy-box__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.buy-box__row + .buy-box__row {
  margin-top: 12px;
}

.buy-box__total {
  font-size: 12px;
  color: var(--muted);
}

.buy-box__total strong {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--burgundy);
  letter-spacing: -.03em;
}

.buy-box .btn--primary {
  margin-top: 14px;
}

.pd__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.pd__notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: var(--pistachio-soft);
  font-size: 11.5px;
  color: #4f5d25;
  line-height: 1.5;
}

.pd__notice svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.pd__notice--warn {
  background: #fde9e2;
  color: #8a341c;
}

.pd__accordion {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.pd__acc-item {
  border-bottom: 1px solid var(--line);
}

.pd__acc-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 2px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--burgundy);
}

.pd__acc-item button svg {
  width: 14px;
  height: 14px;
  transition: transform .2s;
}

.pd__acc-item.open button svg {
  transform: rotate(180deg);
}

.pd__acc-body {
  display: none;
  padding: 0 2px 16px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.pd__acc-item.open .pd__acc-body {
  display: block;
}

/* ---------- Mini matrix ---------- */
.matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 11px;
}

.matrix th {
  padding: 8px 7px;
  text-align: right;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.matrix th:first-child,
.matrix td:first-child {
  text-align: left;
}

.matrix td {
  padding: 8px 7px;
  text-align: right;
  border-bottom: 1px solid rgba(119, 5, 35, .07);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.matrix tr.active td {
  background: var(--peony-soft);
  color: var(--burgundy);
  font-weight: 700;
}

.matrix tr.active td:first-child {
  border-radius: 9px 0 0 9px;
}

.matrix tr.active td:last-child {
  border-radius: 0 9px 9px 0;
}

.matrix-wrap {
  overflow-x: auto;
  border-radius: 12px;
}

/* ---------- Bouquets ---------- */
.bouquet-layout {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 26px;
  align-items: start;
}

.bouquet-builder {
  background: rgba(255, 253, 246, .7);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 22px;
}

.segmented {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--cream-2);
  gap: 3px;
}

.segmented button {
  border: 0;
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: background .2s, color .2s, box-shadow .2s;
}

.segmented button.active {
  background: var(--paper);
  color: var(--burgundy);
  box-shadow: 0 3px 10px rgba(119, 5, 35, .10);
}

.bouquet-modes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.bouquet-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 9px;
  max-height: 420px;
  overflow-y: auto;
  padding: 3px;
  scrollbar-width: thin;
  scrollbar-color: var(--peony) transparent;
}

.bouquet-pick {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 9px 7px 10px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  background: var(--paper);
  text-align: center;
  transition: border-color .2s, transform .2s, background .2s;
}

.bouquet-pick:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.bouquet-pick.active {
  border-color: var(--fuchsia);
  background: var(--peony-soft);
  box-shadow: 0 0 0 2px rgba(216, 26, 103, .08);
}

.bouquet-pick:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.bouquet-pick img {
  width: 62px;
  height: 74px;
  object-fit: contain;
}

.bouquet-pick strong {
  font-size: 10.5px;
  line-height: 1.15;
  color: var(--burgundy);
  font-weight: 600;
}

.bouquet-pick small {
  font-size: 8.5px;
  color: var(--muted);
}

.bouquet-pick__plus {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--burgundy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  line-height: 1;
}

.bouquet-pick__stems {
  position: absolute;
  top: 5px;
  right: 5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--fuchsia);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
}

.bouquet-pick__minus {
  position: absolute;
  right: 5px;
  bottom: 5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--apple-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.bouquet-summary {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  background: var(--burgundy);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.bouquet-summary::after {
  content: "🌷";
  position: absolute;
  right: -12px;
  bottom: -18px;
  font-size: 90px;
  opacity: .12;
  transform: rotate(-12deg);
}

.bouquet-summary h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.bouquet-summary__hint {
  font-size: 11.5px;
  color: rgba(250, 248, 235, .6);
  margin-bottom: 18px;
}

.bouquet-composition {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 18px;
}

.bouquet-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(250, 248, 235, .08);
}

.bouquet-line img {
  width: 30px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.bouquet-line__name {
  flex: 1;
  font-size: 11px;
  line-height: 1.2;
}

.bouquet-line__name small {
  display: block;
  font-size: 9px;
  color: rgba(250, 248, 235, .55);
  margin-top: 2px;
}

.bouquet-line__stems {
  font-size: 11px;
  font-weight: 700;
  color: var(--pistachio);
}

.bouquet-line__remove {
  border: 0;
  background: none;
  color: rgba(250, 248, 235, .5);
  padding: 2px;
  display: grid;
  place-items: center;
}

.bouquet-line__remove:hover {
  color: var(--peony);
}

.bouquet-line__remove svg {
  width: 13px;
  height: 13px;
}

.bouquet-summary__total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(250, 248, 235, .16);
  margin-bottom: 16px;
}

.bouquet-summary__total span {
  font-size: 10px;
  color: rgba(250, 248, 235, .55);
}

.bouquet-summary__total strong {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--peony);
}

.bouquet-summary__stems {
  font-size: 10px;
  color: rgba(250, 248, 235, .55);
  text-align: right;
  margin-top: 4px;
}

.bouquet-summary .btn--primary {
  background: var(--peony);
  color: var(--burgundy);
  box-shadow: none;
}

.bouquet-summary .btn--primary:hover {
  background: #f8c2d4;
}

.bouquet-summary__min {
  margin-top: 10px;
  font-size: 10px;
  color: var(--pistachio);
  text-align: center;
}

.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.preset {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 10.5px;
  color: var(--muted);
  transition: all .2s;
}

.preset:hover {
  border-color: var(--fuchsia);
  color: var(--fuchsia);
}

.bouquet-empty {
  padding: 28px 10px;
  text-align: center;
  color: rgba(250, 248, 235, .5);
  font-size: 11.5px;
}

/* ---------- Cart ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 26px;
  align-items: start;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-line {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px;
  transition: border-color .2s;
}

.cart-line:hover {
  border-color: var(--line-strong);
}

.cart-line__media {
  width: 82px;
  height: 96px;
  border-radius: 15px;
  background: radial-gradient(circle at 50% 40%, #fff, var(--peony-soft));
  flex-shrink: 0;
  overflow: hidden;
}

.cart-line__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.cart-line__body {
  flex: 1;
  min-width: 0;
}

.cart-line__top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cart-line__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--burgundy);
  line-height: 1.15;
}

.cart-line__name small {
  display: block;
  margin-top: 3px;
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}

.cart-line__remove {
  margin-left: auto;
  border: 0;
  background: none;
  color: var(--muted);
  padding: 4px;
  display: grid;
  place-items: center;
}

.cart-line__remove:hover {
  color: var(--fuchsia);
}

.cart-line__remove svg {
  width: 15px;
  height: 15px;
}

.cart-line__composition {
  margin-top: 6px;
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.45;
}

.cart-line__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
}

.cart-line__price {
  font-size: 12px;
  color: var(--muted);
}

.cart-line__price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--burgundy);
  letter-spacing: -.02em;
}

.cart-line__price small {
  font-size: 9.5px;
}

.cart-line--bouquet .cart-line__media {
  background: radial-gradient(circle at 50% 40%, #fff, var(--pistachio-soft));
}

.summary {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.summary h2 {
  font-size: 20px;
  color: var(--burgundy);
  margin-bottom: 16px;
}

.summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  font-size: 12px;
  color: var(--muted);
}

.summary__row strong {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.summary__row--total {
  margin-top: 8px;
  padding-top: 15px;
  border-top: 1px dashed var(--line-strong);
  color: var(--burgundy);
  font-size: 13px;
}

.summary__row--total strong {
  font-family: var(--font-display);
  font-size: 25px;
  color: var(--burgundy);
  letter-spacing: -.03em;
}

.summary__hint {
  margin-top: 13px;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--peony-soft);
  font-size: 10.5px;
  color: var(--burgundy);
  line-height: 1.45;
}

.summary__hint strong {
  font-weight: 700;
}

.prepay-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border-radius: 15px;
  background: var(--cream-2);
  margin: 4px 0 14px;
}

.prepay-option {
  border: 0;
  background: transparent;
  border-radius: 11px;
  padding: 10px 8px;
  text-align: left;
  transition: background .2s, box-shadow .2s;
}

.prepay-option strong {
  display: block;
  font-size: 11.5px;
  color: var(--burgundy);
}

.prepay-option span {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  color: var(--muted);
}

.prepay-option.active {
  background: var(--paper);
  box-shadow: 0 3px 10px rgba(119, 5, 35, .09);
}

.prepay-option.active strong {
  color: var(--fuchsia);
}

.tier-banner {
  margin: 14px 0;
  padding: 13px 14px;
  border-radius: 14px;
  background: var(--pistachio-soft);
  border: 1px solid rgba(120, 140, 50, .18);
  font-size: 10.5px;
  color: #4f5d25;
  line-height: 1.5;
}

.tier-banner strong {
  color: #3d4a18;
}

.tier-progress {
  height: 5px;
  border-radius: 3px;
  background: rgba(79, 93, 37, .15);
  margin-top: 8px;
  overflow: hidden;
}

.tier-progress span {
  display: block;
  height: 100%;
  background: #8a9b3f;
  border-radius: 3px;
  transition: width .4s var(--ease);
}

.matrix-details {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}

.matrix-details summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: var(--burgundy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.matrix-details summary::-webkit-details-marker {
  display: none;
}

.matrix-details summary::after {
  content: "+";
  font-size: 15px;
  font-weight: 400;
}

.matrix-details[open] summary::after {
  content: "−";
}

.matrix-details .matrix-wrap {
  margin-top: 10px;
}

.summary .btn--primary {
  margin-top: 16px;
}

.summary__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 9.5px;
  color: var(--muted);
}

.summary__secure svg {
  width: 12px;
  height: 12px;
}

.cart-edit-hint {
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

/* ---------- Checkout ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: start;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.form-card h2 {
  font-size: 19px;
  color: var(--burgundy);
  margin-bottom: 6px;
}

.form-card__hint {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: 13px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--fuchsia);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(216, 26, 103, .09);
}

.field__hint {
  font-size: 9.5px;
  color: var(--muted);
}

.form-section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.form-section__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 14px;
}

.form-section__title span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--peony);
  display: grid;
  place-items: center;
  font-size: 10px;
}

.pickup-note {
  display: flex;
  gap: 9px;
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: 12px;
  background: var(--pistachio-soft);
  font-size: 10.5px;
  color: #4f5d25;
  line-height: 1.5;
}

.pickup-note svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.checkout-order {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.checkout-order__line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: var(--muted);
}

.checkout-order__line img {
  width: 32px;
  height: 38px;
  object-fit: contain;
}

.checkout-order__line span {
  flex: 1;
}

.checkout-order__line strong {
  color: var(--ink);
}

.checkout-total {
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
}

.checkout-total__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
  padding: 3px 0;
}

.checkout-total__row strong {
  color: var(--ink);
}

.checkout-total__row--grand {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.checkout-total__row--grand strong {
  font-family: var(--font-display);
  font-size: 23px;
  color: var(--burgundy);
  letter-spacing: -.03em;
}

.checkout-summary__note {
  margin-top: 14px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Orders ---------- */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}

.order-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}

.order-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.order-card__id {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--burgundy);
  letter-spacing: -.02em;
}

.order-card__date {
  font-size: 10.5px;
  color: var(--muted);
}

.order-card__mid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0;
  font-size: 11px;
  color: var(--muted);
}

.order-card__mid span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.order-card__mid svg {
  width: 13px;
  height: 13px;
}

.order-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.order-card__foot strong {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--burgundy);
  letter-spacing: -.02em;
}

.order-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--fuchsia);
}

.order-card__bouquets {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}

.order-card__bouquets .dots {
  display: flex;
  gap: 3px;
}

.order-card__bouquets .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--peony);
}

.order-card__bouquets .dot.done {
  background: var(--fuchsia);
}

/* Order detail */
.order-hero {
  background: var(--burgundy);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: 26px;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.order-hero::after {
  content: "✿";
  position: absolute;
  right: 10px;
  top: -40px;
  font-size: 180px;
  color: rgba(250, 210, 225, .07);
  line-height: 1;
}

.order-hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.order-hero h1 {
  font-size: clamp(24px, 3.6vw, 38px);
  letter-spacing: -.03em;
}

.order-hero__date {
  margin-top: 6px;
  font-size: 11.5px;
  color: rgba(250, 248, 235, .58);
}

.order-hero__total {
  text-align: right;
}

.order-hero__total strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -.04em;
  color: var(--peony);
}

.order-hero__total span {
  display: block;
  font-size: 9.5px;
  color: rgba(250, 248, 235, .54);
  margin-top: 3px;
}

.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 26px;
  position: relative;
  z-index: 1;
}

.timeline__step {
  flex: 1;
  position: relative;
  text-align: center;
  font-size: 9px;
  color: rgba(250, 248, 235, .42);
  padding-top: 22px;
}

.timeline__step::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(250, 248, 235, .3);
  background: var(--burgundy);
  z-index: 2;
}

.timeline__step::after {
  content: "";
  position: absolute;
  top: 10px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: rgba(250, 248, 235, .14);
  z-index: 1;
}

.timeline__step:first-child::after {
  display: none;
}

.timeline__step.done {
  color: var(--peony);
}

.timeline__step.done::before {
  background: var(--peony);
  border-color: var(--peony);
}

.timeline__step.done::after {
  background: var(--peony);
}

.timeline__step.current {
  color: var(--pistachio);
  font-weight: 700;
}

.timeline__step.current::before {
  background: var(--pistachio);
  border-color: var(--pistachio);
  box-shadow: 0 0 0 4px rgba(208, 217, 150, .16);
}

.order-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 20px;
  align-items: start;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.panel + .panel {
  margin-top: 14px;
}

.panel h2 {
  font-size: 15px;
  color: var(--burgundy);
  margin-bottom: 14px;
}

.panel h3 {
  font-size: 12px;
  margin: 16px 0 9px;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(119, 5, 35, .07);
}

.order-item:last-child {
  border-bottom: 0;
}

.order-item__media {
  width: 52px;
  height: 62px;
  border-radius: 12px;
  background: var(--peony-soft);
  flex-shrink: 0;
}

.order-item__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.order-item__body {
  flex: 1;
  min-width: 0;
}

.order-item__body strong {
  display: block;
  font-size: 12px;
  color: var(--burgundy);
}

.order-item__body span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--muted);
}

.order-item__amount {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.bouquet-status-card {
  padding: 12px;
  border-radius: 14px;
  background: var(--cream);
  margin-bottom: 8px;
}

.bouquet-status-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bouquet-status-card__head strong {
  font-size: 11.5px;
  color: var(--burgundy);
}

.bouquet-status-card__items {
  margin-top: 5px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.payment-box {
  background: var(--peony-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
}

.payment-box__sum {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--burgundy);
  letter-spacing: -.04em;
}

.payment-box__label {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 4px;
}

.payment-box p {
  margin-top: 9px;
  font-size: 10.5px;
  color: #6d535a;
  line-height: 1.55;
}

.payment-box .btn {
  margin-top: 12px;
}

.order-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-meta__row {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 11px;
  line-height: 1.5;
}

.order-meta__row svg {
  width: 15px;
  height: 15px;
  color: var(--fuchsia);
  flex-shrink: 0;
  margin-top: 1px;
}

.order-meta__row span {
  color: var(--muted);
}

.order-meta__row strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-event {
  position: relative;
  padding: 0 0 15px 20px;
  border-left: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.45;
}

.timeline-event:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.timeline-event::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--peony);
}

.timeline-event strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 11px;
  margin-bottom: 2px;
}

/* ---------- Profile ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 20px;
  align-items: start;
}

.profile-card {
  background: var(--burgundy);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.profile-card::after {
  content: "✿";
  position: absolute;
  left: -20px;
  bottom: -45px;
  font-size: 150px;
  color: rgba(250, 210, 225, .07);
  line-height: 1;
}

.profile-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--peony);
  color: var(--burgundy);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 32px;
  border: 3px solid rgba(250, 248, 235, .18);
  position: relative;
  z-index: 1;
}

.profile-card h1 {
  font-size: 22px;
  position: relative;
  z-index: 1;
}

.profile-card__handle {
  font-size: 11px;
  color: rgba(250, 248, 235, .55);
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.profile-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(250, 210, 225, .14);
  color: var(--peony);
  font-size: 9.5px;
  position: relative;
  z-index: 1;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.profile-stat {
  padding: 11px;
  border-radius: 12px;
  background: rgba(250, 248, 235, .07);
}

.profile-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--peony);
}

.profile-stat span {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  color: rgba(250, 248, 235, .5);
}

.profile-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12.5px;
  transition: transform .2s, border-color .2s;
}

.profile-link:hover {
  transform: translateX(3px);
  border-color: var(--line-strong);
}

.profile-link__icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--peony-soft);
  color: var(--burgundy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.profile-link:nth-child(2n) .profile-link__icon { background: var(--pistachio-soft); }
.profile-link:nth-child(3n) .profile-link__icon { background: #fde5dc; }

.profile-link__icon svg {
  width: 18px;
  height: 18px;
}

.profile-link__body {
  flex: 1;
}

.profile-link__body strong {
  display: block;
  font-size: 12px;
  color: var(--burgundy);
}

.profile-link__body span {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  color: var(--muted);
}

.profile-link__arrow {
  color: var(--muted);
}

.profile-link__arrow svg {
  width: 15px;
  height: 15px;
}

.profile-info {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.profile-info h2 {
  font-size: 15px;
  margin-bottom: 14px;
}

.profile-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dev-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

/* ---------- News detail ---------- */
.article {
  max-width: 780px;
  margin: 0 auto;
}

.article__cover {
  aspect-ratio: 16 / 8.5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--peony-soft);
  margin-bottom: 26px;
}

.article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article h1 {
  font-size: clamp(30px, 4.5vw, 50px);
  color: var(--burgundy);
  margin-bottom: 12px;
}

.article__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 11px;
  color: var(--muted);
}

.article__body {
  font-size: 15px;
  line-height: 1.75;
  color: #5d474d;
}

.article__body p {
  margin-bottom: 16px;
}

.article__footer {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Assistant ---------- */
.assistant-fab {
  position: fixed;
  z-index: 46;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--peony);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(119, 5, 35, .30);
  transition: transform .25s var(--ease), box-shadow .2s;
}

.assistant-fab:hover {
  transform: translateY(-4px) rotate(-4deg);
  box-shadow: 0 16px 36px rgba(119, 5, 35, .36);
}

.assistant-fab svg {
  width: 34px;
  height: 34px;
}

.assistant-fab__dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--pistachio);
  border: 2px solid var(--burgundy);
}

.assistant-panel {
  position: fixed;
  z-index: 60;
  right: 22px;
  bottom: 94px;
  width: min(390px, calc(100vw - 32px));
  max-height: min(650px, calc(100vh - 140px));
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(43, 26, 31, .22);
  overflow: hidden;
  animation: popIn .28s var(--ease);
}

.assistant-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--burgundy);
  color: var(--cream);
}

.assistant-head__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--peony);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.assistant-head__avatar svg {
  width: 37px;
  height: 37px;
}

.assistant-head strong {
  display: block;
  font-size: 12px;
}

.assistant-head span {
  display: block;
  font-size: 9.5px;
  color: rgba(250, 248, 235, .58);
  margin-top: 1px;
}

.assistant-head__close {
  margin-left: auto;
  border: 0;
  background: rgba(250, 248, 235, .1);
  color: var(--cream);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.assistant-head__close svg {
  width: 14px;
  height: 14px;
}

.chat {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(250, 210, 225, .30), transparent 45%),
    var(--cream);
}

.chat__msg {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 11.5px;
  line-height: 1.5;
  animation: fadeUp .25s var(--ease);
}

.chat__msg--bot {
  align-self: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}

.chat__msg--user {
  align-self: flex-end;
  background: var(--burgundy);
  color: var(--cream);
  border-bottom-right-radius: 5px;
}

.chat__msg--typing {
  color: var(--muted);
  font-style: italic;
}

.chat-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}

.chat-product {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--cream);
  text-align: left;
}

.chat-product img {
  width: 28px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

.chat-product span {
  font-size: 9px;
  font-weight: 600;
  color: var(--burgundy);
  line-height: 1.15;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 10px 12px 0;
}

.chat-quick button {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 9.5px;
  color: var(--burgundy);
  transition: background .2s;
}

.chat-quick button:hover {
  background: var(--peony-soft);
}

.chat-form {
  display: flex;
  gap: 7px;
  padding: 10px 12px 12px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.chat-form input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 0 14px;
  font-size: 12px;
  outline: none;
}

.chat-form input:focus {
  border-color: var(--fuchsia);
}

.chat-form button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--fuchsia);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.chat-form button svg {
  width: 17px;
  height: 17px;
}

/* ---------- Toast / modal ---------- */
.toast-root {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  width: min(420px, calc(100vw - 32px));
}

.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--cream);
  font-size: 11.5px;
  box-shadow: 0 14px 34px rgba(43, 26, 31, .25);
  animation: toastIn .3s var(--ease);
}

.toast--error {
  background: #a42a12;
}

.toast svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.modal-backdrop {
  position: fixed;
  z-index: 70;
  inset: 0;
  background: rgba(43, 26, 31, .42);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fadeIn .2s;
}

.modal {
  width: min(440px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 30px 80px rgba(43, 26, 31, .28);
  animation: popIn .25s var(--ease);
}

.modal h3 {
  font-size: 20px;
  color: var(--burgundy);
  margin-bottom: 8px;
}

.modal p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.modal__actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

/* ---------- Utility ---------- */
.loading {
  min-height: 40vh;
  display: grid;
  place-items: center;
}

.spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--peony);
  border-top-color: var(--fuchsia);
  animation: spin .8s linear infinite;
}

.skeleton {
  background: linear-gradient(90deg, rgba(250, 210, 225, .25) 25%, rgba(250, 210, 225, .55) 50%, rgba(250, 210, 225, .25) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-md);
}

.noscript {
  padding: 40px;
  text-align: center;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.route-enter {
  animation: fadeUp .45s var(--ease);
}

/* keep footer from being covered by fixed nav */
@media (max-width: 860px) {
  .app-shell {
    padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
  }
  .toast-root {
    bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 14px);
  }
}

@media (max-width: 1020px) {
  .container {
    width: min(1200px, calc(100% - 36px));
  }
  .hero__inner {
    gap: 28px;
  }
  .hero__visual {
    min-height: 460px;
  }
  .mood-grid {
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .bouquet-layout,
  .cart-layout,
  .checkout-layout,
  .order-grid {
    grid-template-columns: 1.15fr .85fr;
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .container {
    width: calc(100% - 28px);
  }
  .main-nav,
  .header__cart-text {
    display: none;
  }
  .bottom-nav {
    display: block;
  }
  .assistant-fab {
    bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 14px);
    right: 14px;
    width: 54px;
    height: 54px;
  }
  .assistant-fab svg {
    width: 30px;
    height: 30px;
  }
  .assistant-panel {
    right: 10px;
    left: 10px;
    bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 74px);
    width: auto;
    max-height: calc(100vh - var(--nav-h) - 170px);
  }
  .hero {
    padding-top: 18px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero__content {
    padding: 10px 0 0;
  }
  .hero h1 {
    font-size: clamp(42px, 12.5vw, 68px);
  }
  .hero__lead {
    max-width: 92%;
  }
  .hero__visual {
    min-height: 400px;
    margin-top: 8px;
  }
  .hero__photo {
    inset: 7% 8% 5% 8%;
  }
  .hero__blob {
    inset: 2% 1% 2% 2%;
  }
  .hero__tag--price {
    left: 2%;
    top: 3%;
  }
  .hero__mascot {
    width: 112px;
    left: 0;
    bottom: -2%;
  }
  .hero__stats {
    gap: 18px;
  }
  .header__actions {
    gap: 6px;
  }
  .promo {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .promo__media {
    min-height: 240px;
    max-height: 280px;
  }
  .promo__media::after {
    background: linear-gradient(180deg, transparent 55%, rgba(119, 5, 35, .45));
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-card {
    display: grid;
    grid-template-columns: 120px 1fr;
  }
  .news-card__media {
    aspect-ratio: auto;
    height: 100%;
  }
  .news-card__body {
    padding: 14px;
  }
  .news-card h3 {
    font-size: 15px;
  }
  .news-card__more {
    padding-top: 9px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer__grid > :first-child {
    grid-column: 1 / -1;
  }
  .pd {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pd__media {
    aspect-ratio: 1 / 1;
    max-height: 480px;
  }
  .pd__stamp {
    width: 78px;
    height: 78px;
  }
  .bouquet-layout,
  .cart-layout,
  .checkout-layout,
  .order-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .bouquet-summary,
  .summary {
    position: static;
  }
  .bouquet-summary {
    order: -1;
  }
  .summary {
    margin-top: 4px;
  }
  .order-hero__total {
    text-align: left;
  }
  .timeline {
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .timeline__step {
    min-width: 70px;
    font-size: 8.5px;
  }
  .mood-grid {
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    gap: 8px;
  }
  .mood-card {
    padding: 13px 6px 11px;
  }
  .mood-card__dot {
    width: 34px;
    height: 34px;
  }
  .mood-card__name {
    font-size: 10.5px;
  }
  .mood-card__count {
    font-size: 9px;
  }
  .section {
    padding: 40px 0;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .section-head h2 {
    font-size: 27px;
  }
  .footer {
    margin-top: 24px;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 62px;
    --radius-xl: 26px;
    --radius-lg: 20px;
  }
  .header__inner {
    gap: 10px;
  }
  .brand__mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  .brand__name {
    font-size: 14px;
  }
  .brand__name small {
    font-size: 8px;
  }
  .icon-btn {
    width: 40px;
    height: 40px;
  }
  .avatar-btn {
    width: 40px;
    height: 40px;
  }
  .hero h1 {
    margin-top: 14px;
  }
  .hero__actions .btn {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    font-size: 12.5px;
  }
  .hero__visual {
    min-height: 335px;
  }
  .hero__tag {
    padding: 9px 12px;
    border-radius: 14px;
  }
  .hero__tag--price strong {
    font-size: 20px;
  }
  .hero__tag--pack strong {
    font-size: 15px;
  }
  .hero__mascot {
    width: 92px;
  }
  .hero__stats {
    gap: 15px;
    margin-top: 26px;
  }
  .hero__stat strong {
    font-size: 18px;
  }
  .hero__stat span {
    font-size: 9.5px;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .catalog-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .rail-scroll {
    grid-auto-columns: 74%;
  }
  .product-card {
    border-radius: 18px;
  }
  .product-card__media {
    aspect-ratio: 1 / 1.15;
  }
  .product-card__img {
    padding: 11% 9% 7%;
  }
  .product-card__body {
    padding: 10px 11px 12px;
  }
  .product-card__name {
    font-size: 13px;
  }
  .product-card__ru {
    font-size: 9.5px;
  }
  .product-card__meta {
    font-size: 9px;
    margin-top: 4px;
  }
  .product-card__price {
    font-size: 9.5px;
  }
  .product-card__price strong {
    font-size: 15px;
  }
  .product-card__price span {
    display: none;
  }
  .product-card__bottom {
    padding-top: 9px;
  }
  .quick-add {
    width: 33px;
    height: 33px;
  }
  .product-card__badges {
    top: 7px;
    left: 7px;
    gap: 3px;
  }
  .product-card__badges .badge {
    padding: 3px 7px;
    font-size: 8px;
  }
  .product-card__fav {
    top: 6px;
    right: 6px;
    width: 29px;
    height: 29px;
  }
  .product-card__fav svg {
    width: 14px;
    height: 14px;
  }
  .product-card__soldout {
    font-size: 8px;
    bottom: 66px;
  }
  .mood-grid {
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px;
  }
  .step__icon {
    margin: 0;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }
  .step::before {
    font-size: 25px;
    top: 9px;
    right: 13px;
  }
  .step h3 {
    font-size: 13.5px;
    margin-bottom: 4px;
  }
  .step p {
    font-size: 11.5px;
  }
  .catalog-toolbar {
    padding: 10px;
    border-radius: 18px;
  }
  .search-box {
    min-width: 100%;
    order: -1;
  }
  .select {
    flex: 1;
    min-width: 0;
    font-size: 11.5px;
  }
  .toggle {
    font-size: 11px;
  }
  .chip {
    padding: 7px 11px;
    font-size: 11.5px;
  }
  .page-head h1 {
    font-size: 32px;
  }
  .page-head__sub {
    font-size: 12.5px;
  }
  .pd__media {
    max-height: 380px;
  }
  .pd__title {
    font-size: 38px;
  }
  .pd__desc {
    font-size: 13px;
  }
  .pd__price {
    font-size: 31px;
  }
  .buy-box {
    padding: 14px;
  }
  .buy-box__row .btn {
    flex: 1;
  }
  .bouquet-builder {
    padding: 14px;
  }
  .bouquet-product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    max-height: 390px;
  }
  .bouquet-pick {
    padding: 7px 4px 8px;
    border-radius: 14px;
  }
  .bouquet-pick img {
    width: 50px;
    height: 60px;
  }
  .bouquet-pick strong {
    font-size: 9px;
  }
  .bouquet-pick small {
    font-size: 7.5px;
  }
  .bouquet-summary {
    padding: 18px;
  }
  .bouquet-summary__total strong {
    font-size: 26px;
  }
  .cart-line {
    gap: 10px;
    padding: 10px;
  }
  .cart-line__media {
    width: 66px;
    height: 80px;
  }
  .cart-line__name {
    font-size: 12.5px;
  }
  .cart-line__bottom {
    flex-wrap: wrap;
  }
  .cart-line .stepper button {
    width: 32px;
    height: 32px;
  }
  .cart-line .stepper__value {
    min-width: 36px;
    font-size: 12px;
  }
  .summary {
    padding: 18px;
  }
  .form-card {
    padding: 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .order-hero {
    padding: 20px;
  }
  .order-hero__total strong {
    font-size: 25px;
  }
  .panel {
    padding: 16px;
  }
  .profile-form {
    grid-template-columns: 1fr;
  }
  .footer {
    padding: 40px 0 24px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer__grid > :first-child {
    grid-column: auto;
  }
  .footer__bottom {
    margin-top: 26px;
  }
  .assistant-panel {
    bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 70px);
    max-height: calc(100vh - var(--nav-h) - 150px);
    border-radius: 24px;
  }
  .section-head h2 {
    font-size: 24px;
  }
  .article__body {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@keyframes blob {
  0% { border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%; transform: rotate(0deg) scale(1); }
  100% { border-radius: 54% 46% 48% 52% / 52% 56% 44% 48%; transform: rotate(3deg) scale(1.03); }
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-7px) rotate(2deg); }
}

@keyframes twinkle {
  0%, 100% { opacity: .35; transform: scale(.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(20deg); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
