/* Top-Matras Unified Catalog Button, Left Slide-Out Multi-Level Drawer & Desktop Catalog Filter Layout */

/* 1. Desktop Navigation Bar + "KATALOG" Button */
.container.container-main-menu {
    margin-bottom: 20px;
}

.main-menu-wrapper.topm-main-menu-bar {
    display: flex;
    align-items: center;
    height: 48px;
    margin: 10px -15px -12px;
    padding: 4px 6px;
    background: linear-gradient(90deg, #3b93ca 0%, #4aa0d5 55%, #3d95cb 100%);
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(36, 108, 158, 0.22);
    position: relative;
}

.topm-catalog-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 38px;
    padding: 0 18px;
    margin-right: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.92);
    border-radius: 6px;
    background: rgba(13, 62, 98, 0.24);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: pointer;
    line-height: 1;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    outline: none !important;
    user-select: none;
}

.topm-catalog-btn:hover,
.topm-catalog-btn:focus {
    background: rgba(10, 49, 80, 0.44);
    border-color: #ffffff;
    box-shadow: 0 2px 8px rgba(8, 38, 64, 0.22);
    color: #ffffff !important;
}

.topm-catalog-btn:active,
.topm-catalog-btn.is-open {
    background: rgba(9, 43, 71, 0.56);
    border-color: #ffffff;
}

.topm-catalog-btn__bars {
    position: relative;
    display: inline-block;
    width: 17px;
    height: 12px;
    flex-shrink: 0;
}

.topm-catalog-btn__bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
}

.topm-catalog-btn__bars span:nth-child(1) { top: 0; }
.topm-catalog-btn__bars span:nth-child(2) { top: 5px; width: 13px; }
.topm-catalog-btn__bars span:nth-child(3) { top: 10px; }

.topm-catalog-btn:hover .topm-catalog-btn__bars span:nth-child(2) {
    width: 17px;
}

.main-menu-wrapper.topm-main-menu-bar .main-menu {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 38px;
    margin: 0;
    padding: 0 6px;
    border: 1px dashed rgba(255, 255, 255, 0.42);
    border-radius: 4px;
    min-width: 0;
}

.main-menu-wrapper.topm-main-menu-bar .main-menu-item {
    position: static;
    display: inline-flex;
    align-items: center;
    height: 100%;
    line-height: 36px;
}

.main-menu-wrapper.topm-main-menu-bar .main-menu-link {
    display: inline-flex;
    align-items: center;
    height: 34px;
    line-height: 34px;
    padding: 0 11px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    border-radius: 4px;
    white-space: nowrap;
}

.main-menu-wrapper.topm-main-menu-bar .main-menu-link1 {
    display: inline-flex;
    align-items: center;
    height: 32px;
    line-height: 1;
    padding: 0 12px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.02em;
    border-radius: 5px;
    white-space: nowrap;
    background: #ffffff;
    color: #195683 !important;
    text-decoration: none !important;
    box-shadow: 0 1px 4px rgba(10, 42, 68, 0.14);
    transition: background-color 0.16s ease, color 0.16s ease;
}

.main-menu-wrapper.topm-main-menu-bar .main-menu-link1:hover,
.main-menu-wrapper.topm-main-menu-bar .main-menu-link1:focus {
    background: #eef7fe;
    color: #0e3d61 !important;
}

.main-menu-wrapper.topm-main-menu-bar .main-menu-link .caret {
    margin-left: 5px;
    top: 0;
}

.main-menu-wrapper.topm-main-menu-bar .main-menu-item .dropdown-menu {
    top: 48px;
    left: 0;
    width: 100%;
    padding: 14px 18px;
    border-radius: 0 0 8px 8px;
    border-color: #dce6f0;
    box-shadow: 0 14px 32px rgba(15, 34, 58, 0.16);
    z-index: 1040;
    box-sizing: border-box;
}

