/*
Theme Name: La Giada Atelier
Theme URI: https://www.lagiada-jewelry.com/
Author: La Giada Jewelry
Description: An original editorial luxury theme for La Giada Jewelry, designed for WooCommerce and Traditional Chinese content.
Version: 1.1.4
Requires at least: 6.8
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: lagiada-atelier
*/

:root {
  --lg-ink: #171513;
  --lg-ivory: #f7f4ee;
  --lg-paper: #fffdf9;
  --lg-garnet: #6e1729;
  --lg-gold: #a18452;
  --lg-stone: #716b63;
  --lg-line: #d8d1c5;
  --lg-shadow: 0 22px 60px rgba(23, 21, 19, 0.09);
  --lg-serif: "Iowan Old Style", "Baskerville", "Songti TC", "Noto Serif TC", "Times New Roman", serif;
  --lg-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Noto Sans TC", Arial, sans-serif;
  --lg-content: 780px;
  --lg-wide: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--lg-paper);
  color: var(--lg-ink);
  font-family: var(--lg-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--lg-garnet);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button,
.wp-element-button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border: 1px solid var(--lg-ink);
  border-radius: 0;
  background: var(--lg-ink);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1.4rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

button:hover,
.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  border-color: var(--lg-garnet);
  background: var(--lg-garnet);
  color: #fff;
}

.button--ghost {
  background: transparent;
  color: var(--lg-ink);
}

:focus-visible {
  outline: 2px solid var(--lg-garnet);
  outline-offset: 3px;
}

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

.skip-link:focus {
  position: fixed;
  z-index: 100000;
  top: 0.75rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.7rem 1rem;
  background: #fff;
  color: #000;
}

.site-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--lg-line);
  background: rgba(255, 253, 249, 0.96);
}

.brand-bar {
  min-height: 132px;
  display: grid;
  place-items: center;
  background: #050505;
  padding: 1.15rem 1.5rem;
}

.custom-logo-link,
.brand-mark {
  display: block;
  width: min(168px, 42vw);
}

.custom-logo,
.brand-mark img {
  width: 100%;
  max-height: 96px;
  object-fit: contain;
}

.navigation-shell {
  width: min(calc(100% - 2rem), var(--lg-wide));
  min-height: 64px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lg-ink);
}

.menu-toggle:hover {
  background: transparent;
  color: var(--lg-garnet);
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before { top: -7px; }
.menu-toggle-lines::after { top: 7px; }

.primary-navigation ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 2rem;
  margin: 0;
  padding: 0;
}

.primary-navigation a {
  display: block;
  padding: 0.55rem 0;
  color: var(--lg-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
  color: var(--lg-garnet);
}

.primary-navigation li {
  position: relative;
}

.primary-navigation .sub-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% - 0.1rem);
  left: 50%;
  display: flex;
  min-width: 240px;
  padding: 0.65rem 1.2rem;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: var(--lg-paper);
  border: 1px solid var(--lg-line);
  box-shadow: var(--lg-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.5rem);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

.primary-navigation .sub-menu a {
  padding: 0.65rem 0;
  font-size: 0.71rem;
  line-height: 1.45;
  text-align: left;
  white-space: nowrap;
}

.primary-navigation .menu-item-has-children:hover > .sub-menu,
.primary-navigation .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.header-tool {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-main {
  min-height: 55vh;
}

.luxury-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 70vh, 760px);
  display: grid;
  place-items: center;
  padding: clamp(5rem, 10vw, 9rem) 1.5rem;
  background:
    radial-gradient(circle at 15% 15%, rgba(161, 132, 82, 0.16), transparent 32%),
    linear-gradient(135deg, #f8f3ea 0%, #fffdf9 50%, #efe8dc 100%);
  text-align: center;
}

