
body {
  font-size: 14px;
  line-height: 1.6;
  color: #111;
  background-color: #fff;
}

h1, h2, h3, .page-title {
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

.product-item__name {
  font-weight: 600;
  font-size: 16px;
}

.product-item__price {
  font-size: 18px;
  font-weight: 700;
  color: #d4af37;
}

.btn {
  font-weight: 600;
}

/* === Мобильная адаптация карточек товаров === */
@media (max-width: 768px) {
  /* Уменьшаем внутренние отступы карточек */
  .product-item {
    padding: 10px 8px !important;
    margin-bottom: 16px;
  }

  /* Увеличиваем зону для клика по названию */
  .product-item__name {
    font-size: 16px !important;
    line-height: 1.4;
    display: block;
  }

  /* Корректируем изображение, чтобы не обрезалось */
  .product-item__img img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  /* Кнопка купить / в корзину */
  .btn.btn-buy,
  .product-item__btn-cart {
    width: 100%;
    font-size: 16px;
    padding: 10px 0;
  }

  /* Скрытие второстепенной информации */
  .product-item__artno,
  .product-item__rating,
  .quickview-link {
    display: none !important;
  }

  /* Текст и цена по центру */
  .product-item__price {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
  }

  /* Выравнивание по центру */
  .product-item__info {
    text-align: center;
  }

  /* Избегаем вылета блоков */
  .product-item__body {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Заголовки и текст поменьше */
  h1, h2 {
    font-size: 22px;
  }

  body {
    font-size: 15px;
  }
}
.is-mobile.mobile-version .details-brand.m-b-md {
    text-align: center;
}

.col-xs-12.details-block{
    display: flex;
    flex-direction: column;
}

.details-row.details-related-products{
    order: 1;
}
.details-row.details-alternative-products{
    order: 2;
}

.products-view-label-new:before, .products-view-label-recommend:before, .products-view-label-gift:before {
    background-color: #1777A0;
}
.products-view-label-new, .products-view-label-recommend, .products-view-label-gift {
    color: #1777A0;
}

.products-view-label-recommend:hover::after {
    background-color: #1777a0 !important;
}


.products-view-label-new:hover::after {
    background-color: #1777a0 !important;
}

#layout .products-view-label-new, #layout .products-view-label-recommend, #layout .products-view-label-gift {
    background-color: #1777a0;
}

.tabs-headers {
    margin-top: -325px;
}

.tabs-horizontal .tabs-content {
    max-width: 900px;
}

html:not(.mobile-version) .details-carousel, .details-tabs {
    max-width: 1100px;
}


 
.details-payment-block {
    justify-content: center;
}

.link-border-bottom{
display:none!important;
}

.ya-pay-button.ya-pay-button_type_checkout.ya-pay-button_theme_black.ya-pay-button_width_max.ya-pay-button_theme-type_dark{
width: 363px;

}

.blocks-on-main-horizontals{
display:none!important;
}



/* Дополнительно можно стилизовать заголовки */
.products-specials-best-h {
    color: #d48806; /* золотистый для хитов */
}

.products-specials-new-h {
    color: #1777a0; /* синий для новинок */
}

.products-specials-discount-h {
    color: #e20a0a; /* красный для скидок */
}

.col-xs-12.col-md-3.col-p-v.child-staticPage-custom{
display:none!important;
}

/* === Цена === */

.products-view .price-current, .products-view .price-new {
    font-size: 23px;
    font-weight: 550;
}

.product-price-info .details-payment .price-current {
    font-size: 50px;
    font-weight: 550;
}

.product-price-info .details-payment .price-old.cs-t-3 {
    font-size: 15px;
    font-weight: 550;
}

.product-price-info .details-payment .price-new.cs-t-1 {
    font-size: 50px;
    font-weight: 550;
} 

.product-categories-header-slim-title {
    font-size: 17px;
    font-weight: 550;
}

.product-categories-name {
    font-size: 8px;
    font-weight: 450;
}

.h2.h-inline.products-specials-discount-h {
    font-size: 50px;
    font-weight: 550;
} 

.h2.h-inline.products-specials-best-h {
    font-size: 50px;
    font-weight: 550;
} 

.h2.h-inline.products-specials-new-h {
    font-size: 50px;
    font-weight: 550;
} 

.menu-general-root-link-text {
    font-size: 15px;
    font-weight: 500;
}

.col-xs-9.details-availability {
    max-width: 85%;
}


.categories-root__items.scroll-always-visible {
    display:none!important;
}



.category-picture {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mainpage-products__header-title a {
    color: #e20a0a;
    font-size: 23px;
    font-weight: 550;
}

/* Скрываем блок "Все товары со скидкой" */
.mainpage-products__all {
    display: none;
}

/* Центрируем заголовок "Скидка!" */
.mainpage-products__header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Дополнительно можно стилизовать сам заголовок */
.mainpage-products__header-title a {
    color: #e20a0a;
    font-size: 24px; /* настроить размер по желанию */
    font-weight: bold;
    text-decoration: none;
}


.product-categories-header-slim-title {
    font-size: 15px
}

.row .col-xs > div[adv-yapay-checkout-button] {
    margin: 0 auto;
    width: fit-content;
}

.col-xs-6 {
    margin: 0 auto;
    float: none;
}

.btn-submit {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.cart .row .col-xs {
    text-align: center;
}

.cart-full-result {
    display: inline-block;
    text-align: center;
}

.iphone-frame {
    position: relative;
    background: #f0f0f0;
    padding: 25px 10px 40px 10px;
    border-radius: 25px;
    border: 2px solid #ccc;
    max-width: 400px; /* Фиксируем максимальную ширину */
    margin: 0 auto;
}

.iphone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;  /* Пропорционально уменьшенный notch */
    height: 16px;
    background: #000;
    border-radius: 0 0 8px 8px;
}

.iphone-frame img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}


.products-view-label-discount:before {
    background-color: #e20a0a;
}
.products-view-label-discount {
    color: #e20a0a;
}

.products-view-label-discount:hover::after {
    background-color: #e20a0a !important;
}

#layout .products-view-label-discount {
    background-color: #e20a0a;
}

/* Маркер скидок */
.products-view-label-discount {
    color: #ffffff;
}

.products-view-label:hover .products-view-label-discount {
    color: #e20a0a;
}

.products-view-label-discount:after {
    background-color: #e20a0a;
}

.products-view-label:hover .products-view-label-discount:after {
    background-color: #ffffff !important;
}