/* Product Page Styles - Heart Matters Design System */

/* Product Hero */
.product-hero {
    background: #fffcf1;
    padding: 0; /* Removed excessive padding to connect with header */
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0; /* Remove margin since header is now sticky */
    position: relative;
    top: 0;
    width: 100vw;
}

/* Product Page Scrolling Quotes Bar - Independent from Homepage */
.product-scrolling-quotes-bar {
    height: 3rem;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    background: #ca0013;
    color: #fffcf1;
    overflow: hidden;
    width: 100vw;
    border-radius: 0;
    margin: 0;
    padding: 0;
    border-bottom: none;
    z-index: 10;
    position: relative;
}

.product-scrolling-quotes-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: product-marquee-scroll 18s linear infinite;
    will-change: transform;
    min-width: 200%;
}

.product-scrolling-quote {
    font-size: 1.6rem;
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    margin: 0 1.2rem;
    white-space: nowrap;
    color: #fffcf1;
    letter-spacing: 2px;
}

@keyframes product-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.product-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem; /* Reduced from 4rem for better balance */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    justify-items: center;
    transform: translateY(-20px); /* Move content up */
}

/* Image on the left, text on the right */
/* Product Image Gallery */
.product-image-gallery {
    order: 1;
    position: relative;
    display: flex;
    gap: 1rem; /* Reduced from 1.5rem for tighter spacing */
    max-width: 900px;
    width: 100%;
}

.thumbnail-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100px;
}

.thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail.active {
    border-color: #ca0013;
    opacity: 1;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-image-container {
    flex: 1;
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    max-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 400px;
    min-height: 300px;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.mobile-indicators {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #ca0013;
    transform: scale(1.2);
}

.product-hero-text {
    order: 2;
    margin-left: 2rem; /* Added to move content further right */
}

.product-hero-text h1 {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    color: #000;
    margin-bottom: 1.5rem; /* Increased from 0.5rem for better spacing */
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    font-weight: 700;
}

.product-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    color: #000000;
    margin-bottom: 1.5rem; /* Increased from 0.75rem for better spacing */
    font-weight: 500;
    line-height: 1.8;
}

.product-price {
    margin-bottom: 1.5rem; /* Reduced from 2rem for better balance */
    margin-top: 0; /* Ensure no extra space above */
}

.price {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    color: #ca0013;
    font-weight: 900;
    display: block;
}

.price-note {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: #000000;
    margin-top: 0.5rem;
    display: block;
}

.btn-large {
    padding: 0.7rem 1.2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-top: 1.5rem; /* Reduced from 2rem for better balance */
}

.btn-large i {
    margin-right: 0.5rem;
}

.product-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

/* Product Details & Story */
.product-details-story {
    padding: 12rem 0 4rem 0; /* Reduced bottom padding for better section separation */
    background: #fffcf1;
}

.details-story-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.product-details h2,
.product-story h2 {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    color: #000;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-story h2 {
    font-family: 'Anton', sans-serif;
    font-size: 2.2rem; /* Match hero section title size */
    color: #000;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-list li {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 0.5rem; /* Increased from 0.15rem for better readability */
    padding-left: 1.5rem;
    position: relative;
    font-weight: 500;
}

.details-list li:before {
    content: "•";
    color: #ca0013;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.product-story p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.product-story .story-cta {
    margin-top: 2rem;
}

.product-story .btn {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    text-decoration: none;
    background: #ca0013;
    color: #fff;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 700;
}

.product-story .btn:hover {
    background: #a00010;
    transform: translateY(-2px);
}

.product-story {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    padding-top: 1rem; /* Increased from 0.5rem */
    padding-bottom: 1rem; /* Increased from 0.5rem */
}

/* You May Also Like Section */
.you-may-also-like {
    padding: 6rem 0 8rem 0; /* Reduced top padding for better section separation */
    background: #fffcf1;
}

.you-may-also-like .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.you-may-also-like .section-header h2 {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.related-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.related-products .product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.related-products .product-card:hover {
    transform: translateY(-4px);
}

.related-products .product-image {
    position: relative;
    width: 100%;
    max-width: 280px;
    height: 280px;
    overflow: hidden;
    background: transparent;
    margin-bottom: 1.5rem;
}

.related-products .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-products .product-card:hover .product-image img {
    transform: scale(1.05);
}

.related-products .product-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    max-width: 280px;
}

.related-products .product-content h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.related-products .product-tagline {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.4;
    max-width: 250px;
}

.related-products .product-content .btn {
    margin-top: 0;
    align-self: center;
    min-width: 120px;
    padding: 0.7rem 1.2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: #fffcf1;
    border-radius: 12px;
    max-width: 340px;
    margin: 0 auto;
}

/* Removed hover animation */

.feature-icon {
    width: 60px;
    height: 60px;
    background: #ca0013;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.feature-item h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.25rem;
    color: #000;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-item p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #000000;
    line-height: 1.6;
}

/* Product Features */
.product-features {
    padding: 5rem 0;
    background: #fffcf1;
}

.product-features h2 {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    color: #000;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-detail {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-detail:hover {
    transform: translateY(-2px);
}

.feature-detail h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.25rem;
    color: #000;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-detail p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #000000;
    line-height: 1.6;
}

