/*
Theme Name: LB Products Red
Theme URI: https://trexdosing.com
Author: T-Rex Dosing
Description: Research-grade peptide store theme. Clean minimal red-accented WooCommerce design with animated homepage and matching product, shop, policy and About pages.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: trexred
*/


:root{--bg:#fff;--bg2:#f6f6f7;--ink:#181818;--text:#666;--soft:#8a8a8a;--red:#e33548;--red-d:#c62339;--orange:#ffa832;--line:#ececec;--font:'Outfit',system-ui,sans-serif}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);color:var(--text);background:var(--bg);line-height:1.65;font-weight:400;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%} a{color:inherit;text-decoration:none}
.wrap{width:min(1240px,100% - 3rem);margin-inline:auto}
h1,h2,h3{color:var(--ink);font-family:var(--font);line-height:1.15;font-weight:600;text-transform:uppercase;letter-spacing:.01em}
.red{color:var(--red)}
.eyebrow{font-size:.8rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--red);display:inline-block}
.btn{display:inline-flex;align-items:center;gap:.5rem;font-weight:600;font-size:.9rem;letter-spacing:.03em;text-transform:uppercase;color:#fff;background:var(--ink);padding:.95rem 1.9rem;border-radius:6px;transition:.18s}
.btn:hover{background:var(--red);transform:translateY(-1px)}
.btn.red{background:var(--red);color:#fff} .btn.red:hover{background:var(--red-d)}
.btn.out{background:transparent;color:var(--ink);border:1.5px solid var(--ink)} .btn.out:hover{background:var(--ink);color:#fff}

/* marquee */
.marquee{background:var(--ink);color:#fff;font-size:.8rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;overflow:hidden;white-space:nowrap;padding:.6rem 0}
.marquee .track{display:inline-block;animation:scroll 30s linear infinite}
.marquee span{padding:0 2rem} .marquee span::before{content:"";display:inline-block;width:5px;height:5px;background:var(--red);border-radius:50%;margin-right:2rem;vertical-align:middle}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* header */
header.site{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);transition:.2s}
header.site.scrolled{box-shadow:0 4px 20px rgba(0,0,0,.06)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:.85rem 0}
.nav .logo img{height:44px;width:auto}
.nav ul{display:flex;gap:2.1rem;list-style:none;font-weight:500;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ink)}
.nav ul a:hover{color:var(--red)}
.nav .actions{display:flex;gap:1.3rem;align-items:center;font-weight:500;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;color:var(--ink)}
.nav .actions .cart{background:var(--ink);color:#fff;padding:.55rem 1.05rem;border-radius:6px}

/* hero */
.hero{background:var(--bg2);border-bottom:1px solid var(--line);position:relative;overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center;padding:clamp(3rem,7vw,5.5rem) 0}
.hero h1{font-size:clamp(2.3rem,5.2vw,3.7rem);font-weight:600;margin:1rem 0 1.2rem;color:var(--ink);letter-spacing:.005em}
.hero p.lede{color:var(--text);font-size:1.1rem;max-width:33em;margin-bottom:2rem;text-transform:none}
.hero .cta{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:2rem}
.hero .pills{display:flex;gap:1.6rem;flex-wrap:wrap;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;color:var(--soft);font-weight:500}
.hero .pills b{color:var(--red);font-weight:600}
.hero-visual{position:relative;text-align:center}
.hero-visual::before{content:"";position:absolute;inset:8% 14%;background:radial-gradient(circle,rgba(227,53,72,.08),transparent 70%);border-radius:50%}
.hero-visual img{position:relative;margin:0 auto;max-height:420px;width:auto;filter:drop-shadow(0 26px 40px rgba(0,0,0,.16))}

/* trust strip */
.trust{background:#fff;border-bottom:1px solid var(--line)}
.trust .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:1.6rem;padding:2rem 0}
.trust .t{display:flex;gap:.9rem;align-items:center}
.trust .t .ic{width:42px;height:42px;color:var(--red);flex:0 0 auto;display:grid;place-items:center}
.trust .t .ic svg{width:26px;height:26px}
.trust .t b{color:var(--ink);font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;font-weight:600;display:block} .trust .t span{font-size:.82rem;color:var(--soft);text-transform:none}

section{padding:clamp(3.4rem,7vw,5.5rem) 0}
.head{text-align:center;max-width:40em;margin:0 auto clamp(2.2rem,4vw,3.2rem)}
.head .eyebrow{margin-bottom:.7rem}
.head h2{font-size:clamp(1.7rem,4vw,2.5rem);font-weight:600;margin-bottom:.7rem}
.head p{color:var(--text);text-transform:none}

/* product grid */
.pgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem}
.pcard{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;transition:.2s;display:block}
.pcard:hover{box-shadow:0 18px 40px rgba(0,0,0,.1);transform:translateY(-4px)}
.pcard-img{background:#fafafa;aspect-ratio:1/1;display:grid;place-items:center;overflow:hidden;border-bottom:1px solid var(--line)}
.pcard-img img{width:78%;transition:.3s} .pcard:hover .pcard-img img{transform:scale(1.05)}
.pcard-body{padding:1.15rem 1.2rem 1.3rem;text-align:center}
.pcard-tag{font-size:.66rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--red)}
.pcard-body h3{font-size:1rem;font-weight:600;margin:.4rem 0 .7rem;color:var(--ink)}
.pcard-foot{display:flex;flex-direction:column;gap:.7rem;align-items:center}
.price{font-weight:500;color:var(--ink);font-size:1.15rem}
.pcard-cta{font-size:.7rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#fff;background:var(--ink);padding:.6rem 1.3rem;border-radius:6px;transition:.18s}
.pcard:hover .pcard-cta{background:var(--red)}
.center-btn{text-align:center;margin-top:2.8rem}

/* stats band */
.stats{background:var(--ink);color:#fff}
.stats .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;padding:clamp(2.8rem,5vw,3.6rem) 0;text-align:center}
.stat .num{font-size:clamp(2.2rem,4vw,3rem);font-weight:600;color:#fff}
.stat .num .red{color:var(--red)}
.stat .lbl{color:#b3b3b3;font-weight:500;font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;margin-top:.4rem}

/* about */
.about{background:var(--bg2)}
.about .wrap{display:grid;grid-template-columns:1fr 1fr;gap:3.2rem;align-items:center}
.about-img{text-align:center} .about-img img{max-height:420px;width:auto;margin:0 auto;filter:drop-shadow(0 20px 34px rgba(0,0,0,.14))}
.about h2{font-size:clamp(1.7rem,4vw,2.4rem)}
.about p{margin:.9rem 0;text-transform:none}
.chips{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1.4rem}
.chip{border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:500;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;padding:.5rem 1rem;border-radius:999px}

/* faq */
.faq-list{max-width:840px;margin:0 auto;display:flex;flex-direction:column;gap:.8rem}
.faq-item{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}
.faq-q{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.15rem 1.4rem;cursor:pointer;font-weight:600;font-size:.92rem;letter-spacing:.03em;text-transform:uppercase;color:var(--ink);list-style:none}
.faq-q::-webkit-details-marker{display:none}
.faq-q .plus{flex:0 0 auto;width:24px;height:24px;color:var(--red);font-size:1.3rem;line-height:1;transition:.2s}
details[open] .faq-q .plus{transform:rotate(45deg)}
.faq-a{padding:0 1.4rem 1.25rem;color:var(--text);text-transform:none}

/* cta band */
.ctaband{background:var(--red)}
.ctaband .wrap{text-align:center;color:#fff;padding:clamp(3rem,6vw,4.2rem) 1.6rem}
.ctaband h2{color:#fff;font-size:clamp(1.8rem,4.4vw,2.7rem)}
.ctaband p{color:rgba(255,255,255,.9);font-size:1.08rem;margin:.9rem auto 1.7rem;max-width:34em;text-transform:none}
.ctaband .btn{background:#fff;color:var(--ink)} .ctaband .btn:hover{background:var(--ink);color:#fff}

/* footer */
footer.site{background:var(--ink);color:#9a9a9a;padding:clamp(3rem,6vw,4rem) 0 2rem}
footer.site .cols{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:2.5rem;padding-bottom:2.4rem;border-bottom:1px solid #333}
footer.site .flogo img{height:40px;margin-bottom:1rem;filter:brightness(0) invert(1)}
footer.site h4{color:#fff;font-size:.78rem;letter-spacing:.13em;text-transform:uppercase;margin-bottom:1rem;font-weight:600}
footer.site ul{list-style:none;display:flex;flex-direction:column;gap:.6rem;font-size:.9rem}
footer.site a:hover{color:var(--red)}
footer.site .fine{font-size:.8rem;color:#6f6f6f;padding-top:1.6rem;line-height:1.7}
footer.site .copy{font-size:.82rem;color:#6f6f6f;margin-top:1rem}

.reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}
@media(max-width:900px){.hero .wrap,.about .wrap{grid-template-columns:1fr}.trust .wrap,.stats .wrap{grid-template-columns:repeat(2,1fr)}.pgrid{grid-template-columns:repeat(2,1fr)}.nav ul,.nav .actions .acc{display:none}footer.site .cols{grid-template-columns:1fr 1fr}}

/* ===== page templates ===== */
.page-hero{background:var(--bg2);border-bottom:1px solid var(--line);padding:clamp(2.4rem,5vw,3.6rem) 0;text-align:center}
.page-hero .eyebrow{margin-bottom:.6rem}
.page-hero h1{font-size:clamp(1.8rem,4.4vw,2.7rem);font-weight:600;text-transform:uppercase;color:var(--ink)}
.page-body{padding:clamp(2.6rem,6vw,4.5rem) 0}
.entry-content{max-width:820px;margin:0 auto;font-size:1.02rem}
.entry-content h2{font-size:1.5rem;margin:2rem 0 .8rem;text-transform:uppercase;font-weight:600}
.entry-content h3{font-size:1.2rem;margin:1.5rem 0 .6rem;text-transform:uppercase;font-weight:600}
.entry-content p{margin:0 0 1.1rem;text-transform:none}
.entry-content ul,.entry-content ol{margin:0 0 1.1rem 1.3rem}.entry-content li{margin-bottom:.5rem}
.entry-content a{color:var(--red);font-weight:500}.entry-content strong{color:var(--ink)}
.woo-wrap{padding:clamp(2.4rem,5vw,4rem) 0}
.woocommerce .woocommerce-breadcrumb{font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--soft);margin-bottom:1.4rem}
.woocommerce-message,.woocommerce-info{border-top-color:var(--red)}.woocommerce-message::before,.woocommerce-info::before{color:var(--red)}


/* ============ v1.1 FIXES ============ */
/* logo size */
.nav .logo{display:flex;align-items:center;line-height:0}
.nav .logo img,.nav .custom-logo-link img{height:42px!important;width:auto!important;max-width:200px!important;margin:0!important}
footer.site .flogo img{height:38px!important;width:auto!important;filter:none!important;margin-bottom:1rem}

/* ---- WooCommerce shop grid (override default float widths) ---- */
.woocommerce ul.products,.woocommerce-page ul.products{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:1.5rem!important;margin:0!important;padding:0!important}
@media(max-width:900px){.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,1fr)!important}}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;float:none!important;margin:0!important;padding:0!important;clear:none!important;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;text-align:center;transition:.2s}
.woocommerce ul.products li.product::before{display:none!important}
.woocommerce ul.products li.product:hover{box-shadow:0 18px 40px rgba(0,0,0,.1);transform:translateY(-4px)}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block}
.woocommerce ul.products li.product img{width:100%!important;height:auto!important;aspect-ratio:1/1;object-fit:contain;background:#fafafa;padding:1.1rem;margin:0!important;border-bottom:1px solid var(--line)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:1rem 1rem .35rem;font-size:.97rem;font-weight:600;text-transform:uppercase;color:var(--ink);white-space:normal;line-height:1.25}
.woocommerce ul.products li.product .price{padding:0 1rem;font-size:1.05rem;color:var(--ink)!important;font-weight:500;display:block}
.woocommerce ul.products li.product .price del{color:var(--soft);font-weight:400;font-size:.9rem}
.woocommerce ul.products li.product .price ins{color:var(--red);text-decoration:none}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .added_to_cart{display:inline-block;margin:.9rem auto 1.2rem!important;white-space:nowrap;background:var(--ink)!important;color:#fff!important;border-radius:6px!important;text-transform:uppercase;font-weight:600!important;font-size:.72rem!important;letter-spacing:.08em;padding:.7rem 1.4rem!important}
.woocommerce ul.products li.product .button:hover{background:var(--red)!important}
.woocommerce .woocommerce-result-count{color:var(--soft);font-size:.85rem}
.woocommerce .woocommerce-ordering select{border:1px solid var(--line);border-radius:6px;padding:.5rem}

/* ---- Single product (match rebirthlabs: clean, no tab clutter) ---- */
.single-product div.product{display:grid!important;grid-template-columns:1fr 1fr;gap:3.2rem;align-items:flex-start}
@media(max-width:900px){.single-product div.product{grid-template-columns:1fr;gap:2rem}}
.single-product div.product .woocommerce-product-gallery{width:auto!important;float:none!important;margin:0!important;background:#fafafa;border:1px solid var(--line);border-radius:14px;padding:1.5rem}
.single-product div.product .summary{width:auto!important;float:none!important;margin:0!important}
.single-product .product_title{font-size:clamp(1.7rem,3.6vw,2.4rem);font-weight:600;text-transform:uppercase;color:var(--ink);margin:0 0 .5rem;line-height:1.1}
.single-product .summary .price{font-size:1.55rem;color:var(--ink)!important;font-weight:500;margin-bottom:1.1rem}
.single-product .summary .price del{color:var(--soft);font-weight:400;font-size:1.1rem;margin-right:.5rem;opacity:.7}
.single-product .summary .price ins{color:var(--red);text-decoration:none}
.woocommerce-product-details__short-description{color:var(--text);margin:.4rem 0 1.4rem;font-size:1rem}
.single-product form.cart{margin:1.3rem 0 .5rem}
.single-product table.variations{margin-bottom:1rem}
.single-product table.variations td,.single-product table.variations th{padding:.4rem 0;border:0}
.single-product table.variations label{text-transform:uppercase;font-size:.78rem;letter-spacing:.08em;font-weight:600;color:var(--ink)}
.single-product .variations select{border:1px solid var(--line);border-radius:6px;padding:.6rem .8rem;min-width:180px}
.single-product .woocommerce-variation-add-to-cart{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap}
.single-product form.cart .quantity input.qty{border:1px solid var(--line);border-radius:6px;padding:.75rem;width:70px;text-align:center}
.woocommerce div.product form.cart .button,.single_add_to_cart_button{background:var(--red)!important;color:#fff!important;border-radius:6px!important;text-transform:uppercase;font-weight:600!important;letter-spacing:.05em;padding:.95rem 2.3rem!important;font-size:.9rem!important;transition:.18s}
.woocommerce div.product form.cart .button:hover,.single_add_to_cart_button:hover{background:var(--red-d)!important}
.single-product .product_meta{font-size:.8rem;color:var(--soft);text-transform:uppercase;letter-spacing:.04em;margin-top:1.4rem;border-top:1px solid var(--line);padding-top:1rem}
.single-product .product_meta a{color:var(--soft)}
/* hide default WooCommerce tabs (rebirthlabs has none) */
.single-product .woocommerce-tabs{display:none!important}
/* clean description section */
.product-desc{background:var(--bg2);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:3rem;padding:clamp(2.6rem,5vw,4rem) 0}
.product-desc h2{text-align:center;text-transform:uppercase;font-weight:600;font-size:1.5rem;margin-bottom:1.4rem;color:var(--ink)}
.product-desc .entry-content{max-width:800px;margin:0 auto;text-transform:none}
.product-desc .entry-content p{text-transform:none}
/* related products */
.single-product .related.products,.single-product .up-sells{margin-top:3.5rem;clear:both}
.single-product .related.products>h2,.single-product .up-sells>h2{text-align:center;text-transform:uppercase;font-weight:600;font-size:1.5rem;margin-bottom:2rem;color:var(--ink)}


/* v1.2 image display fix */
.woocommerce ul.products li.product img{height:300px!important;width:100%!important;object-fit:contain!important;aspect-ratio:auto!important;padding:1.2rem!important;background:#fafafa}
.single-product div.product .woocommerce-product-gallery img{width:auto!important;max-height:520px;object-fit:contain;margin:0 auto}
.hero-visual img{max-height:420px;width:auto;margin:0 auto}

/* ============ v1.3 ============ */
/* product cards use gray-gradient images edge-to-edge */
.woocommerce ul.products li.product img{height:auto!important;width:100%!important;aspect-ratio:1/1;object-fit:cover!important;padding:0!important;background:#eee;border-bottom:1px solid var(--line)}
.pcard-img{aspect-ratio:1/1;padding:0;background:#eee}
.pcard-img img{width:100%;height:100%;object-fit:cover}
.hero-visual img{max-height:440px;width:auto;margin:0 auto}
/* MOBILE: single column products */
@media(max-width:600px){
  .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:1fr!important}
  .pgrid{grid-template-columns:1fr!important}
  .trust .wrap,.features .wrap,.stats .wrap{grid-template-columns:1fr!important}
  .nav .logo img{height:36px!important}
}

/* red features band */
.features{background:var(--red);color:#fff}
.features .wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:2.4rem;padding:clamp(3rem,6vw,4.5rem) 0;text-align:center}
.features .feat .ic{display:inline-flex;width:56px;height:56px;color:#fff;margin-bottom:1rem}
.features .feat .ic svg{width:56px;height:56px}
.features .feat h3{color:#fff;text-transform:uppercase;font-weight:600;font-size:1.25rem;margin-bottom:.7rem}
.features .feat p{color:rgba(255,255,255,.92);font-size:.98rem;max-width:24em;margin:0 auto;text-transform:none}

/* RED gradient footer */
footer.site{background:linear-gradient(180deg,#e33548 0%,#8f1826 100%)!important;color:rgba(255,255,255,.9)!important;padding:clamp(3rem,6vw,4.5rem) 0 2rem;border:0!important}
footer.site .cols{grid-template-columns:1.6fr 1fr 1fr 1.3fr;border-bottom:1px solid rgba(255,255,255,.2)!important}
footer.site .flogo img{filter:brightness(0) invert(1)!important;height:40px!important;margin-bottom:1rem}
footer.site .fabout p{color:rgba(255,255,255,.9);font-size:.95rem;max-width:28em;text-transform:none}
footer.site .fmail a{color:#fff;font-weight:600}
footer.site h4{color:#fff!important;letter-spacing:.1em}
footer.site ul a,footer.site a{color:rgba(255,255,255,.9)}
footer.site ul a{text-transform:uppercase;font-size:.82rem;letter-spacing:.04em}
footer.site a:hover{color:#fff;text-decoration:underline}
footer.site .fine,footer.site .copy{color:rgba(255,255,255,.7)!important}
footer.site .fine{border-top:1px solid rgba(255,255,255,.15);margin-top:1rem}
.fnews form.news{display:flex;background:#fff;border-radius:8px;overflow:hidden;margin-top:.9rem;max-width:320px}
.fnews form.news input{flex:1;border:0;padding:.8rem 1rem;font-family:var(--font);font-size:.9rem;outline:0}
.fnews form.news button{background:var(--ink);color:#fff;border:0;padding:0 1.1rem;font-size:1.1rem;cursor:pointer}
.fnews p{color:rgba(255,255,255,.9);font-size:.92rem;text-transform:none}
@media(max-width:900px){footer.site .cols{grid-template-columns:1fr 1fr}}
@media(max-width:600px){footer.site .cols{grid-template-columns:1fr;text-align:left}.fnews form.news{max-width:100%}}


/* ============ v1.4  rebirthlabs-match ============ */
/* --- header: red top bar + centered logo + hamburger drawer + icons --- */
.topbar{background:var(--red);color:#fff;text-align:center;font-size:.9rem;font-weight:500;letter-spacing:.02em;padding:.5rem 1rem;line-height:1.3}
header.site{position:sticky;top:0;z-index:60;background:#fff;border-bottom:1px solid var(--line);backdrop-filter:none}
.hdr-inner{position:relative;display:flex;align-items:center;max-width:1240px;margin:0 auto;padding:.85rem clamp(1rem,3vw,1.5rem);min-height:64px}
.burger{background:none;border:0;cursor:pointer;width:32px;height:24px;display:flex;flex-direction:column;justify-content:space-between;padding:4px 0;z-index:2}
.burger span{display:block;height:2px;width:100%;background:var(--ink);border-radius:2px;transition:.2s}
.hdr-inner .logo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);line-height:0}
.hdr-inner .logo img{height:42px!important;width:auto!important;max-width:210px!important;margin:0!important}
.hdr-inner .actions{display:flex;align-items:center;gap:.35rem;margin-left:auto;z-index:2}
.hdr-inner .actions .ic{background:none;border:0;cursor:pointer;color:var(--ink);width:42px;height:42px;display:grid;place-items:center;position:relative;transition:.15s;text-transform:none;letter-spacing:0}
.hdr-inner .actions .ic:hover{color:var(--red)}
.hdr-inner .actions .ic svg{width:23px;height:23px}
.hdr-inner .actions .cart .cart-n{position:absolute;top:3px;right:1px;background:var(--red);color:#fff;font-size:.6rem;font-weight:700;min-width:16px;height:16px;border-radius:9px;display:grid;place-items:center;padding:0 3px}
.drawer{position:fixed;inset:0;z-index:200;visibility:hidden;pointer-events:none}
.drawer.open{visibility:visible;pointer-events:auto}
.drawer-overlay{position:absolute;inset:0;background:rgba(0,0,0,.5);opacity:0;transition:.25s}
.drawer.open .drawer-overlay{opacity:1}
.drawer-panel{position:absolute;top:0;left:0;height:100%;width:min(340px,84vw);background:#fff;box-shadow:2px 0 30px rgba(0,0,0,.16);transform:translateX(-100%);transition:transform .28s ease;padding:1.6rem 1.6rem 2rem;display:flex;flex-direction:column}
.drawer.open .drawer-panel{transform:none}
.drawer-close{align-self:flex-end;background:none;border:0;font-size:2rem;line-height:1;color:var(--ink);cursor:pointer;margin-bottom:.6rem}
.drawer-nav{display:flex;flex-direction:column}
.drawer-nav a{padding:.95rem .2rem;border-bottom:1px solid var(--line);font-weight:600;text-transform:uppercase;letter-spacing:.06em;font-size:.9rem;color:var(--ink)}
.drawer-nav a:hover{color:var(--red)}
.drawer-foot{margin-top:auto;padding-top:1.4rem;font-size:.85rem}
.drawer-foot a{color:var(--red);font-weight:600}
.search-ov{position:fixed;top:0;left:0;right:0;z-index:210;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 8px 24px rgba(0,0,0,.08);transform:translateY(-100%);transition:transform .25s ease}
.search-ov.open{transform:none}
.search-ov .search-form{max-width:1240px;margin:0 auto;display:flex;align-items:center;gap:.6rem;padding:1.05rem clamp(1rem,3vw,1.5rem)}
.search-ov input[type=search]{flex:1;border:0;font-size:1.15rem;font-family:var(--font);padding:.55rem 0;outline:0;color:var(--ink);background:none}
.search-ov button{background:none;border:0;cursor:pointer;color:var(--ink);display:grid;place-items:center}
.search-ov button svg{width:23px;height:23px}
.search-ov .search-close{font-size:1.8rem;line-height:1}

/* --- minimal molecular hero (rebirth-style) --- */
.hero{background:#f6f7f9;border-bottom:1px solid var(--line);position:relative;overflow:hidden;display:grid;place-items:center;min-height:clamp(360px,44vw,520px)}
.hero::after{content:"";position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22340%22%20height%3D%22300%22%20viewBox%3D%220%200%20340%20300%22%3E%20%3Cg%20fill%3D%22none%22%20stroke%3D%22%23d3d8de%22%20stroke-width%3D%221.4%22%3E%20%3Cline%20x1%3D%2260%22%20y1%3D%2270%22%20x2%3D%22130%22%20y2%3D%2245%22%2F%3E%3Cline%20x1%3D%22130%22%20y1%3D%2245%22%20x2%3D%22150%22%20y2%3D%22120%22%2F%3E%20%3Cline%20x1%3D%22150%22%20y1%3D%22120%22%20x2%3D%2280%22%20y2%3D%22150%22%2F%3E%3Cline%20x1%3D%2280%22%20y1%3D%22150%22%20x2%3D%2260%22%20y2%3D%2270%22%2F%3E%20%3Cline%20x1%3D%22150%22%20y1%3D%22120%22%20x2%3D%22225%22%20y2%3D%22150%22%2F%3E%3Cline%20x1%3D%22225%22%20y1%3D%22150%22%20x2%3D%22250%22%20y2%3D%2280%22%2F%3E%20%3Cline%20x1%3D%22250%22%20y1%3D%2280%22%20x2%3D%22300%22%20y2%3D%22120%22%2F%3E%20%3Cline%20x1%3D%2280%22%20y1%3D%22150%22%20x2%3D%2270%22%20y2%3D%22230%22%2F%3E%3Cline%20x1%3D%2270%22%20y1%3D%22230%22%20x2%3D%22140%22%20y2%3D%22255%22%2F%3E%20%3Cline%20x1%3D%22140%22%20y1%3D%22255%22%20x2%3D%22200%22%20y2%3D%22215%22%2F%3E%3Cline%20x1%3D%22200%22%20y1%3D%22215%22%20x2%3D%22225%22%20y2%3D%22150%22%2F%3E%20%3Cline%20x1%3D%22200%22%20y1%3D%22215%22%20x2%3D%22285%22%20y2%3D%22240%22%2F%3E%20%3C%2Fg%3E%20%3Cg%20fill%3D%22%23dde1e6%22%3E%20%3Ccircle%20cx%3D%2260%22%20cy%3D%2270%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%22130%22%20cy%3D%2245%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%22120%22%20r%3D%229%22%2F%3E%20%3Ccircle%20cx%3D%2280%22%20cy%3D%22150%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%22225%22%20cy%3D%22150%22%20r%3D%229%22%2F%3E%3Ccircle%20cx%3D%22250%22%20cy%3D%2280%22%20r%3D%227%22%2F%3E%20%3Ccircle%20cx%3D%22300%22%20cy%3D%22120%22%20r%3D%226%22%2F%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%22230%22%20r%3D%227%22%2F%3E%3Ccircle%20cx%3D%22140%22%20cy%3D%22255%22%20r%3D%228%22%2F%3E%20%3Ccircle%20cx%3D%22200%22%20cy%3D%22215%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%22285%22%20cy%3D%22240%22%20r%3D%227%22%2F%3E%20%3C%2Fg%3E%20%3C%2Fsvg%3E");background-size:360px auto;opacity:.6;z-index:1}
.hero .wrap{display:block;grid-template-columns:none;text-align:center;padding:clamp(3rem,7vw,5rem) 0;position:relative;z-index:2;max-width:820px}
.hero .hero-visual{display:none!important}
.hero h1{font-size:clamp(2rem,5vw,3.3rem);font-weight:600;margin:.9rem auto 1.1rem;max-width:15em;color:var(--ink);letter-spacing:.01em}
.hero p.lede{color:var(--text);font-size:1.08rem;max-width:34em;margin:0 auto 1.9rem;text-transform:none}
.hero .cta{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center;margin-bottom:1.8rem}
.hero .pills{justify-content:center}

/* --- 3 text-feature row under hero --- */
.features3{background:#fff;border-bottom:1px solid var(--line)}
.features3 .wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:2.6rem;padding:clamp(2.6rem,5vw,3.6rem) 0}
.features3 .f3 h3{font-size:1.02rem;font-weight:600;text-transform:uppercase;color:var(--ink);letter-spacing:.03em;margin-bottom:.55rem}
.features3 .f3 p{color:var(--text);font-size:.96rem;text-transform:none;margin:0}
@media(max-width:820px){.features3 .wrap{grid-template-columns:1fr;gap:1.6rem}}

/* --- about (rebirth: heading + subheads + big lab photo) --- */
.about .about-photo{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:16px;filter:none;box-shadow:0 24px 50px rgba(0,0,0,.14)}
.about h2.about-title{font-size:clamp(1.8rem,4vw,2.5rem);margin-bottom:1.4rem}
.about .sub{font-weight:600;color:var(--ink);text-transform:uppercase;letter-spacing:.04em;font-size:.95rem;margin:1.3rem 0 .4rem}

/* --- single product: COA band + buy promo + specs + share --- */
.pdp-coa{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:var(--ink);color:#fff;border-radius:12px;padding:1rem 1.3rem;margin:1.3rem 0}
.pdp-coa .coa-txt b{display:block;text-transform:uppercase;letter-spacing:.05em;font-size:.9rem;color:#fff}
.pdp-coa .coa-txt span{font-size:.85rem;color:rgba(255,255,255,.7);text-transform:none}
.pdp-coa a.coa-btn{background:var(--red);color:#fff;font-weight:600;text-transform:uppercase;letter-spacing:.05em;font-size:.8rem;padding:.6rem 1.2rem;border-radius:6px;white-space:nowrap}
.pdp-coa a.coa-btn:hover{background:var(--red-d)}
.buy-promo{font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ink);margin:.4rem 0 1rem;font-size:.95rem}
.pdp-share{display:flex;gap:1.3rem;align-items:center;margin-top:1.6rem;flex-wrap:wrap}
.pdp-share a{display:inline-flex;align-items:center;gap:.4rem;color:var(--ink);font-size:.85rem;font-weight:500}
.pdp-share a:hover{color:var(--red)} .pdp-share svg{width:17px;height:17px}
.spec-block{margin-top:.4rem}
.spec-block h4{text-transform:uppercase;letter-spacing:.05em;font-size:.85rem;color:var(--ink);font-weight:700;margin:1.3rem 0 .4rem}
.spec-block ul{margin:.2rem 0 .2rem 1.2rem} .spec-block li{margin-bottom:.35rem;text-transform:none}
.spec-block p{text-transform:none;margin:.2rem 0}

/* --- product card category eyebrow (rebirth shows category over title) --- */
.woocommerce ul.products li.product .pcat{display:block;font-size:.66rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--soft);padding:1rem 1rem 0}
.pcard .pcard-tag{color:var(--soft)}


/* ===== v1.5 fixes ===== */
/* fix: below-fold lazy product images rendered tall then object-fit zoomed */
.woocommerce ul.products li.product img{aspect-ratio:1/1!important;height:auto!important}
/* mobile: logo top-left instead of centered */
@media(max-width:820px){.hdr-inner .logo{position:static!important;transform:none!important;margin:0 0 0 .55rem!important}.hdr-inner .logo img{height:34px!important}}


/* ===== v1.6 shop grid fix ===== */
/* WooCommerce clearfix ::before/::after become phantom grid cells -> remove so products fill left-to-right */
.woocommerce ul.products::before,.woocommerce ul.products::after,.woocommerce-page ul.products::before,.woocommerce-page ul.products::after{content:none!important;display:none!important}
/* keep SELECT OPTIONS / ADD TO CART button inside the card at narrow widths */
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .added_to_cart{max-width:calc(100% - 1.4rem);padding:.66rem .9rem!important;font-size:.68rem!important;letter-spacing:.04em!important}

/* v1.7 footer logo (baked white wordmark) + related/upsell button no-clip */
footer.site .flogo img{filter:none!important;height:40px!important;width:auto!important;margin-bottom:1rem!important}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .added_to_cart{white-space:normal!important;width:auto!important;max-width:calc(100% - 1.2rem)!important;line-height:1.15!important;box-sizing:border-box!important}
.woocommerce .related.products ul.products li.product,.woocommerce .up-sells ul.products li.product{overflow:visible!important}


/* variable product: amount swatches */
.single-product table.variations{display:block;width:100%;margin:0 0 1rem;border:0}.single-product table.variations tbody,.single-product table.variations tr{display:block;width:100%}.single-product table.variations th.label{display:none}.single-product table.variations td.value{display:block;width:100%;padding:0;border:0}.single-product table.variations select{display:none!important}.single-product table.variations td.value>a.reset_variations{display:none!important}.lb-var-head{display:flex;align-items:center;gap:.5rem;margin:0 0 .65rem}.lb-var-head .lb-var-label{font-size:.78rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ink)}.lb-var-head .lb-var-value{font-size:.78rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--red)}.lb-var-head .lb-var-clear{margin-left:auto;font-size:.7rem;font-weight:500;letter-spacing:.09em;text-transform:uppercase;color:var(--soft);background:0;border:0;padding:0;cursor:pointer;transition:.16s;opacity:0;pointer-events:none}.lb-var-head .lb-var-clear:hover{color:var(--ink)}.lb-var-head.is-set .lb-var-clear{opacity:1;pointer-events:auto}.lb-swatches{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.15rem}.lb-swatch{font-family:var(--font);font-size:.86rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ink);background:#fff;border:1.5px solid var(--line);border-radius:6px;padding:.72rem 1.15rem;min-width:70px;line-height:1;cursor:pointer;transition:.16s;-webkit-tap-highlight-color:transparent}.lb-swatch:hover{border-color:var(--red);color:var(--red)}.lb-swatch.is-active{background:var(--red);border-color:var(--red);color:#fff;box-shadow:0 3px 12px rgba(227,53,72,.24)}.lb-swatch.is-active:hover{background:var(--red-d);border-color:var(--red-d);color:#fff}.lb-swatch.is-out{color:var(--soft);border-color:var(--line);background:var(--bg2);text-decoration:line-through;cursor:not-allowed;box-shadow:none}.lb-swatch.is-out:hover{border-color:var(--line);color:var(--soft)}.lb-swatch:focus-visible{outline:2px solid var(--red);outline-offset:2px}.single-product .single_variation_wrap .woocommerce-variation{margin:0}.single-product .woocommerce-variation-price{margin:0 0 1rem}.single-product .woocommerce-variation-price .price{font-size:1.55rem;font-weight:600;color:var(--ink);letter-spacing:-.01em}.single-product .woocommerce-variation-price .price del{color:var(--soft);font-weight:400;font-size:1.1rem;margin-right:.45rem}.single-product .woocommerce-variation-price .price ins{text-decoration:none;color:var(--red)}.single-product .woocommerce-variation-availability p.stock{font-size:.78rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;margin:0 0 .85rem}.single-product .woocommerce-variation-availability p.in-stock{color:#2e9e5b}.single-product .woocommerce-variation-availability p.out-of-stock{color:var(--red)}.single-product .woocommerce-variation-description{font-size:.9rem;margin:0 0 .8rem}.single-product .woocommerce-variation-add-to-cart,.single-product form.cart:not(.variations_form){display:flex;align-items:stretch;gap:.7rem;flex-wrap:wrap}.single-product form.cart .quantity{display:flex}.lb-qty{display:inline-flex;align-items:stretch;border:1.5px solid var(--line);border-radius:6px;overflow:hidden;background:#fff}.lb-qty button{width:42px;border:0;background:#fff;color:var(--ink);font-size:1.15rem;font-weight:500;line-height:1;cursor:pointer;transition:.16s;padding:0}.lb-qty button:hover{background:var(--bg2);color:var(--red)}.single-product form.cart .quantity input.qty{border:0!important;border-radius:0!important;width:46px!important;min-height:54px;padding:.75rem .1rem!important;text-align:center;font-family:var(--font);font-weight:600;font-size:.95rem;color:var(--ink);background:#fff;-moz-appearance:textfield}.single-product form.cart .quantity input.qty::-webkit-outer-spin-button,.single-product form.cart .quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.single-product form.cart .quantity input.qty:focus{outline:0}.lb-qty:focus-within{border-color:var(--ink)}.woocommerce div.product form.cart .button,.single_add_to_cart_button{display:inline-flex!important;align-items:center;justify-content:center;flex:1 1 210px;min-height:54px;padding:.9rem 2rem!important}.woocommerce div.product form.cart .button:disabled,.single_add_to_cart_button:disabled,.single_add_to_cart_button.disabled{background:var(--bg2)!important;color:var(--soft)!important;box-shadow:none;cursor:not-allowed;opacity:1!important}.woocommerce div.product form.cart .button:disabled:hover,.single_add_to_cart_button:disabled:hover{background:var(--bg2)!important}@media(max-width:600px){.lb-swatch{flex:1 1 calc(50% - .25rem);min-width:0;padding:.78rem .6rem}.woocommerce div.product form.cart .button,.single_add_to_cart_button{flex:1 1 auto}}

.single-product div.product.lb-price-swap .woocommerce-variation-price{display:none}
.single-product div.product.lb-price-swap .summary>.price,.single-product div.product.lb-price-swap .summary>p.price{font-size:1.55rem;font-weight:600;color:var(--ink)}

.single-product .woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button,.single-product .woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button:hover{background:var(--bg2)!important;color:var(--soft)!important;box-shadow:none!important;cursor:not-allowed;opacity:1!important}
