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

:root {
  --primary: #2563eb;
  --secondary: #0f172a;
  --surface: #ffffff;
  --text: #111827;
  --text-secondary: #6b7280;
  --border: #e5e7eb;
  --border-hover: #9ca3af;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Fira Code", monospace;
  --max-width: 1280px;
  --header-height: 72px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover {
  color: var(--primary);
}
img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header-logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-secondary);
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-link:hover {
  color: var(--text);
  background: var(--bg-secondary);
}
.nav-link.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
}
.header-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-contact a {
  font-weight: 500;
  font-size: 1.125rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-contact a:hover {
  opacity: 0.7;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100000;
  background: var(--secondary);
  color: var(--surface);
  padding: 16px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner.show {
  display: flex;
}
.cookie-banner p {
  font-size: 0.875rem;
  line-height: 1.5;
}
.cookie-banner a {
  color: var(--surface);
  text-decoration: underline;
}
.cookie-banner .btn {
  background: var(--surface);
  color: var(--secondary);
  border: none;
  padding: 8px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.cookie-banner .btn:hover {
  opacity: 0.85;
}

.hero {
  padding: 64px 0 48px;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 24px;
}
.hero-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-info a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.15s;
}
.hero-info a:hover {
  border-color: transparent;
  background: var(--secondary);
  color: var(--surface);
}
.hero-info a.btn-hero-primary {
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
  font-weight: 600;
}
.hero-info a.btn-hero-primary:hover {
  background: var(--secondary);
  border-color: var(--text);
}
.hero-info a.btn-hero-outline {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 600;
}
.hero-info a.btn-hero-outline:hover {
  background: var(--secondary);
  color: var(--surface);
  border-color: var(--secondary);
}

.section {
  padding: 48px 0;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.product-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.product-card:hover {
  border-color: var(--text);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.product-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: #f0f0f5;
}
.product-card-icon {
  margin-bottom: 12px;
  line-height: 1;
  color: var(--primary);
}
.product-card-icon i {
  display: inline-block;
  font-size: 2.25rem;
}
.product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.product-card .desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}
.product-card .price {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.product-card .btn-order {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.product-card .btn-order:hover {
  background: var(--secondary);
  color: var(--surface);
  border-color: var(--secondary);
}
.product-card.disabled {
  opacity: 0.6;
  cursor: default;
}
.product-card.disabled:hover {
  border-color: #dee2e6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transform: none;
}
.product-card .coming-soon {
  text-align: center;
  padding: 10px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  background: var(--border);
  border-radius: var(--radius-md);
  font-weight: 500;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(2px);
}
.modal-overlay.show {
  display: flex;
}
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.1s;
}
.modal-close:hover {
  background: var(--border);
  color: var(--text);
}
.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.modal-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.modal-product-summary {
  background: #f9fafb;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.modal-product-summary .icon {
  font-size: 2rem;
}
.modal-product-summary .info {
  flex: 1;
}
.modal-product-summary .info .name {
  font-weight: 600;
}
.modal-product-summary .info .price {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 2px;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text);
}
.form-group .hint {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--text);
}
.form-group textarea {
  resize: vertical;
  min-height: 60px;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: var(--danger);
}
.form-group.error input:focus,
.form-group.error textarea:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 1px var(--danger);
}
.form-group .form-error {
  font-size: 0.75rem;
  color: var(--danger);
  margin-top: 4px;
  display: none;
}
.form-group.error .form-error {
  display: block;
}
.form-group.success input,
.form-group.success textarea {
  border-color: var(--success);
}
.checkbox-group.error .checkbox-item label {
  color: var(--danger);
}
.checkbox-group.error input[type="checkbox"] {
  accent-color: var(--danger);
}

.radio-group {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.radio-option {
  flex: 1;
  position: relative;
}
.radio-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s;
  text-align: center;
}
.radio-option input:checked + label {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--surface);
}
.radio-option label:hover {
  border-color: var(--text);
}
.radio-option label {
  gap: 6px;
}
.radio-option label i {
  flex-shrink: 0;
}

.checkbox-group {
  margin: 20px 0;
}
.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.checkbox-item input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}
.checkbox-item label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.4;
}
.checkbox-item label a {
  color: var(--text);
}

