.qty-cart-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.qty-controls {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.qty-btn {
  width: 28px;
  height: 34px;
  background: #f5f5f5;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s;
}

.qty-btn:hover {
  background: #e0e0e0;
}

.qty-input {
  width: 40px;
  height: 34px;
  border: none;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  text-align: center;
  font-size: 0.9rem;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.add-to-cart-btn {
  flex: 1;
  height: 34px;
  font-size: 0.8rem;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

.add-to-cart-btn .material-icons {
  font-size: 1rem;
}

/* Попап-нотифікація */
.cart-popup-notify {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #4caf50;
  color: #fff;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  z-index: 99999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.cart-popup-notify.visible {
  opacity: 1;
  transform: translateY(0);
}

.card-block:has(.subcategory-heading) {
  display: none !important;
}

/* Ховаємо підменю за замовчуванням */
#_desktop_top_menu .js-sub-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  width: max-content;
  max-width: 320px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 9999;
  border-radius: 4px;
  padding: 8px 0;
}

/* Показуємо при наведенні */
#_desktop_top_menu .category:hover > .js-sub-menu {
  display: block !important;
}

/* Позиціонуємо батьківський елемент */
#_desktop_top_menu .category {
  position: relative;
}

/* Стиль пунктів підменю */
#_desktop_top_menu .js-sub-menu .category a {
  display: block;
  padding: 6px 16px;
  color: #333;
  white-space: nowrap;
  font-size: 0.78rem;
}

#_desktop_top_menu .js-sub-menu .category a:hover {
  background: #f5f5f5;
  color: #0090d9;
  text-decoration: none;
}





#customer-form .form-group:has(input[name="customer_privacy"]) {
  position: absolute;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

/* Розділення способів оплати */
#checkout-payment-step .payment-option {
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
  cursor: pointer;
}

#checkout-payment-step .payment-option:has(input:checked) {
  border-color: #00adc5;
  background-color: #f0fafc;
}

#checkout-payment-step .payment-option label {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

/* Фон під список способів оплати */
#checkout-payment-step .payment-options {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 15px;
}