@font-face {
    font-family: 'Birdie';
    src: url('BirdieTypo/TAYBirdieRegular.woff2') format('woff2'),
        url('BirdieTypo/TAYBirdieRegular.woff') format('woff'),
        url('BirdieTypo/TAYBirdieRegular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-fera: #CEDF9F;
    --accent-fera: #2d5016;
    --text-black: #000000;
    --text-white: #073a01;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    background-color: var(--bg-fera);
    font-family: 'Birdie', sans-serif;
    color: var(--text-white);
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
}

.birdie-font {
    font-family: 'Birdie', sans-serif;
}

.back-link {
    position: absolute;
    top: 20px;
    left: 20px;
    text-decoration: none;
    color: var(--accent-fera);
    font-size: 1.2rem;
    z-index: 100;
    transition: opacity 0.3s;
}

.back-link:hover {
    opacity: 0.7;
}

/* Layout */
.product-container {
    display: flex;
    width: 100vw;
    min-height: 80vh;
}

.gallery-col {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px;
}

.conversion-col {
    flex: 0 0 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Gallery Styles */


.main-image-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.investigation-banner {
    /* background: #ffffff; */
    color: var(--accent-fera);
    /* padding: 15px 40px; */
    font-size: 20px;
    border-radius: 50px;
    text-align: center;
    width: fit-content;
    text-transform: uppercase;
    font-weight: bold;
}

.main-product-img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

/* Conversion Panel Styles */
.breadcrumbs {
    font-size: 12px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-white);
}

.product-header h1 {
    font-size: 48px;
    color: var(--accent-fera);
    margin-bottom: 5px;
    line-height: 1;
}

.product-header .lab-subtitle {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-white);
}



.description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 500px;
    color: var(--text-white);
}

.ingredients-wrap {
    margin-bottom: 30px;
}

.ingredients-title {
    font-size: 18px;
    color: var(--accent-fera);
    margin-bottom: 10px;
    font-weight: bold;
}

.ingredients-bullets {
    list-style: none;
    padding: 0;
}

.ingredients-bullets li {
    font-size: 14px;
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-white);
}

.ingredients-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-fera);
}

/* Variant Selectors */
.selector-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-white);
}

.size-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

.size-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent-fera);
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    border-radius: 8px;
    color: var(--text-white);
}

.size-btn.active {
    background: var(--accent-fera);
    color: var(--text-black);
    border-color: var(--accent-fera);
}

.size-info-block {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent-fera);
    padding: 15px 25px;
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1.1rem;
    width: fit-content;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}



/* Purchase Actions */
.purchase-row {
    display: flex;
    gap: 15px;
    align-items: stretch;
    margin-bottom: 30px;
}

.quantity-selector {
    display: flex;
    border: 1px solid var(--accent-fera);
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.quantity-btn {
    width: 40px;
    background: transparent;
    border: none;
    color: var(--accent-fera);
    font-size: 20px;
    cursor: pointer;
}

.quantity-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: bold;
    font-size: 18px;
    color: var(--text-white);
}

.add-to-cart-btn {
    flex-grow: 1;
    background: var(--accent-fera);
    color: var(--text-black);
    border: none;
    padding: 0 30px;
    font-size: 20px;
    cursor: pointer;
    transition: opacity 0.2s;
    border-radius: 50px;
}

.add-to-cart-btn:hover {
    opacity: 0.9;
}

/* Benefits Section */
.benefits-section {
    display: flex;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
}

.benefit-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    text-align: center;
    gap: 10px;
    border: 1px solid var(--accent-fera);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
}

.benefit-text {
    font-size: 13px;
    color: var(--accent-fera);
    line-height: 1.1;
    font-weight: bold;
    text-transform: uppercase;
}

/* The FERA Standard Section */
.kura-standard {
    background-color: var(--bg-fera);
    color: var(--text-white);
    width: 100vw;
    min-height: 40vh;
    padding: 60px 10vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: none;
}

.standard-header {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

.title-with-accents {
    font-size: 42px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    text-transform: uppercase;
    color: var(--accent-fera);
}

.accent-line {
    height: 1px;
    width: 40px;
    background: var(--accent-fera);
    position: relative;
}

.accent-line::before,
.accent-line::after {
    content: '';
    position: absolute;
    height: 1px;
    width: 25px;
    background: var(--accent-fera);
    left: 5px;
}

.accent-line.left::before {
    transform: rotate(30deg);
    top: -10px;
}

.accent-line.left::after {
    transform: rotate(-30deg);
    bottom: -10px;
}

.accent-line.right::before {
    transform: rotate(-30deg);
    top: -10px;
}

.accent-line.right::after {
    transform: rotate(30deg);
    bottom: -10px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px 20px;
    width: 100%;
    max-width: 1200px;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: scale(1.05);
}

.icon-wrap {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-fera);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-wrap img {
    filter: brightness(0) invert(1);
}

.benefit-card span {
    font-size: 16px;
    letter-spacing: 0.02em;
    max-width: 180px;
    color: var(--accent-fera);
}

/* Research & Resources Section (Reuse for Process) */
.research-resources {
    background-color: var(--bg-fera);
    padding: 100px 0;
    width: 100vw;
    color: var(--text-white);
    border-top: none;
}

.research-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.research-header {
    text-align: left;
    margin-bottom: 60px;
}

.research-header h2 {
    color: var(--accent-fera);
    font-size: 48px;
    margin-bottom: 10px;
}

.research-subtitle {
    font-size: 16px;
    color: var(--text-white);
}

.research-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

.research-image-col {
    display: flex;
    justify-content: flex-end;
}

.research-image-wrapper {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.1);
}

.research-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.studies-accordion {
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border-bottom: 1px solid var(--accent-fera);
}

.accordion-item:first-child {
    border-top: 1px solid var(--accent-fera);
}

.accordion-trigger {
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.trigger-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.study-number {
    font-size: 36px;
    color: var(--accent-fera);
    min-width: 50px;
}

.study-title {
    font-size: 20px;
    color: var(--text-white);
    transition: color 0.3s ease;
}

.accordion-trigger:hover .study-title {
    opacity: 0.8;
}

.accordion-icon {
    font-size: 32px;
    color: var(--accent-fera);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-inner {
    padding: 0 0 40px 80px;
}

.panel-inner p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--text-white);
    opacity: 0.9;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
    }

    .gallery-col,
    .conversion-col {
        flex: 0 0 100%;
        width: 100%;
    }

    .product-container {
        padding-top: 60px;
    }

    .conversion-col {
        padding: 40px 20px;
    }

    .gallery-layout {
        flex-direction: column;
    }

    .thumbnails-sidebar {
        flex-direction: row;
        overflow-x: auto;
        width: 100%;
        justify-content: center;
    }

    .thumbnail-item {
        flex: 0 0 60px;
        height: 60px;
    }

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

    .benefits-section {
        flex-direction: column;
    }

    .kura-standard {
        padding: 30px 20px;
        min-height: auto;
    }

    .title-with-accents {
        font-size: 28px;
        gap: 10px;
    }

    .accent-line {
        width: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .research-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .panel-inner {
        padding-left: 0;
    }

    .trigger-left {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .accordion-trigger {
        padding: 15px 0;
    }

    .study-number {
        font-size: 24px;
    }

    .study-title {
        font-size: 18px;
    }
}