/* ============================================================
   1. БАЗОВЫЕ НАСТРОЙКИ И ПЕРЕМЕННЫЕ
   ============================================================ */
:root {
  /* --- ЦВЕТА БРЕНДА --- */
  --bg-body: #f8f9fa;
  --bg-card: #ffffff;
  --text-main: #2d2d2d;
  --text-light: #6c757d;

  /* ТВОЙ ЗЕЛЕНЫЙ */
  --green-main: #76b028;
  --green-hover: #5e8e20;
  --green-light: #eaf5e1;
  --green-dark: #3e6010;

  /* НАСТРОЙКИ ИНТЕРФЕЙСА */
  --bg-input: #eff2f5;
  --border-radius: 16px;
  --border-light: #e1e1e1;

  /* POPUP ЦВЕТА */
  --dark-header: #1a1a1a;
  --gray-border: #e6e6e6;
  --red-alert: #e74c3c;
  --white: #ffffff;
}

/* ============================================================
   2. КАРТА
   ============================================================ */
#scp-map-container {
  height: 400px !important;
  width: 100% !important;
  background: #e2e8f0;
  border-radius: 12px;
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid #ddd;
  z-index: 1;
  display: block !important;
  position: relative;
}
.leaflet-container {
  height: 100% !important;
  width: 100% !important;
}

/* ============================================================
   3. АНИМАЦИИ
   ============================================================ */
@keyframes shine-effect {
  0% {
    left: -100%;
    opacity: 0;
  }
  20% {
    opacity: 0.4;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes soft-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(118, 176, 40, 0.6);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(118, 176, 40, 0);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(118, 176, 40, 0);
    transform: scale(1);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes scp-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Loader */
.scp-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.scp-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  margin-top: -10px;
  border: 3px solid #fff;
  border-radius: 50%;
  border-top-color: transparent;
  border-right-color: transparent;
  animation: scp-spin 0.5s linear infinite;
}
.scp-loading.green-loader::after {
  border-color: var(--green-main);
}

.pulse {
  animation: soft-pulse 2s infinite;
}

.shine {
  position: relative;
  overflow: hidden;
}
.shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}
.shine:hover::after {
  left: 100%;
}

/* ============================================================
   4. МИНИ-КОРЗИНА (САЙДБАР)
   ============================================================ */
#cart-sidebar,
.widget_shopping_cart,
.widget_shopping_cart_content {
  background: #ffffff !important;
  box-shadow: -5px 0 40px rgba(0, 0, 0, 0.1) !important;
  height: 100%;
}

/* Заголовок */
#cart-sidebar .nasa-tit-mycart,
.widget_shopping_cart .widget-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  color: var(--text-main) !important;
  margin-bottom: 20px !important;
  text-align: center;
}

/* Кнопка закрытия */
#cart-sidebar .cart-close a {
  color: #555 !important;
  font-size: 24px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f5f5f5 !important;
  border-radius: 50%;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}
#cart-sidebar .cart-close a:hover {
  background: var(--green-main) !important;
  color: #fff !important;
  transform: rotate(90deg);
}

/* Список товаров */
.woocommerce-mini-cart-item {
  padding: 15px 0 !important;
  border-bottom: 1px solid #f5f5f5 !important;
  display: flex !important;
  align-items: center !important;
  position: relative;
}
.woocommerce-mini-cart-item img {
  width: 70px !important;
  height: 70px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  margin-right: 15px !important;
}

/* Счетчик в мини-корзине */
.woocommerce-mini-cart .quantity {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #fff !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 50px !important;
  padding: 2px !important;
  width: auto !important;
  min-width: 90px !important;
  height: 32px !important;
  margin-top: 5px !important;
}

.woocommerce-mini-cart .quantity input.qty {
  background: transparent !important;
  border: none !important;
  color: #000000 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  text-align: center !important;
  width: 30px !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
  -moz-appearance: textfield;
}

.woocommerce-mini-cart .quantity .plus,
.woocommerce-mini-cart .quantity .minus {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  background: #fff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  color: #333 !important;
  font-size: 16px !important;
  border: 1px solid #eee !important;
}