/* Emotional Story */
.emotional-story {
    padding: 5rem 0 2rem 0;
    background: #fffcf1;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.story-content h2 {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    color: #000;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.story-cta .btn {
    padding: 0.7rem 1.2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    background: #ca0013;
    color: #fff;
    border: none;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: none;
}

.story-cta .btn:hover, .story-cta .btn:focus {
    background: #ca0013;
    color: #fff;
    box-shadow: 0 4px 16px rgba(202,0,19,0.15);
    outline: none;
}

.story-cta h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.story-cta p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #000000;
    margin-bottom: 1.5rem;
}

/* Course Modules */
.course-modules {
    padding: 5rem 0;
    background: #fff;
}

.course-modules h2 {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    color: #000;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.module-card {
    background: #fffcf1;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #ca0013;
    transition: transform 0.3s ease;
}

.module-card:hover {
    transform: translateY(-2px);
}

.module-number {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    color: #ca0013;
    font-weight: 900;
    margin-bottom: 1rem;
}

.module-card h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.25rem;
    color: #000;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.module-card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #000000;
    line-height: 1.6;
}

/* Testimonial */
.testimonial-section {
    padding: 5rem 0;
    background: #ca0013;
    color: #fffcf1;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.testimonial-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
}

/* Removed quote icon */

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    margin-top: 1.2rem;
}

