/*
Theme Name: Bullion Storefront
Theme URI: https://example.com/
Author: Smart Gen
Author URI: https://example.com/
Description: A WordPress storefront theme foundation for a precious metals marketplace.
Version: 1.1.6
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bullion-storefront
Tags: custom-logo, custom-menu, featured-images, blog, e-commerce
*/

:root {
  --site-bg: #f5f7f9;
  --site-surface: #ffffff;
  --site-surface-alt: #eef2f5;
  --site-text: #171a1f;
  --site-muted: #626b76;
  --site-border: #d8dee5;
  --site-strong: #0e1116;
  --site-gold: #b88221;
  --site-gold-light: #f2c15c;
  --site-silver: #c5ccd5;
  --site-blue: #1f5f9f;
  --site-green: #227352;
  --site-danger: #9f3c3c;
  --site-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --site-container: 1180px;
  --site-radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-text);
  font-family: var(--site-font);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

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

.screen-reader-text,
.skip-link {
  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 {
  top: 1rem;
  left: 1rem;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  border-radius: var(--site-radius);
  background: var(--site-strong);
  color: #ffffff;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--site-border);
  background: var(--site-surface);
  box-shadow: 0 14px 34px rgba(14, 17, 22, 0.08);
}

body > header,
body > header .spot-price,
body > header .spotprice-embed {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
}

.woocommerce-main {
  width: min(1180px, calc(100% - 32px));
  margin: 40px auto;
}

.shop-products {
  margin: 48px auto;
  padding: 0 16px;
}

.shop-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}

.home-cards,
.home-guides,
.home-videos,
.home-stats,
.home-reviews {
  width: min(1240px, calc(100% - 32px));
  margin: 48px auto;
}

.home-cards__grid,
.home-guides__grid,
.home-videos__grid,
.home-reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-card,
.home-video,
.home-review {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--site-border);
  border-radius: 8px;
  background: #ffffff;
  color: #002539;
  overflow: hidden;
  text-decoration: none;
}

.home-card__image,
.home-video__image {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #f4f7f9;
}

.home-card__image img,
.home-video__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-card__body,
.home-video__body,
.home-review {
  gap: 8px;
  padding: 16px;
}

.home-card__title,
.home-video__title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.home-card__subtitle,
.home-video__source,
.home-review__meta {
  color: var(--site-muted);
  font-size: 14px;
}

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

.home-guide {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 18px;
  border-radius: 8px;
  background-color: #173142;
  background-position: center;
  background-size: cover;
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
}

.home-guide__step {
  color: #24a186;
  font-size: 20px;
  font-weight: 700;
}

.home-guide__title {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}

.home-guide__link {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-search {
  background-position: center;
  background-size: cover;
}

.home-search__submit {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  background: #24a186;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.home-review h3 {
  margin: 0;
  color: #002539;
  font-size: 18px;
}

.home-review__rating {
  color: #24a186;
  font-weight: 700;
  letter-spacing: 2px;
}

@media (max-width: 900px) {
  .home-cards__grid,
  .home-guides__grid,
  .home-videos__grid,
  .home-reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .home-cards__grid,
  .home-guides__grid,
  .home-videos__grid,
  .home-reviews__grid {
    grid-template-columns: 1fr;
  }
}

.shop-product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--site-border);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.shop-product-card__image {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 18px;
  background: #f7f9fb;
}

.shop-product-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.shop-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.shop-product-card h3 {
  margin: 0;
  color: #002539;
  font-size: 16px;
  line-height: 1.35;
}

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

.shop-product-card__price {
  color: #002539;
  font-weight: 700;
}

.shop-product-card__button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  border-radius: 4px;
  background: #24a186;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .shop-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .shop-products__grid {
    grid-template-columns: 1fr;
  }
}

.market-strip {
  background: var(--site-strong);
  color: #ffffff;
  font-size: 0.8125rem;
}

.market-strip__inner,
.site-header__inner,
.category-navigation__inner,
.store-hero__inner,
.store-section,
.market-tools__inner,
.service-band__inner,
.site-footer__inner,
.site-footer__bar {
  width: min(100% - 2rem, var(--site-container));
  margin-inline: auto;
}

.market-strip__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 38px;
}

.market-strip__label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #f2c15c;
  font-weight: 700;
  white-space: nowrap;
}

.market-ticker {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  overflow: hidden;
}

.market-ticker li {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
}

.market-ticker span {
  color: #aeb7c2;
}

.market-ticker strong {
  font-weight: 700;
}

.market-ticker em {
  color: #8be0b5;
  font-style: normal;
}

.market-ticker li:nth-child(3) em {
  color: #f2a3a3;
}

.utility-navigation {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: #dce2e9;
}

