.main-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    margin-top: 2rem;
    align-items: center;
    justify-content: center;
}
option:disabled {
    color: #ccc;
}

.img-view {
    display: flex;
    flex-direction: row;
    height: 50vh;
    gap: 1rem;
}

.img-slider {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.img-thumbnail {
    width: 100%;
    max-height: 20%;
    object-fit: contain;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: 0.2s;
}

.img-thumbnail:hover {
    transform: scale(1.2);
}

.selected {
    border: 1px solid #000;
}

.main-img {
    height: 100%;
    object-fit: contain;
/*    border: #000 solid 1px;*/
}

.row {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.col {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.addToCart {
    background-color: #14274c;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: "Space Grotesk", serif;
    font-size: 1rem;
    transition: 0.3s;
}

.addToCart:hover:not(.atcDisabled) {
    background-color: #315395;
}

.atcDisabled {
    background-color: #ccc;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    cursor: not-allowed;
}

select {
    border: 2px solid black;
    border-radius: 3px;
    font-family: "Space Grotesk", serif;
    font-size: 1rem;
}

details {
    width: 50%
}

@media (max-width: 768px) {
    .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .main-content {
        width: 100%;
        justify-self: center;
        margin-top: 0rem;
    }
    
    .img-slider {
        display: none;
    }
    
    .main-img {
        width: 80%;
    }
    
    .img-view {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .col {
        display: flex;
        align-self: center;
        width: 95vw;
        align-items: center;
        text-align: center;
    }
    
    select {
        width: 70%;
    }
    
    details {
        width: 95%;
    }
}