/* main.css - единый файл стилей для публичной части LabaPrint */

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

:root {
  --primary: #0d6efd;
  --primary-dark: #0b5ed7;
  --secondary: #6c757d;
  --success: #198754;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #212529;
  --border: #dee2e6;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: #f5f5f7;
  color: var(--dark);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-top: 0;
  padding-bottom: 0;
}

/* Для десктопа - отступ под фиксированный app-bar */
@media (min-width: 768px) {
  body {
    padding-top: 70px;
  }
}

/* Для мобильных - отступ под нижнюю навигацию */
@media (max-width: 767px) {
  body {
    padding-bottom: 70px;
  }
}

/* Спиннер загрузки */
.loading-spinner {
  text-align: center;
  padding: 40px;
  color: #6c757d;
  font-size: 14px;
}

.loading-spinner:before {
  content: '⏳';
  display: inline-block;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Сообщение об ошибке */
.error-message {
  text-align: center;
  padding: 40px;
  color: #dc3545;
  background: #fff3f3;
  border-radius: 12px;
  margin: 20px;
}

/* Пустой каталог */
.empty-catalog {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
  background: #f8f9fa;
  border-radius: 16px;
  margin: 20px;
}

/* Специфичные для страниц */
.cart-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contacts-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Chat Section */
.chat-section {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 24px 24px 24px 8px;
  font-size: 15px;
  background: #ffffff;  /* Белый фон */
  color: var(--dark);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);  /* Лёгкая тень для объёма */
}

/* Messages Area */
.messages-area {
  background-color: #e8f0fe;
  background-image: radial-gradient(#c5d5ea 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 20px 20px 4px 20px;  /* верх 20, низ 8, лево 20, право 20 */
  /* border-bottom: 1px solid #dee2e6; */
  min-height: 150px;
  overflow-y: auto;
}

.message {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.message:last-child {
  margin-bottom: 0;
}

.message.bot {
  justify-content: flex-start;
}

/* Avatar */
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

@media (max-width: 767px) {
  .avatar {
    width: 32px;
    height: 32px;
  }
}



/* Catalog Section */
.catalog-section {
  flex: 1;
  background-color: #ffffff;
  /* background-image: radial-gradient(#c5d5ea 1px, transparent 1px);*/
  background-size: 20px 20px;
  padding: 20px;
  border-bottom: 1px solid #dee2e6;
  min-height: 150px;
  overflow-y: auto;
}

.catalog-header {
  /* margin-bottom: 20px; */
  /* padding-bottom: 12px; */
  /* border-bottom: 1px solid var(--border); */
  position: sticky;
  top: 0;
  background-color: #ffffff;
  /*background-image: radial-gradient(#c5d5ea 1px, transparent 1px);*/
  background-size: 20px 20px;
  padding: 0px;  /* верхний отступ уменьшен с 20px до 0px */
  z-index: 5;
}

.catalog-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
}

/* Products Grid -- Количество колонок */
.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* На мобильных (по умолчанию) */
  gap: 16px;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr); /* На планшетах (≥640px) */
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr); /* На десктопе (≥1024px) */
  }
}

/* Product Card */

.product-model {
  font-size: 11px;
  color: #6c757d;
  margin-top: -2px;
  margin-bottom: 6px;
  font-weight: normal;
}

.product-card {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

/* Product Image */
.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

@media (max-width: 767px) {
  .product-image {
    border-radius: 10px;
  }
}

/* Стили для спецификаций товара */
/* Product Specs */
.product-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.product-specs li {
  padding: 4px 0;
  font-size: 12px;
  color: var(--secondary);
  position: relative;
  padding-left: 16px;
  line-height: 1.0;   /* ← интерлиньяж (1.4 = 140% от размера шрифта) */
}

.product-specs li:before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: bold;
}

@media (max-width: 767px) {
  .product-specs li {
    font-size: 10px;
    padding: 3px 0 3px 14px;
  }
  .product-specs li:before {
    left: 2px;
  }
}

