/*
Theme Name:   Clarity Labs Child
Theme URI:    https://claritylabs.com
Description:  Child theme for Clarity Labs — WooCommerce store on the Kadence theme. Holds brand tokens and custom overrides so parent updates never overwrite them.
Author:       Clarity Labs
Template:     kadence
Version:      1.9.31
Text Domain:  clarity-labs-child
*/

/* =====================================================================
   1. BRAND TOKENS  (ported from the prototype)
   ===================================================================== */
:root{
  --cl-blue:#1470C4;      /* primary / accent — the vial wordmark blue */
  --cl-blue-dark:#0F57A6; /* hover / pressed */
  --cl-blue-light:#74BDEE;/* light accent */
  --cl-navy:#0F1D2B;      /* dark UI (nav, footer) */
  --cl-ink:#111C28;       /* body text */
  --cl-slate:#5A6678;     /* secondary text */
  --cl-mute:#66707C;      /* disclosures / muted (WCAG-AA on white) */
  --cl-line:#E3E7EE;      /* borders */
  --cl-gray:#EDF1F4;      /* light fill */
  --cl-offwhite:#F7F8FA;  /* alt section background */
  --cl-gold:#C0A577;      /* rule/diamond accent */
  --cl-radius:20px;
}

/* =====================================================================
   2. GLOBAL TYPOGRAPHY / BUTTONS / CARDS
   ===================================================================== */
body{font-family:'Inter',-apple-system,system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--cl-ink)}
h1,h2,h3,h4,.entry-title,.wp-block-heading{font-family:'Fraunces',Georgia,serif;font-weight:600;color:var(--cl-navy)}
.cl-accent{font-family:'Fraunces',Georgia,serif;font-style:italic;color:var(--cl-blue);font-weight:500}

/* Buttons — pill, brand blue */
.wp-block-button__link,.button,.wc-block-components-button,.single_add_to_cart_button,.kb-button{
  border-radius:100px !important;font-weight:600 !important;
}
.button.alt,.single_add_to_cart_button,.wp-block-button__link{
  background:var(--cl-blue) !important;border-color:var(--cl-blue) !important;color:#fff !important;
}
.button.alt:hover,.single_add_to_cart_button:hover,.wp-block-button__link:hover{
  background:var(--cl-blue-dark) !important;border-color:var(--cl-blue-dark) !important;
}

/* Product tiles / info boxes — rounded */
.wc-block-grid__product,li.product,.kt-blocks-info-box-link-wrap{border-radius:var(--cl-radius)}

/* Muted / disclosure text */
.cl-disc,.disc{font-size:12.5px;color:var(--cl-mute);line-height:1.6}

/* Wordmark logo — two-tone (Clarity solid, Labs dimmed) */
.site-title.cl-wordmark{font-family:'Fraunces',Georgia,serif !important;font-weight:600 !important;letter-spacing:.005em !important}
.site-title.cl-wordmark span{opacity:.6}

/* =====================================================================
   3. SITE HEADER — dark navy on every page, white wordmark (prototype)
   ===================================================================== */
/* Dark header background on inner pages (home uses the transparent-over-hero
   treatment in section 5). */
/* sticky, slightly-transparent header on every inner page (prototype behavior).
   The translucent layer + blur live on ONE element only — the inner wrappers stay
   transparent so their alphas don't compound into an opaque bar. */
body:not(.home) #masthead{
  position:sticky;top:0;z-index:100;
  background:rgba(15,29,43,.94) !important;
  -webkit-backdrop-filter:saturate(160%) blur(12px);
  backdrop-filter:saturate(160%) blur(12px);
}
body:not(.home) .site-main-header-wrap,
body:not(.home) .site-header-row-container-inner,
body:not(.home) #main-header{background:transparent !important}
/* White wordmark + nav + cart on the dark header */
body:not(.home) #masthead .site-title,
body:not(.home) #masthead .site-title.cl-wordmark,
body:not(.home) #masthead .header-navigation a,
body:not(.home) #masthead .header-menu-container a{
  color:#fff !important;
}
body:not(.home) #masthead .header-navigation a:hover,
body:not(.home) #masthead .header-menu-container a:hover{
  color:var(--cl-blue-light) !important;
}
body:not(.home) #masthead .header-cart-wrap a,
body:not(.home) #masthead .header-cart-wrap .kadence-cart-total,
body:not(.home) #masthead .header-cart-wrap svg,
body:not(.home) #masthead .menu-toggle-open,
body:not(.home) #masthead .menu-toggle-open .kadence-svg-iconset{
  color:#fff !important;fill:#fff !important;
}
/* Header CTA button — white pill on the dark header (matches home) */
body:not(.home) #masthead .header-button,
body:not(.home) #masthead .header-button.button-style-filled{
  background-color:#fff !important;background-image:none !important;color:var(--cl-navy) !important;border-color:#fff !important;
}
body:not(.home) #masthead .header-button:hover{
  background-color:rgba(255,255,255,.88) !important;color:var(--cl-navy) !important;
}

/* =====================================================================
   4. HOMEPAGE SECTION PRIMITIVES
   Class names are prefixed .cl- so they never collide with Kadence/Woo.
   ===================================================================== */
.cl-section{padding:64px 0}
.cl-section.alt{background:var(--cl-offwhite)}
.cl-eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--cl-gold);margin:0 0 10px}
.cl-h2{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:clamp(28px,4vw,40px);color:var(--cl-navy);margin:0 0 8px}

/* Full-bleed section backgrounds, inner content constrained */
body.home .cl-section{margin-left:calc(50% - 50vw) !important;margin-right:calc(50% - 50vw) !important;}
body.home .cl-section > .wp-block-group__inner-container{
  max-width:1240px !important;margin-left:auto !important;margin-right:auto !important;
  padding-left:24px !important;padding-right:24px !important;box-sizing:border-box !important;
}
/* Prototype-scale section headings */
body.home .cl-h2{font-size:clamp(38px,5vw,58px) !important;font-weight:600 !important;line-height:1.05 !important;letter-spacing:-.03em !important;margin-bottom:30px !important;}

/* =====================================================================
   5. HOMEPAGE HERO  (consolidated — single source of truth)
   Full-bleed video cover, frosted panel anchored to the bottom, copy left /
   stats right, blue bottom-glow, transparent nav flush to the top.
   ===================================================================== */
/* Cover shell */
.cl-hero.wp-block-cover{min-height:88vh;align-items:stretch;padding:0}
body.home .cl-hero.wp-block-cover{min-height:88vh !important;margin-bottom:0 !important;}
/* no white gap between the hero and the light section below it */
body.home .cl-hero.wp-block-cover + .cl-section{margin-top:0 !important}
.cl-hero .has-background-dim,
body.home .cl-hero .has-background-dim{
  background:linear-gradient(180deg,rgba(15,29,43,.12) 0%,rgba(15,29,43,.20) 45%,rgba(15,29,43,.48) 100%) !important;
}
.cl-hero .wp-block-cover__inner-container{width:100%;display:flex;align-items:flex-end}
body.home .cl-hero .wp-block-cover__inner-container{align-items:stretch !important;max-width:none !important;padding:0 !important;}

/* Frosted panel — inset on all four sides within the hero */
.cl-hero-panel{
  width:calc(100% - 80px);max-width:1560px;margin:30px auto;padding:40px;
  background:linear-gradient(0deg, rgba(7,18,34,.74) 0%, rgba(7,18,34,.30) 42%, rgba(7,18,34,.08) 72%, transparent 100%), rgba(255,255,255,.05);
  backdrop-filter:blur(1.5px);-webkit-backdrop-filter:blur(1.5px);
  border:none;border-radius:var(--cl-radius);
}
body.home .cl-hero-panel{
  align-self:stretch !important;display:flex !important;flex-direction:column !important;justify-content:flex-end !important;
  margin-top:56px !important;margin-bottom:30px !important;margin-left:auto !important;margin-right:auto !important;
  width:calc(100% - 80px) !important;max-width:1560px !important;
}
/* Nav (logo/menu/cart/button) sits inside the hero glass panel */
body.home .site-main-header-wrap{padding-top:36px !important;}
body.home .cl-hero-panel > .wp-block-group__inner-container{width:100% !important;max-width:none !important;}

