:root {
    --color-bubble: #f2f2f2;
}

body {
    padding: 0;
    margin: 0;
    /* overflow: hidden; */
    font-family: sans-serif;
}

img {
    width: 100%;
    display: block;
}

p {
    margin: 0;
}

button {
    background-color: transparent;
    border: none;
    margin: 0;
    padding: 0;
    text-align: inherit;
    font: inherit;
    border-radius: 0;
    appearance: none;
    cursor: pointer;
}

* {
    box-sizing: border-box;
    touch-action: manipulation;
}

@media screen and (min-width: 750px) {
    .mobile {
        display: none;
    }
}

@media screen and (max-width: 749px) {
    .tablet-desktop {
        display: none;
    }
}

.product--container {
    display: grid;
    grid-template-columns: auto 400px;
    height: 100vh;
}

@media screen and (max-width: 749px) {
    .product--container {
        display: block;
    }
}

/* Product media */
.product__media {
    display: grid;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 750px) {
    .product__media .slider-list {
        grid-auto-columns: max(50%, 600px);
    }
}

.product__media img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    max-height: calc(100vh - 72px);
}

/* Product details */
.product__details {
    padding: 16px;
}

.product__details h1 {
    margin: 0;
    padding-bottom: 24px;
    font-size: 24px;
    letter-spacing: -0.4px;
}

.product__details .product-spec {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product__details .product-spec .spec-item p:first-child{
    margin-bottom: 4px;
    color: #424242;
    text-transform: uppercase;
}

/* Bubble */
.bubble {
    margin: 2px;
    padding: 12px;
    background-color: var(--color-bubble);
    border-radius: 8px;
}