.luxury-hero::before,
.luxury-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(110, 23, 41, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.luxury-hero::before {
  width: 430px;
  height: 430px;
  left: -250px;
  bottom: -140px;
}

.luxury-hero::after {
  width: 280px;
  height: 280px;
  right: -120px;
  top: -100px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--lg-garnet);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.luxury-hero h1,
.page-title,
.entry-title,
.section-title,
.journal-card h3,
.service-statement h2,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.footer-brand h2 {
  font-family: var(--lg-serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.22;
  hyphens: none;
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: normal;
  word-break: auto-phrase;
}

.luxury-hero h1 {
  max-width: 850px;
  margin: 0 auto 1.6rem;
  font-size: clamp(2.55rem, 6vw, 5.6rem);
}

.hero-title-phrase {
  display: inline-block;
  white-space: nowrap;
}

.hero-copy {
  max-width: 650px;
  margin: 0 auto;
  color: var(--lg-stone);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.section {
  padding: clamp(4.5rem, 8vw, 8rem) 1.25rem;
}

.section--ivory {
  background: var(--lg-ivory);
}

.section--ink {
  background: var(--lg-ink);
  color: #fff;
}

.section-inner {
  width: min(100%, var(--lg-wide));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(2.8rem, 5vw, 4.5rem);
  text-align: center;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-intro {
  margin: 0;
  color: var(--lg-stone);
}

.section--ink .section-intro,
.section--ink .eyebrow {
  color: #c9b99d;
}

.pillars-grid,
.journal-grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--lg-line);
  border: 1px solid var(--lg-line);
}

.pillar-card,
.journal-card {
  background: var(--lg-paper);
}

.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 clamp(2rem, 5vw, 4rem);
  background: var(--lg-line);
  border: 1px solid var(--lg-line);
}

.taxonomy-card {
  display: flex;
  min-height: 172px;
  padding: 1.6rem;
  flex-direction: column;
  background: var(--lg-paper);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.taxonomy-card:hover {
  background: var(--lg-garnet);
  color: #fff;
}

.taxonomy-card-name {
  font-family: var(--lg-serif);
  font-size: 1.3rem;
  line-height: 1.35;
}

.taxonomy-card-description {
  margin-top: 0.55rem;
  color: var(--lg-stone);
  font-size: 0.85rem;
  line-height: 1.65;
}

.taxonomy-card:hover .taxonomy-card-description,
.taxonomy-card:hover .taxonomy-card-count {
  color: rgba(255, 255, 255, 0.78);
}

.taxonomy-card-count {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--lg-gold);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.taxonomy-links {
  display: flex;
  margin: 2rem 0 3rem;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.taxonomy-links a {
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--lg-line);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.taxonomy-links a:hover,
.taxonomy-links a[aria-current="page"] {
  background: var(--lg-garnet);
  border-color: var(--lg-garnet);
  color: #fff;
}

.section-action {
  margin: -1.4rem 0 3rem;
  text-align: center;
}

.button--ghost-dark {
  border-color: var(--lg-ink);
  background: transparent;
  color: var(--lg-ink);
}

.button--ghost-dark:hover {
  border-color: var(--lg-garnet);
  background: var(--lg-garnet);
  color: #fff;
}

.pillar-card {
  padding: clamp(2rem, 4vw, 3.8rem);
  text-align: center;
}

.pillar-number {
  display: block;
  margin-bottom: 1.7rem;
  color: var(--lg-gold);
  font-family: var(--lg-serif);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}

.pillar-card h3 {
  margin: 0 0 1rem;
  font-family: var(--lg-serif);
  font-size: 1.8rem;
  font-weight: 400;
}

.pillar-card p {
  margin: 0;
  color: var(--lg-stone);
}

.journal-card {
  min-width: 0;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.journal-card:hover {
  position: relative;
  z-index: 2;
  transform: translateY(-4px);
  box-shadow: var(--lg-shadow);
}

.journal-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9e4da;
}

.journal-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.journal-card:hover .journal-card-image img {
  transform: scale(1.025);
}

.journal-card-content {
  padding: 1.7rem 1.7rem 2rem;
}

.journal-card-meta,
.entry-meta {
  color: var(--lg-gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journal-card-meta a,
.entry-meta a {
  text-decoration: none;
}

.journal-card h3 {
  margin: 0.55rem 0 0.8rem;
  font-family: var(--lg-serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.35;
}

.journal-card h3 a {
  text-decoration: none;
}

.title-phrase {
  white-space: nowrap;
}

.journal-card p {
  margin: 0;
  color: var(--lg-stone);
}

.article-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.article-labels a {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.28rem 0.62rem;
  border: 1px solid var(--lg-line);
  color: var(--lg-stone);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
}

.article-labels a:hover {
  border-color: var(--lg-garnet);
  color: var(--lg-garnet);
}

.journal-card .article-labels {
  margin-top: 1rem;
}

.service-statement {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: start;
}

.service-statement h2 {
  margin: 0;
  font-family: var(--lg-serif);
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.16;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.service-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.service-list span {
  color: #c9b99d;
  font-family: var(--lg-serif);
}

.content-shell {
  width: min(calc(100% - 2.5rem), var(--lg-content));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.content-shell--wide {
  width: min(calc(100% - 2.5rem), var(--lg-wide));
}

.page-header,
.entry-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.page-title,
.entry-title {
  margin: 0.4rem 0 1rem;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
}

.entry-content > * {
  max-width: var(--lg-content);
  margin-left: auto;
  margin-right: auto;
}

.entry-content > .alignwide {
  max-width: var(--lg-wide);
}

.entry-content > .alignfull {
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2.2em;
  font-family: var(--lg-serif);
  font-weight: 400;
  line-height: 1.3;
}

.entry-content h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.entry-content h3 { font-size: clamp(1.45rem, 2.5vw, 2rem); }

.entry-content blockquote {
  border-left: 2px solid var(--lg-garnet);
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  padding: 0.5rem 0 0.5rem 1.6rem;
  color: var(--lg-stone);
  font-family: var(--lg-serif);
  font-size: 1.35rem;
}

.knowledge-hub-header {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

.knowledge-search-form {
  display: flex;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--lg-line);
  background: var(--lg-ivory);
}

.knowledge-search-field {
  flex: 1;
}

.knowledge-search-form label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--lg-stone);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.knowledge-search-form input {
  width: 100%;
  min-height: 3rem;
  background: var(--lg-paper);
}

.knowledge-search-form .button {
  min-width: 110px;
}

.knowledge-facets {
  margin-bottom: 3rem;
  padding: 0.6rem 0 1.25rem;
  border-bottom: 1px solid var(--lg-line);
}

.knowledge-facet + .knowledge-facet {
  margin-top: 1.15rem;
}

.knowledge-facet h2 {
  margin: 0 0 0.55rem;
  color: var(--lg-stone);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.knowledge-facet p {
  margin: 0.5rem 0 0;
  color: var(--lg-stone);
  font-size: 0.76rem;
}

.knowledge-chip-row {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  overflow-x: auto;
  padding: 0.1rem 0 0.45rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.knowledge-chip-row a {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0.62rem 1rem;
  border: 1px solid var(--lg-line);
  border-radius: 999px;
  background: var(--lg-paper);
  color: var(--lg-ink);
  font-size: 0.82rem;
  line-height: 1.2;
  text-decoration: none;
}

.knowledge-chip-row a:hover,
.knowledge-chip-row a[aria-current="page"] {
  border-color: var(--lg-garnet);
  background: var(--lg-garnet);
  color: #fff;
}

.knowledge-clear {
  display: inline-block;
  margin-top: 1rem;
  color: var(--lg-stone);
  font-size: 0.8rem;
}

.knowledge-results-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--lg-line);
}

.knowledge-results-heading h2 {
  margin: 0 0 0.8rem;
  font-family: var(--lg-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
}

.knowledge-results-heading p {
  margin: 0 0 0.8rem;
  color: var(--lg-stone);
  font-size: 0.82rem;
}

.knowledge-empty {
  padding: clamp(2.5rem, 6vw, 5rem);
  border: 1px solid var(--lg-line);
  text-align: center;
}

.knowledge-empty h2 {
  margin-top: 0;
}

.related-reading {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--lg-line);
}

.related-reading > h2 {
  margin: 0 0 1.5rem;
  font-family: var(--lg-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
}

.related-reading .journal-grid {
  grid-template-columns: 1fr;
}

.post-navigation,
.posts-navigation,
.pagination {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lg-line);
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer {
  background: #0a0908;
  color: #f5f0e7;
}

.footer-inner {
  width: min(calc(100% - 2.5rem), var(--lg-wide));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 3rem;
}

.footer-brand {
  max-width: 460px;
}

.footer-brand h2 {
  margin: 0 0 1rem;
  font-family: var(--lg-serif);
  font-size: 2.2rem;
  font-weight: 400;
}

.footer-brand p {
  color: #bdb3a5;
}

.footer-column h3 {
  margin: 0 0 1rem;
  color: #c9b99d;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li + li {
  margin-top: 0.65rem;
}

.footer-column a {
  color: #f5f0e7;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #91887b;
  font-size: 0.75rem;
}

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb {
  margin-bottom: 2rem;
  color: var(--lg-stone);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem 1.25rem;
}

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

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
}

.woocommerce ul.products li.product a img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 1.2rem;
  background: var(--lg-ivory);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0;
  font-family: var(--lg-serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--lg-garnet);
  font-size: 0.9rem;
}

.woocommerce span.onsale {
  min-width: 0;
  min-height: 0;
  border-radius: 0;
  background: var(--lg-garnet);
  padding: 0.25rem 0.6rem;
  font-size: 0.68rem;
  line-height: 1.5;
}

.woocommerce div.product {
  display: flow-root;
}

.woocommerce div.product .product_title {
  font-family: var(--lg-serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 400;
}

.woocommerce div.product form.cart .variations select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.wp-block-search__input,
input[type="search"],
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  border: 1px solid var(--lg-line);
  border-radius: 0;
  background: #fff;
  color: var(--lg-ink);
  padding: 0.8rem 0.9rem;
}

.woocommerce div.product form.cart .button,
.woocommerce .cart .button,
.woocommerce .cart input.button {
  border-color: var(--lg-ink);
  background: var(--lg-ink);
  color: #fff;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce .cart .button:hover,
.woocommerce .cart input.button:hover {
  border-color: var(--lg-garnet);
  background: var(--lg-garnet);
  color: #fff;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--lg-garnet);
  background: var(--lg-ivory);
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--lg-garnet);
}

table.shop_table,
.woocommerce table.shop_table {
  border: 1px solid var(--lg-line);
  border-radius: 0;
}

[hidden] {
  display: none !important;
}

@media (max-width: 960px) {
  .navigation-shell {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-navigation {
    display: none;
    grid-column: 1 / -1;
    padding: 0.5rem 0 1.5rem;
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation ul {
    display: block;
  }

  .primary-navigation li {
    border-top: 1px solid var(--lg-line);
  }

  .primary-navigation a {
    padding: 0.85rem 0;
  }

  .primary-navigation .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 0.6rem 1rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .primary-navigation .sub-menu li {
    border-top: 0;
  }

  .primary-navigation .sub-menu a {
    padding: 0.45rem 0;
    white-space: normal;
  }

  .pillars-grid,
  .journal-grid,
  .taxonomy-grid {
    grid-template-columns: 1fr;
  }

  .taxonomy-card {
    min-height: 150px;
  }

  .service-statement,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 600px) {
  .brand-bar { min-height: 108px; }
  .custom-logo-link,
  .brand-mark { width: 132px; }
  .navigation-shell { width: min(calc(100% - 1.5rem), var(--lg-wide)); }
  .header-tool--search { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .footer-bottom { flex-direction: column; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .knowledge-search-form { align-items: stretch; flex-direction: column; }
  .knowledge-search-form .button { width: 100%; }
  .knowledge-chip-row {
    margin-right: -0.75rem;
    padding-right: 0.75rem;
    scroll-snap-type: x proximity;
  }
  .knowledge-chip-row a { min-height: 44px; scroll-snap-align: start; }
  .knowledge-results-heading { align-items: flex-start; flex-direction: column; }
  .knowledge-results-heading p { margin-top: -0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