.main-menu-wrapper.topm-main-menu-bar .main-menu-item.open > .dropdown-menu {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.main-menu-wrapper.topm-main-menu-bar .main-menu-item .dd-menu-item-column {
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
    padding: 6px 8px;
}

.main-menu-wrapper.topm-main-menu-bar .main-menu-item .dd-menu-item-column1 {
    flex: 2.2 1 0;
    min-width: 0;
    margin-bottom: 0;
    padding: 10px 14px;
    border-radius: 6px;
}

.main-menu-wrapper.topm-main-menu-bar .main-menu-item .sizes-menu .dd-submenu {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin: 0;
}

.main-menu-wrapper.topm-main-menu-bar .main-menu-item .sizes-menu .dd-menu-item-column {
    flex: 1 1 0;
    padding: 4px 2px;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .topm-catalog-btn {
        padding: 0 13px;
        font-size: 12.5px;
        margin-right: 5px;
    }
    .main-menu-wrapper.topm-main-menu-bar .main-menu-link {
        padding: 0 7px;
        font-size: 11.5px;
    }
    .main-menu-wrapper.topm-main-menu-bar .main-menu-link1 {
        padding: 0 8px;
        font-size: 11px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .topm-catalog-btn {
        padding: 0 10px;
        font-size: 12px;
        margin-right: 4px;
    }
    .main-menu-wrapper.topm-main-menu-bar .main-menu-link {
        padding: 0 5px;
        font-size: 10.5px;
    }
    .main-menu-wrapper.topm-main-menu-bar .main-menu-link1 {
        display: none;
    }
}

/* Responsive fallback bar when desktop HTML is viewed below 768px */
.topm-mobile-catalog-strip {
    margin: 8px 0 12px;
}

.topm-mobile-catalog-strip__btn {
    width: 100%;
    height: 42px;
    border-radius: 6px;
    background: linear-gradient(90deg, #3b93ca 0%, #4aa0d5 100%);
    border: none;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(42, 118, 170, 0.25);
}

/* Mobile sticky top bar "KATALOG" button + burger menu catalog item */
.mobile-menu {
    position: relative;
}

.topm-mobile-bar-catalog-btn {
    position: absolute;
    left: 52px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.92);
    border-radius: 5px;
    background: rgba(13, 62, 98, 0.24);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    outline: none !important;
    z-index: 2;
}

.topm-mobile-bar-catalog-btn:active,
.topm-mobile-bar-catalog-btn.is-open {
    background: rgba(9, 43, 71, 0.52);
}

.topm-mobnav-catalog-item > a {
    font-weight: 700 !important;
    color: #2680b9 !important;
}

/* 2. Desktop Catalog Sidebar & Filter Layout */
#main_container.topm-no-sidebar > .row > .content {
    margin-left: 0 !important;
    width: 100%;
}

@media screen and (min-width: 991px) {
    #main_container.topm-catalog-layout > .row > .sidebar-left {
        width: 238px;
    }
    #main_container.topm-catalog-layout > .row > .content {
        margin-left: 256px;
    }
}

.topm-sidebar-catalog-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    margin: 0 0 12px;
    background: #f3f9fe;
    border: 1px solid #cbe3f5;
    border-radius: 6px;
    color: #16466b !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
    text-align: left;
    outline: none !important;
}

.topm-sidebar-catalog-trigger:hover,
.topm-sidebar-catalog-trigger:focus {
    background: #e4f2fc;
    border-color: #4aa0d5;
    box-shadow: 0 2px 8px rgba(74, 160, 213, 0.16);
    color: #0f3654 !important;
}

.topm-sidebar-catalog-trigger__left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.topm-sidebar-catalog-trigger__bars {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    width: 15px;
}

.topm-sidebar-catalog-trigger__bars i {
    display: block;
    height: 2px;
    width: 100%;
    background: #2b84bd;
    border-radius: 2px;
}

.topm-sidebar-catalog-trigger__chevron {
    color: #2b84bd;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
}

#main_container.topm-catalog-layout .sidebar-left .nav_block2 {
    border-radius: 6px;
    overflow: visible;
}

/* Redesigned "Наши бренды" in product card sidebar (no logos, clean modern alignment) */
.sidebar-left .nav_block1 {
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
}

.sidebar-left .nav_block1 .sidebar-navigation-list {
    padding: 4px 0 !important;
    margin: 0 !important;
}

.sidebar-left .nav_block1 .sidebar-navigation-list > li > a.a-parent {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px 7px 14px !important;
    font-size: 13.5px;
    font-weight: 600;
    color: #243b53 !important;
    line-height: 1.3;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.14s ease, color 0.14s ease;
}

.sidebar-left .nav_block1 .sidebar-navigation-list > li > a.a-parent:hover {
    background-color: #f3f9fe !important;
    color: #1c74ad !important;
}

.sidebar-left .nav_block1 .sidebar-navigation-list > li > a.a-parent:hover > span {
    color: #1c74ad !important;
}

.sidebar-left .nav_block1 .sidebar-navigation-list > li.super-active > a.a-parent {
    background-color: #4aa0d5 !important;
    color: #ffffff !important;
}

.sidebar-left .nav_block1 .sidebar-navigation-list > li.super-active > a.a-parent > span {
    color: #ffffff !important;
}

.sidebar-left .nav_block1 .sidebar-navigation-list > li > a.a-parent > span {
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
    display: inline-flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    color: #243b53 !important;
}

.sidebar-left .nav_block1 .sidebar-navigation-list > li > a.a-parent > span:before,
.sidebar-left .nav_block1 .sidebar-navigation-list > li > a.a-parent > span:after {
    position: static !important;
    margin: 0 !important;
}

.sidebar-left .nav_block1 .sidebar-navigation-list ul.-tree-panel {
    padding: 4px 0 6px 14px !important;
    margin: 0 !important;
    background: #fafcfe;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-left .nav_block1 .sidebar-navigation-list ul.-tree-panel > li > a {
    display: block;
    padding: 4px 10px 4px 10px !important;
    font-size: 12.5px;
    color: #3d556e !important;
    line-height: 1.3;
    border-left: 2px solid #d9e7f3;
}

.sidebar-left .nav_block1 .sidebar-navigation-list ul.-tree-panel > li > a:hover,
.sidebar-left .nav_block1 .sidebar-navigation-list ul.-tree-panel > li.super-active > a {
    color: #1b72ab !important;
    border-left-color: #4aa0d5;
}

