/* York Gold Store — storefront layer */

.yg-header-switcher-wrap,
.yg-shop-intro,
.yg-pathways,
.yg-featured,
.yg-trust-bar,
.yg-spot-bar,
.yg-catalog-filters,
.yg-live-pricing,
.yg-specs,
.yg-mode-switcher,
.yg-brand-header,
.yg-cat-chips,
.yg-product-card {
  --yg-text: #1a1714;
  --yg-muted: #6b6258;
  --yg-line: rgba(26, 23, 20, 0.12);
  --yg-bg: #f7f3ec;
  --yg-surface: #fffdf9;
  --yg-ink: #12100e;
  --yg-accent: #0b3d2e;
  --yg-gold: #c4a35a;
  --yg-gold-deep: #8a6d2f;
  --yg-ok: #0f3d2e;
  --yg-font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --yg-font-body: "Avenir Next", "Segoe UI", Candara, sans-serif;
  color: var(--yg-text);
  font-family: var(--yg-font-body);
}

.yg-brand-logo {
  display: block;
  width: auto;
  max-width: 220px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.yg-brand-logo--spot {
  max-width: 120px;
  max-height: 34px;
}

.yg-brand-logo--pathways,
.yg-brand-logo--trust {
  max-width: 160px;
  max-height: 44px;
}

.yg-brand-header {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  margin: 0.5rem 0 1rem;
  text-align: center;
}

.yg-brand-header__logo {
  display: inline-block;
}

.yg-brand-header__tagline {
  margin: 0;
  color: var(--yg-muted);
  font-size: 0.95rem;
}

/* —— Spot bar —— */
.yg-spot-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.4rem;
  padding: 0.85rem 1.15rem;
  margin: 0 0 1.25rem;
  border: 1px solid var(--yg-line);
  background:
    linear-gradient(115deg, rgba(196, 163, 90, 0.16), transparent 42%),
    linear-gradient(180deg, #161310, #24201b);
  color: #f4efe6;
  border-radius: 2px;
}

.yg-spot-bar__brand {
  display: inline-flex;
  align-items: center;
  margin-right: 0.35rem;
  text-decoration: none;
}

.yg-spot-bar__item {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.yg-spot-bar__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(244, 239, 230, 0.65);
}

.yg-spot-bar__price {
  font-family: var(--yg-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #f7e7b8;
}

.yg-spot-bar__unit,
.yg-spot-bar__updated {
  font-size: 0.78rem;
  color: rgba(244, 239, 230, 0.55);
}

.yg-spot-bar .yg-brand-logo--spot {
  filter: brightness(1.05);
}

/* —— Shop hero —— */
.yg-shop-intro {
  margin-bottom: 1.5rem;
}

.yg-shop-hero {
  position: relative;
  margin: 0 0 1.25rem;
  padding: 1.75rem 1.5rem 1.6rem;
  overflow: hidden;
  border: 1px solid var(--yg-line);
  background:
    radial-gradient(ellipse 80% 70% at 90% 10%, rgba(196, 163, 90, 0.22), transparent 55%),
    linear-gradient(160deg, #f3ebe0 0%, #faf7f1 48%, #efe6d6 100%);
}

.yg-shop-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--yg-gold), var(--yg-accent));
}

.yg-shop-hero__copy {
  position: relative;
  max-width: 40rem;
}

.yg-shop-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yg-gold-deep);
}

.yg-shop-hero__title {
  margin: 0 0 0.55rem;
  font-family: var(--yg-font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--yg-ink);
}

.yg-shop-hero__lead {
  margin: 0 0 1.1rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--yg-muted);
}