.cart-btn {
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  position: relative;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  transition: all 0.15s;
  margin-right: 8px;
}
.cart-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-order.in-cart {
  background: var(--success);
  border-color: var(--success);
  color: var(--surface);
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--secondary);
  color: var(--surface);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.btn-primary:hover {
  background: var(--primary);
  color: var(--surface);
}
.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-primary.loading {
  position: relative;
  color: transparent;
}
.btn-primary.loading::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--surface);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}
.payment-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.15s;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
}
.payment-method:hover {
  border-color: var(--primary);
  background: #f5f3ff;
  box-shadow: 0 0 0 1px var(--primary);
}
.payment-method-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 72px;
  height: 28px;
  justify-content: center;
}
.pm-logo {
  height: 20px;
  width: auto;
  object-fit: contain;
  display: block;
}
.pm-logo-single {
  height: 24px;
}
.payment-method-info {
  flex: 1;
  min-width: 0;
}
.payment-method-name {
  display: block;
  font-weight: 600;
  color: var(--text);
  font-size: 0.9375rem;
}
.payment-method-desc {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.payment-method-arrow {
  color: var(--text-tertiary);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.payment-status-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 48px;
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer p,
.footer a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.footer-links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.consent-modal .modal {
  max-width: 440px;
  text-align: center;
}
.consent-modal .modal p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.consent-modal .checkbox-group {
  text-align: left;
}

.pickup-info {
  display: none;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  padding: 14px 16px;
  background: rgba(37, 99, 235, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(37, 99, 235, 0.15);
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
}
.pickup-info .pickup-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pickup-info i {
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}
.pickup-address {
  flex: 1;
}
.pickup-info a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
  font-size: 0.8125rem;
}
.pickup-info.show {
  display: flex;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--primary);
  color: var(--surface);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  position: absolute;
  top: -6px;
  right: -10px;
  transition: transform 0.15s;
}
.cart-badge.hidden {
  display: none;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: #f0f0f5;
}

.fee-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  margin-bottom: 4px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 0.875rem;
}
.fee-row-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fee-row-sub {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.fade-in {
  animation: fadeIn 0.2s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.catalog-search {
  position: relative;
  margin-bottom: 24px;
  max-width: 400px;
}
.catalog-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 1.125rem;
  pointer-events: none;
}
.catalog-search input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.15s;
  outline: none;
}
.catalog-search input:focus {
  border-color: var(--text);
}

.catalog-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-secondary);
}
.catalog-empty.hidden {
  display: none;
}

.cleaning-info {
  padding: 32px 0;
}
.cleaning-info-card {
  background: linear-gradient(135deg, #f3eeff 0%, #eef2ff 100%);
  border: 1px solid #d8ccf0;
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.cleaning-info-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.cleaning-info-label {
  display: inline-block;
  background: #7c3aed;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.cleaning-info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.cleaning-info-header i {
  font-size: 1.75rem;
  color: #7c3aed;
}
.cleaning-info-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}
.cleaning-info-card > p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 500px;
}
.cleaning-info-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}
.cleaning-info-service {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(216, 204, 240, 0.6);
  border-radius: var(--radius-md);
  padding: 12px 20px;
}
.cleaning-info-service i {
  font-size: 1.25rem;
  color: #7c3aed;
  flex-shrink: 0;
}
.cleaning-info-service .price {
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
  color: var(--text);
  line-height: 1.2;
}
.cleaning-info-service .label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: block;
}
.cleaning-info-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
  padding: 12px 24px;
  background: #7c3aed;
  border-radius: var(--radius-md);
  transition: all 0.15s;
  white-space: nowrap;
}
.cleaning-info-phone:hover {
  background: #6d28d9;
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 0 32px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 0.9375rem;
  }
  .hero-info {
    gap: 12px;
  }
  .hero-info a {
    padding: 10px 16px;
    font-size: 0.875rem;
  }
  .header-contact a {
    font-size: 0.9375rem;
  }
  .section {
    padding: 32px 0;
  }
  .section-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
  }
  .product-card {
    padding: 16px;
  }
  .product-img {
    height: 140px;
  }
  .product-card h3 {
    font-size: 0.875rem;
  }
  .product-card .desc {
    font-size: 0.8125rem;
  }
  .product-card .price {
    font-size: 1.0625rem;
  }
  .modal {
    padding: 24px 20px;
  }
  .payment-method {
    padding: 14px;
  }
  .cleaning-info-card {
    padding: 24px;
  }
  .cleaning-info-header h2 {
    font-size: 1.25rem;
  }
  .cart-page {
    max-width: 100%;
  }
  .cart-page-header {
    flex-direction: column;
  }
  .cart-page-item-img {
    width: 56px;
    height: 56px;
  }
  .cart-page-summary {
    padding: 16px;
  }
  .radio-group {
    flex-direction: column;
    gap: 8px;
  }
  .footer {
    padding: 24px 0;
    margin-top: 32px;
  }
  .footer .container {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .guide-step {
    gap: 14px;
  }
  .guide-rules {
    padding: 24px;
  }
  .doc-page {
    padding: 0;
  }
  .order-summary {
    padding: 16px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero h1 {
    font-size: 1.25rem;
  }
  .hero p {
    font-size: 0.875rem;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .product-img {
    height: 180px;
  }
  .cart-page-actions {
    flex-direction: column;
  }
  .order-layout {
    gap: 24px;
  }
  .modal {
    padding: 20px 16px;
    margin: 16px;
  }
  .payment-method {
    padding: 12px;
    gap: 10px;
  }
  .cleaning-info-service {
    width: 100%;
  }
  .cleaning-info-phone {
    width: 100%;
    justify-content: center;
  }
  .footer .container div {
    justify-content: center;
  }
  .guide-step {
    flex-direction: column;
    gap: 8px;
  }
  .guide-step-num {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }
}
@media (max-width: 360px) {
  .bottom-nav-item {
    padding: 4px 6px;
    font-size: 0.6rem;
  }
  .bottom-nav-item i {
    font-size: 1.15rem;
  }
  .header-logo {
    font-size: 1.125rem;
  }
}

.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 6px 0 env(safe-area-inset-bottom, 6px);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}
.bottom-nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  max-width: var(--max-width);
  margin: 0 auto;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 12px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.65rem;
  font-weight: 500;
  transition: color 0.15s;
  border-radius: var(--radius-sm);
  min-width: 0;
}
.bottom-nav-item i {
  font-size: 1.35rem;
  transition: color 0.15s;
}
.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: var(--primary);
}
.bottom-nav-item .cart-badge-bottom {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--primary);
  color: var(--surface);
  border-radius: 9px;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-badge-bottom.hidden {
  display: none;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
}
.qty-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: var(--surface);
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.1s;
  font-family: inherit;
  line-height: 1;
}
.qty-btn:hover {
  background: var(--secondary);
  color: var(--surface);
}
.qty-value {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: #f8f9fa;
}
.cart-page-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.cart-page-item-qty span {
  font-size: 0.875rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}
