:root {
  --bg-cream: #FBF8F3;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-muted: #F3ECE1;
  --navy-deep: #0D1F2D;
  --navy-accent: #1D3557;
  --navy-soft: #2B4560;
  --orange-primary: #E76F51;
  --orange-hover: #D95D3E;
  --orange-light: #FDF0EC;
  --gold-accent: #D4A373;
  --text-primary: #1A2530;
  --text-muted: #667685;
  --text-light: #FBF8F3;
  --border-subtle: #E8DFD1;
  --border-strong: #D6C7B2;
  --shadow-sm: 0 2px 8px rgba(13, 31, 45, 0.05);
  --shadow-md: 0 4px 16px rgba(13, 31, 45, 0.08);
  --shadow-lg: 0 8px 24px rgba(13, 31, 45, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-primary);
  line-height: 1.45;
  min-height: 100vh;
  padding-bottom: 90px;
}

/* Base Container */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-accent) 100%);
  color: var(--text-light);
  padding: 24px 0 18px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold-accent);
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-about-btn {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-light);
  border: 1px solid rgba(212, 163, 115, 0.55);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.header-about-btn:hover, .header-about-btn:active {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(0.98);
}

@media (max-width: 480px) {
  .site-header {
    padding: 16px 0 14px;
  }

  .brand-wrapper {
    gap: 8px;
    min-width: 0;
  }

  .brand-logo-mark {
    width: 36px;
    height: 36px;
    font-size: 19px;
  }

  .brand-title {
    font-size: 17px;
  }

  .brand-subtitle {
    font-size: 9px;
    letter-spacing: 0.5px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-about-btn,
  .cart-icon-btn {
    min-height: 38px;
    padding: 6px 10px;
    font-size: 12.5px;
  }
}

.cart-icon-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background-color: var(--orange-primary);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.cart-icon-btn:hover, .cart-icon-btn:active {
  background-color: var(--orange-hover);
  transform: scale(0.98);
}

.cart-badge {
  background: #ffffff;
  color: var(--orange-primary);
  border-radius: var(--radius-full);
  padding: 2px 7px;
  font-size: 12px;
  font-weight: 700;
}

/* Info Banner */
.info-strip {
  background-color: #FAF2E6;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  font-size: 13px;
  color: var(--navy-soft);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

@media (min-width: 640px) {
  .info-grid {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }
}

.info-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-item span.icon {
  font-size: 14px;
  color: var(--orange-primary);
}

/* Notice box */
.notice-box {
  background-color: #FFF9F0;
  border-left: 4px solid var(--gold-accent);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin: 16px 0;
  font-size: 13px;
  color: var(--navy-soft);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.notice-box p {
  margin: 0;
}

/* Search and Controls */
.controls-section {
  padding: 16px 0 10px;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  height: 48px;
  padding: 12px 16px 12px 42px;
  font-size: 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.15);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  pointer-events: none;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--navy-soft);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.category-tab:hover {
  background-color: var(--bg-muted);
}

.category-tab.active {
  background-color: var(--navy-deep);
  color: #fff;
  border-color: var(--navy-deep);
  box-shadow: var(--shadow-sm);
}

/* Products Grid */
.products-section {
  padding: 16px 0;
}

.section-headline {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy-deep);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.products-count {
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-weight: normal;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Product Card - Restrained Category Typography, No invented images */
.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}

.product-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
  background-color: var(--bg-muted);
}

.product-prep-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.2px;
}

.product-prep-badge.prep-ready {
  background: rgba(230, 244, 234, 0.95);
  color: #137333;
  border: 1px solid rgba(52, 168, 83, 0.35);
}

.product-prep-badge.prep-cook {
  background: rgba(235, 248, 255, 0.95);
  color: #2B6CB0;
  border: 1px solid rgba(49, 130, 206, 0.35);
}

.product-prep-badge.prep-gift {
  background: rgba(255, 248, 230, 0.96);
  color: #9C6B19;
  border: 1px solid rgba(212, 175, 112, 0.55);
}

.product-header .product-prep-badge {
  position: static;
  box-shadow: none;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.04);
}

