.page-wrapper{max-width:100%;}
.navigation, .breadcrumbs, .page-header .header.panel, .header.content, .footer.content, .page-wrapper > .widget, .page-wrapper > .page-bottom, .block.category.event, .top-container, .page-main{max-width:1440px;}
.page-header{border-color:#fff;}
.page-header .panel.wrapper{background-color:#fff;}
.page-header .block-search .input-text{border-color:#ebebeb;background:#f3f3f3;}
.page-header .block-search.inline .action.close{color:#fff;}
.page-footer{color:#1d1d1f;}
.footer.content .links a, .footer.content .links a:visited, .page-footer .footer-toolbar-top a, .page-footer .footer-toolbar-top .alink{color:#1d1d1f;}
.footer.content .links a:hover, .footer.content .links a:visited:hover, .page-footer .footer-toolbar-top a:hover, .page-footer .footer-toolbar-top .alink:hover{color:#ea1819;}
.page-footer div.title, .page-footer .block.newsletter .label{color:#1d1d1f;}
.action.primary{background:#ea1819;border-color:#ea1819;}
.action.primary:hover, .action.primary:focus, .action.primary:active{background:#ea1819;border-color:#ea1819;}
.tocart.action, .block.soldtogether-block .soldtogether-cart-btn, .bundle-actions .action.primary.customize{background:#ea1819;border-color:#ea1819;}
.tocart.action:hover, .block.soldtogether-block .soldtogether-cart-btn:hover, .bundle-actions .action.primary.customize:hover, .tocart.action:active, .block.soldtogether-block .soldtogether-cart-btn:active, .bundle-actions .action.primary.customize:active, .tocart.action:focus, .block.soldtogether-block .soldtogether-cart-btn:focus, .bundle-actions .action.primary.customize:focus{background:#ea1819;border-color:#ea1819;}
.page-title-wrapper .page-title, .catalog-product-view .column.main > .block .block-title [role="heading"]{font-family:'Roboto', sans-serif;color:#012a3b;}
div.block .block-title strong, .block.askit-question-form > .block-title strong, .contact.form .legend, .column.main .block-title [aria-level="3"], div.block .content-heading [role="heading"]{font-family:'Roboto', sans-serif;color:#012a3b;}
.product-info-main .product-info-price .price-box .price-container [data-price-type=finalPrice] .price, .product-info-main .product-info-price .price-box .price-container [data-price-type=minPrice] .price, .product-info-main .product-info-price .price-box .price-container [data-price-type=maxPrice] .price, .bundle-options-container .block-bundle-summary .price-box [data-price-type=finalPrice] .price{color:#ea1819;}
/* ═══════════════════════════════════════════════════════════
   Custom CSS Theme Editor — ВСЕ стили ESD Equipment
   ═══════════════════════════════════════════════════════════ */

/* ── Base ─────────────────────────────────────────────────── */
body {color: #1d1d1f; font-size: 1.5rem;}
h1 {font-size: 3.5rem; line-height: 3.5rem;}
h2 {line-height: 3.5rem;}
.breadcrumbs a {color: #1d1d1f;}
.breadcrumbs a:hover {color: #1d1d1f;}
.breadcrumbs .items {color: #4b7caa;}
.breadcrumbs a:visited {color: #1d1d1f;}
a, .alink {color: #D82115;}
a:hover {color: #D82115 !important;}
.footer-toolbar-bottom {display: none;}

/* ── Search ───────────────────────────────────────────────── */
.amsearch-autocomplete-image .product-image-photo {border: none;}
.amsearch-input-wrapper .amsearch-input {width: 600px; height: 35px;}
.amsearch-input-wrapper .amsearch-input {
    border: 0;
    padding: 5px 10px;
    transition: .3s;
}
.product-item .old-price {visibility: hidden;}

/* ── Top ──────────────────────────────────────────────────── */
.product-item-name, .product.name a {color: #001932;}
.sidebar .product-item-name > a {color: #1d1d1f;}
.easycatalogimg a {color: #012a3b;}
.easycatalogimg a:hover {color: #D82115;}
.product-item .price-box [data-price-type="finalPrice"] .price,
.product-item .price-box > .regular-price .price,
.product-item .price-box > .minimal-price .price,
.product-item .price-box > .price-from .price,
.product-item .price-box > .price-to .price {color: #D82115;}
.page-header .minicart-wrapper .action.showcart .counter.qty,
.page-header .minicart-wrapper .action.showcart.active .counter.qty {background: #D82115;}

/* ── Main Menu — навбар ───────────────────────────────────── */
.nav-sections .nav-sections-items .navigation:not(.navpro) {
    padding-top: 0;
    padding-bottom: 0;
}
.navigation ul {padding: 0; background: #011a3b;}
.navigation .level0 > .level-top {line-height: 40px;}
.nav-sections .nav-sections-items {padding-top: 0;}
.block.related .block-title {display: inline-block;}

/* ── Mini cart ─────────────────────────────────────────────── */
.minicart-items .product-item-name a {
    font-size: 12px;
    line-height: 18px;
    color: #012a3b;
}
.minicart-items .product-item-details .price {color: #ea1819;}
.block-minicart .subtotal {text-align: left;}

/* ── Frontpage ─────────────────────────────────────────────── */
.jumbotron {padding: 0;}
.minicart-wrapper .action.showcart .counter.qty,
.minicart-wrapper .action.showcart.active .counter.qty {background: #ea1819;}
.argento-grid {margin-left: 10px; margin-right: 10px;}
.footer.content .footer-newsletter {margin: 20px 30px; padding: 0;}

/* ── Product page ──────────────────────────────────────────── */
.catalog-product-view .page-title-wrapper .page-title {
    font-size: 2.5rem;
    line-height: 3rem;
    margin-bottom: 40px;
}
.product-info-main .product-options-bottom .price-box .price-container .price,
.product-info-main .product-info-price .price-box .price-container .price {
    color: #ea1819;
    font-size: 35px;
}
.product.detailed #description {
    padding: 60px;
    background: linear-gradient(to left, #fff 35%, #f3f6f9 35%);
}
.product.detailed #description .argento-float-photo {margin: 0; padding: 10px; background: #fff;}
.product.detailed #description .argento-float-photo img {filter: contrast(94%);}
.product.detailed #description > *:not(.argento-float-photo) {max-width: 400px;}
#product\.info\.description p {color: #1d1d1f;}
.product-info-main .product.attribute.overview {color: #1d1d1f;}
.product-info-sticky .price-excluding-tax,
.product-info-sticky .old-price {display: none !important;}
.product-info-main .box-tocart.is_stuck .price-box .price-label+.price-wrapper,
.bundle-options-container .box-tocart.is_stuck .price-box .price-label+.price-wrapper {margin-top: 15%;}
.action.primary, .block-authentication .action.action-login {
    background: #001932;
    border: 0;
    color: #ffffff;
}
.action.primary:hover, .block-authentication .action.action-login:hover {
    background: #ea1819;
    border: 0;
    color: #fff;
}
.product-info-main .product-options-bottom .price-box .price-container .price-label,
.product-info-main .product-info-price .price-box .price-container .price-label {
    font-size: 1.5rem;
    color: #000;
}
.product-info-main .product-info-stock-sku {
    color: #1d1d1f;
    text-align: left;
    font-size: 2rem;
}
.product-info-main .product-social-links .action.tocompare,
.product-info-main .product-social-links .action.towishlist {color: #012a3b;}
.product.pricing {background: #ffcc33;}
.fotorama__stage .fotorama__img, .fotorama__nav-wrap .fotorama__img {filter: contrast(100%);}
.argento-float-photo img {filter: contrast(94%);}
.product-info-main .product.attribute.sku .type:after {content: ':';}
.product-info-main .product.attribute.sku {display: inline-flex;}
.product-options-bottom .price-box .price-container .price-including-tax + .price-excluding-tax .price,
.product-info-price .price-box .price-container .price-including-tax + .price-excluding-tax .price,
.product-options-bottom .price-box .price-container .weee + .price-excluding-tax .price,
.product-info-price .price-box .price-container .weee + .price-excluding-tax .price,
.product-options-bottom .price-box .price-container .weee .price,
.product-info-price .price-box .price-container .weee .price {
    font-size: 18px;
    font-weight: 400;
}
.is_stuck .product-info-sticky .price-box .price-container .price {
    font-size: 2.5rem;
    font-weight: 700;
}
.price-including-tax, .price-excluding-tax {line-height: 0.5;}
h3, .product-info-sticky .name {font-size: 1.5rem;}
.tocart.action, .block.soldtogether-block .soldtogether-cart-btn,
.bundle-actions .action.primary.customize {background: #012a3b;}
.soldtogether-block .swiper-button-next:after {display: none;}
.soldtogether-block .swiper-button-prev:after {display: none;}
.swiper-button-prev:after, .swiper-container-rtl .swiper-button-next:after,
.swiper-button-next:after, .swiper-container-rtl .swiper-button-prev:after {display: none;}
.technical-specifications__item--value {padding-left: 20px;}
.product-info-main .product-options-bottom .price-box .old-price .price,
.product-info-main .product-info-price .price-box .old-price .price,
.product-info-main .product-options-bottom .price-box .old-price .price-container,
.product-info-main .product-info-price .price-box .old-price .price-container {visibility: hidden;}
.abs-input-qty, .column .block-addbysku .qty .qty, .bundle-options-container .input-text.qty, .box-tocart .input-text.qty, .account .data.table-return-items .qty .input-text, .table-giftregistry-items .field.qty .qty, .block-giftregistry-shared-items .qty .qty, .table.grouped .col.qty .control.qty .qty, .block-wishlist-info-items .input-text.qty, .multicheckout .table-wrapper .col .qty .input-text, .account .table-wrapper .data.table.wishlist .box-tocart .qty, .products-grid.wishlist .product-item .box-tocart input.qty, .sidebar .block-addbysku .fieldset .fields .field.qty .qty {width: 70px;}

/* ── Category page ─────────────────────────────────────────── */
.sidebar .block {padding: 10px;}
.price-wrapper.price-excluding-tax {display: none;}

/* ── Success page ──────────────────────────────────────────── */
.account .main .block .block-title {color: #011a3b;}

/* ── Misc ──────────────────────────────────────────────────── */
div.eln-breadcrumb ol.items li.item a.action.remove:before {content: '';}
.amslider .slide .category-item-title,
.amslider .swiper-slide .swiper-category-item {font-weight: bold;}

/* ── Footer ────────────────────────────────────────────────── */
.page-footer > .content {padding: 0;}
.footer-links .item > .content > div {margin-bottom: 0;}
.footer.content .links > li {font-size: 14px;}
.footer-toolbar-bottom {visibility: hidden;}

/* ── Product grid ──────────────────────────────────────────── */
.page-products .column.main .products-grid:not(.swiper-container) .product-items .product-item .product-item-name,
.column.main .block.widget .products-grid:not(.swiper-container) .product-items .product-item .product-item-name {
    overflow: visible !important;
    white-space: initial !important;
}
@media (min-width: 1024px) {
    .page-products .column.main .products-grid:not(.swiper-container) .product-items .product-item,
    .column.main .block.widget .products-grid:not(.swiper-container) .product-items .product-item {
        height: auto !important;
    }
    .page-layout-1column .column.main .block.widget .products-grid:not(.swiper-container) .product-items .product-item {height: 500px;}
}

/* ── Customer account ──────────────────────────────────────── */
.abs-status-desktop, .return-status, .order-status {visibility: hidden;}

/* ── Brands ────────────────────────────────────────────────── */
.category-image-wrapper .page-title-wrapper {visibility: hidden;}
.ambrands-letter .ambrands-brand-item .ambrands-inner {height: 70%;}
.ambrands-letter .ambrands-brand-item .ambrands-count {color: #cb2b24;}
.ambrands-slider-container.amslider_id1815 {background-color: #FFF;}

/* ── Subtitle style ────────────────────────────────────────── */
.page-products .main .page-title-wrapper .page-title:after {
    content: '';
    border: 2px solid;
    width: 70px;
    display: inline-block;
    margin-left: 16px;
}
.page-products .main .page-title-wrapper .page-title,
.account .main .page-title,
.contact-index-index .page-title-wrapper .page-title {margin: 0;}
.page-products .main .page-title-wrapper .subtitle {
    font-weight: 600;
    font-size: 28px;
    color: #7a8fa3;
}

/* ── FAQ ───────────────────────────────────────────────────── */
.swissup-richsnippets__faqs--item {
    border: var(--faqs-item__border, solid #ddd);
    border-width: var(--faqs-item__border-width, 1px 0 1px);
    margin: var(--faqs-item__margin, -1px 0 0);
}
.swissup-richsnippets__faqs--question {
    align-items: flex-start;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-weight: var(--faqs-question__font-weight, 600);
    padding: var(--faqs-question__padding, 1.25rem 0);
}
.swissup-richsnippets__faqs--question::after {
    content: var(--faqs-question__icon__code, '\2039');
    font-weight: normal;
    padding: var(--faqs-question__icon__padding, 0 1rem);
    transform: var(--faqs-question__icon__transform, scale(1.5) rotate(-90deg));
}
[open] > .swissup-richsnippets__faqs--question::after {
    transform: var(--faqs-question-open__icon__transform, scale(1.5) rotate(90deg));
}
.swissup-richsnippets__faqs--answer {
    padding: var(--faqs-answer__padding, 0 0 1.25rem);
}

/* ══════════════════════════════════════════════════════════════
   CONTENT WRAPPER 1440px
   ══════════════════════════════════════════════════════════════ */
.panel.header,
.header.content,
.header.bottom,
.nav-sections .navigation,
.breadcrumbs,
.page-main,
.page-messages,
.footer.content {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}
/* nav-sections max-width ТОЛЬКО на десктопе — на мобиле Magento сам управляет position/left */
@media (min-width: 768px) {
    .nav-sections {
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ══════════════════════════════════════════════════════════════
   HEADER + NAV — поверх слайдера
   ══════════════════════════════════════════════════════════════ */
.page-header {
    position: relative;
    z-index: 99998;
}

/* ══════════════════════════════════════════════════════════════
   FIX DESKTOP: Submenu + overflow
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    /* Белый текст и жёлтый active — ТОЛЬКО десктоп */
    .navigation .level0 > .level-top {
        color: #ffffff !important;
    }
    .navigation .level0.active > .level-top,
    .navigation .level0.has-active > .level-top {
        color: #f6cf4d !important;
    }
    .nav-sections {
        position: relative;
        z-index: 99997;
        overflow: visible !important;
    }
    .sections.nav-sections .section-items.nav-sections-items {
        overflow: visible !important;
    }
    .nav-sections .navigation .level0 > .submenu,
    .nav-sections .navigation ul.submenu,
    ul.level0.submenu {
        background-color: #f3f6f8 !important;
        border: 1px solid #dce3e8 !important;
        z-index: 999999 !important;
        position: absolute !important;
    }
    ul.level0.submenu li {
        background-color: #f3f6f8 !important;
    }
    ul.level0.submenu li a {
        color: #011a3b !important;
    }
    ul.level0.submenu li:hover {
        background-color: #e2e8ed !important;
    }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE — только стилизация, off-canvas управляет Magento
   ══════════════════════════════════════════════════════════════ */
@media only screen and (max-width: 767px) {
    /* Fix: Argento ставит position:relative глобально — на мобиле нужен fixed,
       чтобы убрать элемент из потока и убрать gap 462px */
    .nav-sections {
        position: fixed !important;
        top: 0;
        left: calc(-1 * (100% - 54px));
        width: calc(100% - 54px);
        height: 100%;
        overflow: auto;
        background: #ffffff !important;
        transition: left 0.3s;
        z-index: 99999;
    }
    /* Когда меню открыто */
    html.nav-open .nav-sections {
        left: 0;
    }
    /* Все ссылки навигации — тёмный текст на белом фоне */
    .nav-sections .navigation .level0 > .level-top,
    .nav-sections .navigation a.level-top,
    .navigation .level0 > a.level-top {
        color: #011a3b !important;
        background: #fff !important;
    }
    .navigation ul {background: #fff !important;}
    .navigation .submenu:not(:first-child).expanded {background: #fff !important;}
    .navigation a,
    .navigation a:hover,
    .navigation a:visited,
    .navigation .level0 > a,
    .navigation .submenu a {
        color: #011a3b !important;
        background: #fff !important;
    }
    .nav-sections-item-title,
    .nav-sections-item-title.active {
        background: #fff !important;
    }
    .nav-sections-item-title a {
        color: #D82115 !important;
        background: #fff !important;
    }
    /* Стрелка подменю */
    .navigation .level0.parent > .level-top::after {
        color: #011a3b !important;
    }
    .switcher-language {display: none;}
    .amsearch-input-wrapper .amsearch-input {width: 100%;}
    .minicart-wrapper {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    .argento-grid {margin-left: 0; margin-right: 0;}
    .img-disc {display: none;}

    /* Fix: горизонтальный overflow — контент шире экрана после слайдера */
    html, body { overflow-x: hidden; }
    .page-wrapper { overflow-x: hidden; max-width: 100vw; }
    .page-main { max-width: 100% !important; overflow-x: hidden; box-sizing: border-box; }
    .columns, .column.main { max-width: 100% !important; overflow-x: hidden; }
    .jumbotron .container { max-width: 100% !important; width: 100% !important; box-sizing: border-box; }
    .products-grid .product-items { max-width: 100% !important; }
    .hero-content-overlay { max-width: 92%; }
    .product.detailed #description { padding: 15px; background: #f3f6f9; }
}

/* ══════════════════════════════════════════════════════════════
   HERO SLIDER
   ══════════════════════════════════════════════════════════════ */
.hero-slider-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    display: block;
    overflow: hidden;
    z-index: 1;
}
.hero-slider-wrapper .easyslide-wrapper {position: relative;}
.hero-slider-wrapper .swiper-container,
.hero-slider-wrapper .swiper {height: 600px;}
.hero-slider-wrapper .swiper-slide img,
.hero-slider-wrapper .slider-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.hero-slider-wrapper .swiper-button-next,
.hero-slider-wrapper .swiper-button-prev {z-index: 30;}

/* ── Hero overlay ─────────────────────────────────────────── */
.hero-content-overlay {
    position: absolute;
    left: 5%;
    top: 0;
    height: 600px;
    width: 500px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
    box-sizing: border-box;
    z-index: 10;
    transform: none;
}
.hero-eyebrow {
    background: rgba(232,90,0,0.15);
    border: 1px solid rgba(232,90,0,0.3);
    border-radius: 30px;
    padding: 5px 14px;
    display: inline-block;
    margin-bottom: 14px;
    width: fit-content;
}
.hero-eyebrow span {
    color: #ff6b1a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hero-headline {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(32px, 3vw, 56px);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 14px;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.hero-headline .h-accent {color: #e85a00;}
.hero-desc {
    font-size: 13.5px;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
    margin-bottom: 16px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.hero-trust-pills span {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 11px;
    color: rgba(255,255,255,0.9);
}
.hero-cta-group {display: flex; gap: 10px; flex-wrap: wrap;}
.btn-hero-primary {
    background: #e85a00;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 2px solid #e85a00;
    transition: all 0.2s;
    line-height: 1;
}
.btn-hero-primary:hover {
    background: #ff6b1a;
    border-color: #ff6b1a;
    color: #ffffff;
    text-decoration: none;
}
.btn-hero-secondary {
    background: transparent;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.2s;
    line-height: 1;
}
.btn-hero-secondary:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
}

/* ── Header bottom bar ────────────────────────────────────── */
.header.bottom.flex-row {
    max-width: 100% !important;
    background: #0d1b2e;
}
.header.bottom .flex-col-left,
.header.bottom .navigation {
    max-width: 1440px !important;
    margin: 0 auto;
}