/* 4. Full-Width Product Card Layout (no left sidebar) + 5-item Reviews & Related Products */
#main_container.topm-no-sidebar .nav_block2-1 .items {
    max-width: none !important;
    margin-left: 0 !important;
    width: 100% !important;
}

#main_container.topm-no-sidebar .reviews_block,
#main_container.topm-no-sidebar .primary_related_products {
    width: 100%;
}

@media screen and (min-width: 992px) {
    #main_container.topm-no-sidebar .column-photo .topm-pg {
        width: 100%;
        max-width: none;
    }
    #main_container.topm-no-sidebar .primary_related_products .same_products_list {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }
    #main_container.topm-no-sidebar .primary_related_products .same_products_list > div:not([style*="clear"]) {
        width: calc(20% - 10px) !important;
        flex: 0 0 calc(20% - 10px);
        float: none !important;
        margin: 0 !important;
    }
    #main_container.topm-no-sidebar .primary_related_products .same_products_list > div[style*="clear"] {
        display: none !important;
    }
}

/* 5. Redesigned Full-Width Product Card: [Photo] -> [Composition] -> [Buy/Price] + Unified Modern Styling */
@media screen and (min-width: 992px) {
    #main_container.topm-no-sidebar .item-single .row-columns-wrapper {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
        margin-left: 0;
        margin-right: 0;
        gap: 16px;
    }

    #main_container.topm-no-sidebar .item-single .row-columns-wrapper > :not(.column-photo):not(.column-composition):not(.column-information) {
        order: 10;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        float: none !important;
    }

    #main_container.topm-no-sidebar .item-single .row-columns-wrapper > .column-description {
        float: none !important;
        box-sizing: border-box;
    }

    #main_container.topm-no-sidebar .item-single .row-columns-wrapper > .column-photo {
        order: 1;
        padding: 0 !important;
        flex: 0 0 calc(38% - 11px);
        width: calc(38% - 11px);
        max-width: calc(38% - 11px);
    }

    #main_container.topm-no-sidebar .item-single .row-columns-wrapper > .column-composition {
        order: 2;
        flex: 0 0 calc(35% - 11px);
        width: calc(35% - 11px);
        max-width: calc(35% - 11px);
    }

    #main_container.topm-no-sidebar .item-single .row-columns-wrapper > .column-information {
        order: 3;
        flex: 0 0 calc(27% - 10px);
        width: calc(27% - 10px);
        max-width: calc(27% - 10px);
    }
}

/* Modern unified card aesthetic across product_detailed */
#main_container.topm-no-sidebar .item-single .item-single-title-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e4edf5;
}

#main_container.topm-no-sidebar .item-single .item-single-title-top h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #162c43;
    line-height: 1.25;
}

#main_container.topm-no-sidebar .item-single .text_osnov_center1 > span {
    border-radius: 6px !important;
    padding: 5px 10px !important;
    background: #2f4358 !important;
    font-size: 13px !important;
    letter-spacing: 0.02em;
}

#main_container.topm-no-sidebar .item-single .column-composition .composition-header,
#main_container.topm-no-sidebar .item-single .column-composition h2 {
    margin-top: 0;
    border-radius: 8px 8px 0 0;
}

#main_container.topm-no-sidebar .item-single .column-composition,
#main_container.topm-no-sidebar .item-single .column-information {
    background: #ffffff;
    border: 1px solid #e1ebf4;
    border-radius: 10px;
    padding: 14px 16px !important;
    box-shadow: 0 4px 16px rgba(18, 42, 68, 0.045);
}

#main_container.topm-no-sidebar .item-single {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#main_container.topm-no-sidebar .item-single > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#main_container.topm-no-sidebar .item-single table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    box-sizing: border-box !important;
}

#main_container.topm-no-sidebar .item-single table.params-table,
#main_container.topm-no-sidebar #prod-tabs {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#main_container.topm-no-sidebar #prod-tabs .ui-tabs-panel {
    overflow-x: hidden !important;
}

#main_container.topm-no-sidebar #prod-tabs .right-details-container div > span {
    width: auto !important;
    max-width: 210px;
    white-space: normal !important;
}

#main_container.topm-no-sidebar .item-single .row-columns-wrapper {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 16px;
}

@media screen and (min-width: 992px) {
    #main_container.topm-no-sidebar .item-single .row-columns-wrapper > .column-photo {
        padding: 0 !important;
        flex: 0 0 calc(38% - 11px);
        width: calc(38% - 11px);
        max-width: calc(38% - 11px);
    }
    #main_container.topm-no-sidebar .item-single .row-columns-wrapper > .column-composition {
        flex: 0 0 calc(35% - 11px);
        width: calc(35% - 11px);
        max-width: calc(35% - 11px);
    }
    #main_container.topm-no-sidebar .item-single .row-columns-wrapper > .column-information {
        flex: 0 0 calc(27% - 10px);
        width: calc(27% - 10px);
        max-width: calc(27% - 10px);
    }
}

#main_container.topm-no-sidebar .item-single .column-information .select-size-title,
#main_container.topm-no-sidebar .item-single .column-composition .title-blue,
#main_container.topm-no-sidebar .item-single .title-g,
#main_container.topm-no-sidebar .reviews_block .title {
    border-radius: 6px;
}