.author-name {
    font-family: 'Anton', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.author-note {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Final CTA */
.final-cta {
    padding: 5rem 0;
    background: #fffcf1;
    text-align: center;
    margin-bottom: 1.2rem !important;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cta-content h2 {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-content p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    color: #000000;
    margin-bottom: 0;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: -0.5rem;
}

.guarantee {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem !important;
    color: #000000;
    margin-top: 0 !important;
    margin-bottom: 0;
    display: block;
    letter-spacing: 0.01em;
}

.cta-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    color: #000000;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 900px) {
    .product-hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem; /* Increased from 2rem for better mobile spacing */
        text-align: center;
        max-width: 100%;
        padding-top: 2rem; /* Increased padding to push content down */
    }
    .product-hero {
        padding: 6rem 0 0 0; /* Adjusted top padding for fixed header */
    }
    .product-hero-image {
        order: 1;
    }
    .product-hero-text {
        order: 2;
    }
    
    .product-hero-text h1 {
        font-size: 2.5rem;
        margin-bottom: 1.25rem; /* Added proper spacing for tablet */
    }
    
    .product-subtitle {
        font-size: 1.125rem !important;
        font-weight: 500 !important;
        line-height: 1.8 !important;
        margin-bottom: 1.25rem; /* Added proper spacing for tablet */
    }
    
    .price {
        font-size: 2rem;
    }
    
    .details-story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-details h2,
    .product-story h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .description-content h2,
    .story-content h2,
    .course-modules h2,
    .cta-content h2,
    .product-features h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .features-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .modules-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .story-text {
        font-size: 1.125rem !important;
        font-weight: 500 !important;
        line-height: 1.8 !important;
    }
    
    .testimonial-text {
        font-size: 1.125rem !important;
        font-weight: 500 !important;
        line-height: 1.8 !important;
    }
    
    .product-hero-image {
        max-width: 480px;
        max-height: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .product-hero {
        padding: 0; /* Removed padding to connect with header */
        min-height: auto;
    }
    
    .product-hero-text h1 {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        margin-bottom: 1rem; /* Added proper spacing for mobile */
    }
    
    .product-subtitle {
        font-size: 1.125rem !important;
        font-weight: 500 !important;
        line-height: 1.8 !important;
        margin-bottom: 1rem; /* Added proper spacing for mobile */
    }
    
    .price {
        font-size: 1.75rem;
    }
    
    .btn-large {
        padding: 0.7rem 1.2rem;
        font-family: 'DM Sans', sans-serif;
        font-size: 0.92rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.7px;
        width: 100%; /* Make button full width on mobile */
    }
    
    .product-details-story {
        padding: 20rem 0 3rem 0; /* Increased top padding to prevent overlap with hero section */
    }

    .product-description,
    .emotional-story,
    .course-modules,
    .testimonial-section,
    .final-cta,
    .product-features {
        padding: 8rem 0; /* Increased padding for better mobile section separation */
    }
    
    .product-details h2,
    .product-story h2 {
        font-size: 2rem; /* Increased from 1.5rem for mobile */
        margin-bottom: 2rem; /* Increased margin for better spacing */
    }

    .you-may-also-like .section-header h2 {
        font-size: 1.5rem;
    }

    .you-may-also-like .section-header h2 {
        font-size: 1.75rem;
    }

    .related-products {
        display: flex;
        overflow-x: auto;
        gap: 1.5rem;
        padding: 0 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
    }

    .related-products::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .related-products .product-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }

    .related-products .product-image {
        max-width: 100%;
        height: 240px;
    }

    /* Mobile Image Gallery */
    .product-image-gallery {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem; /* Increased margin to push gallery down */
        width: 100%;
        max-width: 100%;
    }

    .thumbnail-container {
        display: none;
    }

    .main-image-container {
        min-height: 320px;
        max-height: 400px;
        height: 60vw;
        margin-top: 3rem; /* Increased margin to push image further down from header */
    }

    .main-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .mobile-indicators {
        display: flex;
        margin-top: 1rem; /* Added margin for better spacing */
    }

    .description-content h2,
    .story-content h2,
    .course-modules h2,
    .cta-content h2,
    .product-features h2,
    .for-you-title,
    .transformation-title,
    .product-details h2,
    .product-story h2 {
        font-size: 1.75rem !important;
    }
    
    .features-grid,
    .features-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item,
    .feature-detail {
        padding: 1.5rem;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .module-card {
        padding: 1.5rem;
    }
    
    .story-text {
        font-size: 1.125rem !important;
        font-weight: 500 !important;
        line-height: 1.8 !important;
        margin-bottom: 2rem !important; /* Added margin for better spacing */
    }
    
    .testimonial-text {
        font-size: 1.125rem !important;
        font-weight: 500 !important;
        line-height: 1.8 !important;
    }
    
    .testimonial-text::before {
        font-size: 3rem;
        top: -0.5rem;
        left: -1rem;
    }
    
    .cta-content p {
        font-size: 1.125rem !important;
        font-weight: 500 !important;
        line-height: 1.8 !important;
    }
    
    .testimonial-section {
        padding: 4rem 0;
    }
    
    .final-cta {
        padding: 4rem 0;
    }
    
    .breakup-course-page .product-hero {
        background: url('../images/Course Hero Mobile.jpg') center center/cover no-repeat;
        min-height: 80vh;
        padding: 0; /* Ensure no padding to connect with header */
    }
    
    .emotional-story {
        padding: 6rem 0 2rem 0; /* Increased top padding for better separation */
    }
    
    .story-content h2 {
        font-size: 1.75rem !important;
    }
    
    .testimonial-author {
        font-size: 1rem;
    }
    
    .transformation-title {
        font-size: 1.75rem !important;
    }
    
    .cta-subtitle {
        font-size: 1.125rem !important;
        font-weight: 500 !important;
        line-height: 1.8 !important;
        margin-bottom: 1.5rem;
    }
    
    /* Additional mobile spacing for product story section */
    .product-story {
        padding-top: 4rem; /* Increased padding to prevent overlap */
        padding-bottom: 4rem;
    }

    /* Mobile font size for "Not ready yet? Stay close." title to match "What You'll Get" */
    .newsletter h2 {
        font-size: 1.75rem !important;
    }

    /* Left-align bullet points on mobile */
    .details-list {
        text-align: left;
    }

    /* Center hero content on mobile */
    .product-hero-text {
        text-align: center;
        margin-left: 0;
    }
}

/* Accessibility */
.product-hero-text h1:focus,
.product-subtitle:focus,
.price:focus {
    outline: 2px solid #ca0013;
    outline-offset: 2px;
}

.feature-item:focus-within,
.module-card:focus-within,
.feature-detail:focus-within {
    outline: 2px solid #ca0013;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .product-hero {
        background: #fff !important;
        color: #000 !important;
    }
    
    .btn {
        display: none;
    }
    
    .testimonial-section {
        background: #fff !important;
        color: #000 !important;
    }
}

/* Page-specific hero styles */
.breakup-course-page .product-hero {
  background: url('../images/Course Hero.jpg') center center/cover no-repeat;
  position: relative;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  top: 0 !important;
}
.breakup-course-page .product-hero-content,
.breakup-course-page .product-hero-text {
  position: relative;
  z-index: 2;
  transform: translateY(-20px); /* Move content up for breakup course */
}

.still-healing-hoodie-page .product-hero,
.healing-bracelet-page .product-hero,
.growth-earrings-page .product-hero,
.courage-necklace-page .product-hero,
.feel-it-tee-page .product-hero,
.feel-it-stickers-page .product-hero,
.still-healing-stickers-page .product-hero,
.power-earrings-page .product-hero,
.self-love-bracelet-page .product-hero,
.balance-earrings-page .product-hero {
  background: #fffcf1;
}

.breakup-course-page .product-description {
  background: #fffcf1;
  padding: 4rem 0;
}
.breakup-course-page .description-content h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 2.5rem;
}
.breakup-course-page .feature-item {
  background: transparent;
  border: 1px solid #ca0013;
  border-radius: 16px;
  box-shadow: none;
}

