/*
	Theme Name: Leanx System v6
	Theme URI: https://leanxsystem.com/
	Description: Leanx System v6
	Version: 1.0
	Author: Leanx System
	Author URI: https://leanxsystem.com/
	Created Date: 06/10/2026
	License: Leanx System
	License: GNU General Public License version 3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
	Tags: leanx, system, v6
	Text Domain: leanx-system
*/

/*!
 * Table of contents
 *
 * 1. Reset
 * 2. Root Variables
 * 3. General
 *    1. Headings
 *    2. Kicker
 *    3. Container
 *    4. Sales strip
 */

/* ----------------------------------------------------------------
    [ 1. Reset ]
-----------------------------------------------------------------*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth
}

/* ----------------------------------------------------------------
    [ 2. Root Variables ]
-----------------------------------------------------------------*/
:root {
    --page-bg: #EEF0F8;
    --card-bg: #FCFCFF;
    --heading: #0A1740;
    --body: #5E6478;
    --color-secondary: #071B49;
    --color-golden: #C8A75A;
    --color-golden-hover: #B3944D;
    --primary: #1E3FB0;
    --primary-hover: #17348f;
    --deep-navy: #0E1A45;
    --muted-teal: #B4CEE7;
    --coral: #E85D40;
    --coral-hover: #D44F36;
    --border: #E5E9F5;
    --shadow: 0 8px 30px rgba(30, 63, 176, 0.08);
    --shadow-hover: 0 14px 40px rgba(30, 63, 176, 0.15);
    --radius: 20px;
    --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
}

/* ----------------------------------------------------------------
    [ 3. General ]
-----------------------------------------------------------------*/
html,
body {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--body);
    background: var(--page-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

p {
    color: var(--body);
    font-size: 16.5px;
}

a {
    color: inherit;
    text-decoration: none;
}

em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 500;
    color: var(--primary);
}

/* == 1. Headings == */
h1,
h2,
h3,
h4 {
    font-family: var(--font-body);
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.02em;
    line-height: 1.15;
}
h1 {
    font-size: clamp(48px, 7vw, 84px);
}
h2 {
    font-size: clamp(30px, 3.6vw, 46px);
}
h3 {
    font-size: 20px;
}

/* == 2. Kicker == */
.wp-block-woocommerce-cart-order-summary-heading-block.wc-block-cart__totals-title,
table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-total,
table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-image,
.kicker{
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
}
.kicker {
    display: inline-block;
    margin-bottom: 14px;
}

/* == 3. Container == */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}
.page-content .container {
    max-width: 998px;
}

@media screen and (max-width: 1280px) {
    .container {
        max-width: 1024px;
    }
}

@media screen and (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }
}

/* == 4. Sales strip == */
.sale-strip {
    background: var(--deep-navy);
    color: #fff;
    overflow: hidden;
    padding: 10px 0;
    font-size: 12.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    display: flex;
}
.sale-strip .marquee {
    white-space: nowrap;
    animation: marq 30s linear infinite;
}

/* == 5. Panel == */
.contact-wrap .wpcf7-response-output{
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
}

.contact-wrap .wpcf7-response-output{
    /* only for contact form 7 */
    margin-left: 0;
    margin-right: 0;
    padding: 16px !important;
    color: #fff;
    background-color: var(--color-golden);
    border: 1px solid var(--color-golden) !important;
}

.woocommerce-notices-wrapper .woocommerce-message {
    font-family: var(--font-body);
    background-color: var(--card-bg);
    border-color: #1d8b49;
    border-radius: 12px;
}
.woocommerce-notices-wrapper .woocommerce-message::before{
    color: #1d8b49;;
}

.woocommerce-notices-wrapper + .woocommerce-info{
    font-family: var(--font-body);
    background-color: var(--card-bg);
    border-top-color: var(--primary);
    border-radius: 12px;
}

.woocommerce-notices-wrapper .woocommerce-error{
    margin: 0;
    border-color: var(--coral-hover);
    border-radius: 12px;
    font-family: var(--font-body);
}

/* == 6.  Breadcrumbs == */
.woocommerce .woocommerce-breadcrumb {
    padding: 80px 0 40px;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--body);
    font-weight: 600;
    font-family: var(--font-body);
}
.woocommerce .woocommerce-breadcrumb a{
    color: var(--primary);
}
.woocommerce .woocommerce-breadcrumb a:hover{
    color: var(--primary-hover);
}

@media screen and (max-width: 768px) {
    .woocommerce .woocommerce-breadcrumb {
        padding: 60px 0 20px;
    }
}

/* ----------------------------------------------------------------
    [ 4. Layout ]
-----------------------------------------------------------------*/
/* == 1. Sections == */
section {
    padding: 84px 0;
}
section.alt {
    background: var(--card-bg);
}

.section-clean {
    padding: 90px 0;
    background-color: var(--card-bg);
}

.section-head {
    max-width: 760px;
    text-align: center;
    margin: 0px auto 38px;
}
.section-head h2 + p {
    margin-top: 22px;
}
.section-head p{
    font-size: 18px;
}

