/*
 Theme Name: Adaptogenia Child
 Theme URI: https://adaptogenia.local
 Description: Premium Child Theme for Adaptogenia - Tinturas Naturales de Alta Montaña
 Version: 2.0.0
 Author: Santiago Sella
 Author URI: https://adaptogenia.local
 Template: astra
 Text Domain: adaptogenia-child
 Domain Path: /languages
 License: GPL-2.0-or-later
*/

/* Import parent and premium design system */
@import url("./adaptogenia-colors.css");

/* ===================================================
   ADAPTOGENIA PREMIUM ENHANCEMENTS
   Premium animations and micro-interactions
   =================================================== */

/* === SMOOTH SCROLL REVEAL ANIMATIONS === */

.wp-block-columns,
.wp-block-group:not(.hero-section):not(.no-reveal),
.wp-block-column:not(.no-reveal),
section:not(.no-reveal),
article:not(.no-reveal) {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Bypass for critical elements */
.no-reveal, 
.no-reveal * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.wp-block-columns:nth-child(1),
.wp-block-group:nth-child(1) {
    animation-delay: 0.1s;
}

.wp-block-columns:nth-child(2),
.wp-block-group:nth-child(2) {
    animation-delay: 0.2s;
}

.wp-block-columns:nth-child(3),
.wp-block-group:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === STAGGERED CARD ANIMATIONS === */

.wp-block-column {
    animation: cardSlideIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.wp-block-column:nth-child(1) {
    animation-delay: 0.15s;
}

.wp-block-column:nth-child(2) {
    animation-delay: 0.3s;
}

.wp-block-column:nth-child(3) {
    animation-delay: 0.45s;
}

.wp-block-column:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* === PREMIUM HOVER MICRO-INTERACTIONS === */

/* Heading Shine Effect */
h1,
h2,
h3 {
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    transition: background-position 0.5s ease;
}

h1:hover,
h2:hover {
    background-position: 100% 0;
}

/* Button Ripple Effect */
.wp-block-button__link,
.btn,
button:not(.close-button) {
    position: relative;
    overflow: hidden;
}

.wp-block-button__link::after,
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.wp-block-button__link:active::after,
.btn:active::after {
    width: 300px;
    height: 300px;
}

/* === SPECIAL HERO ENHANCEMENTS === */

.hero-section {
    position: relative;
}

/* Animated particles overlay */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 75px 75px;
    animation: particleFloat 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes particleFloat {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }

    100% {
        background-position: 100px 100px, -150px 150px, 75px -75px;
    }
}

/* Hero CTA Button Pulse */
.hero-section .wp-block-button__link {
    animation: ctaPulse 2.5s ease-in-out infinite;
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(184, 149, 106, 0.4);
    }

    50% {
        box-shadow: 0 6px 28px rgba(184, 149, 106, 0.6);
    }
}

/* === IMAGE ENHANCEMENTS === */

img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-block-image img:hover,
figure img:hover {
    transform: scale(1.02);
}

/* Image with overlay on hover */
.wp-block-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md, 16px);
}

