html {
    scroll-behavior: smooth;
}

body {
    background: #faf7f2;
}

.home-logo {
    color: #29211c;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 34px;
    letter-spacing: 7px;
    text-align: center;
}

.home-logo small {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 5px;
    margin-top: 3px;
}

.beauty-hero {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #d8b49e;
}

.beauty-hero-image {
    position: absolute;
    inset: 0;
    background-image: url("../images/beauty-banner.png");
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
}

.beauty-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(235,213,194,.98) 0%,
        rgba(235,213,194,.88) 25%,
        rgba(235,213,194,0) 65%
    );
}

.beauty-hero-content {
    position: relative;
    z-index: 1;
    max-width: 570px;
    margin-left: 9%;
    padding: 65px 30px;
    color: #302018;
}

.beauty-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(48px, 6vw, 92px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.02;
    margin: 25px 0;
    letter-spacing: -3px;
}

.beauty-hero p {
    font-size: 16px;
    line-height: 1.8;
    max-width: 410px;
    margin-bottom: 30px;
}

.beauty-button {
    display: inline-block;
    background: #32231b;
    color: #fff;
    padding: 17px 28px;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background .2s;
}

.beauty-button:hover {
    background: #96765c;
}

.home-collection,
.home-products {
    padding: 75px 5%;
    text-align: center;
}

.home-collection h2,
.home-products h2,
.beauty-about h2 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: clamp(32px, 4vw, 54px);
    margin: 18px 0 36px;
    color: #30241e;
}

.home-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    max-width: 1350px;
    margin: auto;
}

.home-category {
    display: flex;
    min-height: 310px;
    align-items: center;
    text-align: left;
    text-decoration: none;
    color: #30241e;
    padding: 35px;
    background: #e8d4c5;
}

.lip-category {
    background: linear-gradient(
        120deg, #e4bda9, #f0dfd2
    );
}

.set-category {
    background: linear-gradient(
        120deg, #d9c1ab, #f6eade
    );
}

.category-copy span {
    font-size: 10px;
    letter-spacing: 3px;
}

.category-copy h3 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 42px;
    line-height: 1.05;
    margin: 20px 0;
}

.category-copy p {
    margin-bottom: 25px;
    font-size: 14px;
}

.category-copy strong {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid;
    padding-bottom: 5px;
}

.home-products {
    background: #fff;
}

#homeProductGrid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 22px;
    max-width: 1350px;
    margin: 30px auto;
}

.home-product {
    color: #30241e;
    text-decoration: none;
    text-align: left;
}

.home-product-image {
    position: relative;
    aspect-ratio: 4 / 5;
    background: #eee5dc;
    overflow: hidden;
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.home-product:hover img {
    transform: scale(1.04);
}

.home-product h3 {
    font-size: 16px;
    margin: 16px 0 10px;
    font-weight: 500;
}

.home-product del {
    margin-left: 10px;
    color: #999;
    font-size: 13px;
}

.home-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 7px 10px;
    background: #32231b;
    color: white;
    font-size: 12px;
}

.beauty-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #e9d9ca;
    min-height: 420px;
}

.beauty-about-image {
    background-image: url("../images/beauty-banner.png");
    background-size: auto 235%;
    background-position: center bottom;
    background-repeat: no-repeat;
    min-height: 360px;
}

.beauty-about-content {
    padding: 65px 12%;
    align-self: center;
}

.beauty-about-content p {
    line-height: 1.8;
    margin-bottom: 25px;
}

.home-services {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    text-align: center;
    padding: 45px 5%;
    gap: 20px;
    background: #faf7f2;
}

.home-services h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.home-services p {
    font-size: 13px;
    color: #77685c;
}

.home-services a {
    color: inherit;
}

@media(max-width: 800px) {

    .beauty-hero {
        min-height: 0;
        display: block;
        background: #e9d4c4;
    }

    .beauty-hero-image {
        position: relative;
        height: auto;
        aspect-ratio: 2.6 / 1;
    }

    .beauty-hero::after {
        display: none;
    }

    .beauty-hero-content {
        margin: 0;
        padding: 35px 24px;
        text-align: center;
        max-width: none;
    }

    .beauty-hero h1 {
        font-size: 49px;
        letter-spacing: -2px;
    }

    .beauty-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .home-collection,
    .home-products {
        padding: 45px 16px;
    }

    .home-categories {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .home-category {
        min-height: 230px;
        padding: 28px;
    }

    #homeProductGrid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 15px;
    }

    .beauty-about {
        grid-template-columns: 1fr;
    }

    .beauty-about-image {
        min-height: 280px;
    }

    .beauty-about-content {
        padding: 40px 25px;
        text-align: center;
    }

    .home-services {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