.woocommerce-mini-cart .quantity .plus:hover,
.woocommerce-mini-cart .quantity .minus:hover {
  background: var(--green-main) !important;
  color: #fff !important;
  border-color: var(--green-main) !important;
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Кнопки в корзине */
.woocommerce-mini-cart__buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.woocommerce-mini-cart__buttons .button.checkout,
.widget_shopping_cart .button.checkout {
  background: var(--green-main) !important;
  color: #fff !important;
  border-radius: 4px !important;
  padding: 16px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  width: 100% !important;
  display: block !important;
  transition: all 0.3s ease !important;
  border: none !important;
  margin-top: 10px !important;
  position: relative;
  overflow: hidden;
}

.woocommerce-mini-cart__buttons .button.checkout:hover,
.widget_shopping_cart .button.checkout:hover {
  background: var(--green-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(118, 176, 40, 0.4);
}

.woocommerce-mini-cart__buttons .button:not(.checkout),
.widget_shopping_cart .button:not(.checkout) {
  background: #f0f0f0 !important;
  color: #333 !important;
  border-radius: 4px !important;
  text-align: center !important;
  padding: 12px !important;
  font-weight: 600 !important;
  width: 100% !important;
  display: block !important;
}

/* ============================================================
   5. ПОПАПЫ (ОБНОВЛЕННЫЕ СТИЛИ)
   ============================================================ */
.scp-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  backdrop-filter: blur(5px);
}

.scp-popup {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  max-width: 600px;
  width: 95%;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: popIn 0.3s ease;
  display: flex;
  flex-direction: column;
}

.scp-close-x {
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
  font-size: 24px;
  color: #fff;
  z-index: 100;
  font-weight: bold;
  line-height: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.scp-close-x:hover {
  color: #f0f0f0;
  transform: rotate(90deg);
  background: rgba(0, 0, 0, 0.4);
}

/* Header */
.scp-popup-header-clean {
  background: var(--green-main) !important;
  padding: 25px 30px;
  text-align: left;
  border-bottom: 4px solid var(--green-hover);
  position: relative;
}
.scp-popup-header-clean h3 {
  margin: 0;
  color: #fff !important;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}
.scp-badge-text {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  color: #fff !important;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
}

.scp-popup-body {
  padding: 20px 30px 30px;
  background: #fff;
  text-align: center;
  overflow-y: auto;
  max-height: 70vh; /* Скролл если много элементов */
}

/* Список добавок */
.scp-addons-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  margin-top: 10px;
}
.scp-addon-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.2s;
}
.scp-addon-item:hover {
  border-color: var(--green-main);
  box-shadow: 0 5px 15px rgba(118, 176, 40, 0.1);
}

.scp-addon-left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.scp-addon-img-wrap {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scp-addon-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.scp-addon-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.scp-name {
  font-weight: 700;
  font-size: 14px;
  color: #333;
  line-height: 1.2;
}
.scp-price {
  font-size: 13px;
  color: #555;
  font-weight: 500;
}

/* --- НОВЫЕ КНОПКИ +/- ДЛЯ ПОПАПА --- */
.scp-qty-control {
  display: flex;
  align-items: center;
  background: #f1f1f1;
  border-radius: 8px;
  padding: 3px;
  height: 38px;
  min-width: 110px;
}

.scp-qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #fff;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  color: var(--green-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.scp-qty-btn:hover {
  background: var(--green-main);
  color: #fff;
}
.scp-qty-btn.disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
  background: #e0e0e0;
  color: #999;
}

.scp-qty-input {
  width: 40px !important;
  height: 100% !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  font-weight: 800 !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 16px !important;
  color: #333 !important;
  box-shadow: none !important;
}

/* Кнопка ПРОДОЛЖИТЬ */
.scp-btn-green-full {
  width: 100%;
  background: var(--green-main);
  color: #fff;
  padding: 18px;
  font-size: 16px;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.scp-btn-green-full:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(118, 176, 40, 0.3);
}

