/*
Theme Name: IPsyMe
Theme URI: https://ipsyme.cz
Author: IPsyMe
Description: Evidence-based vzdělávání pro pomáhající profese. Landing template according to the IPsyMe Figma design.
Version: 1.0.0
Text Domain: ipsyme
*/

:root {
  --navy: #2c364e;
  --navy-dark: #1c2230;
  --olive: #bcba2e;
  --olive-dark: #a8a629;
  --olive-text: #7f7d12;
  --olive-bright: #cfcd55;
  --cream: #f2eee5;
  --cream-card: #f8f5ed;
  --sand: #e7e2d3;
  --border: #ded8c8;
  --border-strong: #b9ad94;
  --muted: #474d5a;
  --icon-lilac: #e2e4ec;
  --icon-yellow: #eceabd;
  --icon-sage: #e4ebe0;
  --white: #ffffff;
  --header-h: 7.2rem;
  --radius: 2.4rem;
  --radius-pill: 10rem;
  --wrap: 176rem;
  --gutter: clamp(2.4rem, 8vw, 12rem);
  --font-serif: "Spectral", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --text: 1.5rem;
  --shadow: 0 0.4rem 1.6rem rgba(44, 54, 78, 0.05), 0 0.1rem 0.2rem rgba(44, 54, 78, 0.05);
  --shadow-quote: 0 1.8rem 4.4rem rgba(44, 54, 78, 0.09), 0 0.4rem 1.4rem rgba(44, 54, 78, 0.07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  /*
   * clip, not hidden: overflow-x:hidden with no overflow-y set makes the
   * browser auto-compute overflow-y:auto (per the CSS overflow-pairing
   * rule), turning html/body into a scroll container — which breaks
   * position:sticky on .site-header (it sticks to that container
   * instead of the viewport). overflow-x:clip has no such side effect.
   */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text);
  line-height: 1.55;
  color: var(--muted);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/*
 * clip, not hidden: overflow:hidden on body while the mobile menu is
 * open turns body into a scroll container — the same issue that broke
 * .site-header's position:sticky before (see the html/body overflow-x
 * rule above). overflow:clip still blocks background scroll without
 * that side effect, so the header stays sticky with the menu open too.
 */
body.nav-open {
  overflow: clip;
}

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

/*
 * Core WP block styles (wp-block-library) are dequeued site-wide — see
 * ipsyme_dequeue_wp_styles() — so the browser's UA default figure
 * margin (normally reset by that stylesheet) would otherwise indent
 * the Image block used in the founder photo.
 */
figure {
  margin: 0;
}

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

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  background: var(--navy);
  color: var(--cream-card);
  padding: 1rem 1.6rem;
  border-radius: 0.8rem;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  margin: 0 0 1.2rem;
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-text);
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 3.4vw, 6.4rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.lede {
  margin: 1.6rem 0 0;
  font-size: var(--text);
  line-height: 1.5;
  color: var(--muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(242, 238, 229, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: var(--header-h);
  align-items: start;
  gap: 1.6rem;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.logo img {
  width: 2.8rem;
  height: 3.4rem;
  object-fit: contain;
}

.logo-size-small .logo {
  height: var(--header-h);
  padding-block: 0.8rem;
  box-sizing: border-box;
}

.logo-size-small .logo img {
  width: auto;
  height: 100%;
  max-height: 100%;
}

.logo span {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.6rem;
  letter-spacing: 0.005em;
  color: var(--navy);
  line-height: 1;
  white-space: nowrap;
}

.logo-size-middle .logo {
  align-self: start;
  z-index: 2;
  gap: 1.2rem;
  min-height: calc(var(--header-h) + 3.2rem);
  padding: 1.6rem 3.2rem 2.4rem 2.4rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 2.4rem 2.4rem;
  box-shadow: 0 1rem 2.8rem rgba(44, 54, 78, 0.1), 0 0.2rem 0.6rem rgba(44, 54, 78, 0.04);
}

.logo-size-middle .logo img {
  width: 5.2rem;
  height: 6.2rem;
}

.logo-size-middle .logo span {
  font-size: 3.4rem;
}

.logo-size-middle .logo--solo {
  justify-content: center;
  padding: 1.2rem 2rem 2rem;
}

.logo-size-middle .logo--solo img {
  width: auto;
  height: 9.6rem;
  max-width: 22rem;
}

.hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  margin: 0 auto 4.8rem;
}

.hero__brand img {
  width: 7.2rem;
  height: 8.6rem;
  object-fit: contain;
}

.hero__brand span {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(4.4rem, 6vw, 7.2rem);
  letter-spacing: 0.005em;
  color: var(--navy);
  line-height: 1;
}

.hero__brand--solo img {
  width: auto;
  height: 12rem;
  max-width: 28rem;
}

.logo-size-large .logo {
  height: var(--header-h);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin-left: 0;
  height: var(--header-h);
}

/*
 * Only shown inside the mobile nav panel — see the 900px breakpoint.
 * Selector is qualified (.site-nav a.nav-cta, not just .nav-cta) so it
 * beats .btn's "display" and .site-nav a's "color" on specificity
 * alone, regardless of where those rules sit in the file.
 */
.site-nav a.nav-cta {
  display: none;
  color: var(--cream-card);
}

.site-nav a.nav-cta:hover {
  color: var(--cream-card);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  height: 3.4rem;
  padding: 0 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--navy);
}

.header-actions {
  margin-left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  height: var(--header-h);
}

.nav-toggle {
  display: none;
  width: 4rem;
  height: 4rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  height: 0.15rem;
  background: var(--navy);
  border-radius: 1rem;
}

/*
 * ::before/::after use left/right:0 (not 1.2rem) because their
 * containing block is the span itself — which is already only as wide
 * as .nav-toggle minus those 1.2rem insets. Re-applying 1.2rem here
 * (relative to that already-narrow box) used to compute a negative,
 * invalid width, silently collapsing both lines to nothing.
 */
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0.15rem;
  background: var(--navy);
  border-radius: 1rem;
}

