.mlink-button {
    border-radius: 15px!important;
    padding: 8px 14px 9px!important;
}

.wa-types-list .wa-name div {
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.wa-types-list .wa-name img {
    max-height: 40px;
}

#js-delivery-types-section .wa-types-list .wa-type-wrapper {
    display: flex;
    flex-direction: column;
}

.wa-type-wrapper .wa-name {
    flex: 1;
}

.product-available__tooltip {
    font-size: 12px;
}

@media screen and (min-width: 1024px) {
    #js-delivery-types-section .wa-types-list .wa-type-wrapper {
        width: calc(100% / 2 - 15px) !important;
    }
}
@media screen and (max-width: 1024px) and (min-width: 420px) {
    .order-form-decorator .wa-step-confirm-section .wa-actions-section .wa-button, .order-form-decorator .wa-step-confirm-section .wa-actions-section .wa-terms-section, .order-form-decorator .wa-types-list {
        display: flex;
        flex-wrap: wrap;
    }
    #js-delivery-types-section .wa-types-list .wa-type-wrapper {
        width: calc(100% / 2 - 8px) !important;
    }
    #js-delivery-types-section .wa-types-list .wa-type-wrapper:nth-child(odd) {
        margin-right: 15px;
    }
}





#cc4_pro { max-width: 1100px; }
#cc4_pro .info__main .info__title {
    margin-bottom: 0;
    width: 45%;
    text-align: center;
    background: #fff;
    z-index: 2;
}
#cc4_pro .info__main {
    padding-top: 95px;
}
#cc4_pro .info__main .info__name {
     width: 100%;
    justify-content: center;
    align-items: center;
    background: #fff;
    z-index: 2;
}
#cc4_pro .info__main .info__logobox { top: 30px; }
#cc4_pro .info__main .info__bg { top: 0; }
#cc4_pro .info__reasons { padding-top: 60px; }
#cc4_pro .info__reasons .info__items {
    margin-top: 40px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
#cc4_pro .info__reasons .info__items > div { flex: 0 0 100%; }
#cc4_pro .info__reasons .info__bg-logo {
    position: absolute;
    z-index: 1;
    bottom: -291px;
    right: 0;
    left: 0;
    margin: 0 auto;
    max-width: 894px;
    padding-left: 12px;
}
#cc4_pro .info__comparison {
    margin-top: 90px;
}
#cc4_pro .info__comparison table {
    margin-top: 40px;
}
#cc4_pro .info__comparison table tr th {
    font-size: 23px;
    font-weight: 500;
    line-height: 26px;
    text-align: center;
}
#cc4_pro .info__comparison table tr td {
    position: relative;
    font-size: 23px;
    font-weight: 500;
    text-align: center;
    color: #fff;
    background: rgba(33, 38, 42, 1);
    padding: 8px 0;
}
#cc4_pro .info__comparison table tr:not(:last-child) td:after {
    content: "";
    border-bottom: 1px solid;
    border-image-source: linear-gradient(90deg, rgba(153, 153, 153, 0) 0, #c1ccdf 50%, rgba(153, 153, 153, 0) 100%);
    border-image-slice: 1;
    display: inline-block;
    width: 79%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}
#cc4_pro .info__comparison table tr > * {
    width: 25%;
}
#cc4_pro .info__comparison table tr td .info__table-bg {
    position: absolute;
    width: 100%;
    top: 0;
    box-shadow: 0px 0px 15px 15px rgba(33, 38, 42, 0.18);
    height: 1091px;
    border-radius: 20px !important;
}
#cc4_pro .info__set {
     margin-top: 90px;
}
#cc4_pro .info__main .info__name::after {
  content: "";
  background-image: url("/wa-data/public/shop/themes/megashop3_10_2025/img/webry_info/Group_249.svg");
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  width: 363px;
  height: 65px;
  margin-left: 40px;
}
#cc4_pro .info__reasons .info__bg {
    top: -200px;
    z-index: 0;
    width: 100%;
}
#cc4_pro .info__reasons .info__items .middle {
    display: flex;
    gap: 20px;
}
#cc4_pro .info__reasons .info__items .middle .left {
    display: flex;
    /*width: 70%;*/
    gap: 20px;
}
#cc4_pro .info__reasons .info__items .middle .right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /*width: 30%;*/
}
#cc4_pro .info__reasons .info__item-img {
    box-shadow: unset;
    border-radius: 20px;
    height: 100%;
    width: 100%;
}
#cc4_pro .info__reasons .info__item {

}
#cc4_pro .info__comparison table tbody tr th {
    text-transform: uppercase;
    max-width: 276px;
    padding: 8px 5px;
}
#cc4_pro .info__set .info__bg.info__bg-1 {
    top: -431px;
}
#cc4_pro .info__set .info__items {
    margin-top: 70px;
    flex-direction: column;
}
#cc4_pro .info__set .info__items > div {
    display: flex;
}
#cc4_pro .info__set .info__items .top {
    margin-bottom: 40px;
    gap: 10px;
}
#cc4_pro .info__set .top .info__item {
    width: 25%;
}
#cc4_pro .info__set .bottom .info__item {
    width: 20%;
}
#cc4_pro .info__set .info__item .info__item-text {
    height: 70px;
}
#cc4_pro .info__set .info__desc {
    margin-top: 60px;
}
/*#cc4_pro .info__set .info__bg_bottom { position: absolute; bottom: 0; }*/
#cc4_pro .info__info { margin-top: 152px; }
#cc4_pro .info__info.info__info_type { margin-top: 100px; }
#cc4_pro .info__info .info__bg_bottom { position: absolute; bottom: -295px; }
#cc4_pro .info__certificates .info__bg-logo {
    max-width: 100%;
    top: -106px;
    opacity: unset;
}
@media screen and (max-width: 1024px) {
    #cc4_pro .info__block {
        padding-left: 15px;
        padding-right: 15px;
    }
    #cc4_pro .info__info,
    #cc4_pro .info__info.info__info_type {
        margin-top: 40px;
    }
    #cc4_pro .info__reasons {
        padding-top: 30px;
    }
    #cc4_pro .info__main { padding-top: 30px; }
    #cc4_pro .info__main .info__logobox {
        top: 0;
        position: relative;
        order: -1;
    }
    #cc4_pro .info__reasons .info__bg {
        top: -196px;
    }
    #cc4_pro .info__main .info__name::after {
        width: 200px;
        height: 30px;
        margin-left: 18px;
    }
    #cc4_pro .info__reasons .info__items {
        gap: 5px;
    }
    #cc4_pro .info__reasons .info__items .middle {
        gap: 5px;
    }
    #cc4_pro .info__reasons .info__items .middle .left { gap: 5px; }
    #cc4_pro .info__reasons .info__items .middle .right {
        gap: 5px;
    }
    #cc4_pro .info__reasons .info__items .middle .right .info__item {
        height: 49%;
    }
    #cc4_pro .info__comparison {
        margin-top: 40px;
    }
    #cc4_pro .info__comparison .info__wrapper {
        overflow-x: auto;
    }
    #cc4_pro .info__reasons .info__bg-logo {
        bottom: -252px;
        padding-left: 0;
    }
    #cc4_pro .info__comparison table {
        width: 100%;
    }
    #cc4_pro .info__comparison table tr > * {
        width: 50%;
    }
    #cc4_pro .info__comparison table tbody tr th {
        font-size: 13px;
        line-height: 14px;
    }
    #cc4_pro .info__comparison table tr td {
        font-size: 15px;
        line-height: 17px;
        padding: 8px;
    }
    #cc4_pro .info__comparison table tr td .info__table-bg {
       display: none;
    }
    #cc4_pro .info__comparison .scroll-logo {
        height: 0;
        width: 100%;
        position: relative;
    }
    #cc4_pro .info__comparison .scroll-logo .has-scroll-logo {
        position: absolute;
        top: 38px;
        right: 15px;
        width: 25px;
        pointer-events: none;
        z-index: 6;
    }
    #cc4_pro .info__set .info__items > div {
        display: flex;
        width: 25%;
        min-width: unset;
        max-width: unset;
    }
    #cc4_pro .info__set .info__item-imgbox {
        height: 200px;
    }
    #cc4_pro .info__set .info__item-img {
        height: 100%;
    }
    #cc4_pro .info__set .info__items {
        margin: 30px 0 0;
        flex-direction: row;
        flex-wrap: wrap;
    }
    #cc4_pro .info__comparison .info__header .image {
        height: 30px;
    }
    #cc4_pro .info__comparison .info__header .image img {
        height: 100%;
    }
    #cc4_pro .info__set {
        margin-top: 40px;
    }
    #cc4_pro .info__set .scroll-logo .has-scroll-logo {
        position: absolute;
        top: 38px;
        right: 15px;
        width: 25px;
        pointer-events: none;
        z-index: 6;
    }
    #cc4_pro .info__set .info__wrapper {
        overflow-x: auto;
    }
    #cc4_pro .info__set .info__desc {
        margin-top: 30px;
    }
    #cc4_pro .info__certificates {
        margin-bottom: 40px;
    }
}
@media screen and (max-width: 600px) {
    #cc4_pro .info__set .info__items {
        flex-wrap: nowrap;
        overflow: auto;
    }
    #cc4_pro .info__set .info__items > div {
        width: auto;
        min-width: 135px;
    }
    #cc4_pro .info__reasons .info__bg-logo {
        bottom: -193px;
        width: 100%;
    }
    #cc4_pro .info__reasons .info__bg {
        top: -102px;
    }
    #cc4_pro .info__set .info__bg.info__bg-1 {
        top: -206px;
    }
}
@media screen and (max-width: 550px) {
    #cc4_pro .info__reasons .info__items .middle {
        flex-direction: column;
    }
    #cc4_pro .info__reasons .info__items .middle .right {
        flex-direction: row;
    }
    #cc4_pro .info__reasons .info__items .middle .right .info__item {
        height: auto;
    }
}
@media screen and (max-width: 550px) {
    #cc4_pro .info__reasons .info__bg {
        top: -21px;
    }
    #cc4_pro .info__info .info__bg_bottom {
        bottom: 35px;
        width: 100%;
    }
}