.product-card:hover {
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-md);
}

.product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.category-badge-chip {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--navy-accent);
  background: var(--bg-muted);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.product-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background-color: var(--orange-light);
  color: var(--orange-primary);
  border: 1px solid rgba(231, 111, 81, 0.25);
}

.product-tag.tag-arrival {
  background-color: #FEF3C7;
  color: #92400E;
  border: 1px solid rgba(217, 119, 6, 0.35);
  white-space: nowrap;
}

.product-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.3;
  margin-bottom: 6px;
}

.product-unit-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Accordion recipe block */
.recipe-accordion {
  margin-top: 10px;
  margin-bottom: 14px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: #FAF6F0;
  overflow: hidden;
  transition: all 0.2s ease;
}

.recipe-accordion[open] {
  border-style: solid;
  border-color: var(--gold-accent);
  background-color: #FFFDF9;
  box-shadow: 0 2px 8px rgba(224, 169, 109, 0.15);
}

.recipe-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-deep);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.recipe-summary::-webkit-details-marker {
  display: none;
}

.recipe-summary-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.recipe-icon {
  font-size: 14px;
}

.recipe-arrow {
  font-size: 11px;
  color: var(--gold-accent);
  transition: transform 0.25s ease;
}

.recipe-accordion[open] .recipe-arrow {
  transform: rotate(180deg);
}

.recipe-body {
  padding: 4px 12px 12px;
  font-size: 12.5px;
  color: var(--navy-soft);
  line-height: 1.45;
  border-top: 1px dashed rgba(224, 169, 109, 0.3);
}

.recipe-body p {
  margin: 6px 0;
}

.recipe-step-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 5px;
}

.recipe-step-num {
  font-weight: 700;
  color: var(--orange-primary);
  min-width: 16px;
}

/* Modal Popup Recipe (Вариант 1) */
.btn-recipe-modal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #FFF9F2 0%, #F5EBE1 100%);
  border: 1px solid var(--gold-accent);
  color: var(--navy-deep);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}

.btn-recipe-modal:hover {
  background: linear-gradient(135deg, #FBEFE2 0%, #EEDBCE 100%);
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

.recipe-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(13, 31, 45, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.recipe-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.recipe-modal-card {
  background-color: #FFFDF9;
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  border-radius: 20px 20px 0 0;
  padding: 22px 20px 24px;
  overflow-y: auto;
  position: relative;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.2);
}

.recipe-modal-backdrop.active .recipe-modal-card {
  transform: translateY(0);
}

@media (min-width: 600px) {
  .recipe-modal-backdrop {
    align-items: center;
    padding: 20px;
  }
  .recipe-modal-card {
    border-radius: var(--radius-md);
    transform: scale(0.95) translateY(20px);
  }
  .recipe-modal-backdrop.active .recipe-modal-card {
    transform: scale(1) translateY(0);
  }
}

.recipe-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--navy-soft);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.recipe-modal-close:hover {
  background-color: var(--bg-muted);
  color: var(--navy-deep);
}

.recipe-modal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--orange-primary);
  background-color: var(--orange-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.recipe-modal-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy-deep);
  line-height: 1.3;
  margin-bottom: 12px;
  padding-right: 30px;
}

.recipe-modal-img-wrap {
  width: 100%;
  height: 190px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
}

.recipe-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-modal-content {
  font-size: 13.5px;
  color: var(--navy-deep);
  line-height: 1.5;
}

.recipe-modal-section-title {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy-accent);
  margin: 12px 0 6px;
}

.recipe-modal-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.product-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-block {
  display: flex;
  flex-direction: column;
}

.price-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--orange-primary);
  font-variant-numeric: tabular-nums;
}

.price-value.price-pending {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-accent);
  line-height: 1.2;
}

.price-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* Quantity Controls */
.qty-control {
  display: flex;
  align-items: center;
  background-color: var(--bg-muted);
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid var(--border-subtle);
}

.btn-add {
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #E76F51 0%, #D95D3E 100%);
  color: #fff;
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(231, 111, 81, 0.28);
  transition: all 0.2s ease;
}