/* Move this to the end of the file for proper override */
@media (max-width: 600px) {
  .breakup-course-page .product-hero {
    background: url('../images/Course Hero Mobile.jpg') center center/cover no-repeat;
    height: 85vh;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    top: 0 !important;
  }
  
  .product-scrolling-quotes-bar {
    height: 2rem;
    font-size: 1.2rem;
    border-bottom: none;
  }
  
  .product-scrolling-quote {
    font-size: 1.2rem;
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    margin: 0 0.7rem;
    letter-spacing: 1.5px;
  }
  
  .product-scrolling-quotes-track {
    animation: product-marquee-scroll 12s linear infinite;
  }
}

.mobile-br { display: none; }
@media (max-width: 600px) {
  .mobile-br { display: block; width: 100%; height: 0; }
}

/* Course Outline Accordion Styles */
.course-outline-section {
  background: #fffcf1;
  padding: 5rem 0 3rem 0;
}
.course-outline-title {
  font-family: 'Anton', sans-serif;
  color: #000;
  font-size: 2.5rem;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.course-outline-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  text-align: center;
  margin-bottom: 2.5rem;
}
.accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.accordion-item {
  border: 1px solid #ca0013;
  border-radius: 16px;
  background: transparent;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Anton', sans-serif;
  color: #ca0013;
  font-size: 1.1rem;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  transition: background 0.2s;
  text-align: left;
}
.accordion-header[aria-expanded="true"] {
  background: #fffcf1;
}
.accordion-title {
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.chevron {
  font-size: 1.3rem;
  color: #ca0013;
  margin-left: 1rem;
  transition: transform 0.3s;
  display: inline-block;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: transparent;
  transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1);
  padding: 0 1.3rem;
}
.accordion-header[aria-expanded="true"] + .accordion-content {
  padding-top: 0.5rem;
  padding-bottom: 1.1rem;
}
.accordion-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.accordion-content li {
  font-family: 'DM Sans', sans-serif;
  color: #222;
  font-size: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid #f3d6d6;
}
.accordion-content li:last-child {
  border-bottom: none;
}
@media (max-width: 600px) {
  .course-outline-section {
    padding: 2.2rem 0 1.2rem 0;
  }
  .course-outline-title {
    font-size: 1.75rem;
  }
  .accordion {
    max-width: 99vw;
    gap: 0.7rem;
  }
  .accordion-header {
    font-size: 1rem;
    padding: 0.85rem 0.9rem;
  }
  .accordion-title {
    font-size: 1rem;
  }
  .chevron {
    font-size: 1.1rem;
    margin-left: 0.7rem;
  }
  .accordion-content {
    padding: 0 0.9rem;
  }
  .accordion-header[aria-expanded="true"] + .accordion-content {
    padding-top: 0.3rem;
    padding-bottom: 0.7rem;
  }
  .accordion-content li {
    font-size: 0.97rem;
    padding: 0.28rem 0;
  }
}