#main_container.topm-no-sidebar .item-single .btn-buy,
#main_container.topm-no-sidebar .item-single .buy-one-click,
#main_container.topm-no-sidebar .item-single .item-single-buy input[type="submit"],
#main_container.topm-no-sidebar .item-single .item-single-buy button {
    border-radius: 7px !important;
    transition: filter 0.16s ease, transform 0.12s ease;
}

#main_container.topm-no-sidebar .item-single .btn-buy:hover,
#main_container.topm-no-sidebar .item-single .buy-one-click:hover {
    filter: brightness(0.95);
}

#main_container.topm-no-sidebar .item-single .item-single-delivery,
#main_container.topm-no-sidebar .item-single .item-single-payment {
    border-radius: 8px;
    border: 1px solid #e5eef6;
    background: #f9fcff;
    padding: 10px 12px;
    margin-top: 10px;
}

#main_container.topm-no-sidebar .item-single .characteristics {
    background: #ffffff;
    border: 1px solid #e1ebf4;
    border-radius: 10px;
    padding: 18px 22px;
    margin-top: 16px;
    box-shadow: 0 4px 16px rgba(18, 42, 68, 0.04);
}

#main_container.topm-no-sidebar .item-single .characteristics h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 20px;
    font-weight: 700;
    color: #162c43;
}

#main_container.topm-no-sidebar .item-single table.options {
    width: 100%;
    border-collapse: collapse;
}

#main_container.topm-no-sidebar .item-single table.options tr:nth-child(odd) {
    background: #f7fafd;
}

#main_container.topm-no-sidebar .item-single table.options td {
    padding: 9px 12px;
    border-bottom: 1px solid #ebf2f8;
    font-size: 13.5px;
    color: #243b53;
}

#main_container.topm-no-sidebar .item-single .primary_related_products h2 {
    font-size: 20px;
    font-weight: 700;
    color: #162c43;
    margin-bottom: 14px;
}

#main_container.topm-no-sidebar .item-single .call-me {
    background: #f4f9fe;
    border: 1px solid #d8e8f6;
    border-radius: 10px;
    padding: 18px 22px;
    margin-top: 18px;
}

#main_container.topm-no-sidebar .reviews_block {
    background: #ffffff;
    border: 1px solid #e1ebf4;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(18, 42, 68, 0.04);
}

/* Under-photo manufacturer, fav/compare & warranty/price badges */
#main_container.topm-no-sidebar .item-single .manufacturer-lg {
    margin-top: 10px;
    padding: 9px 12px;
    background: #ffffff;
    border: 1px solid #e1ebf4;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(18, 42, 68, 0.04);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

#main_container.topm-no-sidebar .item-single .manufacturer-lg > picture {
    display: none !important;
}

#main_container.topm-no-sidebar .item-single .manufacturer-lg > span.cena_2 {
    order: 1;
    margin: 0 !important;
    font-size: 12px;
    color: #546d85;
    display: inline-block;
    white-space: nowrap;
}

#main_container.topm-no-sidebar .item-single .manufacturer-lg > font#currentPrice-xs {
    order: 1;
    margin-right: auto;
    font-size: 13px !important;
    line-height: 1.2;
    white-space: nowrap;
}

#main_container.topm-no-sidebar .item-single .manufacturer-lg > font#currentPrice-xs a {
    color: #17699e;
    text-decoration: none;
}

#main_container.topm-no-sidebar .item-single .manufacturer-lg > font#currentPrice-xs a:hover {
    text-decoration: underline;
}

#main_container.topm-no-sidebar .item-single .manufacturer-lg .prod-fav-comp {
    order: 2;
    margin-bottom: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
}

#main_container.topm-no-sidebar .item-single .manufacturer-lg .prod-fav-comp .dobSr {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    font-size: 11.5px;
    line-height: 1.2;
    color: #243b53;
    background: #f4f8fc;
    border: 1px solid #dce6f0;
    border-radius: 6px;
    cursor: pointer;
    margin: 0 !important;
    white-space: nowrap;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#main_container.topm-no-sidebar .item-single .manufacturer-lg .prod-fav-comp .dobSr:hover,
#main_container.topm-no-sidebar .item-single .manufacturer-lg .prod-fav-comp .dobSr.in {
    background: #e8f3fc;
    border-color: #4aa0d5;
    color: #17699e;
}

#main_container.topm-no-sidebar .item-single .manufacturer-lg .prod-label-wrapper {
    order: 3;
    flex: 0 0 100%;
    margin-top: 2px !important;
    padding-top: 8px;
    border-top: 1px solid #ebf2f8;
}

#main_container.topm-no-sidebar .item-single .manufacturer-lg .prod-label {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

#main_container.topm-no-sidebar .item-single .manufacturer-lg .prod-label-item {
    flex: 1 1 50%;
    width: auto !important;
    margin: 0 !important;
    padding: 7px 9px !important;
    background: #f7fbff !important;
    border: 1px solid #d8e8f6 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    line-height: 1.25;
    color: #243b53;
}

#main_container.topm-no-sidebar .item-single .manufacturer-lg .prod-label-item .custom-ic {
    flex: 0 0 auto;
    color: #2b84bd;
    transform: scale(0.82);
    transform-origin: center left;
}

