/*
Theme Name:   Carved Child v22
Theme URI:    https://your-domain.com
Description:  Child theme for Carved — Bowls & Spoons by Hand (v22) — ACF front-page fields + Polylang standard (page duplication)
Author:       DavidHlyns
Template:     kadence
Version:      22.0.0
*/

/* ─── Design tokens ────────────────────────────────────────────── */
:root {
  --black:  #0d0d0d;
  --white:  #f8f7f5;
  --mid:    #c8c4be;
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono:   'DM Mono', monospace;
  --thin:   300;

  /* ─── Typography scale ─────────────────────────────────────── */
  --font-body:        1rem;     /* main paragraph text */
  --font-body-sm:     0.8rem;   /* secondary / smaller paragraphs */
  --font-body-xs:     0.75rem;  /* captions, course desc, step desc */
  --font-label:       0.65rem;  /* mono labels, eyebrows, buttons */
  --font-label-sm:    0.62rem;  /* tiny labels */
  --font-label-xs:    0.6rem;   /* footer, captions */

  /* ─── Heading scale ────────────────────────────────────────── */
  --font-hero:        clamp(3.5rem, 6vw, 6rem);   /* hero h1 */
  --font-h1:          clamp(2.8rem, 5vw, 5.5rem); /* large page titles */
  --font-h2:          clamp(2rem, 4vw, 3.5rem);   /* section titles */
  --font-h3:          clamp(1.9rem, 2.5vw, 2.4rem); /* panel labels, col titles */
  --font-h4:          1.8rem;   /* course/shop card names */
  --font-h5:          1.4rem;   /* step titles, smaller card names */
  --font-h6:          1.3rem;   /* small card names, about subheads — slightly larger for shop */

  /* ─── Font weights ─────────────────────────────────────────── */
  --fw-light:         300;
  --fw-normal:        400;

  /* ─── Paragraph opacity ────────────────────────────────────── */
  --opacity-body:     0.9;      /* all main body paragraph text */
  --opacity-muted:    0.8;     /* secondary / supporting text */
  --opacity-faint:    0.8;      /* labels, metadata, captions */
  --opacity-dim:      0.8;      /* step/course numbers */

  /* ─── Line heights ─────────────────────────────────────────── */
  --lh-body:          1.95;
  --lh-compact:       1.9;
}

/* ─── Reset Kadence base styles ────────────────────────────────── */
body {
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-weight: var(--thin);
  overflow-x: hidden;
}

/* Remove Kadence default container max-width on our templates */
.carved-page .entry-content,
.carved-page .wp-block-group {
  max-width: none;
  padding: 0;
}

/* Kill Kadence padding on full-width pages */
.carved-page .content-container {
  padding: 0;
  max-width: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--thin);
}

a { color: var(--black); }

html { scroll-behavior: smooth; }

/* ─── v21: Language switcher ─────────────────────────────────── */
.nav-lang-switch {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  padding: 0.25em 0.5em;
  border: 1px solid var(--mid);
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-lang-switch:hover {
  border-color: var(--black);
  color: var(--black);
}


/*Hide customization in Cookieadmin*/
#cookieadmin_customize_button
{
	display:none !important;
}