/* Product Page Specific Styles */

/* Breadcrumb */
.breadcrumb {
    background: var(--background-light);
    padding: 1rem 0;
    margin-top: 70px;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 500;
}

/* Product Hero */
.product-hero {
    padding: 3rem 0;
    background: var(--white);
}

.product-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    margin-bottom: 1rem;
}

.product-placeholder.large {
    width: 100%;
    height: 400px;
    background: var(--background-light);
    border: 2px dashed var(--text-light);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.product-placeholder.large i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.thumbnail-gallery {
    display: flex;
    gap: 0.5rem;
}

.thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail:hover {
    border-color: var(--secondary-color);
}

.product-placeholder.small {
    width: 80px;
    height: 80px;
    background: var(--background-light);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.product-placeholder.small i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Product Info */
.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stars {
    color: var(--accent-color);
}

.rating-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

.product-price {
    margin-bottom: 1.5rem;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-description {
    margin-bottom: 2rem;
}

.product-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Product Options */
.product-options {
    margin-bottom: 2rem;
}

.quantity-selector {
    margin-bottom: 1.5rem;
}

.quantity-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: var(--white);
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.qty-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.bulk-pricing {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.bulk-pricing h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.bulk-pricing ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bulk-pricing li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.add-to-cart-large {
    flex: 2;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.wishlist-btn {
    flex: 1;
    padding: 1rem;
}

/* Product Features */
.product-features {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Product Details Tabs */
.product-details {
    padding: 4rem 0;
    background: var(--background-light);
}

.details-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-btn:hover {
    color: var(--text-dark);
}

.tab-panel {
    display: none;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.tab-panel.active {
    display: block;
}

.tab-panel h3 {
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 1.8rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.benefit-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.benefit-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Sample Cards */
.sample-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.sample-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.sample-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-content h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.card-level {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
}

.card-stats .stat {
    text-align: center;
}

.card-stats .stat strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.card-stats .stat span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Reviews */
.reviews-summary {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    text-align: center;
}

.rating-overview .rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 1rem;
}

.rating-overview .stars {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.total-reviews {
    color: var(--text-light);
    font-size: 0.9rem;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review {
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.reviewer-info strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.reviewer-title {
    color: var(--text-light);
    font-size: 0.9rem;
}

.review-rating {
    color: var(--accent-color);
}

.review p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: var(--background-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question h4 {
    margin: 0;
    color: var(--text-dark);
}

.faq-question i {
    color: var(--text-light);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Related Products */
.related-products {
    padding: 4rem 0;
    background: var(--white);
}

.related-products h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery {
        position: static;
    }
    
    .product-info h1 {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .sample-cards {
        grid-template-columns: 1fr;
    }
    
    .card-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .product-hero {
        padding: 2rem 0;
    }
    
    .tab-panel {
        padding: 1rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .sample-card {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem;
    }
}