:root {
    --white: #ffffff;
    --gold: #f6bf64;
    --black: #000000;
    --header-h: 140px;
    --font-display: "Playfair Display", Georgia, serif;
    --font-body: "Montserrat", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--white);
    background: var(--black);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

.container {
    width: min(1360px, 94vw);
    margin-inline: auto;
}

/* Header */
.site-header {
    background: var(--black);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: var(--header-h);
}

.site-header__left {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.logo__img {
    width: 130px;
    height: 130px;
    object-fit: contain;
}

.site-header__divider {
    width: 1px;
    height: 72px;
    background: rgba(255, 255, 255, 0.35);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.85rem, 1.8vw, 1.75rem);
}

.nav__link {
    position: relative;
    padding: 0.4rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.2s;
}

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

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: min(280px, 32vw);
    padding: 0.6rem 1.15rem;
    border: 1.5px solid var(--gold);
    border-radius: 999px;
}

.search__input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 0.8rem;
    color: var(--white);
}

.search__input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.search__btn {
    display: flex;
    color: var(--gold);
}

.cart {
    position: relative;
    display: flex;
}

.cart__badge {
    position: absolute;
    top: -5px;
    right: -10px;
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--black);
    background: var(--gold);
    border-radius: 999px;
}

/* Hero */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    overflow: hidden;
    background: var(--black) url('../images/hero.jpg') no-repeat 70% 58% / cover;
}

.hero__inner {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-h));
    padding: 3rem 0 5rem;
}

.hero__content {
    max-width: 560px;
}

.hero__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero__line {
    display: block;
    width: 72px;
    height: 2px;
    margin: 1.5rem 0 1.35rem;
    background: var(--gold);
}

.hero__text {
    margin: 0 0 2.25rem;
    max-width: 36ch;
    line-height: 1.7;
}

.btn-hero {
    display: inline-block;
    padding: 0.95rem 2.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--white);
    background: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 999px;
}

.btn-hero:hover {
    background: transparent;
    color: var(--gold);
}

.hero__dots {
    position: absolute;
    bottom: 2.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.7rem;
}

.hero__dot {
    width: 11px;
    height: 11px;
    border: 2px solid var(--white);
    border-radius: 50%;
}

.hero__dot--active {
    background: var(--gold);
    border-color: var(--gold);
}

/* Footer */
.site-footer {
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 960px) {
    .site-header__divider,
    .nav {
        display: none;
    }

    .site-header__inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.75rem 0;
    }

    .hero__inner {
        justify-content: center;
        text-align: center;
    }

    .hero__line {
        margin-inline: auto;
    }

    .hero__text {
        margin-inline: auto;
    }

    .hero {
        background-position: 68% 50%;
        background-size: 120% auto;
    }
}

@media (max-width: 640px) {
    .search {
        width: 100%;
    }

    .site-header__actions {
        width: 100%;
        justify-content: space-between;
    }

    .hero,
    .hero__inner {
        min-height: auto;
    }

    .hero__title {
        font-size: 2rem;
    }
}