.yg-shop-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.yg-shop-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--yg-line);
  background: var(--yg-surface);
  color: var(--yg-ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.yg-shop-hero__btn:hover {
  border-color: var(--yg-gold-deep);
  transform: translateY(-1px);
}

.yg-shop-hero__btn--primary {
  background: var(--yg-accent);
  border-color: var(--yg-accent);
  color: #f7f3ec;
}

.yg-shop-hero__btn--primary:hover {
  background: #0e4d3a;
  border-color: #0e4d3a;
  color: #fff;
}

.yg-shop-hero__btn--ghost {
  background: transparent;
}

.yg-catalog-anchor {
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* —— Category chips —— */
.yg-cat-chips {
  margin: 0 0 1.35rem;
}

.yg-cat-chips__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.yg-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--yg-line);
  background: var(--yg-surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.yg-cat-chip:hover {
  border-color: var(--yg-gold);
  background: #fff;
}

.yg-cat-chip__name {
  font-weight: 650;
  font-size: 0.92rem;
}

.yg-cat-chip__count {
  font-size: 0.75rem;
  color: var(--yg-muted);
  font-variant-numeric: tabular-nums;
}

.yg-cat-chip--ira-eligible {
  border-color: rgba(11, 61, 46, 0.35);
  background: linear-gradient(180deg, rgba(11, 61, 46, 0.08), var(--yg-surface));
}

.yg-cat-chip--ira-eligible .yg-cat-chip__name {
  color: var(--yg-accent);
}

/* —— Pathways (kept for sell pages / shortcode use) —— */
.yg-pathways__brand {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.15rem;
}

.yg-pathways__brand span {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.yg-pathways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 1.5rem;
}

.yg-pathway {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.15rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--yg-line);
  background: var(--yg-surface);
  transition: border-color 160ms ease, transform 160ms ease;
}

.yg-pathway:hover {
  border-color: var(--yg-gold-deep);
  transform: translateY(-1px);
}

.yg-pathway--buy {
  background: linear-gradient(165deg, rgba(11, 61, 46, 0.08), transparent 55%);
}

.yg-pathway--sell {
  background: linear-gradient(165deg, rgba(196, 163, 90, 0.14), transparent 55%);
}

.yg-pathway__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yg-muted);
}

.yg-mode-switcher {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.25rem;
  margin: 0.5rem 0;
  background: rgba(21, 21, 21, 0.05);
}

.yg-mode-switcher__btn {
  padding: 0.55rem 1rem;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--yg-muted);
}

.yg-mode-switcher__btn.is-active {
  background: #fff;
  color: var(--yg-text);
  box-shadow: inset 0 -2px 0 var(--yg-accent);
}

/* —— Featured / IRA strips —— */
.yg-featured {
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.15rem 1.25rem;
  border: 1px solid var(--yg-line);
  background: var(--yg-surface);
}

.yg-featured--ira {
  background:
    linear-gradient(180deg, rgba(11, 61, 46, 0.05), transparent 40%),
    var(--yg-surface);
  border-color: rgba(11, 61, 46, 0.18);
}

.yg-featured__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.yg-featured__title {
  margin: 0;
  font-family: var(--yg-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.yg-featured__more {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--yg-accent);
  text-decoration: none;
  white-space: nowrap;
}

.yg-featured__more:hover {
  text-decoration: underline;
}

.yg-featured__track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.yg-featured--carousel .yg-featured__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 0.9rem;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}

.yg-featured--carousel .yg-featured__card {
  flex: 0 0 min(210px, 78vw);
  scroll-snap-align: start;
}

.yg-featured__card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--yg-line);
  background: #fff;
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease;
}

.yg-featured__card:hover {
  border-color: rgba(196, 163, 90, 0.55);
  transform: translateY(-2px);
}

.yg-featured__media {
  display: block;
  background: linear-gradient(180deg, #f3ebe0, #fff);
}

.yg-featured__card img,
.yg-featured__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
}

.yg-featured__body {
  display: grid;
  gap: 0.3rem;
  padding: 0.75rem 0.8rem 0.85rem;
}

.yg-featured__card h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--yg-ink);
}

.yg-featured__card a {
  text-decoration: none;
  color: inherit;
}

.yg-featured__price {
  font-family: var(--yg-font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.yg-featured__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.35rem;
}

.yg-featured__buy {
  margin-top: 0;
}

.yg-featured__empty {
  margin: 0;
  color: var(--yg-muted);
}

/* —— Trust bar —— */
.yg-trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
  padding: 1rem;
  border-top: 1px solid var(--yg-line);
  border-bottom: 1px solid var(--yg-line);
}

.yg-trust-bar__brand {
  grid-column: 1 / -1;
  margin-bottom: 0.25rem;
}

.yg-trust-bar__item {
  display: grid;
  gap: 0.2rem;
  text-decoration: none;
  color: inherit;
}

.yg-trust-bar__item span,
.yg-trust-bar__disclaimer {
  color: var(--yg-muted);
  font-size: 0.9rem;
}

.yg-trust-bar__disclaimer {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
}

/* —— Catalog filters (horizontal search) —— */
.yg-catalog-filters {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.35rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--yg-line);
  background:
    linear-gradient(180deg, rgba(196, 163, 90, 0.08), transparent 55%),
    var(--yg-surface);
}

.yg-catalog-filters__search-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  gap: 0;
}

.yg-catalog-filters__search-row input[type="search"] {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--yg-line);
  border-right: 0;
  border-radius: 0;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--yg-ink);
}