@media screen and (max-width: 768px) {
    .section-clean {
        padding: 64px 0;
    }
}

/* == 2. Page hero == */
.page-hero {
    background: linear-gradient(135deg, var(--color-secondary), var(--primary));
    padding: 80px 0 90px;
    text-align: center;
    color: #fff;
}
.page-hero h1 {
    margin: 0 0 14px;
    color: #fff;
}
.page-hero h1 span{
    font-style: italic;
    font-family: var(--font-serif);
}
.page-hero__line {
    width: 80px;
    height: 4px;
    background: var(--color-golden);
    border-radius: 20px;
    margin: 0 auto 24px
}
.page-hero p {
    max-width: 768px;
    margin: auto;
    font-size: 19px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
    /* line-height: 1.7 */
}
@media screen and (max-width: 992px) {
    .page-hero h1 {
        font-size: 42px;
    }
    .page-hero p {
        font-size: 16px;
    }
}

/* == 3. Page hero 2 == */
.page-hero-2 {
    padding: 60px 0 36px;
    text-align: center;
}
.page-hero-2__title {
    margin: 0 0 14px;
}
.page-hero-2__title span{
    font-style: italic;
    font-family: var(--font-serif);
}
.archive .page-hero-2__title span{
    color: var(--primary);
}

.page-hero-2__description {
    max-width: 768px;
    margin: auto;
    font-size: 19px;
    line-height: 1.55;
    color: var(--body);
}

@media screen and (max-width: 992px) {
    .page-hero-2__title {
        font-size: 2.4rem;
    }
    .page-hero-2__description {
        font-size: 16px;
    }
}

/* == 4. Page content == */
.page-content {
    padding: 24px 0 80px;
    color: var(--body);
    font-size: 16.5px;
}

.page-content h2 {
    font-size: 24px;
}

.page-content ul,
.page-content ol {
    margin-left: 0;
    margin-bottom: 12px;
}
.page-content ul {
    margin-left:  16px;
}

.page-content ul li:not(:last-child),
.page-content ol li:not(:last-child) {
    margin-bottom: 8px;
}


.page-content h2:not(:last-child) {
    margin-bottom: 24px;
}
.page-content h3:not(:last-child) {
    margin-bottom: 16px;
}

.page-content p:not(:last-child) {
    margin-bottom: 6px;
}

.page-content ul + h2,
.page-content ol + h2,
.page-content ul + h3,
.page-content ol + h3,
.page-content p + h2,
.page-content p + h3 {
    margin-top: 24px;
}

.page-content p + ul,
.page-content p + ol {
    margin-top: 12px;
}


/* ----------------------------------------------------------------
    [ 5. Nav ]
-----------------------------------------------------------------*/
nav.top-nav {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    height: 46px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-size: 14.5px;
    font-weight: 600;
}

.nav-links a {
    color: var(--body);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    transition: background 0.3s ease;
}
.nav-cta:hover {
    background: var(--primary-hover);
}

.nav-menu {
    display: contents;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--heading);
    cursor: pointer;
    flex-shrink: 0;
}

.menu-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}

.menu-open .menu-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.menu-backdrop {
    display: none;
}

