/**
 * Gene Single Product Styles
 * Scoped to body.single-product
 */

body.single-product {
    /* Variables specific to this page */
    --prop-color-bg: #FCFCFC;
    --prop-color-text: #2A2A2A;
    --prop-color-meta: #6B6B6B;
    --prop-color-border: rgba(0, 0, 0, 0.08);
    --prop-color-accent: #B8A88A;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

/* Global Reset for this page */
body.single-product .holsea-single-product-page {
    background: var(--prop-color-bg);
}

/* =========================================
   Universal Typography
   ========================================= */
.gene-scene-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--prop-color-text);
    text-align: center;
    margin-bottom: 1rem;
}

.gene-scene-subtitle {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--prop-color-meta);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

/* =========================================
   SCENE 01: Entrance Hero
   ========================================= */
.gene-scene-entrance {
    position: relative;
    padding: 2rem 0 6rem;
    overflow: hidden;
}

.gene-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-sans);
    font-size: 15vw;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.02);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

.gene-hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.gene-hero-visual {
    position: sticky;
    top: 100px;
}

.gene-main-image {
    width: 90%;
    margin: 0 auto 1rem;
    height: auto;
    display: block;
}

.gene-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.gene-gallery-thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.3s;
}

.gene-gallery-thumb:hover,
.gene-gallery-thumb.active {
    opacity: 1;
}

/* Hero Content (Sticky Buy Module) */
.gene-hero-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border: 1px solid var(--prop-color-border);
    border-radius: 4px;
}

.gene-micro-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--prop-color-accent);
    display: block;
    margin-bottom: 1rem;
}

.gene-product-title {
    font-family: var(--font-sans);
    /* Based on Holsea brand */
    font-size: 2.5rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.gene-product-tagline {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--prop-color-meta);
    margin-bottom: 2rem;
    display: block;
}

.gene-price-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--prop-color-border);
}

.gene-price {
    font-size: 2rem;
    font-weight: 600;
    font-family: var(--font-sans);
}

.gene-spec {
    font-size: 0.9rem;
    color: var(--prop-color-meta);
}

.gene-buy-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gene-btn-primary {
    background: var(--prop-color-text);
    color: white;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s;
    width: 100%;
    display: block;
}

.gene-btn-primary:hover {
    background: #000;
}

.gene-btn-secondary {
    background: transparent;
    color: var(--prop-color-meta);
    border: 1px solid var(--prop-color-border);
    padding: 0.8rem;
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    text-decoration: none;
    display: block;
    width: 100%;
}

.gene-trust-bar {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    letter-spacing: 0.05em;
}

/* =========================================
   SCENE 02: Ritual
   ========================================= */
.gene-scene-ritual {
    padding: 6rem 0;
    background: #F9F9F9;
}

.gene-ritual-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 1+1 layout */
    gap: 2rem;
    padding: 0 2rem;
}

.gene-ritual-card {
    background: white;
    padding: 2.5rem;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.gene-ritual-time {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--prop-color-accent);
    margin-bottom: 1rem;
    display: block;
}

.gene-ritual-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gene-ritual-desc {
    color: var(--prop-color-meta);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =========================================
   SCENE 03: Formula
   ========================================= */
.gene-scene-formula {
    padding: 6rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.gene-accordion-item {
    border-bottom: 1px solid var(--prop-color-border);
}

.gene-accordion-header {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.gene-accordion-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
}

.gene-accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

[aria-expanded="true"] .gene-accordion-icon {
    transform: rotate(45deg);
}

.gene-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.gene-accordion-inner {
    padding-bottom: 1.5rem;
    color: var(--prop-color-meta);
}

.gene-ing-details {
    margin-top: 1rem;
    padding-left: 1.2rem;
    font-size: 0.9rem;
}

/* =========================================
   SCENE 04: Proof (Nutritionist Testimonial)
   ========================================= */
.gene-scene-proof {
    padding: 6rem 0;
    background: #F4F4F4;
    color: var(--prop-color-text);
}

.gene-test-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.gene-test-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    margin-bottom: 0.8rem;
}

.gene-test-caption {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--prop-color-text);
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 0.8rem;
}

.gene-test-content {
    font-family: var(--font-sans);
}

.gene-test-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--prop-color-text);
}

