nav a[href="/shop"] {
    text-decoration: var(--activePageTextDeco);
    text-underline-offset: var(--activePageTextUnderline);
}

#content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding-top: 40px;
    padding-bottom: 120px;

    width: 100%;
}

h1 {
    text-shadow: 0 0 20px #000000, 0 0 20px #000000, 0 0 20px #000000;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 30px;
    color: var(--secondary);
    display: none;
}


.no-listings {
    text-align: center;
    color: var(--secondary);
    font-size: 30px;
    text-shadow: 0 0 20px #000000, 0 0 20px #000000, 0 0 20px #000000;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    margin: 0;
}

.no-listings p {
    color: white;
    font-size: 20px;
    text-shadow: 0 0 20px #000000, 0 0 20px #000000, 0 0 20px #000000;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    margin-top: 20px;
}

.shop {
    display: flex;
    flex-wrap: wrap;
    width: 80vw;
    gap: 100px;
    align-items: center;
    justify-content: center;
}

.shop-item-container {
    display: flex;
    flex-direction: column;

    width: fit-content;
    min-width: 40%;
}

.shop-item-container:nth-child(even) {
    align-items: flex-start;
}

.shop-item-container:nth-child(odd) {
    align-items: flex-end;
}

.shop-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shop-item .info {
    width: 100%;
    margin-top: 10px;
}

.shop-item img {
    height: 60vh;
}

.title {
    color: var(--primary);
    text-shadow: 0 0 20px #000000, 0 0 20px #000000, 0 0 20px #000000;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 24px;
    margin: 0;
}

.price {
    text-shadow: 0 0 20px #000000, 0 0 20px #000000, 0 0 20px #000000;
    color: var(--secondary);
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 30px;
    margin: 0;
}

.shopify-container {
    height: 100px;
    position: relative;
    z-index: 5;
}

.shopify-button-placeholder {
    position: absolute;
    background-color: var(--secondary);
    width: 210px;
    height: 56px;
    line-height: 56px;

    border: none;
    border-radius: 5px;
    margin-top: 20px;
    color: black;
    z-index: -1;
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    text-align: center;
    top: 0;

    transition: background-color 0.2s;
}

.out-of-stock {
    background-color: #8f8f8f;
}

.shopify-button:hover + .shopify-button-placeholder.out-of-stock {
    background-color: #858484;
}
.shopify-button:active + .shopify-button-placeholder.out-of-stock {
    background-color: #858484;
}

.shopify-button {
    margin-top: -15px;
    opacity: 0;
}

.shopify-button:hover + .shopify-button-placeholder {
    background-color: #dc9c1b;
}

.shopify-button:active + .shopify-button-placeholder {
    background-color: #efb43d;
}

.expandable {
    cursor: pointer;
}

.hover-image {
    position: absolute;
    width: inherit;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.img-container:hover .hover-image {
    opacity: 1;
}



.shopify-button-placeholder.expanded {
    top: 54px;
    margin-top: unset;
}

.shopify-button-expanded {
    opacity: 0;
}

.shopify-button-expanded-container {
    height: 70px;
}

.shopify-container-expanded {
    position: absolute;
    bottom: 25px;
}

.shopify-button-expanded:hover + .shopify-button-placeholder.expanded {
    background-color: #dc9c1b;
}

.shopify-button-expanded:active + .shopify-button-placeholder.expanded {
    background-color: #efb43d;
}

.shopify-button-expanded:hover + .shopify-button-placeholder.expanded.out-of-stock {
    background-color: #858484;
}

.shopify-button-expanded:active + .shopify-button-placeholder.expanded.out-of-stock {
    background-color: #858484;
}


@media (max-width: 800px) {
    #content > h2 {
        display: block;
    }

    #content {
        padding-top: 0;
        padding-bottom: 80px;
    }

    .shop-item img {
        width: 80vw;
        height: unset;
    }

    .shop {
        gap: 40px;
    }

    .shop-item-container:nth-child(odd), .shop-item-container:nth-child(even) {
        align-items: center;
    }

}
