/* Shop Listings page*/
#shop-divider {
    margin: 0;
}

/* Describes the kind of listings (pointer signs, custom signs, etc) */
.listing-section-title {
    text-align: center;
    font-weight: bold;
    padding-block: 1rem;
}

/* Holds all listings */
.listings {
    display: flex;
    max-width: 1500px;
    min-width: 300px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto;
}

/* The listing itself (holds title and image) */
.custom-listing {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    outline: 1px solid var(--brand-black);
    padding: .5rem;
    height: 275px;
    width: 275px;
    transition: outline 500ms;

}

.listing-title {
    color: var(--brand-black);
    font-weight: 500;
    font-size: .85rem;
    padding-inline: .5rem;
    margin: auto 0;
    text-align: center;
    justify-self: end;
}

.custom-listing:hover {
    outline: 6px solid var(--brand-black);
    cursor: pointer;
}

.custom-listing:hover .listing-title {

}

.custom-listing-image {
    background-color: #fff;
    object-fit: cover;
    margin-top: auto;
    height: 11rem;
    width: 11rem;
    border: 1px solid var(--brand-black);
}

.add-to-cart-effect-container {
    position: relative;
}

.atc-effect {
    position: absolute;
    right: 0;
    bottom: 1rem;
    animation-name: fade-up;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    color: white;
    background-color: black;
    padding: .5rem;

}

@keyframes fade-up {
    100% {
        opacity: 0;
        transform: translateY(-300%) translateX(100%);
        display: none;
    }
}

.error-message{
    display: none;
    position: sticky;
    top: 3.25rem;
}