.nav-toggle span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle span::before { top: -0.7rem; }
.nav-toggle span::after { top: 0.7rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 4.4rem;
  padding: 0 1.8rem;
  border-radius: var(--radius-pill);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--solid {
  background: var(--navy);
  color: var(--cream-card);
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--navy);
  background: transparent;
}

.btn--cream {
  background: var(--cream-card);
  color: var(--navy);
}

.btn--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn img {
  width: 1.8rem;
  height: 1.8rem;
  flex-shrink: 0;
  object-fit: contain;
}

/* Hero */
.hero {
  position: relative;
  padding: 8rem 0 7rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
}

.hero::before {
  width: 52rem;
  height: 52rem;
  right: -8rem;
  top: -16rem;
  background: rgba(188, 186, 46, 0.28);
  opacity: 0.7;
}

.hero::after {
  width: 38rem;
  height: 38rem;
  left: -10rem;
  bottom: -18rem;
  background: rgba(47, 83, 71, 0.22);
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 92rem;
  margin: 0 auto;
}

.hero .eyebrow {
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(4rem, 5.5vw, 9.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.hero__lede {
  margin: 2.4rem auto 0;
  max-width: 82rem;
  font-size: var(--text);
  line-height: 1.5;
}

.hero__stats {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  margin: 4.4rem auto 0;
  width: fit-content;
}

.hero__stat {
  min-width: 18rem;
  padding: 0 3.6rem;
  text-align: center;
}

.hero__stat + .hero__stat {
  border-left: 1px solid var(--navy-dark);
}

.hero__stat strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.25rem;
  color: var(--navy);
  line-height: 1.2;
}

.hero__stat span {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.5rem;
  color: var(--muted);
}

.hero__photo {
  margin-top: 5.2rem;
  height: clamp(28rem, 32vw, 43rem);
  border-radius: var(--radius);
  background: var(--sand);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2.4rem;
  overflow: hidden;
}

.hero__photo p {
  margin: 0;
  font-size: var(--text);
  font-weight: 600;
  color: #8a7f68;
}

.hero__photo--image {
  padding: 0;
  border: 0;
  background: var(--navy-dark);
}

.hero__photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Values */
.values {
  position: relative;
  z-index: 1;
  padding: 8rem 0 10rem;
}

.values .lede {
  max-width: 68rem;
}

.values .wrap {
  position: relative;
  z-index: 1;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  margin-top: 5.2rem;
}

.feature-card,
.course-card,
.modality-card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 3.6rem 3.2rem 4rem;
  min-height: 32rem;
}

.icon-pill {
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 1.5rem;
  display: grid;
  place-items: center;
  margin-bottom: 2.4rem;
}

.icon-pill img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
}

.icon-pill--lilac { background: var(--icon-lilac); }
.icon-pill--yellow { background: var(--icon-yellow); }
.icon-pill--sage { background: var(--icon-sage); }

.feature-card h3 {
  margin: 0 0 1.4rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.6rem;
  letter-spacing: -0.01em;
  color: #000;
}

.feature-card p {
  margin: 0;
  font-size: var(--text);
  line-height: 1.5;
}

/* Courses */
.courses {
  padding: 8.4rem 0 9rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}

.posts-home {
  padding: 8.4rem 0 4.8rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.courses__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4.4rem;
}

.courses__viewport {
  overflow: hidden;
}

.courses__track {
  display: flex;
  gap: 2.4rem;
  transition: transform 0.45s ease;
}

.course-card {
  flex: 0 0 calc((100% - 4.8rem) / 3);
  min-height: 42rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

a.course-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.course-card:hover {
  border-color: var(--border-strong);
}

a.course-card:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.course-card__media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 13.8rem;
  padding: 2.2rem 2.4rem;
  color: var(--white);
  flex-shrink: 0;
}

.course-card__media--teal {
  --card-media-gradient: linear-gradient(162deg, #2f5347 70.7%, #2c364e 70.8%);
  --card-media-wash: linear-gradient(162deg, rgba(47, 83, 71, 0.22) 70.7%, rgba(44, 54, 78, 0.28) 70.8%);
  background: var(--card-media-gradient);
}

.course-card__media--blue {
  --card-media-gradient: linear-gradient(162deg, #697699 70.7%, #4a5878 70.8%);
  --card-media-wash: linear-gradient(162deg, rgba(105, 118, 153, 0.22) 70.7%, rgba(74, 88, 120, 0.28) 70.8%);
  background: var(--card-media-gradient);
}

.course-card__media--olive {
  --card-media-gradient: linear-gradient(162deg, #bcba2e 70.7%, #a8a629 70.8%);
  --card-media-wash: linear-gradient(162deg, rgba(188, 186, 46, 0.22) 70.7%, rgba(168, 166, 41, 0.28) 70.8%);
  background: var(--card-media-gradient);
}

.course-card__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(0.9) brightness(1.08);
}

.course-card__media--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--card-media-gradient);
  mix-blend-mode: color;
}

