:root {
  --sgcf-ink: #292a28;
  --sgcf-muted: #6b6b64;
  --sgcf-line: #d9d5cc;
  --sgcf-warm: #f7f4ee;
  --sgcf-paper: #fff;
  --sgcf-clay: #865542;
  --sgcf-green: #3f5a50;
}
.sgcf-header-tools,
.sgcf-primary > ul,
.sgcf-actions,
.sgcf-card-actions,
.sgcf-footer nav {
  display: flex;
  align-items: center;
}
.sgcf-header-tools {
  gap: 18px;
  justify-content: flex-end;
}
.sgcf-primary > ul {
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sgcf-primary a,
.sgcf-language a,
.sgcf-mobile-menu a {
  text-decoration: none;
  color: var(--sgcf-ink);
}
.sgcf-nav-group {
  position: relative;
  padding: 12px 0;
}
.sgcf-mega {
  position: absolute;
  z-index: 30;
  top: 100%;
  left: 50%;
  width: 320px;
  padding: 14px;
  background: var(--sgcf-paper);
  border: 1px solid var(--sgcf-line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transform: translate(-50%, 8px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}
.sgcf-nav-group:hover .sgcf-mega,
.sgcf-nav-group:focus-within .sgcf-mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.sgcf-mega ul,
.sgcf-language ul,
.sgcf-mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sgcf-mega a,
.sgcf-language a,
.sgcf-mobile-panel a {
  display: block;
  padding: 9px 10px;
}
.sgcf-mega a:hover,
.sgcf-mega a:focus-visible,
.sgcf-language a:hover,
.sgcf-language a:focus-visible {
  background: var(--sgcf-warm);
}
.sgcf-quote,
.sgcf-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: var(--sgcf-green);
  color: #fff !important;
  text-decoration: none;
}
.sgcf-language,
.sgcf-mobile-menu {
  position: relative;
}
.sgcf-language summary,
.sgcf-mobile-menu > summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.sgcf-language ul {
  position: absolute;
  right: 0;
  z-index: 31;
  width: 170px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--sgcf-line);
}
.sgcf-mobile-menu {
  display: none;
}
.sgcf-store {
  color: var(--sgcf-ink);
  letter-spacing: 0;
}
.sgcf-store-hero {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 96px) max(24px, calc((100% - 1120px) / 2));
  background: var(--sgcf-warm);
}
.sgcf-store-hero h1 {
  max-width: 780px;
  margin: 10px 0 18px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
}
.sgcf-store-hero > p:not(.sgcf-eyebrow) {
  max-width: 660px;
  font-size: 18px;
  line-height: 1.8;
}
.sgcf-eyebrow {
  color: var(--sgcf-clay);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.sgcf-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.sgcf-button-secondary {
  background: transparent !important;
  border: 1px solid var(--sgcf-ink);
  color: var(--sgcf-ink) !important;
}
.sgcf-section,
.sgcf-band,
.sgcf-hub,
.sgcf-shipping {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px;
}
.sgcf-section h2,
.sgcf-band h2 {
  font-size: 28px;
  letter-spacing: 0;
}
.sgcf-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.sgcf-category {
  min-height: 140px;
  padding: 22px;
  border: 1px solid var(--sgcf-line);
  color: var(--sgcf-ink);
  text-decoration: none;
  background: #fff;
}
.sgcf-category span {
  display: block;
  font-size: 18px;
  font-weight: 700;
}
.sgcf-category small {
  display: block;
  margin-top: 12px;
  color: var(--sgcf-muted);
  line-height: 1.65;
}
.sgcf-filter-drawer > summary {
  display: none;
}
.sgcf-filter-drawer > .sgcf-filter {
  display: grid !important;
}
.sgcf-filter {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto auto;
  gap: 12px;
  align-items: end;
  margin: 24px 0;
}
.sgcf-filter label span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}
.sgcf-filter input,
.sgcf-filter select,
.sgcf-filter button {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid var(--sgcf-line);
  border-radius: 0;
  background: #fff;
  color: var(--sgcf-ink);
  font-size: 16px;
}
.sgcf-filter button {
  background: var(--sgcf-ink);
  color: #fff;
}
.sgcf-clear {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  color: var(--sgcf-ink);
}
.sgcf-result-count {
  color: var(--sgcf-muted);
}
.sgcf-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  gap: 20px;
}
.sgcf-product-card {
  min-width: 0;
  border-bottom: 1px solid var(--sgcf-line);
  background: #fff;
}
.sgcf-product-image {
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--sgcf-warm);
}
.sgcf-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sgcf-product-body {
  padding: 16px 0 20px;
}
.sgcf-product-body h3 {
  min-height: 3em;
  margin: 8px 0;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
}
.sgcf-product-body h3 a {
  color: var(--sgcf-ink);
  text-decoration: none;
}
.sgcf-status {
  color: var(--sgcf-muted);
  font-weight: 700;
}
.sgcf-card-actions {
  align-items: flex-start;
  gap: 10px;
  flex-direction: column;
}
.sgcf-card-actions a {
  color: var(--sgcf-green);
}
.sgcf-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--sgcf-warm);
  max-width: none;
  padding-left: max(24px, calc((100% - 1120px) / 2));
  padding-right: max(24px, calc((100% - 1120px) / 2));
}
.sgcf-table-wrap {
  overflow-x: auto;
}
.sgcf-table-wrap table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}
.sgcf-table-wrap th,
.sgcf-table-wrap td {
  padding: 12px;
  border: 1px solid var(--sgcf-line);
  text-align: left;
}
.sgcf-footer {
  padding: 34px 0;
}
.sgcf-footer nav {
  gap: 16px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.sgcf-visits {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
}
.sgcf-visits strong {
  font-size: 20px;
}
.sgcf-visits small {
  color: var(--sgcf-muted);
}
.sgcf-empty {
  grid-column: 1/-1;
  padding: 40px;
  background: var(--sgcf-warm);
}
.woocommerce ul.products,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-pagination,
body.woocommerce-shop .wp-block-query-title,
body.woocommerce-shop .sg-store-notice,
body.woocommerce-shop .wp-block-woocommerce-product-collection,
body.woocommerce-shop .woocommerce-info,
body.post-type-archive-product .woocommerce-info,
.wp-block-woocommerce-product-collection-no-results {
  display: none !important;
}
.woocommerce form.cart,
.woocommerce .quantity,
.woocommerce a.add_to_cart_button,
.woocommerce button.single_add_to_cart_button,
.wc-block-components-product-button,
.wp-block-woocommerce-mini-cart,
.wc-block-mini-cart,
.wc-block-cart,
.wc-block-checkout {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #1f6f8b;
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .sgcf-primary,
  .sgcf-quote-desktop {
    display: none;
  }
  .sgcf-mobile-menu {
    display: block;
  }
  .sgcf-filter-drawer {
    position: relative;
    margin: 20px 0;
  }
  .sgcf-filter-drawer > summary {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border: 1px solid var(--sgcf-line);
    font-weight: 700;
    cursor: pointer;
  }
  .sgcf-filter-drawer[open] {
    position: fixed;
    z-index: 100;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    margin: 0;
    background: rgba(0, 0, 0, 0.38);
  }
  .sgcf-filter-drawer[open] > summary {
    position: absolute;
    inset: 0;
    border: 0;
    font-size: 0;
  }
  .sgcf-filter-drawer[open] > summary::after {
    content: "\00d7";
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: min(72vh, 540px);
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--sgcf-line);
    background: #fff;
    color: var(--sgcf-ink);
    font-size: 24px;
  }
  .sgcf-filter-drawer > .sgcf-filter {
    display: none !important;
  }
  .sgcf-filter-drawer[open] > .sgcf-filter {
    position: relative;
    z-index: 1;
    display: grid !important;
    box-sizing: border-box;
    width: 100vw;
    min-width: 100vw;
    max-height: min(72vh, 540px);
    overflow: auto;
    margin: 0;
    padding: 24px 18px;
    background: #fff;
  }
  .sgcf-mobile-panel {
    position: absolute;
    right: 0;
    z-index: 40;
    width: min(92vw, 390px);
    max-height: 75vh;
    overflow: auto;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--sgcf-line);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  }
  .sgcf-mobile-panel details > summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-weight: 700;
  }
  .sgcf-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sgcf-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sgcf-filter {
    grid-template-columns: 1fr 1fr;
  }
  .sgcf-filter label:first-child {
    grid-column: 1/-1;
  }
  .sgcf-band {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 430px) {
  .sgcf-header-tools {
    gap: 12px;
  }
  .sgcf-language summary,
  .sgcf-mobile-menu > summary {
    font-size: 14px;
  }
  .sgcf-store-hero {
    min-height: 0;
    padding-top: 54px;
    padding-bottom: 54px;
  }
  .sgcf-store-hero h1 {
    font-size: 36px;
  }
  .sgcf-category-grid,
  .sgcf-product-grid,
  .sgcf-filter {
    grid-template-columns: minmax(0, 1fr);
  }
  .sgcf-filter label:first-child {
    grid-column: auto;
  }
  .sgcf-category {
    min-height: 120px;
  }
  .sgcf-section,
  .sgcf-hub,
  .sgcf-shipping {
    padding: 44px 18px;
  }
  .sgcf-band {
    padding: 44px 18px;
  }
  .sgcf-product-body h3 {
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  .sgcf-mega {
    transition: none;
  }
}