.product-title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 15px;
}

.product-desc {
  font-size: 12px;
  color: var(--secondary);
  margin: 8px 0;
  flex: 1;
}

.product-price {
  font-weight: 600;
  color: var(--primary);
  margin-top: 8px;
  font-size: 14px;
}

/* Add to Cart Button */
.add-to-cart-btn {
  border: none;
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 12px;
  width: 100%;
  transition: all 0.2s;
  font-family: inherit;
}

.add-to-cart-btn:hover {
  transform: translateY(-1px);
}

.add-to-cart-btn.product-btn {
  background: var(--success);
  color: white;
}

.add-to-cart-btn.product-btn:hover {
  background: #146c43;
}

.add-to-cart-btn.service-btn {
  background: var(--primary);
  color: white;
}

.add-to-cart-btn.service-btn:hover {
  background: var(--primary-dark);
}

/* Cart Badge */
.cart-badge {
  background: #dc3545;
  color: white;
  border-radius: 30px;
  font-weight: bold;
  text-align: center;
  z-index: 10;
}

@media (min-width: 768px) {
  .cart-badge {
    position: static;
    margin-left: 4px;
    display: inline-block;
    padding: 2px 7px;
    font-size: 11px;
    min-width: 20px;
  }
}

@media (max-width: 767px) {
  .cart-badge {
    position: absolute;
    top: -4px;
    right: 4px;
    padding: 2px 5px;
    font-size: 9px;
    min-width: 16px;
  }
}

/* Cart Page */
.cart-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.cart-items {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item:hover {
  background: var(--light);
}

.cart-item-info {
  display: flex;
  align-items: center;
  flex: 2;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f7;
  margin-right: 12px;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-info {
  flex: 1;
}

.item-name {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.item-price {
  color: var(--secondary);
  font-size: 13px;
}

.item-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--light);
  padding: 4px 12px;
  border-radius: 40px;
}

.quantity-btn {
  background: white;
  border: 1px solid var(--border);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
  font-family: inherit;
}

.quantity-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.quantity-num {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
}

.item-total {
  font-weight: 700;
  color: var(--dark);
  min-width: 80px;
  text-align: right;
}

.delete-item {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
  color: var(--secondary);
}

.delete-item:hover {
  background: rgba(220, 53, 69, 0.1);
  color: var(--danger);
  transform: scale(1.1);
}

.cart-summary {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 16px;
}

.total-row {
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 20px;
  font-weight: 800;
  font-size: 20px;
  color: var(--dark);
}

.checkout-btn {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 40px;
  font-size: 17px;
  font-weight: 600;
  margin-top: 24px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.checkout-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.empty-cart {
  text-align: center;
  padding: 48px 24px;
  background: white;
  border-radius: var(--radius);
}

.empty-cart-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.empty-cart h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.empty-cart p {
  color: var(--secondary);
  margin-bottom: 24px;
}

.continue-shopping {
  display: inline-block;
  padding: 12px 32px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.2s;
}

.continue-shopping:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Contacts Page */
.contacts-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.contacts-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.contacts-header {
  text-align: center;
  margin-bottom: 32px;
}

.contacts-header h1 {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.contacts-header p {
  color: var(--secondary);
}

.contact-info {
  margin: 32px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  border-radius: var(--radius);
  transition: background 0.2s;
  cursor: pointer;
}

.contact-item:hover {
  background: var(--light);
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.contact-details {
  flex: 1;
}

.contact-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 17px;
  font-weight: 500;
  color: var(--dark);
}

.contact-value a {
  color: var(--primary);
  text-decoration: none;
}

.work-hours {
  background: var(--light);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin: 24px 0;
}

.work-hours strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.map-placeholder {
  background: linear-gradient(135deg, var(--light), var(--border));
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 24px 0;
  color: var(--secondary);
}

.legal-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.legal-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 40px;
  transition: all 0.2s;
}

.legal-link:hover {
  background: var(--light);
}

/* Notification */
.cart-notification {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--success);
  color: white;
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  pointer-events: none;
}

.cart-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (min-width: 768px) {
  .cart-notification {
    bottom: 30px;
  }
}

@media (max-width: 767px) {
  .cart-notification {
    bottom: 80px;
    font-size: 12px;
    padding: 10px 20px;
    white-space: nowrap;
  }
}

/* Адаптация для мобильных */
@media (max-width: 767px) {
  .main-content {
    padding: 12px;
    padding-bottom: 80px;
  }
  
  .messages-area {
    padding: 16px;
  }
  
  .catalog-section {
    padding: 0 16px 16px 16px;
	background-size: 20px 20px;
  }
  
  .catalog-header h2 {
    font-size: 16px;
  }
  
  .products-grid {
    gap: 12px;
  }
  
  .product-card {
    padding: 12px;
  }
  
  .product-title {
    font-size: 13px;
  }
  
  .product-desc {
    font-size: 10px;
  }
  
  .product-price {
    font-size: 18px;
  }
  
  .add-to-cart-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .bubble {
    max-width: 85%;
    font-size: 14px;
  }
  
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .cart-item-info {
    width: 100%;
  }
  
  .item-controls {
    width: 100%;
    justify-content: space-between;
  }
  
  .cart-item-image {
    width: 50px;
    height: 50px;
  }
  
  .contacts-card {
    padding: 24px;
  }
  
  .contact-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  
  .contact-value {
    font-size: 15px;
  }
}

/* Scrollbar */
.catalog-section::-webkit-scrollbar,
.messages-area::-webkit-scrollbar,
.cart-container::-webkit-scrollbar,
.contacts-container::-webkit-scrollbar {
  width: 6px;
}

.catalog-section::-webkit-scrollbar-track,
.messages-area::-webkit-scrollbar-track,
.cart-container::-webkit-scrollbar-track,
.contacts-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.catalog-section::-webkit-scrollbar-thumb,
.messages-area::-webkit-scrollbar-thumb,
.cart-container::-webkit-scrollbar-thumb,
.contacts-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.catalog-section::-webkit-scrollbar-thumb:hover,
.messages-area::-webkit-scrollbar-thumb:hover,
.cart-container::-webkit-scrollbar-thumb:hover,
.contacts-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Utilities */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 8px;
}

