/* Product Page Specific Styles */

:root {
    --product-bg: #f9fdfa;
    --text-color: #333;
    --accent-color: #2c5e2e;
    --light-accent: #e8f5e9;
}

body {
    background-color: var(--product-bg);
}

/* Hero Section */
.product-hero {
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
}

.product-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    perspective: 1000px;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: rotateY(-10deg);
    transition: transform 0.5s ease;
}

.product-image:hover img {
    transform: rotateY(0deg);
}

.product-info {
    flex: 1;
    max-width: 500px;
}

.product-tag {
    display: inline-block;
    background-color: var(--light-accent);
    color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 15px;
    line-height: 1.1;
    color: #1a3c1b;
}

.product-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    font-style: italic;
    line-height: 1.6;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
}

.stars {
    color: #ffc107;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 40px;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(44, 94, 46, 0.3);
}

.cta-button:hover {
    background-color: #1a3c1b;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(44, 94, 46, 0.4);
}

/* Features Grid */
.features-section {
    background-color: #fff;
    padding: 80px 20px;
}

.section-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1a3c1b;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: #f9fdfa;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.feature-title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Visual Preview */
.preview-section {
    padding: 80px 20px;
    background-color: var(--light-accent);
    text-align: center;
}

/* Amazon-style Carousel */
.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.carousel-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.carousel-item {
    flex: 0 0 auto;
    width: 200px;
    /* Adjust based on preference */
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-item:hover {
    transform: scale(1.05);
}

/* Updated Preview Section for Carousel */
.preview-section {
    padding: 60px 20px;
    background-color: var(--light-accent);
    text-align: center;
    overflow: hidden;
    /* Prevent horizontal scroll on body */
}

.preview-grid {
    /* Deprecated in favor of carousel, but kept for fallback or desktop grid if desired */
    display: none;
}

/* Emotional Narrative */
.narrative-section {
    padding: 100px 20px;
    background: url('../img/texture-bg.png') repeat;
    /* Placeholder for texture */
}

.narrative-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* FAQ */
.faq-section {
    padding: 80px 20px;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.faq-question {
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.faq-answer {
    margin-top: 15px;
    color: #666;
    display: none;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    color: var(--accent-color);
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    text-align: center;
}

@media (max-width: 768px) {
    .product-hero {
        flex-direction: column;
        padding-top: 40px;
        text-align: center;
    }

    .product-title {
        font-size: 2.5rem;
    }

    .price-container {
        justify-content: center;
    }

    .sticky-mobile-cta {
        display: block;
    }

    /* Adjust bottom padding to account for sticky CTA + Cookie Banner */
    footer {
        padding-bottom: 100px;
    }
}