.course-card__media--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: var(--card-media-wash);
}

.course-card__tag {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  height: 3.6rem;
  padding: 0 1.4rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
}

.course-card__num {
  position: absolute;
  z-index: 3;
  right: 2.4rem;
  top: 1.6rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 3.6rem;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.55);
}

.course-card__body {
  padding: 2.4rem 3rem 2.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #000;
}

.course-card__tutor {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: auto;
  padding-top: 2.4rem;
}

.avatar {
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--white);
  flex-shrink: 0;
}

.avatar--teal { background: #2f5347; }
.avatar--blue { background: #697699; }
.avatar--olive { background: #a8a629; }

.course-card__tutor strong {
  display: block;
  font-size: 1.5rem;
  color: #000;
}

.course-card__tutor > div > span {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.35;
}

.course-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 0.4rem;
}

.course-card__date {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--text);
  font-weight: 600;
  color: var(--navy);
}

.course-card__date img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
}

.course-card__detail {
  font-size: var(--text);
  font-weight: 600;
  color: var(--olive-text);
}

.courses__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3.2rem;
}

.courses__pager {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.courses__range {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 3.6rem;
  color: var(--navy);
  line-height: 1;
}

.courses__slash {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: #cbbfa6;
}

.courses__total {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--muted);
}

.courses__bars {
  display: flex;
  gap: 1rem;
  margin-left: 1.2rem;
}

.courses__bar {
  width: 7rem;
  height: 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--sand);
}

.courses__bar.is-active {
  background: var(--olive);
}

.courses__arrows {
  display: flex;
  gap: 1.2rem;
}

.courses__arrows button {
  width: 6.2rem;
  height: 6.2rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--cream-card);
  font-size: 2rem;
  color: var(--navy);
}

.courses__arrows button:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Modalities */
.modalities {
  background: var(--navy);
  color: var(--cream);
  padding: 9rem 0 10rem;
}

.modalities__intro {
  text-align: center;
  max-width: 86rem;
  margin: 0 auto 5.6rem;
}

.modalities .eyebrow {
  color: var(--olive-bright);
}

.modalities h2 {
  color: var(--cream-card);
}

.modalities .lede {
  color: rgba(242, 238, 229, 0.7);
  margin-left: auto;
  margin-right: auto;
}

.modalities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

.modality-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  padding: 3.4rem 3.2rem 3.6rem;
  min-height: 24rem;
}

.modality-card .code {
  margin: 0 0 1.2rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--olive-bright);
}

.modality-card h3 {
  margin: 0 0 1.6rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.7rem;
  letter-spacing: -0.01em;
  color: var(--cream-card);
  line-height: 1.15;
}

.modality-card p {
  margin: 0;
  font-size: var(--text);
  line-height: 1.55;
  color: rgba(242, 238, 229, 0.66);
}

/* About */
.about {
  padding: 8rem 0 8rem;
  background: var(--cream-card);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 6rem;
  align-items: start;
}

.quote-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 6.4rem;
  padding: 5.6rem 6rem 5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-quote);
  background: linear-gradient(160deg, #e6e3c4 0%, #e7e2d3 40%, #dde0ea 73%);
  min-height: 40rem;
}

.quote-card__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(0.88) brightness(1.18);
}

.quote-card--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(160deg, #e6e3c4 0%, #e7e2d3 40%, #dde0ea 73%);
  mix-blend-mode: color;
}

.quote-card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(230, 227, 196, 0.4) 0%, rgba(231, 226, 211, 0.35) 40%, rgba(221, 224, 234, 0.48) 73%);
}

.quote-card__mark {
  position: relative;
  z-index: 3;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 10.8rem;
  line-height: 0.7;
  color: var(--olive);
  opacity: 0.9;
}

.quote-card blockquote {
  position: relative;
  z-index: 3;
  margin: 2.4rem 0 0;
  padding: 0;
}

.quote-card--photo .quote-card__mark,
.quote-card--photo blockquote {
  text-shadow: 0 0.08rem 0.45rem rgba(255, 255, 255, 0.28);
}

.quote-card p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 2.3vw, 3.2rem);
  line-height: 1.35;
  color: var(--navy);
  max-width: 38rem;
}

.quote-card footer {
  margin-top: 5.6rem;
  font-size: var(--text);
  font-weight: 600;
  color: var(--muted);
}

.about__copy h2 {
  max-width: 60rem;
}

.check-list {
  list-style: none;
  margin: 3.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: var(--text);
  color: #000;
}

.check-icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 1.45rem;
  background: var(--icon-lilac);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.check-icon img {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
}

.about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-top: 4rem;
}

/* CTA */
.cta-wrap {
  padding: 8rem 0 10rem;
  background: var(--cream);
  scroll-margin-top: var(--header-h);
}

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  width: 100%;
  border-radius: 4.8rem;
  padding: 8.8rem 4rem 9.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: #b3b22c;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(28px);
}