.section-cta .btn {
    padding: 0.7rem 1.2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    background: #ca0013;
    color: #fff;
    border: none;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: none;
}
.section-cta .btn:hover, .section-cta .btn:focus {
    background: #ca0013;
    color: #fff;
    box-shadow: 0 4px 16px rgba(202,0,19,0.15);
    outline: none;
}

/* Modern Minimal Transformation Table Section - Match 'What You'll Get' */
.transformation-section {
  background: #fffcf1;
  padding: 5rem 0 3rem 0;
}
.transformation-title {
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  color: #000;
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.transformation-table {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  border: 1px solid #ca0013;
  box-shadow: none;
}
.transformation-header {
  display: flex;
  background: transparent;
  font-family: 'Anton', sans-serif;
  font-size: 1.15rem;
  color: #ca0013;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #ca0013;
}
.transformation-col {
  flex: 1 1 0;
  padding: 1.1rem 1.2rem;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: #222;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: none;
  border-right: none !important;
  min-width: 0;
  min-height: 72px;
  width: 33.33%;
  box-sizing: border-box;
}
.transformation-col i {
  font-size: 1.1rem;
  color: #ca0013;
  min-width: 1.2rem;
  text-align: center;
}
.transformation-header .transformation-col {
  justify-content: center;
  text-align: center;
  font-size: 1rem;
  background: none;
}
.transformation-col.after {
  border-right: none !important;
}
.transformation-arrow, .transformation-arrow-header {
  font-family: 'Anton', sans-serif !important;
  font-size: 1.5rem;
  color: #ca0013;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  width: 3rem;
  font-weight: bold;
  background: transparent !important;
  min-height: 72px;
  box-sizing: border-box;
  margin-right: 0.5rem;
  border-bottom: none !important;
}
.transformation-row {
  display: flex;
  border-bottom: 1px solid #ca0013;
  background: transparent;
}
.transformation-row:nth-child(even) {
  background: rgba(202, 0, 19, 0.05);
}
.transformation-row:last-child {
  border-bottom: none;
}
.transformation-row .transformation-col {
  border-right: 1px solid #ca0013;
  background: none;
}
.transformation-row .transformation-col.after {
  border-right: none !important;
}
@media (max-width: 700px) {
  .transformation-header, .transformation-row {
    flex-direction: row;
    align-items: stretch;
    border-bottom: none;
  }
  .transformation-header .transformation-col {
    border-bottom: 1px solid #ca0013;
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
    border-right: 1px solid #ca0013;
  }
  .transformation-header .transformation-col.after {
    border-right: 1px solid #ca0013;
  }
  .transformation-arrow, .transformation-arrow-header {
    min-width: 2rem;
    width: 2rem;
    font-size: 1.2rem;
    min-height: 56px;
    padding: 0;
    background: transparent !important;
    margin-right: 0.35rem;
    border-bottom: none !important;
  }
  .transformation-row {
    margin-bottom: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    border-bottom: 1px solid #ca0013;
    background: transparent;
  }
  .transformation-row .transformation-col {
    padding: 1.1rem 1.1rem;
    font-size: 0.98rem;
    border-bottom: none;
    border-right: 1px solid #ca0013;
    background: none;
    gap: 0.6rem;
  }
  .transformation-row .transformation-col i {
    font-size: 1rem;
    min-width: 1rem;
  }
  .transformation-row .transformation-col.after {
    border-right: none;
  }
  .transformation-header .transformation-arrow-header {
    border-bottom: 1px solid #ca0013 !important;
    background: transparent !important;
    margin-right: 0;
    min-width: 2.2rem;
    width: 2.2rem;
    margin-left: -1px;
    margin-right: -1px;
  }
}

@media (max-width: 600px) {
      .transformation-title {
        font-size: 1.75rem !important;
    }
    
    .transformation-section {
        padding: 4rem 0 2.5rem 0;
    }
    
    .transformation-table {
        max-width: 95vw;
        margin: 0 auto;
    }
    
  .transformation-col {
    font-size: 0.95rem;
  }
}

.transformation-arrow-header {
  font-family: 'Anton', sans-serif !important;
  font-size: 1.5rem;
  color: #ca0013;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  width: 3rem;
  font-weight: bold;
  background: transparent !important;
  min-height: 72px;
  box-sizing: border-box;
}
@media (max-width: 700px) {
  .transformation-arrow-header {
    min-width: 2rem;
    width: 2rem;
    font-size: 1.2rem;
    min-height: 56px;
    padding: 0;
    background: transparent !important;
    margin-right: 0.35rem;
    border-bottom: none !important;
  }
}

.transformation-header .transformation-col.before, .transformation-header .transformation-col.after {
  justify-content: flex-start;
  text-align: left;
}

/* This Is for You If Section */
.for-you-section {
    padding: 5rem 0;
    background: transparent;
}

.for-you-title {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    color: #000;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.for-you-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
    font-style: normal;
}

.for-you-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.for-you-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(202, 0, 19, 0.05);
    border: 1px solid rgba(202, 0, 19, 0.1);
    border-radius: 8px;
    transition: none;
    text-align: left;
}

