

/* Start:/local/templates/am/components/bitrix/catalog.section.list/am_menu/style.css?17941739403084*/
/* Выпадающее меню каталога */
.am-catmenu {
    position: absolute;
    z-index: 110;
    top: 100%;
    right: 0;
    left: 0;
    padding-top: 4px;
}

.am-catmenu[hidden] {
    display: none;
}

.am-catmenu__panel {
    display: grid;
    grid-template-columns: 268px minmax(0, 1fr);
    gap: 50px;
    max-height: calc(100vh - 220px);
    padding: 28px 20px 34px;
    overflow-y: auto;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(6, 21, 68, .25);
    animation: am-catmenu-in .18s ease;
    overscroll-behavior: contain;
}

@keyframes am-catmenu-in {
    from { opacity: 0; transform: translateY(-6px); }
}

.am-catmenu__roots {
    display: flex;
    flex-direction: column;
    align-self: start;
    gap: 18px;
    position: sticky;
    top: 0;
}

.am-catmenu__root {
    display: flex;
    min-height: 62px;
    align-items: center;
    padding: 12px 26px;
    border: 2px solid #e5edf6;
    border-radius: 4px;
    color: #26313e;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    transition: background .15s ease, border-color .15s ease;
}

.am-catmenu__root:hover {
    border-color: #c7d4e8;
}

.am-catmenu__root.is-active {
    border-color: #e5edf6;
    background: #e5edf6;
}

.am-catmenu__list {
    display: none;
    padding-top: 14px;
    columns: 320px 3;
    column-gap: 40px;
}

.am-catmenu__list.is-active {
    display: block;
}

.am-catmenu__list li {
    position: relative;
    padding: 0 0 8px 16px;
    break-inside: avoid;
    font-size: 16px;
    line-height: 1.3;
}

.am-catmenu__list li::before {
    position: absolute;
    top: .6em;
    left: 2px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #26313e;
    content: "";
}

.am-catmenu__list a {
    color: #14161f;
    text-decoration: underline;
    text-decoration-color: rgba(20, 22, 31, .5);
    text-underline-offset: 3px;
}

.am-catmenu__list a:hover {
    color: #0637d5;
    text-decoration-color: currentColor;
}