/* Panel content row: copy left, stats right */
.cl-hero-row{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;flex-wrap:wrap}
body.home .cl-hero-row{width:100% !important;}
body.home .cl-hero-row > .wp-block-group__inner-container{
  display:flex !important;flex-direction:row !important;flex-wrap:nowrap !important;
  justify-content:space-between !important;align-items:flex-end !important;gap:40px !important;
  width:100% !important;max-width:none !important;
}
.cl-hero-copy{max-width:560px;color:#fff}
body.home .cl-hero-copy{max-width:560px !important;flex:0 1 560px !important;}
.cl-hero-copy .cl-display{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:clamp(52px,7vw,88px);line-height:.98;color:#fff;margin:0 0 16px}
.cl-hero-copy .cl-display em{font-style:italic;color:var(--cl-blue-light)}
.cl-hero-copy .cl-lead{font-size:15.5px;line-height:1.6;color:rgba(255,255,255,.90);margin:0 0 22px}
.cl-hero-stats{display:flex;gap:34px}
body.home .cl-hero-stats{flex:0 0 auto !important;display:flex !important;flex-direction:row !important;gap:34px !important;}
.cl-hs b{display:block;font-family:'Fraunces',Georgia,serif;font-size:22px;color:#fff;line-height:1.1}
.cl-hs span{display:block;font-size:12px;color:rgba(255,255,255,.82);max-width:150px;margin-top:4px}

/* Hero buttons — prototype fill / outline */
.cl-hero-btns{display:flex;gap:12px;flex-wrap:wrap}
body.home .cl-hero .wp-block-button__link{padding:16px 30px !important;font-size:16px !important;}
body.home .cl-hero .is-style-fill .wp-block-button__link{background:#fff !important;color:var(--cl-navy) !important;border-color:#fff !important;}
body.home .cl-hero .is-style-fill .wp-block-button__link:hover{background:rgba(255,255,255,.85) !important;color:var(--cl-navy) !important;}
body.home .cl-hero .is-style-outline .wp-block-button__link{background:transparent !important;color:#fff !important;border:1.5px solid rgba(255,255,255,.55) !important;}
body.home .cl-hero .is-style-outline .wp-block-button__link:hover{background:#fff !important;color:var(--cl-navy) !important;border-color:#fff !important;}

/* Home header: transparent nav flush over the hero, white wordmark + cart */
body.home .site-header-top-section-wrap,
body.home .site-header-bottom-section-wrap,
body.home .site-bottom-header-wrap{display:none !important;}
body.home #masthead{margin-top:0 !important;top:0 !important;}
body.admin-bar.home #masthead{top:32px !important;}
body.home .wp-site-blocks > *{margin-block-start:0 !important;}
body.home #inner-wrap,body.home .content-container,body.home #primary,
body.home #main.site-main,body.home .entry-content{padding-top:0 !important;margin-top:0 !important;}
body.home .entry-content-wrap{padding-top:0 !important;}
body.home .site-main-header-wrap .site-container{max-width:1600px !important;padding-left:64px !important;padding-right:64px !important;margin-left:auto !important;margin-right:auto !important;}
body.home #masthead .header-button{padding:14px 26px !important;}
body.home #masthead .header-button:hover{background-color:rgba(255,255,255,.88) !important;color:var(--cl-navy) !important;}
body.home.transparent-header #masthead .header-cart-wrap,
body.home #masthead .header-cart-wrap a,
body.home #masthead .header-cart-wrap .kadence-cart-total,
body.home #masthead .header-cart-wrap svg{color:#fff !important;fill:#fff !important;}
body.home #masthead .site-title,body.home #masthead .brand{font-family:'Fraunces',Georgia,serif !important;font-weight:600 !important;letter-spacing:.005em !important;}

@media(max-width:820px){
  .cl-hero-stats,body.home .cl-hero-stats{display:none !important;}
  .cl-hero-panel{padding:26px}
  body.home .cl-hero-row > .wp-block-group__inner-container{flex-direction:column !important;align-items:flex-start !important;}
}

/* =====================================================================
   6. HOMEPAGE — TRUST STRIP + DARK STAT CARDS
   ===================================================================== */
.cl-trust .cl-eyebrow{color:var(--cl-gold)}
.cl-trust h3{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:20px;color:var(--cl-navy);margin:8px 0 7px}
.cl-trust p{color:var(--cl-slate);font-size:14.5px;line-height:1.6;margin:0}

.cl-statcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px}
.cl-statcard{position:relative;overflow:hidden;background:linear-gradient(150deg,#17293B 0%,#0F1D2B 58%,#0B1622 100%);border:1px solid rgba(116,189,238,.22);
  border-radius:20px;padding:24px 22px;color:#fff;box-shadow:0 12px 30px rgba(7,18,34,.32),inset 0 1px 0 rgba(255,255,255,.05)}
.cl-statcard::after{content:"";position:absolute;top:-45%;right:-25%;width:75%;height:130%;background:radial-gradient(circle,rgba(46,124,192,.20),transparent 68%);pointer-events:none;z-index:0}
.cl-statcard .cl-ico{width:44px;height:44px;display:block;margin-bottom:16px;color:var(--cl-blue-light);position:relative;z-index:1}
.cl-statcard b{display:block;font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:34px;letter-spacing:-.02em;line-height:1;margin-bottom:10px;color:#8CC8F2;position:relative;z-index:1;text-shadow:0 0 24px rgba(116,189,238,.45)}
.cl-statcard span{display:block;font-family:'Fraunces',Georgia,serif;font-style:italic;font-size:14px;color:rgba(255,255,255,.82);line-height:1.5;position:relative;z-index:1}

/* =====================================================================
   7. HOMEPAGE — CATEGORY CARDS (white-footer, prototype)
   ===================================================================== */
.cl-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
@media(max-width:900px){.cl-cats{grid-template-columns:repeat(2,1fr)}}
body.home .cl-cat{display:flex;flex-direction:column;background:#fff;border:1px solid var(--cl-line);border-radius:18px;overflow:hidden;text-decoration:none;transition:transform .18s,box-shadow .18s}
body.home .cl-cat:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(20,38,76,.10)}
body.home .cl-cat-thumb{display:block;aspect-ratio:16/11;overflow:hidden}
body.home .cl-cat-thumb img{width:100%;height:100%;object-fit:cover;display:block}
body.home .cl-cat-body{padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:8px}
body.home .cl-cat-h{font-family:'Fraunces',Georgia,serif;font-weight:600;color:var(--cl-navy);font-size:18px}
body.home .cl-cat-go{font-size:17px;font-weight:600;color:var(--cl-blue)}

/* =====================================================================
   8. HOMEPAGE — PILLAR CARDS (frosted glass over image)
   ===================================================================== */
.cl-proc{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
@media(max-width:820px){.cl-proc{grid-template-columns:1fr}}
.cl-proc-card{position:relative;border-radius:20px;overflow:hidden;aspect-ratio:1/1;
  background-size:cover;background-position:center;display:flex;align-items:center;padding:20px}
.cl-proc-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,22,40,.30),rgba(9,22,40,.52))}
.cl-proc-glass{position:relative;z-index:1;width:100%;margin:0;padding:18px 20px;color:#fff;
  background:rgba(255,255,255,.13);backdrop-filter:blur(16px) saturate(125%);-webkit-backdrop-filter:blur(16px) saturate(125%);
  border:1px solid rgba(255,255,255,.28);border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.20)}
.cl-proc-glass .cl-ico{width:30px;height:30px;display:block;margin-bottom:12px;color:#fff}
.cl-proc-glass h4{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:20px;color:#fff;margin:0 0 8px}
.cl-proc-glass p{font-size:14px;line-height:1.55;color:rgba(255,255,255,.90);margin:0}

/* =====================================================================
   9. FEATURED PRODUCT CARDS  ([clarity_featured] shortcode)
   ===================================================================== */
.cl-products{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.cl-pcard{border:none;box-shadow:0 2px 10px rgba(15,31,61,.07);border-radius:20px;overflow:hidden;background:#fff;transition:box-shadow .18s,transform .18s;display:flex;flex-direction:column;text-decoration:none}
.cl-pcard:hover{box-shadow:0 26px 54px rgba(15,31,61,.16);transform:translateY(-5px)}
.cl-pmedia{background:#F1F5F8;aspect-ratio:27/34;overflow:hidden}
.cl-pmedia img{width:100%;height:100%;object-fit:cover;display:block}
.cl-pbody{padding:18px 20px 22px;display:flex;flex-direction:column;flex:1}
.cl-pcat{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--cl-blue)}
.cl-pcard h4{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:20px;color:var(--cl-navy);margin:6px 0 4px}
.cl-pblurb{font-size:13px;color:var(--cl-slate);min-height:36px;line-height:1.5;margin-bottom:auto}
.cl-pfoot{display:flex;align-items:center;justify-content:space-between;margin-top:16px}
.cl-pprice{font-family:'Fraunces',Georgia,serif;font-weight:700;font-size:20px;color:var(--cl-navy)}
.cl-pview{border:1.5px solid var(--cl-navy);color:var(--cl-navy);border-radius:100px;padding:9px 20px;font-size:14px;font-weight:600;transition:background .15s,color .15s;white-space:nowrap}
.cl-pcard:hover .cl-pview{background:var(--cl-navy);color:#fff}
@media(max-width:900px){.cl-products{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.cl-products{grid-template-columns:1fr}}

/* =====================================================================
   10. JOURNAL — homepage cards ([clarity_journal]) + archive grid
   ===================================================================== */
/* Homepage journal shortcode cards */
.cl-journal{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.cl-jcard{display:flex;flex-direction:column;background:#fff;border:1px solid var(--cl-line);border-radius:18px;overflow:hidden;text-decoration:none;transition:transform .18s,box-shadow .18s}
.cl-jcard:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(20,38,76,.10)}
.cl-jthumb{display:block;aspect-ratio:16/9;background-size:cover;background-position:center}
.cl-jbody{padding:20px 22px 24px;display:flex;flex-direction:column;gap:10px}
.cl-jtag{align-self:flex-start;background:#E4F0F5;color:var(--cl-blue);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:6px 12px;border-radius:100px}
.cl-jtitle{font-family:'Fraunces',Georgia,serif;font-weight:600;color:var(--cl-navy);font-size:20px;line-height:1.25}
.cl-jdek{font-size:14px;color:var(--cl-slate);line-height:1.55}
.cl-jread{font-size:13px;font-weight:600;color:var(--cl-blue);margin-top:4px}
@media(max-width:900px){.cl-journal{grid-template-columns:1fr}}

/* Journal archive (posts page) hero — injected in the loop via functions.php,
   spans the full grid width and sits above the cards. */
.cl-journal-hero{grid-column:1/-1;text-align:center;max-width:720px;margin:0 auto;padding:0 20px 26px}
.cl-journal-hero .cl-eyebrow{color:var(--cl-blue)}
.cl-journal-hero h1{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:clamp(40px,5vw,52px);line-height:1.05;letter-spacing:-.02em;color:var(--cl-navy);margin:12px 0}
.cl-journal-hero h1 em{font-style:italic;color:var(--cl-blue)}
.cl-journal-hero p{font-size:18px;color:var(--cl-slate);line-height:1.6;margin:0}
/* Hide Kadence's default posts-page title band (our hero replaces it) */
body.blog .post-archive-title,body.blog .hero-container{display:none !important}

/* Journal archive cards — gradient thumbnail + prototype card treatment.
   Grid cell is .entry-list-item; the visible card is styled on it. */
body.blog .kadence-posts-list .entry-list-item{
  position:relative;display:flex;flex-direction:column;
  border:1px solid var(--cl-line);border-radius:18px;overflow:hidden;background:#fff;
  transition:transform .18s,box-shadow .18s;
}
body.blog .kadence-posts-list .entry-list-item:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(20,38,76,.10)}
body.blog .entry-list-item article.loop-entry{border:none !important;box-shadow:none !important;background:transparent !important;margin:0 !important}
body.blog .entry-list-item .entry-content-wrap{padding:0 !important}
/* Featured image thumbnail (16/9). Gradient block is only a fallback for
   posts that have no featured image. */
body.blog .entry-list-item .post-thumbnail{padding-bottom:56.25% !important;margin:0 !important;border-radius:0 !important;overflow:hidden;display:block}
body.blog .entry-list-item .post-thumbnail img{object-fit:cover !important}
body.blog .entry-list-item article:not(.has-post-thumbnail) .entry-content-wrap::before{
  content:"";display:block;aspect-ratio:16/9;width:100%;
  background:linear-gradient(150deg,#1E55E6 0%,#14264C 100%);
}
body.blog .entry-list-item .entry-header{padding:16px 20px 0}
body.blog .entry-list-item .entry-summary{padding:0 20px}
body.blog .entry-list-item .entry-footer{padding:8px 20px 20px}
/* Category tag overlaid on the gradient thumb */
body.blog .entry-list-item .entry-taxonomies{position:absolute;top:12px;left:12px;z-index:2;margin:0 !important}
body.blog .entry-list-item .entry-taxonomies .category-links a{
  background:#fff;color:var(--cl-navy);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  padding:5px 11px;border-radius:100px;text-decoration:none;
}
body.blog .entry-list-item .entry-title{font-size:20px;line-height:1.18;margin:10px 0 8px}
body.blog .entry-list-item .entry-title a{color:var(--cl-navy)}
body.blog .entry-list-item .entry-meta{font-size:12px;color:var(--cl-mute)}
body.blog .entry-list-item .entry-summary p{font-size:13.5px;color:var(--cl-slate);line-height:1.55}
body.blog .entry-list-item .more-link{font-size:13px;font-weight:600;color:var(--cl-blue)}

/* =====================================================================
   11. MARQUEE (static trust bar — home top row only)
   ===================================================================== */
.cl-marquee{background:var(--cl-navy);color:#fff;font-size:11.5px;letter-spacing:.10em;text-transform:uppercase}
.cl-marquee-row{max-width:1500px;margin:0 auto;padding:11px 28px}
.cl-marquee-row span{white-space:nowrap;color:rgba(255,255,255,.82)}
body.home .site-top-header-wrap{display:block !important;}
body.home .site-top-header-wrap .site-container{max-width:none !important;padding:0 !important;}
body.home .cl-marquee{background:var(--cl-navy) !important;font-size:11px !important;letter-spacing:.12em !important;text-transform:uppercase;}
body.home .cl-marquee-row{display:block !important;text-align:center !important;max-width:none !important;padding:10px 24px !important;color:rgba(255,255,255,.85) !important;}
body:not(.home) .site-top-header-wrap{display:none !important}
@media(max-width:820px){.cl-marquee,body.home .site-top-header-wrap{display:none !important}}

/* =====================================================================
   12. CUSTOM FOOTER  (echoed in functions.php)
   ===================================================================== */
#colophon,.site-footer{display:none !important}
.cl-footer{background:var(--cl-navy);color:#fff;padding:60px 0 30px}
.cl-foot-inner{max-width:1240px;margin:0 auto;padding:0 28px}
.cl-foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:30px;padding-bottom:34px;border-bottom:1px solid rgba(255,255,255,.12)}
.cl-foot-logo{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:22px;color:#fff}
.cl-foot-logo span{opacity:.6}
.cl-foot-tag{font-size:13px;color:#93A8BC;max-width:340px;line-height:1.65;margin-top:20px}
.cl-foot-ruo{font-size:11.5px;color:#7F93A6;max-width:560px;line-height:1.6;margin-top:14px}
.cl-foot-ruo b{color:#93A8BC}
.cl-foot-col h5{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:15px;color:#fff;margin:0 0 14px}
.cl-foot-col a{display:block;font-size:13.5px;color:#93A8BC;text-decoration:none;margin-bottom:10px;transition:color .15s}
.cl-foot-col a:hover{color:#fff}
.cl-foot-rule{display:flex;align-items:center;gap:14px;margin:26px 0 8px}
.cl-foot-rule::before,.cl-foot-rule::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,rgba(192,165,119,.30) 22%,#C0A577 50%,rgba(192,165,119,.30) 78%,transparent)}
.cl-foot-rule i{width:6px;height:6px;background:#C0A577;transform:rotate(45deg);flex:none}
.cl-foot-bottom{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-top:14px;font-size:12.5px;color:#93A8BC}
@media(max-width:820px){
  .cl-foot-grid{grid-template-columns:repeat(3,1fr);gap:26px 20px}
  .cl-foot-brand{grid-column:1 / -1;margin-bottom:4px}
  .cl-foot-ruo{max-width:none}
}
@media(max-width:520px){
  .cl-foot-grid{grid-template-columns:1fr 1fr;gap:24px 20px}
  .cl-foot-brand{grid-column:1 / -1}
}
/* hamburger: icon only, hide the "Toggle Menu" text label */
#masthead .menu-toggle-open{font-size:0}
#masthead .menu-toggle-open .kadence-svg-iconset,
#masthead .menu-toggle-open svg{font-size:16px}

/* =====================================================================
   13. PRODUCT PAGE (PDP)
   ===================================================================== */
.single-product .product_title{font-family:'Fraunces',Georgia,serif !important;font-size:clamp(32px,3.4vw,46px) !important;font-weight:600 !important;color:var(--cl-navy) !important;letter-spacing:-.03em !important;line-height:1.12 !important;margin:2px 0 10px !important}
.single-product .summary .price{font-family:'Fraunces',Georgia,serif !important;font-size:28px !important;font-weight:700 !important;color:var(--cl-navy) !important}
.cl-pdp-cat{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--cl-blue);margin-bottom:2px}
/* gold diamond + rule between the category and the title */
.single-product .cl-pdp-rule{display:flex;align-items:center;gap:13px;max-width:230px;margin:14px 0}
.single-product .cl-pdp-rule i{width:6px;height:6px;background:var(--cl-gold);transform:rotate(45deg);flex:none}
.single-product .cl-pdp-rule::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,var(--cl-gold),rgba(192,165,119,.30) 60%,transparent)}
/* title + price — serif */
.single-product .summary .product_title{font-family:'Fraunces',Georgia,serif;color:var(--cl-navy);font-size:clamp(32px,3.6vw,48px);letter-spacing:-.02em;line-height:1.12;margin:2px 0 4px}
.single-product .summary .price,.single-product .summary p.price{font-family:'Fraunces',Georgia,serif !important;color:var(--cl-navy) !important;font-size:clamp(28px,3vw,34px) !important;letter-spacing:-.02em;margin:12px 0 4px}
.single-product .summary .price .amount,.single-product .summary .price bdi{font-family:'Fraunces',Georgia,serif !important}
/* composition subtitle under the price */
.single-product .cl-pdp-sub{font-size:15.5px;color:var(--cl-slate);line-height:1.55;margin:10px 0 18px;max-width:540px}
/* quantity stepper (matches the cart) */
.single-product form.cart .quantity{display:inline-flex;align-items:center;border:1px solid var(--cl-line);border-radius:100px;overflow:hidden;background:#fff}
.single-product form.cart .quantity .cl-qty-btn{width:40px;height:46px;border:none;background:none;font-size:18px;line-height:1;cursor:pointer;color:var(--cl-navy);padding:0}
.single-product form.cart .quantity .cl-qty-btn:hover{color:var(--cl-blue)}
.single-product form.cart .quantity input.qty{width:46px;height:46px;border:none;text-align:center;font-size:15px;font-weight:600;color:var(--cl-navy);background:none;padding:0;-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 label.screen-reader-text{position:absolute !important;left:-9999px}
.cl-pdp-coa{display:inline-flex;align-items:center;background:#EAF5ED;color:#1E874B;font-size:12.5px;font-weight:600;padding:7px 14px;border-radius:100px;margin:8px 0 18px}
.single-product .woocommerce-product-details__short-description{font-size:15.5px;color:var(--cl-slate);line-height:1.6;margin-bottom:18px}
.single-product form.cart{display:inline-flex;align-items:center;gap:12px;margin-bottom:0}
.single-product .single_add_to_cart_button{border-radius:100px !important;padding:14px 30px !important;font-weight:600 !important;line-height:1 !important;display:inline-flex !important;align-items:center !important;justify-content:center !important}
.cl-pdp-coabtn{display:inline-block;margin:14px 0 0 12px;border:1.5px solid var(--cl-navy);color:var(--cl-navy);border-radius:100px;padding:12px 24px;font-weight:600;font-size:14px;text-decoration:none;transition:background .15s,color .15s}
.cl-pdp-coabtn:hover{background:var(--cl-navy);color:#fff}
.cl-pdp-ruo{background:#FAFCFD;border:1px solid var(--cl-line);border-radius:16px;padding:18px 20px;margin-top:24px;font-size:12.5px;color:var(--cl-mute);line-height:1.6}
.cl-pdp-ruo b{color:var(--cl-navy)}
.single-product .woocommerce-product-gallery{background:#F1F5F8;border-radius:24px;overflow:hidden;padding:22px}
.single-product .product_meta{display:none !important}
.single-product .woocommerce-tabs .wc-tabs li a,.single-product .woocommerce-Tabs-panel h2{font-family:'Fraunces',Georgia,serif}
.single-product .related.products>h2{font-family:'Fraunces',Georgia,serif;font-weight:600;color:var(--cl-navy);font-size:clamp(26px,3vw,36px);letter-spacing:-.02em}

/* =====================================================================
   14. SHOP ARCHIVE CARDS  (match homepage .cl-pcard)
   ===================================================================== */
ul.products.grid-cols{gap:20px !important}
ul.products li.product{background:#fff !important;border:none !important;border-radius:20px !important;overflow:hidden !important;box-shadow:0 2px 10px rgba(15,31,61,.07) !important;transition:box-shadow .18s,transform .18s !important;display:flex !important;flex-direction:column !important;padding:0 !important;margin:0 0 20px 0 !important}
ul.products li.product:hover{box-shadow:0 26px 54px rgba(15,31,61,.16) !important;transform:translateY(-5px) !important}
ul.products li.product .woocommerce-loop-image-link{display:block;background:#F1F5F8;aspect-ratio:27/34;overflow:hidden}
ul.products li.product .woocommerce-loop-image-link img{width:100% !important;height:100% !important;object-fit:cover !important;display:block;margin:0}
ul.products li.product .product-details{padding:18px 20px 22px !important;display:flex !important;flex-direction:column !important;flex:1 1 auto !important}
ul.products li.product .cl-shop-cat{order:1;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--cl-blue);margin:0 0 2px}
ul.products li.product .woocommerce-loop-product__title{order:2;font-family:'Fraunces',Georgia,serif !important;font-weight:600 !important;font-size:20px !important;margin:0 0 6px !important;padding:0 !important}
ul.products li.product .woocommerce-loop-product__title a{color:var(--cl-navy) !important}
ul.products li.product .product-excerpt{display:block !important;order:3 !important;margin:0 0 auto !important}
ul.products li.product .product-excerpt p{display:-webkit-box !important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px !important;color:var(--cl-slate) !important;line-height:1.5 !important;margin:0 !important;min-height:39px}
ul.products li.product .price{order:4 !important;font-family:'Fraunces',Georgia,serif !important;font-weight:700 !important;font-size:20px !important;color:var(--cl-navy) !important;margin:14px 0 0 !important}
ul.products li.product .product-action-wrap{order:5 !important;position:static !important;opacity:1 !important;height:auto !important;margin-top:12px !important;inset:auto !important}
ul.products li.product .product-action-wrap a.button{display:flex !important;align-items:center;justify-content:center;gap:8px;width:100% !important;background:transparent !important;color:var(--cl-navy) !important;border:1.5px solid var(--cl-navy) !important;border-radius:100px !important;padding:11px 20px !important;font-weight:600 !important;font-size:14px !important;line-height:1 !important}
ul.products li.product:hover .product-action-wrap a.button{background:var(--cl-navy) !important;color:#fff !important}

/* =====================================================================
   15. PDP ACCORDION  (Description / Additional info / Research apps /
   FAQ / Documentation / Shipping — under the buttons)  v1.5.8
   ===================================================================== */
.cl-acc{margin-top:24px;border-top:1px solid var(--cl-line)}
.cl-acc .cl-ac{border-bottom:1px solid var(--cl-line)}
.cl-acc .cl-ac-h{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 2px;cursor:pointer;font-weight:600;font-size:15.5px;color:var(--cl-navy);letter-spacing:-.01em;list-style:none;font-family:'Inter',sans-serif}
.cl-acc .cl-ac-h::-webkit-details-marker{display:none}
.cl-acc .cl-ac-h span{position:relative;width:16px;height:16px;flex:none;transition:transform .18s}
.cl-acc .cl-ac-h span::before,.cl-acc .cl-ac-h span::after{content:"";position:absolute;background:var(--cl-blue);border-radius:2px}
.cl-acc .cl-ac-h span::before{left:0;top:7px;width:16px;height:2px}
.cl-acc .cl-ac-h span::after{left:7px;top:0;width:2px;height:16px}
.cl-acc .cl-ac[open] .cl-ac-h span{transform:rotate(45deg)}
.cl-acc .cl-ac-b{padding:2px 2px 20px}
.cl-acc .cl-ac-b p{font-size:15px;color:var(--cl-slate);line-height:1.7;margin:0 0 12px}
.cl-acc .cl-ac-b p:last-child{margin:0}
.cl-acc .cl-ac-b b{color:var(--cl-navy)}
.cl-acc .cl-ac-b a{color:var(--cl-blue);text-decoration:underline}
.cl-acc .cl-ac-b ul{margin:0 0 12px 18px;color:var(--cl-slate);font-size:15px;line-height:1.7}
.cl-acc .cl-ac-b table{width:100%;border-collapse:collapse;font-size:14px;margin:0}
.cl-acc .cl-ac-b th{text-align:left;padding:9px 12px;background:#F7F9FC;color:var(--cl-navy);font-weight:600;width:44%;border-bottom:1px solid var(--cl-line);vertical-align:top}
.cl-acc .cl-ac-b td{padding:9px 12px;color:var(--cl-slate);border-bottom:1px solid var(--cl-line)}

/* =====================================================================
   16. NAV POLISH  (prototype proportions)  v1.6.0
   Smaller menu links, smaller + taller "Browse the catalog" button
   with a soft blue glow.
   ===================================================================== */
#masthead .header-navigation a,
#masthead .header-menu-container a{font-size:14px !important;font-weight:500 !important;letter-spacing:-.005em}
#masthead .header-button,
#masthead .header-button.button-style-filled{
  font-size:15px !important;font-weight:600 !important;padding:14px 28px !important;
  box-shadow:0 10px 26px rgba(27,77,255,.28) !important;
  transition:box-shadow .18s,transform .18s,background-color .18s !important;
}
#masthead .header-button:hover{transform:translateY(-1px) !important;box-shadow:0 14px 32px rgba(27,77,255,.36) !important}

/* =====================================================================
   17. INNER PAGES — About / Wholesale / Contact  v1.7.0
   ===================================================================== */
.cl-ip{font-family:'Inter',-apple-system,system-ui,sans-serif}
.cl-ip h1,.cl-ip h2,.cl-ip h3,.cl-ip h4{font-family:'Fraunces',Georgia,serif;color:var(--cl-navy);letter-spacing:-.02em;line-height:1.1}
.cl-ip em{font-style:italic;color:var(--cl-blue)}
.cl-ip p{line-height:1.7}
.cl-ip-sec{max-width:1120px;margin:0 auto;padding:52px 24px}
.cl-ip-head{margin-bottom:28px}
.cl-ip-head h2{font-size:clamp(28px,4vw,40px);margin:0}
.cl-eyebrow-blue{color:var(--cl-blue)}.cl-eyebrow-gold{color:var(--cl-gold)}.cl-eyebrow-mut{color:#93A8BC}.cl-eyebrow-lt{color:#9CB6FF}
.cl-ip-lead{font-size:18px;line-height:1.6;color:var(--cl-slate)}
.cl-ip-muted{font-size:16px;color:var(--cl-slate);line-height:1.7}
.cl-ip-contact{font-size:15px;color:var(--cl-slate);margin-top:16px}
.cl-ip a{color:var(--cl-blue)}
.cl-ip .cl-btn{display:inline-block;background:var(--cl-blue);color:#fff !important;border-radius:100px;padding:14px 30px;font-weight:600;font-size:15px;text-decoration:none;box-shadow:0 10px 26px rgba(27,77,255,.24);transition:transform .18s,background-color .18s}
.cl-ip .cl-btn:hover{background:var(--cl-blue-dark);transform:translateY(-1px)}

/* placeholder image blocks */
.cl-ph{position:relative;background:linear-gradient(150deg,#17324B 0%,#0F1D2B 60%,#0B1622 100%);display:flex;align-items:center;justify-content:center;border-radius:20px;overflow:hidden;isolation:isolate}
.cl-ph-tag{font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.5)}

/* navy hero (About) */
.cl-ip-hero{margin-left:calc(50% - 50vw);width:100vw;background:var(--cl-navy);color:#fff;text-align:center;padding:74px 24px}
.cl-ip-hero h1{color:#fff;font-size:clamp(38px,5vw,54px);margin:14px auto;max-width:820px}
.cl-ip-hero em{color:#74BDEE}
.cl-ip-hero .cl-ip-lead{color:#C3D2E4;max-width:680px;margin:0 auto}
/* light intro hero (Wholesale / Contact) — resets the navy hero styles */
.cl-ip-hero-light{background:none;color:var(--cl-navy);width:auto;max-width:1120px;margin:0 auto;padding:48px 24px 6px;text-align:left}
.cl-ip-hero-light h1{color:var(--cl-navy);font-size:clamp(36px,4.6vw,52px);margin:12px 0 16px;max-width:860px}
.cl-ip-hero-light em{color:var(--cl-blue)}
.cl-ip-hero-light .cl-ip-lead{color:var(--cl-slate);max-width:720px;margin:0 0 22px;text-align:left}

/* story block */
.cl-story{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.cl-story-copy h2{font-size:clamp(26px,3.4vw,34px);margin:10px 0 16px}
.cl-story-copy p{color:var(--cl-slate);font-size:16px;margin:0 0 14px}
.cl-story-media{min-height:380px}

/* stat strip (reuses .cl-statcard from section 6) */
.cl-statstrip{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.cl-statstrip .cl-statcard{text-align:left}

/* pillars (About + Wholesale) */
.cl-apills{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.cl-apills-2{grid-template-columns:repeat(2,1fr)}
.cl-apill{background:#fff;border:1px solid var(--cl-line);border-radius:18px;padding:26px 24px}
.cl-apill-ico{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:linear-gradient(140deg,var(--cl-blue),var(--cl-navy));margin-bottom:16px}
.cl-apill-ico svg{width:22px;height:22px}
.cl-apill h3{font-size:19px;margin:0 0 8px}
.cl-apill p{color:var(--cl-slate);font-size:14.5px;margin:0;line-height:1.6}

/* promise band */
.cl-band{background:linear-gradient(130deg,#0F1D2B,#1E3E7A 60%,#2453A6);border-radius:24px;padding:56px 52px;color:#fff}
.cl-band h2{color:#fff;font-size:clamp(26px,3.4vw,36px);margin:10px 0 0}
.cl-band em{color:#9CB6FF}
.cl-band p{color:#D5E1EA;font-size:17px;margin-top:14px;max-width:640px}

/* research-use image cards */
.cl-ruocards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.cl-ruocard{min-height:340px;align-items:center;padding:22px}
.cl-ruocard::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,22,40,.28),rgba(9,22,40,.62));z-index:0}
.cl-ruocard .cl-ph-tag{position:absolute;top:16px;left:0;right:0;text-align:center;z-index:1}
.cl-ruoglass{position:relative;z-index:2;width:100%;background:rgba(255,255,255,.13);backdrop-filter:blur(14px) saturate(125%);-webkit-backdrop-filter:blur(14px) saturate(125%);border:1px solid rgba(255,255,255,.28);border-radius:14px;padding:20px;box-shadow:0 10px 30px rgba(0,0,0,.22)}
.cl-ruoglass h3{color:#fff;font-size:19px;margin:0 0 8px}
.cl-ruoglass p{color:rgba(255,255,255,.92);font-size:13.5px;line-height:1.6;margin:0}

/* CTA */
.cl-ip-cta{text-align:center}
.cl-ip-cta h2{font-size:clamp(28px,4vw,40px);margin:0 0 12px}
.cl-ip-cta p{color:var(--cl-slate);max-width:540px;margin:0 auto 24px;font-size:17px}

/* ---- Wholesale ---- */
.cl-ws-tiersband{background:var(--cl-offwhite);border-radius:26px;padding:48px 40px}
.cl-ws-tiersband h2{font-size:clamp(26px,3.2vw,32px);margin:0 0 8px}
.cl-ws-tiers{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:24px}
.cl-ws-tier{background:#fff;border:1px solid var(--cl-line);border-radius:16px;padding:22px}
.cl-ws-tier .q{font-family:'Fraunces',Georgia,serif;font-weight:700;font-size:28px;color:var(--cl-navy)}
.cl-ws-tier .l{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--cl-blue);margin:2px 0 10px}
.cl-ws-tier p{font-size:13.5px;color:var(--cl-slate);margin:0;line-height:1.6}
.cl-ws-grid{display:grid;grid-template-columns:1fr 1fr;gap:44px}
.cl-ws-grid h2{font-size:clamp(24px,3vw,30px);margin:0 0 18px}
.cl-ws-list{list-style:none;display:grid;gap:14px;margin:0;padding:0}
.cl-ws-list li{display:flex;gap:12px;font-size:16px;color:var(--cl-slate)}
.cl-ws-list b{color:var(--cl-navy)}
.cl-ck{flex:none;width:20px;height:20px;border-radius:50%;background:#EAF2FF;position:relative;margin-top:2px}
.cl-ck::before{content:"";position:absolute;left:6px;top:5px;width:5px;height:9px;border:solid var(--cl-blue);border-width:0 2px 2px 0;transform:rotate(45deg)}
.cl-steps{display:grid;gap:22px}
.cl-step{display:flex;gap:16px;align-items:flex-start}
.cl-step-n{flex:none;width:36px;height:36px;border-radius:50%;background:var(--cl-navy);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px}
.cl-step h4{font-size:18px;margin:0 0 5px}
.cl-step p{font-size:14.5px;color:var(--cl-slate);margin:0}
.cl-ip-panel{background:var(--cl-offwhite);border-radius:26px;padding:48px 44px}
.cl-ip-panel h2{font-size:clamp(24px,3vw,32px);margin:12px 0 14px}

/* ---- Contact ---- */
.cl-contact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.cl-contact-card{background:#fff;border:1px solid var(--cl-line);border-radius:18px;padding:26px 24px}
.cl-contact-card h3{font-size:19px;margin:0 0 6px}
.cl-contact-card p{color:var(--cl-slate);font-size:14.5px;margin:0 0 12px;line-height:1.6}
.cl-contact-card a{font-weight:600;font-size:15px}

@media(max-width:900px){
  .cl-story,.cl-ws-grid{grid-template-columns:1fr;gap:28px}
  .cl-statstrip,.cl-ws-tiers{grid-template-columns:repeat(2,1fr)}
  .cl-apills,.cl-apills-2,.cl-ruocards,.cl-contact-grid{grid-template-columns:1fr}
  .cl-band,.cl-ws-tiersband,.cl-ip-panel{padding:34px 26px}
}

/* =====================================================================
   18. SHOP ARCHIVE HEADER  ("All products" + category chips)
   ===================================================================== */
.cl-shop-hero{max-width:1240px;margin:0 auto 8px;padding:8px 4px 0}
.cl-shop-hero .cl-eyebrow{color:var(--cl-blue)}
.cl-shop-hero h1{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:clamp(34px,4.4vw,48px);color:var(--cl-navy);letter-spacing:-.02em;margin:10px 0 12px}
.cl-shop-hero p{max-width:640px;color:var(--cl-slate);font-size:16.5px;line-height:1.6;margin:0 0 18px}
.cl-shop-chips{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:8px}
.cl-shop-chips a{display:inline-block;border:1px solid var(--cl-line);border-radius:100px;padding:8px 16px;font-size:13px;font-weight:500;color:var(--cl-navy);text-decoration:none;transition:.15s;background:#fff}
.cl-shop-chips a:hover{border-color:var(--cl-blue);color:var(--cl-blue)}
body.woocommerce-shop .woocommerce-products-header,
body.woocommerce-shop .product-archive-title,
body.woocommerce-shop .hero-container,
body.woocommerce-shop .woocommerce-result-count,
body.woocommerce-shop .woocommerce-ordering,
body.woocommerce-shop nav.woocommerce-pagination,
body.woocommerce-shop ul.products:not(.cl-catgrid){display:none !important}

/* Wholesale banner on the shop page */
.cl-wsband{max-width:1240px;margin:8px auto 34px;background:var(--cl-navy);border-radius:22px;padding:28px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
/* hide the "View cart" link that appears on a tile after Add to cart */
.woocommerce a.added_to_cart{display:none !important}
.cl-wsband-copy h3{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:22px;color:#fff;margin:0 0 6px}
.cl-wsband-copy p{color:#93A8BC;font-size:14.5px;margin:0;max-width:560px;line-height:1.6}
.cl-wsband .cl-btn{display:inline-block;background:#fff;color:var(--cl-navy) !important;border-radius:100px;padding:13px 26px;font-weight:600;font-size:14.5px;text-decoration:none;white-space:nowrap;transition:transform .18s,background-color .18s}
.cl-wsband .cl-btn:hover{background:rgba(255,255,255,.88);transform:translateY(-1px)}

/* Catalog grouped into category sections */
html{scroll-behavior:smooth}
.cl-catalog{max-width:1240px;margin:0 auto}
.cl-catsec{scroll-margin-top:100px;padding-top:34px;margin-top:34px;border-top:1px solid var(--cl-line)}
.cl-catsec:first-child{border-top:none;margin-top:14px;padding-top:0}
.cl-catsec-head{margin-bottom:20px}
.cl-catsec-head h2{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:clamp(24px,3vw,30px);color:var(--cl-navy);letter-spacing:-.02em;margin:0}
.cl-catsec-head p{color:var(--cl-slate);font-size:15px;margin:8px 0 0;max-width:720px;line-height:1.6}
.cl-catgrid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.cl-catgrid li.product{margin:0 !important}
@media(max-width:900px){.cl-catgrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.cl-catgrid{grid-template-columns:1fr}}

/* =====================================================================
   19. CART TOTALS EXTRAS
   ===================================================================== */
.cl-cart-extra{display:flex;justify-content:space-between;font-size:14px;color:var(--cl-slate);padding:6px 0}
.cl-cart-extra b{color:var(--cl-navy);font-weight:600}
.cl-continue{display:inline-block;margin-top:12px;font-size:14px;font-weight:600;color:var(--cl-blue);text-decoration:none}
.cl-continue:hover{text-decoration:underline}

/* =====================================================================
   20. SINGLE JOURNAL POST — match prototype article page
   ===================================================================== */
/* constrain the article column like the prototype .article-page (max ~880) */
body.single-post .entry-content-wrap{max-width:880px;margin-left:auto;margin-right:auto}
/* hide Kadence's overlay/"behind" featured hero — we render our own below the title */
body.single-post .content-wrap > .post-thumbnail{display:none !important}
/* hide the meta byline to match the clean prototype top */
body.single-post .entry-meta{display:none !important}

/* back link ("← The Journal") */
.cl-art-back{max-width:880px;margin:0 auto;padding-top:30px}
.cl-art-back a{color:var(--cl-blue);font-weight:600;font-size:14px;text-decoration:none}
.cl-art-back a:hover{text-decoration:underline}

/* category rendered as the prototype tag pill */
body.single-post .entry-taxonomies{margin-bottom:6px}
body.single-post .entry-taxonomies .category-links a{display:inline-block;background:#E4F0F5;color:var(--cl-blue) !important;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:6px 12px;border-radius:100px;text-decoration:none}

/* title */
body.single-post .entry-header .entry-title{font-size:clamp(32px,4.6vw,52px);line-height:1.06;letter-spacing:-.02em;margin:12px 0 4px}

/* our hero image, placed below the title */
.cl-art-hero{margin:26px 0 32px;border-radius:18px;overflow:hidden;aspect-ratio:16/9;background:var(--cl-navy)}
.cl-art-hero img{width:100%;height:100%;object-fit:cover;display:block}

/* body typography (matches prototype .art-body) */
body.single-post .entry-content{font-size:18px;line-height:1.72;color:#2A3340}
body.single-post .entry-content > p{margin:0 0 17px}
body.single-post .entry-content h2{font-family:'Fraunces',Georgia,serif;font-weight:600;color:var(--cl-navy);font-size:29px;line-height:1.15;letter-spacing:-.02em;margin:38px 0 10px}
body.single-post .entry-content h3{font-family:'Fraunces',Georgia,serif;font-weight:600;color:var(--cl-navy);font-size:22px;margin:28px 0 8px}
body.single-post .entry-content ul{margin:0 0 17px 22px}
body.single-post .entry-content li{margin-bottom:7px}
body.single-post .entry-content a{color:var(--cl-blue)}
body.single-post .entry-content sup.fn{font-size:.68em;font-weight:700;color:var(--cl-blue);line-height:0;margin-left:1px}

/* references block */
body.single-post .entry-content .art-refs{margin-top:42px;padding-top:22px;border-top:1px solid var(--cl-line)}
body.single-post .entry-content .art-refs h2{font-size:19px;margin:0 0 12px}
body.single-post .entry-content .art-refs ol{margin:0;padding-left:22px;font-size:13px;line-height:1.65;color:var(--cl-slate)}
body.single-post .entry-content .art-refs li{margin-bottom:9px}
body.single-post .entry-content .art-refs a{color:var(--cl-blue);word-break:break-word}

/* disclosure (styled like the prototype .disc) */
body.single-post .entry-content .disc{font-size:12.5px;color:var(--cl-mute);border-top:1px solid var(--cl-line);margin-top:30px;padding-top:18px;line-height:1.6}

/* "Put it into practice" banner (prototype .art-foot) */
.cl-art-foot{margin-top:34px;background:var(--cl-gray);border-radius:18px;padding:26px 28px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.cl-art-foot .cl-art-eyebrow{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--cl-blue);margin-bottom:6px}
.cl-art-foot h4{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:20px;color:var(--cl-navy);margin:0}
.cl-art-foot .cl-btn{display:inline-block;background:var(--cl-blue);color:#fff !important;border-radius:100px;padding:13px 26px;font-weight:600;font-size:15px;text-decoration:none;white-space:nowrap}
.cl-art-foot .cl-btn:hover{background:var(--cl-blue-dark)}

/* remove similar posts + prev/next nav from single posts */
body.single-post .entry-related,
body.single-post .post-navigation{display:none !important}

/* journal archive: all posts show — hide pagination */
body.blog .navigation.pagination{display:none !important}

/* =====================================================================
   21. CART — match prototype
   ===================================================================== */
/* page title ("Your cart") — restrained serif, not the oversized default */
body.woocommerce-cart .entry-header .entry-title{font-family:'Fraunces',Georgia,serif;font-weight:600;color:var(--cl-navy);font-size:clamp(40px,5.2vw,60px);letter-spacing:-.025em}
/* hide Kadence's "Cart Summary" sub-heading */
body.woocommerce-cart .cart-summary > h2{display:none}

/* table shell */
body.woocommerce-cart .woocommerce-cart-form table.shop_table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--cl-line);border-radius:16px;overflow:hidden;margin:0}
body.woocommerce-cart .woocommerce-cart-form .shop_table thead th{text-align:left;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--cl-mute);font-weight:700;padding:14px 18px;background:#FAFCFD;border-bottom:1px solid var(--cl-line)}
body.woocommerce-cart .woocommerce-cart-form .shop_table td{padding:16px 18px;border-bottom:1px solid var(--cl-line);font-size:14.5px;vertical-align:middle;background:#fff}

/* remove column */
body.woocommerce-cart td.product-remove{width:44px}
body.woocommerce-cart td.product-remove a.remove{color:var(--cl-mute) !important;font-size:20px;font-weight:400;background:none !important;width:auto;height:auto;line-height:1}
body.woocommerce-cart td.product-remove a.remove:hover{color:#C0392B !important;background:none !important}

/* thumbnail */
body.woocommerce-cart td.product-thumbnail{width:84px}
body.woocommerce-cart td.product-thumbnail img{width:64px;height:64px;object-fit:cover;border-radius:10px;background:#F1F5F8;max-width:none}

/* name + spec subtitle */
body.woocommerce-cart td.product-name a{color:var(--cl-navy);font-weight:600;font-size:15px;text-decoration:none}
body.woocommerce-cart td.product-name a:hover{color:var(--cl-blue)}
body.woocommerce-cart .cl-cart-sub{font-size:12.5px;color:var(--cl-mute);margin-top:3px;font-weight:400}

/* price / subtotal */
body.woocommerce-cart td.product-price{color:var(--cl-slate)}
body.woocommerce-cart td.product-subtotal{color:var(--cl-navy);font-weight:700}

/* quantity stepper */
body.woocommerce-cart .woocommerce-cart-form .quantity{display:inline-flex;align-items:center;border:1px solid var(--cl-line);border-radius:100px;overflow:hidden;background:#fff}
body.woocommerce-cart .woocommerce-cart-form .quantity .cl-qty-btn{width:40px;height:44px;border:none;background:none;font-size:18px;line-height:1;cursor:pointer;color:var(--cl-navy);padding:0}
body.woocommerce-cart .woocommerce-cart-form .quantity .cl-qty-btn:hover{color:var(--cl-blue)}
body.woocommerce-cart .woocommerce-cart-form .quantity input.qty{width:46px;height:44px;border:none;text-align:center;font-size:15px;font-weight:600;color:var(--cl-navy);background:none;padding:0;-moz-appearance:textfield}
body.woocommerce-cart .woocommerce-cart-form .quantity input.qty::-webkit-outer-spin-button,
body.woocommerce-cart .woocommerce-cart-form .quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
body.woocommerce-cart .woocommerce-cart-form .quantity label.screen-reader-text{position:absolute !important;left:-9999px}

/* actions row (coupon + update) */
body.woocommerce-cart td.actions{background:#FAFCFD;padding:16px 18px !important;border-top:1px solid var(--cl-line);overflow:hidden}
body.woocommerce-cart td.actions .coupon{float:left;display:flex;gap:8px;align-items:center}
body.woocommerce-cart td.actions .coupon label{position:absolute !important;left:-9999px}
body.woocommerce-cart td.actions input#coupon_code{border:1px solid var(--cl-line);border-radius:100px;padding:10px 16px;font-size:14px;min-width:190px;width:auto;height:auto}
body.woocommerce-cart td.actions .button{background:#fff !important;color:var(--cl-navy) !important;border:1px solid var(--cl-line) !important;border-radius:100px !important;padding:11px 22px !important;font-weight:600;font-size:14px;line-height:1 !important;height:auto !important;box-shadow:none !important;text-transform:none}
body.woocommerce-cart td.actions .button:hover{border-color:var(--cl-blue) !important;color:var(--cl-blue) !important}
body.woocommerce-cart td.actions button[name=update_cart]{float:right}
body.woocommerce-cart td.actions button[name=update_cart]:disabled{opacity:.5}

/* two-column layout: items (left) + totals card (right, sticky, above the fold) */
body.woocommerce-cart .kadence-woo-cart-form-wrap{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,.85fr);gap:34px;align-items:start}
body.woocommerce-cart .kadence-woo-cart-form-wrap > .woocommerce-cart-form{grid-column:1;order:0;margin:0;float:none;width:auto;min-width:0}
body.woocommerce-cart .kadence-woo-cart-form-wrap > .cart-collaterals{grid-column:2;order:0;margin:0;width:auto;float:none;display:block;min-width:0}
body.woocommerce-cart .cart-collaterals .cart_totals{width:100%;float:none;background:#fff;border:1px solid var(--cl-line);border-radius:16px;padding:24px;margin:0;position:sticky;top:24px}
.cl-cart-doc{margin-top:18px;background:#fff;border:1px solid rgba(192,165,119,.42);border-radius:14px;padding:20px 22px;font-size:14px;line-height:1.6;color:var(--cl-slate)}
.cl-cart-doc b{color:var(--cl-navy)}
.cl-cart-doc a{color:var(--cl-blue);text-decoration:underline}

/* totals card */
body.woocommerce-cart .cart_totals h2{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:19px;color:var(--cl-navy);margin:0 0 16px;text-transform:none}
body.woocommerce-cart .cart_totals table{width:100%;border:none;margin:0}
body.woocommerce-cart .cart_totals table tr{background:none}
body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td{border:none;border-bottom:1px solid var(--cl-line);padding:11px 0;font-size:14.5px;background:none}
body.woocommerce-cart .cart_totals table th{text-align:left;color:var(--cl-slate);font-weight:400}
body.woocommerce-cart .cart_totals table td{text-align:right;color:var(--cl-navy);font-weight:600}
body.woocommerce-cart .cart_totals tr.order-total th,
body.woocommerce-cart .cart_totals tr.order-total td{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:21px;color:var(--cl-navy);border-bottom:none;padding-top:16px}

/* checkout + continue buttons */
body.woocommerce-cart .wc-proceed-to-checkout{padding:0;margin-top:18px}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:block;width:100%;text-align:center;background:var(--cl-blue) !important;color:#fff !important;border-radius:100px !important;padding:15px 24px !important;font-weight:600;font-size:15px;box-shadow:0 10px 26px rgba(27,77,255,.24)}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button::after{content:" \2192"}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{background:var(--cl-blue-dark) !important}
.cl-cart-continue{display:block;width:100%;text-align:center;margin-top:10px;background:#fff;color:var(--cl-navy);border:1px solid var(--cl-line);border-radius:100px;padding:13px 24px;font-weight:600;font-size:15px;text-decoration:none}
.cl-cart-continue:hover{border-color:var(--cl-blue);color:var(--cl-blue)}

@media(max-width:940px){
  body.woocommerce-cart .kadence-woo-cart-form-wrap{grid-template-columns:1fr}
  body.woocommerce-cart .kadence-woo-cart-form-wrap > .woocommerce-cart-form,
  body.woocommerce-cart .kadence-woo-cart-form-wrap > .cart-collaterals{grid-column:auto}
  body.woocommerce-cart .cart-collaterals .cart_totals{position:static}
}

/* =====================================================================
   22. CHECKOUT (block) — brand pass
   ===================================================================== */
/* page title */
body.woocommerce-checkout .entry-header .entry-title{font-family:'Fraunces',Georgia,serif;font-weight:600;color:var(--cl-navy);font-size:clamp(44px,5.8vw,68px);letter-spacing:-.025em}
/* section headings ("Contact information", "Billing address", "Order summary", …) */
body.woocommerce-checkout .wc-block-components-title{font-family:'Fraunces',Georgia,serif !important;color:var(--cl-navy) !important;font-weight:600 !important}

/* inputs / selects / comboboxes — rounded, soft brand border + blue focus */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input textarea,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout select{border-radius:10px !important;border:1px solid var(--cl-line) !important;background:#fff}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox input:focus,
body.woocommerce-checkout select:focus{border-color:var(--cl-blue) !important;box-shadow:0 0 0 1px var(--cl-blue) !important;outline:none}
body.woocommerce-checkout .wc-block-components-text-input.is-active label{color:var(--cl-blue) !important}

/* place order button — brand blue pill */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button{background:var(--cl-blue) !important;border-color:var(--cl-blue) !important;color:#fff !important;border-radius:100px !important;font-weight:600 !important;box-shadow:0 10px 26px rgba(27,77,255,.24)}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover{background:var(--cl-blue-dark) !important;border-color:var(--cl-blue-dark) !important}

/* order summary — rounded card, sticky beside the form */
body.woocommerce-checkout .wc-block-checkout__sidebar{position:sticky;top:24px}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block{background:#fff;border:1px solid var(--cl-line);border-radius:16px}
/* grand total in serif */
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:21px;color:var(--cl-navy)}
/* links (edit account, terms) in brand blue */
body.woocommerce-checkout .wc-block-components-checkout-step a,
body.woocommerce-checkout .wc-block-checkout__actions a{color:var(--cl-blue)}

@media(max-width:940px){
  body.woocommerce-checkout .wc-block-checkout__sidebar{position:static}
}

/* =====================================================================
   23. GLOBAL REMOVALS — breadcrumbs + product-image zoom trigger
   ===================================================================== */
.kadence-breadcrumbs,
.kadence-breadcrumb-container{display:none !important}
.woocommerce-product-gallery__trigger{display:none !important}

/* =====================================================================
   24. CART / CHECKOUT — left-align the page-title band (match prototype)
   Kadence centers the page-hero title; the prototype has it flush-left
   with the content column.
   ===================================================================== */
body.woocommerce-cart .entry-hero .entry-header,
body.woocommerce-checkout .entry-hero .entry-header,
body.woocommerce-cart .entry-hero .entry-header .entry-title,
body.woocommerce-checkout .entry-hero .entry-header .entry-title{text-align:left !important}
/* the header is a flex row centering the title — align it to the start */
body.woocommerce-cart .entry-hero .entry-header.page-title,
body.woocommerce-checkout .entry-hero .entry-header.page-title{justify-content:flex-start !important;align-items:flex-start !important}
/* flatten Kadence's gray page-hero band: white bg, no forced min-height */
body.woocommerce-cart .entry-hero-container-inner,
body.woocommerce-checkout .entry-hero-container-inner{background:transparent !important}
body.woocommerce-cart .entry-header.page-title,
body.woocommerce-checkout .entry-header.page-title{min-height:0 !important;padding-top:44px !important;padding-bottom:8px !important}

/* =====================================================================
   25. CHECKOUT / CART — white page, bordered form cards, lean summary
   ===================================================================== */
/* whole page white */
body.woocommerce-checkout,body.woocommerce-cart{background:#fff !important}
/* left form sections as bordered cards (same hairline as the order summary) */
body.woocommerce-checkout .wc-block-components-checkout-step{border:1px solid var(--cl-line);border-radius:16px;padding:26px 28px;margin-bottom:22px;background:#fff}
/* order summary: image + name + price only — drop the product blurb */
body.woocommerce-checkout .wc-block-components-product-metadata__description{display:none !important}
/* remove the extra 80px gap Kadence puts below the page title */
body.woocommerce-checkout .content-area,
body.woocommerce-cart .content-area{margin-top:0 !important}

/* =====================================================================
   26. INNER PAGES — remove Kadence's big top margin under the header
   ===================================================================== */
body:not(.home) .content-area{margin-top:0 !important}
/* full-bleed navy hero (About) meets the header with no white strip */
.cl-ip-hero{margin-top:-32px}

/* =====================================================================
   27. MY CLARITY (WooCommerce My Account)
   ===================================================================== */
/* page shell: white bg + left-aligned, flattened title band (match cart/checkout) */
body.woocommerce-account{background:#fff !important}
body.woocommerce-account .entry-hero-container-inner{background:transparent !important}
body.woocommerce-account .entry-hero .entry-header,
body.woocommerce-account .entry-hero .entry-header .entry-title{text-align:left !important}
body.woocommerce-account .entry-hero .entry-header.page-title{justify-content:flex-start !important;align-items:flex-start !important;min-height:0 !important;padding-top:44px !important;padding-bottom:8px !important}
body.woocommerce-account .entry-header .entry-title{font-family:'Fraunces',Georgia,serif;font-weight:600;color:var(--cl-navy);font-size:clamp(40px,5vw,60px);letter-spacing:-.025em}

/* --- logged out: login form as a centered card --- */
body.woocommerce-account:not(.logged-in) .woocommerce{max-width:460px;margin:0 auto}
body.woocommerce-account .woocommerce > h2{font-family:'Fraunces',Georgia,serif;font-weight:600;color:var(--cl-navy);font-size:22px;margin:0 0 16px}
body.woocommerce-account .woocommerce-form-login{background:#fff;border:1px solid var(--cl-line);border-radius:18px;padding:30px 30px 26px;margin:0}
body.woocommerce-account .woocommerce-form-row label{display:block;font-size:12.5px;font-weight:600;color:var(--cl-navy);margin-bottom:5px}
body.woocommerce-account .woocommerce input.input-text,
body.woocommerce-account .woocommerce input[type=text],
body.woocommerce-account .woocommerce input[type=email],
body.woocommerce-account .woocommerce input[type=password],
body.woocommerce-account .woocommerce input[type=tel]{width:100%;padding:12px 14px;border:1px solid var(--cl-line);border-radius:10px;font-size:14.5px;background:#fff}
body.woocommerce-account .woocommerce input.input-text:focus{border-color:var(--cl-blue);box-shadow:0 0 0 1px var(--cl-blue);outline:none}
body.woocommerce-account .woocommerce-form-login__rememberme{font-size:13px;color:var(--cl-slate);display:flex;align-items:center;gap:8px;margin:12px 0;font-weight:400}
body.woocommerce-account .woocommerce-form-login__submit{width:100%;justify-content:center;background:var(--cl-blue) !important;border-color:var(--cl-blue) !important;color:#fff !important;border-radius:100px !important;padding:13px 24px !important;font-weight:600;box-shadow:0 10px 26px rgba(27,77,255,.24);margin-top:4px}
body.woocommerce-account .woocommerce-form-login__submit:hover{background:var(--cl-blue-dark) !important}
body.woocommerce-account .lost_password a{color:var(--cl-blue)}

/* --- logged in: dashboard layout --- */
body.woocommerce-account.logged-in .woocommerce{display:grid;grid-template-columns:230px 1fr;gap:34px;align-items:start;max-width:none}
.woocommerce-MyAccount-navigation{background:#fff;border:1px solid var(--cl-line);border-radius:16px;padding:12px}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.woocommerce-MyAccount-navigation li{margin:0}
.woocommerce-MyAccount-navigation li a{display:block;padding:11px 14px;border-radius:10px;font-size:14.5px;font-weight:500;color:var(--cl-slate);text-decoration:none;transition:.15s}
.woocommerce-MyAccount-navigation li a:hover{background:var(--cl-offwhite);color:var(--cl-navy)}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--cl-navy);color:#fff}
.woocommerce-MyAccount-content{background:#fff;border:1px solid var(--cl-line);border-radius:16px;padding:28px 30px;min-width:0}
.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3{font-family:'Fraunces',Georgia,serif;color:var(--cl-navy)}
.woocommerce-MyAccount-content p{color:var(--cl-slate);line-height:1.7}
.woocommerce-MyAccount-content a{color:var(--cl-blue)}
.woocommerce-MyAccount-content .button,.woocommerce-account .woocommerce-Button{background:var(--cl-blue) !important;border-color:var(--cl-blue) !important;color:#fff !important;border-radius:100px !important;font-weight:600;padding:11px 22px !important}
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .woocommerce-table,
.woocommerce-account .shop_table{width:100%;border-collapse:collapse;border:1px solid var(--cl-line);border-radius:12px;overflow:hidden}
.woocommerce-account .woocommerce-orders-table th,.woocommerce-account .woocommerce-table th,.woocommerce-account .shop_table th{text-align:left;font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--cl-mute);font-weight:700;padding:12px 16px;background:#FAFCFD;border-bottom:1px solid var(--cl-line)}
.woocommerce-account .woocommerce-orders-table td,.woocommerce-account .woocommerce-table td,.woocommerce-account .shop_table td{padding:14px 16px;font-size:14px;border-bottom:1px solid var(--cl-line);color:var(--cl-slate)}
.woocommerce-account .woocommerce-Addresses{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:8px}
.woocommerce-account .woocommerce-Address{background:var(--cl-offwhite);border:1px solid var(--cl-line);border-radius:14px;padding:20px 22px}
.woocommerce-account .woocommerce-Address address{font-style:normal;color:var(--cl-slate);line-height:1.6;font-size:14px}
@media(max-width:900px){
  body.woocommerce-account.logged-in .woocommerce{grid-template-columns:1fr}
  .woocommerce-account .woocommerce-Addresses{grid-template-columns:1fr}
}

/* =====================================================================
   28. MOBILE QA FIXES
   ===================================================================== */
@media(max-width:1200px){
  /* homepage hero: size to content (no big empty gradient) whenever the nav is
     collapsed. The panel is widened, and the copy's 560px flex-basis (which
     becomes a fixed HEIGHT in the column layout) is reset so it fits content. */
  body.home .cl-hero.wp-block-cover{min-height:auto !important}
  body.home .cl-hero-panel{align-self:auto !important;justify-content:flex-start !important;margin-top:0 !important;width:calc(100% - 24px) !important;padding:96px 22px 40px !important}
  body.home .cl-hero-copy{flex:0 0 auto !important}
}

@media(max-width:768px){
  /* cart: render each line item as a clean card instead of the raw responsive rows */
  body.woocommerce-cart .woocommerce-cart-form table.shop_table{border:none}
  body.woocommerce-cart .woocommerce-cart-form .cart_item{position:relative;border:1px solid var(--cl-line);border-radius:14px;padding:14px 16px;margin-bottom:14px;background:#fff}
  body.woocommerce-cart .woocommerce-cart-form .cart_item td{border:none !important;padding:5px 0 !important;display:flex;justify-content:space-between;align-items:center;text-align:right}
  body.woocommerce-cart .woocommerce-cart-form .cart_item td::before{color:var(--cl-mute);font-weight:600;font-size:12.5px}
  body.woocommerce-cart .woocommerce-cart-form .cart_item td.product-thumbnail{display:block !important;text-align:left !important;justify-content:flex-start;padding-bottom:8px !important}
  body.woocommerce-cart .woocommerce-cart-form .cart_item td.product-thumbnail img{width:70px;height:70px}
  body.woocommerce-cart .woocommerce-cart-form .cart_item td.product-name{display:block !important;text-align:left !important;padding-right:28px !important}
  body.woocommerce-cart .woocommerce-cart-form .cart_item td.product-name a{font-size:16px}
  body.woocommerce-cart .woocommerce-cart-form .cart_item .cl-cart-sub{text-align:left}
  body.woocommerce-cart .woocommerce-cart-form .cart_item td.product-name::before{display:none}
  body.woocommerce-cart .woocommerce-cart-form .cart_item td.product-remove{position:absolute;top:8px;right:10px;width:auto;padding:0 !important;display:block}
  body.woocommerce-cart .woocommerce-cart-form .cart_item td.product-quantity .quantity{margin-left:auto}
  /* coupon/update actions stack full width */
  body.woocommerce-cart td.actions{display:flex;flex-direction:column;gap:10px}
  body.woocommerce-cart td.actions .coupon{float:none;width:100%}
  body.woocommerce-cart td.actions input#coupon_code{flex:1;min-width:0}
  body.woocommerce-cart td.actions button[name=update_cart]{float:none;width:100%}
}

/* =====================================================================
   29. MISC POLISH — shop bottom bar, nav spacing, About photos
   ===================================================================== */
/* hide Kadence's leftover shop sort/display row (appears at the bottom) */
body.woocommerce-shop .kadence-shop-top-row{display:none !important}

/* nav: more space between menu items, and between the cart and the button */
#masthead .header-navigation .menu{gap:14px}
#masthead .header-cart-wrap{margin-right:18px !important}

/* About: real photos fill the media/RUO blocks */
.cl-ph.cl-story-media,.cl-ph.cl-ruocard{background-size:cover !important;background-position:center !important}

/* =====================================================================
   30. ABOUT — video play button + lightbox modal
   ===================================================================== */
.cl-story-media{position:relative}
.cl-play{position:absolute;inset:0;margin:auto;width:74px;height:74px;border:none;border-radius:50%;background:rgba(255,255,255,.92);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 32px rgba(0,0,0,.32);transition:transform .15s,background .15s}
.cl-play:hover{transform:scale(1.06);background:#fff}
.cl-play svg{width:26px;height:26px;margin-left:3px;fill:var(--cl-navy)}
.cl-vmodal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:24px}
.cl-vmodal.is-open{display:flex}
.cl-vmodal-bg{position:absolute;inset:0;background:rgba(6,16,35,.82);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.cl-vmodal-inner{position:relative;z-index:1;width:min(960px,100%)}
.cl-vmodal video{width:100%;max-height:84vh;border-radius:14px;background:#000;display:block}
.cl-vmodal-close{position:absolute;top:-46px;right:0;background:none;border:none;color:#fff;font-size:36px;line-height:1;cursor:pointer}

/* =====================================================================
   31. AGE GATE (21+)
   ===================================================================== */
.cl-agegate{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(9,18,32,.92);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.cl-agegate-card{max-width:460px;width:100%;background:#fff;border-radius:22px;padding:40px 36px;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.4)}
.cl-agegate-logo{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:24px;color:var(--cl-navy);margin-bottom:18px}
.cl-agegate-logo span{opacity:.55}
.cl-agegate-card h2{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:26px;color:var(--cl-navy);margin:0 0 12px;letter-spacing:-.01em}
.cl-agegate-card p{color:var(--cl-slate);font-size:15px;line-height:1.6;margin:0 0 22px}
.cl-agegate-btns{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}
.cl-agegate-yes{background:var(--cl-blue);color:#fff;border:none;border-radius:100px;padding:15px 24px;font-weight:600;font-size:15px;cursor:pointer;box-shadow:0 10px 26px rgba(27,77,255,.24);transition:background .15s}
.cl-agegate-yes:hover{background:var(--cl-blue-dark)}
.cl-agegate-no{background:#fff;color:var(--cl-slate);border:1px solid var(--cl-line);border-radius:100px;padding:13px 24px;font-weight:600;font-size:15px;cursor:pointer;transition:.15s}
.cl-agegate-no:hover{border-color:var(--cl-navy);color:var(--cl-navy)}
.cl-agegate-fine{font-size:12px !important;color:var(--cl-mute) !important;margin:0 !important;line-height:1.5}

/* =====================================================================
   32. PROTOTYPE TYPE MATCH — eyebrows, H1 (display), H2, nav hairline
   ===================================================================== */
/* eyebrows: 11.5px / .26em / 800 (prototype refined) */
.cl-eyebrow{font-size:11.5px !important;font-weight:800 !important;letter-spacing:.26em !important}

/* H1 / display scale on inner (.cl-ip) pages */
.cl-ip-hero h1,.cl-ip-hero-light h1{font-size:clamp(48px,7.4vw,94px) !important;line-height:.98 !important;letter-spacing:-.04em !important;font-weight:600 !important;max-width:960px}

/* H2 on inner (.cl-ip) pages: 42px / 500 / 1.08 / -.01em */
.cl-ip h2{font-size:clamp(30px,4.6vw,42px) !important;font-weight:500 !important;line-height:1.08 !important;letter-spacing:-.01em !important}

/* thin white hairline under the nav bar (inner pages, matches prototype) */
body:not(.home) #masthead{border-bottom:1px solid rgba(255,255,255,.16)}

/* =====================================================================
   33. HOMEPAGE — remove the "organized by goal" category section
   ===================================================================== */
body.home .cl-section:has(.cl-cats){display:none !important}