.cta::before {
  width: 62rem;
  height: 62rem;
  left: -18rem;
  top: -26rem;
  background: rgba(232, 228, 110, 0.55);
}

.cta::after {
  width: 68rem;
  height: 68rem;
  right: -22rem;
  bottom: -28rem;
  background: rgba(79, 92, 28, 0.42);
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta .eyebrow {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}

.cta h2 {
  margin: 2rem 0 0;
  max-width: 92rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(3.4rem, 4.2vw, 6.4rem);
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.12;
}

.cta__lede {
  margin: 2.4rem 0 0;
  max-width: 64rem;
  font-size: var(--text);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-top: 4.4rem;
}

.cta .btn--cream {
  background: var(--cream-card);
  color: var(--navy);
}

.cta .btn--outline-light {
  border-color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(242, 238, 229, 0.78);
  padding: 6.4rem 0 3.2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.05fr;
  gap: 3.2rem 2.4rem;
  align-items: start;
}

.footer__brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.8rem;
  letter-spacing: 0.005em;
  color: var(--cream-card);
  margin: 0 0 1.4rem;
  line-height: 1;
}

.footer__tagline {
  margin: 0;
  max-width: 28rem;
  font-size: 1.5rem;
  line-height: 1.5;
  color: rgba(242, 238, 229, 0.7);
}

.socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
}

.socials a {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.07);
  display: grid;
  place-items: center;
}

.socials img {
  width: 1.8rem;
  height: 1.8rem;
  object-fit: contain;
}

.footer__col h3 {
  margin: 0 0 1.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 238, 229, 0.5);
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  font-size: 1.5rem;
  line-height: 1.45;
}

.footer__col a:hover {
  color: var(--cream-card);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.4rem;
  color: rgba(242, 238, 229, 0.7);
}

.footer__legal {
  display: flex;
  gap: 2rem;
}

/* Responsive */
@media (max-width: 1180px) {
  .course-card {
    flex-basis: calc((100% - 2.4rem) / 2);
  }

  .header-phone {
    display: none;
  }

  .values__grid,
  .modalities__grid,
  .about__grid,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about__grid {
    gap: 4rem;
  }

  .quote-card {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .logo-size-middle .logo {
    min-height: calc(var(--header-h) + 1.6rem);
    padding: 1.2rem 2rem 1.8rem 1.6rem;
    gap: 1rem;
    border-radius: 0 0 2rem 2rem;
  }

  .logo-size-middle .logo img {
    width: 4rem;
    height: 4.8rem;
  }

  .logo-size-middle .logo span {
    font-size: 2.6rem;
  }

  .logo-size-middle .logo--solo img {
    height: 7.2rem;
    max-width: 16rem;
  }

  .hero__brand {
    margin-bottom: 3.2rem;
    gap: 1.2rem;
  }

  .hero__brand img {
    width: 5.6rem;
    height: 6.8rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    z-index: 60;
    inset: var(--header-h) 0 0 0;
    height: auto;
    margin: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 2.4rem;
    gap: 0.4rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .site-nav.is-open {
    transform: none;
  }

  .site-nav a.nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 1.6rem;
    color: var(--cream-card);
  }

  /*
   * backdrop-filter on an ancestor establishes a containing block for
   * fixed-position descendants in modern browsers — with it left on,
   * .site-nav's "inset" above ends up measured against the (tiny)
   * .site-header box instead of the viewport, so the mobile menu never
   * gets a real full-screen background. Drop it (and make the header
   * itself opaque) for as long as the menu is open.
   */
  body.nav-open .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--cream);
  }

  .site-nav a {
    height: 5.2rem;
    font-size: var(--text);
  }

  .header-phone {
    display: none;
  }

  .hero__stats {
    flex-direction: column;
    width: 100%;
    max-width: 28rem;
  }

  .hero__stat + .hero__stat {
    border-left: 0;
    border-top: 1px solid var(--navy-dark);
    padding: 1.6rem 0;
  }

  .hero__stat {
    min-width: 0;
    padding: 0.8rem 0;
  }

  .values__grid,
  .modalities__grid,
  .about__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .courses__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta {
    padding: 6.4rem 2.4rem 6.8rem;
    border-radius: 3.6rem;
  }

  .cta .btn {
    width: 100%;
    max-width: 36rem;
  }

  .cta-wrap {
    padding: 4.8rem 0 6.4rem;
  }

  .site-footer {
    padding: 4.8rem 0 3.2rem;
  }

  .footer__brand {
    font-size: 2.6rem;
    margin-bottom: 1.2rem;
  }

  .footer__bottom {
    margin-top: 3.2rem;
  }

  .quote-card {
    padding: 3.6rem 2.8rem 3.2rem;
    min-height: 0;
  }
}

@media (max-width: 759px) {
  .wrap,
  .site-header__inner {
    width: 100%;
  }

  .course-card {
    flex-basis: 100%;
  }

  .courses__bars {
    display: none;
  }

  .hero {
    padding: 4.8rem 0 5rem;
  }

  .posts-home {
    padding: 4.8rem 0 2.4rem;
  }

  .header-actions .btn--solid {
    display: none;
  }
}