/* Popup 2 (Split) */
.scp-popup-wide {
  width: 100%;
  max-width: 900px;
}
.scp-popup-split {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 450px;
}
.scp-img-col {
  background-size: cover;
  background-position: center;
  background-color: #f4f4f4;
}
.scp-txt-col {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.scp-btn-row {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.scp-btn-white {
  flex: 1;
  background: #fff;
  border: 2px solid var(--green-main);
  color: var(--green-main);
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}
.scp-btn-white:hover {
  background: var(--green-main);
  color: #fff;
}
.scp-btn-green {
  flex: 1.5;
  background: var(--green-main);
  border: none;
  color: #fff;
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}
.scp-btn-green:hover {
  background: var(--green-hover);
}

/* Popup 3 (Grid) */
.scp-popup-fs {
  width: 95%;
  height: 95%;
  display: flex;
  flex-direction: column;
}
.scp-fs-top {
  padding: 25px;
  text-align: center;
  border-bottom: 1px solid #eee;
}
.scp-fs-mid {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
  background: #f9f9f9;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.scp-fs-bot {
  padding: 20px 40px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Upsell Card */
.upsell-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.upsell-item:hover {
  transform: translateY(-5px);
  border-color: var(--green-main);
}
.upsell-img-wrap {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.upsell-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.upsell-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.upsell-content h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #333;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upsell-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--red-alert);
  margin-bottom: 15px;
}
.upsell-btn {
  width: 100%;
  background: var(--green-main);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  margin-top: auto;
}
.upsell-btn:hover {
  background: var(--green-hover);
}
.upsell-btn.added {
  background: #eee;
  color: #aaa;
  cursor: default;
}

.scp-btn-green-wide {
  background: var(--green-main);
  color: #fff;
  padding: 15px 50px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}
.scp-btn-text {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #777;
  cursor: pointer;
  text-decoration: underline;
  text-transform: uppercase;
}

/* ============================================================
   6. ЧЕКАУТ (ОФОРМЛЕНИЕ)
   ============================================================ */
.scp-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
}
.scp-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}
.scp-col-left {
  flex: 1 1 600px;
}
.scp-col-right {
  flex: 1 1 380px;
  position: sticky;
  top: 20px;
}

.scp-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.scp-card h3 {
  margin-top: 0;
  font-size: 18px;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select,
input[type="date"] {
  background: var(--bg-input) !important;
  border: 2px solid transparent !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  width: 100%;
  margin-bottom: 15px !important;
  font-size: 15px;
  color: #000 !important;
  font-weight: 500;
  box-shadow: none !important;
  box-sizing: border-box;
}
input:focus,
textarea:focus,
select:focus {
  background: #ffffff !important;
  border-color: var(--green-main) !important;
  outline: none;
}
label {
  font-size: 13px;
  font-weight: 700;
  color: #4a5568;
  margin-bottom: 6px;
  display: block;
  margin-left: 5px;
}

.scp-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.scp-delivery-switcher {
  display: flex;
  background: var(--bg-input);
  padding: 5px;
  border-radius: 14px;
  margin-bottom: 25px;
}
.scp-switch-option {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: #718096;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.scp-switch-option.active {
  background: #ffffff;
  color: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.scp-switch-option input[type="radio"] {
  display: none !important;
}

.scp-time-switch {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}
.scp-time-btn {
  flex: 1;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #4a5568;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: 0.2s;
}
.scp-time-btn.active {
  background: var(--green-light);
  border: 2px solid var(--green-main);
  color: var(--green-main);
  font-weight: 800;
}

/* Итоги */
.co-wrap-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #e1e1e1;
}
.co-wrap-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  margin-right: 15px;
  flex-shrink: 0;
}
.co-wrap-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.co-product-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  display: block;
  margin-bottom: 4px;
  color: var(--text-main);
}
.product-total .amount {
  font-weight: 800;
  color: var(--green-main);
}
.order-total th {
  font-size: 16px;
  text-align: left;
}
.order-total td {
  font-size: 20px;
  font-weight: 900;
  color: var(--green-main);
  text-align: right;
}

#payment {
  background: transparent;
  padding: 0;
}
#payment ul.payment_methods {
  padding: 0;
  list-style: none;
  margin: 0 0 15px 0;
}
#payment li {
  background: #fff;
  border: 1px solid #edf2f7;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.2s;
}
#payment li:hover {
  border-color: var(--green-main);
}
#payment label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  margin: 0;
}

#place_order {
  background: var(--green-main) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  padding: 20px !important;
  border-radius: 50px !important;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 10px 20px rgba(118, 176, 40, 0.3);
  margin-top: 15px;
}
#place_order:hover {
  background: var(--green-hover) !important;
  transform: translateY(-2px);
}

/* ============================================================
   7. МАРКЕР КАРТЫ (ФИНАЛЬНАЯ ВЕРСИЯ - КРУПНЫЙ)
   ============================================================ */
.scp-custom-marker-container {
  background: none !important;
  border: none !important;
}
.scp-marker-pin {
  width: 70px;
  height: 70px;
  background-color: #000000;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: -35px;
}
.scp-marker-circle {
  width: 62px;
  height: 62px;
  background-color: #e0e0e0;
  border-radius: 50%;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2px;
}
.scp-marker-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  display: block;
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}
.bounce {
  animation: bounce 2s infinite;
}

/* ============================================================
   8. МОБИЛЬНАЯ ВЕРСИЯ
   ============================================================ */
