.account_button{
    float: none;
    margin: 20px auto;
    display: block;
    border: 2px solid #000;
    background: transparent;
    font-size: 14px;
    line-height: 30px;
    width: 100%;
}
.account_button:hover{
    background:#000;
    color:#fff;
}
.active{
    opacity: 1 !important;
    height: 100%;
    position: relative;
    z-index: 999;
}
.step1,.step2,.step3{
    opacity: 0;
    height:0;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
}
.info_row{
    /* display: flex; */
    /* flex-direction: row; */
    margin:10px 0;
    /* align-items: center; */
}
.next1:hover,.next2:hover{
    cursor: pointer;
    text-decoration: underline;
}
/*.footer_menu{
  display: flex;;
  flex-direction: column;
  max-width: 90%;
  float: none;
  margin:auto;
}
.footer_row1{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
*/
.f_menu {
    display: flex;
}
.f_menu li:nth-child(2) {
    padding-left: 10px;
}
.a16_logo g path {
    fill:#000;
}
.searchic {
    float: left;
    padding: 22px 29px;
}
.useric {
    float: left;
    padding: 22px 0px;
}
.first_menu {
    width: 235px;
}
.tabs {
    justify-content:center;
}
@media (min-width: 580px) {
    .tabs__item {
        width:auto;
    }
}


.tabs__link.btn{
    width: 100%;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent !important;
    padding: 0;
    font-family: "Helvetica Neue";
    font-size: 14px;
    padding: 0 20px;
}
.tabs__link.btn:hover {
    border:none;
    color:#000

}


.tabs__link--active.btn {
    text-decoration:underline !important;
}
.smart-filter-button-box {
    display: none;
}
.name_p {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
    font-family: "Helvetica Neue";
    font-size: 20px;
    flex-direction: column;
}
.brand_n {
    color: #000;
    font-weight: 500 !important;
}
.col_l {
    color: #000;
    font-weight: normal !important;
}
.product-item-title a {
    color: #000;
    font-size: 20px;
    font-family: "Helvetica Neue";
    font-weight: 400 !important;
}
.hover .product-item {
    border:none;
}
.brand_name {
    font-family: "Helvetica Neue";
    font-size: 20px;
    font-weight: 500 !important;
    letter-spacing: 1px;
}
.bblock {
    margin-left: 0 !important;
    width: 100% !important;
}
.flex-bb {
    flex-direction: column;
}
.element-page .product-item .bblock {
    width: 100% !important;
}
.product-item-price-current {
    font-weight: 500 !important;
}
.z7 {
    zoom:0.7;
}
.art-text {
    min-height: 120px;
}
.math-icons span {
    color: #000;
}

@media (max-width: 767px) {
    .product-item-small-card {
        text-align: left;
    }

    .product-item-title a {
        font-size: 16px;
        font-weight: normal;
    }

    .product-item-price-current {
        font-size: 14px;
    }

    .head-title {
        text-align: center;
    }

    .tabs {
        justify-content: center;
    }

    .first_menu, .header_menu{
        display: none;
    }
}

.vam--buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.buttons-wrapper {
    width: 100%;
}

.panel-collapse.collapse {
    display: none !important;
}

.panel-collapse.collapse.in {
    display: block !important;
}

.collapse {
    transition: none !important;
}

.collapsing {
    transition: none !important;
    height: 0;
    display: none;
}



.brand-filter-btn {
    width: 50%; /* Default for desktop */
    display: inline-block; /* To allow side-by-side display */
    text-align: center; /* Center the text within the button */
    box-sizing: border-box; /* Include padding and border in the width */
}

@media (max-width: 767px) { /* Adjust breakpoint as needed for mobile */
    .brand-filter-btn {
        width: 100%; /* Full width on mobile */
        display: block; /* Stack buttons vertically */
        margin-bottom: 10px; /* Add some space between stacked buttons */
    }
}

#sidebar-content {
    display: flex;
    flex-direction: column;
    min-height: 100%; /* Ensure it takes full height of its parent */
}

.basket-items {
    flex-grow: 1; /* Allow basket items to take up available space */
}

.to-cart {
    margin-top: auto; /* Push this element to the bottom */
    padding-top: 15px; /* Add some padding above the button */
}

#sidebar-content h2 {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600 !important;
    margin-bottom: 20px;
}

.header_country_selector {
    padding: 15px 15px 15px 0;
    position: relative;
}

.header_country_selector .dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.header_country_selector .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header_country_selector .dropdown-menu a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-size: 11px;
}

.header_country_selector .dropdown-menu a:hover {
    background-color: #f1f1f1;
}

.header_country_selector .dropdown:hover .dropdown-menu {
    display: block;
}

.header_country_selector .caret {
    margin-left: 5px;
}

body #app .category_menu.opened ul li .dropdown.open .dropdown-menu {
    display: block;
}

/* --- Filter Accordion Styles --- */

/* Default state: content hidden */
.smart-filter-parameters-box .filter-items-cont, .smart-filter-parameters-box .smart-filter-block {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    transition: all .2s;
    display: block!important;
    margin-top: 0;
}

/* Open state: content visible */
.smart-filter-parameters-box.is-open .filter-items-cont, .smart-filter-parameters-box.is-open .smart-filter-block {
    max-height: 2000px!important;
    padding-top: 10px;
}

/* Arrow styles */
.filter-cat-title {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.filter-cat-title::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    transform: rotate(45deg);
    display: block;
    transition: all .2s;
    margin-top: 5px; /* Adjust for vertical alignment */
}

/* Arrow rotation on open */
.smart-filter-parameters-box.is-open .filter-cat-title::after {
    transform: rotate(-135deg);
    margin-top: 10px; /* Adjust for vertical alignment */
}

/* --- Filter Scrollable List --- */
.smart-filter-input-group-checkbox-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 15px; /* Add some padding to prevent scrollbar from overlapping content */
}

/* --- Custom Sort-By Select --- */
.custom-select-wrapper {
    position: relative;
}

#catalogSortSelector {
    border: 1px solid #000;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 30px; /* Make space for the arrow */
    background-color: transparent; /* Ensure background is clear */
}

.custom-select-wrapper::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    transform: rotate(45deg);
    display: block;
    transition: all .2s;
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -7px; /* Center the arrow */
    pointer-events: none; /* Make sure the arrow doesn't block clicks on the select */
}

/* --- Slick Dots Visibility --- */
@media (min-width: 768px) {
    .slick-dots {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .slick-dots {
        display: block !important;
    }
}

/* --- Name Fields Group --- */
.name-fields-group {
    display: flex;
    gap: 10px; /* Space between fields */
    margin-bottom: 20px; /* Match existing form-group margin */
}

.name-fields-group .form-group {
    flex: 1; /* Each field takes equal width */
    margin-bottom: 0; /* Remove default margin from inner form-groups */
}

@media (max-width: 767px) {
    .name-fields-group {
        flex-direction: column; /* Stack fields vertically on mobile */
        gap: 0; /* Remove gap when stacked */
    }
    .name-fields-group .form-group {
        margin-bottom: 20px; /* Restore margin for stacked fields */
    }
    .name-fields-group .form-group:last-child {
        margin-bottom: 0; /* No margin for the last field */
    }
}
