/**
 * samples-shop.com Soft Mist — shared chrome (utility, header, footer).
 * Page layouts stay in home.css / category.css / product.css.
 */

body.ss-redesign {
  margin: 0;
  font-family: var(--ss-font-family);
  color: var(--ss-color-text);
  background: var(--ss-color-page-bg);
}

body.ss-redesign a {
  color: inherit;
  text-decoration: none;
}

body.ss-redesign a:hover {
  text-decoration: underline;
}

body.ss-redesign :focus-visible {
  outline: none;
  box-shadow: var(--ss-shadow-focus);
}

body.ss-redesign button:focus-visible,
body.ss-redesign input:focus-visible,
body.ss-redesign select:focus-visible,
body.ss-redesign a:focus-visible {
  outline: none;
  box-shadow: var(--ss-shadow-focus);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ss-shell-page {
  display: grid;
  gap: 0;
  width: min(100%, var(--ss-content-wide-max));
  margin: 0 auto;
  min-width: 0;
  background: var(--ss-color-surface);
  color: var(--ss-color-text);
}

.ss-shell-page__main {
  min-width: 0;
  padding: var(--ss-space-6) var(--ss-page-gutter) var(--ss-space-10);
}

.ss-shell__utility {
  display: flex;
  justify-content: space-between;
  gap: var(--ss-space-4);
  align-items: center;
  padding: 7px 14px;
  border-bottom: 1px solid var(--ss-color-border);
  background: var(--ss-color-surface-muted);
  color: var(--ss-color-text-muted);
  font-size: var(--ss-font-size-xs);
}

.ss-shell__utility span {
  margin-right: 18px;
}

.ss-shell__utility span:last-child {
  margin-right: 0;
}

.ss-shell__utility-trust span::before {
  content: "";
}

.ss-shell__utility-currency-short {
  display: none;
}

.ss-shell__header {
  display: grid;
  grid-template-columns: minmax(260px, auto) minmax(300px, 1fr) minmax(270px, auto);
  gap: 22px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--ss-color-border);
  background: var(--ss-color-surface);
}

.ss-shell__header .ss-shell__brand {
  display: grid;
  grid-template-columns: 36px minmax(0, max-content);
  gap: 10px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  border: 0;
  background: transparent;
}

.ss-shell__header .ss-shell__brand-copy {
  min-width: max-content;
}

.ss-shell__header .ss-shell__brand strong {
  display: block;
  font-size: var(--ss-font-size-md);
  letter-spacing: var(--ss-letter-tight);
  white-space: nowrap;
}

.ss-shell__header .ss-shell__brand small {
  display: block;
  color: var(--ss-color-text-muted);
  font-size: var(--ss-font-size-xs);
  white-space: nowrap;
}

.ss-shell__nav,
.ss-shell__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: var(--ss-font-size-sm);
  font-weight: 700;
}

.ss-shell__actions {
  justify-content: flex-end;
  gap: 15px;
  font-size: var(--ss-font-size-xs);
  font-weight: 600;
  flex-wrap: nowrap;
}

.ss-shell__actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ss-shell__action-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  overflow: visible;
}

.ss-shell__action-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ss-shell__actions-cart strong {
  font-weight: 700;
}

.ss-shell__header .ss-shell__brand:hover {
  text-decoration: none;
  background: transparent;
}

.ss-shell__mark {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 1px solid var(--ss-color-border);
  border-radius: 4px;
  background: var(--ss-color-action);
}

.ss-shell__mark img,
.ss-shell__mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ss-shell__nav-item--more {
  display: none;
}

.ss-shell__nav-label--short {
  display: none;
}

.ss-shell__actions a:hover {
  text-decoration: underline;
}

.ss-shell__footer {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr);
  gap: 26px;
  padding: 18px 14px;
  border-top: 1px solid var(--ss-color-border);
  background: var(--ss-color-surface-muted);
  color: var(--ss-color-text-muted);
  font-size: var(--ss-font-size-sm);
  line-height: 1.55;
}