/* Кнопка: бургер → крестик */
.btn-catalog.is-open::before {
    background:
        linear-gradient(#fff, #fff) center / 22px 2px no-repeat,
        linear-gradient(#fff, #fff) center / 2px 22px no-repeat;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

@media (max-width: 991px) {
    .am-catmenu__panel {
        grid-template-columns: 1fr;
        gap: 18px;
        max-height: calc(100vh - 160px);
    }

    .am-catmenu__roots {
        position: static;
        flex-direction: row;
        gap: 10px;
        overflow-x: auto;
    }

    .am-catmenu__root {
        flex-shrink: 0;
        min-height: 46px;
        padding: 10px 18px;
        font-size: 13px;
    }

    .am-catmenu__list {
        columns: 1;
        padding-top: 0;
    }

    .am-catmenu__list li {
        padding-bottom: 10px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .am-catmenu .container {
        padding: 0 10px;
    }

    .am-catmenu__panel {
        padding: 16px 14px 20px;
    }
}

/* End */


/* Start:/local/templates/am/styles.css?179458981177305*/
/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #001F7D;
    --secondary-blue: #0033A0;
    --light-blue: #336699;
    --primary-red: #FF0000;
    --dark-red: #CC0000;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #FFFFFF;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;

    --news-bg: #e1e7f0;
    --news-navy: #00137f;
    --news-blue: #0033ff;
    --news-text: #14161f;
    --news-muted: #a3a9b5;

    --news-tile-h: 364px;
    --news-gap: 16px;
    --news-radius: 4px;
    /* --news-icon: url("/local/templates/am/icon-target.svg"); */
    --news-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='1.2'%3E%3Ccircle cx='10' cy='10' r='5'/%3E%3Cpath d='M10 1v6M10 13v6M1 10h6M13 10h6'/%3E%3C/svg%3E");
    --news-icon-size: 20px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--bg-light);
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-light);
}

.top-bar__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__center {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar__link {
    color: var(--text-light);
}

.top-bar__link:hover {
    color: var(--primary-blue);
}

.top-bar__socials {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /*filter: brightness(0) invert(1);*/
}

/* ========================================
   HEADER
   ======================================== */
.header {
    background: var(--primary-blue);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__logo {
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.header__nav {
    flex: 0 0 auto;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: var(--text-white);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-red);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: flex-end;
}

.btn-catalog {
    background: var(--primary-red);
    color: white;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 3px;
    white-space: nowrap;
}

.btn-catalog.is-open {
    background: #990000;
    outline: 2px solid #1e88ff;
    outline-offset: -2px;
}

.header__search {
    display: flex;
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: none;
    border-radius: 3px;
    font-size: 14px;
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 0 15px;
    background: white;
    color: var(--primary-blue);
    font-size: 18px;
}

.header__icons {
    display: flex;
    gap: 15px;
}

.header-icon {
    color: white;
    font-size: 22px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon img {
    width: 24px;
    height: 24px;
    /*filter: brightness(0) invert(1);*/
    transition: all 0.3s ease;
}

.header-icon:hover img {
    /*filter: brightness(0) invert(1) sepia(1) saturate(100) hue-rotate(-10deg);*/
}

.header-icon .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-red);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Icon placeholders */
.icon-search {
	background: url(/local/templates/am/img/icon-search.svg) no-repeat center/contain;
	width: 22px;
	height: 22px;
	display: block;
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider {
    position: relative;
}

.heroSwiper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.hero-slide {
    padding: 80px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-slide .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    color: white;
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 50px;
    opacity: 0.95;
}

.hero-image {
    flex: 1;
    max-width: 600px;
}

.btn {
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-red);
    box-shadow: 0 12px 20px -4px rgba(0, 0, 0, .6);
}

.btn-primary:active {
    background: #990000;
    box-shadow: none;
}

.btn-primary:focus-visible {
    outline: 2px solid #1e88ff;
    outline-offset: 2px;
}

.swiper-button-prev,
.swiper-button-next {
    color: white;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-red);
}

/* ========================================
   FEATURES
   ======================================== */
.features {
    padding: 60px 0;
    background: var(--bg-white);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 80px;
    height: 86px;
    border-radius: 10px;
    overflow: hidden;
}

.feature-icon img {
    object-position: center;
    object-fit: contain;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.feature-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products {
    padding: 60px 0;
    background: var(--bg-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 40px;
    margin: 20px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
}

.section-link {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-link:hover {
    color: var(--primary-red);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
    color: white;
}

.badge-hit {
    background: var(--primary-red);
}

.badge-new {
    background: #FF6B00;
}

.badge-sale {
    background: #00C853;
}

.product-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    filter: grayscale(1) brightness(3);
}

.product-favorite:hover,
.product-favorite.active {
    filter: none;
}

.product-image {
    padding: 20px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.product-info {
    padding: 15px;
}

.product-code {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0;
    color: var(--text-dark);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.btn-cart {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background: var(--primary-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
}

.btn-cart:hover {
    background: var(--dark-red);
    transform: scale(1.1);
}

/* ========================================
   NEWS SECTION
   ======================================== */
.news {
    padding: 60px 0;
    background: var(--bg-white);
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    color: white;
}

.news-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.news-text {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: auto;
}

.news-date {
    font-size: 24px;
    font-weight: 700;
    margin: 15px 0;
}

.news-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.news-btn:hover {
    background: white;
    color: var(--primary-blue);
    transform: scale(1.1);
}

/* ========================================
   PRODUCT BANNER
   ======================================== */
.product-banner {
    padding: 0;
    background: linear-gradient(135deg, #0033A0 0%, #001F7D 100%);
}

.product-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
}

.product-banner__text {
    color: white;
    max-width: 500px;
}

.product-banner__title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.product-banner__code {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.product-banner__image {
    max-width: 500px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: 60px 0 40px 0;
    background: var(--bg-white);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__video {
    position: relative;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about__paragraph {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter {
    padding: 0;
    background: linear-gradient(135deg, #001F7D 0%, #0033A0 100%);
}

.newsletter__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
    gap: 50px;
}

.newsletter__text {
    flex: 1;
    color: white;
}

.newsletter__title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.newsletter__subtitle {
    font-size: 14px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.newsletter__form {
    display: flex;
    gap: 15px;
    max-width: 600px;
}

.newsletter__input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 3px;
    font-size: 14px;
}

.newsletter__image {
    max-width: 300px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--primary-blue);
    color: white;
    padding: 60px 0 30px;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo img {
    height: 35px;
}

.footer__title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer__menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__menu a {
    font-size: 13px;
    opacity: 0.8;
}

.footer__menu a:hover {
    opacity: 1;
    color: var(--primary-red);
}

.footer__contacts {
    margin-bottom: 20px;
}

.footer__phone,
.footer__email {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer__address {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 15px;
}

.footer__socials {
    display: flex;
    gap: 10px;
}

.footer__socials .social-link {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
}

.footer__socials .social-link:hover {
    transform: scale(1.1);
}

/* ========================================
   RESPONSIVE MEDIA QUERIES
   ======================================== */

/* 1600px and below */
@media (max-width: 1600px) {
    .container {
        padding: 0 30px;
    }

    .products__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 1200px and below */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 40px;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-link {
        font-size: 12px;
    }

    .products__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .news__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 991px and below (Tablets) */
@media (max-width: 991px) {
    .header__nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header__search {
        max-width: 300px;
    }

    .hero-slide .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about__content {
        grid-template-columns: 1fr;
    }

    .product-banner__content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter__content {
        flex-direction: column;
        text-align: center;
    }
}

/* 768px and below */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .top-bar {
        display: none;
    }

    .header__actions {
        gap: 10px;
    }

    .btn-catalog {
        padding: 10px 20px;
        font-size: 12px;
    }

    .header__search {
        display: none;
    }

    .hero-slide {
        padding: 40px 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-text {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .news__grid {
        grid-template-columns: 1fr;
    }

    .product-banner__title {
        font-size: 32px;
    }

    .newsletter__title {
        font-size: 28px;
    }

    .footer__content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* 499px and below */
@media (max-width: 499px) {
    .header__content {
        gap: 15px;
    }

    .header-icon {
        font-size: 20px;
    }

    .btn-catalog {
        padding: 8px 15px;
    }

    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 20px;
    }

    .products__grid {
        grid-template-columns: 1fr;
    }

    .newsletter__form {
        flex-direction: column;
    }

    .footer__content {
        grid-template-columns: 1fr;
    }
}

/* 390px (Mobile) */
@media (max-width: 390px) {
    .container {
        padding: 0 15px;
    }

    .logo-img {
        height: 30px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-text br {
        display: none;
    }

    .btn {
        padding: 12px 30px;
        font-size: 12px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .product-banner__title {
        font-size: 24px;
    }

    .newsletter__title {
        font-size: 22px;
    }
}

.header {
    background: #071d79;
    padding: 20px 0 22px;
}

.header__content {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px 30px;
}

.header__nav {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
}

.nav-menu {
    justify-content: space-between;
    gap: 18px;
}

.nav-link {
    font-size: 12px;
}

.header__actions {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 288px minmax(0, 1fr) auto;
    gap: 20px;
}

.btn-catalog {
    position: relative;
    min-height: 58px;
    padding: 12px 20px 12px 66px;
    text-align: left;
}

.btn-catalog::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 58px;

  /* три полоски 25px × 1px, белые */
  background:
    linear-gradient(#fff, #fff) center calc(50% - 6px) / 25px 1px no-repeat,
    linear-gradient(#fff, #fff) center 50% / 25px 1px no-repeat,
    linear-gradient(#fff, #fff) center calc(50% + 6px) / 25px 1px no-repeat;
}

.header__search {
    max-width: none;
}

.search-input {
    min-height: 58px;
}

.header__icons {
    align-items: center;
    gap: 25px;
    padding: 0 8px;
}

.hero-slider {
    padding-top: 28px;
    background: #071d79;
}

.hero-slide {
    width: calc(100% - 20px);
    max-width: 1530px;
    min-height: 438px;
    margin: 0 auto;
    padding: 30px 0;
    overflow: hidden;
    border-radius: 5px;
}

.hero-slide .container {
    width: 100%;
    max-width: none;
    padding: 0 36px;
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 46px;
    line-height: 1.05;
}

.hero-image {
    max-width: 760px;
}

.hero-content .btn {
    min-width: 250px;
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: auto;
    bottom: 28px;
    z-index: 30;
    display: flex;
    width: 44px;
    height: 44px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .22);
    cursor: pointer;
    pointer-events: auto;
}

.swiper-button-prev {
    left: auto;
    right: 100px;
}

.swiper-button-next {
    right: 50px;
}

.swiper-pagination {
    bottom: 28px !important;
}

.features {
    padding: 68px 0;
    background: #071d79;
}

.feature-title {
    color: #fff;
}

.feature-text {
    color: #d1d9ef;
}

.products {
    padding: 68px 0;
    background: #e5edf6;
}

.section-title {
    font-weight: 500;
}

.section-header {
    margin-bottom: 28px;
}

.section-link {
    font-size: 13px;
    font-weight: 400;
}

.section-link .icon-arrow {
    background: #0639d9;
}

.section-link .icon-arrow::before {
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    background: url(/local/templates/am/img/icon-arrow-all.svg) no-repeat center/10px;
    color: white;
    font-size: 15px;
}

.product-card {
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(14, 31, 62, .12);
}

.product-image {
    min-height: 220px;
}

.product-info {
    padding: 14px 16px 12px;
}

.product-title {
    height: 66px;
    overflow: hidden;
    font-size: 12px;
}

.btn-cart {
    width: 42px;
    height: 42px;
    border-radius: 3px;
}

.news {
    padding: 68px 0 30px;
    background: #e5edf6;
}

.news__grid {
    gap: 18px;
}

.news-card {
    min-height: 0;
    overflow: visible;
    border-radius: 0;
    color: #1c283c;
    background: transparent !important;
}

.news-image {
    position: relative;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    background: linear-gradient(135deg, #081963, #0750dc);
}

.news-card:nth-child(3) .news-image {
    background: linear-gradient(135deg, #ff4a00, #f31300);
}

.news-image::before {
    position: absolute;
    z-index: 2;
    top: 20px;
    left: 20px;
    max-width: 78%;
    color: #fff;
    content: "";
    font-size: clamp(15px, 1.4vw, 28px);
    font-weight: 800;
    line-height: 1.05;
    white-space: pre-line;
}

.news-card:nth-child(1) .news-image::before {
    content: "СТАРТЕРЫ\A И ГЕНЕРАТОРЫ";
}

.news-card:nth-child(2) .news-image::before {
    content: "ДЕНЬ\A РОССИИ";
}

.news-card:nth-child(3) .news-image::before {
    content: "ТОРМОЗНЫЕ\A КОЛОДКИ";
}

.news-card:nth-child(4) .news-image::before {
    content: "10.06-12.06";
}

.news-image img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.news-content {
    min-height: 92px;
    padding: 14px 0 8px;
}

.news-title {
    margin-bottom: 5px;
    font-size: 20px;
    line-height: 1.15;
}

.news-text {
    color: #758095;
    font-size: 12px;
}

.news-btn {
    bottom: auto;
    top: -44px;
    left: 12px;
    right: auto;
    width: 24px;
    height: 24px;
    background: transparent;
    font-size: 17px;
}

.product-banner {
    padding: 10px 0 68px;
    background: #e5edf6;
}

.product-banner__content {
    min-height: 400px;
    padding: 42px 36px;
    overflow: hidden;
    background: linear-gradient(110deg, #0733bd 0%, #0033a0 100%);
}

.product-banner__title {
    font-size: 42px;
}

.product-banner__image {
    max-width: 660px;
}

.about {
    padding: 70px 0 40px 0;
    background: #071d79;
}

.about .section-title,
.about__paragraph,
.about .section-link {
    color: #d9e2fb;
}

.about .section-title {
    margin-bottom: 24px;
}

.about__paragraph {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.65;
}

.video-wrapper {
    border-radius: 3px;
    box-shadow: none;
}

.newsletter {
    padding: 50px 0;
    background: #071d79;
}

.newsletter .container {
    background: linear-gradient(110deg, #0638db, #0738d8);
    max-width: 1520px;
}

.newsletter__content {
    min-height: 330px;
    padding: 46px 0;
}

.newsletter__title {
    font-size: 38px;
    line-height: 1.15;
}

.newsletter__image {
    max-width: 300px;
}

.footer {
    padding: 54px 0 42px;
    background: #061544;
}

.footer__content {
    grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
    gap: 36px;
}

.footer__title {
    font-weight: 500;
    text-transform: none;
}

.footer__column:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
}

.footer__column:nth-child(5) {
    grid-column: 4;
    grid-row: 1 / span 2;
}

@media (max-width: 991px) {
    .header__nav.mobile-active {
        display: block;
    }

    .header__content {
        grid-template-columns: 160px minmax(0, 1fr);
    }

    .header__nav {
        grid-column: 2;
        grid-row: 1;
    }

    .header__actions {
        grid-template-columns: 210px minmax(150px, 1fr) auto auto;
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .hero-slide {
        min-height: 390px;
    }

    .hero-slide .container {
        flex-direction: row;
        text-align: left;
    }

    .hero-title {
        font-size: 38px;
    }

    .about__content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .newsletter__content {
        flex-direction: row;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .container {
        padding-right: 15px;
        padding-left: 15px;
    }

    .header {
        padding: 10px 0;
    }

    .header__content {
        grid-template-columns: 80px minmax(0, 1fr) auto auto;
        gap: 10px;
        align-items: center;
    }

    .header__logo {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .header__nav.mobile-active {
        display: block;
    }

    .logo-img {
        height: 26px;
    }

    .header__actions {
        display: contents;
    }

    .header__icons {
        grid-column: 3;
        grid-row: 1;
        gap: 12px;
        padding: 0;
    }

    .header-icon img {
        width: 18px;
        height: 18px;
    }

    .mobile-menu-btn {
        grid-column: 4;
        grid-row: 1;
        display: flex;
        padding: 2px;
    }

    .mobile-menu-btn span {
        width: 17px;
        height: 2px;
    }

    .btn-catalog {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        min-height: 38px;
        padding: 8px 12px;
        text-align: center;
        font-size: 11px;
    }

    .btn-catalog::before {
        display: none;
    }

    .header__search {
        display: flex;
        grid-column: 2 / 5;
        grid-row: 2;
        width: 100%;
        max-width: none;
    }

    .search-input {
        min-height: 38px;
        padding: 8px 36px 8px 12px;
        font-size: 10px;
    }

    .search-btn {
        padding: 0 10px;
        font-size: 14px;
    }

    .hero-slider {
        padding: 10px 0 18px;
    }

    .hero-slide {
        width: calc(100% - 20px);
        height: 350px;
        min-height: 0;
        padding: 12px 0;
        border-radius: 4px;
    }

    .hero-slide .container {
        position: relative;
        display: block;
        height: 100%;
        padding: 0 16px;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: none;
        height: 100%;
        text-align: left;
    }

    .hero-title {
        max-width: 320px;
        margin-bottom: 8px;
        font-size: 28px;
        line-height: 1.02;
        letter-spacing: .02em;
    }

    .hero-text {
        max-width: 260px;
        margin-bottom: 0;
        font-size: 10px;
        line-height: 1.25;
    }

    .hero-image {
        position: absolute;
        z-index: 1;
        right: -24%;
        bottom: 25px;
        width: 96%;
        max-width: none;
    }

    .hero-content .btn {
        position: absolute;
        z-index: 3;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        min-width: 0;
        min-height: 42px;
        padding: 10px;
        font-size: 12px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .swiper-pagination {
        bottom: -10px !important;
    }

    .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
    }

    .features {
        display: none;
    }

    .products,
    .news {
        padding: 28px 0;
    }

    .section-header {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        margin-bottom: 14px;
    }

    .section-title {
        font-size: 21px;
    }

    .section-link {
        gap: 5px;
        white-space: nowrap;
        font-size: 9px;
    }

    .section-link .icon-arrow::before {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }

    .products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .product-image {
        min-height: 106px;
        padding: 9px;
    }

    .product-info {
        padding: 8px 9px;
    }

    .product-code {
        margin-bottom: 4px;
        font-size: 7px;
        line-height: 1.2;
    }

    .product-title {
        min-height: 35px;
        margin-bottom: 6px;
        font-size: 8px;
        line-height: 1.25;
    }

    .product-footer {
        padding-top: 6px;
    }

    .product-price {
        font-size: 11px;
    }

    .btn-cart {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .product-badges {
        top: 7px;
        left: 7px;
    }

    .badge {
        padding: 3px 7px;
        font-size: 6px;
    }

    .product-favorite {
        top: 5px;
        right: 5px;
        width: 23px;
        height: 23px;
        font-size: 13px;
    }

    .news__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
    }

    .news-card {
        flex: initial;
        min-width: 0;
    }

    .news-content {
        min-height: 58px;
        padding: 8px 0 4px;
    }

    .news-title {
        margin-bottom: 2px;
        font-size: 12px;
    }

    .news-text {
        font-size: 8px;
    }

    .news-date {
        font-size: 12px;
    }

    .news-btn {
        top: -24px;
        left: 6px;
        width: 18px;
        height: 18px;
        font-size: 12px;
    }

    .product-banner {
        display: none;
    }

    .about {
        padding: 34px 0;
    }

    .about__content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about__video {
        grid-row: 1;
    }

    .about__text {
        grid-row: 2;
    }

    .about .section-title {
        margin: 0 0 10px;
        font-size: 20px;
    }

    .about__paragraph {
        margin-bottom: 10px;
        font-size: 10px;
        line-height: 1.4;
    }

    .newsletter {
        padding: 28px 10px 44px;
    }

    .newsletter .container {
        padding: 20px 10px 16px;
    }

    .newsletter__content {
        position: relative;
        min-height: 0;
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        text-align: left;
    }

    .newsletter__title {
        max-width: 280px;
        margin-bottom: 10px;
        font-size: 24px;
    }

    .newsletter__subtitle {
        margin-bottom: 15px;
        font-size: 10px;
    }

    .newsletter__image {
        position: absolute;
        top: 0;
        right: 0;
        width: 46px;
    }

    .newsletter__form {
        max-width: none;
        flex-direction: column;
        gap: 10px;
    }

    .newsletter__input,
    .newsletter__form .btn {
        min-height: 44px;
        font-size: 11px;
    }

    .newsletter__form .btn {
        padding: 10px;
    }

    .footer {
        padding: 24px 0 40px;
        border-radius: 0 0 24px 24px;
        background: #061544;
    }

    .footer__content {
        grid-template-columns: 1fr 1fr;
        gap: 14px 18px;
    }

    .footer__column:first-child {
        display: none;
    }

    .footer__column:nth-child(2) {
        grid-column: 1;
        grid-row: 1;
    }

    .footer__column:nth-child(3) {
        grid-column: 2;
        grid-row: 1;
    }

    .footer__column:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }

    .footer__column:nth-child(5) {
        grid-column: 2;
        grid-row: 3;
    }

    .footer__title {
        margin-bottom: 8px;
        font-size: 11px;
    }

    .footer__menu {
        gap: 3px;
    }

    .footer__menu a,
    .footer__phone,
    .footer__email,
    .footer__address {
        font-size: 9px;
        line-height: 1.35;
    }

    .footer__phone,
    .footer__email {
        margin-bottom: 4px;
    }

    .footer__contacts {
        margin-bottom: 8px;
    }

    .footer__socials .social-link {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 360px) {
    .header__content {
        grid-template-columns: 70px minmax(0, 1fr) auto auto;
        gap: 7px;
    }

    .logo-img {
        height: 22px;
    }

    .header__icons {
        gap: 8px;
    }

    .product-price {
        font-size: 10px;
    }
}

.product-page,
.catalog-page,
.cart-page {
    background: #e5edf6;
}

.inner-page {
    min-height: 500px;
    padding: 0;
    background: #e5edf6;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    margin-bottom: 26px;
    color: #9aa5b4;
    font-size: 12px;
}

.breadcrumbs a:hover {
    color: var(--primary-blue);
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr);
    align-items: start;
    gap: 48px;
}

.product-gallery__main {
    display: grid;
    min-height: 590px;
    place-items: center;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
}

.product-gallery__main img {
    width: 82%;
    max-height: 540px;
    object-fit: contain;
}

.product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.product-gallery__thumb {
    display: grid;
    aspect-ratio: 1 / .8;
    place-items: center;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 4px;
    background: #fff;
}

.product-gallery__thumb:first-child {
    border-color: #d8dee8;
}

.product-gallery__thumb img {
    width: 86%;
    height: 86%;
    object-fit: contain;
}

.product-detail__title {
    margin: 0 0 32px;
    color: #09267f;
    font-size: clamp(24px, 2vw, 36px);
    font-weight: 500;
    line-height: 1.2;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px 18px;
    margin-bottom: 28px;
}

.product-specs > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

.product-specs span,
.volume-prices p span {
    color: #9aa5b4;
    font-size: 12px;
}

.product-specs strong {
    color: #26313e;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.product-specs__wide {
    grid-column: span 3;
}

.volume-prices h2 {
    margin-bottom: 12px;
    color: #082983;
    font-size: 14px;
    font-weight: 600;
}

.volume-prices p {
    margin-bottom: 12px;
    color: #303b49;
    font-size: 12px;
    line-height: 1.45;
}

.volume-prices p span {
    display: block;
    margin-bottom: 3px;
}

.product-purchase {
    margin-top: 20px;
}

.product-purchase__top,
.product-purchase__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.product-purchase__top {
    margin-bottom: 18px;
}

.product-purchase__top > strong {
    color: #394858;
    font-size: 24px;
    font-weight: 600;
}

.product-purchase__top > span {
    color: #344152;
    font-size: 12px;
}

.quantity-control {
    display: flex;
    min-width: 134px;
    height: 44px;
    align-items: center;
    justify-content: space-around;
    border-radius: 4px;
    background: #344458;
    color: #fff;
}

.quantity-control button,
.quantity-control span {
    color: inherit;
    font-size: 13px;
    text-align: center;
    width: 40px;
    height: 32px;
    line-height: 32px;
}

.product-purchase__bottom > .btn {
    min-width: 230px;
    min-height: 44px;
    padding: 10px 24px;
    font-size: 12px;
}

.payment-marks {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

.payment-mir,
.payment-visa,
.payment-mastercard {
    font-size: 17px;
    font-style: italic;
    font-weight: 800;
}

.payment-mir {
    color: #168b72;
}

.payment-visa {
    color: #103baa;
}

.payment-mastercard {
    color: #ee243e;
    letter-spacing: -8px;
}

.recommended-products {
    margin-top: 90px;
}

.recommended-products .products__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.catalog-more {
    display: flex;
    justify-content: flex-end;
    margin-top: 26px;
}

@media (max-width: 1200px) {
    .product-detail {
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
        gap: 30px;
    }

    .product-gallery__main {
        min-height: 480px;
    }

    .product-purchase__bottom {
        flex-wrap: wrap;
    }
}

@media (max-width: 991px) {
    .product-detail {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .product-gallery__main {
        min-height: 360px;
    }

    .product-specs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px 12px;
    }

    .product-specs__wide {
        grid-column: span 3;
    }

    .payment-marks {
        width: 100%;
        justify-content: flex-end;
    }

    .recommended-products .products__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .inner-page {
        padding: 16px 0 40px;
    }

    .breadcrumbs {
        margin-bottom: 18px;
        font-size: 10px;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-gallery__main {
        min-height: min(86vw, 420px);
    }

    .product-gallery__main img {
        max-height: 390px;
    }

    .product-gallery__thumbs {
        gap: 8px;
        margin-top: 8px;
    }

    .product-detail__title {
        margin-bottom: 18px;
        font-size: 22px;
    }

    .product-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-specs__wide {
        grid-column: span 2;
    }

    .product-purchase__bottom {
        justify-content: flex-start;
    }

    .product-purchase__bottom > .btn {
        flex: 1;
        min-width: 140px;
    }

    .payment-marks {
        justify-content: flex-start;
    }

    .recommended-products {
        margin-top: 44px;
    }

    .recommended-products .products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.cart-page__title {
    margin: 0 0 24px;
    color: #09267f;
    font-size: 30px;
    font-weight: 500;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, .8fr);
    align-items: start;
    gap: 18px;
}

.cart-items,
.cart-summary {
    border-radius: 4px;
    background: #fff;
}

.cart-items {
    padding: 0 20px;
}

.cart-line {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 142px 132px;
    grid-template-rows: 1fr auto;
    align-items: center;
    gap: 0 18px;
    min-height: 148px;
    padding: 16px 4px;
    border-bottom: 1px solid #d8dee8;
}

.cart-line:last-child {
    border-bottom: 0;
}

.cart-line__image {
    display: grid;
    grid-row: 1 / span 2;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
}

.cart-line__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-line__image--placeholder {
    background: #f7f9fb;
}

.cart-line__image--placeholder span {
    width: 68%;
    height: 44%;
    border-radius: 32px 48px 34px 40px;
    background: linear-gradient(135deg, #f4f5f7, #dce2e8);
    box-shadow: 4px 8px 12px rgba(35, 47, 60, .12);
}

.cart-line__description {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
}

.cart-line__description h2 {
    margin-bottom: 12px;
    color: #232a33;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.cart-line__description span,
.cart-line__description strong {
    display: block;
    font-size: 12px;
}

.cart-line__description span {
    margin-bottom: 1px;
    line-height: 1;
    color: #9aa5b4;
}

.cart-line__description strong {
    color: #526070;
    font-weight: 500;
}

.cart-line__price {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    color: #344458;
    font-size: 23px;
    font-weight: 600;
    white-space: nowrap;
}

.cart-line > .quantity-control {
    grid-column: 4;
    grid-row: 1;
    min-width: 130px;
    height: 40px;
    background: #9aa3b0;
}

.cart-line__stock {
    grid-column: 3 / 5;
    grid-row: 2;
    justify-self: end;
    color: #9aa5b4;
    font-size: 12px;
}

.cart-summary {
    padding: 22px 24px 18px;
}

.cart-summary h2 {
    margin-bottom: 24px;
    color: #25303c;
    font-size: 16px;
    font-weight: 500;
}

.cart-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #9aa5b4;
    font-size: 13px;
}

.cart-summary__row strong {
    color: #344458;
    font-size: 22px;
    font-weight: 600;
    white-space: nowrap;
}

.cart-summary__total {
    margin: 18px 0 20px;
    padding-top: 16px;
    border-top: 1px solid #d8dee8;
}

.cart-summary > .btn {
    width: 100%;
    min-height: 48px;
    padding: 10px;
    font-size: 12px;
}

.cart-summary > p {
    margin: 16px 12px 0;
    color: #a0a9b5;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.cart-recommendations {
    margin-top: 90px;
}

.cart-recommendations .products__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1200px) {
    .cart-layout {
        grid-template-columns: minmax(0, 1.7fr) minmax(270px, .8fr);
        gap: 12px;
    }

    .cart-items {
        padding: 0 12px;
    }

    .cart-line {
        grid-template-columns: 70px minmax(0, 1fr) 120px 110px;
        gap: 0 10px;
    }

    .cart-line__price {
        font-size: 18px;
    }

    .cart-line > .quantity-control {
        min-width: 110px;
    }
}

@media (max-width: 991px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 20px;
    }

    .cart-summary h2,
    .cart-summary__row,
    .cart-summary > p {
        grid-column: 1;
    }

    .cart-summary__total,
    .cart-summary > .btn {
        grid-column: 2;
    }

    .cart-summary__total {
        grid-row: 1 / span 2;
        align-self: end;
        margin: 0;
    }

    .cart-summary > .btn {
        grid-row: 3;
    }

    .cart-summary > p {
        margin: 0;
    }

    .cart-recommendations .products__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .cart-page__title {
        font-size: 22px;
    }

    .cart-items {
        padding: 0 10px;
    }

    .cart-line {
        grid-template-columns: 62px minmax(0, 1fr) auto;
        grid-template-rows: auto auto auto;
        gap: 8px 10px;
        min-height: 0;
        padding: 12px 0;
    }

    .cart-line__image {
        grid-row: 1 / span 3;
    }

    .cart-line__description {
        grid-column: 2 / 4;
        grid-row: 1;
    }

    .cart-line__description h2 {
        margin-bottom: 6px;
        font-size: 10px;
    }

    .cart-line__description span,
    .cart-line__description strong {
        font-size: 9px;
    }

    .cart-line__price {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        font-size: 15px;
    }

    .cart-line > .quantity-control {
        grid-column: 3;
        grid-row: 2;
        min-width: 92px;
        height: 32px;
    }

    .cart-line__stock {
        grid-column: 2 / 4;
        grid-row: 3;
        justify-self: start;
        font-size: 9px;
    }

    .cart-summary {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }

    .cart-summary h2,
    .cart-summary__row,
    .cart-summary__total,
    .cart-summary > .btn,
    .cart-summary > p {
        grid-column: 1;
        grid-row: auto;
    }

    .cart-summary__total {
        margin: 0;
    }

    .cart-recommendations {
        margin-top: 42px;
    }

    .cart-recommendations .products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.catalog-content-page {
    padding-bottom: 82px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}

.catalog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.catalog-filter {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 3px;
    background: rgba(211, 222, 234, .55);
    color: #283543;
    font-size: 12px;
}

.catalog-filter h2 {
    margin-bottom: 2px;
    color: #273441;
    font-size: 13px;
    font-weight: 500;
}

.catalog-filter--categories {
    padding: 4px 16px 14px;
    background: transparent;
}

.catalog-filter--categories ul {
    padding-left: 14px;
    border-left: 1px solid #c8d2df;
}

.catalog-filter--categories li {
    padding: 6px 0;
    line-height: 1.35;
}

.catalog-filter--categories li:first-child {
    color: #657281;
}

.catalog-filter > label {
    display: flex;
    align-items: center;
    gap: 9px;
}

.catalog-filter input[type="radio"] {
    width: 15px;
    height: 15px;
    accent-color: #153785;
}

.catalog-filter--switches {
    gap: 0;
}

.catalog-filter--switches label {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #d2dce7;
}

.catalog-filter--switches label:last-child {
    border-bottom: 0;
}

.catalog-filter--switches input {
    position: absolute;
    opacity: 0;
}

.catalog-filter--switches label span {
    position: relative;
    width: 40px;
    height: 20px;
    border-radius: 12px;
    background: #fff;
}

.catalog-filter--switches label span::before {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0c2d88;
    content: "";
}

.catalog-filter--switches input:checked + span::before {
    left: 24px;
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.price-inputs label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #8994a2;
    font-size: 10px;
}

.price-inputs input {
    width: 100%;
    padding: 11px 8px;
    border: 0;
    border-radius: 3px;
    color: #26323e;
    background: #fff;
    font: inherit;
    font-size: 12px;
}

.price-range {
    position: relative;
    height: 10px;
    margin: 8px 3px 12px;
    border-bottom: 2px solid #ec1920;
}

.price-range::before,
.price-range::after {
    position: absolute;
    bottom: -6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ec1920;
    content: "";
}

.price-range::before {
    left: 0;
}

.price-range::after {
    right: 0;
}

.filter-reset {
    min-height: 38px;
    border: 1px solid #143686;
    border-radius: 3px;
    color: #143686;
    font-size: 12px;
}

.catalog-toolbar {
    display: flex;
    min-height: 36px;
    align-items: center;
    gap: 22px;
    margin-bottom: 14px;
    color: #273441;
    font-size: 12px;
}

.catalog-sort {
    white-space: nowrap;
}

.catalog-sort--active {
    color: #0637d5;
}

.catalog-view {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.catalog-view button {
    color: #0342eb;
    font-size: 20px;
    line-height: 1;
}

.catalog-products__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.catalog-products__grid .product-card {
    border-radius: 3px;
}

.catalog-products__grid .product-image {
    min-height: 205px;
    padding: 12px;
}

.catalog-products__grid .product-info {
    padding: 12px;
}

.catalog-products__grid .product-title {
    min-height: 42px;
    font-size: 10px;
    line-height: 1.3;
}

.catalog-products__grid .product-code {
    font-size: 9px;
}

.catalog-products__grid .product-price {
    font-size: 15px;
}

.catalog-products__grid .btn-cart {
    width: 40px;
    height: 40px;
}

.catalog-products__grid .product-favorite {
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    color: #c5ccd6;
    font-size: 16px;
}

.catalog-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

.catalog-pagination {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #263441;
    font-size: 12px;
}

.catalog-pagination a {
    display: grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
}

.catalog-pagination .is-current {
    border: 1px solid #2151dc;
    border-radius: 3px;
    color: #153cba;
}

@media (max-width: 1200px) {
    .catalog-layout {
        grid-template-columns: 200px minmax(0, 1fr);
    }

    .catalog-toolbar {
        gap: 12px;
        font-size: 10px;
    }

    .catalog-products__grid {
        gap: 10px;
    }

    .catalog-products__grid .product-image {
        min-height: 160px;
    }
}

@media (max-width: 991px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-filter--categories {
        grid-row: span 2;
    }

    .catalog-products__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .catalog-content-page {
        padding-bottom: 42px;
    }

    .catalog-sidebar {
        grid-template-columns: 1fr;
    }

    .catalog-filter--categories {
        max-height: 180px;
        overflow: auto;
    }

    .catalog-toolbar {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 9px;
    }

    .catalog-view {
        gap: 8px;
    }

    .catalog-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .catalog-products__grid .product-image {
        min-height: 110px;
    }

    .catalog-products__grid .product-info {
        padding: 8px;
    }

    .catalog-products__grid .product-title {
        min-height: 34px;
        font-size: 8px;
    }

    .catalog-products__grid .product-price {
        font-size: 10px;
    }

    .catalog-products__grid .btn-cart {
        width: 28px;
        height: 28px;
    }

    .catalog-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .catalog-pagination {
        gap: 12px;
    }
}

.company-page {
    background: #071d79;
}

.company-content {
    overflow: hidden;
    color: #d6def1;
    background: linear-gradient(110deg, #071d79, #0a2e9c);
}

.company-video {
    padding-top: 28px;
}

.company-video__frame {
    position: relative;
    display: grid;
    height: min(43vw, 800px);
    min-height: 460px;
    place-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #102d68 0%, #07183f 70%);
}

.company-video__frame > img {
    width: min(48%, 560px);
    opacity: .9;
}

.company-video__frame > button {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 92px;
    height: 92px;
    padding-left: 7px;
    transform: translate(-50%, -50%);
    place-items: center;
    border: 4px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: rgba(7, 29, 121, .8);
    font-size: 36px;
}

.company-video__mark {
    position: absolute;
    right: 32px;
    bottom: 28px;
    color: rgba(255, 255, 255, .7);
    font-size: 28px;
}

.company-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    padding-top: 58px;
}

.company-story h1,
.company-mission h2 {
    margin-bottom: 20px;
    color: #dfe7fb;
    font-size: 30px;
    font-weight: 500;
}

.company-story p,
.company-mission p {
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.45;
}

.company-story__column--second {
    padding-top: 50px;
}

.company-mission {
    position: relative;
    display: grid;
    min-height: 360px;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 40px;
    padding-top: 32px;
    padding-bottom: 24px;
}

.company-mission__copy h2 {
    margin-bottom: 20px;
}

.company-mission__copy h3 {
    margin-top: 36px;
    color: #1982ff;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.35;
}

.company-mission__image {
    display: flex;
    justify-content: center;
}

.company-mission__image img {
    width: min(82%, 410px);
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .18));
}

.company-stats {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
    padding-top: 10px;
    padding-bottom: 28px;
}

.company-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.company-stat strong {
    color: #fff;
    font-size: clamp(46px, 6vw, 92px);
    font-weight: 500;
    line-height: 1;
}

.company-stat strong small {
    font-size: .5em;
}

.company-stat span {
    font-size: 11px;
    line-height: 1.4;
}

.company-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 28px;
    margin-bottom: 40px;
}

.company-timeline::before {
    position: absolute;
    top: 12px;
    right: 0;
    left: 0;
    height: 1px;
    background: #1681ff;
    content: "";
}

.company-timeline span {
    z-index: 1;
    width: 7px;
    height: 7px;
    margin-top: 9px;
    border-radius: 50%;
    background: #1681ff;
    position: relative;
}

.company-timeline span:nth-of-type(2) {
    left: -127px;
}

.company-timeline span:nth-of-type(3) {
    left: -425px;
}

.company-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 52px 70px;
    padding-bottom: 80px;
}

.company-value img {
    width: 78px;
    height: 78px;
    margin-bottom: 18px;
    object-fit: contain;
}

.company-value h3 {
    max-width: 230px;
    margin-bottom: 12px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.15;
}

.company-value p {
    max-width: 270px;
    color: #d6def1;
    font-size: 11px;
    line-height: 1.45;
}

@media (max-width: 991px) {
    .company-video__frame {
        min-height: 380px;
    }

    .company-story {
        gap: 30px;
    }

    .company-mission {
        min-height: 280px;
        gap: 20px;
    }

    .company-values {
        gap: 38px 30px;
    }
}

@media (max-width: 768px) {
    .company-video {
        padding-top: 12px;
    }

    .company-video__frame {
        height: 58vw;
        min-height: 220px;
    }

    .company-video__frame > img {
        width: 64%;
    }

    .company-video__frame > button {
        width: 56px;
        height: 56px;
        border-width: 2px;
        font-size: 23px;
    }

    .company-video__mark {
        right: 12px;
        bottom: 10px;
        font-size: 18px;
    }

    .company-story {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-top: 30px;
    }

    .company-story h1,
    .company-mission h2 {
        margin-bottom: 12px;
        font-size: 22px;
    }

    .company-story p,
    .company-mission p {
        margin-bottom: 10px;
        font-size: 10px;
    }

    .company-story__column--second {
        padding-top: 0;
    }

    .company-mission {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 4px;
        padding-top: 20px;
    }

    .company-mission__copy h3 {
        margin-top: 18px;
        font-size: 17px;
    }

    .company-mission__image img {
        width: 44%;
    }

    .company-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px 12px;
        padding-top: 22px;
    }

    .company-stat:first-child {
        grid-column: 1 / -1;
    }

    .company-stat strong {
        font-size: 48px;
    }

    .company-stat span {
        font-size: 9px;
    }

    .company-timeline {
        margin-bottom: 24px;
    }

    .company-values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 14px;
        padding-bottom: 42px;
    }

    .company-value img {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
    }

    .company-value h3 {
        margin-bottom: 8px;
        font-size: 14px;
    }

    .company-value p {
        font-size: 9px;
    }
}

/* Final layout refinements */
/*.top-bar__socials img { filter: brightness(0) invert(1) !important; }*/
.header-icon img,
.header-icon:hover img { filter: brightness(0) invert(1) !important; }
.logo-img { width: 275px; height: auto; max-height: 38px; object-fit: contain; }
.nav-link { position: relative; padding: 8px 12px; }
.header-icon { padding: 8px; }
.btn-catalog:hover, .hero-content .btn:hover, .product-banner .btn:hover, .newsletter .btn:hover { background: var(--primary-red); transform: none; box-shadow: 0 12px 20px -4px rgba(0, 0, 0, .6); }
.btn-catalog.is-open, .btn-catalog.is-open:hover { background: #990000; box-shadow: none; }
.btn-catalog:active, .hero-content .btn:active, .product-banner .btn:active, .newsletter .btn:active { background: #990000; box-shadow: none; }
.inner-page { background: #e5edf6; }
main.inner-page .container, body.inner-page main .container { padding-top: 30px; padding-bottom: 30px; }
.breadcrumbs { color: #a8b4c8; font-size: 13px; margin-bottom: 35px; }
.breadcrumbs span, .breadcrumbs a { margin: 0 8px 0 0; }
.inner-title { color: #00308f; font-size: 32px; margin-bottom: 38px; }
.contacts-layout { display: grid; grid-template-columns: 390px 1fr; gap: 20px; }
.contact-list { display: grid; gap: 14px; }
.contact-card, .vacancy-card { background: #fff; border-radius: 4px; padding: 25px; }
.contact-card h2, .vacancy-card h2 { font-size: 18px; margin-bottom: 20px; }
.contact-card dt { color: #a7afbc; font-size: 13px; margin-top: 12px; }
.contact-card dd { font-size: 14px; margin: 2px 0; }
.contact-form { background: #0638df; color: #fff; padding: 28px; border-radius: 4px; position: relative; overflow: hidden; }
.contact-form h2 { font-size: 22px; margin-bottom: 4px; }
.contact-form p { font-size: 12px; opacity: .8; margin-bottom: 18px; }
.contact-form form { display: grid; gap: 12px; max-width: 430px; }
.contact-form input, .contact-form textarea { border: 0; border-radius: 3px; padding: 13px; font: inherit; }
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form .btn { width: 100%; }
.contact-map { min-height: 380px; margin-top: 16px; background: #c9dfd4 url('/local/templates/am/img/figma-company-image-50.png') center/cover; border-radius: 3px; }
.certificates-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.certificate { background: #fff; padding: 8px; border-radius: 2px; box-shadow: 0 8px 18px rgba(10,30,70,.12); }
.certificate img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.vacancies-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.vacancy-card { min-height: 220px; }
.vacancy-card h2 { color: #35455c; font-size: 26px; }
.vacancy-card a { color: #064cff; text-decoration: underline; display: block; line-height: 1.5; }
.news-grid-page {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px 18px;
}

.news-grid-page .news-image {
    aspect-ratio: 1;
    height: auto;
    border-radius: 3px;
}

.news-grid-page .news-card {
    color: #1c283c;
    background: transparent !important;
    overflow: visible;
}

.news-grid-page .news-content {
    padding: 12px 0;
    min-height: 80px;
}

.news-grid-page .news-title {
    font-size: 16px;
}

.news-date-page {
    color: #a8b4c8;
    font-size: 12px;
}

.news-detail {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 34px;
    align-items: start;
}

.news-detail .news-image {
    height: auto;
    aspect-ratio: 1;
    border-radius: 3px;
}

.news-detail__text {
    font-size: 16px;
    line-height: 1.45;
}

.news-detail__text p {
    margin-bottom: 18px;
}

@media (max-width: 900px) {
    .contacts-layout,
    .news-detail {
        grid-template-columns: 1fr;
    }

    .certificates-grid,
    .news-grid-page {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .logo-img {
        width: 145px;
        max-height: 28px;
    }

    .vacancies-grid {
        grid-template-columns: 1fr;
    }

    .certificates-grid,
    .news-grid-page {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 10px;
    }

    .inner-title {
        font-size: 24px;
    }
}
.news:not(.news-grid-page) .news-content {
    padding: 12px 0 8px;
    min-height: 92px;
}

.news > .container .news-card {
    color: #1c283c;
    background: transparent !important;
    overflow: visible;
    border-radius: 0;
}

.news > .container .news-image {
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    background: linear-gradient(135deg, #081963, #0750dc);
}

.news > .container .news-card:nth-child(3) .news-image {
    background: linear-gradient(135deg, #ff4a00, #f31300);
}

.news > .container .news-image img {
    object-fit: contain;
}

.news:not(.news-grid-page) .news-title {
    color: #1c283c;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 5px;
}

.news:not(.news-grid-page) .news-text {
    color: #758095;
    font-size: 12px;
    line-height: 1.35;
    opacity: 1;
}

/* Banner and footer corrections */
.product-banner {
    background: #e5edf6;
    min-height: 0;
}

.product-banner__content {
    min-height: 400px;
    background: radial-gradient(
        circle,
        rgba(0, 111, 255, 1) 0%,
        rgba(0, 2, 118, 1) 100%
    );
}

.product-banner__image {
    display: block;
    max-width: 660px;
}

.product-banner__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-legal {
    background: #061544 !important;
    color: rgba(0, 44, 236, 0.55) !important;
    padding: 18px 0 0 0;
}

.footer-legal__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-legal a {
    color: rgba(0, 44, 236, 0.55) !important;
}

.footer-legal::after {
    content: '';
    display: block;
    width: 100%;
    height: 54px;
    margin-top: 18px;
    background: url('/local/templates/am/img/img-footer-bottom.svg') center bottom / cover no-repeat;
}

@media (max-width: 700px) {
    .footer-legal__content {
        flex-wrap: wrap;
    }
}


/* ---------- Шапка ---------- */
 
.news__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
 
.news__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: var(--news-navy);
}
 
.news__more {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--news-text);
  font-size: 14px;
  text-decoration: none;
}
 
.news__more:hover .news__more-text { text-decoration: underline; }
 
.news__more-arrow {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 3px;
  background: var(--news-blue);
}
 
.news__more-arrow::before,
.news__more-arrow::after {
  content: "";
  position: absolute;
}
 
/* стрелка ↗ */
.news__more-arrow::before {
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
}
 
.news__more-arrow::after {
  top: 11px;
  left: 7px;
  width: 10px;
  height: 1.5px;
  background: #fff;
  transform: rotate(-45deg);
  transform-origin: center;
}
 
/* ---------- Сетка ---------- */
 
.news__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--news-gap);
}
 
/* ---------- Карточка ---------- */
 
.news-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
 
.news-card__tile {
  position: relative;
  height: var(--news-tile-h);
  overflow: hidden;
  border-radius: var(--news-radius);
  background: var(--news-navy);   /* фон плашки генерируется CSS */
  isolation: isolate;
}

/* Блик */
.news-card__tile::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none; /* не мешает кликам */
  z-index: 5;           /* поверх картинки и текста */
  opacity: 0;
}

.news-card:hover .news-card__tile::after {
  opacity: 1;
  animation: news-shine 0.9s ease;
}

@keyframes news-shine {
  from { left: -75%; }
  to   { left: 130%; }
}
 
.news-card__tile-title {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 20px;
  right: 20px;
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}
 
.news-card__img {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
}
 
.news-card__icon {
  position: absolute;
  z-index: 3;
  left: 14px;
  bottom: 14px;
  width: var(--news-icon-size);
  height: var(--news-icon-size);
  background: var(--news-icon) center / contain no-repeat;
}
 
/* ---------- Круги (по одному классу на угол) ---------- */
 
.circle {
  position: absolute;
  z-index: 1;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}
 
/* цвета */
.circle--orange { background: linear-gradient(160deg, #ff2d00 0%, #ff7a00 100%); }
.circle--blue   { background: linear-gradient(160deg, #0a2cff 0%, #0b47ff 60%, #1f6bff 100%); }
 
/* углы: общий набор позиций для обоих цветов */
.circle--tl { top: -35%;    left: -35%; }
.circle--tr { top: -35%;    right: -35%; }
.circle--bl { bottom: -35%; left: -35%; }
.circle--br { bottom: -35%; right: -35%; }
 
/* ---------- Подпись под плашкой ---------- */
 
.news-card__body {
  padding: 24px 4px 0;
}
 
.news-card__name {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--news-text);
}
 
.news-card__tag {
  display: block;
  font-size: 14px;
  color: var(--news-muted);
}
 
.news-card:hover .news-card__name { color: var(--news-blue); }
 
/* ==========================================================
   Адаптив
   ========================================================== */
 
/* планшет: 2 колонки */
@media (max-width: 1100px) {
  :root { --news-tile-h: 320px; }
  .news__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }
}
 
/* большой телефон */
@media (max-width: 720px) {
  :root { --news-tile-h: 260px; --news-gap: 12px; }
  .news { padding: 32px 0 40px; }
  .news__inner { padding: 0 16px; }
  .news__header { margin-bottom: 20px; }
  .news__more-text { display: none; }
  .news__more-arrow { width: 32px; height: 32px; }
  .news-card__tile-title { top: 16px; left: 14px; right: 14px; font-size: 18px; }
  .news-card__name { font-size: 15px; margin-bottom: 12px; }
  .news-card__body { padding-top: 16px; }
  .news-card__tag { font-size: 12px; }
}
 
/* маленький телефон: одна колонка */
@media (max-width: 480px) {
  :root { --news-tile-h: auto; }
  .news__list { grid-template-columns: 1fr; }
  .news-card__tile { height: auto; aspect-ratio: 1 / 0.9; }
  .news-card__tile-title { font-size: 24px; }
  .news-card__name { font-size: 17px; }
}

.promo {
  padding: 44px 16px;
  color: #fff;
}

.promo-inner {
  position: relative;
  height: 366px;
  margin: 0 auto;
  padding: 36px 27px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0, 20, 80, 0.12);
  background:
    radial-gradient(ellipse 45% 90% at 62% 60%, #0057e6 0%, rgba(0, 87, 230, 0) 100%),
    linear-gradient(100deg, #0034b8 0%, #0044cc 45%, #0049d6 100%);
}
 
/* ---------- контент ---------- */
 
.promo__title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}
 
.promo__btn {
  position: absolute;
  z-index: 2;
  left: 27px;
  bottom: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}
 
/* картинка: на всю высоту блока, ширина по пропорциям */
.promo__img {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: 60%;
  object-fit: contain;
  object-position: right center;
}
 
/* ---------- белые полоски на градиентах ---------- */
 
/* косая штриховка слева внизу */
.promo-inner::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 27px;
  bottom: 88px;
  width: 42%;
  height: 8px;
  background: repeating-linear-gradient(
    -55deg,
    rgba(255, 255, 255, 0.55) 0 1px,
    transparent 1px 4px
  );
}
 
/* линия + «звуковая волна» справа вверху */
.promo-inner::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 33px;
  right: 26px;
  width: 480px;
  height: 20px;
  background:
    /* тонкая линия */
    linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85))
      left center / calc(100% - 170px) 1px no-repeat,
    /* столбики разной высоты и шага */
    repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 3px)
      right center / 160px 4px no-repeat,
    repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 7px)
      right center / 160px 10px no-repeat,
    repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 11px)
      right center / 160px 18px no-repeat,
    repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 17px)
      right center / 160px 14px no-repeat;
}
 
/* ---------- адаптив ---------- */
 
@media (max-width: 768px) {
  .promo-inner {
    height: 240px;
    padding: 24px 20px;
  }
 
  .promo__title {
    font-size: 24px;
  }
 
  .promo__btn {
    left: 20px;
    bottom: 20px;
  }
 
  .promo-inner::before {
    left: 20px;
    bottom: 40px;
  }
 
  .promo-inner::after {
    width: 260px;
    background-size: auto;
    opacity: 0.6;
  }
}

.hover-btn {
  --corner-len: 10px;   /* длина «уголков», всегда одинаковая */
  --thickness: 2px;
  --radius: 3px;
  --color: #1f3dff;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  cursor: pointer;
}

.hover-btn::before {
  content: "";
  position: absolute;
  inset: 0;                      /* привязка к краям блока */
  box-sizing: border-box;
  border: var(--thickness) solid var(--color);
  border-radius: var(--radius);
  pointer-events: none;

  /* показываем только квадраты фиксированного размера в четырёх углах */
  -webkit-mask:
    linear-gradient(#000 0 0) top left     / var(--corner-len) var(--corner-len) no-repeat,
    linear-gradient(#000 0 0) top right    / var(--corner-len) var(--corner-len) no-repeat,
    linear-gradient(#000 0 0) bottom left  / var(--corner-len) var(--corner-len) no-repeat,
    linear-gradient(#000 0 0) bottom right / var(--corner-len) var(--corner-len) no-repeat;
  mask:
    linear-gradient(#000 0 0) top left     / var(--corner-len) var(--corner-len) no-repeat,
    linear-gradient(#000 0 0) top right    / var(--corner-len) var(--corner-len) no-repeat,
    linear-gradient(#000 0 0) bottom left  / var(--corner-len) var(--corner-len) no-repeat,
    linear-gradient(#000 0 0) bottom right / var(--corner-len) var(--corner-len) no-repeat;

  opacity: 0;
  transition: opacity 0.2s ease;
}

.hover-btn:hover::before,
.hover-btn:focus-visible::before {
  opacity: 1;
}
.hover-btn:hover {
    color: #fff !important;
} 
/* End */
/* /local/templates/am/components/bitrix/catalog.section.list/am_menu/style.css?17941739403084 */
/* /local/templates/am/styles.css?179458981177305 */
