/* =========================================================
   PEPS4LIFE
   Premium Research Storefront
   ========================================================= */

:root {
    --p4l-bg: #0b0f16;
    --p4l-bg-soft: #111722;
    --p4l-card: #171e29;
    --p4l-card-hover: #1d2633;

    --p4l-white: #ffffff;
    --p4l-text: #f5f3ed;
    --p4l-muted: #aeb5c0;

    --p4l-gold: #d99a3e;
    --p4l-gold-light: #efb75f;
    --p4l-gold-dark: #a86e24;

    --p4l-border: rgba(255, 255, 255, 0.10);
    --p4l-gold-border: rgba(217, 154, 62, 0.35);

    --p4l-radius: 14px;
    --p4l-radius-large: 22px;
    --p4l-max: 1200px;

    --p4l-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--p4l-bg);
    color: var(--p4l-text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: 0.2s ease;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* =========================================================
   GLOBAL LAYOUT
   ========================================================= */

.site-main,
main {
    width: 100%;
}

.container,
.section-inner {
    width: min(100% - 48px, var(--p4l-max));
    margin-inline: auto;
}

section {
    position: relative;
}

.section {
    padding: 90px 24px;
}

.section-dark {
    background: var(--p4l-bg);
}

.section-soft {
    background: var(--p4l-bg-soft);
}

.section-label,
.eyebrow {
    margin: 0 0 14px;
    color: var(--p4l-gold-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-title {
    margin: 0 0 18px;
    color: var(--p4l-white);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.section-copy {
    max-width: 700px;
    margin: 0;
    color: var(--p4l-muted);
    font-size: 17px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background: rgba(11, 15, 22, 0.96);
    border-bottom: 1px solid var(--p4l-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.admin-bar .site-header {
    top: 32px;
}

.site-header__inner {
    width: min(100% - 48px, var(--p4l-max));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.site-brand {
    color: var(--p4l-white);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.13em;
    white-space: nowrap;
}

.site-brand:hover {
    color: var(--p4l-gold-light);
}

.site-nav {
    margin-left: auto;
}

.site-nav__menu {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-nav__menu a {
    color: var(--p4l-muted);
    font-size: 14px;
    font-weight: 650;
}

.site-nav__menu a:hover,
.site-nav__menu .current-menu-item > a {
    color: var(--p4l-white);
}

.site-header__actions {
    display: flex;
    align-items: center;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--p4l-white);
    font-size: 14px;
    font-weight: 750;
}

.cart-link:hover {
    color: var(--p4l-gold-light);
}

.cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--p4l-gold);
    border-radius: 999px;
    color: #111;
    font-size: 11px;
    font-weight: 900;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 680px;
    padding: 125px 24px 115px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(217, 154, 62, 0.12),
            transparent 32%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(71, 91, 126, 0.13),
            transparent 35%
        ),
        linear-gradient(135deg, #0b0f16 0%, #101722 100%);
}

.hero::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    right: -180px;
    bottom: -200px;
    border: 1px solid rgba(217, 154, 62, 0.15);
    border-radius: 50%;
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: min(100%, var(--p4l-max));
    margin: 0 auto;
}

.hero__content {
    max-width: 790px;
}

.hero h1 {
    max-width: 900px;
    margin: 0 0 25px;
    color: var(--p4l-white);
    font-size: clamp(48px, 7vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.hero p {
    max-width: 680px;
    margin: 0 0 35px;
    color: var(--p4l-muted);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.button,
.btn,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
button.single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 25px;
    border: 1px solid var(--p4l-gold);
    border-radius: 8px;
    background: var(--p4l-gold);
    color: #111 !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.button:hover,
.btn:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
button.single_add_to_cart_button:hover {
    background: var(--p4l-gold-light);
    border-color: var(--p4l-gold-light);
    transform: translateY(-2px);
}

.button--secondary,
.btn-secondary {
    background: transparent;
    color: var(--p4l-white) !important;
    border-color: rgba(255, 255, 255, 0.22);
}

.button--secondary:hover,
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--p4l-gold);
}

/* =========================================================
   TRUST / QUALITY BAR
   ========================================================= */

.trust-bar {
    padding: 24px;
    background: var(--p4l-gold);
    color: #111;
}

.trust-bar__inner {
    width: min(100% - 48px, var(--p4l-max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    text-align: center;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* =========================================================
   STANDARD / FEATURE CARDS
   ========================================================= */

.standard-section,
.features-section {
    padding: 100px 24px;
    background: var(--p4l-bg);
}

.standard-section__inner,
.features-section__inner {
    width: min(100%, var(--p4l-max));
    margin: 0 auto;
}

.feature-grid,
.standard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 50px;
}

.feature-card,
.standard-card {
    min-height: 240px;
    padding: 32px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.035),
            rgba(255,255,255,0.012)
        );
    border: 1px solid var(--p4l-border);
    border-radius: var(--p4l-radius);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.feature-card:hover,
.standard-card:hover {
    transform: translateY(-5px);
    border-color: var(--p4l-gold-border);
    background: var(--p4l-card-hover);
}

.feature-card h3,
.standard-card h3 {
    margin: 0 0 12px;
    color: var(--p4l-white);
    font-size: 21px;
}

.feature-card p,
.standard-card p {
    margin: 0;
    color: var(--p4l-muted);
    font-size: 15px;
}

/* =========================================================
   SHOP / PRODUCT SECTION
   ========================================================= */

.shop-section,
.products-section {
    padding: 100px 24px;
    background: var(--p4l-bg-soft);
}

.shop-section__inner,
.products-section__inner {
    width: min(100%, var(--p4l-max));
    margin: 0 auto;
}

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 45px 0 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    padding: 18px 18px 24px !important;
    float: none !important;
    background: var(--p4l-card);
    border: 1px solid var(--p4l-border);
    border-radius: var(--p4l-radius);
    overflow: hidden;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    border-color: var(--p4l-gold-border);
}

.woocommerce ul.products li.product img {
    margin: 0 0 20px !important;
    border-radius: 10px;
    background: #fff;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 0 !important;
    color: var(--p4l-white);
    font-size: 17px !important;
    font-weight: 750;
}

.woocommerce ul.products li.product .price {
    color: var(--p4l-gold-light) !important;
    font-size: 16px !important;
    font-weight: 800;
}

.woocommerce span.onsale {
    min-width: auto;
    min-height: auto;
    padding: 7px 11px;
    background: var(--p4l-gold);
    color: #111;
    border-radius: 6px;
    line-height: 1;
    font-size: 11px;
    font-weight: 900;
}

/* =========================================================
   CATEGORY CARDS
   ========================================================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 45px;
}

.category-card {
    position: relative;
    min-height: 270px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(145deg, #171e29, #10151d);
    border: 1px solid var(--p4l-border);
    border-radius: var(--p4l-radius-large);
    overflow: hidden;
}

.category-card::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -60px;
    top: -70px;
    border: 1px solid rgba(217, 154, 62, 0.18);
    border-radius: 50%;
}

.category-card:hover {
    border-color: var(--p4l-gold-border);
    transform: translateY(-4px);
}

.category-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 7px;
    color: var(--p4l-white);
    font-size: 23px;
}

.category-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--p4l-muted);
    font-size: 14px;
}

/* =========================================================
   QUALITY / COA SECTION
   ========================================================= */

.quality-section,
.coa-section {
    padding: 105px 24px;
    background:
        radial-gradient(
            circle at 10% 50%,
            rgba(217,154,62,0.08),
            transparent 30%
        ),
        var(--p4l-bg);
}

.quality-grid,
.coa-grid {
    width: min(100%, var(--p4l-max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.quality-panel,
.coa-panel {
    padding: 38px;
    background: var(--p4l-card);
    border: 1px solid var(--p4l-border);
    border-radius: var(--p4l-radius-large);
    box-shadow: var(--p4l-shadow);
}

.quality-list {
    padding: 0;
    margin: 25px 0 0;
    list-style: none;
}

.quality-list li {
    padding: 14px 0;
    color: var(--p4l-muted);
    border-bottom: 1px solid var(--p4l-border);
}

.quality-list li::before {
    content: "✓";
    margin-right: 12px;
    color: var(--p4l-gold-light);
    font-weight: 900;
}

/* =========================================================
   EDUCATION
   ========================================================= */

.education-section {
    padding: 100px 24px;
    background: var(--p4l-bg-soft);
}

.education-grid {
    width: min(100%, var(--p4l-max));
    margin: 45px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.education-card {
    padding: 30px;
    background: var(--p4l-card);
    border: 1px solid var(--p4l-border);
    border-radius: var(--p4l-radius);
}

.education-card h3 {
    margin-top: 0;
    color: var(--p4l-white);
}

.education-card p {
    color: var(--p4l-muted);
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
    padding: 100px 24px;
    background: var(--p4l-bg);
}

.faq-inner {
    width: min(100%, 850px);
    margin: 0 auto;
}

.faq-item {
    padding: 22px 0;
    border-bottom: 1px solid var(--p4l-border);
}

.faq-item h3,
.faq-item summary {
    color: var(--p4l-white);
    font-size: 17px;
    font-weight: 750;
    cursor: pointer;
}

.faq-item p {
    color: var(--p4l-muted);
}

/* =========================================================
   DISCLOSURE / RESEARCH NOTICE
   ========================================================= */

.research-notice {
    padding: 35px 24px;
    background: #090c11;
    border-top: 1px solid var(--p4l-border);
    border-bottom: 1px solid var(--p4l-border);
}

.research-notice__inner {
    width: min(100%, 900px);
    margin: 0 auto;
    text-align: center;
}

.research-notice h3 {
    margin: 0 0 10px;
    color: var(--p4l-gold-light);
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.research-notice p {
    margin: 0;
    color: var(--p4l-muted);
    font-size: 13px;
    line-height: 1.7;
}

/* =========================================================
   AGE / DISCLOSURE GATE
   Styling ready for the popup we'll add next.
   ========================================================= */

.p4l-age-gate {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 8, 12, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.p4l-age-gate__box {
    width: min(100%, 580px);
    padding: 46px;
    background: #111722;
    border: 1px solid var(--p4l-gold-border);
    border-radius: 20px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
    text-align: center;
}

.p4l-age-gate__brand {
    margin-bottom: 25px;
    color: var(--p4l-gold-light);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.p4l-age-gate h2 {
    margin: 0 0 16px;
    color: var(--p4l-white);
    font-size: clamp(28px, 5vw, 38px);
    line-height: 1.15;
}

.p4l-age-gate p {
    margin: 0 0 18px;
    color: var(--p4l-muted);
    font-size: 14px;
    line-height: 1.7;
}

.p4l-age-gate__notice {
    padding: 16px;
    margin: 22px 0;
    background: rgba(255,255,255,0.035);
    border: 1px solid var(--p4l-border);
    border-radius: 10px;
    text-align: left;
    font-size: 12px;
}

.p4l-age-gate__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px;
}

.p4l-age-gate__enter,
.p4l-age-gate__exit {
    min-height: 50px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
}

.p4l-age-gate__enter {
    background: var(--p4l-gold);
    border: 1px solid var(--p4l-gold);
    color: #111;
}

.p4l-age-gate__enter:hover {
    background: var(--p4l-gold-light);
}

.p4l-age-gate__exit {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.20);
    color: var(--p4l-white);
}

.p4l-age-gate__exit:hover {
    border-color: var(--p4l-gold);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 65px 24px 30px;
    background: #080b10;
    border-top: 1px solid var(--p4l-border);
}

.site-footer__inner {
    width: min(100%, var(--p4l-max));
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 45px;
}

.site-footer h3,
.site-footer h4 {
    color: var(--p4l-white);
}

.site-footer p,
.site-footer a {
    color: var(--p4l-muted);
    font-size: 13px;
}

.site-footer a:hover {
    color: var(--p4l-gold-light);
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid var(--p4l-border);
    color: #777f8d;
    font-size: 12px;
}

/* =========================================================
   WOOCOMMERCE GENERAL
   ========================================================= */

.woocommerce,
.woocommerce-page {
    color: var(--p4l-text);
}

.woocommerce div.product {
    padding-top: 40px;
}

.woocommerce div.product .product_title {
    color: var(--p4l-white);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--p4l-gold-light);
}

.woocommerce-message,
.woocommerce-info {
    background: var(--p4l-card);
    color: var(--p4l-text);
    border-top-color: var(--p4l-gold);
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--p4l-gold);
}

.woocommerce table.shop_table {
    border-color: var(--p4l-border);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce select {
    padding: 13px;
    background: var(--p4l-card);
    border: 1px solid var(--p4l-border);
    border-radius: 7px;
    color: var(--p4l-white);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .admin-bar .site-header {
        top: 46px;
    }

    .site-nav {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 95px 24px 85px;
    }

    .feature-grid,
    .standard-grid,
    .category-grid,
    .education-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    .quality-grid,
    .coa-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trust-bar__inner {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 600px) {

    .container,
    .section-inner,
    .site-header__inner {
        width: min(100% - 32px, var(--p4l-max));
    }

    .site-header__inner {
        min-height: 68px;
    }

    .site-brand {
        font-size: 18px;
    }

    .hero {
        padding: 80px 20px 70px;
    }

    .hero h1 {
        font-size: clamp(42px, 13vw, 62px);
    }

    .hero__actions {
        display: grid;
    }

    .hero__actions .button,
    .hero__actions .btn {
        width: 100%;
    }

    .section,
    .standard-section,
    .features-section,
    .shop-section,
    .products-section,
    .quality-section,
    .coa-section,
    .education-section,
    .faq-section {
        padding: 70px 20px;
    }

    .feature-grid,
    .standard-grid,
    .category-grid,
    .education-grid,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .trust-bar__inner {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

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

    .p4l-age-gate__box {
        padding: 30px 22px;
    }

    .p4l-age-gate__actions {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   PEPS4LIFE HEADER LOGO
   ========================================================= */

.site-brand {
    display: flex;
    align-items: center;
    width: 240px;
    height: 68px;
    overflow: hidden;
}

.site-logo {
    display: block;
    width: 170px;
    height: 170px;
    object-fit: contain;
    transform: scale(1.55);
}

/* PEPS4LIFE HEADER BRAND */

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    height: 72px;
    overflow: visible;
}

.site-brand .site-logo {
    width: 58px;
    height: 58px;
    object-fit: cover;
    object-position: center 18%;
    transform: none;
    border-radius: 0;
}

.site-brand-name {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 3px;
    white-space: nowrap;
}

.site-brand-name span {
    color: #f4a321;
}

/* PEPS4LIFE HEADER BRAND */

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    height: 72px;
    overflow: visible;
}

.site-brand .site-logo {
    width: 58px;
    height: 58px;
    object-fit: cover;
    object-position: center 18%;
    transform: none;
    border-radius: 0;
}

.site-brand-name {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 3px;
    white-space: nowrap;
}

.site-brand-name span {
    color: #f4a321;
}