.for-you-item:hover {
    transform: none;
}

.for-you-item:last-child {
    margin-bottom: 0;
}

.for-you-section + .section-cta {
    margin-top: 0.5rem !important;
}

.checkmark-circle {
    width: 24px;
    height: 24px;
    background: #ca0013;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.checkmark-circle i {
    color: #fff;
    font-size: 0.9rem;
}

.for-you-item span {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    color: #000;
    line-height: 1.5;
    font-weight: 400;
}

.for-you-item strong {
    font-weight: 600;
    color: #000;
}

@media (max-width: 600px) {
    .for-you-section {
        padding: 4rem 0;
    }
    
    .for-you-title {
        font-size: 1.75rem !important;
        margin-bottom: 0.5rem;
    }
    
    /* Force override for specific titles */
    .for-you-section .for-you-title {
        font-size: 1.75rem !important;
    }
    
    .transformation-section .transformation-title {
        font-size: 1.75rem !important;
    }
    
    .for-you-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .for-you-list {
        padding: 0 0.5rem;
    }
    
    .for-you-item {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .for-you-item span {
        font-size: 1rem;
    }
    
    .checkmark-circle {
        width: 20px;
        height: 20px;
    }
    
    .checkmark-circle i {
        font-size: 0.8rem;
    }
    
    .transformation-title {
        font-size: 1.75rem !important;
    }
}

.final-cta + #footer .newsletter {
    margin-top: 1.2rem !important;
} 

@media (min-width: 901px) {
  .product-image-gallery {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem; /* Reduced from 1.5rem for tighter spacing */
    max-width: 900px;
    width: 100%;
  }
  .main-image-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
  }
  .thumbnail-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem; /* Reduced from 1.25rem for tighter spacing */
    width: 100%;
    margin-top: 1rem; /* Reduced from 1.5rem for tighter spacing */
  }
  .thumbnail {
    width: 100px;
    height: 100px;
  }
}

/* Remove vertical thumbnail layout for desktop */
@media (min-width: 901px) {
  .product-image-gallery .thumbnail-container {
    flex-direction: row;
    width: 100%;
  }
} 