/* Layer tooltip positioning & styling */
#main_container.topm-no-sidebar .layers_box_wrap {
    z-index: 10020;
    display: none !important;
}

#main_container.topm-no-sidebar .layers_box_wrap.topm-layer-active {
    display: block !important;
    visibility: visible !important;
    width: 320px;
}

#main_container.topm-no-sidebar .layers_box_wrap .layers_box {
    border: 1px solid #4aa0d5;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(18, 42, 68, 0.16);
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #243b53;
}

#main_container.topm-no-sidebar .layers_box_wrap.topm-layer-active .layers_box,
#main_container.topm-no-sidebar .layers_box_wrap.topm-layer-active .layers_box.visible-hidden {
    width: 100%;
    visibility: visible !important;
}

#main_container.topm-no-sidebar .layers_box_wrap.topm-layers-details-pos .layers_box:before,
#main_container.topm-no-sidebar .layers_box_wrap.topm-layers-details-pos .layers_box:after {
    content: " " !important;
    position: absolute !important;
    left: 100% !important;
    right: auto !important;
    top: var(--topm-arrow-top, 50%) !important;
    width: 0 !important;
    height: 0 !important;
    border: solid transparent !important;
    pointer-events: none !important;
}

#main_container.topm-no-sidebar .layers_box_wrap.topm-layers-details-pos .layers_box:before {
    border-left-color: #4aa0d5 !important;
    border-width: 10px !important;
    margin-top: -10px !important;
}

#main_container.topm-no-sidebar .layers_box_wrap.topm-layers-details-pos .layers_box:after {
    border-left-color: #ffffff !important;
    border-width: 8px !important;
    margin-top: -8px !important;
}

/* 5-icon parameters bar (.params-table) */
#main_container.topm-no-sidebar .item-single table.params-table {
    background: #ffffff !important;
    border: 1px solid #e1ebf4 !important;
    border-radius: 10px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(18, 42, 68, 0.04);
    margin: 16px 0 !important;
}

#main_container.topm-no-sidebar .item-single table.params-table td {
    border-right: 1px solid #ebf2f8 !important;
    padding: 12px 10px !important;
    background: #ffffff;
    vertical-align: top;
}

#main_container.topm-no-sidebar .item-single table.params-table td:last-child {
    border-right: none !important;
}

#main_container.topm-no-sidebar .item-single table.params-table .ParamP {
    font-weight: 600;
    color: #546d85;
    font-size: 12.5px;
    margin-bottom: 6px;
}

/* Product Tabs (#prod-tabs) */
#main_container.topm-no-sidebar #prod-tabs.ui-tabs {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 16px;
}

#main_container.topm-no-sidebar #prod-tabs .ui-tabs-nav {
    display: flex !important;
    gap: 6px;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid #4aa0d5 !important;
    padding: 0 !important;
    margin: 0 !important;
}

#main_container.topm-no-sidebar #prod-tabs .ui-tabs-nav li {
    flex: 1 1 0;
    width: auto !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dce6f0 !important;
    border-bottom: none !important;
    border-radius: 8px 8px 0 0 !important;
    background: #f4f8fc !important;
    top: 0 !important;
    transition: background-color 0.16s ease;
}

#main_container.topm-no-sidebar #prod-tabs .ui-tabs-nav li:hover {
    background: #e8f3fc !important;
}

#main_container.topm-no-sidebar #prod-tabs .ui-tabs-nav li.ui-tabs-active,
#main_container.topm-no-sidebar #prod-tabs .ui-tabs-nav li.ui-state-active {
    background: linear-gradient(90deg, #3b93ca 0%, #4aa0d5 100%) !important;
    border-color: #3b93ca !important;
}

#main_container.topm-no-sidebar #prod-tabs .ui-tabs-nav li a {
    width: 100% !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #243b53 !important;
    text-align: center !important;
    text-decoration: none !important;
    outline: none !important;
}

#main_container.topm-no-sidebar #prod-tabs .ui-tabs-nav li.ui-tabs-active a,
#main_container.topm-no-sidebar #prod-tabs .ui-tabs-nav li.ui-state-active a {
    color: #ffffff !important;
}

#main_container.topm-no-sidebar #prod-tabs .ui-tabs-panel {
    background: #ffffff !important;
    border: 1px solid #e1ebf4 !important;
    border-top: none !important;
    border-radius: 0 0 10px 10px !important;
    padding: 22px 26px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 16px rgba(18, 42, 68, 0.04);
    font-size: 14px;
    line-height: 1.65;
    color: #243b53;
}

#main_container.topm-no-sidebar #prod-tabs table,
#main_container.topm-no-sidebar .item-single .VsplPla2 table,
#main_container.topm-no-sidebar .item-single table.options {
    table-layout: auto !important;
}

#main_container.topm-no-sidebar #prod-tabs .left-details-container {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#main_container.topm-no-sidebar #prod-tabs .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

#main_container.topm-no-sidebar #prod-tabs .container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#main_container.topm-no-sidebar #prod-tabs .nav_block2-1 .items {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden;
}

