*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Gilroy', Arial, sans-serif;
    color: #111;
    background: #fff;
    line-height: 1.5;
    min-width: 320px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
    outline: none;
    border: none;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f4f4f4;
}

::-webkit-scrollbar-thumb {
    background: #9b6aad;
    border-radius: 20px;
}

.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.header {
    position: relative;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
	background: rgb(242 242 242 / 15%)
}

.nav-top,
.nav-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-top {
	padding: 5px 0 0;
}

.nav-bottom {
	padding: 10px 0 5px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.menu a {
    font-size: 14px;
    color: #444;
}

.menu a:hover {
    color: #9b6aad;
}

.menu-catalog a {
    font-weight: 700;
    color: #111;
}

.header-phone a {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}


.header-social {
    display: flex;
    gap: 8px;
}

.header-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
}

.fb { background: #4267B2; }
.in { background: #E4405F; }
.tik { background: #111; }


.burger {
    display: none;
    width: 42px;
    height: 42px;
    background: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #111;
    margin: 5px auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo img {
    width: 62px;
    height: 85px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 28px;
    line-height: 1;
}

.logo-subtitle {
    font-size: 13px;
    color: #777;
    margin-top: 4px;
    width: 175px;
}

.header-actions {
    display: flex;
    gap: 14px;
}

.header-actions a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-actions a:hover {
    opacity:0.8;
}

.header-actions .favorites:before { 
    content: "";
    position: absolute;
    width: 39px;
    height: 39px;
    left: 7px;
    top: 5px;
    background-image: url(/views/web/assets/images/favorites.svg);
    background-size: cover;
}

.header-actions .cart:before { 
    content: "";
    position: absolute;
    width: 36px;
    height: 40px;
    left: 10px;
    top: 4px;
    background-image: url(/views/web/assets/images/cart.svg);
    background-size: cover;
}

.header-actions .cabinet:before { 
	content: "";
    position: absolute;
    width: 42px;
    height: 42px;
    left: 10px;
    top: 2px;
    background-image: url(/views/web/assets/images/user.svg);
    background-size: cover;
}


.count {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 20px;
    background: linear-gradient(90deg,#D6415E,#F45E62);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
	line-height: 1;
}

.header-search {
    flex: 1;
    max-width: 380px;
}

.header-search form {
    position: relative;
}

.header-search input {
    width: 100%;
    height: 50px;
    border: 1px solid #eee;
    border-radius: 30px;
    padding: 0 55px 0 18px;
    background: #fafafa;
}

.header-search button {
    position: absolute;
    top: 0;
    right: 0;
    width: 52px;
    height: 50px;
    background: transparent;
    cursor: pointer;
}

.btn {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 30px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #D6415E, #F45E62);
    box-shadow: 0 8px 24px rgba(212, 65, 94, .25);
    font-size: 14px;
    letter-spacing: 0.5px;
	position:relative;
}

.btn:hover {
    background:#F45E62;
}

.btn-theme:after {
    content: "";
    width: 162px;
    height: 60px;
    position: absolute;
    left: -136px;
    bottom: -45px;
    background: url(/views/web/assets/images/theme.png) no-repeat;
    background-size: contain;
}


@media (max-width: 1100px) {

    .menu-pages,
    .menu-catalog,
    .header-phone,
    .header-social,
    .header-filter {
        display: none;
    }

    .burger {
        display: block;
    }

    .nav-bottom {
        flex-wrap: wrap;
    }

    .header-search {
        order: 3;
        width: 100%;
        max-width: 100%;
    }

    .logo-title {
        font-size: 24px;
    }
}

@media (max-width: 640px) {

    .nav-top,
    .nav-bottom {
        gap: 12px;
        padding: 12px 0;
    }

    .header-actions a {
        width: 42px;
        height: 42px;
    }

    .header-search input {
        height: 46px;
    }

    .btn {
        min-height: 46px;
        padding: 0 18px;
        font-size: 14px;
    }
}