* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.main-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem; 
}

.product-card {
    background-color: #f5f5f7;
    border-radius: 1.0rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image {
    display: flex;
    width: 100%;
    height: auto;
    margin-bottom: 2.5rem;
}

.bumber-blue {
    margin-top: 6rem;
}

.grid-col-span-2 {
    grid-column: span 2;
}

.link-ref {
    text-decoration: none;
    color: #0066cc;
    font-weight: 500;
    margin-top: 1rem;
    display: inline-block;
}

.link-ref:hover {
    text-decoration: underline;
}

.paragraph-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}


.para-graph,
.price {
    text-decoration: none;
    color: black;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.text-container{
    height: fit-content;
}

.price {
    bottom: 1.5rem;
}

.para-graph {
    bottom: 4rem;
}

.para-graph:hover {
    text-decoration: underline;
    color: #0066cc;
}

.color-gallery {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
    padding: 0;
    list-style: none;
}

.pin-colorimage{
    display: inline-block;
    border-radius: 50%;
    cursor: pointer;
    list-style: none;
}
.more-text{
    display: inline-block;
    cursor: pointer;
    list-style: none;
}

.ball-image{
    display: inline-block;  
    border-radius: 50%;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    
    .grid-col-span-2 {
        grid-column: span 1;
    }
    
    .para-graph,
    .price {
        font-size: 0.85rem;
    }

    .pin-colorimage{
        width: auto;
        height: auto;
    }


}

@media (max-width: 425px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        padding: 1rem;
    }

    .para-graph,
    .price {
        font-size: 0.8rem;
    }
    
    .product-image {
        margin-bottom: 1.5rem;
    }
    .color-gallery {
        gap: 0.3rem;
    }
}