.yg-catalog-filters__search-row input[type="search"]:focus {
  outline: 2px solid rgba(11, 61, 46, 0.35);
  outline-offset: -1px;
  z-index: 1;
}

.yg-catalog-filters__search-btn {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 1.25rem;
  border: 1px solid var(--yg-accent);
  background: var(--yg-accent);
  color: #f7f3ec;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
}

.yg-catalog-filters__search-btn:hover {
  background: #0e4d3a;
}

.yg-catalog-filters__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.55rem 0.65rem;
}

.yg-catalog-filters__field {
  flex: 1 1 110px;
  min-width: 110px;
  max-width: 160px;
}

.yg-catalog-filters label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yg-muted);
  margin-bottom: 0.25rem;
}

.yg-catalog-filters__controls input,
.yg-catalog-filters__controls select {
  width: 100%;
  min-height: 40px;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--yg-line);
  background: #fff;
  font: inherit;
}

.yg-catalog-filters__check {
  flex: 0 0 auto;
  max-width: none;
  min-width: auto;
}

.yg-catalog-filters__check label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  min-height: 40px;
  padding: 0 0.35rem;
  color: var(--yg-text);
  white-space: nowrap;
}

.yg-catalog-filters__check input {
  width: auto;
  min-height: 0;
}

.yg-catalog-filters__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-left: auto;
}

.yg-catalog-filters__actions .button {
  min-height: 40px;
}

.yg-catalog-filters__reset {
  font-size: 0.88rem;
  color: var(--yg-muted);
  text-decoration: none;
  padding: 0.35rem 0.25rem;
}

.yg-catalog-filters__reset:hover {
  color: var(--yg-ink);
  text-decoration: underline;
}

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

/* —— Product loop cards —— */
.yg-product-card {
  position: relative;
}

.woocommerce ul.products li.product.yg-product-card,
ul.products li.product.yg-product-card {
  border: 1px solid var(--yg-line);
  background: #fff;
  padding: 0.75rem;
  transition: border-color 160ms ease, transform 160ms ease;
}

.woocommerce ul.products li.product.yg-product-card:hover,
ul.products li.product.yg-product-card:hover {
  border-color: rgba(196, 163, 90, 0.55);
  transform: translateY(-2px);
}

.yg-live-pricing {
  margin: 0.75rem 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--yg-line);
  background: linear-gradient(180deg, rgba(196, 163, 90, 0.1), transparent 60%);
}

.yg-live-pricing__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.3rem 0;
}

.yg-live-pricing__total {
  margin-top: 0.45rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--yg-line);
  font-size: 1.1rem;
}

.yg-live-pricing__total strong {
  color: var(--yg-ok);
}

.yg-live-pricing__note {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  color: var(--yg-muted);
}

.yg-specs {
  margin: 1rem 0;
}

.yg-specs__table {
  width: 100%;
  border-collapse: collapse;
}

.yg-specs__table th,
.yg-specs__table td {
  padding: 0.45rem 0.35rem;
  border-bottom: 1px solid var(--yg-line);
  text-align: left;
}

.yg-specs__table th {
  width: 35%;
  color: var(--yg-muted);
  font-weight: 600;
}

.yg-product-fulfillment {
  margin: 0.85rem 0;
  padding: 0.75rem 0;
  border-top: 1px solid var(--yg-line);
}

.yg-product-fulfillment__links a {
  color: var(--yg-accent);
}

.yg-loop-premium {
  font-size: 0.85rem;
  color: var(--yg-muted);
  margin: 0.1rem 0 0.2rem;
}

.yg-product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.2rem 0 0.15rem;
}

.yg-badge {
  display: inline-block;
  padding: 0.12rem 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--yg-line);
  background: #fff;
}

.yg-badge--ira {
  border-color: rgba(11, 61, 46, 0.4);
  color: var(--yg-accent);
  background: rgba(11, 61, 46, 0.06);
}

.yg-badge--metal {
  border-color: rgba(196, 163, 90, 0.55);
  color: var(--yg-gold-deep);
  background: rgba(196, 163, 90, 0.1);
}

.yg-watch-btn {
  appearance: none;
  border: 1px solid var(--yg-line);
  background: #fff;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  margin-top: 0;
}

.yg-watch-btn.is-active {
  border-color: var(--yg-accent);
  color: var(--yg-accent);
  font-weight: 700;
}

.yg-storage-checkout {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid var(--yg-line);
}

.yg-buy-now {
  margin-left: 0.5rem;
}

