/* --- Main Product Section --- */
.product-page-section {
    padding: 4rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

/* Image Gallery */
.product-image-gallery {
    position: sticky;
    top: 120px;
}

.main-product-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform .3s;
}

.main-product-image:hover {
    transform: scale(1.02);
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.thumbnail-image {
    width: 100%;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity .3s, border-color .3s;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.thumbnail-image:hover,
.thumbnail-image.active {
    opacity: 1;
    border-color: var(--primary-color);
}

/* Product Details */
.product-details-content {
    text-align: left;
}

.product-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.product-price {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.product-price .price-qualifier {
    font-size: 1rem;
    font-weight: 400;
    margin-left: .5rem;
    color: var(--muted-text-color);
}

.product-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--muted-text-color);
}

.product-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.product-features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
}

.product-features-list .fa-check {
    color: var(--success-color);
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 4px;
}

.product-cta-area {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.product-cta-button {
    padding: 18px 40px;
    font-size: 1.2rem;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.delivery-note {
    margin-top: 1rem;
    font-size: .9rem;
    color: var(--muted-text-color);
    text-align: center;
}

/* --- Info Section --- */
.info-section {
    padding: 5rem 0;
    background-color: var(--card-bg-color);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.info-image img {
    width: 100%;
}

.info-text h2 {
    text-align: left;
}

.info-text .checklist li {
    font-weight: normal;
}

.info-text .checklist .fa-star,
.info-text .checklist .fa-thumbs-up,
.info-text .checklist .fa-film {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 1rem;
}

/* --- Occasions Section --- */
.occasions-section {
    padding: 5rem 0;
}

.occasions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.occasion-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    color: #fff;
    box-shadow: var(--shadow);
}

.occasion-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.occasion-card:hover img {
    transform: scale(1.1);
}

.occasion-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    margin: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    font-size: 1.25rem;
}

/* --- FAQ Section --- */
.faq-section {
    padding: 5rem 0;
    background-color: var(--card-bg-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 1.5rem 0;
    font-family: var(--heading-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '\f078'; /* Font Awesome down arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform .3s;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s ease-out, padding .5s ease-out;
}

.faq-answer p {
    padding: 0 0 1.5rem;
    margin: 0;
    color: var(--muted-text-color);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust if answers are longer */
}


/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .product-grid, .info-grid {
        grid-template-columns: 1fr;
    }
    .product-image-gallery {
        position: static;
    }
    .info-grid {
        gap: 2rem;
    }
    .info-image {
        order: 1;
    }
    .info-text {
        order: 2;
    }
    .occasions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 2.2rem;
    }
    .product-price {
        font-size: 2rem;
    }
    .occasions-grid {
        grid-template-columns: 1fr;
    }
    .product-thumbnails {
        gap: .5rem;
    }
}