@media (max-width: 991px) {
  /* 8.1 ЧЕКАУТ */
  .scp-cols {
    flex-direction: column;
  }
  .scp-col-right {
    position: static;
    order: -1;
    margin-bottom: 20px;
  }
  .scp-grid-3 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  input[type="text"],
  select,
  textarea {
    padding: 14px;
    font-size: 16px;
  } /* Крупнее для пальца */

  /* 8.2 ПОПАПЫ (BOTTOM SHEET STYLE) */
  .scp-popup {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 16px 16px 0 0; /* Закругление только сверху */
    position: fixed;
    bottom: 0;
    top: auto; /* Прилепляем к низу */
    margin: 0;
    max-height: 85vh; /* Не более 85% экрана */
    animation: slideUp 0.3s ease-out;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
  }

  @keyframes slideUp {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }

  /* Header попапа */
  .scp-popup-header-clean {
    padding: 15px 20px;
  }
  .scp-popup-header-clean h3 {
    font-size: 16px;
  }
  .scp-badge-text {
    font-size: 10px;
    margin-top: 4px;
  }

  /* Тело попапа */
  .scp-popup-body {
    padding: 15px 15px 30px;
  }

  /* Элементы добавок */
  .scp-addon-item {
    padding: 8px;
    flex-wrap: nowrap;
  }
  .scp-addon-left {
    gap: 10px;
  }
  .scp-name {
    font-size: 13px;
  }
  .scp-addon-img-wrap {
    width: 40px;
    height: 40px;
  }

  /* Контрол количества (побольше для пальца) */
  .scp-qty-control {
    height: 40px;
    min-width: 110px;
    margin-left: auto;
  }
  .scp-qty-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  /* Step 2 (Split) на мобильном */
  .scp-popup-split {
    flex-direction: column;
    display: flex;
  }
  .scp-img-col {
    min-height: 150px;
    flex: none;
    width: 100%;
    height: 150px;
  }
  .scp-txt-col {
    padding: 20px;
  }
  .scp-btn-row {
    flex-direction: column;
  }

  /* Step 3 (Upsell grid) */
  .scp-fs-mid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px;
  } /* 2 колонки */
  .upsell-item {
    padding: 10px;
  }
  .upsell-img-wrap {
    height: 100px;
  }
  .scp-fs-bot {
    flex-direction: column-reverse;
    gap: 15px;
    padding: 15px;
  }
  .scp-btn-green-wide {
    width: 100%;
    padding: 15px;
  }

  /* Крестик закрытия */
  .scp-close-x {
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
  }
}
/* ============================================================
   9. ИСПРАВЛЕНИЯ UI (FIXES) - FINAL
   ============================================================ */

/* 1. Скрываем стандартную доставку */
tr.woocommerce-shipping-totals.shipping,
#shipping_method,
.woocommerce-shipping-fields {
  display: none !important;
}
/* =========================================
   SCP CUTLERY FINAL UI (NEW HTML)
   .scp-cutlery-box
   .scp-cutlery-minus / .scp-cutlery-plus
   .scp-cutlery-qty
========================================= */