/* Shop storefront: soften Woodmart clutter around our blocks */
body.yg-shop-storefront .yg-shop-intro + .yg-brand-header,
body.yg-shop-storefront .yg-shop-intro + .yg-pathways,
body.yg-shop-storefront .yg-shop-intro ~ .yg-brand-header,
body.yg-shop-storefront .entry-content > .yg-brand-header,
body.yg-shop-storefront .entry-content > .yg-pathways {
  display: none;
}

/* Keep theme header search horizontal (Woodmart / common WC forms) */
.whb-search-form .searchform,
.wd-header-search .searchform,
.woodmart-search-form .searchform,
form.searchform,
form.woocommerce-product-search {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
}

.whb-search-form .searchform input[type="text"],
.whb-search-form .searchform input[type="search"],
.wd-header-search .searchform input[type="text"],
.wd-header-search .searchform input[type="search"],
form.searchform input[type="text"],
form.searchform input[type="search"],
form.woocommerce-product-search input[type="search"] {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}

.whb-search-form .searchform button,
.wd-header-search .searchform button,
form.searchform button,
form.woocommerce-product-search button {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 46px;
}

@media (max-width: 720px) {
  .yg-pathways {
    grid-template-columns: 1fr;
  }

  .yg-shop-hero {
    padding: 1.35rem 1.1rem;
  }

  .yg-catalog-filters__field {
    flex: 1 1 calc(50% - 0.65rem);
    max-width: none;
  }

  .yg-catalog-filters__actions {
    width: 100%;
    margin-left: 0;
  }

  .yg-catalog-filters__search-btn {
    padding: 0 0.9rem;
  }

  .yg-featured__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

/* —— Storefront theme presets (body.yg-theme-*) —— */
body.yg-theme-classic .yg-header-switcher-wrap,
body.yg-theme-classic .yg-shop-intro,
body.yg-theme-classic .yg-pathways,
body.yg-theme-classic .yg-featured,
body.yg-theme-classic .yg-trust-bar,
body.yg-theme-classic .yg-spot-bar,
body.yg-theme-classic .yg-catalog-filters,
body.yg-theme-classic .yg-live-pricing,
body.yg-theme-classic .yg-specs,
body.yg-theme-classic .yg-mode-switcher,
body.yg-theme-classic .yg-brand-header,
body.yg-theme-classic .yg-cat-chips,
body.yg-theme-classic .yg-product-card,
body.yg-theme-classic .yg-portal {
  --yg-text: #1a1714;
  --yg-muted: #6b6258;
  --yg-line: rgba(26, 23, 20, 0.12);
  --yg-bg: #f7f3ec;
  --yg-surface: #fffdf9;
  --yg-ink: #12100e;
  --yg-accent: #0b3d2e;
  --yg-gold: #c4a35a;
  --yg-gold-deep: #8a6d2f;
  --yg-ok: #0f3d2e;
}

body.yg-theme-light .yg-header-switcher-wrap,
body.yg-theme-light .yg-shop-intro,
body.yg-theme-light .yg-pathways,
body.yg-theme-light .yg-featured,
body.yg-theme-light .yg-trust-bar,
body.yg-theme-light .yg-spot-bar,
body.yg-theme-light .yg-catalog-filters,
body.yg-theme-light .yg-live-pricing,
body.yg-theme-light .yg-specs,
body.yg-theme-light .yg-mode-switcher,
body.yg-theme-light .yg-brand-header,
body.yg-theme-light .yg-cat-chips,
body.yg-theme-light .yg-product-card,
body.yg-theme-light .yg-portal {
  --yg-text: #1d2327;
  --yg-muted: #646970;
  --yg-line: #c3c4c7;
  --yg-bg: #f0f0f1;
  --yg-surface: #ffffff;
  --yg-ink: #1d2327;
  --yg-accent: #2271b1;
  --yg-gold: #dba617;
  --yg-gold-deep: #996800;
  --yg-ok: #00a32a;
}

body.yg-theme-light .yg-shop-hero,
body.yg-theme-light .yg-portal__hero {
  background: linear-gradient(160deg, #fff 0%, #f0f6fc 55%, #e7f0f8 100%);
}

body.yg-theme-light .yg-spot-bar {
  background: linear-gradient(115deg, rgba(34, 113, 177, 0.12), transparent 42%), linear-gradient(180deg, #1d2327, #2c3338);
}

body.yg-theme-slate .yg-header-switcher-wrap,
body.yg-theme-slate .yg-shop-intro,
body.yg-theme-slate .yg-pathways,
body.yg-theme-slate .yg-featured,
body.yg-theme-slate .yg-trust-bar,
body.yg-theme-slate .yg-spot-bar,
body.yg-theme-slate .yg-catalog-filters,
body.yg-theme-slate .yg-live-pricing,
body.yg-theme-slate .yg-specs,
body.yg-theme-slate .yg-mode-switcher,
body.yg-theme-slate .yg-brand-header,
body.yg-theme-slate .yg-cat-chips,
body.yg-theme-slate .yg-product-card,
body.yg-theme-slate .yg-portal {
  --yg-text: #e8eef5;
  --yg-muted: #93a1b3;
  --yg-line: rgba(232, 238, 245, 0.16);
  --yg-bg: #12171d;
  --yg-surface: #1a2129;
  --yg-ink: #f4f7fb;
  --yg-accent: #5b9fd4;
  --yg-gold: #d4b06a;
  --yg-gold-deep: #c4a35a;
  --yg-ok: #4ade80;
}

body.yg-theme-slate .yg-shop-hero,
body.yg-theme-slate .yg-portal__hero,
body.yg-theme-slate .yg-catalog-filters,
body.yg-theme-slate .yg-featured__card,
body.yg-theme-slate .yg-pathway,
body.yg-theme-slate .yg-portal__card {
  background: var(--yg-surface);
  color: var(--yg-text);
}

body.yg-theme-slate .yg-spot-bar {
  background: linear-gradient(180deg, #0d1116, #1a2129);
  border-color: var(--yg-line);
}

body.yg-theme-forest .yg-header-switcher-wrap,
body.yg-theme-forest .yg-shop-intro,
body.yg-theme-forest .yg-pathways,
body.yg-theme-forest .yg-featured,
body.yg-theme-forest .yg-trust-bar,
body.yg-theme-forest .yg-spot-bar,
body.yg-theme-forest .yg-catalog-filters,
body.yg-theme-forest .yg-live-pricing,
body.yg-theme-forest .yg-specs,
body.yg-theme-forest .yg-mode-switcher,
body.yg-theme-forest .yg-brand-header,
body.yg-theme-forest .yg-cat-chips,
body.yg-theme-forest .yg-product-card,
body.yg-theme-forest .yg-portal {
  --yg-text: #14241c;
  --yg-muted: #4d6356;
  --yg-line: rgba(20, 36, 28, 0.14);
  --yg-bg: #eef5f0;
  --yg-surface: #f7fbf8;
  --yg-ink: #0d1a13;
  --yg-accent: #1f6b4a;
  --yg-gold: #b8953b;
  --yg-gold-deep: #8a6d2f;
  --yg-ok: #1f6b4a;
}

body.yg-theme-forest .yg-shop-hero,
body.yg-theme-forest .yg-portal__hero {
  background:
    radial-gradient(ellipse 80% 70% at 90% 10%, rgba(31, 107, 74, 0.14), transparent 55%),
    linear-gradient(160deg, #e4f0e8 0%, #f7fbf8 50%, #dce9e1 100%);
}

body.yg-theme-forest .yg-spot-bar {
  background: linear-gradient(180deg, #0f2a1c, #1a3d2a);
}

body.yg-theme-midnight .yg-header-switcher-wrap,
body.yg-theme-midnight .yg-shop-intro,
body.yg-theme-midnight .yg-pathways,
body.yg-theme-midnight .yg-featured,
body.yg-theme-midnight .yg-trust-bar,
body.yg-theme-midnight .yg-spot-bar,
body.yg-theme-midnight .yg-catalog-filters,
body.yg-theme-midnight .yg-live-pricing,
body.yg-theme-midnight .yg-specs,
body.yg-theme-midnight .yg-mode-switcher,
body.yg-theme-midnight .yg-brand-header,
body.yg-theme-midnight .yg-cat-chips,
body.yg-theme-midnight .yg-product-card,
body.yg-theme-midnight .yg-portal {
  --yg-text: #ece8f5;
  --yg-muted: #a39bb8;
  --yg-line: rgba(236, 232, 245, 0.14);
  --yg-bg: #120f1a;
  --yg-surface: #1b1626;
  --yg-ink: #f6f3ff;
  --yg-accent: #8b6dff;
  --yg-gold: #e0c278;
  --yg-gold-deep: #c4a35a;
  --yg-ok: #6ee7b7;
}

body.yg-theme-midnight .yg-shop-hero,
body.yg-theme-midnight .yg-portal__hero,
body.yg-theme-midnight .yg-catalog-filters,
body.yg-theme-midnight .yg-featured__card,
body.yg-theme-midnight .yg-pathway,
body.yg-theme-midnight .yg-portal__card {
  background: var(--yg-surface);
  color: var(--yg-text);
}

body.yg-theme-midnight .yg-spot-bar {
  background: linear-gradient(180deg, #0c0914, #1b1626);
}