.product-cart-form__container-image .product-images {
    --image-height: 600px;
}
/*.product-cart-form__container-image .product-images__image .zoom {
    width: 100% !important;
    height: 100% !important;
}
.product-cart-form__container-image .product-images__image a img {
    margin: 0 auto;
    height: 100%;
}
*/

/**/
.search_categories ul.sub-links {
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
}
.search_categories ul.sub-links > li > a {
    background: #f2f2f2;
    color: inherit;
    text-decoration: none;
    display: block;
    padding: 4px 16px;
    transition: box-shadow .2s ease-in-out, border-color .2s ease-in-out;
    text-align: center;
}
.header-top-bar__container-contacts .wb-max .image-box,
.product-cart-form__blocks .wb-max .icon-box__icon > span,
.r-header-contacts__blocks .wb-max .icon-box__icon > span,
.r-header-contacts__messengers .wb-max .image-box,
.r-footer__messengers-list .wb-max .icon-box__icon > span {
    display: inline-block;
    width: 24px;
    height: 24px;
}
.header-top-bar__container-contacts .wb-max .image-box img,
.product-cart-form__blocks .wb-max .icon-box__icon img,
.r-header-contacts__blocks .wb-max .icon-box__icon img,
.r-header-contacts__messengers .wb-max .image-box img,
.r-footer__messengers-list .wb-max .icon-box__icon img {
    max-width: 100%;
    max-height: 100%;
}
.product-add-to-cart__yandexsplitinfo #yandex_pay_2 .ya-pay-widget {
    min-width: 100% !important;
}
/* FIX: mobile product gallery popup */

@media (max-width: 768px) {

    /* скрываем desktop-заголовок в popup */
    .product-gallery-modal .product-gallery__header-product-name {
        display: none !important;
    }

    /* скрываем вертикальные миниатюры слева */
    .product-gallery-modal .product-gallery__thumbs-container {
        display: none !important;
    }

    /* убираем стрелки desktop */
    .product-gallery-modal .gallery-arrow {
        display: none !important;
    }

    /* растягиваем галерею на всю ширину */
    .product-gallery-modal .product-gallery__main {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* изображение на всю ширину */
    .product-gallery-modal .product-gallery__image img {
        width: 100%;
        height: auto;
    }

}

/* краткое описание переход на новая линейка  */

.teyes-discontinued-box{
  position:relative;
  overflow:hidden;
  padding:22px 22px 20px;
  border:1px solid #e7edf5;
  border-radius:18px;
  background:
    radial-gradient(circle at top right, rgba(124,182,236,.18) 0, rgba(124,182,236,0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow:0 12px 30px rgba(16,24,40,.07);
  color:#151821;
}

.teyes-discontinued-box:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg,#9ae51f 0%,#86d61a 45%,#7cb6ec 100%);
}

.teyes-discontinued-badge{
  display:inline-block;
  margin:0 0 12px;
  padding:7px 12px;
  border-radius:999px;
  background:#eef5ff;
  border:1px solid #dbe7f5;
  color:#4b5b73;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.teyes-discontinued-title{
  margin:0 0 10px;
  font-size:24px;
  line-height:1.2;
  font-weight:800;
}

.teyes-discontinued-text{
  margin:0 0 16px;
  font-size:15px;
  line-height:1.65;
  color:#5f6b7a;
  max-width:760px;
}

.teyes-discontinued-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}

.teyes-discontinued-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:13px 18px;
  border-radius:12px;
  background:linear-gradient(180deg,#1d2430 0%,#111821 100%);
  color:#fff;
  text-decoration:none;
  font-size:15px;
  font-weight:700;
  box-shadow:0 10px 22px rgba(17,24,33,.18);
  transition:all .18s ease;
}

.teyes-discontinued-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(17,24,33,.22);
}

.teyes-discontinued-note{
  font-size:13px;
  color:#7a8594;
}

@media (max-width:640px){
  .teyes-discontinued-box{
    padding:18px 16px 16px;
    border-radius:16px;
  }

  .teyes-discontinued-title{
    font-size:20px;
  }

  .teyes-discontinued-text{
    font-size:14px;
  }

  .teyes-discontinued-btn{
    width:100%;
    justify-content:center;
  }
}



/* краткое описание переход на новая линейка  */

.teyes-cc4l-premium,
.teyes-cc4l-premium *{box-sizing:border-box}

.teyes-cc4l-premium{
  --text:#151821;
  --muted:#647084;
  --line:#e7edf5;
  --row-a:#f8fbff;
  --row-b:#ffffff;
  --green-1:#9ae51f;
  --green-2:#86d61a;
  --blue-1:#7cb6ec;
  --blue-2:#68a6e0;
  --card:#ffffff;
  --shadow:0 18px 44px rgba(20,31,56,.08);
  --shadow-soft:0 12px 28px rgba(20,31,56,.06);
  --radius:26px;
  position:relative;
  max-width:1120px;
  margin:0 auto;
  padding:28px 16px 44px;
  background:
    radial-gradient(circle at top center, rgba(124,182,236,.18) 0, rgba(124,182,236,0) 34%),
    radial-gradient(circle at 20% 8%, rgba(154,229,31,.12) 0, rgba(154,229,31,0) 26%),
    #f7f9fc;
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  overflow:hidden;
}

.teyes-cc4l-premium__glow{
  position:absolute;
  inset:auto -120px -120px auto;
  width:340px;
  height:340px;
  background:radial-gradient(circle, rgba(124,182,236,.22) 0, rgba(124,182,236,0) 70%);
  pointer-events:none;
}

.teyes-cc4l-premium__section{ margin-top:42px; position:relative; z-index:1; }

.teyes-cc4l-premium__title{
  margin:0 0 18px;
  text-align:center;
  font-size:40px;
  line-height:1.05;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:-.02em;
}
.teyes-cc4l-premium__title span{ display:block; }

.teyes-cc4l-premium__lead{
  max-width:980px;
  margin:0 auto 18px;
  text-align:center;
  font-size:17px;
  line-height:1.55;
  color:#4f5866;
}

.teyes-cc4l-premium__hero{
  position:relative;
  padding:14px 0 0;
  z-index:1;
}

.teyes-cc4l-premium__kicker{
  margin:0;
  text-align:center;
  font-size:28px;
  line-height:1;
  font-weight:500;
  text-transform:lowercase;
  color:var(--muted);
}

.teyes-cc4l-premium__main{
  margin:8px 0 0;
  text-align:center;
  font-size:64px;
  line-height:.95;
  font-weight:800;
  letter-spacing:-.045em;
  text-transform:uppercase;
}

.teyes-cc4l-premium__hero-badges{
  margin:22px auto 0;
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}

.teyes-cc4l-premium__hero-badge{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(21,24,33,.08);
  background:rgba(255,255,255,.8);
  backdrop-filter:blur(10px);
  box-shadow:var(--shadow-soft);
  font-size:13px;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.teyes-cc4l-premium__views{
  margin-top:28px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
  align-items:start;
}

.teyes-cc4l-premium__view{ text-align:center; }

.teyes-cc4l-premium__mockup{
  position:relative;
  padding:22px;
  border-radius:32px;
  background:linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(245,249,255,.96) 100%);
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 24px 60px rgba(20,31,56,.10);
  overflow:hidden;
  transition:transform .28s ease, box-shadow .28s ease;
}
.teyes-cc4l-premium__mockup:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top left, rgba(154,229,31,.14) 0, rgba(154,229,31,0) 26%),
    radial-gradient(circle at bottom right, rgba(124,182,236,.18) 0, rgba(124,182,236,0) 32%);
  pointer-events:none;
}
.teyes-cc4l-premium__mockup:hover{
  transform:translateY(-4px);
  box-shadow:0 28px 66px rgba(20,31,56,.13);
}
.teyes-cc4l-premium__mockup-screen{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  background:#fff;
}
.teyes-cc4l-premium__mockup-screen img{
  display:block;
  width:100%;
  height:auto;
}

