:root {
  --bg: #030806;
  --bg-elevated: #0b1410;
  --bg-elevated-alt: #101c16;
  --accent: #f4c542;
  --accent-soft: rgba(67, 214, 138, 0.22);
  --accent-alt: #3bd68a;
  --text: #f5f5f7;
  --muted: #9b9bb2;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --transition-fast: 0.18s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 6, 15, 0.96), rgba(5, 6, 15, 0.85));
  border-bottom: 1px solid var(--border-subtle);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo__mark {
  width: 48px;
  height: 48px;
  border-radius: 40%;
  background: radial-gradient(circle at 30% 20%, #fff, var(--accent), var(--accent-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16141f;
  font-weight: 800;
  font-size: 28px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06), 0 10px 30px rgba(0, 0, 0, 0.6);
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logo__name {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: clamp(20px, 5vw, 28px);
  animation: colorShift 3s ease-in-out infinite;
}

@keyframes colorShift {
  0%, 100% { color: #f4c542; }
  50% { color: #4CAF50; }
}

.logo__tagline {
  font-size: clamp(10px, 3vw, 12px);
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 500;
}

.nav__link {
  position: relative;
  color: var(--muted);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  transition: width var(--transition-fast);
}

.nav__link:hover,
.nav__link--active {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(11, 11, 20, 0.9);
  padding: 9px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.burger:hover {
  background: rgba(11, 11, 20, 1);
}

.burger span {
  height: 2px;
  border-radius: var(--radius-pill);
  width: 100%;
  background: #fff;
  transition: transform var(--transition-fast);
}

.btn {
  border-radius: var(--radius-pill);
  border: none;
  padding: 12px 28px;
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--accent), var(--accent-alt));
  color: #16141f;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, filter var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border-subtle);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 12px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* Hero section */
.hero {
  padding: clamp(40px, 8vh, 80px) 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}

.hero__title {
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 20px;
}

.hero__title span {
  background: linear-gradient(120deg, var(--accent), var(--accent-alt));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 480px;
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 32px);
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__meta-title {
  font-weight: 700;
  font-size: clamp(18px, 3vw, 24px);
}

.hero__meta-text {
  font-size: clamp(11px, 2vw, 13px);
  color: var(--muted);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, #29351c 0, #101c16 45%, #020806 90%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.hero-card__content {
  padding: 0 24px 24px;
  position: relative;
}

.hero-card__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(6, 6, 10, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  margin-bottom: 12px;
  margin-top: -15px;
  z-index: 2;
}

.hero-card__label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle, #54ff9f, #29d27a);
  box-shadow: 0 0 0 6px rgba(84, 255, 159, 0.28);
}

.hero-card__name {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-card__tags span {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(4, 4, 10, 0.75);
}

.hero-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card__price-main {
  font-size: clamp(24px, 3vw, 28px);
  font-weight: 700;
}

.hero-card__price-old {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
}

.hero__glow {
  position: absolute;
  filter: blur(60px);
  opacity: 0.7;
  pointer-events: none;
}

.hero__glow--orange {
  width: 220px;
  height: 220px;
  background: var(--accent-soft);
  bottom: -60px;
  right: -40px;
}

.hero__glow--pink {
  width: 180px;
  height: 180px;
  background: rgba(244, 197, 66, 0.32);
  top: -40px;
  left: -50px;
}

/* Section */
.section {
  padding: clamp(40px, 6vh, 80px) 0;
}

.section--alt {
  background: var(--bg-elevated);
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
  text-align: center;
}

.section__title {
  margin: 0;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
}

.section__subtitle {
  margin: 0 auto;
  color: var(--muted);
  max-width: 600px;
  font-size: clamp(14px, 2vw, 16px);
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  justify-content: center;
}

.chips__item {
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(8, 8, 15, 0.8);
  padding: clamp(8px, 2vw, 10px) clamp(16px, 3vw, 24px);
  font-size: clamp(12px, 2vw, 14px);
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.chips__item--active,
.chips__item:hover {
  background: rgba(59, 214, 138, 0.14);
  color: var(--text);
  border-color: rgba(244, 197, 66, 0.6);
}

/* Grid and cards */
.grid {
  display: grid;
  gap: 20px;
}

.menu-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.card {
  position: relative;
  border-radius: var(--radius-md);
  background: rgba(9, 9, 16, 0.96);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 197, 66, 0.4);
}

.card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: linear-gradient(135deg, #2a3a25, #1a2a1f);
}

.card__content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card__badge {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(244, 197, 66, 0.9);
  color: #16141f;
  font-weight: 600;
  z-index: 2;
}

.card__title {
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
  line-height: 1.3;
}

.card__desc {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
}

.card__price {
  font-weight: 700;
  font-size: clamp(18px, 2vw, 20px);
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
}

.about-item {
  border-radius: var(--radius-md);
  padding: 24px 20px;
  background: rgba(4, 4, 12, 0.9);
  border: 1px solid var(--border-subtle);
  transition: transform 0.2s ease;
  text-align: center;
}

.about-item:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 197, 66, 0.3);
}

.about-item__emoji {
  font-size: clamp(40px, 6vw, 48px);
  margin-bottom: 12px;
  display: inline-block;
}

.about-item h3 {
  margin: 0 0 8px;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
}

.about-item p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Delivery info blocks */
.delivery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px;
  align-items: start;
}

.delivery__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.delivery__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: clamp(14px, 2vw, 15px);
  color: var(--muted);
}

