* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #faf7f0;
    color: #1a1a1a;
    font-family: Georgia, "Times New Roman", serif;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================
   HEADER
========================= */

.header {
    width: 100%;
    height: 78px;

    padding: 0 5%;

    display: flex;
    align-items: center;

    background: #faf7f0;

    border-bottom: 1px solid #e8e0d6;

    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}

.logo-mark {
    width: 36px;
    height: 36px;

    border: 1px solid #c8a96a;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #c8a96a;

    font-size: 17px;
    font-weight: 400;
}

.brand-name {
    font-size: 19px;

    letter-spacing: 4px;

    font-weight: 400;
}

.navigation {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 27px;
}

.navigation a {
    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 1.5px;

    font-weight: 400;

    color: #302c27;

    transition: opacity .2s;
}

.navigation a:hover {
    opacity: .45;
}


/* =========================
   HERO
========================= */

.hero {
    width: 100%;

    padding: 0;

    position: relative;
}

.hero-slider {
    width: 100%;

    height: auto;

    aspect-ratio: 16 / 6.3;

    position: relative;

    overflow: hidden;

    background: #e9e1d6;
}

.hero-slide {
    position: absolute;

    inset: 0;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .45s ease,
        visibility .45s ease;
}

.hero-slide.active {
    opacity: 1;

    visibility: visible;
}

.hero-slide img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    background: #e9e1d6;
}


/* =========================
   HERO ARROWS
========================= */

.hero-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 44px;
    height: 44px;

    border: 1px solid rgba(26,26,26,.3);

    border-radius: 50%;

    background: rgba(250,247,240,.88);

    color: #1a1a1a;

    font-family: Georgia, serif;

    font-size: 27px;

    line-height: 1;

    cursor: pointer;

    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-prev {
    left: 25px;
}

.hero-next {
    right: 25px;
}

.hero-arrow:hover {
    background: #ffffff;
}


/* =========================
   DOTS
========================= */

.hero-dots {
    position: absolute;

    bottom: 17px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 8px;

    z-index: 10;
}

.hero-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 1px solid #1a1a1a;

    border-radius: 50%;

    background: #faf7f0;

    cursor: pointer;
}

.hero-dot.active {
    background: #1a1a1a;
}


/* =========================
   SEARCH
========================= */

.search-section {
    padding: 34px 5% 30px;

    display: flex;

    justify-content: center;
}

.search-box {
    width: min(760px, 100%);

    height: 52px;

    display: flex;

    align-items: center;

    background: #ffffff;

    border: 1px solid #dcd3c8;

    transition: border-color .2s;
}

.search-box:focus-within {
    border-color: #9b8a75;
}

.search-symbol {
    padding-left: 17px;

    font-family: Arial, sans-serif;

    font-size: 22px;

    color: #8d8277;
}

.search-box input {
    flex: 1;

    height: 100%;

    min-width: 0;

    padding: 0 15px;

    border: 0;

    outline: 0;

    background: transparent;

    font-family: Arial, sans-serif;

    font-size: 12px;

    color: #1a1a1a;
}

.search-box input::placeholder {
    color: #9b9187;
}

.search-box button {
    height: 100%;

    padding: 0 23px;

    border: 0;

    background: #1a1a1a;

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 1.7px;

    cursor: pointer;
}


/* =========================
   CATEGORIES
========================= */

.categories-section {
    padding: 35px 5% 85px;
}

.section-heading {
    text-align: center;

    margin-bottom: 30px;
}

.eyebrow {
    margin: 0 0 10px;

    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 3px;

    color: #938577;
}

.section-heading h1 {
    margin: 0;

    font-size: 38px;

    font-weight: 400;

    letter-spacing: 2px;
}


/* =========================
   CATEGORY BOXES
========================= */

.category-grid {
    width: min(1080px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.category-card {
    background: #ffffff;

    border: 1px solid #e2d9ce;

    border-radius: 10px;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.category-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(26,26,26,.07);
}

.category-image {
    width: 100%;

    aspect-ratio: 1 / .78;

    overflow: hidden;

    background: #e9e1d6;
}

.category-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.category-name {
    padding: 14px 8px 15px;

    text-align: center;

    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 1.5px;

    font-weight: 400;
}


/* =========================
   ABOUT
========================= */

.about-section {
    max-width: 850px;

    margin: 0 auto 90px;

    padding: 70px 30px;

    text-align: center;

    border-top: 1px solid #e7ded4;

    border-bottom: 1px solid #e7ded4;
}

.about-section h2 {
    margin: 10px 0 25px;

    font-size: 42px;

    font-weight: 400;

    letter-spacing: 2px;
}

.about-text {
    max-width: 650px;

    margin: auto;

    font-family: Arial, sans-serif;

    font-size: 13px;

    line-height: 1.9;

    color: #71695f;
}

.about-line {
    width: 45px;

    height: 1px;

    margin: 30px auto 0;

    background: #c8a96a;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 60px 20px;

    text-align: center;

    background: #1a1a1a;

    color: #faf7f0;
}

.footer-logo {
    width: 42px;
    height: 42px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #c8a96a;

    border-radius: 50%;

    color: #c8a96a;
}

footer h3 {
    margin: 17px 0;

    font-size: 17px;

    font-weight: 400;

    letter-spacing: 4px;
}

footer p {
    margin: 0;

    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 2px;

    color: #c8a96a;
}

footer small {
    display: block;

    margin-top: 28px;

    font-family: Arial, sans-serif;

    font-size: 8px;

    color: #a9a198;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .navigation {
        gap: 17px;
    }

    .category-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================
   PHONE
========================= */

@media (max-width: 600px) {

    .header {
        height: auto;

        padding: 14px 4% 12px;

        flex-direction: column;

        gap: 13px;
    }

    .brand {
        justify-content: center;
    }

    .navigation {
        width: 100%;

        margin: 0;

        padding: 0 2px 2px;

        gap: 20px;

        overflow-x: auto;

        justify-content: flex-start;
    }

    .navigation a {
        flex-shrink: 0;

        font-size: 8px;
    }


    /* PHONE HERO */

    .hero-slider {
        width: 100%;

        aspect-ratio: 691 / 360;

        max-height: none;
    }

    .hero-slide img {
        object-fit: contain;
    }

    .hero-arrow {
        width: 34px;
        height: 34px;

        font-size: 23px;
    }

    .hero-prev {
        left: 10px;
    }

    .hero-next {
        right: 10px;
    }

    .hero-dots {
        bottom: 9px;
    }


    /* PHONE SEARCH */

    .search-section {
        padding: 22px 4% 27px;
    }

    .search-box {
        height: 49px;
    }

    .search-symbol {
        padding-left: 12px;

        font-size: 20px;
    }

    .search-box input {
        padding: 0 8px;

        font-size: 10px;
    }

    .search-box button {
        padding: 0 13px;

        font-size: 8px;
    }


    /* PHONE CATEGORIES */

    .categories-section {
        padding: 25px 4% 60px;
    }

    .section-heading {
        margin-bottom: 23px;
    }

    .section-heading h1 {
        font-size: 28px;
    }

    .category-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 11px;
    }

    .category-card {
        border-radius: 9px;
    }

    .category-image {
        aspect-ratio: 1 / .82;
    }

    .category-name {
        padding: 11px 5px 12px;

        font-size: 7.5px;

        letter-spacing: 1px;
    }


    /* PHONE ABOUT */

    .about-section {
        margin: 0 4% 60px;

        padding: 55px 20px;
    }

    .about-section h2 {
        font-size: 30px;
    }

}