#main_container.topm-no-sidebar #prod-tabs .ui-tabs-panel h2,
#main_container.topm-no-sidebar #prod-tabs .ui-tabs-panel h3 {
    font-size: 19px;
    font-weight: 700;
    color: #162c43;
    margin-top: 14px;
    margin-bottom: 10px;
}

#main_container.topm-no-sidebar #prod-tabs .ui-tabs-panel > h2:first-child {
    margin-top: 0;
}

#main_container.topm-no-sidebar #prod-tabs .right-details-container {
    margin-left: 24px;
    margin-bottom: 20px;
}

#main_container.topm-no-sidebar #prod-tabs .right-details-container .bottom-container {
    background: #f9fcff;
    border: 1px solid #dceaf6;
    border-radius: 10px;
    width: 356px !important;
    box-sizing: border-box !important;
    padding: 14px 16px 26px 12px !important;
    overflow: visible !important;
    display: flow-root !important;
}

#main_container.topm-no-sidebar #prod-tabs .right-details-container img.img-layer {
    margin-left: 4px !important;
}

#main_container.topm-no-sidebar #prod-tabs .right-details-container .faq-layer .mlayer {
    left: 3px !important;
}

#main_container.topm-no-sidebar #prod-tabs .right-details-container .mlname.show-layer-name {
    left: 88px !important;
    width: 240px !important;
}

#main_container.topm-no-sidebar #prod-tabs .right-details-container .bottom-container::after {
    content: "";
    display: table;
    clear: both;
}

#main_container.topm-no-sidebar #prod-tabs .right-details-container .bottom-container ol {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#main_container.topm-no-sidebar #prod-tabs .right-details-container .bottom-container ol li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

#main_container.topm-no-sidebar #prod-tabs .right-details-container .bottom-container ol li:first-child {
    min-height: 20px !important;
}

#main_container.topm-no-sidebar #prod-tabs .right-details-container .bottom-container ol li:last-child {
    min-height: 24px !important;
}

#main_container.topm-no-sidebar #prod-tabs .right-details-container .bottom-container ol li::after,
#main_container.topm-no-sidebar #prod-tabs .right-details-container .bottom-container .faq-div::after {
    content: "";
    display: table;
    clear: both;
}

#main_container.topm-no-sidebar #prod-tabs .right-details-container .bottom-container .faq-div {
    float: none !important;
    display: block !important;
}

#main_container.topm-no-sidebar #prod-tabs .right-details-container .bottom-container div.title {
    margin: 0 0 12px 4px;
    color: #162c43;
}

#main_container.topm-no-sidebar .item-single .post-fast-order {
    clear: both;
    margin-top: 20px;
    background: #f4f9fe;
    border: 1px solid #d8e8f6;
    border-radius: 10px;
    padding: 18px 20px;
    width: 100%;
    box-sizing: border-box;
}

#main_container.topm-no-sidebar .item-single .post-fast-order .fast-order-title h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
}

#main_container.topm-no-sidebar .item-single .post-fast-order .post-fast-order-body,
#main_container.topm-no-sidebar .item-single .post-fast-order #fast_order_form,
#main_container.topm-no-sidebar .item-single .post-fast-order #fast_order_form > div,
#main_container.topm-no-sidebar .item-single .post-fast-order .cart-wrapper,
#main_container.topm-no-sidebar .item-single .post-fast-order .cart-contact-form {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Bonuses (.VsplPla2), Tags (.catalog-tags), Related Product Cards */
#main_container.topm-no-sidebar .item-single .VsplPla2 {
    background: #f7fbff !important;
    border: 1px solid #d8e8f6 !important;
    border-radius: 10px !important;
    padding: 14px 18px !important;
    margin: 14px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#main_container.topm-no-sidebar .item-single .VsplPla2 table {
    width: 100% !important;
    border-collapse: collapse;
}

#main_container.topm-no-sidebar .item-single .VsplPla2 table td:first-child {
    width: 68px !important;
    vertical-align: middle !important;
    padding: 8px 14px 8px 4px !important;
}

#main_container.topm-no-sidebar .item-single .VsplPla2 table td:first-child img {
    float: none !important;
    display: block;
    margin: 0 auto;
    padding: 0 !important;
}

#main_container.topm-no-sidebar .item-single .VsplPla2 table td:last-child {
    vertical-align: middle !important;
    padding: 8px 4px !important;
}

#main_container.topm-no-sidebar .item-single .catalog-tags {
    margin: 16px 0 !important;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e1ebf4;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

#main_container.topm-no-sidebar .item-single .catalog-tags a {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px !important;
    border-radius: 16px !important;
    background: #f4f9fe !important;
    border: 1px solid #d4e4f4 !important;
    color: #1f5f8f !important;
    font-size: 12.5px !important;
    text-decoration: none !important;
    transition: all 0.14s ease;
}

#main_container.topm-no-sidebar .item-single .catalog-tags a:hover {
    background: #4aa0d5 !important;
    border-color: #4aa0d5 !important;
    color: #ffffff !important;
}

#main_container.topm-no-sidebar .primary_related_products .item-box,
#main_container.topm-no-sidebar #owl-rp .item-box,
#main_container.topm-no-sidebar #owl-rpm .item-box {
    border: 1px solid #e1ebf4 !important;
    border-radius: 10px !important;
    background: #ffffff;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