.delivery__list span {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}

.delivery__card {
  border-radius: var(--radius-lg);
  padding: 20px;
  background: rgba(7, 7, 14, 0.92);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.delivery__status {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  background: rgba(84, 255, 159, 0.16);
  color: #c0ffd8;
  border: 1px solid rgba(84, 255, 159, 0.7);
}

.delivery__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.delivery__row span:first-child {
  color: var(--muted);
  font-size: 14px;
}

.delivery__row a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s ease;
}

.delivery__row a:hover {
  text-decoration-color: var(--accent);
}

/* Contacts page */
.contacts,
.order-page {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px;
  align-items: start;
}

.contacts__grid,
.order-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 20px;
  margin-top: 16px;
}

.contacts__link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s ease;
  word-break: break-all;
}

.contacts__link:hover {
  text-decoration-color: var(--accent);
}

.contacts h3,
.order-page h3 {
  margin: 0 0 6px;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 600;
}

.contacts p,
.order-page p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  word-break: break-word;
}

/* Form elements (general) */
.form {
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 24px);
  background: rgba(8, 8, 16, 0.96);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form__title {
  margin: 0;
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 700;
}

.form__subtitle {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--muted);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.field span {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: rgba(2, 2, 8, 0.95);
  padding: clamp(10px, 2vw, 12px) clamp(12px, 2vw, 14px);
  color: var(--text);
  font-family: inherit;
  font-size: clamp(13px, 2vw, 14px);
  outline: none;
  transition: all var(--transition-fast);
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 80px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(155, 155, 178, 0.7);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(255, 255, 255, 0.66);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  background: rgba(4, 4, 12, 0.98);
}

.form__note {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0 28px;
  background: rgba(3, 3, 8, 0.98);
  margin-top: 40px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__copy {
  color: var(--muted);
  font-size: clamp(12px, 2vw, 14px);
}

.footer__right {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 24px);
  flex-wrap: wrap;
}

.footer__link {
  color: var(--muted);
  transition: color var(--transition-fast);
  font-size: clamp(12px, 2vw, 14px);
}

.footer__link:hover {
  color: var(--text);
}

/* Cart button & badge */
.cart-button {
  position: relative;
  background: transparent;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(120deg, var(--accent), var(--accent-alt));
  color: #16141f;
  font-size: 11px;
  font-weight: bold;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(18px);
  z-index: 50;
  padding: 16px;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  padding: 24px;
  background: rgba(8, 8, 16, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  max-height: 90vh;
  overflow-y: auto;
}

.modal__title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
}