.mt-3 {
  margin-top: 16px;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-3 {
  margin-bottom: 16px;
}

/* Direct Form (обращение к руководителю) */
.direct-form {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
}

.direct-form h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.direct-form .subtitle {
  color: var(--secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

.direct-form .form-group {
  margin-bottom: 20px;
}

.direct-form .form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--dark);
}

.direct-form .form-group label span {
  color: var(--danger);
}

.direct-form .form-group input,
.direct-form .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s;
}

.direct-form .form-group input:focus,
.direct-form .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.direct-form .form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.direct-submit-btn {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.direct-submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.direct-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Form Notification */
.form-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--success);
  color: white;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  pointer-events: none;
}

.form-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.form-notification.error {
  background: var(--danger);
}

@media (max-width: 767px) {
  .direct-form {
    padding: 20px;
  }
  
  .direct-form h3 {
    font-size: 18px;
  }
  
  .direct-form .form-group input,
  .direct-form .form-group textarea {
    padding: 10px 14px;
    font-size: 14px;
  }
  
  .direct-submit-btn {
    padding: 12px 20px;
    font-size: 15px;
  }
  
  .form-notification {
    bottom: 80px;
    font-size: 12px;
    padding: 10px 20px;
    white-space: nowrap;
  }
}

/* Футер собственности */
.policy-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
    text-align: center;
    font-size: 12px;
    color: #6c757d;
}

.policy-footer a {
    color: #0d6efd;
    text-decoration: none;
}

.policy-footer a:hover {
    text-decoration: underline;
}

/* ============================================================
   СЛАЙДЕР С КАРТИНКАМИ (МИНИМАЛИСТИЧНЫЙ)
   ============================================================ */

