@import 'reset.css';
@import 'fonts.css';
@import 'layout.css';
@import 'animation.css';
@import 'adaptive.css?v=2';

body {
    color: #fff;
    font-family: "TT Turns", Arial, sans-serif;
    font-weight: 400;
}

.header {
    transition:
        background-color 280ms ease,
        border-color 280ms ease,
        color 280ms ease,
        padding 280ms ease,
        height 280ms ease;
}

.header.is-compact {
    position: fixed;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    height: 8.1vw;
    padding: 0 5.45vw;
    background: #fefff8;
    border: 0.07vw solid #202020;
    color: #111;
}

.header__link {
    position: relative;
    font-size: 1.04vw;
    line-height: 1;
    white-space: nowrap;
}

.header__burger {
    display: none;
}

.header__link::after {
    position: absolute;
    right: 0;
    bottom: -0.45vw;
    left: 0;
    height: 0.06vw;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 480ms ease;
}

.header__link:hover::after,
.header__link:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header__logo,
.header__basket {
    transition: opacity 200ms ease;
}

.header__logo:hover,
.header__basket:hover {
    opacity: 0.72;
}

.header__link:focus-visible,
.header__logo:focus-visible,
.header__basket:focus-visible {
    outline: 0.1vw solid #fff;
    outline-offset: 0.35vw;
}

.header.is-compact .header__link:focus-visible,
.header.is-compact .header__logo:focus-visible,
.header.is-compact .header__basket:focus-visible {
    outline-color: #111;
}

.discount-popup {
    position: absolute;
    z-index: 30;
    top: 50%;
    left: 50%;
    width: 42.25vw;
    min-height: 24vw;
    padding: 4.6vw 2.6vw 2.15vw;
    background: #fefff8;
    border-radius: 1.35vw;
    color: #111;
    transform: translate(-50%, -50%);
    animation: discount-popup-appears 650ms ease-out 450ms both;
}

.discount-popup.is-hidden {
    display: none;
}

.discount-popup__close {
    position: absolute;
    top: 1.72vw;
    right: 1.98vw;
    width: 1.95vw;
    height: 1.95vw;
    background: transparent;
    cursor: pointer;
}

.discount-popup__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.2vw;
    height: 0.08vw;
    background: #111;
    transform-origin: center;
}

.discount-popup__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.discount-popup__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.discount-popup__form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.discount-popup__label,
.discount-popup__value,
.discount-popup__subtitle,
.discount-popup__error {
    margin: 0;
}

.discount-popup__label {
    font-size: 1.28vw;
    line-height: 1;
}

.discount-popup__value {
    margin-top: 1vw;
    color: #808080;
    font-size: 5.55vw;
    line-height: 0.88;
}

.discount-popup__subtitle {
    margin-top: 1.6vw;
    font-size: 1.33vw;
    line-height: 1;
}

.discount-popup__email {
    width: 37vw;
    height: 5.4vw;
    margin-top: 2.85vw;
    padding: 0 1.12vw;
    background: transparent;
    border: 0.07vw solid #111;
    border-radius: 0.92vw;
    color: #111;
    font: inherit;
    font-size: 1.05vw;
    line-height: 1;
    text-transform: uppercase;
}

.discount-popup__email::placeholder {
    color: #808080;
    opacity: 1;
}

.discount-popup__email:focus {
    outline: none;
    border-color: #111;
}

.discount-popup__email.is-invalid {
    border-color: #8b1d1d;
}

.discount-popup__error {
    align-self: flex-start;
    min-height: 0.75vw;
    margin: 0.38vw 0 0 0.1vw;
    color: #8b1d1d;
    font-size: 0.7vw;
    line-height: 1;
    opacity: 0;
}

.discount-popup__error.is-visible {
    opacity: 1;
}