.btn-add:hover {
  background: linear-gradient(135deg, #F07A5D 0%, #E76F51 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(231, 111, 81, 0.36);
}

.btn-add:active {
  transform: translateY(0);
}

.btn-qty {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: var(--radius-full);
  background-color: #fff;
  border: 1px solid var(--border-subtle);
  color: var(--navy-deep);
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-qty:hover {
  background-color: #FAF4EB;
}

.qty-display {
  min-width: 50px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-deep);
  font-variant-numeric: tabular-nums;
}

/* Floating Bottom Bar (Mobile First) */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-strong);
  padding: 12px 16px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bottom-bar-summary {
  display: flex;
  flex-direction: column;
}

.bottom-bar-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bottom-bar-total {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-deep);
  font-variant-numeric: tabular-nums;
}

.btn-checkout {
  min-height: 46px;
  min-width: 140px;
  padding: 0 20px;
  background-color: var(--orange-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-checkout:hover {
  background-color: var(--orange-hover);
}

/* Checkout Page Styles */
.checkout-header {
  background: var(--navy-deep);
  color: #fff;
  padding: 18px 0;
  margin-bottom: 20px;
}

.back-link {
  color: var(--gold-accent);
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.checkout-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.checkout-section-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--navy-deep);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-subtle);
}

.order-item-details {
  flex: 1;
  padding-right: 12px;
}

.order-item-title {
  font-weight: 600;
  color: var(--navy-deep);
}

.order-item-qty {
  font-size: 12px;
  color: var(--text-muted);
}

.order-item-cost {
  font-weight: 700;
  color: var(--orange-primary);
  white-space: nowrap;
}

.order-item-cost.price-pending-cost {
  font-size: 12.5px;
  color: #92400E;
  background: #FEF3C7;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-soft);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: inherit;
}

.form-textarea {
  min-height: 70px;
  resize: vertical;
}

/* Dispatch Buttons */
.dispatch-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.btn-whatsapp {
  min-height: 50px;
  background-color: #25D366;
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-telegram {
  min-height: 50px;
  background-color: #229ED9;
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(34, 158, 217, 0.3);
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.empty-state .icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 24px 0 max(40px, env(safe-area-inset-bottom, 40px));
  background-color: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-align: center;
}

.site-footer p {
  margin-bottom: 6px;
}

/* --- Platform Brand Promo Badge (assist.mars-coach.ru) --- */
.mars-platform-badge {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mars-badge-caption {
  font-size: 11px;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.mars-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 163, 115, 0.4);
  border-radius: var(--radius-full);
  color: #FBF8F3;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.mars-badge-pill:hover {
  background: rgba(212, 163, 115, 0.2);
  border-color: var(--gold-accent);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.mars-badge-icon {
  font-size: 13px;
  display: inline-block;
}

.mars-badge-arrow {
  color: var(--gold-accent);
  font-size: 12px;
  transition: transform 0.2s ease;
}

.mars-badge-pill:hover .mars-badge-arrow {
  transform: translateX(3px);
}

/* --- Free Delivery Promo Banner --- */
.promo-delivery-banner {
  background: linear-gradient(135deg, #FFF8EC 0%, #FDF0EC 100%);
  border: 1.5px solid var(--gold-accent);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin: 16px 0 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.promo-delivery-icon {
  font-size: 24px;
  line-height: 1.1;
  flex-shrink: 0;
}

.promo-delivery-body {
  flex: 1;
  min-width: 0;
}

.promo-delivery-badge {
  display: inline-block;
  background-color: #C8232C;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.promo-delivery-amount {
  display: inline-block;
  background-color: #C8232C;
  color: #FFFFFF;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  font-weight: 700;
  white-space: nowrap;
}

.promo-delivery-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.3;
  margin-bottom: 3px;
}

.promo-delivery-desc {
  font-size: 13px;
  color: var(--navy-soft);
  line-height: 1.4;
}

.promo-delivery-hint {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background-color: #FFF8EC;
  border: 1px solid var(--gold-accent);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.35;
}

.promo-delivery-hint.is-free {
  background-color: #EDF7F1;
  border-color: #4A9B6E;
  color: #1E5638;
}

/* --- About Us (Family Emblem) --- */
.about-family-section {
  margin: 32px 0 24px;
  scroll-margin-top: 96px;
}

.about-family-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF9F0 100%);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 28px;
}

.about-family-emblem-wrap {
  flex-shrink: 0;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, var(--gold-accent) 0%, #E8C99B 50%, var(--gold-accent) 100%);
  box-shadow: 0 8px 24px rgba(13, 31, 45, 0.14);
}

.about-family-emblem {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background-color: #FFFFFF;
}

.about-family-content {
  flex: 1;
  min-width: 0;
}

.about-family-badge {
  display: inline-block;
  background-color: var(--bg-muted);
  color: var(--navy-accent);
  border: 1px solid var(--border-strong);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.about-family-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.25;
  margin-bottom: 12px;
}

.about-family-text {
  font-size: 14.5px;
  color: var(--text-primary);
  line-height: 1.55;
  margin-bottom: 10px;
}

.about-family-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-family-tg-btn,
.about-family-max-btn,
.about-family-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-family-tg-btn {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-accent) 100%);
  color: #FFFFFF;
}

