body.storefront-unified {
  --shop-width: 1414px;
  --shop-gutter: 28px;
  --shop-content: calc(min(100%, var(--shop-width)) - 2 * var(--shop-gutter));
  --shop-page: #edf1f6;
  --shop-ink: #284560;
  --shop-muted: #4a6178;
  --shop-line: #d8e2ee;
  --shop-paper: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: var(--storefront-viewport, 100dvh);
  height: auto;
  font-family: "Manrope Storefront", "Segoe UI", Arial, sans-serif;
  color: var(--shop-ink);
  background: var(--shop-page);
}

.storefront-unified :is(button, input, select, textarea) { font-family: inherit; }

body.storefront-unified.home-storefront .header {
  --navy: #0f2544;
  background: #fff;
}

body.storefront-unified.home-storefront .header :is(.header__inner,.nav__inner),
body.storefront-unified.home-storefront :is(.home-promotion,.home-main) {
  width: var(--shop-content);
}

body.storefront-unified.home-storefront .header .search__mode {
  height: auto;
  border: 0;
}

body.storefront-unified.home-storefront .header .search__mode-icon,
body.storefront-unified.home-storefront .header #searchBtn svg { display: block; }

body.storefront-unified.home-storefront .header .search #searchInput {
  height: var(--home-action-height);
  padding-block: 0;
}

body.storefront-unified .shop-page-main:not(.results-page) {
  width: var(--shop-content);
  max-width: none;
  margin-inline: auto;
}
body.storefront-unified .shop-page-main:not(.home-main, .results-page) { padding-inline: 0; }

body.storefront-unified .shop-page-main {
  flex: 0 0 auto;
  margin-block-end: 32px;
}

body.storefront-unified.search-results-body .shop-page-main.results-page {
  width: 100%;
  max-width: var(--shop-width);
  padding-inline: var(--shop-gutter);
}

body.storefront-unified :is(.cart-panel,.modal) :is(button,.btn,select,input:not([type=checkbox]),textarea) {
  border-radius: var(--home-action-radius);
}
body.storefront-unified :is(a,button,input,select,textarea,summary):focus-visible {
  outline: 2px solid #1d5697;
  outline-offset: 3px;
}
body.storefront-unified .storefront-footer {
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  margin: auto 0 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  font-family: inherit;
  color: var(--shop-ink);
  background: var(--home-surface);
}

body.storefront-unified .storefront-footer__panel {
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

body.storefront-unified .storefront-footer__main,
body.storefront-unified .storefront-footer__bottom {
  width: var(--shop-content);
  margin-inline: auto;
}

.storefront-unified .storefront-footer__bar {
  background: #dbe5f1;
  border-top: 1px solid var(--shop-line);
}
body.storefront-unified .storefront-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(115px, 14%) minmax(130px, 15%) minmax(190px, 19%);
  align-items: start;
  gap: clamp(20px, 3vw, 46px);
  padding: 28px 0;
}
.storefront-unified .storefront-footer__brand img {
  width: min(158px,100%);
  margin: 1px 0 12px;
}
.storefront-unified .storefront-footer__brand > p,
.storefront-unified .storefront-footer__contacts p {
  margin: 0;
  color: var(--shop-muted);
  font-size: 13px;
  line-height: 1.65;
}
.storefront-unified .storefront-footer h2 {
  color: #173653;
  font-size: 14px;
  font-weight: 750;
  margin: 0 0 7px;
}
.storefront-unified .storefront-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 0;
  border: 0;
  margin: 0;
  gap: 0;
}
.storefront-unified .storefront-footer__nav > a,
.storefront-unified .storefront-footer__contacts a {
  display: flex;
  color: var(--shop-ink);
  min-height: 30px;
  line-height: 1.45;
  font-size: 13px;
  align-items: center;
  overflow-wrap: anywhere;
}
.storefront-unified .storefront-footer__contacts a.shop-footer-phone {
  font-size: 17px;
  font-weight: 750;
  color: #1d5697;
}
.storefront-unified .storefront-footer__contacts p { margin-top: 5px; }
.storefront-unified .storefront-footer__contacts p span { display: block; }
.storefront-unified .storefront-footer__location { color: var(--shop-muted); margin-top: 8px; }
.storefront-unified .storefront-footer a:hover {
  color: #17477e;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.storefront-unified .storefront-footer__bottom {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px 24px;
  padding: 12px 0;
  background: transparent;
  border: 0;
  color: var(--shop-muted);
}
.storefront-unified .storefront-footer__bottom > a { min-height: 24px; font-size: 12px; color: var(--shop-muted); }
body.storefront-unified .shop-page-main.guest-chat-main {
  margin-top: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--home-panel-radius);
  min-height: 300px;
}
.storefront-unified .guest-chat-main h1 { margin: 0 0 8px; color: var(--shop-ink); font-size: clamp(22px,3vw,32px); }
.storefront-unified .guest-chat-main :is(.guest-chat-save,.chat-guest-intake) { background: #edf2f8; border-radius: var(--home-panel-radius); }
@media (min-width: 651px) {
  .storefront-unified .storefront-footer__contacts { text-align: end; }
  .storefront-unified .storefront-footer__contacts a { justify-content: flex-end; }
}

@media (max-width: 930px) {
  body.storefront-unified .storefront-footer__main { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .storefront-unified .storefront-footer__contacts { grid-column: auto; order: 0; }
  .storefront-unified .storefront-footer__brand { grid-row: auto; }
}
@media (max-width: 650px) {
  body.storefront-unified { --shop-gutter: 18px; }
  body.storefront-unified .storefront-footer__main { padding-block: 20px; gap: 18px 14px; }
  .storefront-unified .storefront-footer__brand { grid-column: 1 / -1; }
  .storefront-unified .storefront-footer__contacts { grid-column: 1 / -1; }
  .storefront-unified .storefront-footer__nav > a { min-height: 36px; }
  .storefront-unified .storefront-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 12px;
  }
}
@media (max-width: 370px) {
  body.storefront-unified.home-storefront .header .search__mode-icon { display: none; }
  body.storefront-unified.home-storefront .header .logo img { width: 94px; max-width: 100%; }
}