/* Page intro — courses.php, about-us.php, single-kurz.php */
.page-intro {
  padding: 8rem 0 6rem;
}

/* Founder — about-us.php */
/*
 * Full-bleed background regardless of whatever "layout" type the block
 * editor sets on this Group (constrained/flex/etc — this section has
 * been re-edited visually a few times already) — width:100vw + the
 * left/translate centering trick forces it to span the full viewport
 * no matter what max-width WordPress (or a plugin) applies to the
 * block itself. Any 1px of overflow this causes is swallowed by
 * html/body's overflow-x:clip.
 */
.founder-section {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 8rem 0;
  background: var(--cream-card);
}

/*
 * The content's own width still needs to follow the normal page
 * content column — the section background is full-bleed, not the
 * photo/text row itself. Scoped to .founder-section specifically
 * rather than a global .wp-block-columns rule, since this is the only
 * place on the site currently using the Columns block.
 */
.founder-section .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 6rem;
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/*
 * The photo is always the first column — stretch it (and the image
 * inside it) to match the text column's height, instead of sizing to
 * its own (portrait, 760×900) aspect ratio.
 *
 * min-height:0 is the important part: flex items default to
 * min-height:auto, which for an image-containing column means "at
 * least as tall as the image's own natural height" — with a portrait
 * photo that's taller than the text column, align-items:stretch would
 * then size the WHOLE row to match the photo instead of the other way
 * around. min-height:0 lets this column shrink freely, so the row's
 * height ends up governed by the text column, and the photo (told to
 * be height:100% with object-fit:cover) fills — and crops to — that.
 */
.founder-section .wp-block-column:first-child {
  display: flex;
  min-height: 0;
}

.founder-section .wp-block-column:first-child .wp-block-image {
  width: 100%;
  height: 100%;
  margin: 0;
}

.founder-section .wp-block-column:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.founder__grid {
  align-items: center;
}

/*
 * As a Gutenberg Group block (about-us.php content is block-edited),
 * .founder__grid's actual children — the photo and info groups — land
 * inside an auto-inserted .wp-block-group__inner-container, one level
 * below where .about__grid's "display:grid" lives. Without this, that
 * inner container is just normal block flow and the two-column layout
 * collapses to a single stacked column. "inherit" pulls the exact same
 * grid values down from the parent so nothing needs duplicating here.
 */
.founder__grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: inherit;
  gap: inherit;
  align-items: inherit;
}

.founder__photo img {
  width: 100%;
  aspect-ratio: 760 / 900;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.founder__role {
  margin: 0 0 2rem;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--olive-text);
}

.founder__info p {
  margin: 0 0 1.6rem;
  font-size: var(--text);
  line-height: 1.55;
}

.founder__facts {
  margin-top: 2.4rem;
}

.founder__facts p {
  margin: 0 0 0.6rem;
  font-weight: 600;
  color: var(--navy);
}

.founder__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.8rem;
}

/*
 * Founder socials are a core Buttons/Button block (visually editable in
 * the block editor) with "social-pill" set as the button's Additional
 * CSS Class — that class lands on the outer .wp-block-button wrapper,
 * not the <a> itself, so these rules reach through it to style the
 * actual link. The LinkedIn/Facebook icon is a background-image on
 * ::before instead of a nested icon element, since the Button block's
 * text can't contain arbitrary markup.
 */
.social-pill .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  height: 4.6rem;
  padding: 0 2rem 0 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--cream-card);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy);
  transition: transform 0.15s ease;
}

.social-pill .wp-block-button__link:hover {
  transform: translateY(-1px);
  color: var(--navy);
}

.social-pill .wp-block-button__link::before {
  content: "";
  display: inline-block;
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.social-pill--linkedin .wp-block-button__link::before {
  background-image: url("assets/icons/linked-in-icon.svg");
}

.social-pill--facebook .wp-block-button__link::before {
  background-image: url("assets/icons/facebook-icon.svg");
}

/* Filter pills — courses.php */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3.2rem;
}

.filter-pill {
  min-height: 4rem;
  padding: 0 1.8rem;
}

.shop-cart-btn {
  margin-left: auto;
}

/* Courses grid — courses.php */
.courses-section {
  padding: 6rem 0 9rem;
  background: var(--cream-card);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

.courses-grid .course-card {
  min-width: 28rem;
}

.course-card.is-hidden {
  display: none;
}

.course-card__excerpt {
  margin: 1.2rem 0 0;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
}

.course-card--post .course-card__meta {
  margin-top: auto;
  padding-top: 2.4rem;
}

.course-card--product .course-card__tutor strong,
.course-card--product .course-card__tutor .woocommerce-Price-amount,
.course-card--product .course-card__tutor .amount,
.course-card--product .course-card__tutor bdi {
  white-space: nowrap;
}

.course-card__tutor .woocommerce-Price-amount,
.course-card__tutor .amount {
  font-size: 1.5rem;
  font-weight: 600;
  color: #000;
}

.course-card__tutor del {
  opacity: 0.55;
  margin-right: 0.4rem;
}

.woocommerce-notices-wrapper:empty {
  display: none;
}

/*
 * Courses grid skips the 2-column tablet tier entirely and goes
 * straight from 3 columns to a single stacked column at this same
 * breakpoint — no in-between state that a "Request desktop site" mobile
 * browser (which reports a wider viewport than the real screen) could
 * land in and render side-by-side cards on a phone.
 *
 * This block MUST stay after the base .courses-grid rule above:
 * media queries don't add specificity, so with equal-specificity
 * selectors, whichever rule is later in the file wins the cascade
 * regardless of whether its @media condition matches.
 */
@media (max-width: 1180px) {
  .courses-grid {
    display: flex;
    flex-direction: column;
  }

  .courses-grid .course-card {
    min-width: 0;
    width: 100%;
  }
}

/* Single course page */
.course-card__tutor--single {
  margin-top: 3.2rem;
  padding-top: 0;
}

.course-card__date--single {
  margin: 1.6rem 0 0;
}

.course-content {
  max-width: 82rem;
  font-size: var(--text);
  line-height: 1.6;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2.4rem;
  margin: 1.6rem 0 0;
  font-size: 1.45rem;
  color: var(--muted);
}

.post-hero-photo {
  margin: 4rem 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-dark);
}