html, body {
  overflow-x: hidden;
}

/* Header fixed, content scrollable for breakup course page */
body.breakup-course-page {
  margin: 0;
  padding: 0;
}

body.breakup-course-page header {
  margin: 0;
  padding: 0 1rem;
}

body.breakup-course-page main {
  margin: 0;
  padding-top: 60px; /* Reduced padding to eliminate gap */
}

.image-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100vh;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.98);
  transition: opacity 0.2s;
}
.image-lightbox[style*="display: flex"] {
  display: flex !important;
}
.lightbox-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.98);
  z-index: 1;
}
.lightbox-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  max-width: 100%;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox-content img {
  width: 100%;
  height: 100vh;
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: #000;
  margin: 0;
  display: block;
}
.lightbox-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  z-index: 3;
  pointer-events: none;
}
.lightbox-arrow, .lightbox-close {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: #222;
  border: none;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
  pointer-events: auto;
}
.lightbox-arrow:hover, .lightbox-close:hover,
.lightbox-arrow:focus, .lightbox-close:focus {
  background: #ca0013;
  color: #fff;
  box-shadow: 0 4px 16px rgba(202,0,19,0.15);
}
.lightbox-close {
  font-size: 2.2rem;
  font-weight: 700;
}
@media (max-width: 600px) {
  .image-lightbox,
  .lightbox-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .lightbox-content img {
    max-width: 100%;
    width: auto;
    height: 100vh;
    max-height: 100vh;
    margin: 0 auto;
    object-fit: cover;
    display: block;
  }
  .lightbox-controls {
    gap: 1.2rem;
    bottom: 1.2rem;
  }
  .lightbox-arrow, .lightbox-close {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }
} 

/* Fix: Center 'What You'll Get' title and restore spacing for breakup course page */
.breakup-course-page .description-content h2 {
  text-align: center;
}
.breakup-course-page .features-grid {
  gap: 2rem;
}
.breakup-course-page .feature-item {
  padding: 2rem;
  text-align: center;
} 

/* Header should be sticky, hero should scroll */
header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1100 !important;
    background-color: #fffcf1 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    height: auto !important;
}
main {
    margin-top: 0 !important; /* Remove margin since hero is now relative */
    padding-top: 0 !important;
}
.product-hero {
    margin: 0 !important; /* Remove margin since header is now sticky */
    padding-top: 0 !important;
    position: relative !important;
    top: 0 !important;
    width: 100vw !important;
}

@media (max-width: 600px) {
    main {
        margin-top: 0 !important; /* Remove margin since hero is now relative */
        padding-top: 0 !important;
    }
    .product-hero {
        padding: 2rem 0 0 0 !important; /* Add top padding for mobile spacing */
        margin: 0 !important; /* Remove margin since header is now sticky */
    }
    .product-hero-content {
        transform: translateY(-15px); /* Move content up on mobile */
    }
    .product-hero-text {
        text-align: center;
        margin-left: 0;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    .details-list {
        text-align: left;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        max-width: 320px;
        width: 100%;
        display: block;
    }
    .details-list li {
        padding-left: 1.25rem;
        margin-bottom: 0.75rem;
    }
} 

/* Override: Larger Product Page Buttons for Better Visibility */
.btn, .btn-primary, .btn-large {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    padding: 0.9rem 1.8rem !important;
    border-radius: 4px !important;
} 

/* Desktop: 4 columns for What You'll Get cards */
@media (min-width: 900px) {
  .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  .feature-item {
    max-width: 340px; /* Keep the wider width for desktop */
  }
  .description-content h2 {
    margin-bottom: 4rem; /* Increased spacing below title on desktop */
  }
}

/* Tablet: 2 columns */
@media (min-width: 600px) and (max-width: 899px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 column (already handled) */

/* FINAL OVERRIDE: Force mobile font sizes for specific titles */
@media (max-width: 600px) {
    .for-you-title,
    .transformation-title {
        font-size: 1.75rem !important;
    }
    
    .for-you-section .for-you-title,
    .transformation-section .transformation-title {
        font-size: 1.75rem !important;
    }
} 