button.currency-select.btn.btn-link.btn-block {
   
    background-color: #0f1822;
    border: 5px;
}



.header-search .categories + .form-control {
    padding-left: 20px !important;
}

.header-search .button_search {
    border: 0px;
    border-radius: 0px 5px 5px 0px !important;
}

.light-theme .tab-white-bg {
    background: #fff;
    display: none !important;
}

header {
    background-color: #0f1822 !important;
}

.light-theme #top, .light-theme #top .container {
    background-color: #0f1822 !important;
}

.light-theme #top .btn-link {
    color: #fffefe !important;
}

    .up-header #logo img {
        max-height: 88px !important;
    }


.up-header-phones__top {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px !important;
    min-height: 54px;
    position: relative;
    padding: 10px 20px 10px 20px;
}



input.form-control.search-autocomplete {
    border-radius: 5px 0px 0px 5px !important;
}


.box-cart, .box-currency, .box-language, .box-account, .box-wishlist, .box-compare {

    padding: 3px 3px 0 !important;
}

		
	.contacts {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.contacts>span,
.contacts__label {
    color: #FFF;
    font-family: var(--font-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    margin-bottom: 0;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    gap: 8px;
    padding: 0 16px;
    border-radius: 9px;
    border: 1px solid rgba(0, 0, 0, .08);
    background: var(--color-white);
    font-size: 13px;
    font-weight: 400;
    color: var(--color-text-main);
    transition: box-shadow var(--t-fast), transform var(--t-fast);
}

.social-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    transform: translateY(-1px);
}

.contacts__phone-dropdown {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.phone-dropdown {
    position: relative;
    z-index: 100;
}

.phone-dropdown__trigger {
    display: flex;
    height: 40px;
    padding: 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    border-radius: 9px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
    color: var(--color-text-main);
}

.phone-dropdown__trigger:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.phone-dropdown__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-dropdown__icon img {
    width: 20px;
    height: 20px;
    display: block;
}

.phone-dropdown__number {
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
}

.phone-dropdown__arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
    transition: transform var(--t-fast);
}

.phone-dropdown--active .phone-dropdown__arrow {
    transform: rotate(180deg);
}

.phone-dropdown__list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    padding: 8px 0;
    min-width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--t-fast);
}

.phone-dropdown--active .phone-dropdown__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.phone-dropdown__link {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-main);
    white-space: nowrap;
}

.phone-dropdown__link:hover {
    background: #f5f5f5;
    color: var(--color-accent);
}


.contacts__phone-btn img {
    filter: brightness(0) saturate(100%);
}

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    flex-shrink: 0;
    padding: 0;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    border-radius: 3px;
    transition: all .28s ease;
    transform-origin: center;
}

.burger-btn--active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-btn--active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-btn--active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


.contact-socials .social-btn {
    background: #F4F6FB;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-phone-pill img {
    width: 20px;
    height: 20px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contacts-section {
    padding: 80px 0;
    background: var(--color-white);
}

.contacts-section .container {
    max-width: 1052px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 64px;
    box-shadow: 0 -20px 50px 0 rgba(0, 28, 81, 0.04);
    border-radius: 12px;
}

.contacts-section__title {
    font-size: 48px;
    font-weight: 500;
    line-height: 52px;
    color: #131926;
    margin-bottom: 64px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 40px;
    align-items: flex-start;
}

.contacts-col:nth-child(2) {
    order: 1;
}

.contacts-col:nth-child(3) {
    order: 2;
}

.contacts-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contacts-form {
    order: 3;
    width: 100%;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.contacts {
	display: flex;
	align-items: center;
	gap: 10px;
}

.social-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 8px;
	background: #f3f3f3;
	text-decoration: none;
}
@media (max-width: 1024px) {
.up-header__right {
    margin-left: auto;
    display: none;
}
}





/* === GRID === */
.categories__grid {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

/* === CARD === */
.category-card {
    background: var(--color-white);
    overflow: hidden;
   /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);*/
    transition: transform var(--t-fast), box-shadow var(--t-fast);
    display: flex;
    flex-direction: column;
    color: inherit;
    cursor: pointer;
    height: 300px;
    flex-shrink: 0;
}


/* === HOVER === */
.category-card:hover {
    transform: translateY(-4px);
    /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);*/
}

