.error {
    color: red;
}

.contents {
    margin-top: 10rem;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    flex-direction: column;
}

@media screen and (max-width: 991px) {
    .contents {
        margin-top: 0;
    }

}

.product-container {
    width: 100%;
    /* height: 100vh; */
}

@media (max-width: 991px) {
    .product-container {
        height: auto;
    }
}


.product-layout {
    gap: 20px;
    display: flex;
    justify-content: space-between;
}

.product-layout-spacer {
    width: 5rem;
}

.product-images-column {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 40%;
    margin-left: 0;
}

.main-image-wrapper {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.product-main-image {
    aspect-ratio: 0.69;
    object-fit: contain;
    object-position: center;
    width: 75%;
}

.thumbnail-container {
    display: flex;
    margin-top: 24px;
    gap: 20px;
    justify-content: center;
}

.product-thumbnail {
    aspect-ratio: 0.95;
    object-fit: contain;
    object-position: center;
    width: 96px;
    cursor: pointer;
    border: 1px solid rgb(0, 0, 0);
}

.product-info-column {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 64%;
    margin-left: 20px;
}

.product-details {
    display: flex;
    margin-top: 2rem;
    width: 100%;
    flex-direction: column;
    align-items: start;
    font-family: Inter, sans-serif;
    color: rgba(0, 0, 0, 1);
    font-weight: 400;
}

.size-selector {
    /* display: flex; */
    /* margin-top: 29px; */
    /* width: 230px; */
    max-width: 100%;
    gap: 4px;
    /* white-space: nowrap; */
    font: 500 10px Beatrice Deck Trial, -apple-system, Roboto, Helvetica, sans-serif;
}

.size-option {
    text-align: center;
    padding: 14px;
    border: 0px solid rgba(163, 163, 163, 1);
    /* background-color: #03a4ed; */
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
}


.size-option:hover {
    background-color: #FF695F;
}

.size-option.active {
    background-color: #FF695F;
}

.varient-option {
    text-align: center;
    padding: 14px;
    border: 0px solid rgba(163, 163, 163, 1);
    /* background-color: #03a4ed; */
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
}

.varient-option:hover {
    background-color: #FF695F;
}

.varient-option.active {
    background-color: #FF695F;
}

.order-button {
    background-color: rgba(255, 105, 95, 1);
    margin-top: 1rem;
    font-size: 20px;
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
    padding: 16px 39px;
    border: none;
    cursor: pointer;
}

.order-button:hover {
    background-color: #03a4ed;
}

@media (max-width: 991px) {
    .product-container {
        max-width: 100%;
    }

    .product-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .product-images-column {
        width: 100%;
    }

    .main-image-wrapper {
        margin-top: 40px;
    }

    .product-info-column {
        width: 100%;
    }

    .size-selector {
        white-space: initial;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


.checkout-container {
    width: 100%;
    margin-top: 3rem;
    border-top: 1px solid rgba(223, 223, 223, 1);
    padding-top: 1rem;
}

/* ---------------------------------------------------------- */


.order-container {
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    width: 100%;
    flex-direction: column;
    align-self: stretch;
    font-family: Beatrice Deck Trial, -apple-system, Roboto, Helvetica, sans-serif;
    margin: auto;
    padding: 56px 37px;
    border: 1px solid rgba(223, 223, 223, 1);
}


.product-image-order {
    aspect-ratio: 0.85;
    object-fit: contain;
    object-position: center;
    width: 114px;
}