.gene-test-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--prop-color-meta);
}

.gene-test-sub {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    position: relative;
    padding-left: 1rem;
}

.gene-test-sub::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 3px;
    background: var(--prop-color-accent);
}

.gene-test-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.gene-test-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--prop-color-meta);
}

.gene-test-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--prop-color-accent);
    font-size: 0.8em;
    top: 3px;
}

.gene-highlight {
    background: rgba(184, 168, 138, 0.15);
    /* Accent color wash */
    padding: 0 4px;
    color: var(--prop-color-text);
    font-weight: 500;
}

.gene-test-point {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1.5rem;
}

.gene-test-point:last-child {
    border-bottom: none;
}

.gene-test-point h4 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.gene-point-tag {
    display: inline-block;
    font-size: 0.85rem;
    background: #EAEAEA;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    color: #555;
}

.gene-test-conclusion {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

/* Responsive Testimonial */
@media (max-width: 900px) {
    .gene-test-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gene-test-image {
        order: -1;
        /* Image on top */
    }

    .gene-test-title {
        font-size: 1.5rem;
    }
}

/* =========================================
   SCENE 05: People & 06 FAQ
   ========================================= */
.gene-scene-people,
.gene-scene-faq {
    padding: 6rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.gene-persona-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0 2rem;
}

.gene-persona-card {
    background: #FAFAFA;
    padding: 2rem;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.gene-persona-card:hover {
    border-color: var(--prop-color-accent);
    background: white;
}

.gene-persona-title {
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gene-persona-desc {
    font-size: 0.85rem;
    color: var(--prop-color-meta);
}

/* =========================================
   SCENE 07: NUTRITION FACTS
   ========================================= */
.gene-scene-nutrition {
    padding: 6rem 0;
    text-align: center;
    background: #fcfcfc;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.gene-nutri-card {
    background: white;
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 3rem;
    border: 1px solid var(--prop-color-border);
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.gene-nutri-details {
    border-bottom: 1px solid black;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.gene-nutri-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.gene-nutri-label {
    font-weight: 600;
    color: var(--prop-color-meta);
}

.gene-nutri-value {
    color: #333;
}

.gene-nutri-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.gene-nutri-table tr {
    border-bottom: 1px solid var(--prop-color-border);
}

.gene-nutri-th {
    padding: 0.8rem 0;
    font-size: 0.85rem;
    color: var(--prop-color-meta);
    font-weight: 500;
}

.gene-nutri-td {
    padding: 0.8rem 0;
    text-align: right;
    font-size: 0.9rem;
    color: #333;
    font-family: var(--font-sans);
}

.gene-nutri-caption {
    font-size: 0.8rem;
    color: var(--prop-color-meta);
    opacity: 0.7;
    margin-top: 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .gene-nutri-card {
        padding: 1.5rem;
        margin: 2rem 1rem 0;
    }

    .gene-nutri-row {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .gene-nutri-label {
        font-size: 0.8rem;
    }
}

/* =========================================
   FINALE
   ========================================= */
.gene-scene-finale {
    padding: 8rem 0;
    text-align: center;
    background: #111;
    color: white;
}

.gene-finale-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.gene-finale-subtitle {
    font-family: var(--font-sans);
    font-size: 1rem;
    opacity: 0.6;
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
}

/* =========================================
   Mobile
   ========================================= */
.gene-mobile-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid var(--prop-color-border);
    padding: 1rem;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 900;
}

@media (max-width: 768px) {
    .gene-main-image {
        width: 100%;
    }

    .gene-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gene-hero-visual {
        position: static;
    }

    .gene-hero-content {
        padding: 1.5rem;
    }

    .gene-ritual-grid {
        grid-template-columns: 1fr;
    }

    .gene-proof-sequence {
        font-size: 1.2rem;
    }

    .gene-expert-block {
        flex-direction: column;
        border-radius: 20px;
        text-align: center;
    }

    .gene-persona-grid {
        grid-template-columns: 1fr;
    }

    .gene-mobile-buy-bar {
        display: flex;
        /* Show on mobile */
    }

    /* Adjust spacing for mobile nav bar */
    .gene-shop-footer {
        padding-bottom: 5rem;
    }

    .gene-ingredients-list,
    .gene-faq-list {
        padding: 0 10%;
    }

}