.discount-popup__submit {
    width: 37vw;
    height: 4.85vw;
    margin-top: 1.27vw;
    background: #000;
    border-radius: 0.62vw;
    color: #fff;
    font: inherit;
    font-size: 1.2vw;
    line-height: 1;
    cursor: pointer;
    transition: background-color 280ms ease, color 280ms ease, border-color 280ms ease;
}

.discount-popup__submit:hover,
.discount-popup__submit:focus-visible {
    background: #fefff8;
    border: 0.1vw solid #111;
    color: #111;
}

.bestsellers {
    color: #111;
}

.bestsellers__intro h2 {
    margin: 0 0 1.25vw;
    font-size: 1.18vw;
    font-weight: 400;
    line-height: 1;
}

.bestsellers__intro em {
    font-style: italic;
    font-weight: 400;
}

.bestsellers__intro p {
    margin: 0;
    font-size: 0.96vw;
    line-height: 1.28;
}

.product__info {
    font-size: 0.91vw;
    line-height: 1.18;
}

.product__price {
    text-transform: none;
}

.product:hover .product__image {
    transform: translate(-50%, -58%) scale(1.035);
}

.bestsellers__story:focus-visible {
    outline: 0.12vw solid #111;
    outline-offset: -0.35vw;
}

.product:focus,
.product:focus-visible {
    outline: none;
}

.new-collection {
    color: #111;
}

.new-collection__eyebrow {
    margin: 0 0 2.05vw;
    font-size: 1.28vw;
    font-style: italic;
    line-height: 1;
}

.new-collection h2 {
    margin: 0 0 2.05vw;
    font-size: 1.48vw;
    font-weight: 400;
    line-height: 1.05;
}

.new-collection__button {
    background: #111;
    border: 0.07vw solid transparent;
    color: #fff;
    font-size: 1.1vw;
    line-height: 1;
    transition: background-color 350ms ease, border-color 350ms ease, color 350ms ease;
}

.new-collection__button:hover,
.new-collection__button:focus-visible {
    background: #fff;
    border-color: #111;
    color: #111;
}

.new-collection__button:focus-visible {
    outline: 0.12vw solid #111;
    outline-offset: 0.3vw;
}

.journal {
    color: #111;
}

.journal-card__image {
    transition: opacity 350ms ease;
}

.journal-card__title {
    font-size: 1.04vw;
    line-height: 1.15;
    text-align: center;
}

.journal-card:hover .journal-card__image,
.journal-card:focus-visible .journal-card__image {
    opacity: 0.78;
}

.journal-card:focus-visible {
    outline: 0.1vw solid #111;
    outline-offset: 0.45vw;
}

.faq {
    color: #111;
}

.faq__header h2 {
    margin: 0;
    font-size: 1.35vw;
    font-weight: 400;
    line-height: 1;
}

.faq__header em {
    font-style: italic;
    font-weight: 400;
}

.faq-item__button {
    font-size: 1.48vw;
    line-height: 1;
    text-align: left;
}

.faq-item__button:focus-visible {
    outline: none;
}

.faq-item__answer p {
    font-size: 1.48vw;
    line-height: 1.32;
}

.footer {
    color: #fff;
    font-size: 1.02vw;
    line-height: 1.3;
}

.footer__copyright {
    margin: 0;
}

.footer__logo,
.footer__links a {
    transition: opacity 250ms ease;
}

.footer__logo:hover,
.footer__links a:hover {
    opacity: 0.65;
}

@media (max-width: 600px) {
    .footer {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 1fr;
        height: 40vw;
        padding: 5.8vw 4.9vw 5.6vw;
        font-size: 3.35vw;
    }

    .footer__logo {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
        width: 36vw;
    }

    .footer__copyright {
        grid-column: 1;
        grid-row: 2;
        align-self: end;
    }

    .footer__links {
        grid-column: 2;
        grid-row: 2;
        align-self: end;
        align-items: flex-end;
        justify-self: end;
        text-align: right;
    }
}