.simple-carousel {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 20px auto 0;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}

.simple-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 25%; /* 4:1 */
  background: transparent;
}

.simple-carousel-track {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.simple-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  display: block;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}

.slide-content {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============================================================
   ЗАТЕМНЕННЫЕ КРАЯ
   ============================================================ */

.simple-carousel::before,
.simple-carousel::after {
	display: none;
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.simple-carousel::before {
  left: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.15), transparent);
  border-radius: 12px 0 0 12px;
}

.simple-carousel::after {
  right: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.15), transparent);
  border-radius: 0 12px 12px 0;
}

/* ============================================================
   КНОПКИ — ТОЛЬКО СТРЕЛКИ (БЕЗ ФОНА И РАМОК)
   ============================================================ */

.simple-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none !important;
  border: none !important;
  color: rgba(255,255,255,0.5);
  font-size: 36px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  width: auto;
  height: auto;
  outline: none;
}

/* Левая кнопка */
.simple-carousel-btn.prev {
  left: 16px;
}

.simple-carousel-btn.prev:hover {
  transform: translateY(-50%) scale(1.2);
  color: rgba(255,255,255,0.9);
}

/* Правая кнопка */
.simple-carousel-btn.next {
  right: 16px;
}

.simple-carousel-btn.next:hover {
  transform: translateY(-50%) scale(1.2);
  color: rgba(255,255,255,0.9);
}

/* Убираем фокус */
.simple-carousel-btn:focus {
  outline: none;
}

/* Эффект при наведении на слайд */
a.simple-carousel-slide:hover .slide-image {
  transform: scale(1.02);
  transition: transform 0.4s ease;
}

