.product-grid-container {
    padding: 5%;
}

.product-grid-container h1 {
    padding-bottom: 0.5em;
}


.main-grid {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1em;
    font-size: 15px;
    position: relative;
    min-height: 150px;
}

.main-grid .product-item {
    padding: 1.5em;
    width: 100%;
    border-radius: 5px;
    box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.1);
    gap: 1em;
    display: flex;
    flex-direction: column;
}

.main-grid .product-item .product-img {
    aspect-ratio: 14/16;
    position: relative;
}

.main-grid .product-item .product-img img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main-grid .product-item .product-meta {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
}

.main-grid .product-item .product-meta .product-pricing {
    color: rgb(64, 116, 64);
    font-size: 145%;
    line-height: 1.1;
}

.main-grid .product-item .collections {
    display: flex;
    flex-wrap: wrap;
}

.main-grid .product-item .collections span {
    border-radius: 50px;
    font-size: 65%;
    margin: 0px 0.4em 0.4em 0px;
    padding: 0.25em 1em;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(0, 0, 0, 0.03);
}


.main-grid .product-item .product-content {
    padding: 1em 0px 0px 0px;
}

.main-grid .product-item .product-content h4 {
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.75;
    margin: 0px;
    font-size: 80%;
}

.main-grid .product-item .product-content h3 {
    margin: 0.2em 0px 0.6em 0px;
}

.main-grid .product-item .product-content p {
    margin: 0px 0px 5px 0px;
}


/* Form Styling */

.form .form-row {
    display: flex;
    gap: 1em;
    padding-bottom: 1em;
}

.form .form-row .form-input {
    flex-grow: 1;
}

.form .form-row .form-input label {
    display: block;
    width: 100%;
}

.form input {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .1);
    background: #fff;
    padding: 0px 1em;
    height: 3em;
    transition: border .3s ease-out;
}

/* Club Styling */

#clubGrid {
    grid-template-columns: 1fr 1fr;
}

#clubGrid .product-item .product-img {
    aspect-ratio: 10/8;
    background: #f1f1f1;
    position: relative;
    flex: 0 0 40%;
    width: 40%;
    order: 2;
}

#clubGrid .product-item .product-content {
    flex: 0 0 calc(60% -1em);
    width: calc(60% - 1em)
}

#clubGrid .product-item {
    display: flex;
    flex-direction: row;
}

.product-content strong {
    display: block;
}



/* Reservation Type Grid */

#typeGrid {
    grid-template-columns: 1fr 1fr;
}

#typeGrid .product-img {
    aspect-ratio: 16/9;
}

#typeGrid .product-content>div {
    padding: 5px 15px;
}

#typeGrid .product-content div:nth-child(odd) {
    background: #f4f4f4;
}


.reservation-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 2em;
}

.reservation-form .field-wide {
    grid-column: span 2;
}

input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"] {
    border: 1px solid rgba(0, 0, 0, .1);
    background: #fff;
    padding: 0px 1em;
    height: 3em;
    width: 100%;
    transition: border .3s ease-out;
}


/* //Loading Spinner */
.spinner {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 8%;
    margin: auto;
    z-index: 3;
    width: 75px;
}

.lds-ellipsis {
    /* change color here */
    color: #1c4c5b;
}

.lds-ellipsis,
.lds-ellipsis div {
    box-sizing: border-box;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ellipsis div {
    position: absolute;
    top: 33.33333px;
    width: 13.33333px;
    height: 13.33333px;
    border-radius: 50%;
    background: currentColor;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}





/* Account Styling */

#c7-account {
    display: flex;
    justify-content: flex-end;
    padding: 5%;
}