.about-family-max-btn {
  background: linear-gradient(135deg, #FFF8EC 0%, #F7E7CE 100%);
  color: var(--navy-deep);
  border: 1.5px solid var(--gold-accent);
}

.about-family-wa-btn {
  background: linear-gradient(135deg, #EDF7F1 0%, #DCF2E5 100%);
  color: #1E5638;
  border: 1.5px solid #4A9B6E;
}

.about-family-tg-btn:hover,
.about-family-max-btn:hover,
.about-family-wa-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 680px) {
  .about-family-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 18px;
    gap: 18px;
  }

  .about-family-emblem-wrap {
    width: 164px;
    height: 164px;
  }

  .about-family-title {
    font-size: 21px;
  }

  .about-family-tg-btn,
  .about-family-max-btn,
  .about-family-wa-btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Install App Hint Bar & Modal --- */
.install-app-bar {
  background: linear-gradient(135deg, #0D1F2D 0%, #1D3557 100%);
  border: 1.5px solid rgba(212, 163, 115, 0.65);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: 0 0 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #FBF8F3;
}

.install-app-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.install-app-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(212, 163, 115, 0.6);
  flex-shrink: 0;
  object-fit: cover;
}

.install-app-text {
  min-width: 0;
}

.install-app-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

.install-app-sub {
  font-size: 12.5px;
  color: rgba(251, 248, 243, 0.82);
  line-height: 1.35;
  margin-top: 2px;
}

.install-app-btn {
  min-height: 42px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #E76F51 0%, #D95D3E 100%);
  color: #FFFFFF;
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(231, 111, 81, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.install-app-btn:hover,
.install-app-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(231, 111, 81, 0.45);
}

@media (max-width: 600px) {
  .install-app-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
    gap: 10px;
  }

  .install-app-btn {
    width: 100%;
  }
}

.install-modal-card {
  max-width: 520px;
}

.install-modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-right: 36px;
}

.install-modal-app-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  border: 1.5px solid var(--gold-accent);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.install-modal-lead {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.install-native-btn {
  width: 100%;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #E76F51 0%, #D95D3E 100%);
  color: #FFFFFF;
  border: none;
  font-size: 14.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(231, 111, 81, 0.32);
}

.install-guides-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.install-guide-card {
  background: var(--bg-cream);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 13px 15px;
}

.install-guide-card.is-recommended {
  background: #FFF9F0;
  border: 1.5px solid var(--orange-primary);
  box-shadow: var(--shadow-sm);
}

.install-guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.install-guide-os {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-deep);
}

.install-os-badge {
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--orange-primary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.install-steps {
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.48;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.install-modal-actions {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.install-copy-btn {
  width: 100%;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  color: var(--navy-deep);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.install-copy-btn:hover {
  background: #EAE0D0;
}

.footer-install-link {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 163, 115, 0.45);
  color: #FBF8F3;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.footer-install-link:hover {
  background: rgba(212, 163, 115, 0.2);
}