.scp-cutlery-box {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 120px !important;
  height: 36px !important;

  border: 1px solid #d9d9d9 !important;
  border-radius: 6px !important;
  background: #fff !important;

  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* кнопки */
.scp-cutlery-box .scp-cutlery-minus,
.scp-cutlery-box .scp-cutlery-plus {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;

  align-items: center !important;
  justify-content: center !important;

  width: 34px !important;
  height: 36px !important;
  min-width: 34px !important;

  background: #f3f3f3 !important;
  color: #111 !important;

  border: none !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1 !important;

  padding: 0 !important;
  margin: 0 !important;

  cursor: pointer !important;
  user-select: none !important;

  /* анти-стили темы */
  text-indent: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  -webkit-text-fill-color: #111 !important;
}

/* разделительные линии */
.scp-cutlery-box .scp-cutlery-minus {
  border-right: 1px solid #e5e5e5 !important;
}

.scp-cutlery-box .scp-cutlery-plus {
  border-left: 1px solid #e5e5e5 !important;
}

/* если тема вдруг вычистит текст */
.scp-cutlery-box .scp-cutlery-plus:empty::before {
  content: "+";
}
.scp-cutlery-box .scp-cutlery-minus:empty::before {
  content: "−";
}

/* инпут */
.scp-cutlery-box .scp-cutlery-qty {
  display: block !important;
  width: 52px !important;
  height: 36px !important;

  border: none !important;
  background: transparent !important;

  text-align: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #111 !important;

  padding: 0 !important;
  margin: 0 !important;

  box-shadow: none !important;
  outline: none !important;

  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

/* убираем стрелки number */
.scp-cutlery-box .scp-cutlery-qty::-webkit-outer-spin-button,
.scp-cutlery-box .scp-cutlery-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* hover */
.scp-cutlery-box .scp-cutlery-minus:hover,
.scp-cutlery-box .scp-cutlery-plus:hover {
  background: #76b028 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Основной контейнер */
.delivery-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 2px solid #eee;
  padding: 15px 20px;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out; /* Плавная анимация */
}

/* Класс, который мы будем добавлять JS-ом, чтобы скрыть полоску */
.delivery-container.minimized {
  transform: translateY(100%); /* Убираем полностью вниз */
  /* Если хочешь оставить торчащий хвостик, используй translateY(80%) */
}

/* Обертка для прогресса */
.progress-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* Текст над полоской */
#delivery-text {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

/* Фон полоски (серый) */
.progress-bg {
  width: 100%;
  height: 10px;
  background-color: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

/* Сама зеленая полоска */
#delivery-progress-bar {
  height: 100%;
  background-color: #28a745; /* Зеленый цвет */
  width: 0%; /* Начальная ширина */
  transition: width 0.5s ease; /* Плавное движение полоски */
}

/* Кнопка закрытия (крестик) */
.toggle-btn {
  position: absolute;
  top: -20px; /* Торчит сверху */
  right: 20px;
  width: 40px;
  height: 40px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  line-height: 40px;
  text-align: center;
  padding: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10000;
}

.toggle-btn:hover {
  background: #000;
}

/* ============================================================
   10. SUSHIPAK LAYOUT: ОДНА КОЛОНКА, НОВЫЙ ХЕДЕР
   ============================================================ */

/* Верхняя жёлто-зелёная полоска */
.scp-top-banner {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #fef7da;
  border: 1px solid var(--green-main);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #3c3c3c;
}
.scp-top-banner strong {
  color: var(--green-main);
}

/* Всегда одна колонка (как первый скрин) */
.scp-cols {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}
.scp-col-left,
.scp-col-right {
  flex: 1 1 100%;
  max-width: 100%;
}
.scp-col-right {
  position: static;
  top: auto;
}

/* Немного под Sushipak-стиль – карты и блоки плотнее друг к другу */
.scp-card-address h3 {
  margin-bottom: 15px;
}
.scp-card-address .scp-grid-3,
.scp-card-address .scp-grid-2 {
  margin-bottom: 10px;
}
.scp-no-apt-row {
  margin-bottom: 10px;
}
.scp-zone-message {
  margin-top: 8px;
  font-weight: 600;
}

/* Блок "Czas dostawy" ближе к Sushipak */
.scp-card-time h3 {
  margin-bottom: 15px;
}
.scp-time-note {
  color: #888;
}

/* Детали (sztućce + комментарий) */
.scp-cutlery-row {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.scp-cutlery-label {
  font-weight: 700;
}

/* "Информация о заказе" – более акцентный заголовок */
.scp-card-order h3 {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Купон – inline поле + кнопка (как кнопки времени на первом скрине) */
.scp-coupon-row {
  display: flex;
  gap: 8px;
}
.scp-coupon-row input[type="text"] {
  margin-bottom: 0 !important;
}
.scp-coupon-row .button {
  border-radius: 12px;
  background: var(--green-main);
  color: #fff;
  font-weight: 700;
  border: none;
}
.scp-coupon-row .button:hover {
  background: var(--green-hover);
}

/* Триггеры раскрывающихся блоков (NIP, kupon) */
.scp-toggle-trigger {
  color: var(--green-main);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}

/* На мобильном ничего дополнительно не меняем – уже и так одна колонка */
@media (max-width: 991px) {
  .scp-wrapper {
    margin-top: 20px;
  }
}
/* =======================================================
   FIX: НЕ ВИДНО ЦИФРЫ QTY В CHECKOUT / CART
======================================================= */

/* Контейнер */
.quantity {
  display: flex !important;
  align-items: center !important;
}

/* Сброс тем, которые прячут input */
.quantity input.qty {
  all: unset !important;
}

/* Принудительное отображение числа */
.quantity input.qty {
  width: 34px !important;
  height: 32px !important;

  text-align: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 32px !important;
  color: #000 !important;

  opacity: 1 !important;
  visibility: visible !important;
  text-indent: 0 !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;

  padding: 0 !important;
  margin: 0 !important;

  pointer-events: none !important; /* клики обрабатывают + - */
}

/* Убираем стрелки браузера */
.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.quantity input.qty {
  -moz-appearance: textfield !important;
}

/* Плюс и Минус */
.quantity a.plus,
.quantity a.minus {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 34px !important;
  height: 32px !important;

  background: #f5f5f5 !important;
  border-radius: 8px !important;

  color: #000 !important;
  cursor: pointer !important;
  user-select: none;

  transition: 0.15s ease;
}

.quantity a.plus:hover,
.quantity a.minus:hover {
  background: var(--green-main, #76b028) !important;
  color: #fff !important;
}

/* =======================================================
   12. SUPER COMPACT DESKTOP LAYOUT
   ======================================================= */
@media (min-width: 992px) {
  /* Общая обёртка */
  .scp-wrapper {
    max-width: 960px;
    margin: 10px auto 20px;
    padding: 0 8px;
  }

  /* Жёлтая полоска */
  .scp-top-banner {
    margin-bottom: 6px;
    padding: 3px 10px;
    font-size: 11px;
    border-radius: 999px;
  }

  /* Карточки шагов */
  .scp-card {
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  }

  .scp-card h3 {
    font-size: 13px;
    margin-bottom: 4px;
    letter-spacing: 0.03em;
  }

  /* Подписи */
  .scp-card label {
    font-size: 11px;
    margin-bottom: 2px;
  }

  /* Поля формы – ниже и компактнее */
  .scp-card input[type="text"],
  .scp-card input[type="tel"],
  .scp-card input[type="email"],
  .scp-card input[type="date"],
  .scp-card textarea,
  .scp-card select,
  .woocommerce-checkout .input-text,
  .woocommerce-checkout textarea,
  .woocommerce-checkout select {
    padding: 5px 8px !important;
    margin-bottom: 4px !important;
    min-height: 28px;
    border-radius: 6px !important;
    font-size: 12px !important;
  }

  .scp-card input::placeholder,
  .scp-card textarea::placeholder {
    font-size: 11px;
  }

  .scp-grid-3,
  .scp-grid-2 {
    gap: 4px;
    margin-bottom: 4px;
  }

  .scp-no-apt-row {
    margin-bottom: 4px;
  }

  /* Карта – ниже и меньше */
  #scp-map-container {
    height: 200px !important;
    margin-top: 6px;
  }

  /* Свитч доставка/самовывоз */
  .scp-delivery-switcher {
    margin-bottom: 8px;
    padding: 2px;
    border-radius: 9px;
  }

  .scp-switch-option {
    padding: 6px 8px;
    font-size: 11px;
  }

  /* Время доставки */
  .scp-time-switch {
    gap: 4px;
    margin-bottom: 6px;
  }

  .scp-time-btn {
    padding: 6px 8px;
    font-size: 11px;
  }

  .scp-time-picker-block {
    margin-top: 4px !important;
  }

  .scp-time-slots-row {
    gap: 4px;
    margin-top: 4px;
  }

  .scp-time-slot-btn {
    padding: 4px 7px;
    font-size: 10px;
    border-radius: 6px;
  }

  .scp-time-note {
    font-size: 10px;
  }

  /* Столовые приборы + коммент */
  .scp-cutlery-row {
    margin-bottom: 6px;
    gap: 6px;
  }

  .scp-cutlery-label {
    font-size: 11px;
  }

  .scp-card-details textarea {
    min-height: 48px;
  }

  .scp-toggle-trigger {
    font-size: 11px;
    margin-top: 3px !important;
  }

  #scp-nip-field,
  #scp-coupon-field {
    margin-top: 3px !important;
  }

  /* Товары в корзине */
  .co-wrap-item {
    padding: 4px 0;
  }

  .co-wrap-img {
    width: 38px;
    height: 38px;
    margin-right: 6px;
    border-radius: 7px;
  }

  .co-product-name {
    font-size: 11px;
    margin-bottom: 1px;
  }

  .product-total .amount {
    font-size: 12px;
  }

  .order-total th {
    font-size: 12px;
  }

  .order-total td {
    font-size: 15px;
  }

  /* Платёжные методы */
  #payment ul.payment_methods {
    margin-bottom: 4px;
  }

  #payment li {
    padding: 6px 8px;
    margin-bottom: 4px;
    border-radius: 7px;
  }

  #payment label {
    font-size: 12px;
  }

  /* Все основные кнопки – меньше */
  .scp-time-btn,
  .scp-switch-option,
  .scp-time-slot-btn,
  .woocommerce button.button,
  .woocommerce a.button,
  .woocommerce input.button {
    font-size: 12px !important;
    padding: 6px 10px !important;
    border-radius: 20px;
  }

  /* Кнопка "Kupuję i płacę" */
  #place_order {
    padding: 10px !important;
    font-size: 13px !important;
    margin-top: 6px !important;
    box-shadow: 0 3px 8px rgba(118, 176, 40, 0.2);
  }

  /* Шаги наверху (01 / 02 / 03) */
  .order-steps {
    margin-bottom: 8px;
  }

  .checkout-breadcrumb .ct-1st {
    font-size: 20px;
  }

  .checkout-breadcrumb .ct-2nd {
    font-size: 13px;
  }

  .checkout-breadcrumb .ct-3th {
    font-size: 10px;
  }

  /* Полоска прогресса снизу */
  .delivery-container {
    padding: 6px 12px;
  }

  .progress-bg {
    height: 6px;
  }

  #delivery-text {
    font-size: 11px;
    margin-bottom: 3px;
  }

  .toggle-btn {
    width: 28px;
    height: 28px;
    top: -14px;
    font-size: 16px;
  }
}