.qty-btn-sm {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--text);
  transition: background 0.1s;
  font-family: inherit;
}
.qty-btn-sm:hover {
  background: var(--secondary);
  color: var(--surface);
  border-color: var(--secondary);
}
.bottom-nav-cart-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

@media (max-width: 1000px) {
  .bottom-nav {
    display: block;
  }
  body {
    padding-bottom: 64px;
  }
  .header-nav,
  .header-contact {
    display: none;
  }
  .header .container {
    justify-content: center;
  }
}

.yookassa-frame {
  width: 100%;
  min-height: 400px;
  border: none;
  border-radius: var(--radius-md);
}

.not_found_page {
  min-height: min(680px, calc(100vh - var(--header-height) - 170px));
  display: grid;
  place-items: center;
  padding: 64px 24px;
  background: radial-gradient(ellipse at 50% 38%, rgba(37, 99, 235, 0.08), transparent 52%);
}
.not_found_card {
  width: min(100%, 560px);
  text-align: center;
}
.not_found_art {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--primary);
}
.not_found_art_number {
  font-size: clamp(5rem, 18vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.08em;
}
.not_found_art_icon {
  width: clamp(76px, 18vw, 112px);
  height: clamp(76px, 18vw, 112px);
  display: grid;
  place-items: center;
  border: 2px solid rgba(37, 99, 235, 0.18);
  border-radius: 50%;
  background: var(--surface);
  font-size: clamp(2.75rem, 8vw, 4rem);
  box-shadow: var(--shadow-md);
  transform: rotate(-12deg);
}
.not_found_eyebrow {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.not_found_card h1 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.not_found_description {
  max-width: 430px;
  margin: 0 auto 28px;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}
.not_found_actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.not_found_button {
  min-height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.not_found_button:hover {
  transform: translateY(-1px);
}
.not_found_button_primary {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--surface);
}
.not_found_button_primary:hover {
  border-color: var(--secondary);
  background: var(--secondary);
  color: var(--surface);
}
.not_found_button_secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

@media (max-width: 480px) {
  .not_found_page {
    min-height: calc(100vh - var(--header-height) - 150px);
    padding: 40px 20px;
  }
  .not_found_actions {
    flex-direction: column;
  }
  .not_found_button {
    width: 100%;
  }
}