.post-hero-photo__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 48rem;
  object-fit: cover;
}

.post-content ul,
.post-content ol {
  display: block;
  grid-template-columns: none;
  padding-left: 2.2rem;
  list-style: disc;
}

.post-content ol {
  list-style: decimal;
}

.post-content li {
  padding-left: 0;
}

.post-content li::before {
  content: none;
}

@media (max-width: 900px) {
  .founder-section {
    padding: 4.8rem 0;
  }

  .founder-section .wp-block-columns {
    flex-direction: column;
    gap: 3.2rem;
  }

  .page-intro {
    padding: 4.8rem 0 3.6rem;
  }
}

/* Single product — Figma course detail, site tokens */
.product-intro {
  padding-bottom: 4.8rem;
}

.product-back {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 2.4rem;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--muted);
}

.product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0 0 2.4rem;
}

.product-pill {
  display: inline-flex;
  align-items: center;
  min-height: 3.3rem;
  padding: 0 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-pill--navy {
  background: var(--navy);
  color: var(--cream-card);
}

.product-pill--sand {
  background: var(--sand);
  color: var(--navy);
}

.product-lede {
  max-width: 72rem;
  font-size: 1.7rem;
  line-height: 1.55;
}

.product-lede p {
  margin: 0;
}

.product-garant {
  margin: 2rem 0 0;
  max-width: 72rem;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy);
}

.product-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-card);
}

.product-stats--1 { grid-template-columns: 1fr; }
.product-stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-stat {
  padding: 2.4rem 2.8rem;
  min-height: 9.2rem;
}

.product-stat--select {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.product-stat--select .variations {
  width: 100%;
}

.product-stat--select .reset_variations {
  display: none !important;
}

.ipsyme-product-form {
  margin: 0;
  padding: 0;
  border: 0;
}

.product-stat + .product-stat {
  border-left: 1px solid var(--border);
}

.product-stat__label {
  display: block;
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-stat__value {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.9rem;
  color: var(--navy);
}

.product-body {
  padding: 0 0 9rem;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40rem;
  gap: 4.8rem;
  align-items: start;
}

.product-content {
  max-width: 82rem;
  font-size: var(--text);
  line-height: 1.65;
  color: var(--muted);
}

.product-content > *:first-child {
  margin-top: 0;
}

.product-content h2 {
  margin: 4rem 0 1.6rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 3.2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.product-content h3 {
  margin: 2.8rem 0 1.2rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.2rem;
  color: var(--navy);
}

.product-content p {
  margin: 0 0 1.6rem;
}

.product-content ul,
.product-content ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 3.2rem;
  margin: 0 0 2.4rem;
  padding: 0;
  list-style: none;
}

.product-content li {
  position: relative;
  padding-left: 2.8rem;
}

.product-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.8rem;
  height: 1.8rem;
  background: url("assets/icons/check.svg") center / contain no-repeat;
}

.product-content blockquote {
  margin: 0 0 2.4rem;
  padding: 2rem 2.4rem;
  border-radius: 1.2rem;
  background: var(--cream-card);
  border: 1px solid var(--border);
}

.product-content blockquote p:last-child {
  margin-bottom: 0;
}

.product-content a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.product-content .wp-block-image,
.product-content .wp-block-video,
.product-content .wp-block-embed {
  margin: 0 0 2.4rem;
}

.product-content .wp-block-image img {
  border-radius: 1.2rem;
}

.product-content .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  margin: 0 0 2.4rem;
}

.product-content .wp-block-column {
  flex: 1 1 16rem;
  min-width: 0;
}

.product-content .wp-block-group {
  margin: 0 0 2.4rem;
}

.product-content hr,
.product-content .wp-block-separator {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 3.2rem 0;
}

.product-content .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 0 0 2.4rem;
}

.product-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.4rem;
  padding: 0 1.8rem;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: var(--cream-card);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.product-content.post-content ul,
.product-content.post-content ol {
  display: block;
  grid-template-columns: none;
  padding-left: 2.2rem;
  list-style: disc;
}

.product-content.post-content ol {
  list-style: decimal;
}

.product-content.post-content li {
  padding-left: 0;
}

.product-content.post-content li::before {
  content: none;
}