/* =======================================================
   13. SUPER-COMPACT NARROW DESKTOP (ещё уже колонка)
   ======================================================= */
@media (min-width: 1200px) {
  /* Узкий столбец по центру */
  .scp-wrapper {
    max-width: 800px;
    margin: 8px auto 20px;
    padding: 0 8px;
  }

  .scp-top-banner {
    max-width: 800px;
    margin: 0 auto 6px;
  }

  /* Карточки чуть уже и плотнее */
  .scp-card {
    padding: 8px 12px;
    margin-bottom: 8px;
  }

  .scp-card h3 {
    font-size: 13px;
    margin-bottom: 4px;
  }

  /* Инпуты и textarea – ещё ниже */
  .scp-card input[type="text"],
  .scp-card input[type="tel"],
  .scp-card input[type="email"],
  .scp-card input[type="date"],
  .scp-card textarea,
  .scp-card select,
  .woocommerce-checkout .input-text,
  .woocommerce-checkout textarea,
  .woocommerce-checkout select {
    padding: 4px 7px !important;
    min-height: 26px;
    font-size: 11.5px !important;
    border-radius: 6px !important;
  }

  .scp-card .form-row,
  .scp-card .scp-grid-3,
  .scp-card .scp-grid-2,
  .scp-card textarea {
    margin-bottom: 4px !important;
  }

  #scp-map-container {
    height: 190px !important;
    margin-top: 4px;
  }

  .scp-time-btn,
  .scp-switch-option,
  .scp-time-slot-btn {
    font-size: 11px !important;
    padding: 5px 8px !important;
  }

  /* Кнопка "Kupuję i płacę" – уже и ниже */
  #place_order {
    display: block;
    max-width: 320px;
    margin: 8px auto 0 !important;
    padding: 10px 8px !important;
    font-size: 13px !important;
    border-radius: 40px !important;
    box-shadow: 0 3px 8px rgba(118, 176, 40, 0.2);
  }

  /* Платёжные методы – ещё компактнее */
  #payment ul.payment_methods {
    margin-bottom: 4px;
  }

  #payment li {
    padding: 5px 8px;
    margin-bottom: 4px;
    border-radius: 7px;
  }

  #payment label {
    font-size: 11.5px;
  }

  /* Строки товаров – ниже */
  .co-wrap-item {
    padding: 4px 0;
  }

  .co-wrap-img {
    width: 36px;
    height: 36px;
    margin-right: 6px;
  }

  .co-product-name {
    font-size: 11px;
  }

  .product-total .amount {
    font-size: 12px;
  }
}
/* Скрываем лейблы над инпутами на чекауте, оставляем только placeholder */
.scp-wrapper .woocommerce-billing-fields__field-wrapper label,
.scp-wrapper .woocommerce-shipping-fields__field-wrapper label,
.scp-wrapper .woocommerce-additional-fields__field-wrapper label {
  display: none !important;
}

