.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;}
.navigation ul {padding: 0 0px;background: #011a3b;}
.navigation .level0 > .level-top {color: #ffffff;line-height: 40px;}
.navigation .level0.active > .level-top, .navigation .level0.has-active > .level-top {color:#f6cf4d;}
.nav-sections .nav-sections-items {padding-top: 0px;}

.block.related .block-title {
    display: inline-block;
}

.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;
}

/* ── FIX MOBILE: gap + меню ─────────────────────────────────*/
@media only screen and (max-width: 767px) {
    .nav-sections {
        position: fixed !important;
        top: 0;
        left: calc(-1 * (100% - 54px));
        width: calc(100% - 54px);
        height: 100%;
        overflow: auto;
        transition: left 0.3s;
        z-index: 99999;
    }
    html.nav-open .nav-sections { left: 0; }
    .nav-sections .navigation { max-width: 100% !important; }
    .navigation ul { width: 100% !important; }
}

/* ── FIX DESKTOP: синий фон на всю ширину + выпадающее меню */
@media (min-width: 768px) {
    .header.bottom.flex-row {
        max-width: 100% !important;
        background-color: #011a3b !important;
    }
    .nav-sections {
        overflow: visible !important;
        background-color: #011a3b;
    }
    .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; }
}
/* ===== More from Brand - заголовок ===== */
.amshopby-morefrom .block-title {
    padding: 40px 0 0;
    margin: 0 0 30px;
}
.amshopby-morefrom .block-title strong {
    font-size: 28px;
    line-height: 30.8px;
}

/* ===== More from Brand - серый фон ===== */
.amshopby-morefrom .block-content {
    background: rgb(247, 249, 251);
    padding: 30px 0 0;
    border-radius: 4px;
}

/* ===== More from Brand - отступ 30px ===== */
.amshopby-morefrom .products-morefrom {
    padding: 0 30px;
    box-sizing: border-box;
}

/* ===== Flex-сетка + kill margin-left:-6px ===== */
.amshopby-morefrom .products-morefrom .product-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 !important;
    padding: 0;
    list-style: none;
    gap: 10px;
}

/* ===== Карточки ===== */
.amshopby-morefrom .products-morefrom .product-items > .product-item {
    display: block;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 4px 24px 0px;
    margin: 0 0 10px 0 !important;
    width: 332px !important;
    box-sizing: border-box;
    text-align: left;
}

/* КЛЮЧЕВОЙ ФИЧ ТЕКСТА:
   Magento hardcode: .product-item-info { width: 152px }
   Без этого правила текст зажат в 152px колонку                      */
.amshopby-morefrom .product-item-info {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 5px;
}

/* Фото — блочный элемент для вертикального стека */
.amshopby-morefrom .product-item-photo {
    display: block;
}

/* ===== Изображения 240px, центрирование ===== */
.amshopby-morefrom .product-image-container {
    width: 240px;
    display: block;
    margin: 0 auto;
}

.amshopby-morefrom .product-image-wrapper {
    width: 240px;
    height: auto !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
}

.amshopby-morefrom .product-image-photo {
    position: static !important;
    display: block;
    width: 240px;
    height: 240px;
    object-fit: contain;
    margin: 0 !important;
}

/* ===== Скрыть кнопки и иконки ===== */
.amshopby-morefrom .product-item-actions,
.amshopby-morefrom .actions-secondary {
    display: none;
}

/* ===== Цена по центру ===== */
.amshopby-morefrom .price-box,
.amshopby-morefrom .price-container {
    text-align: center;
}

/* ===== Customers Who Bought - цена 24px по центру ===== */
#soldtogether\.product\.customer .price {
    font-size: 24px;
}
#soldtogether\.product\.customer .price-box,
#soldtogether\.product\.customer .price-container {
    text-align: center;
}