.product-book {
  position: sticky;
  top: calc(var(--header-h) + 2.4rem);
  padding: 3.2rem 3.2rem 2.8rem;
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 2.6rem;
  box-shadow: var(--shadow);
}

.product-book h2 {
  margin: 0 0 2.4rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.2rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.product-book__facts {
  margin: 0 0 0.8rem;
}

.product-book__facts > div {
  margin: 0 0 1.8rem;
}

.product-book__facts dt {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-book__facts dd {
  margin: 0;
  font-size: var(--text);
  line-height: 1.5;
  color: #000;
}

.product-book__facts a {
  color: #000;
}

.product-book__cart {
  margin-top: 1.2rem;
}

.product-book .variations {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.6rem;
}

.product-book .variations th,
.product-book .variations td {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-book .variations td {
  margin-top: 0.6rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.product-book .variations select,
.product-stat--select select {
  width: 100%;
  min-height: 4.4rem;
  padding: 0 4.2rem 0 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232c364e' d='M1.4.8 6 5.4 10.6.8 12 2.2 6 8 0 2.2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.8rem center;
  background-size: 1.2rem 0.8rem;
  font: inherit;
  font-size: 1.45rem;
  color: var(--navy);
  appearance: none;
  -webkit-appearance: none;
}

.product-book .reset_variations {
  display: none !important;
}

.product-book .quantity,
.product-book .wc-product-gallery-default-template,
.product-book .woocommerce-variation-description,
.product-book .woocommerce-product-gallery,
.product-book .stock {
  display: none;
}

.product-book .woocommerce-variation-price {
  display: none;
}

.product-book .single_add_to_cart_button,
.product-book button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 4.4rem;
  padding: 0 1.8rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--navy);
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--cream-card);
  cursor: pointer;
}

.product-book .single_add_to_cart_button:hover,
.product-book button.button:hover {
  transform: translateY(-1px);
}

.product-book .single_add_to_cart_button.disabled,
.product-book .single_add_to_cart_button:disabled {
  background: var(--navy);
  color: var(--cream-card);
  opacity: 0.4;
  cursor: default;
  transform: none;
}

.product-book__note {
  margin: 1.6rem 0 0;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--muted);
}

.woocommerce-notices-wrapper:empty,
.woocommerce-message:empty {
  display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  margin: 0 0 2.4rem;
  padding: 1.4rem 1.8rem;
  border-radius: 1.2rem;
  border: 1px solid var(--border);
  background: var(--cream-card);
  color: var(--navy);
}

@media (max-width: 1180px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-book {
    position: static;
    order: -1;
  }

  .product-stats {
    grid-template-columns: 1fr 1fr;
  }

  .product-stat:nth-child(3),
  .product-stat:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .product-stat:nth-child(even) {
    border-left: 1px solid var(--border);
  }
}

@media (max-width: 760px) {
  .product-stats {
    grid-template-columns: 1fr;
  }

  .product-stat + .product-stat,
  .product-stat:nth-child(even) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .product-content ul,
  .product-content ol {
    grid-template-columns: 1fr;
  }

  .product-content.post-content ul,
  .product-content.post-content ol {
    grid-template-columns: none;
  }

  .product-content .wp-block-columns {
    flex-direction: column;
  }
}

.page-content {
  padding: 0 0 8rem;
}

/* Cart */
.cart-body {
  padding: 0 0 9rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36rem;
  gap: 4.8rem;
  align-items: start;
}

.cart-form {
  min-width: 0;
}

.cart-lines {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.cart-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: start;
  padding: 2.4rem 2.8rem;
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 2.6rem;
  box-shadow: var(--shadow);
}

.cart-line__info h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 1.2;
  color: var(--navy);
}

.cart-line__info a {
  color: inherit;
}

.cart-line__qty {
  margin: 0.4rem 0 0;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--muted);
}
  color: var(--navy);
}

.cart-line .variation {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  color: var(--muted);
}

.cart-line .variation dt {
  display: inline;
  font-weight: 600;
  margin: 0;
}

.cart-line .variation dt::after {
  content: ": ";
}

.cart-line .variation dd {
  display: inline;
  margin: 0 1.2rem 0 0;
}

.cart-line__price {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2rem;
  color: var(--navy);
  white-space: nowrap;
  padding-top: 0.4rem;
}

.cart-line .product-remove {
  margin-top: 0.2rem;
}

.cart-line .remove {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--muted);
}

.cart-line .remove:hover {
  color: var(--navy);
}

.cart-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  margin-top: 2.4rem;
}

.cart-form__actions .coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  flex: 1;
}

.cart-form__actions .input-text {
  min-height: 4.4rem;
  padding: 0 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--cream-card);
  font: inherit;
  color: var(--navy);
}

.cart-form__update,
.cart-line .product-quantity {
  display: none;
}

.woocommerce-remove-coupon {
  margin-left: 0.6rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--muted);
}

.woocommerce-cart .woocommerce-notices-wrapper .button {
  display: none;
}

.woocommerce-message a.restore-item {
  font-weight: 600;
  color: var(--navy);
}

.cart-aside .product-book {
  position: sticky;
  top: calc(var(--header-h) + 2.4rem);
  z-index: 1;
  min-width: 0;
}

