/*
Theme Name: Everleaf Editions
Theme URI: https://example.test/
Author: Everleaf Editions
Description: A clean WooCommerce theme for a PDF and EPUB ebook store.
Version: 0.4.0
Template: kadence
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: everleaf-editions
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap");

:root {
  --ee-ink: #08090b;
  --ee-text: #202229;
  --ee-muted: #6b6f78;
  --ee-line: #dedfd8;
  --ee-paper: #f6f6f0;
  --ee-panel: #fffffb;
  --ee-sage: #667368;
  --ee-moss: #111f1c;
  --ee-plum: #6b42ff;
  --ee-gold: #d8ff45;
  --ee-blue: #2f56ff;
  --ee-soft: #ededdf;
  --ee-red: #ff5a3d;
  --ee-radius: 8px;
  --ee-shadow: 0 22px 56px rgba(17, 17, 20, 0.15);
  --ee-wrap: min(1180px, calc(100vw - 36px));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(184, 111, 43, 0.15), transparent 32%),
    linear-gradient(180deg, rgba(255, 250, 241, 0.82), rgba(245, 239, 227, 0) 390px),
    var(--ee-paper);
  background-size: auto, auto, auto;
  color: var(--ee-ink);
  font-family: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

::selection {
  background: rgba(184, 111, 43, 0.24);
  color: var(--ee-ink);
}

html {
  scrollbar-color: var(--ee-gold) var(--ee-paper);
}

*:focus-visible {
  outline: 2px solid var(--ee-gold);
  outline-offset: 4px;
}

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

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

.ee-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(17, 17, 20, 0.1);
  background: rgba(255, 250, 241, 0.88);
  backdrop-filter: blur(18px);
}

.ee-header-inner {
  display: flex;
  width: var(--ee-wrap);
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.ee-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ee-ink);
}

.ee-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 250, 241, 0.34);
  border-radius: 3px 7px 7px 3px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 20%),
    linear-gradient(145deg, var(--ee-ink), var(--ee-plum));
  color: #fff;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(17, 17, 20, 0.18);
}

.ee-brand strong,
.ee-brand span {
  display: block;
}

.ee-brand span {
  color: var(--ee-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.ee-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #303035;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ee-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.ee-nav li {
  list-style: none;
}

.ee-nav a:hover {
  color: var(--ee-gold);
}

.ee-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ee-button,
.button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ee-ink);
  border-radius: 4px;
  background: var(--ee-ink);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  padding: 12px 16px;
  box-shadow: 0 10px 22px rgba(17, 17, 20, 0.11);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ee-button:hover,
.button:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.single_add_to_cart_button:hover {
  background: var(--ee-gold);
  border-color: var(--ee-gold);
  color: #fff;
  box-shadow: 0 14px 28px rgba(184, 111, 43, 0.22);
  transform: translateY(-1px);
}

.ee-button-secondary {
  background: transparent;
  color: var(--ee-ink);
  box-shadow: none;
}

.ee-button-secondary:hover {
  color: #fff;
}

.ee-main {
  min-height: 70vh;
}

.ee-wrap {
  width: var(--ee-wrap);
  margin: 0 auto;
}

.ee-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.98fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: min(700px, calc(100vh - 76px));
  padding: 80px 0 70px;
  border-bottom: 1px solid rgba(17, 17, 20, 0.12);
}

.ee-eyebrow {
  margin: 0 0 12px;
  color: var(--ee-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ee-hero h1,
.ee-section-heading h2,
.woocommerce-products-header__title,
.product_title {
  margin: 0;
  font-family: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.ee-hero h1 {
  max-width: 780px;
  font-size: 5.15rem;
  font-weight: 760;
  line-height: 0.96;
}

.ee-hero-text {
  max-width: 620px;
  color: #4d4c4f;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.55;
}

.ee-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 18px;
}

.ee-hero-stats span {
  display: grid;
  gap: 4px;
  min-height: 74px;
  align-content: center;
  padding: 14px;
  border: 1px solid rgba(17, 17, 20, 0.1);
  border-radius: 4px;
  background: rgba(255, 250, 241, 0.78);
}

.ee-hero-stats strong {
  color: var(--ee-ink);
  font-size: 14px;
  font-weight: 700;
}

.ee-hero-stats span {
  color: var(--ee-muted);
  font-size: 13px;
}

.ee-search-panel {
  max-width: 720px;
  margin-top: 34px;
}

.ee-search-suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--ee-muted);
  font-size: 13px;
}

.ee-search-suggestions span {
  color: var(--ee-ink);
  font-weight: 800;
  text-transform: uppercase;
}

.ee-search-suggestions a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(17, 17, 20, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.74);
  color: #383431;
  font-weight: 700;
  line-height: 1;
}

.ee-search-suggestions a:hover {
  border-color: rgba(184, 111, 43, 0.42);
  color: var(--ee-gold);
}

.ee-fibosearch-panel .dgwt-wcas-search-wrapp {
  max-width: none;
  padding: 8px;
  border: 1px solid rgba(17, 17, 20, 0.18);
  border-radius: 5px;
  background: var(--ee-panel);
  box-shadow: var(--ee-shadow);
}

.ee-fibosearch-panel .dgwt-wcas-search-wrapp:focus-within {
  border-color: rgba(184, 111, 43, 0.62);
  box-shadow: 0 18px 46px rgba(184, 111, 43, 0.16);
}

.ee-fibosearch-panel .dgwt-wcas-search-input {
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  color: var(--ee-ink);
  font: inherit;
}

.ee-fibosearch-panel .dgwt-wcas-search-submit {
  min-height: 52px;
  border-radius: 4px;
  background: var(--ee-ink);
}

.ee-fibosearch-panel .dgwt-wcas-sf-wrapp {
  background: transparent;
}

.ee-search-panel label {
  display: block;
  margin-bottom: 10px;
  color: #4a5559;
  font-size: 14px;
  font-weight: 700;
}

.ee-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--ee-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--ee-shadow);
}

.ee-search-row input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 15px 16px;
  font: inherit;
}

.ee-shelf {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  align-items: end;
  min-height: 510px;
  gap: 18px;
  padding: 42px 30px 52px;
  border: 1px solid rgba(17, 17, 20, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.74), rgba(255, 250, 241, 0.94)),
    #fff;
  box-shadow: 0 26px 70px rgba(17, 17, 20, 0.16);
}

.ee-shelf::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 28px;
  left: 20px;
  height: 18px;
  border-radius: 3px;
  background:
    linear-gradient(180deg, #d6b06e, #81532c);
  box-shadow: 0 8px 18px rgba(17, 17, 20, 0.22);
}

.ee-cover {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid rgba(255, 250, 241, 0.24);
  border-radius: 4px 8px 8px 4px;
  color: #fff;
  box-shadow: -10px 18px 30px rgba(17, 17, 20, 0.26);
  transform: rotate(-1deg);
}

.ee-cover::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 14px;
  width: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.ee-cover:nth-child(2) {
  transform: translateY(-10px) rotate(1deg);
}

.ee-cover:nth-child(3) {
  transform: rotate(1deg);
}

.ee-cover span,
.ee-cover small {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.ee-cover strong {
  font-family: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  font-size: 2.45rem;
  font-weight: 760;
  line-height: 1.02;
}

.ee-cover-one {
  min-height: 388px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 22%),
    linear-gradient(160deg, #153f63, #0f1825);
}

.ee-cover-two {
  min-height: 450px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 22%),
    linear-gradient(160deg, #5a213f, #b86f2b);
}

.ee-cover-three {
  min-height: 360px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 22%),
    linear-gradient(160deg, #203f3c, #111114);
}

.ee-section {
  padding: 72px 0;
}

.ee-promise-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 8px;
  margin-bottom: 10px;
  border: 1px solid rgba(17, 17, 20, 0.12);
  border-radius: 6px;
  background: var(--ee-line);
  box-shadow: 0 14px 40px rgba(17, 17, 20, 0.08);
}

.ee-promise-strip div {
  display: grid;
  gap: 4px;
  min-height: 112px;
  align-content: center;
  padding: 20px;
  background: var(--ee-panel);
}

.ee-promise-strip strong {
  color: var(--ee-ink);
  font-size: 16px;
}

.ee-promise-strip span {
  color: var(--ee-muted);
  font-size: 14px;
}

.ee-catalog-hero,
.ee-directory-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
  padding: 34px;
  border: 1px solid rgba(17, 17, 20, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(184, 111, 43, 0.12), rgba(21, 63, 99, 0.12)),
    var(--ee-panel);
  box-shadow: 0 18px 48px rgba(17, 17, 20, 0.08);
}

.ee-directory-hero {
  align-items: center;
  min-height: 340px;
}

.ee-bundles-hero {
  background:
    linear-gradient(135deg, rgba(90, 33, 63, 0.15), rgba(184, 111, 43, 0.14)),
    var(--ee-panel);
}

.ee-catalog-hero h1,
.ee-directory-hero h1 {
  margin: 0;
  font-family: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  font-size: 3.75rem;
  font-weight: 760;
  line-height: 1.02;
}

.ee-catalog-hero p,
.ee-directory-hero p {
  max-width: 680px;
  color: var(--ee-muted);
}

.ee-catalog-hero .ee-search-panel,
.ee-directory-hero .ee-search-panel {
  margin-top: 0;
}

.ee-catalog-browse,
.ee-directory-section {
  display: grid;
  gap: 26px;
  margin-bottom: 34px;
}

.ee-catalog-browse {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ee-catalog-browse h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.ee-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.ee-section-heading h2,
.woocommerce-products-header__title {
  font-size: 3.05rem;
  font-weight: 760;
  line-height: 1.05;
}

.ee-section-heading p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--ee-muted);
  font-size: 15px;
  line-height: 1.55;
}

.ee-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ee-category-card {
  display: grid;
  min-height: 168px;
  align-content: space-between;
  padding: 20px;
  border: 1px solid rgba(17, 17, 20, 0.12);
  border-radius: 6px;
  background: var(--ee-panel);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.ee-category-card:hover {
  border-color: rgba(184, 111, 43, 0.42);
  box-shadow: 0 12px 28px rgba(31, 37, 40, 0.08);
  transform: translateY(-1px);
}

.ee-category-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 720;
  line-height: 1.1;
}

.ee-category-card span {
  color: var(--ee-muted);
  font-size: 14px;
}

.ee-term-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ee-term-card {
  display: grid;
  min-height: 128px;
  align-content: space-between;
  padding: 16px;
  border: 1px solid rgba(17, 17, 20, 0.12);
  border-radius: 6px;
  background: var(--ee-panel);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.ee-term-card:hover {
  border-color: rgba(184, 111, 43, 0.42);
  box-shadow: 0 10px 24px rgba(31, 37, 40, 0.08);
  transform: translateY(-1px);
}

.ee-term-card span,
.ee-term-card small {
  color: var(--ee-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.ee-term-card strong {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 720;
  line-height: 1.12;
}

.ee-product-grid,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
}

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

.woocommerce ul.products li.product,
.ee-product-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 20, 0.12);
  border-radius: 6px;
  background: var(--ee-panel);
  box-shadow: 0 10px 24px rgba(31, 37, 40, 0.05);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.woocommerce ul.products li.product:hover,
.ee-product-card:hover {
  border-color: rgba(184, 111, 43, 0.4);
  box-shadow: 0 16px 34px rgba(31, 37, 40, 0.1);
  transform: translateY(-2px);
}

.woocommerce ul.products li.product a img,
.ee-product-visual {
  display: block;
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  background:
    linear-gradient(160deg, rgba(47, 93, 80, 0.18), rgba(200, 154, 72, 0.14)),
    #fff;
}

.ee-book-cover {
  position: relative;
  display: grid;
  overflow: hidden;
  width: 100%;
  min-height: 310px;
  align-content: space-between;
  padding: 28px 28px 24px 42px;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 4px 10px 10px 4px;
  color: #fffaf1;
  isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 241, 0.1);
}

.ee-book-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 250, 241, 0.16), transparent 23%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.32), transparent 21%),
    var(--ee-cover-gradient);
}

.ee-book-cover::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 2px 7px 7px 2px;
}

.ee-book-cover-spine {
  position: absolute;
  inset: 0 auto 0 18px;
  width: 1px;
  background: rgba(255, 250, 241, 0.3);
}

.ee-book-cover-top,
.ee-book-cover-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ee-book-cover-top span,
.ee-book-cover-top small,
.ee-book-cover-bottom span {
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.ee-book-cover-top small {
  color: rgba(255, 250, 241, 0.68);
}

.ee-book-cover strong {
  max-width: 92%;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 2.75rem;
  font-weight: 760;
  line-height: 0.98;
}

.ee-book-cover-bottom em {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 250, 241, 0.3);
  border-radius: 50%;
  color: rgba(255, 250, 241, 0.88);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.ee-book-cover-loop {
  border-radius: 4px 10px 0 0;
}

.ee-book-cover-single {
  min-height: 620px;
  box-shadow: -16px 28px 60px rgba(17, 17, 20, 0.28);
}

.ee-book-cover-single strong {
  font-size: 4.75rem;
}

.ee-cover-tone-blue {
  --ee-cover-gradient: linear-gradient(150deg, #153f63, #0f1825 56%, #111114);
}

.ee-cover-tone-copper {
  --ee-cover-gradient: linear-gradient(150deg, #5a213f, #8f2f23 48%, #b86f2b);
}

.ee-cover-tone-wine {
  --ee-cover-gradient: linear-gradient(150deg, #5a213f, #111114 62%, #153f63);
}

.ee-cover-tone-green {
  --ee-cover-gradient: linear-gradient(150deg, #203f3c, #111114 58%, #b86f2b);
}

.ee-cover-tone-ink {
  --ee-cover-gradient: linear-gradient(150deg, #111114, #153f63 54%, #5a213f);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .ee-loop-meta,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button {
  margin-right: 18px;
  margin-left: 18px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--ee-ink);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 720;
  line-height: 1.22;
  min-height: 66px;
  padding-top: 20px;
}

.woocommerce ul.products li.product .star-rating {
  margin-left: 18px;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--ee-gold);
  font-weight: 800;
}

.woocommerce ul.products li.product .price {
  min-height: 28px;
}

.ee-loop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 78px;
  align-content: start;
  padding: 0 0 10px;
}

.ee-product-fact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid rgba(17, 17, 20, 0.1);
  border-radius: 3px;
  background: #f7efe0;
  color: #312d2a;
  font-size: 12px;
  line-height: 1.2;
}

.ee-product-fact strong {
  color: var(--ee-red);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.ee-product-fact span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.woocommerce ul.products li.product .button {
  align-self: end;
  margin-bottom: 18px;
}

.ee-product-card {
  padding: 18px;
}

.ee-product-cover {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border-radius: 4px 8px 8px 4px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 18%),
    linear-gradient(160deg, var(--ee-blue), var(--ee-ink));
}

.ee-product-cover span {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.ee-product-cover strong {
  font-family: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 740;
  line-height: 1.05;
}

.ee-product-card h3 {
  margin: 16px 0 2px;
  font-size: 18px;
}

.ee-product-card p {
  margin: 0 0 12px;
  color: var(--ee-muted);
}

.ee-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ee-chip {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf3ed;
  color: #315949;
  font-size: 12px;
  font-weight: 800;
}

.ee-split-band {
  width: var(--ee-wrap);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: stretch;
  margin: 18px auto 74px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(17, 17, 20, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.93), rgba(245, 239, 227, 0.78)),
    var(--ee-panel);
  color: var(--ee-ink);
  box-shadow: 0 22px 58px rgba(17, 17, 20, 0.1);
}

.ee-split-band > div:first-child {
  display: grid;
  align-content: center;
  padding: 6px 0;
}

.ee-split-band h2 {
  max-width: 620px;
  margin: 0;
  font-family: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  font-size: 3.05rem;
  font-weight: 760;
  line-height: 1.04;
}

.ee-split-band p {
  color: var(--ee-gold);
}

.ee-meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ee-meta-list-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ee-meta-list div {
  position: relative;
  min-height: 138px;
  padding: 18px;
  border: 1px solid rgba(17, 17, 20, 0.12);
  border-radius: 6px;
  background: rgba(255, 250, 241, 0.82);
  box-shadow: 0 10px 22px rgba(17, 17, 20, 0.05);
}

.ee-meta-list div::before {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: var(--ee-gold);
}

.ee-meta-list strong,
.ee-meta-list span {
  display: block;
}

.ee-meta-list strong {
  margin-bottom: 5px;
  color: var(--ee-ink);
  font-family: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 720;
  line-height: 1.08;
}

.ee-meta-list span {
  color: #5d5853;
  font-size: 14px;
  line-height: 1.45;
}

.ee-content,
.woocommerce-page .site-main,
.woocommerce .site-main {
  width: var(--ee-wrap);
  margin: 0 auto;
  padding: 46px 0 72px;
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  width: auto !important;
  float: none !important;
}

.woocommerce div.product div.images img {
  border: 1px solid rgba(17, 17, 20, 0.12);
  border-radius: 6px;
  background: var(--ee-panel);
  box-shadow: 0 18px 42px rgba(31, 37, 40, 0.08);
}

.ee-ebook-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
  padding: 16px;
  border: 1px solid rgba(17, 17, 20, 0.12);
  border-radius: 6px;
  background: var(--ee-panel);
}

.ee-ebook-specs .ee-product-fact {
  border-color: rgba(184, 111, 43, 0.18);
  background: #f7efe0;
}

.ee-edition-box {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 8px 0 26px;
  border: 1px solid rgba(17, 17, 20, 0.12);
  border-top-color: rgba(184, 111, 43, 0.62);
  border-radius: 6px;
  background: rgba(17, 17, 20, 0.1);
  box-shadow: 0 14px 32px rgba(17, 17, 20, 0.07);
}

.ee-edition-box div {
  display: grid;
  gap: 4px;
  padding: 15px 17px;
  background: var(--ee-panel);
}

.ee-edition-box strong {
  color: var(--ee-red);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.ee-edition-box span {
  color: #464340;
  font-size: 14px;
  line-height: 1.45;
}

.product_meta,
.woocommerce-tabs,
.related.products,
.upsells.products {
  clear: both;
  grid-column: 1 / -1;
}

.woocommerce-tabs {
  padding-top: 34px;
}

.woocommerce-tabs ul.tabs {
  padding: 0 !important;
}

.woocommerce-tabs ul.tabs li {
  border-radius: var(--ee-radius) var(--ee-radius) 0 0 !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--ee-gold);
  background: var(--ee-panel);
}

.ee-site-footer {
  border-top: 1px solid rgba(255, 250, 241, 0.12);
  background: var(--ee-ink);
  color: #fff;
}

.ee-footer-inner {
  display: grid;
  width: var(--ee-wrap);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  margin: 0 auto;
  padding: 34px 0;
}

.ee-footer-inner p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.woocommerce-result-count,
.woocommerce-ordering,
.product_meta {
  color: var(--ee-muted);
}

.woocommerce .quantity .qty,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
  border: 1px solid rgba(17, 17, 20, 0.18);
  border-radius: 4px;
  background: var(--ee-panel);
}

.woocommerce-tabs .panel {
  padding: 24px;
  border: 1px solid rgba(17, 17, 20, 0.1);
  border-radius: 0 6px 6px;
  background: var(--ee-panel);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--ee-panel) !important;
}

@media (max-width: 980px) {
  .ee-nav {
    display: none;
  }

  .ee-hero,
  .ee-catalog-hero,
  .ee-catalog-browse,
  .ee-directory-hero,
  .ee-split-band,
  .woocommerce div.product {
    grid-template-columns: 1fr;
  }

  .ee-hero {
    min-height: auto;
    padding: 58px 0 54px;
  }

  .ee-hero h1 {
    font-size: 4.15rem;
  }

  .ee-hero-text {
    font-size: 1.18rem;
  }

  .ee-catalog-hero h1,
  .ee-directory-hero h1 {
    font-size: 3.1rem;
  }

  .ee-section-heading h2,
  .woocommerce-products-header__title,
  .ee-split-band h2 {
    font-size: 2.65rem;
  }

  .ee-category-grid,
  .ee-term-grid,
  .ee-meta-list-wide,
  .ee-product-grid,
  .ee-promise-strip,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ee-header-inner {
    min-height: 68px;
  }

  .ee-brand span span {
    display: none;
  }

  .ee-header-actions {
    display: none;
  }

  .ee-search-row {
    grid-template-columns: 1fr;
  }

  .ee-hero h1 {
    font-size: 3.05rem;
    line-height: 0.98;
  }

  .ee-hero-text {
    font-size: 1.08rem;
  }

  .ee-catalog-hero h1,
  .ee-directory-hero h1,
  .ee-section-heading h2,
  .woocommerce-products-header__title,
  .ee-split-band h2 {
    font-size: 2.25rem;
    line-height: 1.06;
  }

  .ee-book-cover strong {
    font-size: 2.2rem;
  }

  .ee-book-cover-single strong {
    font-size: 3.05rem;
  }

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

  .ee-shelf {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
    padding: 24px 18px 40px;
  }

  .ee-cover {
    min-height: 260px;
    padding: 18px;
  }

  .ee-cover-three {
    display: none;
  }

  .ee-section-heading,
  .ee-footer-inner {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .ee-category-grid,
  .ee-term-grid,
  .ee-product-grid,
  .ee-promise-strip,
  .woocommerce ul.products,
  .ee-meta-list-wide,
  .ee-meta-list {
    grid-template-columns: 1fr;
  }
}

/* Final cascade: keep the editorial system above legacy child-theme layers. */
body { background: var(--bg) !important; color: var(--ink) !important; font-family: var(--font-ui) !important; }
.ee-site-header { height: 72px !important; border-bottom: 1px solid var(--line) !important; background: var(--bg) !important; backdrop-filter: none !important; }
.ee-header-inner { min-height: 72px !important; }.ee-brand { color: var(--ink) !important; font-family: var(--font-display) !important; font-size: 22px !important; font-weight: 500 !important; }.ee-nav { color: var(--ink) !important; font-family: var(--font-ui) !important; font-size: 15px !important; font-weight: 400 !important; text-transform: none !important; }
.ee-hero { grid-template-columns: minmax(0,1fr) minmax(370px,.85fr) !important; min-height: 560px !important; gap: 72px !important; margin: 0 auto !important; padding: 96px 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--ink) !important; }
.ee-hero h1 { color: var(--ink) !important; font-family: var(--font-display) !important; font-size: 56px !important; font-weight: 500 !important; line-height: 1.05 !important; }.ee-hero-text { color: var(--muted) !important; font-family: var(--font-ui) !important; font-size: 16px !important; line-height: 1.6 !important; }.ee-eyebrow { color: var(--muted) !important; }
.ee-fibosearch-panel .dgwt-wcas-search-wrapp,.ee-search-row { min-height: 56px !important; border: 1px solid var(--line) !important; border-radius: 8px !important; background: var(--surface) !important; box-shadow: none !important; }.ee-fibosearch-panel .dgwt-wcas-search-submit { border-radius: 6px !important; background: var(--ink) !important; }.ee-search-suggestions { color: var(--muted) !important; }.ee-search-suggestions a { border: 0 !important; border-radius: 0 !important; background: transparent !important; color: var(--muted) !important; }
.ee-shelf { display: flex !important; align-items: center !important; justify-content: center !important; min-height: 470px !important; padding: 16px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }.ee-shelf::after { display: none !important; }.ee-cover { flex: 0 0 40% !important; min-height: 360px !important; margin-left: -28px !important; padding: 24px !important; border: 0 !important; border-radius: 8px !important; box-shadow: 0 14px 28px rgba(0,0,0,.12) !important; transform: rotate(-7deg) !important; }.ee-cover:first-child { margin-left: 0 !important; }.ee-cover:nth-child(2) { min-height: 410px !important; transform: translateY(-8px) rotate(2deg) !important; }.ee-cover:nth-child(3) { transform: rotate(7deg) !important; }.ee-cover strong { color: inherit !important; font-family: var(--font-display) !important; font-size: 34px !important; font-weight: 500 !important; }.ee-cover small { font-family: var(--font-ui) !important; font-weight: 400 !important; text-transform: none !important; }.ee-cover-one { background: #2d4c47 !important; }.ee-cover-two { background: #697da3 !important; }.ee-cover-three { background: #a86d5d !important; color: #fff !important; }
.ee-section { padding: 0 0 96px !important; }.ee-section-heading h2,.woocommerce-products-header__title { color: var(--ink) !important; font-family: var(--font-display) !important; font-size: 36px !important; font-weight: 500 !important; line-height: 1.1 !important; }.woocommerce ul.products,.ee-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 24px !important; }.woocommerce ul.products li.product { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }.ee-book-cover { min-height: 0 !important; aspect-ratio: 2 / 3 !important; padding: 22px !important; border: 0 !important; border-radius: 8px !important; box-shadow: 0 6px 14px rgba(0,0,0,.10) !important; }.ee-book-cover::before { background: var(--ee-cover-gradient) !important; }.ee-book-cover::after,.ee-book-cover-spine,.ee-book-cover-top { display: none !important; }.ee-book-cover strong { color: #fff !important; font-family: var(--font-display) !important; font-size: clamp(24px,2.2vw,34px) !important; font-weight: 500 !important; }.ee-book-cover-bottom span { font-family: var(--font-ui) !important; font-weight: 400 !important; text-transform: none !important; }.ee-cover-tone-blue { --ee-cover-gradient: linear-gradient(150deg,#2d4c47,#1d322f) !important; }.ee-cover-tone-clay { --ee-cover-gradient: linear-gradient(150deg,#a86d5d,#71493e) !important; }.ee-cover-tone-dusk { --ee-cover-gradient: linear-gradient(150deg,#65789a,#3d4b69) !important; }.ee-cover-tone-sage,.ee-cover-tone-green { --ee-cover-gradient: linear-gradient(150deg,#829378,#4e6046) !important; }.ee-cover-tone-ink { --ee-cover-gradient: linear-gradient(150deg,#34383d,#151617) !important; }.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 0 !important; margin: 16px 0 0 !important; padding: 0 !important; color: var(--ink) !important; font-family: var(--font-ui) !important; font-size: 15px !important; font-weight: 600 !important; }.ee-loop-meta { min-height: 0 !important; margin: 4px 0 0 !important; padding: 0 !important; color: var(--muted) !important; }.ee-loop-meta small { background: var(--accent-soft) !important; color: var(--accent) !important; }.woocommerce ul.products li.product .price { margin: 10px 0 0 !important; color: var(--ink) !important; }.woocommerce ul.products li.product .button { margin: 12px 0 0 !important; }
.ee-category-grid { grid-template-columns: repeat(4,1fr) !important; gap: 16px !important; }.ee-category-card { min-height: 128px !important; padding: 20px !important; border: 1px solid var(--line) !important; border-radius: 8px !important; background: var(--surface) !important; box-shadow: none !important; }.ee-category-card strong,.ee-category-card span { color: var(--ink) !important; font-family: var(--font-display) !important; font-size: 22px !important; font-weight: 500 !important; }.ee-featured-bundle { border-color: var(--line) !important; }.ee-trust-strip { border-color: var(--line) !important; }.ee-site-footer { background: var(--bg) !important; color: var(--ink) !important; }
@media (max-width: 1023px) { .ee-hero { gap: 42px !important; }.ee-hero h1 { font-size: 48px !important; }.woocommerce ul.products,.ee-product-grid { grid-template-columns: repeat(3,1fr) !important; } }
@media (max-width: 767px) { .ee-site-header,.ee-header-inner { height: 64px !important; min-height: 64px !important; }.ee-nav { display: none !important; }.ee-mobile-menu { display: block !important; }.ee-hero { grid-template-columns: 1fr !important; min-height: 0 !important; gap: 32px !important; padding: 64px 0 !important; }.ee-hero h1 { font-size: 36px !important; }.ee-shelf { min-height: 320px !important; width: min(100%,410px) !important; margin: 0 auto !important; }.ee-cover { min-height: 255px !important; margin-left: -20px !important; padding: 16px !important; }.ee-cover:nth-child(2) { min-height: 290px !important; }.ee-cover strong { font-size: 24px !important; }.ee-section { padding-bottom: 64px !important; }.ee-section-heading h2,.woocommerce-products-header__title { font-size: 28px !important; }.woocommerce ul.products,.ee-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 24px 16px !important; }.ee-book-cover { padding: 14px !important; }.ee-book-cover strong { font-size: 23px !important; }.ee-category-grid { grid-template-columns: repeat(2,1fr) !important; }.ee-category-card { min-height: 112px !important; padding: 16px !important; } }

