:root {
  --xstore-client-accent: #264f46;
  --xstore-client-accent-ink: color-mix(in srgb, var(--xstore-client-accent) 72%, #000);
  --xstore-client-accent-fill: color-mix(in srgb, var(--xstore-client-accent) 78%, #000);
  --xstore-client-ink: #17211f;
  --xstore-client-paper: #f7f4ed;
  --xstore-client-line: rgba(23, 33, 31, 0.16);
}

.xstore-client-site {
  background: var(--xstore-client-paper);
  color: var(--xstore-client-ink);
}

.xstore-client-site #primary,
.xstore-client-site .content-area,
.xstore-client-site .site-content,
.xstore-client-site #content {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  float: none;
}

.xstore-client-site #secondary,
.xstore-client-site .widget-area {
  display: none;
}

.xstore-client-home,
.xstore-client-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.xstore-client-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: clamp(32px, 7vw, 100px);
  min-height: 70vh;
  align-items: end;
  padding: clamp(72px, 11vw, 150px) 0 56px;
  border-bottom: 1px solid var(--xstore-client-line);
}

.xstore-client-kicker {
  margin: 0 0 18px;
  color: var(--xstore-client-accent-ink);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.xstore-client-hero h1,
.xstore-client-page-head h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.xstore-client-hero-copy > p:not(.xstore-client-kicker),
.xstore-client-page-head > p:not(.xstore-client-kicker) {
  max-width: 58ch;
  margin: 28px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.75;
}

.xstore-client-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: 34px;
}

.xstore-client-button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--xstore-client-accent-fill);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.xstore-client-link {
  color: inherit;
  font-weight: 700;
  text-underline-offset: 0.3em;
}

.xstore-client-facts {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--xstore-client-line);
}

.xstore-client-facts > div {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--xstore-client-line);
  align-items: baseline;
}

.xstore-client-facts dt {
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 650;
  line-height: 1;
}

.xstore-client-facts dd {
  margin: 0;
  line-height: 1.45;
}

.xstore-client-section {
  padding: clamp(56px, 8vw, 110px) 0;
  border-bottom: 1px solid var(--xstore-client-line);
}

.xstore-client-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 30px;
  align-items: end;
  margin-bottom: 36px;
}

.xstore-client-section-head .xstore-client-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.xstore-client-section-head h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

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

.xstore-client-category {
  min-height: 280px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  position: relative;
  border-radius: 2px;
  background: #e8e3d8;
  color: inherit;
  text-decoration: none;
}

.xstore-client-category img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xstore-client-category::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 25%, rgba(12, 18, 17, 0.78));
}

.xstore-client-category > *:not(img) {
  position: relative;
  z-index: 1;
  color: #fff;
}

.xstore-client-category span,
.xstore-client-category small {
  font-size: 0.78rem;
  line-height: 1.4;
}

.xstore-client-category strong {
  margin: 8px 0;
  font-size: 1.35rem;
}

.xstore-client-page-head {
  padding: clamp(72px, 10vw, 130px) 0 52px;
  border-bottom: 1px solid var(--xstore-client-line);
}

.xstore-client-policy-list {
  display: grid;
  gap: 0;
  padding: 36px 0 90px;
}

.xstore-client-policy-list section {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--xstore-client-line);
}

.xstore-client-policy-list h2,
.xstore-client-policy-list p {
  margin: 0;
}

.xstore-client-contact-products,
.xstore-client-page .products {
  padding: 38px 0 90px;
}

.xstore-client-reference {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 44px 0 100px;
}

.xstore-client-reference small {
  color: var(--xstore-client-accent-ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xstore-client-reference strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}

body.xstore-client-t03 {
  --xstore-client-paper: #11100e;
  --xstore-client-ink: #ede6da;
  --xstore-client-accent: #d3a56d;
  --xstore-client-accent-ink: #e2ba87;
  --xstore-client-accent-fill: #e2ba87;
  --xstore-client-line: rgba(237, 230, 218, 0.24);
}

body.xstore-client-t03 .xstore-client-button,
body.xstore-client-t03 .xstore-client-button:visited {
  background: var(--xstore-client-accent-fill);
  color: #11100e;
}

body.xstore-client-t04 .xstore-client-button,
body.xstore-client-t04 .xstore-client-button:visited {
  background: var(--xstore-client-accent-fill) !important;
  color: #fff !important;
}

body.xstore-client-t04 .site-navigation,
body.xstore-client-t04 .sinatra-primary-nav {
  width: auto;
  max-width: calc(100vw - 96px);
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.xstore-client-t04 .sinatra-primary-nav > li > a {
  padding-inline: 8px !important;
  font-size: 0.78rem;
}

body.xstore-client-t04 .si-search-simple {
  display: none;
}

body.xstore-client-t03 .wp-block-search,
body.xstore-client-t03 .wp-block-archives,
body.xstore-client-t03 .wp-block-categories,
body.xstore-client-t03 .wp-block-latest-posts,
body.xstore-client-t03 .wp-block-latest-comments {
  display: none;
}

.xstore-faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--xstore-client-line, rgba(23, 33, 31, 0.16));
}

.xstore-faq-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(140px, 0.32fr);
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--xstore-client-line, rgba(23, 33, 31, 0.16));
}

.xstore-faq-toolbar[hidden] {
  display: none;
}

.xstore-faq-toolbar input,
.xstore-faq-toolbar select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--xstore-client-line, rgba(23, 33, 31, 0.2));
  background: var(--xstore-client-paper, #fffdf8);
  color: var(--xstore-client-ink, #17211f);
  font: inherit;
  font-size: 1rem;
}

.xstore-faq-empty {
  margin: 0;
  padding: 20px 0;
}

.xstore-faq-list details {
  border-bottom: 1px solid var(--xstore-client-line, rgba(23, 33, 31, 0.16));
}

.xstore-faq-list summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.xstore-faq-list summary::-webkit-details-marker {
  display: none;
}

.xstore-faq-list summary span {
  flex: 0 0 auto;
  color: var(--xstore-client-accent-ink, #8f2b0e);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.xstore-faq-list details[open] summary span {
  transform: rotate(45deg);
}

.xstore-faq-list p {
  max-width: 72ch;
  margin: 0 0 14px;
}

.xstore-faq-source {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--xstore-client-accent-ink, #8f2b0e);
  font-size: 0.82rem;
  text-underline-offset: 0.22em;
}

@media (max-width: 900px) {
  .xstore-client-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

@media (max-width: 600px) {
  .xstore-client-home,
  .xstore-client-page {
    width: min(100% - 28px, 1180px);
  }

  .xstore-client-section-head,
  .xstore-client-policy-list section {
    grid-template-columns: 1fr;
  }

  .xstore-client-category-grid {
    grid-template-columns: 1fr;
  }

  .xstore-client-category {
    min-height: 240px;
  }

  .xstore-faq-toolbar {
    grid-template-columns: 1fr;
  }
}