.cart-aside .order-total dd {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.2rem;
  color: var(--navy);
}

.cart-aside .checkout-button {
  width: 100%;
  margin-top: 0.8rem;
}

.cart-aside .wc-proceed-to-checkout {
  margin-top: 1.2rem;
}

@media (max-width: 1180px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-aside .product-book {
    position: static;
  }
}

@media (max-width: 760px) {
  .cart-line {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .cart-line__price {
    grid-column: 2;
    padding-top: 0;
  }
}

/* Checkout */
.checkout-body {
  padding: 0 0 9rem;
}

.checkout-coupon-toggle {
  margin: 0 0 2rem;
  font-size: 1.45rem;
}

.checkout-coupon-toggle a {
  font-weight: 600;
  color: var(--navy);
}

.checkout-body .woocommerce-form-coupon {
  margin-bottom: 2.4rem;
}

.checkout-main {
  min-width: 0;
}

.woocommerce-billing-fields h2 {
  margin: 0 0 2.4rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.2rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem 2rem;
}

.woocommerce-billing-fields__field-wrapper > .form-row,
.woocommerce-additional-fields__field-wrapper > .form-row,
.woocommerce-shipping-fields__field-wrapper > .form-row {
  min-width: 0;
}

.form-row {
  margin: 0;
}

.form-row-wide {
  grid-column: 1 / -1;
}

.form-row label {
  display: block;
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-row .optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.form-row .required {
  text-decoration: none;
  border: 0;
  color: var(--olive-dark);
}

.woocommerce-input-wrapper {
  display: block;
}

.woocommerce-checkout .input-text,
.woocommerce-checkout select:not(.select2-hidden-accessible),
.woocommerce-checkout textarea {
  width: 100%;
  min-height: 4.4rem;
  padding: 0 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--cream-card);
  font: inherit;
  font-size: 1.45rem;
  color: var(--navy);
}

.woocommerce-checkout select:not(.select2-hidden-accessible) {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232c364e' d='M1.4.8 6 5.4 10.6.8 12 2.2 6 8 0 2.2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.8rem center;
  background-size: 1.2rem 0.8rem;
  padding-right: 4.2rem;
}

.woocommerce-checkout textarea {
  min-height: 10rem;
  padding: 1.2rem 1.6rem;
  border-radius: 1.6rem;
  resize: vertical;
}

.woocommerce-checkout .woocommerce-invalid .input-text,
.woocommerce-checkout .woocommerce-invalid select:not(.select2-hidden-accessible) {
  border-color: #b42318;
}

.select2-hidden-accessible {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

.select2-container {
  display: block;
  width: 100% !important;
}

.select2-container .select2-selection--single {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 4.4rem;
  min-height: 4.4rem;
  padding: 0 4.2rem 0 1.6rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--cream-card);
}

.select2-container--open .select2-selection--single,
.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-radius: var(--radius-pill);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  display: block;
  padding: 0;
  line-height: 1.2;
  color: var(--navy);
  font-size: 1.45rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 4.4rem;
  top: 0;
  right: 1.2rem;
}

.select2-dropdown {
  z-index: 80;
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  background: var(--cream-card);
  overflow: hidden;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
  background: var(--navy);
  color: var(--cream-card);
}

.checkout-review-items {
  margin: 0 0 2rem;
}

.checkout-review-item {
  display: flex;
  justify-content: space-between;
  gap: 1.6rem;
  align-items: flex-start;
  margin: 0 0 1.6rem;
  padding: 0 0 1.6rem;
  border-bottom: 1px solid var(--border);
}

.checkout-review-item__info strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--navy);
}

.checkout-review-item .variation {
  margin: 0.4rem 0 0;
  font-size: 1.4rem;
  color: var(--muted);
}

.checkout-review-item .variation dt {
  display: inline;
  font-weight: 600;
  margin: 0;
}

.checkout-review-item .variation dt::after {
  content: ": ";
}

.checkout-review-item .variation dd {
  display: inline;
  margin: 0;
}

.checkout-review-item__total {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--navy);
  white-space: nowrap;
}

.wc_payment_methods {
  list-style: none;
  margin: 0.8rem 0 2rem;
  padding: 0;
}

.wc_payment_method {
  margin: 0 0 1rem;
}

.wc_payment_method > label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy);
}

.payment_box {
  margin: 0.8rem 0 0 2.4rem;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--muted);
}

.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper {
  margin: 0 0 1.6rem;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.woocommerce-privacy-policy-text a,
.woocommerce-terms-and-conditions-wrapper a {
  color: var(--navy);
  font-weight: 600;
}

.place-order #place_order {
  width: 100%;
}

.checkout-book .woocommerce-info {
  margin: 0 0 1.6rem;
}

.woocommerce-order .product-book {
  position: static;
  max-width: 56rem;
  margin-bottom: 3.2rem;
}

.wc-bacs-bank-details,
.woocommerce-bacs-bank-details {
  max-width: 56rem;
  margin: 0 0 3.2rem;
  padding: 3.2rem;
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 2.6rem;
  box-shadow: var(--shadow);
}

.woocommerce-error {
  list-style: none;
}

@media (max-width: 760px) {
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-additional-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row-wide,
  .form-row-first,
  .form-row-last {
    grid-column: 1;
  }
}

