:root {
  --xstore-shell-inquiry-height: 52px;
  --xstore-shell-inquiry-edge: 4px;
  --xstore-shell-inquiry-surface: #fffaf2;
  --xstore-shell-inquiry-ink: #30241d;
  --xstore-shell-inquiry-accent: #d6a77a;
}

body:is(.xs-t01, .xs-t02, .xs-t03, .xs-t04, .xs-t05, .xs-t06, .xs-matrix) .xs-selection-bar {
  position: fixed !important;
  z-index: 9990 !important;
  inset: auto max(12px, calc((100vw - 1480px) / 2)) calc(var(--xstore-shell-inquiry-edge) + env(safe-area-inset-bottom)) auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: calc(100vw - 24px) !important;
  min-height: var(--xstore-shell-inquiry-height) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 4px 4px 4px 16px !important;
  transform: none !important;
  border: 1px solid rgba(32, 36, 38, 0.28) !important;
  border-radius: 0 !important;
  color: var(--xstore-shell-inquiry-ink) !important;
  background: var(--xstore-shell-inquiry-surface) !important;
  box-shadow:
    0 18px 42px rgba(21, 18, 14, 0.2),
    0 2px 6px rgba(21, 18, 14, 0.08) !important;
}

body:is(.xs-t01, .xs-t02, .xs-t03, .xs-t04, .xs-t05, .xs-t06, .xs-matrix) .xs-selection-bar[hidden] {
  display: none !important;
}

body:is(.xs-t01, .xs-t02, .xs-t03, .xs-t04, .xs-t05, .xs-t06, .xs-matrix) .xs-selection-bar > div {
  display: flex !important;
  align-items: baseline !important;
  gap: 9px !important;
}

body:is(.xs-t01, .xs-t02, .xs-t03, .xs-t04, .xs-t05, .xs-t06, .xs-matrix) .xs-selection-bar span {
  color: var(--xstore-shell-inquiry-ink) !important;
  font-size: 13px !important;
}

body:is(.xs-t01, .xs-t02, .xs-t03, .xs-t04, .xs-t05, .xs-t06, .xs-matrix) .xs-selection-bar strong {
  margin-left: 0 !important;
  color: var(--xstore-shell-inquiry-ink) !important;
  font-family: "Avenir Next Condensed", "DIN Condensed", "Arial Narrow", sans-serif !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

body:is(.xs-t01, .xs-t02, .xs-t03, .xs-t04, .xs-t05, .xs-t06, .xs-matrix) .xs-selection-bar [data-open-inquiry] {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--xstore-shell-inquiry-accent) !important;
  border-radius: 0 !important;
  color: var(--xstore-shell-inquiry-ink) !important;
  background: var(--xstore-shell-inquiry-accent) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body:is(.xs-t01, .xs-t02, .xs-t03, .xs-t04, .xs-t05, .xs-t06, .xs-matrix) .xs-selection-bar [data-open-inquiry]:focus-visible {
  outline: 2px solid var(--xstore-shell-inquiry-ink) !important;
  outline-offset: 3px !important;
}

body.xs-t01 .xs-footer-bottom {
  justify-content: center !important;
  text-align: center !important;
}

body:is(.xs-t02, .xs-t03, .xs-t04, .xs-t05, .xs-t06) :is(
  .footer-copyright,
  .ct-footer-copyright,
  [id*="copyright"] .si-flex-row,
  [class*="copyright"]
) {
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

body:is(.xs-t05, .xs-t06) .ct-footer {
  display: none !important;
}

body:is(.xs-t05, .xs-t06) .xs-boutique-client-footer-bottom {
  width: min(1420px, calc(100% - 48px));
  min-height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
  border-top: 1px solid rgba(255, 250, 242, 0.16);
  color: rgba(255, 250, 242, 0.46);
  font-size: 12px;
  text-align: center;
}

body.xs-matrix .xs-matrix-footer {
  width: 100% !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: color-mix(in srgb, var(--xs-matrix-paper, #f7f3eb) 72%, transparent);
  background: var(--xs-matrix-ink, #202326) !important;
  font-size: 13px;
}

body.xs-matrix .xs-matrix-footer-inner {
  width: min(1480px, calc(100% - 40px)) !important;
  max-width: none !important;
  margin-inline: auto;
  padding: 30px 0 0;
}

body.xs-matrix .xs-matrix-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 1fr) minmax(210px, auto);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
}

body.xs-matrix .xs-matrix-footer-main strong {
  display: block;
  margin-bottom: 10px;
  color: var(--xs-matrix-paper, #f7f3eb);
  font-family: var(--xs-display, sans-serif);
  font-size: 24px;
  line-height: 1.2;
}

body.xs-matrix .xs-matrix-footer-main > div > p,
body.xs-matrix .xs-matrix-footer-contact p {
  max-width: 520px;
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

body.xs-matrix .xs-matrix-footer-main nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 18px;
}

body.xs-matrix .xs-matrix-footer-main nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: color-mix(in srgb, var(--xs-matrix-paper, #f7f3eb) 84%, transparent);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

body.xs-matrix .xs-matrix-footer-main nav a:hover,
body.xs-matrix .xs-matrix-footer-main nav a:focus-visible {
  color: var(--xs-matrix-paper, #f7f3eb);
  text-decoration: underline;
  text-underline-offset: 5px;
}

body.xs-matrix .xs-matrix-footer-contact a {
  display: inline-block;
  color: var(--xs-matrix-accent, #d6a77a);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

body.xs-matrix .xs-matrix-footer-contact p {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.55;
}

body.xs-matrix .xs-matrix-footer-bottom {
  min-height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  color: color-mix(in srgb, var(--xs-matrix-paper, #f7f3eb) 46%, transparent);
  font-size: 12px;
  text-align: center;
}

body.has-inquiry-selection:is(.xs-t01, .xs-t02, .xs-t03, .xs-t04, .xs-t05, .xs-t06) :is(
  .xs-site-footer,
  .aux-site-footer,
  #page-footer,
  #sinatra-copyright,
  .ct-footer
) {
  padding-bottom: calc(var(--xstore-shell-inquiry-height) + 16px + env(safe-area-inset-bottom)) !important;
}

@media (max-width: 620px) {
  body:is(.xs-t01, .xs-t02, .xs-t03, .xs-t04, .xs-t05, .xs-t06, .xs-matrix) .xs-selection-bar {
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    justify-content: space-between !important;
    padding-left: 14px !important;
  }

  body:is(.xs-t05, .xs-t06) .xs-boutique-client-footer-bottom {
    width: calc(100% - 32px);
  }

  body.has-inquiry-selection:is(.xs-t05, .xs-t06) .xs-boutique-client-footer {
    padding-bottom: calc(var(--xstore-shell-inquiry-height) + 16px + env(safe-area-inset-bottom));
  }

  body.xs-matrix .xs-matrix-footer-inner {
    width: min(100% - 24px, 1480px);
    padding: 32px 0 calc(52px + 8px + env(safe-area-inset-bottom));
  }

  body.xs-matrix .xs-matrix-footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.xs-matrix .xs-matrix-footer-main nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.xs-matrix .xs-matrix-footer-bottom {
    min-height: 0;
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:is(.xs-t01, .xs-t02, .xs-t03, .xs-t04, .xs-t05, .xs-t06, .xs-matrix) .xs-selection-bar [data-open-inquiry] {
    transition-duration: 0.01ms !important;
  }
}