.teyes-cc4l-premium__view-caption{
  margin-top:12px;
  font-size:22px;
  line-height:1.1;
  text-transform:uppercase;
}

.teyes-cc4l-premium__benefits-grid,
.teyes-cc4l-premium__compare-grid,
.teyes-cc4l-premium__trust-grid{
  display:grid;
  gap:14px;
}

.teyes-cc4l-premium__benefits-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.teyes-cc4l-premium__compare-grid{ grid-template-columns:repeat(5,minmax(0,1fr)); }
.teyes-cc4l-premium__trust-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }

.teyes-cc4l-premium__benefit,
.teyes-cc4l-premium__compare-item,
.teyes-cc4l-premium__trust-item{
  position:relative;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(8px);
  border:1px solid #e7ebf2;
  border-radius:22px;
  padding:18px 16px;
  box-shadow:var(--shadow-soft);
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.teyes-cc4l-premium__benefit:hover,
.teyes-cc4l-premium__compare-item:hover,
.teyes-cc4l-premium__trust-item:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(20,31,56,.10);
  border-color:#d7e4f3;
}

.teyes-cc4l-premium__benefit strong,
.teyes-cc4l-premium__compare-title,
.teyes-cc4l-premium__trust-item strong{
  display:block;
  font-size:18px;
  line-height:1.2;
}
.teyes-cc4l-premium__benefit p,
.teyes-cc4l-premium__trust-item p{
  display:block;
  margin:8px 0 0;
  font-size:14px;
  line-height:1.45;
  color:#59606b;
}

.teyes-cc4l-premium__compare-tabs{
  display:flex;
  gap:10px;
  margin-bottom:16px;
}

.teyes-cc4l-premium__compare-tab{
  appearance:none;
  border:none;
  padding:6px 14px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  cursor:pointer;
  transition:all .2s ease;
  background:#eef2f7;
  color:#556070;
}

.teyes-cc4l-premium__compare-tab.is-active[data-target="cc4l"]{
  background:linear-gradient(180deg, var(--green-1), var(--green-2));
  color:#143100;
}

.teyes-cc4l-premium__compare-tab.is-active[data-target="cc3l"]{
  background:#dfe5ee;
  color:#2f3947;
}

.teyes-cc4l-premium__compare-title{
  margin-bottom:12px;
  min-height:66px;
}

.teyes-cc4l-premium__compare-panel{
  display:none;
  font-size:14px;
  line-height:1.5;
  color:#59606b;
}
.teyes-cc4l-premium__compare-panel.is-active{ display:block; }

.teyes-cc4l-premium__compare-value{
  display:block;
  margin-bottom:8px;
  font-size:18px;
  line-height:1.25;
  color:#151821;
  font-weight:700;
}

.teyes-cc4l-premium__features{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}
.teyes-cc4l-premium__feature{
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  transition:transform .24s ease, box-shadow .24s ease;
}
.teyes-cc4l-premium__feature:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(20,31,56,.10);
}
.teyes-cc4l-premium__feature img{
  display:block;
  width:100%;
  height:auto;
}

.teyes-cc4l-premium__specs-wrap{ position:relative; border-radius:30px; }
.teyes-cc4l-premium__specs-hint{
  display:none;
  margin:0 0 10px;
  text-align:center;
  font-size:24px;
  line-height:1;
  color:#66707f;
  font-weight:700;
}

.teyes-cc4l-premium__specs-collapse{
  position:relative;
}

.teyes-cc4l-premium__specs-collapse.is-collapsed .teyes-cc4l-premium__specs-scroll{
  max-height:540px;
  overflow:hidden;
}

.teyes-cc4l-premium__specs-fade{
  display:none;
}

.teyes-cc4l-premium__specs-collapse.is-collapsed .teyes-cc4l-premium__specs-fade{
  display:block;
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:130px;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(247,249,252,0) 0%, rgba(247,249,252,.92) 58%, rgba(247,249,252,1) 100%);
  border-bottom-left-radius:30px;
  border-bottom-right-radius:30px;
}

.teyes-cc4l-premium__specs-toggle-wrap{
  margin:0 0 16px;
  text-align:center;
}

.teyes-cc4l-premium__specs-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:52px;
  padding:0 22px;
  border:none;
  border-radius:999px;
  background:linear-gradient(180deg, var(--green-1) 0%, var(--green-2) 100%);
  color:#143100;
  font-size:15px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.02em;
  cursor:pointer;
  box-shadow:var(--shadow-soft);
  transition:transform .2s ease, box-shadow .2s ease;
}

.teyes-cc4l-premium__specs-toggle:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(20,31,56,.10);
}

.teyes-cc4l-premium__specs-toggle:active{
  transform:translateY(0);
}

.teyes-cc4l-premium__specs-scroll{
  overflow-x:visible;
  overflow-y:hidden;
  border-radius:30px;
  background:#fff;
  box-shadow:var(--shadow);
  border:1px solid #ebeff5;
}

.teyes-cc4l-premium__specs{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
  background:#fff;
  border-radius:30px;
  overflow:hidden;
}
.teyes-cc4l-premium__specs col:nth-child(1),
.teyes-cc4l-premium__specs col:nth-child(3){ width:30%; }
.teyes-cc4l-premium__specs col:nth-child(2),
.teyes-cc4l-premium__specs col:nth-child(4){ width:20%; }