@media screen and (max-width: 1024px) {
    .brand img {
        height: 38px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 50;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px 16px 24px;
        background: var(--card-bg);
        border-bottom: 1px solid var(--border);
        max-height: calc(100vh - 88px);
        overflow-y: auto;
    }

    .menu-open .nav-menu {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        padding: 16px 4px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-cta {
        display: flex;
        justify-content: center;
        margin: 16px 4px 0;
    }

    body.menu-open {
        overflow: hidden;
    }

    .menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 90;
        background: rgba(14, 26, 69, 0.28);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .2s, visibility .2s;
    }

    .menu-open .menu-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

/* ----------------------------------------------------------------
    [ 6. Footer ]
-----------------------------------------------------------------*/
footer {
    background: #060E2A;
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0 30px;
    font-size: 13.5px;
}

footer .foot-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

footer h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

footer ul {
    list-style: none;
}

footer li {
    padding: 4px 0;
}

footer .ruo {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.foot-img {
    display: inline-block;
    margin-bottom: 20px;
}
.foot-img img {
    height: 42px;
    width: auto;
}

.foot-col-1 p {
    max-width: 260px; 
    color: rgba(255,255,255,0.6);
}

.foot-col a{
    transition: color 0.3s ease;
}
.foot-col a:hover {
    color: #fff;
}

@media screen and (max-width: 1024px) {
    .foot-grid {
        gap: 20px;
    }
    .foot-col-1 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .foot-col-1 p{
        max-width: 100%;
    }

    .foot-col-2,
    .foot-col-3,
    .foot-col-4 {
        flex: 0 0 33.33333333333333%;
        max-width: 33.33333333333333%;
    }
}

@media screen and (max-width: 520px) {
    .foot-col-2,
    .foot-col-3,
    .foot-col-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ----------------------------------------------------------------
    [ 7. CTA ]
-----------------------------------------------------------------*/
.final-cta {
    background: var(--deep-navy);
    color: #fff;
    text-align: center;
    padding: 90px 0;
}
.final-cta .kicker {
    color: var(--muted-teal);
}
.final-cta h2 {
    color: #fff;
}
.final-cta p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 620px;
    margin: 22px auto 32px;
    font-size: 18px;
}

/* ----------------------------------------------------------------
    [ 8. Buttons ]
-----------------------------------------------------------------*/

.woocommerce-account .edit-account .button,
.woocommerce-account form .woocommerce-button,
.wc-block-checkout__actions .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button--full-width,
.btn-primary,
.contact-wrap .btn-submit {
    background: var(--primary);
    color: #fff;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14.5px;
    transition: all .2s;
    border: none;
    cursor: pointer;
}
.wc-block-checkout__actions .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button--full-width,
.btn-primary:hover,
.contact-wrap .btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent;
    color: var(--heading);
    padding: 15px 30px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    font-weight: 700;
    font-size: 14.5px;
    transition: all .2s, transform .2s;
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.btn-golden {
    background: var(--color-golden);
    color: #fff;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14.5px;
    transition: background .2s, transform .2s;
    border: none;
    cursor: pointer;
}
.btn-golden:hover {
    background: var(--color-golden-hover);
    transform: translateY(-1px);
}

.woocommerce .woocommerce-info .button,
.btn-coral {
    background: var(--coral);
    color: #fff;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14.5px;
    transition: background .2s, transform .2s;
    border: none;
    cursor: pointer;
}

.woocommerce .woocommerce-info .button:hover,
.btn-coral:hover {
    background: var(--coral-hover);
    transform: translateY(-1px);
    color: #fff;
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button,
.wc-block-cart__submit-container .wc-block-cart__submit-button,
.woocommerce-notices-wrapper .woocommerce-message .button {
    font-family: var(--body);
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    transition: all .2s;
}

.woocommerce-account .edit-account .button:hover,
.woocommerce-account form .woocommerce-button:hover,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:hover,
.wc-block-cart__submit-container .wc-block-cart__submit-button:hover,
.woocommerce-notices-wrapper .woocommerce-message .button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    color: #fff;
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button{
    font-weight: 800;
}

/* ----------------------------------------------------------------
    [ 9. Tag ]
-----------------------------------------------------------------*/
.tag {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
}
.tag-old {
    background: #FBE9E5;
    color: var(--coral);
}
.tag-new {
    background: rgba(30, 63, 176, 0.08);
    color: var(--primary);
}
.tag-success {
    color: #1d8b49;
    background: #e6f5ec;
}

/* ----------------------------------------------------------------
    [ 10. Age gate ]
-----------------------------------------------------------------*/
.age-gate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(14, 26, 69, 0.55);
    backdrop-filter: blur(14px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.age-gate.is-open {
    display: flex;
}
body.age-gate-lock {
    overflow: hidden;
}
.age-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    max-width: 480px;
    width: 100%;
    padding: 48px 40px;
    text-align: center;
}
.age-card .kicker {
    display: block;
    margin-bottom: 18px;
}
.age-card h2 {
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.15;
    margin-bottom: 16px;
}
.age-card p.sub {
    color: var(--body);
    font-size: 15.5px;
    line-height: 1.6;
    max-width: 380px;
    margin: 0 auto 28px;
}
.age-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}
.age-actions .btn-primary {
    width: 100%;
}
.age-exit {
    color: var(--body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.age-exit:hover {
    color: var(--heading);
}

@media screen and (max-width: 768px) {
    .age-card {
        padding: 28px 18px;
    }
}

/* ----------------------------------------------------------------
    [ 11. Form ]
-----------------------------------------------------------------*/
form label,
.woocommerce ul.order_details li {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--body);
    margin-bottom: 6px;
}

.woocommerce-account form .form-row .input-text,
.wc-block-components-textarea,
input[type="text"], input[type="email"], input[type="password"], select, textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font: inherit;
    transition: border-color 0.3s ease;
}

.wc-block-components-form .wc-block-components-text-input input[type=email],
.wc-block-components-totals-coupon__form .wc-block-components-text-input.wc-block-components-totals-coupon__input input[type="text"]{
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.3s ease;
}

.woocommerce-account form .form-row .input-text:focus,
.wc-block-components-totals-coupon__form .wc-block-components-text-input.wc-block-components-totals-coupon__input input[type="text"]:focus,
input:focus, input[type="email"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* == Error == */
.wc-block-components-validation-error,
.wpcf7-not-valid-tip{
    font-size: 12px;
    margin-top: 4px;
    color: var(--coral-hover);
}

.wc-block-components-validation-error p{
    color: var(--coral-hover);
    font-size: 12px;
}

/* ----------------------------------------------------------------
    [ *. Animations ]
-----------------------------------------------------------------*/
@keyframes marq {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}