.utility-navigation a,
.primary-menu a,
.footer-menu a,
.text-link,
.site-branding,
.header-action,
.button,
.category-card,
.product-card a,
.tool-strip a,
.resource-card,
.footer-column a,
.footer-brand__logo {
  text-decoration: none;
}

.utility-navigation a:hover,
.primary-menu a:hover,
.text-link:hover,
.product-card h3 a:hover,
.footer-column a:hover,
.footer-menu a:hover {
  color: var(--site-gold);
}

.site-header__main {
  background: var(--site-surface);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 82px;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 230px;
}

.site-branding__logo img {
  max-width: 150px;
  max-height: 54px;
}

.site-branding__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f2c15c, #966414);
  color: #17110a;
  font-weight: 900;
}

.site-branding__text {
  display: grid;
  gap: 0.05rem;
}

.site-title {
  color: var(--site-strong);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
}

.site-description {
  color: var(--site-muted);
  font-size: 0.8125rem;
  line-height: 1.3;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--site-border);
  border-radius: 8px;
  background: var(--site-surface);
  color: var(--site-text);
  cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.menu-toggle__bars {
  position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  position: absolute;
  left: 0;
}

.menu-toggle__bars::before {
  top: -6px;
}

.menu-toggle__bars::after {
  top: 6px;
}

.store-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  min-width: 0;
  border: 1px solid #c9d1da;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.store-search__field {
  min-width: 0;
  width: 100%;
  border: 0;
  padding: 0.825rem 1rem;
  color: var(--site-text);
  outline: 0;
}

.store-search__field:focus {
  box-shadow: inset 0 0 0 2px rgba(31, 95, 159, 0.24);
}

.store-search__submit {
  min-width: 92px;
  border: 0;
  border-left: 1px solid #c9d1da;
  background: var(--site-blue);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 0.75rem;
  border: 1px solid var(--site-border);
  border-radius: 8px;
  color: var(--site-text);
  font-size: 0.875rem;
  font-weight: 700;
}

.header-action__icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
}

.header-action--account .header-action__icon::before,
.header-action--account .header-action__icon::after,
.header-action--cart .header-action__icon::before,
.header-action--cart .header-action__icon::after {
  position: absolute;
  content: "";
}