.teyes-cc4l-premium__specs td{
  padding:16px 18px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  vertical-align:middle;
  font-size:16px;
  line-height:1.26;
  word-break:break-word;
}
.teyes-cc4l-premium__specs tr td:first-child{ border-left:none; }
.teyes-cc4l-premium__specs tr:first-child td{ border-top:none; }
.teyes-cc4l-premium__specs tr:not(.teyes-cc4l-premium__specs-section):not(.teyes-cc4l-premium__specs-section--blue):nth-child(odd) td{ background:var(--row-a); }
.teyes-cc4l-premium__specs tr:not(.teyes-cc4l-premium__specs-section):not(.teyes-cc4l-premium__specs-section--blue):nth-child(even) td{ background:var(--row-b); }
.teyes-cc4l-premium__specs td:nth-child(1),
.teyes-cc4l-premium__specs td:nth-child(3){ font-weight:700; text-align:center; }
.teyes-cc4l-premium__specs td:nth-child(2),
.teyes-cc4l-premium__specs td:nth-child(4){ text-align:right; color:#222933; }

.teyes-cc4l-premium__specs-section td{
  background:linear-gradient(180deg, var(--green-1) 0%, var(--green-2) 100%) !important;
  color:#143100;
  text-align:center !important;
  font-size:18px;
  line-height:1.1;
  font-weight:800;
  text-transform:uppercase;
  border-right:none;
  letter-spacing:.01em;
}
.teyes-cc4l-premium__specs-section--blue td{
  background:linear-gradient(180deg, var(--blue-1) 0%, var(--blue-2) 100%) !important;
  color:#17395b;
}
.teyes-cc4l-premium__specs td.teyes-cc4l-premium__cell-empty{ background:transparent; }

.teyes-cc4l-premium__kit{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.teyes-cc4l-premium__kit-item{ text-align:center; }
.teyes-cc4l-premium__kit-card{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:154px;
  padding:18px;
  background:rgba(255,255,255,.88);
  border:1px solid #e7ebf2;
  border-radius:22px;
  box-shadow:var(--shadow-soft);
  overflow:hidden;
  transition:transform .24s ease, box-shadow .24s ease;
}
.teyes-cc4l-premium__kit-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(20,31,56,.10);
}
.teyes-cc4l-premium__kit-card img{
  display:block;
  max-width:100%;
  max-height:124px;
  width:auto;
  height:auto;
  object-fit:contain;
}
.teyes-cc4l-premium__kit-name{
  margin-top:10px;
  font-size:15px;
  line-height:1.2;
  font-weight:600;
  text-transform:uppercase;
}
.teyes-cc4l-premium__kit-note{
  margin:18px 0 0;
  text-align:center;
  font-size:18px;
  line-height:1.25;
  font-weight:700;
  text-transform:uppercase;
}

.teyes-cc4l-premium__retail-head{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:18px;
  align-items:center;
}
.teyes-cc4l-premium__retail-logo{
  width:100%;
  max-width:220px;
  display:block;
  mix-blend-mode:multiply;
}
.teyes-cc4l-premium__retail-text{
  font-size:22px;
  line-height:1.2;
  text-transform:uppercase;
}
.teyes-cc4l-premium__photo,
.teyes-cc4l-premium__certs{
  margin-top:16px;
  background:transparent;
  border:none;
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
}
.teyes-cc4l-premium__photo img,
.teyes-cc4l-premium__certs img{
  display:block;
  width:100%;
  height:auto;
}

.teyes-cc4l-premium__seo{
  margin-top:30px;
  padding-top:22px;
  border-top:1px solid #ececec;
  font-size:16px;
  line-height:1.68;
  color:#353535;
}
.teyes-cc4l-premium__seo h2{
  margin:0 0 12px;
  font-size:24px;
  line-height:1.2;
  font-weight:700;
}
.teyes-cc4l-premium__seo p{ margin:0 0 12px; }

.teyes-cc4l-premium__features-hint,
.teyes-cc4l-premium__benefits-hint,
.teyes-cc4l-premium__kit-hint{
  display:none;
  margin:0 0 10px;
  text-align:center;
  font-size:24px;
  line-height:1;
  letter-spacing:0;
  color:#66707f;
  font-weight:700;
}

.teyes-cc4l-premium__reveal{
  opacity:1;
  transform:none;
}
.teyes-cc4l-premium__reveal.is-visible{
  opacity:1;
  transform:none;
}

@media (prefers-reduced-motion: reduce){
  .teyes-cc4l-premium__reveal,
  .teyes-cc4l-premium__benefit,
  .teyes-cc4l-premium__compare-item,
  .teyes-cc4l-premium__trust-item,
  .teyes-cc4l-premium__feature,
  .teyes-cc4l-premium__kit-card,
  .teyes-cc4l-premium__mockup,
  .teyes-cc4l-premium__compare-tab{
    transition:none !important;
    transform:none !important;
    opacity:1 !important;
  }
}

@media (max-width: 1024px){
  .teyes-cc4l-premium__compare-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width: 900px){
  .teyes-cc4l-premium{ padding:20px 14px 34px; }
  .teyes-cc4l-premium__kicker{ font-size:22px; }
  .teyes-cc4l-premium__main{ font-size:46px; }
  .teyes-cc4l-premium__title{ font-size:30px; }
  .teyes-cc4l-premium__features{ gap:12px; }
  .teyes-cc4l-premium__kit{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .teyes-cc4l-premium__retail-head{ grid-template-columns:1fr; text-align:center; }
  .teyes-cc4l-premium__retail-logo{ margin:0 auto; }
  .teyes-cc4l-premium__benefits-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .teyes-cc4l-premium__compare-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px){
  .teyes-cc4l-premium{ padding:18px 12px 30px; }
  .teyes-cc4l-premium__section{ margin-top:26px; }
  .teyes-cc4l-premium__kicker{ font-size:18px; }
  .teyes-cc4l-premium__main{ font-size:38px; }
  .teyes-cc4l-premium__views{ gap:12px; grid-template-columns:1fr; }
  .teyes-cc4l-premium__view-caption{ font-size:15px; }
  .teyes-cc4l-premium__title{ font-size:22px; margin-bottom:14px; }
  .teyes-cc4l-premium__lead{ font-size:15px; }
  .teyes-cc4l-premium__benefit strong,
  .teyes-cc4l-premium__compare-title,
  .teyes-cc4l-premium__trust-item strong,
  .teyes-cc4l-premium__kit-name{ font-size:16px; }

  .teyes-cc4l-premium__features-hint,
  .teyes-cc4l-premium__benefits-hint,
  .teyes-cc4l-premium__kit-hint,
  .teyes-cc4l-premium__specs-hint{
    display:block;
  }

  .teyes-cc4l-premium__benefits-grid,
  .teyes-cc4l-premium__compare-grid{
    display:grid;
    grid-auto-flow:column;
    gap:12px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:2px 4px 8px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    grid-template-columns:none;
  }
  .teyes-cc4l-premium__benefits-grid{ grid-auto-columns:88%; }
  .teyes-cc4l-premium__compare-grid{ grid-auto-columns:88%; }

  .teyes-cc4l-premium__benefit,
  .teyes-cc4l-premium__compare-item{
    scroll-snap-align:start;
    min-height:148px;
  }

  .teyes-cc4l-premium__features{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:76%;
    gap:12px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:2px 4px 8px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    grid-template-columns:none;
  }
  .teyes-cc4l-premium__feature{ scroll-snap-align:start; }

  .teyes-cc4l-premium__kit{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:72%;
    gap:12px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:2px 4px 8px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    grid-template-columns:none;
  }
  .teyes-cc4l-premium__kit-item{
    scroll-snap-align:start;
    text-align:center;
  }
  .teyes-cc4l-premium__kit-card{ min-height:190px; }
  .teyes-cc4l-premium__kit-card img{ max-height:150px; }
  .teyes-cc4l-premium__kit-name{ margin-top:12px; line-height:1.15; }

  .teyes-cc4l-premium__trust-grid{ grid-template-columns:1fr; }

  .teyes-cc4l-premium__specs-collapse.is-collapsed .teyes-cc4l-premium__specs-scroll{
    max-height:420px;
  }

  .teyes-cc4l-premium__specs-collapse.is-collapsed .teyes-cc4l-premium__specs-fade{
    bottom:0;
    height:110px;
    border-bottom-left-radius:22px;
    border-bottom-right-radius:22px;
  }

  .teyes-cc4l-premium__specs-toggle{
    width:100%;
    font-size:14px;
    min-height:48px;
    padding:0 16px;
  }

  .teyes-cc4l-premium__specs-scroll{
    overflow-x:auto;
    overflow-y:hidden;
    background:transparent;
    border:none;
    box-shadow:none;
    padding-bottom:8px;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
  }

  .teyes-cc4l-premium__specs{
    width:200vw;
    min-width:680px;
    max-width:none;
    background:#fff;
    border-spacing:0;
    table-layout:fixed;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 10px 26px rgba(20,31,56,.07);
  }

  .teyes-cc4l-premium__specs col:nth-child(1),
  .teyes-cc4l-premium__specs col:nth-child(3){ width:24%; }

  .teyes-cc4l-premium__specs col:nth-child(2),
  .teyes-cc4l-premium__specs col:nth-child(4){ width:26%; }

  .teyes-cc4l-premium__specs tr{ display:table-row; }

  .teyes-cc4l-premium__specs td{
    display:table-cell;
    padding:13px 10px;
    font-size:14px;
    border:1px solid var(--line);
    word-break:normal;
    overflow-wrap:anywhere;
  }

  .teyes-cc4l-premium__specs tr td:first-child{ border-left:none; }
  .teyes-cc4l-premium__specs tr:first-child td{ border-top:none; }

  .teyes-cc4l-premium__specs td:nth-child(1),
  .teyes-cc4l-premium__specs td:nth-child(3){
    text-align:left;
    font-weight:700;
  }

  .teyes-cc4l-premium__specs td:nth-child(2),
  .teyes-cc4l-premium__specs td:nth-child(4){
    text-align:left;
    color:#222933;
  }

  .teyes-cc4l-premium__specs tr.teyes-cc4l-premium__specs-section td,
  .teyes-cc4l-premium__specs tr.teyes-cc4l-premium__specs-section--blue td{
    display:table-cell;
    width:auto;
    border:none;
    border-radius:0;
    padding:14px 10px;
    font-size:15px;
    box-shadow:none;
    margin:0;
  }

  .teyes-cc4l-premium__specs td.teyes-cc4l-premium__cell-empty{
    display:table-cell;
    background:transparent;
  }

  .teyes-cc4l-premium__retail-text{ font-size:16px; }
  .teyes-cc4l-premium__seo{ font-size:15px; }
  .teyes-cc4l-premium__seo h2{ font-size:20px; }
}

/* шапка с розыгрышем временный  */

.topbar-promo{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:6px 10px;
    color:#fff;
    font-size:14px;
}

/* ДЕСКТОП */
.topbar-promo-text{
    white-space:nowrap;
}

.topbar-promo-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:4px 10px;
    background:#9ae51f;
    color:#000;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
    font-size:13px;
    transition:.2s;
}

.topbar-promo-btn:hover{
    background:#86d61a;
}

/* МОБИЛКА */
@media (max-width: 768px){

    .topbar-promo{
        flex-direction:column;
        gap:6px;
        padding:8px 10px;
        text-align:center;
    }

    .topbar-promo-text{
        white-space:normal;
        font-size:13px;
        line-height:1.3;
    }

    .topbar-promo-btn{
        width:100%;
        justify-content:center;
        padding:8px 12px;
        font-size:14px;
    }
}


/* перелинковка товаров краткое описание — iOS-сегменты (рестайл 01.09.2026) */
.product-switches {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px 24px !important;
  margin: 14px 0 !important;
}
.product-switches__group {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.product-switches__title {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-weight: 600 !important;
  color: #6e6e73 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}
.product-switches__list {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  gap: 2px !important;
  padding: 3px !important;
  background: rgba(120, 120, 128, .10) !important;
  border: 1px solid rgba(255, 255, 255, .65) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .55), 0 1px 2px rgba(0, 0, 0, .04) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.4) !important;
  backdrop-filter: blur(10px) saturate(1.4) !important;
  border-radius: 999px !important;
  align-self: flex-start !important;
}
.product-switches__chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 44px !important;
  height: 30px !important;
  padding: 0 14px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #1d1d1f !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background .15s ease !important;
}
a.product-switches__chip:hover {
  background: rgba(0, 0, 0, .06) !important;
  color: #1d1d1f !important;
  text-decoration: none !important;
}
.product-switches__chip.is-active {
  background: rgba(255, 255, 255, .78) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.6) !important;
  backdrop-filter: blur(12px) saturate(1.6) !important;
  color: #1d1d1f !important;
  font-weight: 600 !important;
  cursor: default !important;
  border: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(0, 0, 0, .05) !important;
}
.product-switches__chip.is-disabled {
  background: transparent !important;
  color: #a1a1a6 !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* teyes 30.07.2026: вендор в новой теме сузил правую колонку карточки товара
   до 300px — «Запрос счета ЮЛ с 5% НДС» переносился на две строки. Возвращаем 330px. */
@media (min-width: 1024px) {
    .product-cart-form__columns-additional {
        width: 330px;
        min-width: 330px;
    }
}



/* teyes: у вендора .input-search{display:flex} есть только в полном megashop.min.css,
   а страница грузит раздельные css без него — кнопка поиска падала под поле */
.input-search { display: flex; }

/* ===== APPLE LAB: страница категории в стилистике капсул (30.07.2026) ===== */
/* левое меню каталога — карточка */
.content-container_sidebar .catalog-list {
    background: #fff;
    border: 0 !important;
    border-radius: 24px;
    overflow: hidden;
    padding: 12px;
    box-shadow: 0 10px 34px rgba(0,0,0,.08);
}
.content-container_sidebar .catalog-list .catalog-list__link { font-weight: 600; border-radius: 14px; }
.content-container_sidebar .catalog-list .catalog-list__item + .catalog-list__item { margin-top: 2px; }
.content-container_sidebar .catalog-list .catalog-list__item {
    border: 0 !important;
    border-radius: 14px;
    overflow: hidden;
}
.content-container_sidebar .catalog-list .catalog-list__item:hover { background: #f5f5f7; }

/* чипы марок под заголовком */
.catalog-columns__subcategory {
    background: #f5f5f7 !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-weight: 600;
    transition: transform .2s ease, background .2s ease;
}
.catalog-columns__subcategory:hover { background: #e8e8ed !important; transform: translateY(-2px); }
.categories-mini__show-button { border-radius: 999px !important; }

/* баннер над списком */
.products__top-banner-container,
.products__top-banner-container .image-box,
.products__top-banner-container img {
    border-radius: 22px;
    overflow: hidden;
}

/* панель сортировки */
.products-bar {
    background: #f5f5f7;
    border: 0 !important;
    border-radius: 18px;
}
.products-bar select,
.products-bar .select { border-radius: 12px !important; }

/* карточки товаров — капсулы с явными границами и иерархией: фото → имя → цена → CTA */
.products-thumbs__item { border: 0 !important; }
.products-thumbs__item .product {
    border: 1px solid #ececf0 !important;
    border-radius: 20px;
    background: #fff;
    padding: 12px 14px 16px;
    height: 100%;
    box-sizing: border-box;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.products-thumbs__item .product:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
    border-color: transparent !important;
    z-index: 2;
}
.product-thumb__image-container,
.product-thumb__image-box,
.product-thumb__image,
.product-thumb__gallery-image { border-radius: 14px; overflow: hidden; }
/* имя — читаемое, два визуальных уровня выше артикула */
.product-thumb__name,
.product-thumb__name a { font-size: 15px !important; font-weight: 600 !important; line-height: 1.4 !important; color: #1d1d1f !important; }
.product-thumb__sku,
.product-thumb__sku .value__label-text,
.product-thumb__sku .value__value-text { font-size: 12px !important; color: #6E6E73 !important; }
/* цена — главный акцент; служебный лейбл «Цена» убран */
.product-thumb__price-text { display: none !important; }
.product-thumb__price { font-size: 20px !important; font-weight: 700 !important; color: #1d1d1f !important; }
.product-thumb__bonuses { font-size: 12px; }
/* CTA во всю ширину, скругление в общем стиле; иконки-действия ≥40px */
.product-thumb__add-to-cart { border-radius: 999px !important; }
.product-thumb__additional-button { border-radius: 12px; }
.product-thumb__additional-button:hover { background: #f5f5f7; }

/* пагинация */
.paging a, .paging span { border-radius: 999px !important; }
/* ===== /APPLE LAB категория ===== */


/* ===== АУДИТ П.1: плейсхолдер загрузки и заглушка «нет фото» ===== */
.product-thumb__image-box { background: #f5f5f7; }
/* заглушка «нет фото»: тема ставит svg .product-thumb__image_dummy — оформляем поверх серого фона */
.product-thumb__image-box:has(.product-thumb__image_dummy) { position: relative; }
.product-thumb__image-box .product-thumb__image_dummy { opacity: .55; }
.product-thumb__image-box:has(.product-thumb__image_dummy)::before {
    content: '';
    position: absolute; inset: 0;
    background: url('img/logo.PNG') center 42% / 46% auto no-repeat;
    opacity: .06;
    pointer-events: none;
}
.product-thumb__image-box:has(.product-thumb__image_dummy)::after {
    content: 'Фото скоро появится';
    position: absolute; left: 0; right: 0; bottom: 16%;
    text-align: center;
    color: #6E6E73; font-size: 13px; font-weight: 600;
    pointer-events: none;
}

/* ===== АУДИТ П.2: «Предзаказ» — нейтральный статус, не ошибка ===== */
.product-available_out-of-stock { color: #9A5C0D !important; }
.product-available_out-of-stock .icon-box__icon { display: none !important; }


/* ===== АУДИТ П.8: подарки в корзине — карточками ===== */
.addgifts--cart-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}
.addgifts--cart-item .addgifts__header {
    grid-column: 1 / -1;
    font-weight: 700 !important;
    font-size: 15px !important;
    margin: 0 0 2px;
}
.addgifts--cart-item .addgifts__gift--cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f7;
    border-radius: 14px;
    padding: 10px 12px;
    margin: 0 !important;
}
.addgifts--cart-item .addgifts__image { flex: 0 0 44px; }
.addgifts--cart-item .addgifts__img--cart {
    width: 44px; height: 44px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}
.addgifts--cart-item .addgifts__link {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
    line-height: 1.3;
}
@media (max-width: 700px) {
    .addgifts--cart-item { grid-template-columns: 1fr; }
}


/* ===== АУДИТ П.7: «Запрос счёта ЮЛ» — текстовой ссылкой ===== */
.buy1click2-button_profile_2 {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #6e6e73 !important;
    text-decoration: underline !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 4px 0 !important;
    height: auto !important;
    min-height: 0 !important;
}
.buy1click2-button_profile_2:hover { color: #1d1d1f !important; background: transparent !important; }
.buy1click2-button_profile_2 .icon-box,
.buy1click2-button_profile_2 svg,
.buy1click2-button_profile_2 img { display: none !important; }

/* ===== АУДИТ П.12 ОТМЕНЁН 01.09.2026: артикул в плитках возвращён ненавязчиво (просьба владельца) ===== */
.products-thumbs__item .product-thumb__sku { display: block !important; margin: 3px 0 0 !important; line-height: 1.3 !important; } /* десктоп: небольшой зазор от названия; мобильный прижим — в apple-mobile.css */
.products-thumbs__item .product-thumb__sku,
.products-thumbs__item .product-thumb__sku .value__value-text { font-size: 11px !important; color: #86868b !important; font-weight: 400 !important; }
.products-thumbs__item .product-thumb__sku .value__label-text { display: none !important; } /* без слова «Артикул» — только номер */

/* ===== АУДИТ П.13: длинная последняя крошка — многоточием (текст в DOM полный, SEO не трогаем) ===== */
.content__breadcrumbs .breadcrumbs__wrapper > .breadcrumbs__item:last-child {
    max-width: 380px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: bottom;
}


/* ===== Подарки в карточке товара — капсула в новой стилистике ===== */
.product-cart-form__sub-block_addgifts .addgifts {
    background: #f5f5f7 !important;
    border: 0 !important;
    border-radius: 16px;
    padding: 14px 16px !important;
}
.product-cart-form__sub-block_addgifts .addgifts__header {
    color: #1d1d1f !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    margin-bottom: 10px;
}
.product-cart-form__sub-block_addgifts .addgifts__gift {
    background: #fff;
    border-radius: 12px;
    padding: 8px 10px;
    margin: 6px 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
}
.product-cart-form__sub-block_addgifts .addgifts__image { flex: 0 0 36px; }
.product-cart-form__sub-block_addgifts .addgifts__img {
    width: 36px; height: 36px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}
.product-cart-form__sub-block_addgifts .addgifts__link {
    color: #1d1d1f !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    line-height: 1.3;
}
.product-cart-form__sub-block_addgifts .addgifts__link:hover { text-decoration: underline !important; }
.product-cart-form__sub-block_addgifts .addgifts__hint { color: #6E6E73 !important; font-size: 11px !important; }


/* ===== Карточка товара: аудит (30.07) ===== */
/* П1: вкладки — сегмент-контрол */
.content-tabs__tabs.tabs {
    background: #f5f5f7;
    border: 0 !important;
    border-radius: 999px;
    padding: 6px;
    gap: 4px;
}
.content-tabs__tabs .tabs__tab {
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    font-weight: 600;
    transition: background .2s ease;
}
.content-tabs__tabs .tabs__tab:hover { background: #e8e8ed !important; }
.content-tabs__tabs .tabs__tab_selected {
    background: #fff !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

/* П2: USP-блоки карточками */
.advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.advantages__item {
    background: #f5f5f7;
    border-radius: 18px;
    padding: 18px;
    margin: 0 !important;
}
@media (max-width: 1000px) { .advantages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .advantages { grid-template-columns: 1fr; } }

/* П3: главное фото и миниатюры галереи */
.product-cart-form__container-image { border-radius: 20px; overflow: hidden; }
.product-images__thumb,
.product-images__video-thumb {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color .2s ease;
}
.product-images__thumb[class*="active"],
.product-images__thumb[class*="selected"],
.product-images__thumb[class*="current"] { border-color: #111114; }

/* П5: сертификаты и мессенджеры */
.certificate.one-file { display: flex; align-items: center; gap: 8px; }
.certificate.one-file::before { content: '✔'; color: #34c759; font-size: 14px; }
.certificate.one-file a { font-weight: 600; color: #1d1d1f !important; }
.items-list__soc-item {
    border: 0 !important;
    background: #f5f5f7 !important;
    border-radius: 14px !important;
    font-weight: 600 !important;
    transition: background .2s ease;
}
.items-list__soc-item:hover { background: #e8e8ed !important; }

/* П6: липкая панель покупки */
.ahp-buybar {
    position: fixed;
    left: 0; right: 0;
    bottom: -100px;
    z-index: 95;
    transition: bottom .3s ease;
    pointer-events: none;
    padding: 0 20px;
}
.ahp-buybar_on { bottom: 16px; }
/* клики ловит только сама капсула, а не прозрачная полоса во всю ширину */
.ahp-buybar_on .ahp-buybar__in { pointer-events: auto; }
.ahp-buybar__in {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(0,0,0,.25);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px 10px 10px;
}
.ahp-buybar__in img {
    width: 48px; height: 48px;
    object-fit: contain;
    border-radius: 10px;
    background: #f5f5f7;
    flex-shrink: 0;
}
.ahp-buybar__name {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ahp-buybar__price { font-size: 18px; font-weight: 700; white-space: nowrap; }
.ahp-buybar__btn {
    border: 0;
    background: #111114;
    color: #fff;
    border-radius: 999px;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease;
    flex-shrink: 0;
}
.ahp-buybar__btn:hover { transform: scale(1.03); }
@media (max-width: 860px) { .ahp-buybar { display: none; } }


/* ===== Карточка товара: убираем пустоту сверху (заголовок уехал на фото) ===== */
/* фото прижималось вниз sticky-отступом под старую шапку — поднимаем */
.product-images.product-cart-form_header-floating { position: static !important; }
/* сумма отступов, которые раньше занимал H1 */
.index__content:has(.product-page) { padding-top: 6px !important; }
.product-page { padding-top: 0 !important; }
.product-page > .blocks > .blocks__item:first-child { padding-top: 0 !important; }
.product-cart-form__header.block__header { margin-top: 0 !important; padding-top: 0 !important; }


/* ===== ПОДВАЛ на фото шоурума (в стилистике шапки) ===== */
.ahp-footzone {
    position: relative;
    background: #0b0b0f url('img/banners/rg-hero-showroom.webp?v=2') center 62% / cover no-repeat;
    overflow: hidden;
}
.ahp-footzone::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.80) 0%, rgba(0,0,0,.86) 100%);
    pointer-events: none;
}
.ahp-footzone > * { position: relative; z-index: 2; }
/* 21.08.2026: на мобиле лёгкий фон задаём media-запросом, а не через html.am —
   класс .am ставит JS, и критическая цепочка рендера тянулась к тяжёлому
   rg-hero-showroom.webp (64 КБ, без preload). Файл -900 уже в preload на всех
   страницах — LCP-цепочка становится минимальной. */
@media (max-width: 860px) {
    .ahp-footzone {
        background-image:
            linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.86) 100%),
            url('img/banners/rg-hero-showroom-900.webp?v=2') !important;
    }
}
.index__footer { background: transparent !important; }
.index__footer .footer,
.index__footer .footer__content,
.index__footer .footer-content,
.index__footer .footer-block,
.index__footer .footer-columns__column { background: transparent !important; border-color: rgba(255,255,255,.14) !important; }

/* текст и ссылки — светлые */
.index__footer,
.index__footer .footer-copyright__text,
.index__footer .footer-developers,
.index__footer .footer-block__header,
.index__footer .footer-links__item,
.index__footer a,
.index__footer .link,
.index__footer span { color: rgba(255,255,255,.86) !important; }
.index__footer .footer-block__header,
.index__footer [class*="__header"] { color: #fff !important; font-weight: 700 !important; }
.index__footer a:hover, .index__footer .link:hover { color: #fff !important; }

/* иконки и svg — светлые */
.index__footer .svg-icon { fill: rgba(255,255,255,.86) !important; }

/* платёжные системы — на белой капсуле, чтобы логотипы читались */
.index__footer .footer-payments {
    background: rgba(255,255,255,.94);
    border-radius: 16px;
    padding: 10px 14px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.index__footer .footer-payments__item { margin: 0 !important; }

/* нижняя строка копирайта — приглушённая */
.index__footer .footer-copyright__text,
.index__footer .footer-developers { color: rgba(255,255,255,.55) !important; font-size: 13px; }
.index__footer .footer-copyright__links .footer-links__item a { text-decoration: none; }
.index__footer .footer-copyright__links .footer-links__item a:hover { text-decoration: underline; }


/* блок подписки — часть тёмной зоны над подвалом */
.index__subscribe {
    background: transparent !important;
    border: 0 !important;
}
.index__subscribe,
.index__subscribe h2,
.index__subscribe h3,
.index__subscribe p,
.index__subscribe span,
.index__subscribe a { color: rgba(255,255,255,.88) !important; }
.index__subscribe h2, .index__subscribe h3, .index__subscribe [class*="__header"] { color: #fff !important; }
.index__subscribe input[type="text"],
.index__subscribe input[type="email"] {
    background: rgba(255,255,255,.96) !important;
    border: 0 !important;
    border-radius: 14px !important;
    color: #1d1d1f !important;
}
.index__subscribe button,
.index__subscribe [type="submit"] {
    background: #fff !important;
    color: #111114 !important;
    border: 0 !important;
    border-radius: 14px !important;
    font-weight: 600 !important;
}
.index__subscribe .index-subscribe,
.index__subscribe [class*="subscribe"] { background: transparent !important; border: 0 !important; }
.index__subscribe svg { opacity: .35; }


/* ===== Фото товара: скругление всех углов ===== */
.product-images__images-container,
.product-images__image-container,
.product-images__images-container img,
.product-images__image {
    border-radius: 20px;
    overflow: hidden;
}
.product-images__images-container .slick-list,
.product-images__images-container [class*="slider"],
.product-images__images-container [class*="swiper"] { border-radius: 20px; overflow: hidden; }

/* ===== Блок «Доставка» — карточка в новой стилистике ===== */
.product-cart-form__dp-container .dp-product {
    background: #f5f5f7;
    border: 0 !important;
    border-radius: 18px;
    padding: 16px 18px;
}
.dp-product__header {
    display: block;
    text-align: left !important;
    border: 0 !important;
    padding: 0 0 12px !important;
    margin: 0 0 12px !important;
    border-bottom: 1px solid rgba(0,0,0,.07) !important;
}
.dp-product__header [class*="title"],
.dp-product__header b,
.dp-product__header strong { font-size: 16px !important; font-weight: 700 !important; color: #1d1d1f !important; }
.dp-product__header [class*="city"],
.dp-product__header [class*="region"] { font-size: 13px !important; color: #6e6e73 !important; }

.dp-product__service-list { display: block; }
.dp-product__service-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    color: #1d1d1f !important;
}
/* заголовки групп («Прочее», «Самовывоз») */
.dp-product__content > div > [class*="group"],
.dp-product [class*="group-title"],
.dp-product__service-list > [class*="title"]:not([class*="service-title"]) {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6E6E73 !important;
    margin: 14px 0 6px !important;
}
.dp-product__service-row,
.dp-product__service-item,
.dp-product__service-col-line {
    font-size: 13px !important;
    line-height: 1.45;
}
.dp-product [class*="service-price"] { font-weight: 700 !important; color: #1d1d1f !important; white-space: nowrap; }
/* пунктирные подчёркивания названий служб — на аккуратные ссылки */
.dp-product a,
.dp-product [style*="dashed"],
.dp-product [class*="dashed"] {
    border-bottom: 0 !important;
    text-decoration: none !important;
    color: #1d1d1f !important;
    font-weight: 600 !important;
}
.dp-product a:hover { text-decoration: underline !important; }


/* кнопка «наверх» — активна после прокрутки */
.up-button.ahp-up-on {
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer;
    z-index: 90 !important;
}


/* ===== История цены (под галереей в карточке товара) ===== */
.ahp-ph {
    margin: 22px 0 4px;
    padding: 18px 20px 14px;
    background: #f5f5f7;
    border-radius: 18px;
}
.ahp-ph__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.ahp-ph__title { font-size: 17px; font-weight: 700; color: #1d1d1f; }
.ahp-ph__range { font-size: 13px; color: #6e6e73; }
.ahp-ph__chart { position: relative; height: 130px; }
.ahp-ph__chart svg { width: 100%; height: 130px; display: block; overflow: visible; }
.ahp-ph__area { fill: rgba(0,113,227,.10); stroke: none; }
.ahp-ph__line { fill: none; stroke: #006BD7; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ahp-ph__dot { fill: #fff; stroke: #006BD7; stroke-width: 3; }
.ahp-ph__months { position: relative; height: 18px; margin-top: 4px; }
.ahp-ph__months span { position: absolute; transform: translateX(-50%); font-size: 12px; color: #6E6E73; white-space: nowrap; }
.ahp-ph__note { font-size: 12px; color: #6E6E73; margin-top: 6px; }
.ahp-ph__tip {
    position: absolute;
    top: 8px;
    transform: translateX(-50%);
    display: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
    padding: 8px 12px;
    text-align: center;
    pointer-events: none;
    white-space: nowrap;
}
.ahp-ph__tip_on { display: block; }
.ahp-ph__tip b { display: block; font-size: 15px; color: #1d1d1f; }
.ahp-ph__tip span { font-size: 12px; color: #6e6e73; }


/* заголовок-название товара в плитке (h3 для структуры SEO) */
.product-thumb__name-h { margin: 0 !important; padding: 0 !important; font-size: inherit; font-weight: inherit; line-height: inherit; }
/* счётчик найденных товаров */
.products-bar__found { font-size: 14px; color: #6e6e73; margin-right: 18px; white-space: nowrap; }
.products-bar__found b { color: #1d1d1f; }


/* баннер над списком — во всю ширину блока */
.products__top-banner-container { width: 100%; }
.products__top-banner-container .image-box { display: block; width: 100%; }
.products__top-banner-container img { width: 100%; height: auto; display: block; object-fit: cover; }

/* бейдж Яндекс Сплита в плитке товара */
.product-thumb__split {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 7px 12px;
    background: #f5f7f5;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1;
    flex-wrap: wrap;
}
.product-thumb__split-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.product-thumb__split-logo svg { display: block; }
.product-thumb__split-text { white-space: nowrap; }
.product-thumb__split-note {
    background: #E7F8EC;
    color: #0F6B2A;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}


/* цена и бонусы — одной строкой, бонусы приглушены */
.products-thumbs__item .product-thumb__price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
}
.products-thumbs__item .product-thumb__prices { margin: 0 !important; }
.products-thumbs__item .product-thumb__bonuses {
    margin: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}
/* бейдж бонусов — приглушённый, без плашки */
.products-thumbs__item .product-thumb__bonuses .bonus-block {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
.products-thumbs__item .product-thumb__bonuses .bonus-block__content,
.products-thumbs__item .product-thumb__bonuses .bonus-block__value,
.products-thumbs__item .product-thumb__bonuses .icon-box__content {
    background: transparent !important;
    font-size: 12px !important;
    /* было #9a9aa0 — контраст 2.8 при норме 4.5 (Lighthouse, 10.08.2026) */
    color: #5f5f66 !important;
    padding: 0 !important;
}
.products-thumbs__item .product-thumb__bonuses .icon-box__icon svg { opacity: .45; }

/* всплывающая подсказка о бонусах — читаемая карточка */
.products-thumbs__item .product-thumb__bonuses .bonus-block__tooltip {
    background: #fff !important;
    color: #1d1d1f !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 40px rgba(0,0,0,.18) !important;
    z-index: 60 !important;
    max-width: 280px;
}

/* сравнение и избранное — заметнее */
.products-thumbs__item .product-thumb__additional-button {
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f7;
    border-radius: 50%;
    transition: background .2s ease, transform .2s ease;
}
.products-thumbs__item .product-thumb__additional-button:hover { background: #e8e8ed; transform: scale(1.06); }
.products-thumbs__item .product-thumb__additional-button .svg-icon { opacity: 1 !important; color: #1d1d1f; }
.products-thumbs__item .product-thumb__additional-buttons { gap: 8px; display: flex; }


/* ===== Текстовый блок главной («Что мы предлагаем», «Почему именно мы») ===== */
.home-description.content-decorator {
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 44px);
    background: #f5f5f7;
    border-radius: 28px;
}
.home-description h2 {
    font-size: clamp(22px, 2.2vw, 30px) !important;
    font-weight: 700 !important;
    margin: 28px 0 12px !important;
    color: #1d1d1f;
}
.home-description h2:first-child { margin-top: 0 !important; }
.home-description p {
    font-size: 16px !important;
    line-height: 1.65 !important;
    color: #4a4a4f !important;
    margin: 0 0 14px !important;
    max-width: 860px;
}
.home-description p:last-child { margin-bottom: 0 !important; }
/* абзац-вступление крупнее — как лид */
.home-description > p:first-of-type { font-size: 17px !important; color: #1d1d1f !important; }


/* нижний блок УТП на главной убран — эти преимущества теперь в «Сделаем за вас» */
.home-block .advantages,
.blocks__item_home .advantages { display: none !important; }


/* сетка всех марок на странице «Штатные магнитолы» */
.rg-brands-full { margin: 0 0 22px; }
.rg-brands-full__title { font-size: 20px; font-weight: 700; margin: 0 0 14px; color: #1d1d1f; }
.rg-brands-full__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.rg-brands-full .rg-brand {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    background: #f5f5f7; border-radius: 16px; padding: 14px 8px;
    text-decoration: none !important; color: #1d1d1f !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.rg-brands-full .rg-brand:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.rg-brands-full .rg-brand img { width: 38px; height: 38px; object-fit: contain; }
.rg-brands-full .rg-brand span { font-size: 12px; font-weight: 600; text-align: center; }
@media (max-width: 1100px) { .rg-brands-full__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .rg-brands-full__grid { grid-template-columns: repeat(3, 1fr); } }


/* сетка марок в шапке раздела (поверх фото) */
.ahp-hero-titles .rg-brands-full { margin: 18px 0 0; }
.ahp-hero-titles .rg-brands-full__title { display: none; }
.ahp-hero-titles .rg-brands-full__grid { grid-template-columns: repeat(9, 1fr); gap: 8px; }
.ahp-hero-titles .rg-brand { background: rgba(255,255,255,.94); padding: 10px 6px; gap: 6px; border-radius: 14px; }
.ahp-hero-titles .rg-brand img { width: 30px; height: 30px; }
.ahp-hero-titles .rg-brand span { font-size: 11px; }
.rg-brand_more { display: none !important; }
.rg-brands-full_open .rg-brand_more { display: flex !important; }
.rg-brands-more {
    margin-top: 12px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.5);
    color: #fff;
    border-radius: 999px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.rg-brands-more:hover { background: rgba(255,255,255,.26); }
@media (max-width: 1400px) { .ahp-hero-titles .rg-brands-full__grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 900px) { .ahp-hero-titles .rg-brands-full__grid { grid-template-columns: repeat(4, 1fr); } }


/* на главной марки показываем плитками с логотипами — текстовые чипы прячем
   (в шапке выпадающий каталог не трогаем: он вне .index__content) */
html.ah-home .index__content .catalog-columns,
html.ah-home .index__content .catalog-columns__content,
html.ah-home .index__content .catalog-columns__category { display: none !important; }
html.ah-home .index__content #vse-marki,
html.ah-home .index__content #vse-marki .rg-brands-full__grid,
html.ah-home .index__content #vse-marki .rg-brand { display: initial; }
html.ah-home .index__content #vse-marki .rg-brands-full__grid { display: grid !important; }
html.ah-home .index__content #vse-marki .rg-brand { display: flex !important; }

/* ==================== APPLE SITEMAP (/sitemap/ — карта сайта) ==================== */
.ahm { --ahm-gray: #f5f5f7; --ahm-ink: #111114; --ahm-mut: #6e6e73; --ahm-blue: #006BD7; font-size: 15px; }
.ahm h2 { font-size: 26px; font-weight: 700; margin: 38px 0 18px; color: var(--ahm-ink); }
.ahm a { text-decoration: none; color: var(--ahm-ink); }
.ahm ul, .ahm li { list-style: none !important; margin: 0; padding-left: 0; }
.ahm li::before, .ahm li::marker { display: none !important; content: none !important; }
.ahm-sec { margin-bottom: 8px; }
.ahm-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.ahm-card { background: var(--ahm-gray); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ahm-card__title { font-size: 16.5px; font-weight: 700; line-height: 1.25; display: block; }
.ahm-card__title:hover { color: var(--ahm-blue); }
.ahm-card__note { font-size: 13px; color: var(--ahm-mut); }
.ahm-card__note a { color: var(--ahm-blue); }
.ahm-card__list { display: flex; flex-direction: column; gap: 6px; }
.ahm-card__list li { padding: 0; }
.ahm-card__list a { font-size: 13.5px; color: #3a3a3e; display: block; padding: 2px 0; }
.ahm-card__list a:hover { color: var(--ahm-blue); }
.ahm-card__list a.ahm-sub { padding-left: 12px; color: var(--ahm-mut); }
.ahm-lines { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ahm-line { background: var(--ahm-gray); border-radius: 20px; padding: 16px; text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.ahm-line__img { height: 44px; display: flex; align-items: center; justify-content: center; }
.ahm-line__img img { max-height: 44px; max-width: 100%; mix-blend-mode: multiply; }
.ahm-line__name { font-weight: 700; font-size: 14.5px; }
.ahm-line__name:hover { color: var(--ahm-blue); }
.ahm-line__links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.ahm-line__links a { font-size: 12px; background: #fff; border-radius: 999px; padding: 5px 10px; color: #3a3a3e; }
.ahm-line__links a:hover { color: var(--ahm-blue); }
.ahm-marks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: start; }
.ahm-mark { background: var(--ahm-gray); border-radius: 16px; overflow: hidden; }
.ahm-mark summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; font-weight: 600; font-size: 14.5px; }
.ahm-mark summary::-webkit-details-marker { display: none; }
.ahm-mark summary img { width: 28px; height: 28px; object-fit: contain; mix-blend-mode: multiply; }
.ahm-mark summary .ahm-mark__count { margin-left: auto; font-size: 12px; color: var(--ahm-mut); background: #fff; border-radius: 999px; padding: 2px 8px; flex: none; }
.ahm-mark summary:hover, .ahm-mark[open] summary { background: #ececef; }
.ahm-mark__body { padding: 4px 14px 12px; display: flex; flex-direction: column; gap: 2px; }
.ahm-mark__body a { font-size: 13px; color: #3a3a3e; padding: 3px 0; display: block; }
.ahm-mark__body a:hover { color: var(--ahm-blue); }
.ahm-mark__body a.ahm-gen { padding-left: 14px; color: var(--ahm-mut); }
.ahm-mark__all { font-size: 12.5px; color: var(--ahm-blue) !important; margin-top: 6px; display: inline-block; }
.ahm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ahm-chips a { background: var(--ahm-gray); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; color: #3a3a3e; }
.ahm-chips a:hover { background: #ececef; color: var(--ahm-blue); }
@media (max-width: 1100px) {
    .ahm-cats { grid-template-columns: repeat(2, 1fr); }
    .ahm-lines { grid-template-columns: repeat(4, 1fr); }
    .ahm-marks { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
    .ahm-cats { grid-template-columns: 1fr; }
    .ahm-lines { grid-template-columns: repeat(2, 1fr); }
    .ahm-marks { grid-template-columns: 1fr; }
    .ahm h2 { font-size: 21px; }
}
/* ==================== /APPLE SITEMAP ==================== */

/* Якорные цели: отступ под плавающую шапку-пилюлю (~98px) — добавлять сюда ВСЕ новые якоря */
#vse-marki, #ah-podbor, #ah-models, #ahm-marks, #ahm-frames, .ahm-sec[id] { scroll-margin-top: 118px; }

/* ==================== A11Y CONTRAST (10.08.2026) ====================
   Lighthouse: 93 элемента в каталоге и 12 на карточке не добирали до нормы 4.5 —
   серый текст на светлом фоне давал 2.8–3.3. Правим точечно, только те селекторы,
   что провалили проверку: менять серый глобально нельзя, он много где в норме.
   Цену и скидку не трогаем — у них акцентные цвета.
   #5f5f66 на белом даёт ~6.2, запас есть и на слегка серых подложках.
   ВАЖНО: .icon-box__content сюда включать нельзя — этот класс встречается и на зелёной
   плашке (фон rgb(38,173,95)), там тёмно-серый даёт 2.18, то есть хуже исходного белого.
   Цвет для него правится точечно, в правиле для .product-thumb__bonuses выше. */
.bonus-block__content,
.bonus-block__value,
.value__label-text,
.dp-product__group-title,
.products-bar__found { color: #5f5f66 !important; }

/* скидка: #e30000 на #ffecec давал 4.33 — чуть ниже нормы, затемняем до 5.1 */
.product-thumb__discount { color: #c40000 !important; }
/* цель касания: Lighthouse требует минимум 24×24 CSS-пикселя, стрелки пагинации были меньше */
.pagination-item { min-width: 32px; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; }
/* Эти два правила приходят из css плагина dp и из вендорной темы — перебиваем
   повышенной специфичностью, иначе цвет остаётся прежним:
   group-title давал 2.57 на подложке #f5f5f7, price-text — 3.62 на белом. */
html body .dp-product__group-title { color: #57575e !important; }
html body .product-add-to-cart__price-text { color: #5f5f66 !important; }
/* ==================== /A11Y CONTRAST ==================== */

/* === APPLE A11Y (14.08.2026): контраст статусов и различимость ссылок === */
/* статус «В наличии»: #27AE60 давал контраст 2.87 при норме 4.5 */
.product-available_in-stock,
.product-available_in-stock .icon-box,
.product-available_in-stock .icon-box__content,
.product-available_in-stock .icon-box__icon { color: #1C7A43 !important; }
/* ссылка в тексте не должна отличаться только цветом (WCAG 1.4.1) */
.not-found-block__content a.link { text-decoration: underline; text-underline-offset: 2px; }
/* шеврон блока «Доставка» стал настоящей кнопкой — гасим стили браузера */
button.ap-dp-chevron { background: none; border: 0; padding: 0; margin: 0; appearance: none; cursor: pointer; }

/* ===== 22.08.2026: бейдж скидки в эпл-стилистике =====
   Штатная плашка -N% (тема считает процент из зачёркнутой цены) была мелкой
   ярко-красной наклейкой (#ff3131, 11px на мобиле). Делаем аккуратную капсулу:
   спокойный красный, жирный кегль, ровные отступы. Классы общие для карточки
   и плиток каталога. */
.product-badge_lowprice,
.product-badge_discount {
    background: #d70015 !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: .02em;
    padding: 5px 12px !important;
    border-radius: 100px !important;
    text-transform: none;
}
@media (max-width: 1023px) {
    .product-badge_lowprice,
    .product-badge_discount {
        font-size: 12px;
        padding: 4px 10px !important;
    }
}

/* ===== ПРЕДЗАКАЗ: блок «Доставка» скрыт (22.08.2026) =====
   Сроки в блоке dp считаются как для товара со склада («самовывоз завтра») —
   для предзаказа это обман ожиданий. Класс ap-preorder ставит product.html
   при нулевом остатке. */
.ap-preorder .dp-container__product { display: none !important; }

/* teyes 23.08: строка о сроках у предзаказных товаров — показываем вместо скрытого dp-блока */
.ap-preorder-note { display: none; margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: rgba(245, 158, 11, .10); font-size: 14px; line-height: 1.5; }
.ap-preorder .ap-preorder-note { display: block; }

/* ===== НОВОСТИ В САЙДБАРЕ: карточки с миниатюрами (23.08.2026) ===== */
.ahp-news { display: flex; flex-direction: column; }
.ahp-news-item {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 10px; margin: 0 -10px; border-radius: 14px;
    text-decoration: none;
}
.ahp-news-item:hover { background: #f5f5f7; }
.ahp-news-thumb {
    flex: 0 0 72px; width: 72px; height: 72px;
    border-radius: 12px; overflow: hidden; background: #f5f5f7;
}
.ahp-news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ahp-news-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ahp-news-date { font-size: 12px; color: #86868b; }
.ahp-news-title {
    font-size: 14px; font-weight: 600; line-height: 1.35; color: #1d1d1f;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.ahp-news-item:hover .ahp-news-title { color: #0071e3; }