#main_container.topm-no-sidebar .primary_related_products .item-box:hover,
#main_container.topm-no-sidebar #owl-rp .item-box:hover,
#main_container.topm-no-sidebar #owl-rpm .item-box:hover {
    border-color: #b7d7f0 !important;
    box-shadow: 0 6px 18px rgba(24, 64, 104, 0.09);
}

/* 3. Left Slide-Out Multi-Level Catalog Drawer */
body.topm-cd-locked {
    overflow: hidden !important;
}

.topm-cd {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100060;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.28s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.topm-cd.is-open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.topm-cd__backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(14, 28, 44, 0.52);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.26s ease;
}

.topm-cd.is-open .topm-cd__backdrop {
    opacity: 1;
}

.topm-cd__panel {
    position: relative;
    z-index: 1;
    width: 384px;
    max-width: calc(100vw - 22px);
    height: 100%;
    background: #ffffff;
    box-shadow: 12px 0 38px rgba(10, 26, 46, 0.26);
    display: flex;
    flex-direction: column;
    transform: translateX(-102%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.topm-cd.is-open .topm-cd__panel {
    transform: translateX(0);
}

/* Header */
.topm-cd__header {
    flex: 0 0 auto;
    padding: 15px 16px 12px;
    border-bottom: 1px solid #e7eff6;
    background: #ffffff;
}

.topm-cd__header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.topm-cd__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #14283e;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.topm-cd__close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: #f2f6fa;
    color: #4a627a;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.16s ease, color 0.16s ease;
    padding: 0;
    outline: none !important;
}

.topm-cd__close:hover,
.topm-cd__close:focus {
    background: #e2eef9;
    color: #14283e;
}

.topm-cd__search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.topm-cd__search-icon {
    position: absolute;
    left: 11px;
    width: 15px;
    height: 15px;
    color: #7d93a8;
    pointer-events: none;
}

.topm-cd__search-input {
    width: 100%;
    height: 36px;
    padding: 0 32px 0 34px !important;
    border: 1px solid #d5e2ee !important;
    border-radius: 8px !important;
    background: #f7fafd !important;
    color: #172d44 !important;
    font-size: 13.5px !important;
    line-height: 34px !important;
    box-shadow: none !important;
    transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
    margin: 0 !important;
}

.topm-cd__search-input:focus {
    background: #ffffff !important;
    border-color: #4aa0d5 !important;
    box-shadow: 0 0 0 3px rgba(74, 160, 213, 0.16) !important;
    outline: none !important;
}

.topm-cd__search-clear {
    position: absolute;
    right: 6px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #7d93a8;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.topm-cd__search-clear.is-visible {
    display: inline-flex;
}

.topm-cd__search-clear:hover {
    background: #e9f1f8;
    color: #172d44;
}

/* Scrollable Tree Body */
.topm-cd__body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4px 0 12px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.topm-cd__body::-webkit-scrollbar {
    width: 5px;
}

.topm-cd__body::-webkit-scrollbar-track {
    background: #f3f7fb;
}

.topm-cd__body::-webkit-scrollbar-thumb {
    background: #4aa0d5;
    border-radius: 4px;
}

.topm-cd__empty {
    display: none;
    padding: 28px 20px;
    text-align: center;
    color: #6b8198;
    font-size: 13.5px;
}

.topm-cd__empty.is-visible {
    display: block;
}

/* Multi-Level Lists */
.topm-cd__list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.topm-cd__list--sub {
    display: none;
    margin: 0 0 4px 20px !important;
    padding: 2px 0 2px 8px !important;
    border-left: 1.5px solid #e5eef6;
}

.topm-cd__item.is-expanded > .topm-cd__list--sub {
    display: block;
}

.topm-cd__list--l2 {
    margin-left: 16px !important;
}

.topm-cd__list--l3 {
    margin-left: 14px !important;
}

.topm-cd__list--l4 {
    margin-left: 13px !important;
}

.topm-cd__list--l5 {
    margin-left: 12px !important;
}

.topm-cd__item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.topm-cd__item.is-filtered-out {
    display: none !important;
}

.topm-cd__item--l1 {
    border-bottom: 1px solid #f0f5fa;
}

/* Row inside each node */
.topm-cd__row {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 14px 4px 10px;
    gap: 6px;
    border-radius: 6px;
    transition: background-color 0.14s ease;
}

.topm-cd__item--l1 > .topm-cd__row {
    min-height: 44px;
    padding: 6px 16px 6px 12px;
    border-radius: 0;
}

.topm-cd__row:hover {
    background-color: #f4f9fe;
}

.topm-cd__row.is-current {
    background-color: #e8f4fd;
}

/* Plus / Minus Accordion Toggle (like okmatras.ru) */
.topm-cd__toggle {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    position: relative;
    padding: 0;
    outline: none !important;
    transition: background-color 0.14s ease;
}

.topm-cd__toggle:hover {
    background: #e1effb;
}

.topm-cd__toggle::before,
.topm-cd__toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #2980b9;
    border-radius: 1px;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, opacity 0.18s ease, background-color 0.18s ease;
}

.topm-cd__toggle::before {
    width: 10px;
    height: 1.8px;
}