.ss-shell__footer > div > b {
  display: block;
  margin-bottom: 7px;
  color: var(--ss-color-text);
  font-size: var(--ss-font-size-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ss-shell__footer a {
  display: block;
  color: var(--ss-color-text-muted);
  text-decoration: none;
}

.ss-shell__footer a:hover {
  color: var(--ss-color-text);
  text-decoration: underline;
}

.ss-shell__footer-brand-copy {
  display: block;
  max-width: 235px;
}

.ss-shell__footer-newsletter {
  min-width: 0;
}

.ss-shell__footer-newsletter > span {
  display: block;
  margin-bottom: 8px;
}

.ss-shell__newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  min-height: 28px;
  border: 1px solid var(--ss-color-border);
  background: var(--ss-color-surface);
  overflow: hidden;
}

.ss-shell__newsletter-form input {
  min-width: 0;
  padding: 0 9px;
  border: 0;
  background: transparent;
  color: var(--ss-color-text);
  font: inherit;
  font-size: var(--ss-font-size-sm);
}

.ss-shell__newsletter-form input::placeholder {
  color: var(--ss-color-text-muted);
}

.ss-shell__newsletter-form button {
  border: 0;
  border-left: 1px solid var(--ss-color-border);
  background: var(--ss-color-action);
  color: var(--ss-color-action-text);
  font: inherit;
  font-size: var(--ss-font-size-xs);
  font-weight: 800;
  cursor: pointer;
}

.ss-shell__newsletter-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ss-shell__newsletter-message {
  margin-top: 8px;
  font-size: var(--ss-font-size-xs);
  line-height: 1.4;
}

.ss-shell__newsletter-message--success {
  color: var(--ss-color-text);
}

.ss-shell__newsletter-message--error {
  color: var(--ss-color-sale);
}

.ss-shell__footer-legal {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--ss-color-border);
  text-align: center;
  font-size: var(--ss-font-size-xs);
}

@media (max-width: 1536px) {
  .ss-shell__utility-support {
    display: none;
  }
}

@media (max-width: 1367px) {
  .ss-shell__header {
    grid-template-columns: minmax(140px, auto) minmax(0, 1fr) auto;
    gap: 14px;
  }

  .ss-shell__header .ss-shell__brand small {
    display: none;
  }

  .ss-shell__nav {
    gap: 14px;
  }

  .ss-shell__nav-item--hide-laptop {
    display: none;
  }

  .ss-shell__nav-item--more {
    display: inline-flex;
  }

  .ss-shell__utility-currency-full {
    display: none;
  }

  .ss-shell__utility-currency-short {
    display: block;
  }

  .ss-shell__utility-wide {
    display: none;
  }

  .ss-shell__footer {
    gap: 20px;
  }

  .ss-shell__footer-newsletter {
    max-width: 240px;
  }
}

@media (max-width: 1279px) {
  .ss-shell__utility-wide {
    display: none;
  }

  .ss-shell__header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .ss-shell__nav {
    gap: 12px;
    font-size: var(--ss-font-size-xs);
  }

  .ss-shell__nav-item--hide-compact {
    display: none;
  }

  .ss-shell__nav-item--short .ss-shell__nav-label--full {
    display: none;
  }

  .ss-shell__nav-item--short .ss-shell__nav-label--short {
    display: inline;
  }

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

.ss-home__search,
.ss-catalog__search,
.ss-pdp__search {
  position: relative;
}

.ss-quick-search {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  width: min(720px, 100%);
  max-height: 70vh;
  overflow: auto;
  background: var(--ss-color-surface);
  border: 1px solid var(--ss-color-border);
  border-radius: 12px;
  box-shadow: var(--ss-shadow-md);
}

.ss-quick-search__hit,
.ss-quick-search__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ss-color-border);
  color: inherit;
  text-decoration: none;
}

.ss-quick-search__hit {
  grid-template-columns: 72px minmax(0, 1fr);
}

.ss-quick-search__hit small {
  color: var(--ss-color-text-muted);
  font-size: var(--ss-font-size-xs);
}

.ss-quick-search__row img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--ss-color-surface-muted);
}

.ss-quick-search__all,
.ss-quick-search__empty {
  display: block;
  margin: 0;
  padding: 14px;
  text-align: center;
  font-weight: 800;
  color: var(--ss-color-text);
  text-decoration: none;
}

.ss-quick-search__empty {
  font-weight: 600;
  color: var(--ss-color-text-muted);
}