/* Чуть уменьшим сами плейсхолдеры, чтобы было аккуратнее */
.scp-wrapper .woocommerce-billing-fields__field-wrapper input::placeholder,
.scp-wrapper .woocommerce-billing-fields__field-wrapper textarea::placeholder,
.scp-wrapper .woocommerce-shipping-fields__field-wrapper input::placeholder,
.scp-wrapper .woocommerce-shipping-fields__field-wrapper textarea::placeholder,
.scp-wrapper .woocommerce-additional-fields__field-wrapper input::placeholder,
.scp-wrapper
  .woocommerce-additional-fields__field-wrapper
  textarea::placeholder {
  font-size: 13px;
  opacity: 0.7;
}
/* ===== Сводка: Produkty / Dostawa / Całkowity ===== */
.scp-summary-box {
  margin-top: 15px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  max-width: 420px;
}

.scp-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 4px 0;
}

.scp-summary-row-total {
  margin-top: 4px;
  border-top: 1px solid #e2e8f0;
  padding-top: 6px;
  font-weight: 700;
}

.scp-summary-label {
  color: #4b5563;
}

.scp-summary-row-total .scp-summary-label {
  color: #111827;
}

.scp-summary-value {
  color: #16a34a;
}

/* ============================
   SCP MAP HEIGHT FIX (DESKTOP)
   ============================ */

#scp-map-container {
  width: 100%;
  height: 360px; /* основная высота */
  min-height: 320px; /* страховка */
  border-radius: 12px;
  overflow: hidden;
}

/* если карта внутри какого-то обёрточного блока */
.scp-map-wrap,
.scp-map-block {
  width: 100%;
}

/* ============================
   SCP MAP HEIGHT FIX (MOBILE)
   ============================ */

@media (max-width: 991px) {
  #scp-map-container {
    height: 300px;
    min-height: 260px;
  }
}

@media (max-width: 480px) {
  #scp-map-container {
    height: 260px;
    min-height: 220px;
  }
}
/* ====== Quantity в заказе: [-] [число] [+] ====== */
.scp-wrapper .quantity {
  display: inline-flex !important;
  align-items: stretch;
  justify-content: center;

  min-width: 140px;
  height: 40px;

  margin: 0;
  padding: 0;

  border: 1px solid #e2e2e2;
  border-radius: 20px;
  background: #f7f8fa;

  box-sizing: border-box;
}

/* центр – поле количества, можно кликать и печатать */
.scp-wrapper .quantity .qty {
  order: 2;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;

  border: 0;
  margin: 0;
  padding: 0;

  text-align: center;
  background: transparent;

  font-weight: 600;
  font-size: 14px;

  box-shadow: none;
  box-sizing: border-box;
}