a.simple-carousel-slide:active .slide-image {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

/* ============================================================
   ТОЧКИ
   ============================================================ */

.simple-carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.simple-carousel-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.simple-carousel-dot.active {
  background: white;
  transform: scale(1.2);
}

.simple-carousel-dot:hover {
  background: rgba(255,255,255,0.8);
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

/* Планшеты */
@media (max-width: 1024px) {
  .simple-carousel-wrapper {
    padding-top: 30%; /* 3.3:1 */
  }
  
  .simple-carousel::before,
  .simple-carousel::after {
    width: 60px;
  }
}

/* Мобильные */
@media (max-width: 768px) {
  .simple-carousel {
    border-radius: 10px;
    margin-top: 12px;
    overflow: hidden;
  }
  
  .simple-carousel-wrapper {
    padding-top: 50%; /* 2:1 для 600×300 */
    background: transparent;
  }
  
  .simple-carousel-slide {
    overflow: hidden;
  }
  
  .slide-content {
    overflow: hidden;
  }
  
  .slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  
  .simple-carousel::before,
  .simple-carousel::after {
    width: 40px;
  }
  
  .simple-carousel::before {
    border-radius: 10px 0 0 10px;
  }
  
  .simple-carousel::after {
    border-radius: 0 10px 10px 0;
  }
  
  .simple-carousel-btn {
    font-size: 28px;
  }
  
  .simple-carousel-btn.prev {
    left: 8px;
  }
  
  .simple-carousel-btn.next {
    right: 8px;
  }
  
  .simple-carousel-dots {
    bottom: 10px;
    gap: 8px;
  }
  
  .simple-carousel-dot {
    width: 8px;
    height: 8px;
  }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
  .simple-carousel {
    border-radius: 8px;
    margin-top: 8px;
  }
  
  .simple-carousel-wrapper {
    padding-top: 50%; /* 2:1 */
  }
  
  .simple-carousel::before,
  .simple-carousel::after {
    width: 30px;
  }
  
  .simple-carousel::before {
    border-radius: 8px 0 0 8px;
  }
  
  .simple-carousel::after {
    border-radius: 0 8px 8px 0;
  }
  
  .simple-carousel-btn {
    font-size: 22px;
  }
  
  .simple-carousel-btn.prev {
    left: 4px;
  }
  
  .simple-carousel-btn.next {
    right: 4px;
  }
  
  .simple-carousel-dots {
    bottom: 8px;
    gap: 6px;
  }
  
  .simple-carousel-dot {
    width: 6px;
    height: 6px;
  }
}

/* Бейджи */
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 4px;
  background: #e9ecef;
  color: #495057;
}

.badge.warning { background: #fff3cd; color: #856404; }
.badge.promo { background: #f8d7da; color: #721c24; }
.badge.urgent { background: #fce4d6; color: #c45a2c; }
.badge.delivery { background: #d4edda; color: #155724; }

/* Навигация */
.simple-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: 1px solid #dee2e6;
  color: #1a1a2e;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
  padding: 0;
  line-height: 1;
}

.simple-carousel-btn:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.simple-carousel-btn.prev { left: 6px; }
.simple-carousel-btn.next { right: 6px; }

/* Индикаторы */
.simple-carousel-dots {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.simple-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s;
}

.simple-carousel-dot.active {
  background: #0071e3;
  width: 20px;
  border-radius: 3px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
  .simple-carousel { min-height: 70px; }
  .simple-carousel-content { padding: 6px 40px; }
  .simple-carousel-info h3 { font-size: 13px; }
  .simple-carousel-info p { font-size: 12px; }
  .simple-carousel-info a { font-size: 12px; }
  .badge { font-size: 9px; padding: 1px 8px; }
  .simple-carousel-btn { width: 26px; height: 26px; font-size: 14px; }
  .simple-carousel-btn.prev { left: 4px; }
  .simple-carousel-btn.next { right: 4px; }
}

@media (max-width: 480px) {
  .simple-carousel { min-height: 65px; }
  .simple-carousel-content { padding: 4px 32px; }
  .simple-carousel-info h3 { font-size: 12px; }
  .simple-carousel-info p { font-size: 11px; }
  .simple-carousel-info a { font-size: 11px; }
  .badge { font-size: 8px; padding: 1px 6px; }
  .simple-carousel-btn { width: 22px; height: 22px; font-size: 12px; }
  .simple-carousel-btn.prev { left: 2px; }
  .simple-carousel-btn.next { right: 2px; }
  .simple-carousel-dot { width: 5px; height: 5px; }
  .simple-carousel-dot.active { width: 14px; }
}

.btn {
  /* База для всех кнопок */
  display: inline-block;
  padding: 12px 28px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.23536;
  letter-spacing: 0.022em;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 980px; /* Apple-style pill shape */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.btn-primary {
  /* Primary кнопка — фирменный синий Apple */
  background-color: #0071e3;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
}

.btn-primary:hover {
  background-color: #0077ed;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.35);
  transform: scale(1.02);
}

.btn-primary:active {
  background-color: #0066d9;
  transform: scale(0.98);
  box-shadow: 0 1px 4px rgba(0, 113, 227, 0.2);
}

.btn-primary:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 3px;
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}


/* ============================================================
   СТИЛИ ДЛЯ БЛОКА "ЗАКАЗ В ОДИН КЛИК"
   ============================================================ */

/* Основной блок */
.one-click-order {
  background: white !important;
  /*border: 1px solid #d4e4ff !important;*/
  border-radius: 16px !important;
  padding: 16px 20px !important;
  margin: 12px 0 16px 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  /*box-shadow: 0 2px 12px rgba(13, 110, 253, 0.10) !important;*/
  transition: box-shadow 0.3s ease !important;
}

.one-click-order:hover {
  box-shadow: 0 4px 20px rgba(13, 110, 253, 0.18) !important;
}

/* Заголовок */
.one-click-order .order-title {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #0a1e3c !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

.one-click-order .order-title .icon {
  font-size: 1.4rem !important;
}

/* Подзаголовок */
.one-click-order .order-sub {
  font-size: 0.85rem !important;
  color: #2c3e5a !important;
  margin-top: 2px !important;
}

/* Группа формы */
.one-click-order .form-group {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  flex: 1 1 auto !important;
}

/* Поля ввода */
.one-click-order .form-group input,
.one-click-order .form-group input[type="text"],
.one-click-order .form-group input[type="tel"] {
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 2px 12px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  border-radius: 8px !important;
  border: 1px solid #c0d0e0 !important;
  background: #ffffff !important;
  color: #1d1d1f !important;
  font-weight: 400 !important;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif !important;
  box-sizing: border-box !important;
  flex: 1 1 150px !important;
  min-width: 140px !important;
  outline: none !important;
}

.one-click-order .form-group input:focus {
  border-color: #007aff !important;
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.12) !important;
}

.one-click-order .form-group input::placeholder {
  color: #8a9bb0 !important;
  font-weight: 400 !important;
  font-size: 14px !important;
}

/* Кнопка */
.one-click-order .add-to-cart-btn {
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 2px 22px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  border-radius: 40px !important;
  border: none !important;
  background: #007aff !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif !important;
  box-sizing: border-box !important;
  min-width: 110px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.one-click-order .add-to-cart-btn:hover {
  background: #0066d9 !important;
  transform: scale(1.01) !important;
}

.one-click-order .add-to-cart-btn:active {
  transform: scale(0.97) !important;
  background: #0055b3 !important;
}

.one-click-order .add-to-cart-btn:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* Статус */
.one-click-order .form-status {
  font-size: 0.85rem !important;
  color: #1a7a3a !important;
  font-weight: 500 !important;
  min-width: 80px !important;
}

.one-click-order .form-status.error {
  color: #c0392b !important;
}

/* Подсказка доставки */
.one-click-order .oneclick-delivery-hint {
	font-size:14px !important;
	color:#0d6efd !important;
  /*font-size: 13px !important;*/
  /*color: #1a2a3a !important;*/
  font-weight: 400 !important;
  /*background: radial-gradient(circle at 30% 30%, #FFE082, #FFD54F) !important;*/
  /* background:#f0f7ff; */
  padding:2px 10px !important;
  border-radius:12px !important;
  /*padding: 2px 12px !important;*/
  /*border-radius: 20px !important;*/
  border: none !important;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif !important;
  letter-spacing: -0.01em !important;
  margin-top: 4px !important;
  width: 100% !important;
  text-align: center !important;
  box-sizing: border-box !important;
  /* align-self: center; */
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

@media (max-width: 700px) {
  .one-click-order {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
  }
  
  .one-click-order .order-title {
    white-space: normal !important;
    font-size: 1rem !important;
  }
  
  .one-click-order .order-sub {
    font-size: 0.75rem !important;
  }
  
  .one-click-order .form-group {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  
  .one-click-order .form-group input,
  .one-click-order .form-group input[type="text"],
  .one-click-order .form-group input[type="tel"] {
    min-width: unset !important;
    width: 100% !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    flex: 1 1 auto !important;
  }
  
  .one-click-order .add-to-cart-btn {
    width: 100% !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    min-width: unset !important;
    padding: 2px 16px !important;
  }
  
  .one-click-order .form-status {
    font-size: 0.75rem !important;
    min-width: unset !important;
    text-align: center !important;
  }
}

@media (max-width: 400px) {
  .one-click-order {
    padding: 12px 14px !important;
    border-radius: 12px !important;
    margin: 8px 0 12px 0 !important;
    gap: 10px !important;
  }
  
  .one-click-order .order-title {
    font-size: 0.95rem !important;
  }
  
  .one-click-order .order-sub {
    font-size: 0.7rem !important;
  }
  
  .one-click-order .form-group {
    gap: 6px !important;
  }
  
  .one-click-order .form-group input,
  .one-click-order .form-group input[type="text"],
  .one-click-order .form-group input[type="tel"] {
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 2px 10px !important;
    font-size: 13px !important;
  }
  
  .one-click-order .form-group input::placeholder {
    font-size: 13px !important;
  }
  
  .one-click-order .add-to-cart-btn {
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 2px 12px !important;
    font-size: 13px !important;
  }
  
  .one-click-order .form-status {
    font-size: 0.7rem !important;
  }
}

@media (max-width: 350px) {
  .one-click-order {
    padding: 10px 12px !important;
    border-radius: 10px !important;
    gap: 8px !important;
  }
  
  .one-click-order .order-title {
    font-size: 0.85rem !important;
  }
  
  .one-click-order .order-sub {
    font-size: 0.65rem !important;
  }
  
  .one-click-order .form-group input,
  .one-click-order .form-group input[type="text"],
  .one-click-order .form-group input[type="tel"] {
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    padding: 1px 8px !important;
    font-size: 12px !important;
  }
  
  .one-click-order .form-group input::placeholder {
    font-size: 12px !important;
  }
  
  .one-click-order .add-to-cart-btn {
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    padding: 1px 10px !important;
    font-size: 12px !important;
  }
}

/* ============================================================
   ЧЕКБОКС "СРОЧНО"
   ============================================================ */

.urgent-checkbox {
  width: 100%;
  margin: 4px 0 6px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #1a2a3a;
  user-select: none;
  font-weight: 500;
}

/* Скрываем стандартный чекбокс */
.checkbox-label input[type="checkbox"] {
  display: none;
}

/* Кастомный чекбокс */
.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #c0d0e0;
  border-radius: 6px;
  background: white;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

/* Галочка */
.checkbox-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 10px;
  height: 10px;
  background: #0d6efd;
  border-radius: 3px;
  transition: all 0.2s ease;
}

/* Состояние: выбран */
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  border-color: #0d6efd;
  background: #f0f7ff;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Текст чекбокса */
.checkbox-text {
  font-size: 14px;
  color: #1a2a3a;
  font-weight: 500;
}

.checkbox-text .urgent-icon {
  display: inline-block;
  animation: pulse-urgent 2s ease-in-out infinite;
}

/* Анимация для иконки срочности */
@keyframes pulse-urgent {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Эффект при наведении */
.checkbox-label:hover .checkbox-custom {
  border-color: #0d6efd;
}

.checkbox-label:hover .checkbox-text {
  color: #0d6efd;
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

@media (max-width: 768px) {
  .checkbox-label {
    font-size: 13px;
  }
  
  .checkbox-custom {
    width: 18px;
    height: 18px;
  }
  
  .checkbox-custom::after {
    width: 8px;
    height: 8px;
  }
}

/* ============================================================
   СТИЛИ ДЛЯ "ЗАКАЗ В ОДИН КЛИК" С ПЕРЕКЛЮЧАТЕЛЕМ "СРОЧНО"
   ============================================================ */

/* Блок заказа */
.one-click-order {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 12px 0 16px 0;
  border: 1px solid #e0e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.order-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 4px;
}

.order-title .icon {
  margin-right: 8px;
}

.order-sub {
  font-size: 13px;
  color: #6c7a8a;
  margin-bottom: 12px;
  font-weight: 400;
}

/* Форма */
.one-click-order .form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.one-click-order .form-group input {
  flex: 1;
  min-width: 140px;
  padding: 8px 14px;
  border: 1px solid #c0d0e0;
  border-radius: 8px;
  font-size: 14px;
  background: white;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.one-click-order .form-group input:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.one-click-order .form-group input::placeholder {
  color: #a0b0c0;
}

/* Кнопка "Отправить" */
.one-click-order .form-group .service-btn {
  padding: 8px 28px;
  background: #0d6efd;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 120px;
}

.one-click-order .form-group .service-btn:hover {
  background: #0b5ed7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.one-click-order .form-group .service-btn:active {
  transform: translateY(0);
}

.one-click-order .form-group .service-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   ПЕРЕКЛЮЧАТЕЛЬ "СРОЧНО" (SWITCH)
   ============================================================ */

.urgent-switch {
  width: 100%;
  margin: 4px 0 2px 0;
}

/* Скрываем стандартный чекбокс */
#urgentCheckbox {
  display: none;
}

/* Лейбл — кликабельная область */
.switch-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #1a2a3a;
  user-select: none;
  font-weight: 500;
}

/* Кастомный переключатель */
.switch-custom {
  width: 48px;
  height: 26px;
  background: #d1d5db;
  border-radius: 13px;
  transition: all 0.3s ease;
  position: relative;
  flex-shrink: 0;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

/* Круглая ручка */
.switch-custom::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Состояние: включено */
#urgentCheckbox:checked + .switch-label .switch-custom {
  background: #ff6b35;
}

#urgentCheckbox:checked + .switch-label .switch-custom::after {
  transform: translateX(22px);
}

/* Эффект при наведении */
.switch-label:hover .switch-custom {
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.switch-label:hover .switch-text {
  color: #0d6efd;
}

/* ============================================================
   СООБЩЕНИЕ О СРОЧНОСТИ
   ============================================================ */

.urgent-message {
  display: none;
  margin-top: 6px;
  padding: 8px 16px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  font-size: 13px;
  color: #856404;
  animation: fadeIn 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.urgent-message strong {
  color: #d32f2f;
  font-weight: 700;
}

/* Показываем при включенном чекбоксе */
#urgentCheckbox:checked ~ .urgent-message {
  display: block !important;
}

/* ============================================================
   ПОДСКАЗКА ДОСТАВКИ
   ============================================================ */

.oneclick-delivery-hint {
  font-size: 14px !important;
  color: #0d6efd !important;
  font-weight: 400 !important;
  background: #f0f7ff;
  padding: 2px 10px !important;
  border-radius: 12px !important;
  border: none !important;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif !important;
  letter-spacing: -0.01em !important;
  margin-top: 4px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 250px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  display: block;
}

/* Скрываем подсказку при включенной срочности */
.oneclick-delivery-hint.hidden {
  display: none !important;
}

/* Скрываем подсказку при включенной срочности (через JS) */
/* .oneclick-delivery-hint.hidden {
  display: none !important;
} */

/* ============================================================
   СТАТУС ФОРМЫ
   ============================================================ */

.form-status {
  display: block;
  width: 100%;
  font-size: 13px;
  text-align: center;
  padding: 4px 0;
  color: #28a745;
}

.form-status.error {
  color: #dc3545;
}

/* ============================================================
   АНИМАЦИИ
   ============================================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

@media (max-width: 768px) {
  .one-click-order {
    padding: 14px 16px;
  }
  
  .order-title {
    font-size: 16px;
  }
  
  .order-sub {
    font-size: 12px;
  }
  
  .one-click-order .form-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .one-click-order .form-group input {
    min-width: auto;
    width: 100%;
    font-size: 16px; /* Предотвращает зум на iOS */
  }
  
  .one-click-order .form-group .service-btn {
    width: 100%;
    padding: 10px;
    font-size: 15px;
  }
  
  .switch-label {
    font-size: 13px;
  }
  
  .switch-custom {
    width: 42px;
    height: 24px;
  }
  
  .switch-custom::after {
    width: 20px;
    height: 20px;
    top: 2px;
    left: 2px;
  }
  
  #urgentCheckbox:checked + .switch-label .switch-custom::after {
    transform: translateX(18px);
  }
  
  .urgent-message {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .oneclick-delivery-hint {
    font-size: 12px !important;
    width: 100% !important;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .one-click-order {
    padding: 12px 12px;
  }
  
  .order-title {
    font-size: 15px;
  }
  
  .one-click-order .form-group input {
    font-size: 15px;
    padding: 8px 12px;
  }
  
  .one-click-order .form-group .service-btn {
    font-size: 14px;
    padding: 10px;
  }
  
  .switch-custom {
    width: 38px;
    height: 22px;
  }
  
  .switch-custom::after {
    width: 18px;
    height: 18px;
  }
  
  #urgentCheckbox:checked + .switch-label .switch-custom::after {
    transform: translateX(16px);
  }
  
  .urgent-message {
    font-size: 11px;
    padding: 5px 10px;
  }
}

