/* Product Detail Page Styles */

/* Product Detail Section */
.product-detail-section {
    padding: 4rem 0;
    background: #fff;
    min-height: 80vh;
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Product Display Area */
.product-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

/* Product Image Container */
.product-image-container {
    position: relative;
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
}

.favorite-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    background: #ff6b6b;
    transform: scale(1.1);
}

.favorite-btn.active {
    background: #ff6b6b;
}

.heart-icon {
    font-size: 1.2rem;
    color: #333;
    transition: color 0.3s ease;
}

.favorite-btn:hover .heart-icon,
.favorite-btn.active .heart-icon {
    color: #fff;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Product Information Container */
.product-info-container {
    padding: 2rem 0;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-tag {
    display: inline-block;
    background: #e8f5e8;
    color: #2d5a2d;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 1rem;
}

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

/* Product Options */
.product-options {
    margin-bottom: 2rem;
}

.option-group {
    margin-bottom: 1.5rem;
}

.option-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.option-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.option-select:focus {
    outline: none;
    border-color: #00b4d8;
}

.option-select:hover {
    border-color: #ccc;
}


/* FAQ Accordion */
.faq-accordion {
    margin-top: 2rem;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-header:hover {
    background: #e9ecef;
}

.faq-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.faq-arrow {
    font-size: 1.2rem;
    color: #666;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-content {
    padding: 1.5rem;
    max-height: 200px;
}

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

/* Reviews Section */
.reviews-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.reviews-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}

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

/* Review Card */
.review-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.review-rating {
    margin-bottom: 1rem;
}

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

.review-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
}

.review-body {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .product-display {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .product-price {
        font-size: 2.5rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .product-detail-container {
        padding: 0 1rem;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .product-price {
        font-size: 2rem;
    }
    
    .product-info-container {
        padding: 1rem 0;
    }
    
    .faq-header {
        padding: 0.8rem 1rem;
    }
    
    .faq-content {
        padding: 0 1rem;
    }
    
    .faq-item.active .faq-content {
        padding: 1rem;
    }
}