.wp-block-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(184, 149, 106, 0) 0%,
            rgba(184, 149, 106, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.wp-block-image:hover::after {
    opacity: 1;
}

/* === BLOCKQUOTE ENHANCEMENT === */

blockquote,
.wp-block-quote {
    position: relative;
    padding: 40px 40px 40px 60px;
    margin: 40px 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(248, 243, 236, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-left: 5px solid var(--adaptogenia-primary, #B8956A);
    border-radius: 0 16px 16px 0;
    box-shadow: 0 8px 32px rgba(107, 83, 68, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

blockquote:hover,
.wp-block-quote:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 40px rgba(107, 83, 68, 0.15);
}

blockquote::before,
.wp-block-quote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 5rem;
    color: var(--adaptogenia-primary-light, #E8D9C8);
    line-height: 1;
    opacity: 0.8;
}

blockquote p,
.wp-block-quote p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--adaptogenia-gray-dark, #5A4E47);
    margin: 0;
    position: relative;
    z-index: 1;
}

blockquote cite,
.wp-block-quote cite {
    display: block;
    margin-top: 20px;
    font-style: normal;
    font-weight: 600;
    color: var(--adaptogenia-primary, #B8956A);
    font-size: 1rem;
}

/* === LIST ITEM ANIMATIONS === */

ul li,
ol li {
    opacity: 0;
    animation: listItemFade 0.5s ease forwards;
}

ul li:nth-child(1),
ol li:nth-child(1) {
    animation-delay: 0.1s;
}

ul li:nth-child(2),
ol li:nth-child(2) {
    animation-delay: 0.15s;
}

ul li:nth-child(3),
ol li:nth-child(3) {
    animation-delay: 0.2s;
}

ul li:nth-child(4),
ol li:nth-child(4) {
    animation-delay: 0.25s;
}

ul li:nth-child(5),
ol li:nth-child(5) {
    animation-delay: 0.3s;
}

ul li:nth-child(6),
ol li:nth-child(6) {
    animation-delay: 0.35s;
}

@keyframes listItemFade {
    to {
        opacity: 1;
    }
}

/* === FLOATING LABEL FORMS === */

.wpcf7-form-control-wrap {
    position: relative;
    display: block;
    margin-bottom: 24px;
}

.wpcf7-form-control-wrap input:focus+label,
.wpcf7-form-control-wrap input:not(:placeholder-shown)+label,
.wpcf7-form-control-wrap textarea:focus+label,
.wpcf7-form-control-wrap textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 12px;
    font-size: 0.75rem;
    background: var(--adaptogenia-white, #FAF7F2);
    padding: 0 8px;
    color: var(--adaptogenia-primary, #B8956A);
}

/* === SCROLL INDICATOR === */

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator::after {
    content: '';
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    border-radius: 2px;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* === WOOCOMMERCE PREMIUM ADDITIONS === */

/* Product Badge */
.woocommerce .product .badge-new {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--adaptogenia-leaf-green, #636D48);
    color: white;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 10;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Quick View Button */
.woocommerce .product .quick-view {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--adaptogenia-white, #FAF7F2);
    color: var(--adaptogenia-primary-dark, #6B5344);
    border: none;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.woocommerce .product:hover .quick-view {
    bottom: 20px;
    opacity: 1;
}

/* Wishlist Heart */
.woocommerce .product .wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.woocommerce .product .wishlist-btn:hover {
    background: var(--adaptogenia-fungi-red, #944D34);
    transform: scale(1.1);
}

.woocommerce .product .wishlist-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--adaptogenia-fungi-red, #944D34);
    transition: fill 0.3s ease;
}

.woocommerce .product .wishlist-btn:hover svg {
    fill: white;
}

/* === CUSTOM PAGE SECTIONS === */

/* About Section Split */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

@media (max-width: 768px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Stats Counter */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 32px;
    background: var(--glass-bg, rgba(255, 255, 255, 0.72));
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.35));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(107, 83, 68, 0.15);
}

.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--adaptogenia-primary, #B8956A);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--adaptogenia-gray-dark, #5A4E47);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* === TRUST BADGES === */

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px 0;
    border-top: 1px solid var(--adaptogenia-gray-light, #F0E8DF);
    border-bottom: 1px solid var(--adaptogenia-gray-light, #F0E8DF);
    margin: 60px 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--adaptogenia-gray-dark, #5A4E47);
    font-size: 0.9375rem;
    font-weight: 500;
}

.trust-badge svg {
    width: 32px;
    height: 32px;
    fill: var(--adaptogenia-primary, #B8956A);
}

/* === LOADING SKELETON === */

.skeleton {
    background: linear-gradient(90deg,
            var(--adaptogenia-gray-light, #F0E8DF) 25%,
            var(--adaptogenia-white, #FAF7F2) 50%,
            var(--adaptogenia-gray-light, #F0E8DF) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* === NOTIFICATION TOAST === */

.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background: var(--adaptogenia-black, #2A251F);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    background: var(--adaptogenia-leaf-green, #636D48);
}

.toast.error {
    background: var(--adaptogenia-fungi-red, #944D34);
}

/* === BACK TO TOP BUTTON === */

.back-to-top,
#ast-scroll-top {
    display: none !important;
}

/* === FINAL POLISH === */

/* Subtle page transition */
.page-transition {
    animation: pageEnter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container max-width */
.entry-content,
.site-content>.ast-container,
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Astra override for full width hero */
.hero-section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* Remove default Astra card border */
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* === PREMIUM CUSTOM FOOTER === */

.adaptogenia-footer {
    background: linear-gradient(135deg, var(--adaptogenia-black, #2A251F) 0%, var(--adaptogenia-primary-dark, #6B5344) 100%);
    color: rgba(255, 255, 255, 0.9);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.adaptogenia-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--adaptogenia-primary, #B8956A), var(--adaptogenia-secondary, #D4A574), var(--adaptogenia-primary, #B8956A));
}

.adaptogenia-footer::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 149, 106, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px 60px;
    position: relative;
    z-index: 1;
}

/* Footer Brand Column */
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.24) 0%, rgba(122, 139, 92, 0.16) 100%);
    color: var(--adaptogenia-white, #FAF7F2);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.footer-logo .logo-icon svg {
    width: 30px;
    height: 30px;
}

.footer-logo .logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--adaptogenia-white, #FAF7F2);
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-badges .badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-badges .badge .badge-icon {
    width: 18px;
    height: 18px;
    color: var(--adaptogenia-secondary, #D4A574);
    flex-shrink: 0;
}

/* Footer Columns */
.footer-column h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--adaptogenia-secondary, #D4A574);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--adaptogenia-primary, #B8956A);
    border-radius: 2px;
}

/* Footer Navigation */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.footer-nav .nav-icon {
    width: 18px;
    height: 18px;
    color: var(--adaptogenia-secondary, #D4A574);
    flex-shrink: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--adaptogenia-secondary, #D4A574);
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: var(--adaptogenia-white, #FAF7F2);
    transform: translateX(4px);
}

.footer-nav a:hover .nav-icon {
    color: var(--adaptogenia-white, #FAF7F2);
    transform: scale(1.05);
}

.footer-nav a:hover::after {
    width: 100%;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
}

.footer-contact .icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--adaptogenia-secondary, #D4A574);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.footer-contact .icon svg {
    width: 18px;
    height: 18px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--adaptogenia-secondary, #D4A574);
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: var(--adaptogenia-primary, #B8956A);
    color: var(--adaptogenia-white, #FAF7F2);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(184, 149, 106, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom .copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom .copyright strong {
    color: var(--adaptogenia-secondary, #D4A574);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    margin: 0;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--adaptogenia-secondary, #D4A574);
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 60px 24px 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 20px 32px;
    }

    .footer-brand {
        grid-column: span 1;
        text-align: center;
    }

    .footer-brand .footer-logo {
        justify-content: center;
    }

    .footer-badges {
        justify-content: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-nav,
    .footer-contact {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================================
   GLOBAL EXPERIENCE REFINEMENTS
   Wide mobile layouts, calmer motion, richer surfaces
   =================================================== */

:root {
    --site-max-width: 1280px;
    --site-content-width: min(100% - 48px, var(--site-max-width));
    --site-content-width-narrow: min(100% - 48px, 1100px);
    --mobile-gutter: 14px;
    --section-space: clamp(64px, 8vw, 112px);
    --surface-1: rgba(255, 251, 245, 0.88);
    --surface-2: rgba(255, 255, 255, 0.78);
    --surface-stroke: rgba(184, 149, 106, 0.18);
}

body.adaptogenia-site {
    background:
        radial-gradient(circle at top left, rgba(212, 165, 116, 0.16), transparent 30%),
        radial-gradient(circle at 85% 20%, rgba(99, 109, 72, 0.12), transparent 28%),
        linear-gradient(180deg, #fffaf5 0%, #f6ede4 44%, #f7f2ea 100%);
    color: var(--adaptogenia-gray-dark, #5A4E47);
}

body.adaptogenia-site::before,
body.adaptogenia-site::after {
    content: '';
    position: fixed;
    inset: auto;
    z-index: -1;
    pointer-events: none;
    filter: blur(70px);
    opacity: 0.55;
}

body.adaptogenia-site::before {
    top: 6vh;
    right: -8vw;
    width: 28rem;
    height: 28rem;
    background: radial-gradient(circle, rgba(184, 149, 106, 0.2) 0%, transparent 70%);
}

body.adaptogenia-site::after {
    bottom: 8vh;
    left: -10vw;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(99, 109, 72, 0.16) 0%, transparent 72%);
}

body.adaptogenia-site .site-content > .ast-container,
body.adaptogenia-site .ast-container,
body.adaptogenia-site .entry-content,
body.adaptogenia-site .ast-separate-container .ast-article-post,
body.adaptogenia-site .ast-separate-container .ast-article-single {
    width: var(--site-content-width);
    max-width: var(--site-max-width);
    margin-left: auto;
    margin-right: auto;
}

body.adaptogenia-site .entry-content,
body.adaptogenia-site .ast-separate-container .ast-article-post,
body.adaptogenia-site .ast-separate-container .ast-article-single {
    padding-left: 0;
    padding-right: 0;
}

body.adaptogenia-site .wp-block-group:not(.hero-section):not(.alignfull),
body.adaptogenia-site .wp-block-columns:not(.alignfull),
body.adaptogenia-site .content-section,
body.adaptogenia-site .section {
    width: min(100%, var(--site-content-width-narrow));
    margin-left: auto;
    margin-right: auto;
}

body.adaptogenia-site .site-primary-header-wrap,
body.adaptogenia-site .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    background: rgba(250, 247, 242, 0.72);
    border-bottom: 1px solid rgba(184, 149, 106, 0.12);
    box-shadow: 0 10px 30px rgba(42, 37, 31, 0.04);
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

body.adaptogenia-site.is-scrolled .site-primary-header-wrap,
body.adaptogenia-site.is-scrolled .site-header,
body.adaptogenia-site .site-header.scrolled {
    background: rgba(250, 247, 242, 0.92);
    box-shadow: 0 16px 40px rgba(42, 37, 31, 0.08);
    border-bottom-color: rgba(184, 149, 106, 0.18);
}

body.adaptogenia-site .main-header-menu > .menu-item > a,
body.adaptogenia-site .ast-builder-menu-1 .menu-item > .menu-link {
    font-weight: 700;
    letter-spacing: 0.02em;
}

body.adaptogenia-site .card,
body.adaptogenia-site .premium-card,
body.adaptogenia-site .problem-card,
body.adaptogenia-site .product-card,
body.adaptogenia-site .testimonial-card,
body.adaptogenia-site .value-card,
body.adaptogenia-site .dual-card,
body.adaptogenia-site .spec-card,
body.adaptogenia-site .contact-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 238, 228, 0.72)),
        var(--surface-1);
    border: 1px solid var(--surface-stroke);
    box-shadow: 0 18px 48px rgba(77, 57, 41, 0.08);
    border-radius: 28px;
}

body.adaptogenia-site .card:hover,
body.adaptogenia-site .premium-card:hover,
body.adaptogenia-site .problem-card:hover,
body.adaptogenia-site .product-card:hover,
body.adaptogenia-site .testimonial-card:hover,
body.adaptogenia-site .value-card:hover,
body.adaptogenia-site .dual-card:hover,
body.adaptogenia-site .spec-card:hover,
body.adaptogenia-site .contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(77, 57, 41, 0.12);
}

body.adaptogenia-site .wp-block-button__link,
body.adaptogenia-site .btn,
body.adaptogenia-site .ast-button,
body.adaptogenia-site button:not(.close-button),
body.adaptogenia-site input[type="submit"] {
    min-height: 52px;
    padding: 14px 26px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

body.adaptogenia-site .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 52px;
    height: 52px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.adaptogenia-site .wp-block-columns:not(.reveal):not(.reveal-left):not(.reveal-right):not(.reveal-scale):not(.stagger-children),
body.adaptogenia-site .wp-block-group:not(.hero-section):not(.reveal):not(.reveal-left):not(.reveal-right):not(.reveal-scale):not(.stagger-children),
body.adaptogenia-site .wp-block-column:not(.reveal):not(.reveal-left):not(.reveal-right):not(.reveal-scale):not(.stagger-children),
body.adaptogenia-site section:not(.reveal):not(.reveal-left):not(.reveal-right):not(.reveal-scale):not(.stagger-children),
body.adaptogenia-site article:not(.reveal):not(.reveal-left):not(.reveal-right):not(.reveal-scale):not(.stagger-children) {
    opacity: 1;
    transform: none;
    animation: none;
}

body.adaptogenia-site.page-ready .wp-block-columns,
body.adaptogenia-site.page-ready .wp-block-group,
body.adaptogenia-site.page-ready .wp-block-column,
body.adaptogenia-site.page-ready section,
body.adaptogenia-site.page-ready article {
    opacity: 1;
    transform: none;
    animation: none;
}

@media (max-width: 1024px) {
    :root {
        --site-content-width: min(100% - 36px, var(--site-max-width));
        --site-content-width-narrow: min(100% - 36px, 1100px);
    }
}

@media (max-width: 768px) {
    :root {
        --mobile-gutter: 4px;
        --site-content-width: calc(100% - (var(--mobile-gutter) * 2));
        --site-content-width-narrow: calc(100% - (var(--mobile-gutter) * 2));
    }

    body.adaptogenia-site .site-content > .ast-container,
    body.adaptogenia-site .ast-container,
    body.adaptogenia-site .entry-content,
    body.adaptogenia-site .ast-separate-container .ast-article-post,
    body.adaptogenia-site .ast-separate-container .ast-article-single {
        width: var(--site-content-width);
    }

    body.adaptogenia-site .wp-block-group:not(.alignfull),
    body.adaptogenia-site .wp-block-columns:not(.alignfull),
    body.adaptogenia-site .section,
    body.adaptogenia-site .content-section {
        width: 100%;
    }

    body.adaptogenia-site .card,
    body.adaptogenia-site .premium-card,
    body.adaptogenia-site .problem-card,
    body.adaptogenia-site .product-card,
    body.adaptogenia-site .testimonial-card,
    body.adaptogenia-site .value-card,
    body.adaptogenia-site .dual-card,
    body.adaptogenia-site .spec-card,
    body.adaptogenia-site .contact-card {
        border-radius: 22px;
    }

    body.adaptogenia-site .ast-builder-layout-element,
    body.adaptogenia-site .site-header-primary-section-right,
    body.adaptogenia-site .site-header-primary-section-left {
        min-width: 0;
    }
}

@media (max-width: 640px) {
    :root {
        --mobile-gutter: 3px;
    }

    body.adaptogenia-site .wp-block-columns,
    body.adaptogenia-site .wp-block-group,
    body.adaptogenia-site .wp-block-cover,
    body.adaptogenia-site .wp-block-media-text,
    body.adaptogenia-site .problem-section,
    body.adaptogenia-site .product-section,
    body.adaptogenia-site .science-section,
    body.adaptogenia-site .contact-section {
        margin-top: clamp(28px, 8vw, 42px);
        margin-bottom: clamp(28px, 8vw, 42px);
    }

    body.adaptogenia-site p {
        font-size: 1rem;
        line-height: 1.72;
    }

    body.adaptogenia-site .back-to-top {
        right: 14px;
        bottom: 14px;
    }
}



/* WPForms Button Override */
div.wpforms-container-full .wpforms-form button[type=submit] {
    background: var(--adaptogenia-deep-blue) !important;
    color: var(--adaptogenia-white) !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    padding: 12px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}
div.wpforms-container-full .wpforms-form button[type=submit]:hover {
    background: var(--adaptogenia-primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(184, 149, 106, 0.3) !important;
}
