/* Промо строка со скидкой */
.promo {
    max-height: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFDEA;
    font-size: 12px;
    background: #281D18;
    padding: 7px 0;
    overflow: hidden;
    z-index: 20;
    transition: all 0.4s ease;
    text-transform: uppercase;
    font-family: inherit;
    font-weight: normal;
}

.marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee__content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
}

.marquee__original {
    display: flex;
    align-items: center;
    animation: marquee 3s linear infinite;
}

.marquee__text {
    margin: 0 15px;
    color: #FFFDEA;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: normal;
}

.marquee__content svg {
    margin: 0 15px;
    flex-shrink: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.marquee:hover .marquee__content {
    animation-play-state: paused;
}

/* Хедер */

.header {
    height: 60px;
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: 1fr 127px 1fr;
    align-items: center;
    color: #281D18;
    background: #FFFEF9;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 30;
    transition: all 0.4s ease;
}

.header--scrolled {
    box-shadow: 4px -4px 30px rgba(0,0,0,0.1);
}

.header--home:not(.header--scrolled):not(.header--hovered) {
    color: #FFFDEA;
    background: transparent;
}

.header--home:not(.header--scrolled):not(.header--hovered) .header__menu-option {
    color: #FFFDEA;
    font-weight: 500;
}

.header--home:not(.header--scrolled) .header__search--mobile{
    background: rgba(255,255,255,0.2);
}

.header__menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.header__menu-btn {
    cursor: pointer;
}

.header__menu-options {
    display: flex;
    align-items: center;
    gap: 35px;
}

.header__menu-option {
    position: relative;
    color: #281D18;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
}

.header__menu-option:after {
    content: '';
    height: 1px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.4s ease;
}

.header__menu-option::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 50px;
  background: transparent;
}

.header__menu-option:hover:after, .header__menu-option--active:after {
    transform: scaleX(1);
}

.header__icons {
    display: flex;
    align-items: center;
    justify-self: flex-end;
    gap: 25px;  
}

.header__lang {
    width: max-content;
    position: relative;
    font-size: 14px;
    text-transform: uppercase;
}

.header__lang--mobile {
    display: none;
}

.header__lang-label {
    cursor: pointer;
}

.header__lang-options {
    width: 225px;
    position: absolute;
    top: 36px;
    left: 0;
    border: 1px solid rgba(40, 28, 24, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    z-index: 2;
    pointer-events: none;
    transition: all .4s ease;
}

.header__lang-options--active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.header__lang-option {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    color: #281D18;
    background: #FFFEF9;
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all .4s ease;
}

.header__lang-option:hover {
    background: #F4F3EE;
}

.header__icon {
    cursor: pointer;
}

.header__search {
    width: 220px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid currentColor;
    padding-bottom: 3px;
    cursor: pointer;
}

.header__search--mobile {
    display: none;
}

.header__search span {
    font-size: 14px;
    opacity: 0.5;
}

.header__overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 11;
    opacity: 0;
    pointer-events: none;
    transition: all .4s ease;
}

.header__overlay--active {
    opacity: 1;
}

/* Меню, десктоп, мужское */
.menu-desktop {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 59px;
    left: 0;
    border-top: 1px solid #E9E7E3;
    z-index: -1;
    opacity: 0;
    transform: translateY(-700px);
    transition: all .4s ease;
}

.menu-desktop--active {
    opacity: 1;
    transform: translateY(0);
}

.menu-desktop__container {
    display: flex;
    justify-content: space-between;
    gap: 77px;
    background: #FFFEF9;
    padding: 60px 77px 67px;
}

.menu-desktop__categories {
    display: flex;
    flex-direction: column;
    gap: 25px;
    list-style: none;
    padding: 0;
}

.menu-desktop__category-link {
    width: max-content;
    position: relative;
    display: block;
    color: #281D18;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
}

.menu-desktop__category-link:after {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: #281D18;
    transform: scaleX(0);
    transform-origin: left;
    transition: all .4s ease;
}

.menu-desktop__category-link:hover:after {
    transform: scaleX(1);
}

.menu-desktop__category-link--all {
    font-weight: 600;
}

.menu-desktop__collections {
    max-width: 1250px;
    margin: 0;
}

.menu-desktop__slide {
    display: block;
    color: #281D18;
    text-decoration: none;
}

.menu-desktop__slide:hover .menu-desktop__slide-image img {
    transform: scale(1.1);
}

.menu-desktop__slide:hover .menu-desktop__slide-title {
    transform: translateY(-5px);
}

.menu-desktop__slide-image  {
    overflow: hidden;
}

.menu-desktop__slide-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .4s ease;
}

.menu-desktop__slide-title {
    display: block;
    text-transform: uppercase;
    text-align: center;
    margin-top: 15px;
    transition: all .4s ease;
}


@media (max-width: 1024px) {
    .header {
        height: max-content;
    }

    .header__search--desktop {
        display: none;
    }

    .header__search--mobile {
        width: calc(100% + 40px);
        max-height: 40px;
        grid-column: 1/4;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(40, 29, 24, 0.05);
        border: none;
        padding: 15px;
        margin-left: -20px;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .header__menu-options, .header__account {
        display: none;
    }

    .header {
        padding: 0 15px;
    }

    .header__icons {
        gap: 25px;  
    }

    .header__lang--desktop {
        display: none;
    }

    .header__lang--mobile {
        display: block;
    }

    .header__lang-options {
        top: 41px;
    }

    .header__menu {
        gap: 20px;
    }

    .header__favorite {
        width: 23px;
        height: auto;
    }

    .header__cart {
        width: 20px;
        height: auto;
    }
    
    .header__search--mobile {
        width: calc(100% + 30px);
        margin-left: -15px;
    }

    .header__search span {
        font-size: 12px;
        opacity: 0.6;
    }

    .header--home:not(.header--scrolled) .header__search span {
        opacity: 0.7;
    }
}