.header-action--account .header-action__icon::before {
  top: 1px;
  left: 5px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.header-action--account .header-action__icon::after {
  right: 1px;
  bottom: 1px;
  left: 1px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 999px 999px 4px 4px;
}

.header-action--cart .header-action__icon::before {
  right: 1px;
  bottom: 4px;
  left: 2px;
  height: 10px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px 2px 4px 4px;
}

.header-action--cart .header-action__icon::after {
  top: 2px;
  left: 5px;
  width: 8px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.category-navigation {
  border-top: 1px solid var(--site-border);
  background: #ffffff;
}

.primary-menu,
.footer-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu a {
  display: block;
  padding: 0.825rem 0.85rem;
  color: #28313d;
  font-size: 0.9375rem;
  font-weight: 750;
}

.site-main {
  background: var(--site-bg);
}

body:not(.home) .site-main {
  width: min(100% - 2rem, var(--site-container));
  margin-inline: auto;
  padding-block: 3rem;
}

.store-hero {
  min-height: 540px;
  color: #ffffff;
  background-color: #10141a;
  background-image:
    linear-gradient(90deg, rgba(10, 13, 18, 0.92) 0%, rgba(10, 13, 18, 0.78) 41%, rgba(10, 13, 18, 0.08) 74%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.store-hero__inner {
  display: flex;
  align-items: center;
  min-height: inherit;
  padding-block: 4rem;
}

.store-hero__content {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--site-gold-light);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.store-hero h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(2.25rem, 5vw, 4.85rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.store-hero p:not(.eyebrow) {
  max-width: 600px;
  margin: 1.25rem 0 0;
  color: #e7edf4;
  font-size: 1.125rem;
}

.store-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button,
.search-submit,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.button--primary,
.search-submit,
input[type="submit"] {
  background: var(--site-gold-light);
  color: #1d1406;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.button--small {
  min-height: 36px;
  padding: 0.55rem 0.75rem;
  background: var(--site-blue);
  color: #ffffff;
  font-size: 0.875rem;
}

.store-section {
  padding-block: 4.5rem;
}

.store-section--compact {
  padding-block: 3rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.market-tools h2,
.service-band h2 {
  margin: 0;
  color: var(--site-strong);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.text-link {
  color: var(--site-blue);
  font-weight: 800;
  white-space: nowrap;
}

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

.category-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 126px;
  padding: 1rem;
  border: 1px solid var(--site-border);
  border-radius: 8px;
  background: var(--site-surface);
  box-shadow: 0 16px 34px rgba(14, 17, 22, 0.06);
}

.category-card__visual {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0 10%, #f2c15c 11% 54%, #9a6717 55% 100%);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.28), 0 12px 18px rgba(14, 17, 22, 0.12);
}

.category-card__visual::after {
  position: absolute;
  inset: 13px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: inherit;
  content: "";
}

.category-card--silver .category-card__visual,
.category-card--platinum .category-card__visual {
  background: radial-gradient(circle at 35% 30%, #ffffff 0 10%, #dbe2ea 11% 56%, #7f8b99 57% 100%);
}

.category-card--deal .category-card__visual {
  border-radius: 8px;
  background: linear-gradient(135deg, #1f5f9f, #63b1e5);
}

.category-card__content {
  display: grid;
  gap: 0.35rem;
}

.category-card strong {
  color: var(--site-strong);
  font-size: 1.02rem;
}

.category-card span span {
  color: var(--site-muted);
  font-size: 0.9rem;
}

.market-tools {
  background: #121820;
  color: #ffffff;
}

.market-tools__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  padding-block: 3.5rem;
}

.market-tools h2 {
  color: #ffffff;
}

.tool-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tool-strip a {
  display: grid;
  gap: 0.55rem;
  min-height: 148px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.tool-strip strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.tool-strip span {
  color: #cbd5df;
  font-size: 0.9375rem;
}

.section-heading--with-tabs {
  align-items: center;
}

.product-tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--site-border);
  border-radius: 8px;
  background: #ffffff;
}

.product-tabs__button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  padding: 0.45rem 0.8rem;
  background: transparent;
  color: var(--site-muted);
  font-weight: 800;
  cursor: pointer;
}

.product-tabs__button.is-active {
  background: var(--site-strong);
  color: #ffffff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  display: grid;
  border: 1px solid var(--site-border);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(14, 17, 22, 0.06);
}

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

.product-card__media {
  position: relative;
  display: block;
  height: 188px;
  background: linear-gradient(135deg, #f8fafc, #e8edf2);
  overflow: hidden;
}

.product-card__media::before {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(14, 17, 22, 0.08);
  border-radius: 8px;
  content: "";
}

.product-card__shape {
  position: absolute;
  display: block;
}

.product-card__shape--main {
  top: 46px;
  left: 50%;
  width: 118px;
  height: 74px;
  border-radius: 10px;
  transform: translateX(-50%) rotate(-10deg);
  background: linear-gradient(135deg, #f6d06c, #ad7418 72%, #6f4308);
  box-shadow: inset 0 4px 10px rgba(255, 255, 255, 0.36), 0 18px 24px rgba(14, 17, 22, 0.18);
}

.product-card__shape--stack {
  right: 38px;
  bottom: 34px;
  width: 76px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff3c7, #b98222);
  box-shadow: 0 -9px 0 #c99129, 0 -18px 0 #d5a847, 0 10px 18px rgba(14, 17, 22, 0.15);
}

.product-card__media--silver .product-card__shape--main,
.product-card__media--platinum .product-card__shape--main {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ffffff 0 12%, #dbe3eb 13% 54%, #8f9aa7 55% 100%);
}

.product-card__media--silver .product-card__shape--main::after,
.product-card__media--platinum .product-card__shape--main::after {
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(255, 255, 255, 0.56);
  border-radius: inherit;
  content: "";
}

.product-card__media--silver .product-card__shape--stack,
.product-card__media--platinum .product-card__shape--stack {
  background: linear-gradient(180deg, #ffffff, #a8b1bc);
  box-shadow: 0 -9px 0 #b6c0ca, 0 -18px 0 #cfd6df, 0 10px 18px rgba(14, 17, 22, 0.15);
}

.product-card__media--platinum {
  background: linear-gradient(135deg, #f6f7f8, #dee6ea);
}

.product-card__body {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.product-card__badge {
  justify-self: start;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: #edf5ff;
  color: var(--site-blue);
  font-size: 0.75rem;
  font-weight: 850;
}

.product-card h3 {
  margin: 0;
  color: var(--site-strong);
  font-size: 1.08rem;
  line-height: 1.2;
}

.product-card p {
  min-height: 44px;
  margin: 0;
  color: var(--site-muted);
  font-size: 0.925rem;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.35rem;
}

.product-card__footer strong {
  color: var(--site-strong);
  font-size: 0.98rem;
}

.service-band {
  background: #ffffff;
}

.service-band__inner {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2.25rem;
  padding-block: 4.5rem;
}

.service-band .button--secondary {
  margin-top: 1.25rem;
  border-color: var(--site-border);
  background: var(--site-strong);
  color: #ffffff;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-item {
  min-height: 220px;
  padding: 1.25rem;
  border: 1px solid var(--site-border);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f6f8fa);
}

.service-item h3 {
  margin: 0 0 0.75rem;
  color: var(--site-strong);
  font-size: 1.1rem;
}

.service-item p {
  margin: 0;
  color: var(--site-muted);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.resource-card {
  display: grid;
  gap: 1rem;
  min-height: 150px;
  padding: 1.25rem;
  border: 1px solid var(--site-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(14, 17, 22, 0.06);
}

.resource-card span {
  color: var(--site-green);
  font-size: 0.8125rem;
  font-weight: 850;
}

.resource-card strong {
  color: var(--site-strong);
  font-size: 1.15rem;
  line-height: 1.2;
}

.store-section--page-content {
  padding-top: 0;
}

.entry,
.no-results,
.not-found {
  padding-block: 2rem;
}

.page-header {
  margin-bottom: 2rem;
}

.page-title,
.entry-title {
  margin: 0 0 1rem;
  color: var(--site-strong);
  line-height: 1.15;
}

.entry-meta,
.entry-footer {
  color: var(--site-muted);
}

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

.entry-content > *:last-child {
  margin-bottom: 0;
}

.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 560px;
}

.search-field {
  min-width: 0;
  flex: 1;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--site-border);
  border-radius: 8px;
}

.site-footer {
  background: #0f141b;
  color: #d8e0e8;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.7fr 1fr;
  gap: 2rem;
  padding-block: 3.5rem;
}

.footer-brand__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand__logo strong {
  display: block;
  color: #ffffff;
  font-size: 1.1rem;
}

.footer-brand__logo small {
  color: #aeb7c2;
}

.footer-brand p,
.footer-newsletter p {
  max-width: 420px;
  margin: 1rem 0 0;
  color: #aeb7c2;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.footer-column h2 {
  margin: 0 0 0.4rem;
  color: #ffffff;
  font-size: 0.95rem;
}

.footer-column a {
  color: #c6ced8;
}

.footer-newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-newsletter input {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.footer-newsletter button {
  border: 0;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  background: var(--site-gold-light);
  color: #1d1406;
  font-weight: 800;
  cursor: pointer;
}

.site-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aeb7c2;
  font-size: 0.9rem;
}

.footer-menu {
  gap: 0.85rem;
}

@media (max-width: 1080px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "menu brand actions"
      "search search search";
    padding-block: 0.8rem;
  }

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

  .site-branding {
    grid-area: brand;
    min-width: 0;
  }

  .store-search {
    grid-area: search;
  }

  .header-actions {
    grid-area: actions;
  }

  .category-navigation {
    display: none;
  }

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

  .primary-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 0.5rem;
  }

  .primary-menu a {
    border-radius: 8px;
    background: #f5f7f9;
  }

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

  .market-tools__inner,
  .service-band__inner,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .tool-strip,
  .service-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .market-strip__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
    padding-block: 0.55rem;
  }

  .market-ticker {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .utility-navigation {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
  }

  .site-title {
    font-size: 1.05rem;
  }

  .site-description {
    display: none;
  }

  .header-action {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .header-action span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .store-search__submit {
    min-width: 76px;
  }

  .store-hero {
    min-height: 500px;
    background-position: 66% center;
    background-image:
      linear-gradient(90deg, rgba(10, 13, 18, 0.94) 0%, rgba(10, 13, 18, 0.8) 58%, rgba(10, 13, 18, 0.18) 100%),
      var(--hero-image);
  }

  .store-hero__inner {
    padding-block: 3rem;
  }

  .store-hero h1 {
    font-size: 2.4rem;
  }

  .store-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .section-heading,
  .section-heading--with-tabs,
  .site-footer__bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .product-grid,
  .tool-strip,
  .service-list,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .product-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .product-tabs__button {
    flex: 1 0 auto;
  }

  .category-card,
  .resource-card,
  .service-item {
    min-height: auto;
  }

  .site-footer__inner {
    padding-block: 2.5rem;
  }

  .footer-newsletter form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .market-strip__inner,
  .site-header__inner,
  .category-navigation__inner,
  .store-hero__inner,
  .store-section,
  .market-tools__inner,
  .service-band__inner,
  .site-footer__inner,
  .site-footer__bar {
    width: min(100% - 1.25rem, var(--site-container));
  }

  .primary-menu {
    grid-template-columns: 1fr;
  }

  .site-branding__mark {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

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

  .store-search__submit {
    border-left: 0;
    border-top: 1px solid #c9d1da;
  }

  .store-hero {
    min-height: 470px;
  }

  .store-hero h1 {
    font-size: 2.05rem;
  }

  .store-hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .category-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .category-card__visual {
    width: 54px;
    height: 54px;
  }
}