/* Journal */
.ee-journal-hero { max-width: 760px; margin: 0 auto; padding: 112px 0 56px; text-align: center; }
.ee-journal-kicker { margin: 0 0 16px; color: #2d4c47; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.ee-journal-hero h1, .ee-article-header h1 { margin: 0; color: #141414; font-family: "Newsreader", Georgia, serif; font-size: clamp(42px, 6vw, 72px); font-weight: 500; line-height: 1.03; }
.ee-journal-hero > p:last-child { max-width: 590px; margin: 22px auto 0; color: #6b6b66; font-size: 17px; line-height: 1.65; }
.ee-journal-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; padding: 0 0 46px; border-bottom: 1px solid #e7e5e0; }
.ee-journal-topics a { color: #6b6b66; font-size: 14px; text-decoration: none; }
.ee-journal-topics a.is-current, .ee-journal-topics a:hover { color: #141414; text-decoration: underline; text-underline-offset: 5px; }
.ee-journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 26px; padding: 54px 0 96px; }
.ee-journal-card { min-width: 0; }
.ee-journal-image { display: flex; align-items: flex-end; min-height: 270px; overflow: hidden; border-radius: 8px; background: #2d4c47; color: #fff; text-decoration: none; }
.ee-journal-image span { padding: 22px; font-family: "Newsreader", Georgia, serif; font-size: 26px; }
.ee-journal-image img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; transition: transform .25s ease; }
.ee-journal-card:hover .ee-journal-image img { transform: scale(1.025); }
.ee-journal-card-copy { padding-top: 17px; }
.ee-journal-meta { display: flex; align-items: center; gap: 9px; color: #6b6b66; font-size: 12px; line-height: 1.4; }
.ee-journal-meta span { text-transform: uppercase; letter-spacing: .06em; }
.ee-journal-meta time::before { content: "·"; margin-right: 9px; }
.ee-journal-card h2 { margin: 10px 0 9px; font-family: "Newsreader", Georgia, serif; font-size: 28px; font-weight: 500; line-height: 1.1; }
.ee-journal-card h2 a { color: #141414; text-decoration: none; }
.ee-journal-card p { margin: 0 0 14px; color: #6b6b66; font-size: 14px; line-height: 1.6; }
.ee-text-link { color: #141414; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.ee-journal-empty { grid-column: 1 / -1; padding: 68px 0; color: #6b6b66; text-align: center; }
.ee-article { max-width: 900px; margin: 0 auto; padding: 88px 0 96px; }
.ee-article-header { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.ee-article-header .ee-journal-meta { justify-content: center; margin-bottom: 17px; }
.ee-article-dek { max-width: 650px; margin: 20px auto 0; color: #6b6b66; font-size: 18px; line-height: 1.65; }
.ee-article-image { margin: 0 0 48px; }
.ee-article-image img { display: block; width: 100%; height: auto; border-radius: 8px; }
.ee-article-body { max-width: 690px; margin: 0 auto; color: #292925; font-size: 18px; line-height: 1.75; }
.ee-article-body > * { margin-top: 0; margin-bottom: 25px; }
.ee-article-body h2, .ee-article-body h3 { margin-top: 52px; color: #141414; font-family: "Newsreader", Georgia, serif; font-weight: 500; line-height: 1.14; }
.ee-article-body h2 { font-size: 36px; }.ee-article-body h3 { font-size: 27px; }
.ee-article-body a { color: #1f4d3a; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ee-article-body blockquote { margin: 40px 0; padding: 3px 0 3px 25px; border-left: 2px solid #2d4c47; color: #2d4c47; font-family: "Newsreader", Georgia, serif; font-size: 28px; line-height: 1.25; }
.ee-article-footer { max-width: 690px; margin: 52px auto 0; padding-top: 25px; border-top: 1px solid #e7e5e0; }
@media (max-width: 767px) { .ee-journal-hero { padding: 66px 0 38px; }.ee-journal-topics { justify-content: flex-start; gap: 16px; padding-bottom: 28px; }.ee-journal-grid { grid-template-columns: 1fr; gap: 38px; padding: 36px 0 64px; }.ee-journal-image, .ee-journal-image img { min-height: 230px; }.ee-article { padding: 58px 0 64px; }.ee-article-header { margin-bottom: 30px; }.ee-article-body { font-size: 17px; }.ee-article-body h2 { font-size: 30px; }.ee-article-body blockquote { font-size: 24px; } }

/* WooCommerce specificity correction. */
.woocommerce div.product form.cart .single_add_to_cart_button,
.single-product .single_add_to_cart_button { border-color: #141414 !important; background: #141414 !important; color: #fff !important; border-radius: 999px !important; box-shadow: none !important; }.woocommerce div.product form.cart .single_add_to_cart_button:hover,.single-product .single_add_to_cart_button:hover { border-color: #1f4d3a !important; background: #1f4d3a !important; }.single-product .ee-edition-box { display: grid !important; gap: 10px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }.single-product .ee-edition-box div { padding: 0 !important; border: 0 !important; background: transparent !important; }.single-product .ee-edition-box strong { display: none !important; }.single-product .ee-edition-box span { color: #6b6b66 !important; font-size: 14px !important; }.single-product .ee-edition-box span::before { content: "✓"; margin-right: 9px; color: #1f4d3a; }.single-product .ee-ebook-specs { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 0 24px !important; margin: 28px 0 !important; padding: 0 !important; border-top: 1px solid #e7e5e0 !important; background: transparent !important; }.single-product .ee-ebook-specs div { display: flex !important; justify-content: space-between !important; gap: 12px !important; padding: 11px 0 !important; border: 0 !important; border-bottom: 1px solid #e7e5e0 !important; border-radius: 0 !important; background: transparent !important; }.single-product .ee-ebook-specs span { color: #6b6b66 !important; font-size: 13px !important; }.single-product .ee-ebook-specs strong { color: #141414 !important; font-size: 13px !important; font-weight: 500 !important; }.ee-site-header .ee-nav a { color: #141414 !important; }
@media (max-width: 767px) { .single-product .ee-ebook-specs { grid-template-columns: 1fr !important; } }

/* Cart, checkout, account, and order surfaces. */
.woocommerce-cart-form,
.cart-collaterals .cart_totals,
.woocommerce-checkout-review-order,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-MyAccount-content,
.woocommerce-MyAccount-navigation {
  border: 1px solid #e7e5e0;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}
.woocommerce-cart-form { padding: 8px 20px; }
.woocommerce table.shop_table { border: 0; border-collapse: collapse; }
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { border-color: #e7e5e0; padding: 16px 8px; }
.woocommerce table.shop_table th { color: #6b6b66; font-size: 13px; font-weight: 500; }
.woocommerce .cart-collaterals .cart_totals { width: 100%; padding: 24px; }
.woocommerce .cart-collaterals .cart_totals h2,
.woocommerce-checkout-review-order h3,
.woocommerce-account .entry-content h2 { font-family: "Newsreader", Georgia, serif; font-size: 28px; font-weight: 500; }
.woocommerce .cart-collaterals .cart_totals .checkout-button { width: 100%; margin: 18px 0 0; }
.woocommerce .quantity { display: none !important; }
.woocommerce-cart-form .product-remove a { color: #6b6b66 !important; font-size: 20px; font-weight: 400; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  min-height: 48px;
  border: 1px solid #e7e5e0;
  border-radius: 8px;
  background: #fff;
  color: #141414;
  font: 16px "Inter", Arial, sans-serif;
  padding: 0 12px;
}
.woocommerce form .form-row textarea { min-height: 120px; padding-top: 12px; }
.woocommerce-checkout #customer_details { margin-bottom: 40px; }
.woocommerce-checkout-review-order { padding: 24px; }
.woocommerce-checkout #payment { border-radius: 8px; background: #fafaf7; }
.woocommerce-info,
.woocommerce-message,
.woocommerce-error { border: 1px solid #e7e5e0; border-radius: 8px; background: #fff; color: #141414; box-shadow: none; }
.woocommerce-info::before,
.woocommerce-message::before { color: #1f4d3a; }
.woocommerce-MyAccount-navigation { padding: 12px; }.woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }.woocommerce-MyAccount-navigation a { display: block; padding: 10px 12px; border-radius: 6px; color: #6b6b66; }.woocommerce-MyAccount-navigation .is-active a { background: #e8efea; color: #1f4d3a; }.woocommerce-MyAccount-content { padding: 28px; }
@media (max-width: 767px) { .woocommerce-cart-form { padding: 4px 12px; overflow-x: auto; }.woocommerce .cart-collaterals .cart_totals { padding: 20px; }.woocommerce-checkout-review-order { padding: 18px; }.woocommerce-MyAccount-content { padding: 20px; } }

/* Everleaf 0.3: editorial bookstore system */
:root {
  --bg: #fafaf7;
  --surface: #fff;
  --ink: #141414;
  --muted: #6b6b66;
  --line: #e7e5e0;
  --accent: #1f4d3a;
  --accent-soft: #e8efea;
  --font-display: "Newsreader", Georgia, serif;
  --font-ui: "Inter", Arial, sans-serif;
  --page: min(1200px, calc(100% - 48px));
}

html { scrollbar-color: var(--accent) var(--bg); }
body,
.site,
.content-bg,
.site-container {
  background: var(--bg) !important;
  color: var(--ink);
  font-family: var(--font-ui);
  line-height: 1.6;
}
body { overflow-x: hidden; }
::selection { background: var(--accent-soft); color: var(--ink); }
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a { color: inherit; }
a:hover { color: var(--accent); }

.ee-main { min-height: 70vh; }
.ee-wrap,
.ee-content,
.ee-header-inner { width: var(--page); max-width: 1200px; }
.ee-content { margin: 0 auto; padding: 64px 0 96px; }
.ee-site-header {
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  backdrop-filter: none;
}
.ee-header-inner { min-height: 72px; gap: 40px; }
.ee-brand {
  flex: 0 0 auto;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.ee-brand-mark,
.ee-brand > span { display: none !important; }
.ee-nav { gap: 28px; color: var(--ink); font-family: var(--font-ui); font-size: 15px; font-weight: 400; text-transform: none; }
.ee-nav ul { gap: 28px; }
.ee-nav a { text-decoration: none; text-underline-offset: 5px; }
.ee-nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; }
.ee-header-actions { margin-left: auto; gap: 12px; }
.ee-header-actions summary,
.ee-cart-link {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.ee-header-actions summary::-webkit-details-marker { display: none; }
.ee-header-actions svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.ee-cart-link { position: relative; }
.ee-cart-link span { position: absolute; top: 3px; right: 1px; display: grid; min-width: 17px; height: 17px; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 10px; font-weight: 600; }
.ee-header-search > div { position: fixed; z-index: 60; inset: 72px 0 0; display: grid; place-items: start center; padding: 40px 24px; background: rgba(250,250,247,.97); }
.ee-search-overlay > div { width: min(720px, 100%); }
.ee-mobile-menu { display: none; }

.ee-button,
.button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button {
  min-height: 48px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.1;
  padding: 13px 22px;
  box-shadow: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.ee-button:hover,
.button:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.single_add_to_cart_button:hover { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: none; transform: none; }
.ee-button-secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.ee-button-secondary:hover { border-color: var(--ink); background: transparent; color: var(--ink); }

.ee-eyebrow { margin: 0 0 14px; color: var(--muted); font-family: var(--font-ui); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
h1,h2,h3,
.ee-hero h1,
.ee-section-heading h2,
.woocommerce-products-header__title,
.product_title,
.ee-catalog-hero h1,
.ee-directory-hero h1,
.ee-split-band h2 { color: var(--ink); font-family: var(--font-display); font-optical-sizing: auto; font-weight: 500; letter-spacing: -.02em; }
.ee-hero { grid-template-columns: minmax(0,1fr) minmax(370px,.85fr); min-height: 560px; gap: 72px; margin: 0 auto; padding: 96px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ee-hero h1 { max-width: 620px; color: var(--ink); font-size: 56px; line-height: 1.05; }
.ee-hero-text { max-width: 510px; margin: 18px 0 0; color: var(--muted); font-family: var(--font-ui); font-size: 16px; line-height: 1.6; }
.ee-search-panel { max-width: 620px; margin-top: 30px; }
.ee-search-panel label { display: none; }
.ee-search-row,
.ee-fibosearch-panel .dgwt-wcas-search-wrapp { min-height: 56px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: none; }
.ee-fibosearch-panel .dgwt-wcas-search-wrapp:focus-within { border-color: var(--accent); box-shadow: none; }
.ee-search-row input,
.ee-fibosearch-panel .dgwt-wcas-search-input { min-height: 48px; color: var(--ink); font-family: var(--font-ui); font-size: 16px; }
.ee-search-row input::placeholder,
.ee-fibosearch-panel .dgwt-wcas-search-input::placeholder { color: var(--muted); opacity: 1; }
.ee-search-row .ee-button { min-height: 48px; padding-inline: 18px; }
.ee-fibosearch-panel .dgwt-wcas-search-submit { min-height: 48px; border-radius: 6px; background: var(--ink); }
.ee-search-suggestions { gap: 16px; margin-top: 14px; color: var(--muted); font-size: 13px; }
.ee-search-suggestions span { display: none; }
.ee-search-suggestions a { min-height: auto; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--muted); font-weight: 400; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.ee-search-suggestions a:hover { border: 0; color: var(--accent); }

.ee-shelf { display: flex; align-items: center; justify-content: center; min-height: 470px; gap: 0; padding: 16px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ee-shelf::after { display: none; }
.ee-cover { flex: 0 0 40%; min-height: 360px; margin-left: -28px; padding: 24px; border: 0; border-radius: 8px; box-shadow: 0 14px 28px rgba(0,0,0,.12); transform: rotate(-7deg); }
.ee-cover:first-child { margin-left: 0; }
.ee-cover:nth-child(2) { z-index: 2; min-height: 410px; transform: translateY(-8px) rotate(2deg); }
.ee-cover:nth-child(3) { transform: rotate(7deg); }
.ee-cover strong { color: inherit; font-family: var(--font-display); font-size: 34px; font-weight: 500; line-height: 1; }
.ee-cover small { font-family: var(--font-ui); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.ee-cover-one { background: #2d4c47; }.ee-cover-two { background: #697da3; }.ee-cover-three { background: #a86d5d; }
.ee-section { padding: 0 0 96px; }
.ee-section-heading { align-items: baseline; margin-bottom: 28px; }
.ee-section-heading h2,.woocommerce-products-header__title { font-size: 36px; line-height: 1.1; }
.ee-text-link { color: var(--ink); font-size: 15px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; }
.ee-text-link:hover { color: var(--accent); }

.woocommerce ul.products,
.ee-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.woocommerce ul.products li.product,
.ee-product-card { display: flex; flex-direction: column; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.woocommerce ul.products li.product:hover,
.ee-product-card:hover { border: 0; box-shadow: none; transform: none; }
.woocommerce ul.products li.product > a:first-child { display: block; }
.ee-book-cover,
.woocommerce ul.products li.product a img,
.ee-product-visual { min-height: 0; aspect-ratio: 2 / 3; padding: 22px; border: 0; border-radius: 8px; box-shadow: 0 6px 14px rgba(0,0,0,.10); }
.ee-book-cover::before { background: var(--ee-cover-gradient); }
.ee-book-cover::after,.ee-book-cover-spine,.ee-book-cover-top { display: none; }
.ee-book-cover strong { align-self: start; max-width: 100%; color: #fff; font-family: var(--font-display); font-size: clamp(24px,2.2vw,34px); font-weight: 500; line-height: 1.02; }
.ee-book-cover-bottom { justify-content: flex-start; }.ee-book-cover-bottom span { color: rgba(255,255,255,.8); font-family: var(--font-ui); font-size: 12px; font-weight: 400; text-transform: none; }
.ee-cover-tone-blue { --ee-cover-gradient: linear-gradient(150deg,#2d4c47,#1d322f); }.ee-cover-tone-clay { --ee-cover-gradient: linear-gradient(150deg,#a86d5d,#71493e); }.ee-cover-tone-dusk { --ee-cover-gradient: linear-gradient(150deg,#65789a,#3d4b69); }.ee-cover-tone-sage,.ee-cover-tone-green { --ee-cover-gradient: linear-gradient(150deg,#829378,#4e6046); }.ee-cover-tone-ink { --ee-cover-gradient: linear-gradient(150deg,#34383d,#151617); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 0; margin: 16px 0 0; padding: 0; color: var(--ink); font-family: var(--font-ui); font-size: 15px; font-weight: 600; line-height: 1.4; }
.ee-loop-meta { display: flex; align-items: center; justify-content: space-between; min-height: 0; margin: 4px 0 0; padding: 0; color: var(--muted); font-size: 14px; }.ee-loop-meta small { padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 11px; }
.woocommerce ul.products li.product .price { margin: 10px 0 0; color: var(--ink); font-size: 14px; font-weight: 600; }.woocommerce ul.products li.product .button { order: 8; margin: 12px 0 0; opacity: 0; pointer-events: none; }.woocommerce ul.products li.product:hover .button { opacity: 1; pointer-events: auto; }

.ee-category-grid { grid-template-columns: repeat(4,1fr); gap: 16px; }.ee-category-card { min-height: 128px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: none; }.ee-category-card:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,.06); transform: translateY(-2px); }.ee-category-card strong,.ee-category-card span { margin: 0; color: var(--ink); font-family: var(--font-display); font-size: 22px; font-weight: 500; }.ee-category-card small { color: var(--muted); font-size: 13px; }
.ee-featured-bundle { display: grid; grid-template-columns: 240px minmax(0,1fr) auto; align-items: center; gap: 40px; margin: 0 auto 64px; padding: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.ee-bundle-covers { position: relative; height: 175px; }.ee-bundle-covers i { position: absolute; top: 0; width: 100px; height: 150px; border-radius: 7px; background: #2d4c47; box-shadow: 0 8px 18px rgba(0,0,0,.1); transform: rotate(-7deg); }.ee-bundle-covers i:nth-child(2) { left: 60px; top: 8px; background: #697da3; transform: rotate(2deg); }.ee-bundle-covers i:nth-child(3) { left: 120px; background: #a86d5d; transform: rotate(8deg); }.ee-featured-bundle h2,.ee-newsletter h2 { margin: 0; font-family: var(--font-display); font-size: 32px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }.ee-featured-bundle p { margin: 8px 0; color: var(--muted); }.ee-featured-bundle strong { font-size: 16px; }.ee-trust-strip { display: grid; grid-template-columns: repeat(3,1fr); margin-bottom: 96px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.ee-trust-strip span { padding: 20px; color: var(--ink); font-size: 14px; text-align: center; }.ee-trust-strip span + span { border-left: 1px solid var(--line); }.ee-newsletter { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 96px; padding: 48px 0; border-top: 1px solid var(--line); }.ee-newsletter form { display: flex; width: min(480px,100%); gap: 8px; }.ee-newsletter input { min-width: 0; flex: 1; height: 48px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; padding: 0 14px; }

.ee-page-intro { margin-bottom: 48px; }.ee-page-intro h1 { margin: 0; font-family: var(--font-display); font-size: 56px; font-weight: 500; letter-spacing: -.02em; line-height: 1.05; }.ee-page-intro p { max-width: 560px; margin: 12px 0 0; color: var(--muted); }.ee-directory .ee-term-grid { grid-template-columns: repeat(4,1fr); gap: 24px; }.ee-term-card { min-height: 150px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }.ee-term-card span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 0; }.ee-term-card span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: currentColor; }.ee-term-card strong { font-family: var(--font-ui); font-size: 15px; font-weight: 600; }.ee-term-card small { color: var(--muted); font-size: 13px; font-weight: 400; text-transform: none; }

.ee-catalog-hero,.ee-directory-hero,.ee-catalog-browse { display: none; }.woocommerce .woocommerce-result-count { color: var(--muted); font-size: 13px; }.woocommerce .woocommerce-ordering select { height: 42px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; padding: 0 32px 0 12px; }.woocommerce .woocommerce-ordering { margin: 0 0 32px; }.woocommerce .products { clear: both; }
.single-product div.product { display: grid; grid-template-columns: minmax(280px,430px) minmax(0,1fr); gap: 80px; }.single-product div.product .woocommerce-product-gallery,.single-product .ee-single-cover-wrap { position: sticky; top: 104px; align-self: start; width: auto; float: none; margin: 0; }.ee-book-cover-single { min-height: 0; width: 100%; aspect-ratio: 2 / 3; border-radius: 8px; box-shadow: 0 12px 28px rgba(0,0,0,.12); }.ee-book-cover-single strong { font-size: clamp(34px,4vw,60px); }.single-product div.product .summary { width: auto; float: none; }.single-product .product_title { font-size: 56px; line-height: 1.05; }.single-product .price { color: var(--ink) !important; font-size: 19px; font-weight: 600; }.single-product .quantity { display: none !important; }.single-product .single_add_to_cart_button { width: 100%; }.single-product .product_meta { display: none; }.ee-edition-box { display: grid; gap: 10px; margin: 20px 0; padding: 0; border: 0; background: transparent; box-shadow: none; }.ee-edition-box span { color: var(--muted); font-size: 14px; }.ee-edition-box span::before { content: "✓"; margin-right: 9px; color: var(--accent); }.ee-ebook-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 28px 0; border-top: 1px solid var(--line); }.ee-ebook-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }.ee-ebook-specs span { color: var(--muted); font-size: 13px; }.ee-ebook-specs strong { color: var(--ink); font-size: 13px; font-weight: 500; text-align: right; }.woocommerce-tabs { margin-top: 80px; }.woocommerce-tabs ul.tabs { display: none; }.woocommerce-tabs .panel { display: block !important; margin: 0 0 32px !important; padding: 0 0 28px; border-bottom: 1px solid var(--line); }.woocommerce-tabs .panel h2 { font-family: var(--font-display); font-size: 28px; font-weight: 500; }.related > h2,.upsells > h2 { font-family: var(--font-display); font-size: 36px; font-weight: 500; }

.ee-site-footer { border-top: 1px solid var(--line); background: var(--bg); color: var(--ink); }.ee-footer-inner { display: grid; width: var(--page); grid-template-columns: 2fr repeat(3,1fr); gap: 32px; margin: 0 auto; padding: 64px 0 48px; }.ee-footer-brand { display: inline-block; font-family: var(--font-display); font-size: 24px; font-weight: 500; }.ee-footer-inner p { max-width: 260px; color: var(--muted); font-size: 14px; }.ee-footer-inner nav { display: grid; align-content: start; gap: 10px; }.ee-footer-inner nav strong { margin-bottom: 4px; font-size: 14px; font-weight: 600; }.ee-footer-inner nav a { color: var(--muted); font-size: 14px; }.ee-footer-bottom { width: var(--page); margin: 0 auto; padding: 18px 0 max(18px,env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (hover: none) { .woocommerce ul.products li.product .button { opacity: 1; pointer-events: auto; } }
@media (max-width: 1023px) { :root { --page: min(100% - 40px, 900px); }.ee-hero { gap: 42px; }.ee-hero h1 { font-size: 48px; }.woocommerce ul.products,.ee-product-grid { grid-template-columns: repeat(3,1fr); }.single-product div.product { gap: 48px; }.ee-featured-bundle { grid-template-columns: 190px minmax(0,1fr); }.ee-featured-bundle .ee-button { grid-column: 2; justify-self: start; }.ee-directory .ee-term-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 767px) { :root { --page: calc(100% - 32px); }.ee-site-header,.ee-header-inner { height: 64px; min-height: 64px; }.ee-header-inner { gap: 12px; }.ee-brand { font-size: 21px; }.ee-nav { display: none; }.ee-header-actions { gap: 2px; }.ee-mobile-menu { display: block; }.ee-mobile-menu summary { display: grid; align-content: center; gap: 4px; }.ee-mobile-menu summary i { display: block; width: 19px; height: 1px; background: currentColor; }.ee-mobile-menu nav { position: fixed; z-index: 60; inset: 64px 0 0; display: grid; align-content: start; gap: 0; padding: 24px 16px; background: var(--bg); }.ee-mobile-menu nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 28px; }.ee-header-search > div { inset: 64px 0 0; padding: 24px 16px; }.ee-hero { grid-template-columns: 1fr; min-height: 0; gap: 32px; padding: 64px 0; }.ee-hero h1 { font-size: 36px; }.ee-hero-text { font-size: 16px; }.ee-search-row { grid-template-columns: minmax(0,1fr) auto; }.ee-search-row .ee-button { width: 48px; padding: 0; font-size: 0; }.ee-search-row .ee-button::after { content: "→"; font-size: 20px; }.ee-search-suggestions { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }.ee-search-suggestions a { flex: 0 0 auto; }.ee-shelf { min-height: 320px; width: min(100%,410px); justify-self: center; margin: 0 auto; }.ee-cover { flex-basis: 40%; min-height: 255px; margin-left: -20px; padding: 16px; }.ee-cover:nth-child(2) { min-height: 290px; }.ee-cover strong { font-size: 24px; }.ee-section { padding-bottom: 64px; }.ee-section-heading h2,.woocommerce-products-header__title { font-size: 28px; }.woocommerce ul.products,.ee-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }.ee-book-cover { padding: 14px; }.ee-book-cover strong { font-size: 23px; }.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }.ee-loop-meta { display: block; font-size: 13px; }.ee-loop-meta small { display: inline-flex; margin-top: 5px; }.woocommerce ul.products li.product .button { min-height: 44px; padding: 10px 12px; font-size: 13px; }.ee-category-grid { grid-template-columns: repeat(2,1fr); }.ee-category-card { min-height: 112px; padding: 16px; }.ee-featured-bundle { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; padding: 32px 0; }.ee-bundle-covers { width: 220px; }.ee-featured-bundle .ee-button { grid-column: auto; width: 100%; }.ee-trust-strip { grid-template-columns: 1fr; margin-bottom: 64px; }.ee-trust-strip span { padding: 16px 0; text-align: left; }.ee-trust-strip span + span { border-top: 1px solid var(--line); border-left: 0; }.ee-newsletter { display: block; margin-bottom: 64px; padding: 32px 0; }.ee-newsletter h2 { font-size: 28px; }.ee-newsletter form { margin-top: 20px; }.ee-page-intro { margin-bottom: 32px; }.ee-page-intro h1 { font-size: 36px; }.ee-content { padding: 48px 0 64px; }.ee-directory .ee-term-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }.ee-term-card { min-height: 130px; padding: 16px; }.single-product div.product { grid-template-columns: 1fr; gap: 28px; }.single-product div.product .woocommerce-product-gallery,.single-product .ee-single-cover-wrap { position: static; width: min(100%,400px); margin: 0 auto; }.single-product .product_title { font-size: 36px; }.ee-ebook-specs { grid-template-columns: 1fr; }.woocommerce-tabs { margin-top: 56px; }.ee-footer-inner { grid-template-columns: repeat(2,1fr); gap: 36px 24px; padding: 48px 0 36px; }.ee-footer-inner > div { grid-column: 1 / -1; }.ee-footer-inner p { margin-bottom: 0; } }
@media (max-width: 374px) { :root { --page: calc(100% - 24px); }.ee-header-actions summary,.ee-cart-link { width: 40px; height: 40px; }.ee-hero h1 { font-size: 34px; }.ee-shelf { transform: scale(.9); transform-origin: center; margin: -16px auto; }.woocommerce ul.products,.ee-product-grid { gap: 18px 12px; }.ee-book-cover strong { font-size: 20px; }.ee-featured-bundle h2,.ee-newsletter h2 { font-size: 27px; }.ee-newsletter form { display: grid; }.ee-newsletter .ee-button { width: 100%; }.ee-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Responsive store layout system */
:root {
  --ee-page-gutter: clamp(16px, 3vw, 48px);
  --ee-wide: min(1540px, calc(100vw - (var(--ee-page-gutter) * 2)));
  --ee-reading: min(1180px, calc(100vw - (var(--ee-page-gutter) * 2)));
  --ee-wrap: var(--ee-wide);
}

.ee-wrap,
.ee-header-inner,
.ee-footer-inner,
.ee-content,
.woocommerce-page .site-main,
.woocommerce .site-main {
  width: var(--ee-wide);
}

.ee-site-header {
  padding-right: env(safe-area-inset-right);
  padding-left: env(safe-area-inset-left);
}

.ee-hero {
  width: var(--ee-wide);
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  column-gap: clamp(32px, 6vw, 96px);
}

.ee-hero > div:first-child,
.ee-section-heading > div {
  max-width: 760px;
}

.ee-shelf {
  justify-self: stretch;
}

.ee-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.woocommerce ul.products,
.ee-product-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.woocommerce div.product {
  grid-template-columns: minmax(340px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.woocommerce div.product div.summary {
  max-width: 760px;
}

.ee-single-cover-wrap {
  position: sticky;
  top: 104px;
}

.ee-book-cover-single {
  min-height: clamp(520px, 58vw, 760px);
}

.ee-catalog-hero,
.ee-directory-hero,
.ee-split-band {
  width: var(--ee-wide);
}

.ee-ebook-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

.ee-product-fact {
  min-height: 34px;
  justify-content: center;
}

@media (min-width: 1680px) {
  :root {
    --ee-wide: min(1720px, calc(100vw - 112px));
  }

  .woocommerce ul.products,
  .ee-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 1180px) {
  .ee-hero,
  .woocommerce div.product,
  .ee-catalog-hero,
  .ee-directory-hero,
  .ee-split-band {
    grid-template-columns: 1fr;
  }

  .ee-single-cover-wrap {
    position: static;
  }

  .woocommerce div.product div.summary {
    max-width: none;
  }

  .ee-category-grid,
  .ee-term-grid,
  .ee-promise-strip,
  .ee-meta-list,
  .ee-meta-list-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --ee-page-gutter: 16px;
    --ee-wide: calc(100vw - 32px);
  }

  .ee-header-inner {
    gap: 14px;
  }

  .ee-hero {
    padding-top: 34px;
  }

  .ee-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ee-cover {
    min-height: 250px;
  }

  .ee-category-grid,
  .ee-term-grid,
  .ee-promise-strip,
  .ee-meta-list,
  .ee-meta-list-wide,
  .woocommerce ul.products,
  .ee-product-grid {
    grid-template-columns: 1fr;
  }

  .ee-promise-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--ee-line);
  }

  .ee-promise-strip div:last-child {
    border-bottom: 0;
  }

  .woocommerce div.product {
    gap: 22px;
  }

  .ee-book-cover-single {
    min-height: 430px;
  }

  .ee-ebook-specs {
    grid-template-columns: 1fr;
  }

  .ee-product-fact {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  :root {
    --ee-page-gutter: 12px;
    --ee-wide: calc(100vw - 24px);
  }

  .ee-hero h1 {
    font-size: 3.05rem;
  }

  .ee-shelf {
    grid-template-columns: 1fr;
  }

  .ee-cover:nth-child(2),
  .ee-cover:nth-child(3) {
    display: flex;
  }
}

/* Mobile-first store experience */
@media (max-width: 900px) {
  body {
    overflow-x: hidden;
  }

  .ee-site-header {
    top: 0;
  }

  .ee-header-inner {
    min-height: 64px;
  }

  .ee-header-actions {
    display: flex;
  }

  .ee-header-actions .ee-button {
    min-height: 38px;
    padding: 10px 13px;
    font-size: 13px;
  }

  .ee-brand {
    min-width: 0;
  }

  .ee-brand > span:last-child {
    min-width: 0;
  }

  .ee-brand strong {
    overflow: hidden;
    max-width: 42vw;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ee-hero {
    gap: 30px;
    padding-bottom: 42px;
  }

  .ee-hero > div:first-child,
  .ee-section-heading > div {
    max-width: none;
  }

  .ee-search-panel {
    max-width: none;
    margin-top: 24px;
  }

  .ee-fibosearch-panel .dgwt-wcas-search-wrapp,
  .ee-search-row {
    border-radius: 12px;
  }

  .ee-fibosearch-panel .dgwt-wcas-search-input {
    min-height: 50px;
    font-size: 16px;
  }

  .ee-search-suggestions {
    gap: 7px;
    overflow-x: auto;
    flex-wrap: nowrap;
    margin-right: calc(var(--ee-page-gutter) * -1);
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .ee-search-suggestions::-webkit-scrollbar {
    display: none;
  }

  .ee-search-suggestions a,
  .ee-search-suggestions span {
    flex: 0 0 auto;
  }

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

  .ee-shelf {
    gap: 12px;
  }

  .ee-section {
    padding: 52px 0;
  }

  .ee-section-heading {
    display: grid;
    align-items: start;
    gap: 18px;
  }

  .ee-section-heading .ee-button {
    justify-self: start;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product .ee-loop-meta,
  .woocommerce ul.products li.product .price,
  .woocommerce ul.products li.product .button {
    margin-right: 14px;
    margin-left: 14px;
  }

  .woocommerce ul.products li.product .button {
    width: calc(100% - 28px);
  }

  .ee-loop-meta {
    min-height: auto;
  }

  .ee-product-fact span {
    white-space: normal;
  }

  .woocommerce div.product form.cart {
    display: grid;
    gap: 10px;
  }

  .woocommerce div.product form.cart .button {
    width: 100%;
  }

  .product_meta,
  .woocommerce-tabs,
  .related.products,
  .upsells.products {
    min-width: 0;
  }
}

@media (max-width: 540px) {
  :root {
    --ee-page-gutter: 14px;
    --ee-wide: calc(100vw - 28px);
  }

  .ee-header-inner {
    min-height: 60px;
  }

  .ee-brand-mark {
    width: 34px;
    height: 34px;
  }

  .ee-brand strong {
    max-width: 48vw;
    font-size: 14px;
  }

  .ee-header-actions .ee-button {
    min-width: 44px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .ee-hero {
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 38px;
  }

  .ee-hero h1 {
    font-size: 3.28rem;
    line-height: 0.92;
  }

  .ee-hero-text {
    font-size: 1rem;
    line-height: 1.62;
  }

  .ee-hero-stats span {
    min-height: 58px;
    padding: 12px;
  }

  .ee-shelf {
    grid-template-columns: 1fr 1fr;
  }

  .ee-cover {
    min-height: 220px;
    padding: 16px;
  }

  .ee-cover strong {
    font-size: 2rem;
  }

  .ee-section-heading h2,
  .woocommerce-products-header__title,
  .ee-split-band h2,
  .product_title {
    font-size: 2.42rem;
    line-height: 0.98;
  }

  .ee-category-card,
  .ee-term-card,
  .ee-meta-list div,
  .ee-promise-strip div {
    min-height: auto;
    padding: 16px;
  }

  .ee-book-cover {
    min-height: 280px;
    padding: 22px 20px 20px 34px;
  }

  .ee-book-cover strong {
    font-size: 2.05rem;
  }

  .ee-book-cover-single {
    min-height: 390px;
  }

  .ee-book-cover-single strong {
    font-size: 2.85rem;
  }

  .ee-catalog-hero,
  .ee-directory-hero,
  .ee-split-band {
    padding: 20px;
  }

  .woocommerce-tabs .panel {
    padding: 18px;
  }
}

@media (max-width: 360px) {
  :root {
    --ee-page-gutter: 10px;
    --ee-wide: calc(100vw - 20px);
  }

  .ee-brand strong {
    max-width: 43vw;
  }

  .ee-hero h1 {
    font-size: 2.8rem;
  }

  .ee-shelf {
    grid-template-columns: 1fr;
  }

  .ee-cover {
    min-height: 210px;
  }

  .ee-section-heading h2,
  .woocommerce-products-header__title,
  .ee-split-band h2,
  .product_title {
    font-size: 2.08rem;
  }

  .ee-book-cover-single strong {
    font-size: 2.45rem;
  }
}

/* Simple modern-store direction */
:root {
  --ee-ink: #111111;
  --ee-text: #242424;
  --ee-muted: #6d6d68;
  --ee-line: #e2dfd5;
  --ee-paper: #f8f7f2;
  --ee-panel: #fffefa;
  --ee-sage: #747a70;
  --ee-moss: #1d241f;
  --ee-plum: #2d2a26;
  --ee-gold: #111111;
  --ee-blue: #2742ff;
  --ee-soft: #ebe7dc;
  --ee-red: #a3402d;
  --ee-radius: 10px;
  --ee-shadow: none;
}

body {
  background: var(--ee-paper);
  color: var(--ee-text);
  font-family: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

::selection {
  background: #e9e4d8;
  color: var(--ee-ink);
}

*:focus-visible {
  outline: 2px solid var(--ee-blue);
  outline-offset: 4px;
}

.ee-site-header {
  border-bottom: 1px solid var(--ee-line);
  background: rgba(248, 247, 242, 0.94);
}

.ee-header-inner {
  min-height: 72px;
}

.ee-brand-mark {
  width: 36px;
  height: 36px;
  border: 1px solid var(--ee-ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ee-ink);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 15px;
  box-shadow: none;
}

.ee-brand strong {
  font-weight: 700;
}

.ee-brand span span {
  color: var(--ee-muted);
}

.ee-nav {
  color: var(--ee-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.ee-nav a:hover {
  color: var(--ee-ink);
}

.ee-button,
.button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button {
  min-height: 42px;
  border: 1px solid var(--ee-ink);
  border-radius: 999px;
  background: var(--ee-ink);
  color: #fff;
  font-weight: 700;
  box-shadow: none;
}

.ee-button:hover,
.button:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.single_add_to_cart_button:hover {
  border-color: var(--ee-ink);
  background: transparent;
  color: var(--ee-ink);
  box-shadow: none;
}

.ee-button-secondary {
  background: transparent;
  color: var(--ee-ink);
}

.ee-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.86fr);
  min-height: auto;
  margin: 0 auto;
  padding: 86px 0 72px;
  border-bottom: 1px solid var(--ee-line);
  border-radius: 0;
  background: transparent;
  color: var(--ee-ink);
  box-shadow: none;
}

.ee-hero h1,
.ee-section-heading h2,
.woocommerce-products-header__title,
.product_title,
.ee-catalog-hero h1,
.ee-directory-hero h1,
.ee-split-band h2 {
  font-family: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.ee-hero h1 {
  max-width: 720px;
  color: var(--ee-ink);
  font-size: 5.75rem;
  line-height: 0.9;
}

.ee-hero-text {
  max-width: 620px;
  color: var(--ee-muted);
  font-family: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
  line-height: 1.75;
}

.ee-search-panel {
  max-width: 680px;
}

.ee-fibosearch-panel .dgwt-wcas-search-wrapp,
.ee-search-row {
  border: 1px solid var(--ee-line);
  border-radius: 999px;
  background: var(--ee-panel);
  box-shadow: none;
}

.ee-fibosearch-panel .dgwt-wcas-search-submit {
  border-radius: 999px;
  background: var(--ee-ink);
  color: #fff;
}

.ee-search-suggestions {
  color: var(--ee-muted);
}

.ee-search-suggestions span {
  color: var(--ee-muted);
  text-transform: none;
}

.ee-search-suggestions a {
  border-color: var(--ee-line);
  border-radius: 999px;
  background: transparent;
  color: var(--ee-text);
}

.ee-search-suggestions a:hover {
  border-color: var(--ee-ink);
  color: var(--ee-ink);
}

.ee-hero-stats {
  gap: 8px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ee-hero-stats span {
  min-height: 68px;
  border: 1px solid var(--ee-line);
  border-radius: 10px;
  background: var(--ee-panel);
  color: var(--ee-muted);
}

.ee-hero-stats strong {
  color: var(--ee-ink);
}

.ee-shelf {
  min-height: 500px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ee-shelf::after {
  display: none;
}

.ee-cover {
  border: 0;
  border-radius: 10px;
  box-shadow: none;
}

.ee-cover strong,
.ee-book-cover strong,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.ee-category-card strong,
.ee-term-card strong,
.ee-meta-list strong,
.ee-product-cover strong {
  font-family: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.ee-cover span,
.ee-cover small,
.ee-book-cover-top span,
.ee-book-cover-top small,
.ee-book-cover-bottom span,
.ee-term-card span,
.ee-term-card small,
.ee-product-fact strong,
.ee-edition-box strong {
  text-transform: none;
}

.ee-cover-one {
  --ee-cover-gradient: linear-gradient(150deg, #202020, #4d4d4d);
}

.ee-cover-two {
  --ee-cover-gradient: linear-gradient(150deg, #ece6d7, #b9ad9a);
  color: var(--ee-ink);
}

.ee-cover-three {
  --ee-cover-gradient: linear-gradient(150deg, #d7dced, #8d9ac3);
  color: var(--ee-ink);
}

.ee-section {
  padding: 76px 0;
}

.ee-section-heading h2,
.woocommerce-products-header__title {
  max-width: 760px;
  font-size: 3.7rem;
  line-height: 0.95;
}

.ee-section-heading p {
  color: var(--ee-muted);
  font-size: 15px;
}

.ee-category-grid,
.ee-term-grid,
.woocommerce ul.products,
.ee-product-grid {
  gap: 14px;
}

.ee-category-card,
.ee-term-card,
.woocommerce ul.products li.product,
.ee-product-card,
.ee-promise-strip,
.ee-split-band,
.ee-catalog-hero,
.ee-directory-hero,
.ee-meta-list div {
  border: 1px solid var(--ee-line);
  border-radius: 10px;
  background: var(--ee-panel);
  box-shadow: none;
}

.ee-category-card:hover,
.ee-term-card:hover,
.woocommerce ul.products li.product:hover,
.ee-product-card:hover {
  border-color: var(--ee-ink);
  box-shadow: none;
  transform: none;
}

.ee-category-card {
  min-height: 150px;
}

.ee-category-card strong {
  font-size: 1.5rem;
}

.ee-promise-strip {
  gap: 0;
}

.ee-promise-strip div {
  border-right: 1px solid var(--ee-line);
  background: transparent;
}

.ee-promise-strip div:last-child {
  border-right: 0;
}

.ee-book-cover {
  min-height: 300px;
  border: 0;
  border-radius: 10px 10px 0 0;
}

.ee-book-cover::after {
  display: none;
}

.ee-cover-tone-blue {
  --ee-cover-gradient: linear-gradient(150deg, #202020, #5c6470);
}

.ee-cover-tone-copper {
  --ee-cover-gradient: linear-gradient(150deg, #efe9dc, #b9a48d);
}

.ee-cover-tone-wine {
  --ee-cover-gradient: linear-gradient(150deg, #191919, #4f4f4f);
}

.ee-cover-tone-green {
  --ee-cover-gradient: linear-gradient(150deg, #e5e8d8, #9ea98e);
}

.ee-cover-tone-ink {
  --ee-cover-gradient: linear-gradient(150deg, #101010, #303030);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.38rem;
}

.ee-product-fact {
  border: 1px solid var(--ee-line);
  border-radius: 999px;
  background: transparent;
}

.ee-product-fact strong {
  color: var(--ee-muted);
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--ee-ink);
}

.ee-catalog-hero,
.ee-directory-hero,
.ee-split-band {
  background: var(--ee-panel);
}

.ee-split-band {
  margin-bottom: 76px;
}

.ee-split-band h2 {
  font-size: 3.5rem;
}

.ee-meta-list div::before {
  background: var(--ee-line);
}

.ee-edition-box {
  border: 1px solid var(--ee-line);
  border-radius: 10px;
  background: var(--ee-line);
  box-shadow: none;
}

.ee-edition-box div {
  background: var(--ee-panel);
}

.ee-edition-box strong {
  color: var(--ee-muted);
}

.ee-site-footer {
  background: var(--ee-ink);
}

@media (max-width: 980px) {
  .ee-hero {
    padding: 58px 0;
  }

  .ee-hero h1 {
    font-size: 4.4rem;
  }
}

@media (max-width: 640px) {
  .ee-hero {
    padding: 36px 0 46px;
  }

  .ee-hero h1 {
    font-size: 3.55rem;
  }

  .ee-section-heading h2,
  .woocommerce-products-header__title,
  .ee-split-band h2 {
    font-size: 2.7rem;
  }

  .ee-fibosearch-panel .dgwt-wcas-search-wrapp,
  .ee-search-row {
    border-radius: 10px;
  }

  .ee-hero-stats span {
    border-bottom: 1px solid var(--ee-line);
  }
}

/* Modern digital-library reset */
body {
  background:
    radial-gradient(circle at 78% -10%, rgba(216, 255, 69, 0.22), transparent 28%),
    linear-gradient(180deg, #fbfbf7 0%, var(--ee-paper) 520px);
  color: var(--ee-text);
}

::selection {
  background: rgba(216, 255, 69, 0.58);
  color: var(--ee-ink);
}

html {
  scrollbar-color: var(--ee-ink) var(--ee-paper);
}

.ee-site-header {
  border-bottom: 1px solid rgba(8, 9, 11, 0.08);
  background: rgba(251, 251, 247, 0.86);
}

.ee-brand {
  gap: 10px;
}

.ee-brand-mark {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--ee-ink);
  color: var(--ee-gold);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-weight: 800;
  box-shadow: none;
}

.ee-brand strong {
  color: var(--ee-ink);
  font-weight: 800;
}

.ee-brand span span,
.ee-nav {
  color: #5b6068;
}

.ee-nav {
  font-size: 12px;
  font-weight: 800;
}

.ee-nav a:hover {
  color: var(--ee-blue);
}

.ee-button,
.button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button {
  border-color: var(--ee-ink);
  border-radius: 8px;
  background: var(--ee-ink);
  color: #fff;
  box-shadow: none;
}

.ee-button:hover,
.button:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.single_add_to_cart_button:hover {
  border-color: var(--ee-gold);
  background: var(--ee-gold);
  color: var(--ee-ink);
  box-shadow: none;
}

.ee-button-secondary {
  border-color: rgba(8, 9, 11, 0.16);
  background: transparent;
  color: var(--ee-ink);
}

.ee-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  margin-top: 28px;
  margin-bottom: 22px;
  padding: clamp(44px, 6vw, 72px);
  border: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 18%, rgba(216, 255, 69, 0.24), transparent 22%),
    linear-gradient(135deg, #08090b, #16181f 62%, #252632);
  color: #fff;
  box-shadow: 0 28px 80px rgba(8, 9, 11, 0.22);
}

.ee-hero h1,
.ee-section-heading h2,
.woocommerce-products-header__title,
.product_title,
.ee-catalog-hero h1,
.ee-directory-hero h1,
.ee-split-band h2 {
  font-family: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  font-weight: 760;
}

.ee-hero h1 {
  max-width: 720px;
  color: #fff;
  font-size: 5.4rem;
  line-height: 0.9;
}

.ee-hero-text {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
  font-family: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.72;
}

.ee-hero-stats {
  max-width: 760px;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.ee-hero-stats span {
  min-height: 78px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
}

.ee-hero-stats span:last-child {
  border-right: 0;
}

.ee-hero-stats strong {
  color: #fff;
}

.ee-fibosearch-panel .dgwt-wcas-search-wrapp,
.ee-search-row {
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.ee-fibosearch-panel .dgwt-wcas-search-submit {
  border-radius: 8px;
  background: var(--ee-gold);
  color: var(--ee-ink);
}

.ee-search-suggestions {
  color: rgba(255, 255, 255, 0.58);
}

.ee-search-suggestions span {
  color: rgba(255, 255, 255, 0.82);
}

.ee-search-suggestions a {
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.ee-search-suggestions a:hover {
  border-color: var(--ee-gold);
  color: var(--ee-gold);
}

.ee-shelf {
  min-height: 520px;
  padding: 30px 26px 46px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.ee-shelf::after {
  height: 8px;
  background: var(--ee-gold);
  box-shadow: none;
}

.ee-cover {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28);
}

.ee-cover strong,
.ee-book-cover strong,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.ee-category-card strong,
.ee-term-card strong,
.ee-meta-list strong,
.ee-product-cover strong {
  font-family: "Libre Caslon Display", Georgia, "Times New Roman", serif;
}

.ee-cover-one,
.ee-cover-two,
.ee-cover-three {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2)),
    var(--ee-cover-gradient, #111);
}

.ee-cover-one {
  --ee-cover-gradient: linear-gradient(150deg, #10151f, #2f56ff);
}

.ee-cover-two {
  --ee-cover-gradient: linear-gradient(150deg, #111111, #6b42ff);
}

.ee-cover-three {
  --ee-cover-gradient: linear-gradient(150deg, #151811, #d8ff45);
  color: #08090b;
}

.ee-section {
  padding: 76px 0;
}

.ee-section-heading {
  margin-bottom: 30px;
}

.ee-section-heading h2,
.woocommerce-products-header__title {
  max-width: 780px;
  font-size: 3.4rem;
  line-height: 0.98;
}

.ee-section-heading p {
  color: #5f646d;
}

.ee-category-grid,
.ee-term-grid,
.woocommerce ul.products,
.ee-product-grid {
  gap: 16px;
}

.ee-category-card,
.ee-term-card,
.woocommerce ul.products li.product,
.ee-product-card,
.ee-promise-strip,
.ee-split-band,
.ee-catalog-hero,
.ee-directory-hero {
  border-color: rgba(8, 9, 11, 0.1);
  border-radius: 8px;
  background: var(--ee-panel);
  box-shadow: none;
}

.ee-category-card:hover,
.ee-term-card:hover,
.woocommerce ul.products li.product:hover,
.ee-product-card:hover {
  border-color: rgba(47, 86, 255, 0.34);
  box-shadow: 0 18px 42px rgba(8, 9, 11, 0.09);
  transform: translateY(-2px);
}

.ee-promise-strip {
  gap: 0;
  background: var(--ee-panel);
}

.ee-promise-strip div {
  border-right: 1px solid rgba(8, 9, 11, 0.08);
  background: transparent;
}

.ee-promise-strip div:last-child {
  border-right: 0;
}

.ee-book-cover {
  min-height: 318px;
  border: 0;
  border-radius: 8px 8px 0 0;
  color: #fff;
}

.ee-book-cover::after {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.ee-cover-tone-blue {
  --ee-cover-gradient: linear-gradient(150deg, #08111f, #2f56ff);
}

.ee-cover-tone-copper {
  --ee-cover-gradient: linear-gradient(150deg, #161111, #ff5a3d);
}

.ee-cover-tone-wine {
  --ee-cover-gradient: linear-gradient(150deg, #100f18, #6b42ff);
}

.ee-cover-tone-green {
  --ee-cover-gradient: linear-gradient(150deg, #11180f, #556d18);
}

.ee-cover-tone-ink {
  --ee-cover-gradient: linear-gradient(150deg, #08090b, #252632);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.36rem;
  line-height: 1.12;
}

.ee-loop-meta {
  gap: 7px;
}

.ee-product-fact {
  border-color: rgba(8, 9, 11, 0.08);
  border-radius: 8px;
  background: #f1f1e9;
}

.ee-product-fact strong {
  color: var(--ee-blue);
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--ee-ink);
}

.ee-catalog-hero,
.ee-directory-hero {
  background:
    radial-gradient(circle at 92% 0%, rgba(216, 255, 69, 0.35), transparent 24%),
    var(--ee-panel);
}

.ee-split-band {
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 86, 255, 0.16), transparent 26%),
    var(--ee-panel);
}

.ee-meta-list div {
  border-color: rgba(8, 9, 11, 0.08);
  border-radius: 8px;
  background: #f7f7f1;
  box-shadow: none;
}

.ee-meta-list div::before {
  background: var(--ee-blue);
}

.ee-edition-box {
  border-radius: 8px;
  background: rgba(8, 9, 11, 0.08);
  box-shadow: none;
}

.ee-edition-box div {
  background: var(--ee-panel);
}

.ee-edition-box strong {
  color: var(--ee-blue);
}

.ee-site-footer {
  background: var(--ee-ink);
}

@media (max-width: 980px) {
  .ee-hero {
    padding: 44px;
  }

  .ee-hero h1 {
    font-size: 4.2rem;
  }
}

@media (max-width: 640px) {
  .ee-hero {
    margin-top: 12px;
    padding: 28px 22px;
  }

  .ee-hero h1 {
    font-size: 3.1rem;
  }

  .ee-section-heading h2,
  .woocommerce-products-header__title,
  .ee-split-band h2 {
    font-size: 2.35rem;
  }

  .ee-hero-stats span {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .ee-hero-stats span:last-child {
    border-bottom: 0;
  }
}

/* Editorial overrides loaded last. */
.single-product div.product > .ee-single-cover-wrap {
  position: static !important;
}

body { background: #fafaf7 !important; color: #141414 !important; font-family: "Inter", Arial, sans-serif !important; }
html, body { max-width: 100%; overflow-x: clip; }
.ee-site-header { height: 72px !important; border-bottom: 1px solid #e7e5e0 !important; background: #fafaf7 !important; backdrop-filter: none !important; }.ee-header-inner { min-height: 72px !important; }.ee-brand { color: #141414 !important; font-family: "Newsreader", Georgia, serif !important; font-size: 22px !important; font-weight: 500 !important; }.ee-nav { color: #141414 !important; font-family: "Inter", Arial, sans-serif !important; font-size: 15px !important; font-weight: 400 !important; text-transform: none !important; }
.ee-hero { grid-template-columns: minmax(0,1fr) minmax(370px,.85fr) !important; min-height: 560px !important; gap: 72px !important; margin: 0 auto !important; padding: 96px 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: #141414 !important; }.ee-hero h1 { color: #141414 !important; font-family: "Newsreader", Georgia, serif !important; font-size: 56px !important; font-weight: 500 !important; line-height: 1.05 !important; }.ee-hero-text { color: #6b6b66 !important; font-family: "Inter", Arial, sans-serif !important; font-size: 16px !important; line-height: 1.6 !important; }.ee-eyebrow { color: #6b6b66 !important; }.ee-fibosearch-panel .dgwt-wcas-search-wrapp,.ee-search-row { min-height: 56px !important; border: 1px solid #e7e5e0 !important; border-radius: 8px !important; background: #fff !important; box-shadow: none !important; }.ee-fibosearch-panel .dgwt-wcas-search-submit { border-radius: 6px !important; background: #141414 !important; }.ee-search-suggestions,.ee-search-suggestions a { color: #6b6b66 !important; }.ee-search-suggestions a { border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.ee-shelf { display: flex !important; align-items: center !important; justify-content: center !important; min-height: 470px !important; padding: 16px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }.ee-shelf::after { display: none !important; }.ee-cover { flex: 0 0 40% !important; min-height: 360px !important; margin-left: -28px !important; padding: 24px !important; border: 0 !important; border-radius: 8px !important; box-shadow: 0 14px 28px rgba(0,0,0,.12) !important; transform: rotate(-7deg) !important; }.ee-cover:first-child { margin-left: 0 !important; }.ee-cover:nth-child(2) { min-height: 410px !important; transform: translateY(-8px) rotate(2deg) !important; }.ee-cover:nth-child(3) { transform: rotate(7deg) !important; }.ee-cover strong { color: inherit !important; font-family: "Newsreader", Georgia, serif !important; font-size: 34px !important; font-weight: 500 !important; }.ee-cover small { font-family: "Inter", Arial, sans-serif !important; font-weight: 400 !important; text-transform: none !important; }.ee-cover-one { background: #2d4c47 !important; }.ee-cover-two { background: #697da3 !important; }.ee-cover-three { background: #a86d5d !important; color: #fff !important; }
.ee-section { padding: 0 0 96px !important; }.ee-section-heading h2,.woocommerce-products-header__title { color: #141414 !important; font-family: "Newsreader", Georgia, serif !important; font-size: 36px !important; font-weight: 500 !important; line-height: 1.1 !important; }.woocommerce ul.products,.ee-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 24px !important; }.woocommerce ul.products li.product { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }.ee-book-cover { min-height: 0 !important; aspect-ratio: 2 / 3 !important; padding: 22px !important; border: 0 !important; border-radius: 8px !important; box-shadow: 0 6px 14px rgba(0,0,0,.10) !important; }.ee-book-cover::before { background: var(--ee-cover-gradient) !important; }.ee-book-cover::after,.ee-book-cover-spine,.ee-book-cover-top { display: none !important; }.ee-book-cover strong { color: #fff !important; font-family: "Newsreader", Georgia, serif !important; font-size: clamp(24px,2.2vw,34px) !important; font-weight: 500 !important; }.ee-book-cover-bottom span { font-family: "Inter", Arial, sans-serif !important; font-weight: 400 !important; text-transform: none !important; }.ee-cover-tone-blue { --ee-cover-gradient: linear-gradient(150deg,#2d4c47,#1d322f) !important; }.ee-cover-tone-clay { --ee-cover-gradient: linear-gradient(150deg,#a86d5d,#71493e) !important; }.ee-cover-tone-dusk { --ee-cover-gradient: linear-gradient(150deg,#65789a,#3d4b69) !important; }.ee-cover-tone-sage,.ee-cover-tone-green { --ee-cover-gradient: linear-gradient(150deg,#829378,#4e6046) !important; }.ee-cover-tone-ink { --ee-cover-gradient: linear-gradient(150deg,#34383d,#151617) !important; }.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 0 !important; margin: 16px 0 0 !important; padding: 0 !important; color: #141414 !important; font-family: "Inter", Arial, sans-serif !important; font-size: 15px !important; font-weight: 600 !important; }.ee-loop-meta { min-height: 0 !important; margin: 4px 0 0 !important; padding: 0 !important; color: #6b6b66 !important; }.ee-loop-meta small { background: #e8efea !important; color: #1f4d3a !important; }.woocommerce ul.products li.product .price { margin: 10px 0 0 !important; color: #141414 !important; }
.ee-category-grid { grid-template-columns: repeat(4,1fr) !important; gap: 16px !important; }.ee-category-card { min-height: 128px !important; padding: 20px !important; border: 1px solid #e7e5e0 !important; border-radius: 8px !important; background: #fff !important; box-shadow: none !important; }.ee-category-card strong,.ee-category-card span { color: #141414 !important; font-family: "Newsreader", Georgia, serif !important; font-size: 22px !important; font-weight: 500 !important; }.ee-site-footer { background: #fafaf7 !important; color: #141414 !important; }
@media (max-width: 1023px) { .ee-hero { gap: 42px !important; }.ee-hero h1 { font-size: 48px !important; }.woocommerce ul.products,.ee-product-grid { grid-template-columns: repeat(3,1fr) !important; } }
@media (max-width: 767px) { .ee-site-header,.ee-header-inner { height: 64px !important; min-height: 64px !important; }.ee-nav { display: none !important; }.ee-mobile-menu { display: block !important; }.ee-hero { grid-template-columns: 1fr !important; min-height: 0 !important; gap: 32px !important; padding: 64px 0 !important; }.ee-hero h1 { font-size: 36px !important; }.ee-shelf { min-height: 320px !important; width: min(100%,410px) !important; margin: 0 auto !important; }.ee-cover { min-height: 255px !important; margin-left: -20px !important; padding: 16px !important; }.ee-cover:nth-child(2) { min-height: 290px !important; }.ee-cover strong { font-size: 24px !important; }.ee-section { padding-bottom: 64px !important; }.ee-section-heading h2,.woocommerce-products-header__title { font-size: 28px !important; }.woocommerce ul.products,.ee-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 24px 16px !important; }.ee-book-cover { padding: 14px !important; }.ee-book-cover strong { font-size: 23px !important; }.ee-category-grid { grid-template-columns: repeat(2,1fr) !important; }.ee-category-card { min-height: 112px !important; padding: 16px !important; } }