/* убираем стрелочки у number */
.scp-wrapper .quantity .qty::-webkit-outer-spin-button,
.scp-wrapper .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.scp-wrapper .quantity .qty[type="number"] {
  -moz-appearance: textfield;
}

/* минус слева, плюс справа */
.scp-wrapper .quantity .minus,
.scp-wrapper .quantity .plus {
  position: static !important; /* ломаем absolute темы */
  display: flex !important;
  align-items: center;
  justify-content: center;

  flex: 0 0 40px;
  height: 100%;

  margin: 0;
  padding: 0;

  border: 0;
  background: transparent;
  cursor: pointer;

  color: #333;
  text-decoration: none;

  transition: background 0.15s ease, color 0.15s ease;
}

.scp-wrapper .quantity .minus {
  order: 1;
  border-right: 1px solid #e2e2e2;
}
.scp-wrapper .quantity .plus {
  order: 3;
  border-left: 1px solid #e2e2e2;
}

/* размеры иконок SVG */
.scp-wrapper .quantity .plus svg,
.scp-wrapper .quantity .minus svg {
  width: 12px;
  height: 12px;
}

/* hover */
.scp-wrapper .quantity .plus:hover,
.scp-wrapper .quantity .minus:hover {
  background: #eceff3;
  color: #000;
}
/* Фикс порядка элементов quantity именно на checkout */
.scp-wrapper .quantity label {
  display: none !important; /* чтобы скрытый label не лез внутрь флекса */
}

.scp-wrapper .quantity .minus {
  order: 1 !important; /* минус слева  */
}

.scp-wrapper .quantity .qty {
  order: 2 !important; /* число в центре */
  text-align: center !important;
}

.scp-wrapper .quantity .plus {
  order: 3 !important; /* плюс справа  */
}
/* === MINI CART quantity: минус слева, плюс справа === */
.widget_shopping_cart .quantity,
.woocommerce-mini-cart .quantity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  height: 36px;
  min-width: 110px;
  border-radius: 999px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-sizing: border-box;
}

/* скрываем текст label внутри мини-корзины */
.widget_shopping_cart .quantity label,
.woocommerce-mini-cart .quantity label {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* инпут с количеством — по центру */
.widget_shopping_cart .quantity .qty,
.woocommerce-mini-cart .quantity .qty {
  order: 2 !important;
  width: 40px;
  height: 100%;
  text-align: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
  font-weight: 600;
}

/* кнопки +/- */
.widget_shopping_cart .quantity .plus,
.widget_shopping_cart .quantity .minus,
.woocommerce-mini-cart .quantity .plus,
.woocommerce-mini-cart .quantity .minus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

/* минус слева */
.widget_shopping_cart .quantity .minus,
.woocommerce-mini-cart .quantity .minus {
  order: 1 !important;
  border-right: 1px solid #e5e7eb;
}

/* плюс справа */
.widget_shopping_cart .quantity .plus,
.woocommerce-mini-cart .quantity .plus {
  order: 3 !important;
  border-left: 1px solid #e5e7eb;
}

/* SVG внутри +/- чуть темнее */
.widget_shopping_cart .quantity .plus svg,
.widget_shopping_cart .quantity .minus svg,
.woocommerce-mini-cart .quantity .plus svg,
.woocommerce-mini-cart .quantity .minus svg {
  pointer-events: none;
  color: #111827;
}
/* Поле выбора даты (с календарём) */
.scp-date-input {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid #7abf38; /* как у тебя зелёная рамка */
  padding: 0 12px;
  box-sizing: border-box;
  background: #fbfbfb;
}
/* ✅ Фикс чекбокса "warunki i zasady" */
.woocommerce-checkout
  .form-row.validate-required
  .woocommerce-form__label.checkbox {
  display: flex;
  align-items: center;
  gap: 8px; /* расстояние между чекбоксом и текстом */
  cursor: pointer;
}

/* сбрасываем старые кастомные стили */
.woocommerce-checkout
  .form-row.validate-required
  .woocommerce-form__label.checkbox
  input[type="checkbox"].woocommerce-form__input-checkbox {
  -webkit-appearance: auto;
  appearance: auto;
  position: static;
  width: 18px;
  height: 18px;
  margin: 0 8px 0 0;
  transform: scale(1.4); /* делаем больше */
  accent-color: #7ac143; /* зелёный цвет, как кнопка */
  box-shadow: none;
  border-radius: 4px;
}

/* убираем старый ::before, который рисовал полоску */
.woocommerce-checkout
  .form-row.validate-required
  .woocommerce-form__label.checkbox
  input[type="checkbox"].woocommerce-form__input-checkbox::before {
  content: none !important;
}

/* текст рядом с чекбоксом */
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text {
  font-size: 14px;
  line-height: 1.4;
  color: #222;
}
input#terms {
  position: relative;
  left: 130px !important;
}
