/*Страница кромки*/

/*Увеличиваем шрифт описания*/
.t-store__prod-popup__info .t-descr_xxs {
font-size: 16px;
line-height: 1.33;
}

/*Скрываем выбор Производителя плиты*/
.js-product-edition-option[data-edition-option-id="Производитель плиты"] {
  display: none;
}

/*Уменьшаем отступ перед шапкой*/
.t-store__prod-snippet__container {
    padding-top: 40px;
    padding-bottom: 40px;
}

/*Скрываем краткое описание*/
.js-store-prod-all-text {
    display: none;
}
/*Каталог → Товар → Кнопка «← В Каталог»*/
.t393.t393__positionstatic {
    padding-top: 8px !important;
    padding-bottom: 0px !important;
}
/*Фильтр*/
.t-descr_xxs {
    font-size: 14px !important;
}
/*Товар → Заголовок и цена*/
.t-name_xs {
    font-size: 16px;
}

/*Корзина*/

/* Скрытие стандартных элементов корзины Tilda */
.t706__carticon, .t706__cartwin, .t706__sidebar, .t706__bubble-container { display: none !important; }

/* Иконка корзины */
.custom-cart-icon {
  position: fixed;
  top: 150px;
  right: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0px 15px 30px -10px rgba(0,11,48,0.2);
  cursor: pointer;
  z-index: 1000;
  /*padding: 10px;*/
}
@media (max-width: 768px) {
    .custom-cart-icon {
        right: 10px;
    }
}

.custom-cart-icon-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.custom-cart-counter {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #f44336;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-family: 'Geologica';
  font-size: 12px;
}
@media (max-width: 768px) {
    .custom-cart-counter {
      padding: 4px 6px;
      top: -10px;
      right: -10px;
    }
}

/* Модальное окно корзины */
.custom-cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5000;
}

.custom-cart-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.1);
}

.custom-cart-modal-content {
  position: relative;
  max-width: 420px;
  margin: 50px auto;
  background: #fff;
  border-radius: 20px;
  padding: 16px 40px 40px 40px;
  box-shadow: 0px 15px 30px -10px rgba(0,11,48,0.2);
  max-height: 80vh; /*Зачем?*/
  overflow-y: auto;
  font-family: 'Geologica';
}
@media (max-width: 768px) {
    .custom-cart-modal-content {
      margin: 8px auto;
      border-radius: 16px;
      padding: 16px 20px 40px 20px;
      box-shadow: 0 2px 30px rgba(0,0,0,0.3);
      max-height: 80vh; /*Зачем?*/
    }
}

.custom-cart-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}

.custom-cart-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #aaa;
  width: 40px;
  height: 40px;
}

/* Содержимое корзины */
.custom-cart-items {
  margin: 20px 0;
}

.custom-cart-item {
  display: flex;
  align-items: flex-end;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.custom-cart-item-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 10px;
  border-radius: 4px;
}

.custom-cart-item-details {
  flex: 1;
  font-size: 15px;
  font-weight: 300;
}

.custom-cart-item-name {
  font-weight: 600;
}

.custom-cart-item-options {
  color: #808080;
  margin-top: 4px;
}

.custom-cart-item-bundle-info {
  margin-top: 12px;
}

.custom-cart-item-bundle-loading {
  color: #999;
  margin-top: 8px;
}

.custom-cart-item-bundle-error {
  color: #f44336;
  margin-top: 8px;
}

.custom-cart-item-quantity {
  display: flex;
  align-items: center;
  margin-left: 12px;
}

.custom-cart-item-minus, .custom-cart-item-plus {
  width: 20px;
  height: 30px;
  background: #fff;
  border: 1px solid #D2DADA;
  border-radius: 50%;
  color: #949e9e;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  font-weight: 500;
}
@media (max-width: 768px) {
    .custom-cart-item-minus, .custom-cart-item-plus {
        font-size: 14px;
        width: 20px;
        height: 32px;
    }
}

.custom-cart-item-minus:focus, .custom-cart-item-plus:focus {
  background-color: #E3E8E8;
  border-color: #E3E8E8;
}
.custom-cart-item-minus:hover, .custom-cart-item-plus:hover {
  background-color: #E3E8E8;
  border-color: #E3E8E8;
}

.custom-cart-item-quantity span {
  margin: 0 10px;
  min-width: 20px;
}

/* Пустая корзина */
.custom-cart-empty {
  text-align: center;
  color: #666;
  display: none;
}

/* Итоги и форма оформления заказа */
.custom-cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
}

.custom-cart-form {
  margin-top: 24px;
}

.custom-cart-form-group {
  margin-bottom: 12px;
}

.custom-cart-form-group input {
  width: 100%;
  padding: 18px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Geologica';
  font-weight: 300;
  font-size: 1em;
  box-sizing: border-box;
}

.custom-cart-checkout {
  width: 100%;
  padding: 16px;
  background: #f34723;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Geologica';
  font-size: 1em;
  border-radius: 100px;
  box-sizing: border-box;
}

.custom-cart-checkout:hover {
  background: #ff5f3d;
}

.custom-cart-shop-link {
  color: #3f51b5;
  text-decoration: underline;
}

/* Уведомление о добавлении товара */
.custom-cart-added-notification {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #4caf50;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
}

.custom-cart-added-notification.visible {
  opacity: 1;
}
