@font-face {
    font-family: panton;
    src: url(../fonts/panton/Panton-Regular.woff2);
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: panton;
    src: url(../fonts/panton/Panton-Bold.woff2);
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: nunito;
    src: url(../fonts/nunito/Nunito-Regular.woff2);
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: nunito;
    src: url(../fonts/nunito/Nunito-Medium.woff2);
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: nunito;
    src: url(../fonts/nunito/Nunito-Bold.woff2);
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: icon;
    src: url(../fonts/icon.woff);
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
:root {
    --accent: #D90429;
    --white: #fff;
    --dark: #2B2D42;
    --dark-80: rgba(43, 45, 66, 0.8);
    --dark-50: rgba(43, 45, 66, 0.5);
    --light: #8D99AE;
    --light-50: rgba(141, 153, 174, 0.5);

    --extra-light: #F6F5F8;

    --font-main: 'panton', Arial, sans-serif;
    --font-secondary: 'nunito', Arial, sans-serif;

    --shadow-main: 0 4px 4px 0 rgba(43, 45, 66, 0.25);
}
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 400;
}
a {
    text-decoration: none;
}
input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;      
}
.btn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    border: none;
    outline: none;
    cursor: pointer;
    -webkit-transition: .2s linear;
    transition: .2s linear;
}
.btn.square {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 10px;
}
.wrapper {
    max-width: 1220px;
    width: 100%;
    margin: 0 auto;
}
.notifications {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.notification {
    width: 300px;
    padding: 15px 20px;
    border-radius: 8px;
    background: #fff;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-left: 5px solid #3498db;
    opacity: 0;
    transform: translateX(100px);
    transition: 
        transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), 
        opacity 0.4s ease,
        margin 0.3s ease;
}
.notification.animate {
    opacity: 1;
    transform: translateX(0);
}
.notification.hide {
    opacity: 0;
    transform: translateX(0);
    pointer-events: none;
    margin-top: -50px; 
    transition: opacity 0.3s ease, margin 0.4s ease, transform 0.3s ease;
}
.notification.success { border-left-color: #2ecc71; }
.notification.error   { border-left-color: #e74c3c; }
.notification.info    { border-left-color: #3498db; }

header {
    padding: 20px 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
header .menu {
    position: relative;
}
header .menu .open-menu {
    position: relative;
    background: #2B2D42;
}
header .menu .open-menu span, 
header .menu .open-menu::before, 
header .menu .open-menu::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 2px;
    background: #fff;
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
}
header .menu .open-menu span {
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    transition: .2s linear;
}
header .menu .open-menu::before {
    -webkit-transform: translate(-50%, 6px);
    -ms-transform: translate(-50%, 6px);
    transform: translate(-50%, 6px);
    transition: .2s linear;
}
header .menu .open-menu::after {
    -webkit-transform: translate(-50%, -6px);
    -ms-transform: translate(-50%, -6px);
    transform: translate(-50%, -6px);
    transition: .2s linear;
}
header .menu.active .open-menu span {
    opacity: 0;
    visibility: hidden;
}
header .menu.active .open-menu::before {
    -webkit-transform: translate(-50%, -0) rotate(45deg);
    -ms-transform: translate(-50%, -0) rotate(45deg);
    transform: translate(-50%, -0) rotate(45deg);
}
header .menu.active .open-menu::after {
    -webkit-transform: translate(-50%, 0) rotate(-45deg);
    -ms-transform: translate(-50%, 0) rotate(-45deg);
    transform: translate(-50%, 0) rotate(-45deg);
}
header .menu .items {
    display: flex;
    width: 320px;
    position: absolute;
    height: fit-content;
    padding-top: 10px;
    z-index: 99;
    left: -120px;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s linear;
}
header .menu.active .items {
    opacity: 1;
    visibility: visible;
    left: 0;
}
header .menu .items .ws-menu {
    display: flex;
    flex-direction: column;
    background: var(--extra-light);
    border-radius: 10px;
    /* corner-shape: squircle; */
    width: 100%;
    box-shadow: 0 4px 4px 0 rgba(43, 45, 66, 0.25);
    padding: 10px;
}
header .menu .items .ws-menu .item a {
    width: 100%;
    padding: 10px 20px;
    border-radius: 10px;
    display: block;
    color: var(--dark);
}
header .search {
    margin-left: 100px;
    margin-top: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 280px;
    position: relative;
}
header .search .field {
    width: 100%;
    height: 60px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    background: #F6F5F8;
    border-radius: 20px;
    padding: 0 10px 0 0;
    /* gap: 20px; */
    overflow: hidden;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 4px 0 rgba(43, 45, 66, 0.25);
    transition: 0.2s linear;
}
header .search[data-type="size"] .field {
    background: #EDF2F4;
}
header .search .field * {
    font-size: 16px;
}
header .search .field input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #F6F5F8 inset !important;
    -webkit-text-fill-color: #2B2D42 !important;
}
header .search .field .number input {
    height: 100%;
    padding: 0 20px;
}
header .search .field .number, header .search .field .size {
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: .2s linear;
}
header .search .field .size {
    padding: 0 20px;
}
header .search .field .number.active, header .search .field .size.active {
    display: flex;
    /* position: relative; */
}
header .search .field .number.active.visible, header .search .field .size.active.visible {
    opacity: 1;
    visibility: visible;
}
header .search .field .size input {
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    text-align: center;
    margin-right: 10px;
}
header .search .field .size input:last-of-type {
    margin-right: 0;
}
header .search .field .submit {
    background: #D90429;
    box-shadow: 0 4px 4px 0 rgba(43, 45, 66, 0.25);
    border: 1px solid #D90429;
    /* margin-left: 20px; */
}
header .search .field .submit::before {
    font-family: icon;
    content: '\e903';
    font-size: 18px;
    color: #fff;
}
header .search .after {
    padding: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    width: 100%;
    /* top: calc(100% - 40px); */
    top: 20px;
    background: var(--white);
    padding-top: 60px;
    z-index: 1;
    border-radius: 0 0 20px 20px;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s linear, visibility 0.2s linear, top 0.2s linear;
}
header .search .after {
    visibility: visible;
    opacity: 1;
    top: calc(100% - 40px);
}
/* header .search:focus-within .after {
    visibility: visible;
    opacity: 1;
    top: calc(100% - 40px);
} */
header .search .after .change-type {
    width: 30px;
    height: 14px;
    background: var(--light-50);
    border-radius: 10px;
    margin-right: 10px;
    position: relative;
}
header .search .after .change-type::before {
    content: '';
    position: absolute;
    left: 1px;
    top: 1px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 10px;
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
}
header .search .after .change-type.active {
    background: var(--light);
}
header .search .after .change-type.active::before {
    left: calc(100% - 13px);
}
header .search .after span {
    border-radius: 10px;
    color: rgba(141, 153, 174, 0.5);
    border: 1px solid rgba(141, 153, 174, 0.5);
    font-size: 14px;
    width: 18px;
    height: 18px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-left: auto;
    position: relative;
}
header .search .after span::after {
    position: absolute;
    content: 'Поиск по размерам';
    font-size: 12px;
    color: var(--dark-50);
    left: 100%;
    bottom: 100%;
    width: 120px;
    height: fit-content;
    padding: 5px;
    text-align: left;
    background: var(--white);
    border-radius: 5px;
    box-shadow: 0 4px 4px 0 rgba(43, 45, 66, 0.25);
    border: 1px solid var(--light-50);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s linear, visibility 0.2s linear;
}
header .user-toolbar {
    margin-left: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
header .user-toolbar > div {
    margin-left: 20px;
}
header .user-toolbar .btn {
    box-shadow: 0 4px 4px 0 rgba(43, 45, 66, 0.25);
    position: relative;
}
header .user-toolbar .btn span {
    display: flex;
    position: absolute;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    font-size: 12px;
    background: var(--accent);
    color: var(--white);
    border-radius: 10px;
    top: -7px;
    right: -7px;
}
@keyframes cartAmount {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0px);
    }
}
header .user-toolbar .btn span.animate {
    animation: cartAmount 0.4s ease-in-out;
}
header .user-toolbar .btn::before {
    color: #2B2D42;
    font-weight: 500;
    font-family: icon;
    font-size: 20px;
}
header .user-toolbar .account .btn::before {
    content: '\e900';
}
header .user-toolbar .favorites .btn::before {
    content: '\e901';
}
header .user-toolbar .cart .btn::before {
    content: '\e902';
}
.breadcrumbs {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.breadcrumbs a,
.breadcrumbs span,
.breadcrumbs p {
    font-size: 14px;
    font-weight: 500;
    margin-right: 10px;
}
.breadcrumbs a,
.breadcrumbs span {
    color: rgba(141, 153, 174, 0.5);
}
.breadcrumbs span {
    font-size: 12px;
    font-weight: 400;
}
.breadcrumbs span::before {
    font-family: icon;
    font-weight: 400;
    content: '\e905';
}
.breadcrumbs p {
    color: #D90429;
}
.auth {
    height: 100%;
    display: flex;
    margin-top: 100px;
    margin-bottom: 100px;
}
.auth .inner {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 40px;
    background: var(--extra-light);
}
.auth .inner h1 {
    font-size: 32px;
    line-height: 1.2;
    color: #2B2D42;
    font-family: var(--font-main);
    font-weight: 700;
}
.auth .inner form {
    margin-top: 40px;
}
.auth .inner form .item {
    margin-top: 20px;
}
.auth .inner form .item label {
    display: block;
    margin-left: 20px;
    margin-bottom: 3px;
}
.auth .inner form .item input {
    width: 100%;
    height: 40px;
    padding: 0 20px;
    border: 1px solid var(--dark-50);
    border-radius: 20px;
    background: transparent;
    color: var(--dark-80);
    font-size: 16px;
    transition: .2s linear;
}
.auth .inner form .item input:focus {
    border: 1px solid var(--accent);
}
.auth .inner form .btn {
    margin-top: 20px;
    width: 100%;
    max-width: 200px;
    border-radius: 10px;
    height: 40px;
    border: none;
    outline: none;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
    font-size: 16px;
    transition: .2s linear;
}
.auth .inner form .btn.disabled {
    cursor: not-allowed;
    opacity: .4;
}
.auth .inner form .text {
    font-size: 14px;
    color: var(--dark-50);
    margin-top: 10px;
}
.auth .inner form .text a {
    font-size: inherit;
}

footer {
    background: var(--dark);
}
footer .wrapper {
    padding: 100px 0 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}
footer .wrapper .col * {
color: var(--white);
}
footer .wrapper .col span, footer .wrapper .col h3 {
    color: var(--accent);
    font-weight: 700;
}
footer .wrapper .col h3 {
    margin-bottom: 20px;
}
footer .wrapper .col .social {
    display: flex;
    gap: 40px;
}
footer .bottom {
    width: 100%;
    background: #000;
    padding: 20px 0;
}
footer .bottom p {
    color: var(--white);
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    font-weight: 300;
    opacity: .4;
}
@media screen and (max-width: 1279px) {
    .wrapper {
        width: calc(100% - 80px);
        max-width: unset;
    }
    header .search {
        order: -1;
        margin-left: 10px;
        width: 260px;
        margin-top: 10px;
    }
    header .menu {
        order: 2;
        margin-left: 20px;
        margin-right: 0;
    }
    header .menu .items {
        left: auto;
        right: 0;
        top: -40px;
    }
    header .menu.active .items {
        right: 0;
        left: auto;
        top: calc(100% - 20px);
    }
    footer .wrapper {
        grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
        gap: 40px;
        padding: 60px 0 60px;
    }
    footer .wrapper .col .social {
        gap: 20px;
    }
    footer .wrapper .col h3 {
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 767px) {
    .wrapper {
        width: calc(100% - 40px);
    }
    header {
        align-items: center;
        position: relative;
    }
    header .menu {
        margin-left: 10px;
    }
    header .search {
        margin: 0;
    }
    header .search .field {
        height: 50px;
        padding-right: 5px;
        border-radius: 10px;
    }
    header .menu {
        position: static;
    }
    header .menu .items {
        width: 100%;
    }
    header .menu.active .items {
        top: calc(100% - 20px);
    }
    footer .wrapper {
        grid-template-columns: 1fr;
    }
}
@media screen and (hover: hover) {
    header .search .field .submit:hover {
        background: #fff;
    }
    header .search .field .submit:hover::before {
        color: #D90429;
    }
    header .search .after span:hover::after {
        opacity: 1;
        visibility: visible;
    }
    header .menu .items .ws-menu .item a:hover {
        background: var(--white);
    }

}