.modal__subtitle {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
}

.modal__close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(6, 6, 12, 0.98);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.2s ease;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cart-items {
  max-height: 300px;
  overflow-y: auto;
  margin: 12px 0;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  gap: 12px;
  flex-wrap: wrap;
}

.cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.cart-item__name {
  font-size: 14px;
  font-weight: 500;
}

.cart-item__price {
  font-size: 12px;
  color: var(--muted);
}

.cart-item__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cart-item__minus,
.cart-item__plus,
.cart-item__remove {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  font-size: 14px;
  transition: background 0.2s ease;
}

.cart-item__minus:hover,
.cart-item__plus:hover,
.cart-item__remove:hover {
  background: rgba(255, 255, 255, 0.15);
}

.cart-item__count {
  min-width: 24px;
  text-align: center;
  font-size: 14px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 18px;
  font-weight: 700;
  border-top: 1px solid var(--border-subtle);
  margin-top: 8px;
}

.cart-checkout {
  margin-top: 12px;
  width: 100%;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    order: -1;
  }
  .hero__content {
    text-align: center;
  }
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__meta {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .header__inner {
    padding-block: 12px;
  }
  .nav {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    background: rgba(5, 5, 14, 0.98);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-fast);
    transform-origin: top;
    z-index: 100;
  }
  .nav--open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link {
    padding: 8px 12px;
    border-radius: var(--radius-md);
  }
  .nav__link::after {
    display: none;
  }
  .burger {
    display: flex;
  }
  .btn--ghost:not(.cart-button) {
    display: none;
  }
  .hero {
    padding: 30px 0 50px;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .chips__item {
    white-space: nowrap;
  }
}

@media (max-width: 540px) {
  .hero-card {
    max-width: 100%;
  }
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
  }
  .footer__left {
    justify-content: center;
    width: 100%;
  }
  .footer__right {
    justify-content: center;
    width: 100%;
  }
  .modal {
    margin: 16px;
  }
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .cart-item__actions {
    align-self: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.text-center {
  text-align: center;
}
.mt-4 {
  margin-top: 16px;
}
.mb-4 {
  margin-bottom: 16px;
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ ЗАКАЗА (order.html) ===== */
.order-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px;
  align-items: start;
}

.order-card {
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 28px);
  background: rgba(8, 8, 16, 0.96);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-card__title {
  margin: 0;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 20px;
  font-weight: 700;
}

.order-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.order-actions .btn {
  flex: 1;
  min-width: 140px;
  justify-content: center;
}

.field__label {
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 4px;
}

.field__input {
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: rgba(2, 2, 8, 0.95);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all var(--transition-fast);
  width: 100%;
}

.field__input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
  background: rgba(4, 4, 12, 0.98);
}

textarea.field__input {
  resize: vertical;
  min-height: 90px;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: rgba(2, 2, 8, 0.55);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;        /* ← не переносит текст */
  flex-shrink: 0;             /* ← не сжимает кнопку */
  position: relative;         /* ← фиксирует позицию */
  z-index: 1;                 /* ← не накладывается */
}

.radio-option input {
  accent-color: var(--accent);
  flex-shrink: 0;             /* ← не сжимает чекбокс */
  width: 16px;
  height: 16px;
}

@media (max-width: 420px) {
  .radio-group {
    flex-direction: column;
  }
  .radio-option {
    width: 100%;
  }
}

/* Hero image (главная страница) */
.hero-image {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  margin: 0 auto;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}
/* Кнопка установки PWA */
.install-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: var(--muted);
  transition: color var(--transition-fast);
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.install-btn:hover {
  color: var(--text);
}
/* Отступ для PWA на iPhone с вырезом */
@supports (padding-top: env(safe-area-inset-top)) {
  .header {
    padding-top: env(safe-area-inset-top);
  }
}