.container-details {
    max-width: 1200px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

@media(min-width: 768px) {
    .container-details {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 40px;
    }
}

/* Galería de imágenes */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image-container {
    width: 100%;
    position: relative;
}

.main-image {
    width: 100%;
    height: 300px;
    object-fit: fill;
    border-radius: 8px;
}

@media(min-width: 768px) {
    .main-image {
        height: 400px;
    }
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.thumbnail:hover,
.active-thumbnail {
    border-color: #0071dc;
}

/* Información del producto */
.product-details {
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}


.product-price {
    font-size: 26px;
    color: #026900;
    margin-bottom: 20px;
    font-weight: bold;
}

.product-price span {
    margin-left: 10px;
    color: #777;
    font-size: 18px;
}

.product-price del {
    color: #a00;
    text-decoration: line-through;
}

.product-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.product-features {
    margin-bottom: 20px;
}

.product-features li {
    font-size: 14px;
    margin-bottom: 8px;
    color: #444;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.buton {
    display: flex;
    gap: 10px;
}

.btn {
    background-color: #6c63ff; 
    color: white;
    border: none;
    padding: 10px;
    font-size: 18px;
    border-radius: 8px; 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    width: 45px; 
    height: 45px;
    margin-bottom: 10px;
}

.btn:hover {
    background-color: #7d8ff7; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); 
}


.btn ion-icon {
    font-size: 24px;
}

.share-btn {
    background-color: #ff6584; 
}

.share-btn:hover {
    background-color: #ff7f9b; 
}

.share-btn:active {
    background-color: #e65571; 
}

.ahorro {
    font-size: 14px;
    width: 200px;
    background-color: #eb0634; 
    cursor: default;
}

.ahorro:hover{
    background-color: #eb0634;
}


/* option share */

.share-options {
    display: none;
    gap: 10px;
    margin-top: 10px;
}

.share-link {
    background-color: #f0f0f0;
    color: #333;
    padding: 10px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}



.whatsapp {
    color: #25D366;
    /* Color WhatsApp */
}
.whatsapp:hover {
    background-color: #026900;
}
.facebook {
    color: #1877F2;
   
}
.facebook:hover {
    background-color: #D0E1FF; 
}

.copy {
    color: black;
    
}
.copy:hover {
    background-color: #D0D0D0; 

}