/* Product Page Styles */
.page-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 40px;
    text-align: center;
    margin-top: -20px;
}

.page-title h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.page-title p {
    font-size: 1.1rem;
    color: #e9ecef;
    margin: 0;
}

/* Product Showcase */
.product-showcase {
    padding: 80px 0;
    background-color: #fff;
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-images {
    position: sticky;
    top: 100px;
}

.main-image {
    margin-bottom: 20px;
    text-align: center;
}

.main-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.thumbnail-images {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

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

.product-info {
    padding: 20px;
}

.product-header h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-text {
    color: #666;
    font-size: 0.9rem;
}

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

.current-price {
    font-size: 2rem;
    color: #e74c3c;
    font-weight: bold;
}

.original-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.discount {
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.product-description p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.product-features h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.product-features li {
    color: #666;
    margin-bottom: 8px;
    font-size: 1rem;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-buy {
    background: #e74c3c;
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
}

.btn-buy:hover {
    background: #c0392b;
}

.btn-cart {
    background: #f39c12;
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-cart:hover {
    background: #e67e22;
}

.btn-consult {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-consult:hover {
    background: #007bff;
    color: white;
}

.product-guarantee {
    display: flex;
    gap: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

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

.guarantee-item img {
    width: 24px;
    height: 24px;
}

.guarantee-item span {
    color: #666;
    font-size: 0.9rem;
}

/* Product Details */
.product-details {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.details-tabs {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tab-buttons {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.active,
.tab-btn:hover {
    color: #007bff;
    border-bottom-color: #007bff;
    background: white;
}

.tab-content {
    padding: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.tab-pane h4 {
    color: #007bff;
    margin: 25px 0 15px;
    font-size: 1.2rem;
}

.tab-pane ul {
    color: #666;
    line-height: 1.8;
}

.tab-pane li {
    margin-bottom: 8px;
}

/* Ingredients Grid */
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.ingredient-item {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.ingredient-item h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.ingredient-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.full-ingredients {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

/* Usage Steps */
.usage-steps {
    margin-bottom: 30px;
}

.usage-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.usage-tips {
    padding: 25px;
    background: #e8f4fd;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.usage-tips ul {
    margin: 0;
    padding-left: 20px;
}

/* Effects Grid */
.effects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.effect-item {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.effect-item:hover {
    transform: translateY(-5px);
}

.effect-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.effect-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.effect-item h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.effect-item p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.clinical-results {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.result-item {
    text-align: center;
}

.result-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
}

.result-desc {
    color: #666;
    font-size: 0.9rem;
}

/* Certifications */
.certifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.cert-item {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #dee2e6;
}

.cert-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.cert-item h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cert-item p {
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

.safety-notice {
    padding: 25px;
    background: #fff3cd;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
}

.safety-notice ul {
    margin: 0;
    padding-left: 20px;
}

/* Customer Reviews */
.customer-reviews {
    padding: 80px 0;
    background-color: #fff;
}

.customer-reviews h2 {
    text-align: center;
    color: #333;
    margin-bottom: 50px;
    font-size: 2rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-details h4 {
    color: #333;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.review-rating {
    color: #ffc107;
    font-size: 1rem;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

.review-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-images {
        position: static;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-guarantee {
        flex-direction: column;
        gap: 15px;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        border-bottom: none;
        border-right: 3px solid transparent;
    }
    
    .tab-btn.active,
    .tab-btn:hover {
        border-right-color: #007bff;
        border-bottom-color: transparent;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .ingredients-grid,
    .effects-grid,
    .certifications {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-title h1 {
        font-size: 2rem;
    }
    
    .product-showcase,
    .product-details,
    .customer-reviews {
        padding: 60px 0;
    }
    
    .product-header h2 {
        font-size: 1.6rem;
    }
    
    .current-price {
        font-size: 1.6rem;
    }
    
    .thumbnail-images {
        gap: 10px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .review-item {
        padding: 20px;
    }
}