html, body {
    margin: 0;
    padding: 0;
    font-family: gira-sans, sans-serif;
    overflow-x: hidden;
    background-color: #f6f9fc;
    height: fit-content;
    padding-bottom: 50px;
}

.product {
    width: 100%;
    margin-top: 250px;
    display: flex;
    flex-direction: row;
    column-gap: 2%;
    align-items: center;
    justify-content: center;
}

.details {
    width: 35%;
}

.product-title {
    font-size: 45px;
    margin: 0;
    font-weight: 400
}

.product-price {
    font-size: 26px;
    margin-top: 12px;
}

.type-buttons {
    display: flex;
    flex-direction: row;
    row-gap: 10px;
    margin-top: 50px;
    column-gap: 10px;
}

.type-button {
    width: 100px;
    border: none;
    background-color: transparent;
    font-size: 14px;
    padding: 10px 0;
    color: black;
    border-radius: 10px;
    border: 1px solid black;
}

.type-button:hover {
    cursor: pointer;
    opacity: 0.7;
    transition-duration: 0.3s;
    background-color: #cacaca68;
}

.type-button.selected {
    opacity: 0.7;
    border: 2px solid black;
    background-color: #cacaca68;
}

.input-container {
    margin-top: 50px;
}

.input-label {
    font-size: 12px;
    margin-bottom: 5px;
    font-weight: 400;
}

input.quantity {
    box-sizing: border-box;
    padding: 0.75em 1.25em;
    width: 90px;
    height: 40px;
    border: 2px solid #e6e6e6;
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0px;
    text-transform: none;
    line-height: 1em;
    color: #1d1d1d;
    border-radius: 25px;
}

.buy-container {
    margin-top: 50px;
}

.buy-button {
    border: none;
    background-color: #4215cc;
    border-radius: 25px;
    padding: 15px 50px;
    color: white;
    font-size: 16px;
    box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
}

.buy-button:hover {
    cursor: pointer;
    opacity: 0.7;
    transition-duration: 0.3s;
}

.shots {
    position: relative;
    width: 45%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    background: hsla(0, 0%, 100%, 1);
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 1) 0%, hsla(249, 100%, 96%, 1) 100%);
    background: -moz-linear-gradient(180deg, hsla(0, 0%, 100%, 1) 0%, hsla(249, 100%, 96%, 1) 100%);
    
}

.product-pic {
    max-width: 100%;
    max-height: 500px;
}

.product-pic--alt {
    width: 344px;
    height: 370px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: black;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    user-select: none;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.arrow:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

:focus-visible {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}

/* Media queries */
@media only screen and (max-width: 1220px) {
    .details {
        width: 50%;
    }
}

@media only screen and (max-width: 1090px) {
    .product-pic--alt {
        width: 300px;
        height: 320px;
    }
}

@media only screen and (max-width: 900px) {
    .product {
        flex-direction: column-reverse;
        row-gap: 25px;
    }

    .shots {
        width: 80%;
    }

    .details {
        width: 80%;
    }
}

@media only screen and (max-width: 550px) {
    .shots {
        background: none;
        row-gap: 0;
        height: fit-content;
    }

    .product-pic {
        max-width: 80%;
        max-height: none;
        height: auto;
    }

    .product-pic--alt {
        width: 200px;
        height: 220px;
    }

    .arrow {
        font-size: 16px;
    }

    .left-arrow {
        left: 0;
    }

    .right-arrow {
        right: 0;
    }
}

@media only screen and (max-width: 370px) {
    .product-pic--alt {
        width: 170px;
        height: 190px;
    }
    
    .arrow {
        font-size: 14px;
    }
}

@media only screen and (max-width: 345px) {
    .product-title {
        font-size: 35px;
    }

    .product-price {
        font-size: 20px;
    }
}

@media only screen and (max-width: 310px) {
    .arrow {
        font-size: 12px;
    }

    .left-arrow {
        left: -10px;
    }

    .right-arrow {
        right: -10px;
    }
}