/* === IMAGE BOX === */
.category-card__image-box {
    flex: 1;
    overflow: hidden;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 0;
}

/* === IMAGE === */
.category-card__image {
   /* width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-fast);*/
}

.category-card:hover .category-card__image {
    transform: scale(1.06);
}

/* === TITLE === */
.category-card__title {
    padding: 12px 20px;
    text-align: center;
    color: #0F1822;
    font-family: 'Onest', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
}

/* === АДАПТИВ === */
@media (max-width: 1440px) {
    .category-card:nth-child(1),
    .category-card:nth-child(6) {
        width: calc(25% - 15px);
    }

    .category-card:nth-child(2),
    .category-card:nth-child(3),
    .category-card:nth-child(4),
    .category-card:nth-child(5) {
        width: calc(37.5% - 15px);
    }
}

@media (min-width: 1200px) and (max-width: 2000px) {
    .container {
        width: 80%;
    }
}

@media (max-width: 1200px) {
	

    .categories__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .category-card:nth-child(1n) {
        width: auto;
    }
}

@media (max-width: 900px) {
    .categories__grid {
        grid-template-columns: repeat(2, 1fr);
    }
	#back-top {

    bottom: 70px !important;
  
}
}

@media (max-width: 480px) {
    .categories__grid {
        grid-template-columns: 1fr;
    }
}



.home-info__icon {
    width: 48px;
    height: 48px;
    display: inline-block;

       -webkit-mask-size: contain !important;
    mask-size: contain;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* MOBILE BOTTOM MENU */
.mobile-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0b0b0b;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 1000;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-bottom-menu .mb-item {
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-bottom-menu .mb-icon {
    font-size: 18px;
    margin-bottom: 2px;
}

.mobile-bottom-menu .mb-item:hover {
    color: #ff3b3b;
}

@media (min-width: 768px) {
    .mobile-bottom-menu {
        display: none;
    }
	
}

/* щоб контент не перекривався */
body {
    padding-bottom: 65px !important;
}

/* MOBILE BOTTOM MENU */


#fm-fixed-mobile-bottom.fm_type_design_bottom_2, #fm-fixed-mobile-bottom.fm_type_design_bottom_3 {
   display: none;
        height: 40px !important;

    }
	
	button.up-header__btn-mobile-menu.btn.btn-menu-mobile.hidden-md.hidden-lg {
    color: #ffffff !important;
}


.home-main__slider {
    max-width: 1400px;
    margin: 0 auto;
}



.up-header-phones__item a {
    white-space: nowrap;
}

.up-header-phones__dropdown li {
    text-align: center;
}
    .up-header-phones.hp-dd.open .up-header-phones__dropdown {
        padding-top: 10px !important;
    }
	
	@media (max-width: 1280px) {
    .up-icon-angle-down {
        display: none !important;
    }
}

.up-header-phones__dropdown li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.up-header-socials__top {
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s ease;
}

/* ПО УМОЛЧАНИЮ */

/* dropdown показываем */
.up-header-socials {
    display: block;
}

/* обычные соцсети скрываем */
.contacts > a.social-btn {
    display: none;
}


/* ОТ 1280px */
@media (min-width: 1700px) {

    /* скрываем dropdown */
    .up-header-socials {
        display: none;
    }

    /* показываем старые соцсети */
    .contacts > a.social-btn {
        display: inline-flex !important;
    }

}

.subcategory.bg_item {
    border-radius: 20px;
    margin-bottom: 0px !important;
}