.topm-cd__toggle::after {
    width: 1.8px;
    height: 10px;
}

.topm-cd__item--l1 > .topm-cd__row > .topm-cd__toggle::before,
.topm-cd__item--l1 > .topm-cd__row > .topm-cd__toggle::after {
    background-color: #162c43;
}

.topm-cd__item.is-expanded > .topm-cd__row > .topm-cd__toggle::after {
    transform: translate(-50%, -50%) scaleY(0);
    opacity: 0;
}

.topm-cd__bullet {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    position: relative;
}

.topm-cd__bullet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5px;
    width: 4px;
    height: 4px;
    margin-top: -2px;
    border-radius: 50%;
    background: #b8cde0;
}

.topm-cd__row.is-current .topm-cd__bullet::before {
    background: #2980b9;
    width: 5px;
    height: 5px;
    margin-top: -2.5px;
}

/* Labels & Links */
.topm-cd__label {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #243b53 !important;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.32;
    text-decoration: none !important;
    cursor: pointer;
    padding: 3px 0;
}

.topm-cd__label:hover {
    color: #1d74ad !important;
}

.topm-cd__item--l1 > .topm-cd__row > .topm-cd__label {
    font-size: 15px;
    font-weight: 700;
    color: #14283e !important;
}

.topm-cd__item--l1.topm-cd__item--sale > .topm-cd__row > .topm-cd__label {
    color: #d93b3b !important;
}

.topm-cd__item--l2 > .topm-cd__row > .topm-cd__label {
    font-size: 14px;
    font-weight: 600;
    color: #2176ae !important;
}

.topm-cd__item--l2 > .topm-cd__row > .topm-cd__label:hover {
    color: #155987 !important;
}

.topm-cd__item--group > .topm-cd__row > .topm-cd__label {
    font-size: 13.5px;
    font-weight: 700;
    color: #1b3148 !important;
}

.topm-cd__item--brand > .topm-cd__row > .topm-cd__label {
    font-size: 13.5px;
    font-weight: 600;
    color: #1f364d !important;
}

.topm-cd__item--leaf > .topm-cd__row > .topm-cd__label {
    font-size: 13px;
    font-weight: 400;
    color: #334b63 !important;
}

.topm-cd__item--leaf > .topm-cd__row > .topm-cd__label:hover {
    color: #1b72ab !important;
    text-decoration: underline !important;
}

.topm-cd__row.is-current > .topm-cd__label {
    color: #136399 !important;
    font-weight: 700 !important;
}

.topm-cd__brand-logo {
    width: 22px;
    height: 15px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 2px;
    background: #ffffff;
}

.topm-cd__count {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 600;
    color: #6b849c;
    background: #eef4fa;
    padding: 1px 6px;
    border-radius: 10px;
    line-height: 1.4;
}

.topm-cd__goto {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    color: #247bb5 !important;
    background: #edf6fd;
    padding: 3px 9px;
    border-radius: 12px;
    text-decoration: none !important;
    opacity: 0;
    transition: opacity 0.16s ease, background-color 0.16s ease;
    white-space: nowrap;
}

.topm-cd__item--l1.is-expanded > .topm-cd__row > .topm-cd__goto,
.topm-cd__item--l1 > .topm-cd__row:hover > .topm-cd__goto {
    opacity: 1;
}

.topm-cd__goto:hover {
    background: #d8ecfb;
    color: #135888 !important;
}

/* Footer: Popular Sizes & Parameter Filter CTA */
.topm-cd__footer {
    flex: 0 0 auto;
    padding: 10px 16px 14px;
    border-top: 1px solid #e6eef6;
    background: #f9fbfd;
}

.topm-cd__sizes-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.topm-cd__sizes-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #546d85;
}

.topm-cd__sizes-more {
    border: none;
    background: none;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    color: #257db7;
    cursor: pointer;
    outline: none !important;
}

.topm-cd__sizes-more:hover {
    text-decoration: underline;
}

.topm-cd__sizes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.topm-cd__size-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #28425c !important;
    background: #ffffff;
    border: 1px solid #d6e3ef;
    border-radius: 14px;
    text-decoration: none !important;
    transition: all 0.14s ease;
    line-height: 1.2;
}

.topm-cd__size-chip:hover {
    border-color: #4aa0d5;
    background: #eef7fe;
    color: #17699e !important;
}

.topm-cd__size-chip--extra {
    display: none;
}

.topm-cd__sizes-grid.is-all-sizes .topm-cd__size-chip--extra {
    display: inline-flex;
}

.topm-cd__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(90deg, #3b93ca 0%, #4aa0d5 100%);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(59, 147, 202, 0.28);
    transition: filter 0.16s ease, box-shadow 0.16s ease;
}

.topm-cd__cta:hover,
.topm-cd__cta:focus {
    filter: brightness(0.95);
    box-shadow: 0 4px 14px rgba(59, 147, 202, 0.36);
    color: #ffffff !important;
}

@media screen and (max-width: 480px) {
    .topm-cd__panel {
        width: calc(100vw - 18px);
    }
    .topm-cd__header {
        padding: 12px 14px 10px;
    }
    .topm-cd__footer {
        padding: 9px 14px 12px;
    }
}
