.cart-items #edit-checkout {display: none;}
.cart-items #edit-submit {display: none;}
.cart-items .delete-order-item {display: none;}

.layout-region-checkout-secondary {width: initial !important; float: initial !important; margin-bottom: 1.5rem;}
.layout-region-checkout-secondary #edit-sidebar-coupon-redemption-form {display: flex; justify-content: space-between; flex-wrap: wrap;}
.layout-region-checkout-secondary #edit-sidebar-coupon-redemption-form > [data-drupal-messages] {width: 100%;}
.layout-region-checkout-secondary #edit-sidebar-coupon-redemption-form .title_coupon {margin: 0 !important; display: flex; align-items: center; white-space: nowrap; font-weight: 700; font-size: 1.125rem; font-optical-sizing: auto; font-style: normal; line-height: 1.25rem; font-family: Manrope, sans-serif;}
.layout-region-checkout-secondary #edit-sidebar-coupon-redemption-form label {display: none;}
.layout-region-checkout-secondary #edit-sidebar-coupon-redemption-form input {max-width: 500px; line-height: normal !important; padding: .75rem;}
.layout-region-checkout-secondary #edit-sidebar-coupon-redemption-form .form-item-sidebar-coupon-redemption-form-code {display: flex; justify-content: space-between; margin: 0;}
.layout-region-checkout-secondary #edit-sidebar-coupon-redemption-form .messages {margin: 0 0 1rem 0 !important;}
.layout-region-checkout-secondary #edit-sidebar-coupon-redemption-form h3 {margin-bottom: .5rem;}

#edit-payment-information > legend {display: none;}
.layout-region-checkout-footer .checkout-order-summary {margin-top: 2rem;}
.layout-region-checkout-footer [data-drupal-selector="edit-actions"],.layout-region-checkout-footer [data-drupal-selector="edit-actions-next"] {margin: 1.5rem 0 0 auto !important;}
#edit-payment-information-billing-information {display: none;}

#edit-payment-information .form-item {margin: 0;}
.layout-region-checkout-footer .order-total-line__subtotal .order-total-line-value {font-weight: bold; font-size: 20px; width: auto; margin-left: 1rem;}
.layout-region-checkout-footer .order-total-line__total .order-total-line-value {font-weight: bold; font-size: 24px; width: auto; margin-left: 1rem;}

.layout-region-checkout-main, .layout-region-checkout-footer {float: none; width: auto; padding-right: 0;}

.checkout-pane-payment-information {margin: 0 !important; padding: 0 !important; max-width: none;}

#edit-review-payment-information {display: none;}

#edit-payment-information [data-drupal-selector="edit-payment-information-payment-method"] > legend {margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-weight: bold;
    font-size: 1.125rem;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.25rem;
    font-family: Manrope, sans-serif;}

.payment-legend {font-size: initial; margin: 0; max-width: none; font-size: 12px; line-height: 14px;}

/* Контейнер для выравнивания */
#edit-payment-information .js-form-type-radio {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

/* Скрываем стандартный радио-инпут и задаем свои размеры */
#edit-payment-information input[type="radio"] {
  appearance: none; /* Убирает стандартный стиль браузера */
  -webkit-appearance: none;
  
  width: 22px;
  height: 22px;
  border: 2px solid #8e5495; /* Цвет обводки (фиолетовый как на макете) */
  border-radius: 50%;
  background-color: transparent;
  outline: none;
  cursor: pointer;
  
  position: relative; /* Нужно для позиционирования внутреннего круга */
  margin-right: 12px;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Создаем внутренний круг через псевдоэлемент ::after */
#edit-payment-information input[type="radio"]::after {
  content: "";
  display: block;
  width: 12px; /* Размер внутреннего круга */
  height: 12px;
  border-radius: 50%;
  background-color: #8e5495; /* Цвет заливки */
  
  /* Изначально внутренний круг невидим и уменьшен */
  opacity: 0;
  transform: scale(0);
  -webkit-transform: scale(0);
  transition: all 0.2s ease-in-out;
}

/* Состояние при активации (checked) */
#edit-payment-information input[type="radio"]:checked::after {
  opacity: 1;
  transform: scale(1);
  -webkit-transform: scale(1);
}

/* Дополнительно: стиль при наведении для лучшего UX */
#edit-payment-information input[type="radio"]:hover {
  border-color: #7a4680;
  background-color: rgba(142, 84, 149, 0.05);
}

#edit-payment-information label {
  cursor: pointer;
  font-size: 16px;
  user-select: none;
  margin: 0 !important;
  font-weight: bold;
}

@media (max-width: 975px){
  .layout-region-checkout-secondary #edit-sidebar-coupon-redemption-form input {max-width: none;}
  .layout-region-checkout-secondary #edit-sidebar-coupon-redemption-form {flex-direction: column; gap: 1rem;}
  #edit-payment-information .form-item>label {display: initial !important;}
}

/* Мобильное меню */
.mobile-menu-dropdown {
  background-color: #ffffff !important;
  z-index: 999 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.mobile-menu-dropdown ul li a {
  transition: color 0.2s ease;
}

.mobile-menu-dropdown ul li a:hover {
  color: #8e5495; /* Фиолетовый цвет проекта */
}