/* Hero Section */
.hero {
    position: relative;
    height: 50svh;
    width: 100%;
    overflow: hidden;
}

.hero>h1{
    position: absolute;
    bottom: 1em;
    left: 0.5em;
    color: var(--white);
    text-align: center;
    margin: 0;
    filter: drop-shadow(1px 1px 0 var(--black));
}

.hero img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.header{
    width: min(1100px, 90%);
    font-size: 1.2em;
    font-weight: 300;
    text-align: center;
    font-style: italic;
    text-wrap: balance;
}

/* Product Section */
section.product{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5em;
    place-items: center;
    padding-inline: 5%;
}

section.product>article>h2{
    margin-top: 0;
}

section.product>img{
    height: 100%;
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 1em;
}

a.pending {
    filter: contrast(0.5);
    pointer-events: none;
}

a.pending::after{
    border-color: var(--shadow);
}

@media (min-width: 761px) {
    /* Hero Section */
    .hero {
        height: 70svh;
    }

    .hero h1{
        left: 1em;
    }

    /* Product Section */
    section.product{
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

@media (min-width: 850px) {
    section.product:nth-of-type(even)>article{
        order: 2;
    }
}

@media (min-width: 1166px) {
    /* Hero Section */
    .hero {
        height: 80svh;
    }

    .hero h1{
        left: 2em;
    }

    .header{
        font-size: 1.5em;
    }

    /* Product Section */
    section.product{
        width: min(90%, 1750px);
        gap: 3em;
    }
}