/* Product Page Styles */
.product-body {
    background: white;
    margin-top: 87px; /* Height of the fixed navbar */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Product Details Section */
.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 2rem 0;
    align-items: start;
}

.product-images {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    width: 100%;
    border-radius: 12px;
}

.thumbnail-container {
    display: flex;
    gap: 20px;
}

.thumbnail {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
}

.product-info {
    width: 100%;
}

.product-title {
    font-family: 'Italiana', serif;
    font-size: 2.8rem;
    color: var(--deep-slate-gray);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-price {
    font-size: 1.75rem;
    color: var(--deep-slate-gray);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

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

/* Accordion Styles */
.accordion-container {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.accordion {
    margin-bottom: 0;
    border: none;
    border-radius: 0;
}

.accordion:not(:last-child) {
    border-bottom: 2px solid #e0e0e0;
}

.accordion-header {
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-header h3 {
    font-size: 1rem;
    color: var(--deep-slate-gray);
    margin: 0;
    font-weight: 500;
}

.accordion-header .icon {
    color: var(--deep-slate-gray);
    font-size: 1.2rem;
    font-weight: 300;
}

.accordion-content {
    padding: 0 1.5rem 1.25rem;
    display: none;
    color: #666;
    line-height: 1.6;
}

.accordion-content.active {
    display: block;
}

.accordion-content p {
    margin-bottom: 1rem;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

/* Reviews Section Styles */
.reviews-section {
    padding: 2rem;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.reviews-nav {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.p-nav-links {
    display: flex;
    gap: 2rem;
}

.p-nav-links a {
    color: var(--deep-slate-gray);
    text-decoration: none;
    font-size: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid transparent;
    position: relative;
}

.p-nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #D4A373;
}

.write-review-btn {
    position: absolute;
    right: 2rem;
    background: white;
    border: 1px solid #000000;
    color: #000000;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.write-review-btn:hover {
    background: #D4A373;
    color: white;
}

.reviews-content h2 {
    font-family: 'Italiana', serif;
    font-size: 1.5rem;
    color: var(--deep-slate-gray);
    margin-bottom: 2rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.264);
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: #36454F;
    background: #E5E5E5;
    margin-right: 12px;
}

.avatar-gradient-1 {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
}

.avatar-gradient-2 {
    background: linear-gradient(135deg, #4ECDC4, #6EE7DE);
}

.avatar-gradient-3 {
    background: linear-gradient(135deg, #FFD93D, #FFE566);
}

.avatar-gradient-4 {
    background: linear-gradient(135deg, #95E1D3, #AFEADD);
}

.avatar-gradient-5 {
    background: linear-gradient(135deg, #E3C1B6, #F2D1C9);
}

.reviewer-details h3 {
    font-size: 1rem;
    color: var(--deep-slate-gray);
    margin: 0;
    margin-bottom: 4px;
}

.rating {
    color: #FFB800;
    font-size: 0.875rem;
}

.review-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.review-date {
    color: #999;
    font-size: 0.75rem;
    margin: 0;
}

/* Benefits and Usage Lists */
.benefits-list,
.usage-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li,
.usage-list li {
    margin-bottom: 12px;
    color: #666;
    line-height: 1.6;
}

.benefits-list li:last-child,
.usage-list li:last-child {
    margin-bottom: 0;
}

.benefits-list strong,
.usage-list strong {
    color: var(--deep-slate-gray);
    margin-right: 4px;
}

/* FAQ Styles */
.faq-content {
    display: none;
}

.faq-content.active {
    display: block;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 1rem;
}

.faq-question {
    font-weight: 500;
    color: var(--deep-slate-gray);
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: #666;
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .product-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .thumbnail-container {
        gap: 0.75rem;
    }

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

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .write-review-btn {
        position: static;
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .product-container {
        padding: 0 1rem;
    }

    .thumbnail-container {
        gap: 0.5rem;
    }

    .thumbnail {
        border-radius: 6px;
    }

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

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

    .accordion-header {
        padding: 1rem 1.25rem;
    }

    .accordion-content {
        padding: 0 1.25rem 1rem;
    }
} 