/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #14334C;
    background-color: #E1E9EF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Sección principal del producto */
.product-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
}

/* Galería de imágenes */
.product-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    width: 100%;
    height: 400px;
    background: #D9D9D9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.nav-btn {
    background: none;
    border: 2px solid #D9D9D9;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #14334C;
}

.nav-btn:hover {
    border-color: #024678;
    color: #024678;
}

.thumbnails {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 60px;
    height: 60px;
    background: #D9D9D9;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #024678;
    transform: scale(1.05);
}

/* Información del producto */
.product-info {
    padding-left: 20px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.header-resena {
    display: flex;
    gap: 10px;
    align-items: center;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #F3F8FC;
    font-size: 18px;
}

.star.filled {
    color: #DE411E;
}

.rating-count {
    color: #D9D9D9;
    font-size: 14px;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #DE411E;
    margin-bottom: 25px;
}

.description {
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 30px;
}

.purchase-section {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
}

.quantity-input {
    width: 80px;
    padding: 12px;
    border: 2px solid #D9D9D9;
    border-radius: 6px;
    text-align: center;
    font-size: 16px;
    color: #2c3e50;
}

.add-to-cart-btn {
    flex: 1;
    background: #1976d2;
    color: #FFFFFF;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #1976d2;
    color: #ffffff;
    transform: translateY(-1px);
}

.wishlist-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #2c3e50;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 25px;
    transition: color 0.3s ease;
}

.wishlist-btn:hover {
    color: #DE411E;
}

.product-meta {
    border-top: 1px solid #EEF8FF;
    padding-top: 25px;
}

.meta-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.meta-label {
    font-weight: 600;
    color: #14334C;
}

.meta-value {
    color: #2c3e50;
}

/* Sección de pestañas */
.tabs-section {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
}

.tabs {
    display: flex;
    gap: 30px;
    border-bottom: 2px solid #EEF8FF;
    margin-bottom: 30px;
}

.tab {
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 16px;
    cursor: pointer;
    color: #2c3e50;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab {
    color: #DE411E;
    border-bottom-color: #DE411E;
    font-weight: 600;
}

.tab-content {
    line-height: 1.8;
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-section {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .product-info {
        padding-left: 0;
        padding-top: 20px;
    }

    .purchase-section {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity-input {
        width: 100%;
    }

    .container {
        padding: 10px;
    }

    .tabs {
        gap: 15px;
    }

    .tab {
        font-size: 14px;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .price {
        font-size: 1.5rem;
    }
}