.web-storefront-page {
  --store-shell-gap: 10px;
  --store-radius-xl: 24px;
  --store-radius-lg: 18px;
  --store-radius-md: 14px;
  --store-border: 1px solid var(--surface-border);
  display: grid;
  gap: var(--store-shell-gap);
  width: 100%;
  max-width: min(100%, 1680px);
  margin-inline: auto;
  padding: clamp(8px, 1.4vw, 14px);
  box-sizing: border-box;
  overflow-x: hidden;
}

.web-storefront-hero {
  position: relative;
  overflow: hidden;
  border: var(--store-border);
  border-radius: var(--store-radius-xl);
  background:
    radial-gradient(440px 180px at -10% -30%, color-mix(in srgb, var(--primary-300) 72%, #fff 28%), transparent 74%),
    linear-gradient(145deg, color-mix(in srgb, var(--bg-100) 92%, #fff 8%), color-mix(in srgb, var(--surface-card) 94%, #fff 6%));
  padding: clamp(14px, 1.8vw, 18px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  box-shadow: var(--surface-elev-1);
}

.web-storefront-hero::before,
.web-storefront-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  opacity: .55;
}

.web-storefront-hero::before {
  width: 120px;
  height: 120px;
  right: -40px;
  bottom: -56px;
  background: color-mix(in srgb, var(--primary-300) 18%, #fff 82%);
}

.web-storefront-hero::after {
  width: 92px;
  height: 92px;
  right: 18%;
  top: -34px;
  background: color-mix(in srgb, var(--accent-100) 10%, #fff 90%);
}

.web-storefront-hero-copy,
.web-storefront-hero-panel {
  position: relative;
  z-index: 1;
}

.web-storefront-hero-copy {
  display: grid;
  gap: 12px;
  align-content: start;
}

.web-storefront-hero-copy-compact {
  gap: 12px;
}

.web-storefront-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--primary-200) 30%, var(--surface-border) 70%);
  background: color-mix(in srgb, var(--surface-card) 74%, #fff 26%);
  color: color-mix(in srgb, var(--primary-100) 62%, var(--text-100) 38%);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.web-storefront-hero-copy h1 {
  margin: 0;
  color: var(--text-100);
  font-size: 1.86rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.web-storefront-hero-copy p {
  margin: 0;
  max-width: 54ch;
  color: var(--text-200);
  font-size: 13px;
  line-height: 1.55;
}

.web-storefront-hero-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.web-storefront-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.web-storefront-hero-btn {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.web-storefront-hero-btn:hover {
  transform: none;
}

.web-storefront-hero-btn.is-primary {
  color: var(--bg-100);
  background: linear-gradient(135deg, var(--primary-100), var(--accent-100));
  box-shadow: 0 14px 28px -20px color-mix(in srgb, var(--primary-100) 48%, transparent 52%);
}

.web-storefront-hero-btn.is-secondary {
  color: var(--text-100);
  border-color: var(--surface-border);
  background: color-mix(in srgb, var(--surface-card) 78%, #fff 22%);
}

.web-storefront-inline-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.web-storefront-inline-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.web-storefront-hero-live {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.web-storefront-hero-live-pill,
.web-storefront-hero-route {
  min-width: 0;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--surface-border) 72%, #fff 28%);
  background: color-mix(in srgb, var(--surface-card) 82%, #fff 18%);
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  text-decoration: none;
}

.web-storefront-hero-live small,
.web-storefront-hero-route small {
  color: var(--text-300);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.web-storefront-hero-live strong {
  color: var(--text-100);
  font-size: 13px;
  line-height: 1.35;
}

.web-storefront-hero-route code {
  display: block;
  margin: 0;
  color: color-mix(in srgb, var(--primary-100) 72%, var(--text-100) 28%);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.web-storefront-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.web-storefront-hero-metric {
  min-height: 92px;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid var(--surface-border);
  display: grid;
  gap: 4px;
  align-content: start;
  background: color-mix(in srgb, var(--surface-card) 84%, #fff 16%);
}

.web-storefront-hero-metric strong {
  color: var(--text-100);
  font-size: 1.28rem;
  line-height: 1;
}

.web-storefront-hero-metric span {
  color: var(--text-200);
  font-size: 12px;
  line-height: 1.45;
}

.web-storefront-hero-metric-primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary-300) 20%, var(--surface-card) 80%), color-mix(in srgb, var(--surface-card) 88%, #fff 12%));
}

.web-storefront-hero-metric-accent {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-100) 10%, var(--surface-card) 90%), color-mix(in srgb, var(--surface-card) 90%, #fff 10%));
}

.web-storefront-hero-panel {
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--surface-border) 76%, #fff 24%);
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--surface-card) 92%, #fff 8%), color-mix(in srgb, var(--bg-100) 92%, #fff 8%));
  padding: 18px;
  display: grid;
  gap: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.web-storefront-hero-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  width: fit-content;
  padding: 0 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary-300) 22%, var(--surface-card) 78%);
  color: var(--text-100);
  font-size: 11px;
  font-weight: 800;
}

.web-storefront-hero-panel h2 {
  margin: 0;
  color: var(--text-100);
  font-size: 1.32rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.web-storefront-hero-panel > p {
  margin: 0;
  color: var(--text-200);
  font-size: 13px;
  line-height: 1.65;
}

.web-storefront-hero-highlights {
  display: grid;
  gap: 10px;
}

.web-storefront-hero-highlights article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--surface-border) 78%, #fff 22%);
  background: color-mix(in srgb, var(--surface-card) 84%, #fff 16%);
}

.web-storefront-hero-highlights article .web-storefront-inline-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary-300) 18%, var(--surface-card) 82%);
  color: var(--text-100);
}

.web-storefront-hero-highlights strong {
  display: block;
  margin: 0 0 4px;
  color: var(--text-100);
  font-size: 13px;
  line-height: 1.25;
}

.web-storefront-hero-highlights p {
  margin: 0;
  color: var(--text-200);
  font-size: 12px;
  line-height: 1.55;
}

.web-storefront-categories {
  border: var(--store-border);
  border-radius: 20px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-card) 96%, #fff 4%), color-mix(in srgb, var(--bg-100) 92%, #fff 8%));
  padding: 12px;
  display: grid;
  gap: 12px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow:
    0 10px 24px color-mix(in srgb, var(--text-100) 5%, transparent 95%),
    0 1px 0 color-mix(in srgb, var(--surface-border) 32%, transparent 68%) inset;
}

.web-storefront-section-head {
  display: block;
}

.web-storefront-section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary-300) 18%, var(--surface-card) 82%);
  color: color-mix(in srgb, var(--primary-100) 68%, var(--text-100) 32%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.web-storefront-section-head h2 {
  margin: 6px 0 2px;
  color: var(--text-100);
  font-size: 1.12rem;
  line-height: 1.15;
}

.web-storefront-section-head p {
  margin: 0;
  color: var(--text-200);
  font-size: 12px;
  line-height: 1.5;
  max-width: 46ch;
}

.web-storefront-section-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.web-storefront-section-badge {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: var(--surface-muted);
  color: var(--text-100);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
}

.web-storefront-chip-rail {
  position: relative;
  display: flex;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  cursor: grab;
  user-select: none;
  padding-bottom: 2px;
  scroll-behavior: auto;
  scroll-snap-type: x proximity;
}

.web-storefront-chip-rail-wrap {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.web-storefront-chip-rail-wrap::before,
.web-storefront-chip-rail-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 26px;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.web-storefront-chip-rail-wrap::before {
  left: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--bg-100) 94%, #fff 6%) 0%, transparent 100%);
}

.web-storefront-chip-rail-wrap::after {
  right: 0;
  background: linear-gradient(270deg, color-mix(in srgb, var(--bg-100) 94%, #fff 6%) 0%, transparent 100%);
}

.web-storefront-chip-rail-wrap.has-left-overflow::before {
  opacity: 1;
}

.web-storefront-chip-rail-wrap.has-right-overflow::after {
  opacity: 1;
}

.web-storefront-chip-rail::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.web-storefront-chip-rail::-webkit-scrollbar-thumb {
  display: none;
}

.web-storefront-chip {
  border: 1px solid var(--surface-border);
  background: color-mix(in srgb, var(--surface-muted) 84%, #fff 16%);
  color: var(--text-100);
  min-height: 48px;
  padding: 7px 13px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  scroll-snap-align: start;
  min-width: 0;
  max-width: 220px;
}

.web-storefront-chip[hidden] {
  display: none !important;
}

.web-storefront-chip:hover {
  transform: none;
  border-color: color-mix(in srgb, var(--primary-200) 46%, var(--bg-300) 54%);
  box-shadow: none;
}

.web-storefront-chip:focus-visible {
  outline: 2px solid var(--primary-100);
  outline-offset: 1px;
}

.web-storefront-chip.is-active {
  border-color: color-mix(in srgb, var(--primary-200) 48%, var(--surface-border) 52%);
  color: var(--text-100);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--primary-300) 24%, #fff 76%), color-mix(in srgb, var(--surface-card) 90%, #fff 10%));
  box-shadow:
    0 8px 16px color-mix(in srgb, var(--primary-100) 10%, transparent 90%),
    0 0 0 1px color-mix(in srgb, var(--primary-200) 18%, transparent 82%) inset;
}

.web-storefront-chip-icon {
  position: relative;
  isolation: isolate;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary-300) 22%, #fff 78%), color-mix(in srgb, var(--surface-card) 92%, #fff 8%));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-100);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow:
    0 8px 16px color-mix(in srgb, var(--text-100) 5%, transparent 95%),
    0 0 0 1px color-mix(in srgb, var(--surface-border) 55%, transparent 45%) inset;
}

.web-storefront-chip-icon::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-card) 88%, #fff 12%), color-mix(in srgb, var(--bg-100) 92%, #fff 8%));
  z-index: 0;
}

.web-storefront-chip-icon > * {
  position: relative;
  z-index: 1;
}

.web-storefront-chip-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  filter: drop-shadow(0 4px 8px color-mix(in srgb, var(--text-100) 8%, transparent 92%));
}

.web-storefront-chip-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.web-storefront-chip > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-storefront-chip-icon-picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.web-storefront-chip-icon.is-media::before {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-card) 86%, #fff 14%), color-mix(in srgb, var(--surface-card) 94%, #fff 6%));
}

.web-storefront-chip-icon.is-fallback {
  color: color-mix(in srgb, var(--primary-100) 68%, var(--text-100) 32%);
}

.web-storefront-chip.is-active .web-storefront-chip-icon {
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary-300) 34%, #fff 66%), color-mix(in srgb, var(--surface-card) 90%, #fff 10%));
  color: var(--text-100);
  box-shadow:
    0 10px 18px color-mix(in srgb, var(--primary-100) 14%, transparent 86%),
    0 0 0 1px color-mix(in srgb, var(--primary-200) 26%, transparent 74%) inset;
}

.web-storefront-chip.is-active .web-storefront-chip-icon::before {
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary-300) 16%, #fff 84%), color-mix(in srgb, var(--surface-card) 92%, #fff 8%));
}

.web-storefront-chip-browse {
  border-color: color-mix(in srgb, var(--primary-200) 38%, var(--surface-border) 62%);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-card) 86%, #fff 14%), color-mix(in srgb, var(--primary-300) 14%, var(--surface-muted) 86%));
}

.web-storefront-chip-browse .web-storefront-chip-icon {
  color: color-mix(in srgb, var(--primary-100) 78%, var(--text-100) 22%);
}

.web-storefront-chip-inline-back {
  border-style: dashed;
}

.web-storefront-category-sheet[hidden] {
  display: none !important;
}

body.web-storefront-category-sheet-open {
  overflow: hidden;
}

.web-storefront-category-sheet {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.web-storefront-category-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: color-mix(in srgb, var(--text-100) 34%, transparent 66%);
  cursor: pointer;
}

.web-storefront-category-sheet-panel {
  position: relative;
  width: min(920px, 100%);
  height: min(720px, 90vh);
  min-height: 420px;
  border: 1px solid color-mix(in srgb, var(--surface-border) 78%, #fff 22%);
  border-radius: 22px;
  background: var(--surface-card);
  color: var(--text-100);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  box-shadow: 0 28px 80px color-mix(in srgb, var(--text-100) 22%, transparent 78%);
}

.web-storefront-category-sheet-head {
  min-height: 64px;
  border-bottom: 1px solid var(--surface-border);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  padding: 0 14px;
}

.web-storefront-category-sheet-head h2 {
  grid-column: 2;
  margin: 0;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--text-100);
}

.web-storefront-category-sheet-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--text-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.web-storefront-category-sheet-close svg {
  width: 28px;
  height: 28px;
}

.web-storefront-category-sheet-body {
  min-height: 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  background: color-mix(in srgb, var(--bg-100) 62%, var(--surface-card) 38%);
}

.web-storefront-category-sheet-roots {
  min-width: 0;
  overflow-y: auto;
  border-right: 1px solid var(--surface-border);
  background: color-mix(in srgb, var(--surface-muted) 70%, var(--surface-card) 30%);
  padding: 8px 0;
}

.web-storefront-category-sheet-root {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-left: 4px solid transparent;
  background: transparent;
  color: var(--text-100);
  display: flex;
  align-items: center;
  text-align: left;
  padding: 8px 14px 8px 16px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
}

.web-storefront-category-sheet-root.is-active {
  border-left-color: var(--primary-100);
  background: var(--surface-card);
}

.web-storefront-category-sheet-main {
  min-width: 0;
  overflow-y: auto;
  padding: 24px;
  background: var(--surface-card);
}

.web-storefront-category-sheet-title {
  margin: 0 0 18px;
  font-size: 1.28rem;
  line-height: 1.2;
  color: var(--text-100);
}

.web-storefront-category-sheet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 14px;
}

.web-storefront-category-sheet-tile {
  border: 0;
  background: transparent;
  color: var(--text-100);
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
}

.web-storefront-category-sheet-tile-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface-muted) 82%, #fff 18%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: color-mix(in srgb, var(--primary-100) 72%, var(--text-100) 28%);
  box-shadow: 0 1px 0 color-mix(in srgb, #fff 70%, transparent 30%) inset;
}

.web-storefront-category-sheet-tile-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 9px;
}

.web-storefront-category-sheet-tile-icon svg {
  width: 32px;
  height: 32px;
}

.web-storefront-category-sheet-empty {
  margin: 0;
  color: var(--text-200);
  font-size: 13px;
  line-height: 1.5;
}

.web-storefront-subchip-rail-wrap {
  position: relative;
}

.web-storefront-subchip-stack {
  display: grid;
  gap: 8px;
}

.web-storefront-subchip-stack[hidden],
.web-storefront-subchip-rail-wrap[hidden],
.web-storefront-subchip-breadcrumb[hidden] {
  display: none !important;
}

.web-storefront-subchip-levels {
  display: grid;
  gap: 8px;
}

.web-storefront-subchip-level {
  display: grid;
  gap: 6px;
}

.web-storefront-subchip-level-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-inline: 2px;
}

.web-storefront-subchip-level-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-100);
  line-height: 1.1;
}

.web-storefront-subchip-level-head small {
  margin: 0;
  font-size: 11px;
  color: var(--text-300);
  line-height: 1.1;
}

.web-storefront-subchip-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-inline: 2px;
}

.web-storefront-subchip-breadcrumb-sep {
  color: var(--text-300);
  font-weight: 700;
  font-size: 11px;
}

.web-storefront-subchip-rail-wrap::before,
.web-storefront-subchip-rail-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22px;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.web-storefront-subchip-rail-wrap::before {
  left: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--bg-100) 94%, #fff 6%) 0%, transparent 100%);
}

.web-storefront-subchip-rail-wrap::after {
  right: 0;
  background: linear-gradient(270deg, color-mix(in srgb, var(--bg-100) 94%, #fff 6%) 0%, transparent 100%);
}

.web-storefront-subchip-rail-wrap.has-left-overflow::before {
  opacity: 1;
}

.web-storefront-subchip-rail-wrap.has-right-overflow::after {
  opacity: 1;
}

.web-storefront-subchip-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  cursor: grab;
  user-select: none;
  scroll-behavior: auto;
}

.web-storefront-subchip-rail::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.web-storefront-subchip-rail::-webkit-scrollbar-thumb {
  display: none;
}

.web-storefront-chip-rail.is-pointer-down,
.web-storefront-subchip-rail.is-pointer-down,
.web-storefront-chip-rail.is-dragging,
.web-storefront-subchip-rail.is-dragging {
  cursor: grabbing;
}

.web-storefront-chip-rail.is-dragging .web-storefront-chip,
.web-storefront-subchip-rail.is-dragging .web-storefront-subchip {
  pointer-events: none;
}

.web-storefront-subchip {
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: color-mix(in srgb, var(--surface-muted) 82%, #fff 18%);
  color: var(--text-100);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.web-storefront-subchip.is-active {
  border-color: color-mix(in srgb, var(--primary-200) 48%, var(--surface-border) 52%);
  color: var(--text-100);
  background: color-mix(in srgb, var(--primary-300) 18%, var(--surface-card) 82%);
  box-shadow: none;
}

.web-storefront-subchip-breadcrumb-item {
  min-height: 30px;
  padding-inline: 10px;
}

.web-storefront-shell {
  gap: var(--store-shell-gap);
}

.web-storefront-page .web-advanced-mobile-filters-toggle {
  display: none !important;
}

.web-storefront-page .web-advanced-sidebar {
  border: var(--store-border);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-card) 96%, #fff 4%), color-mix(in srgb, var(--bg-100) 92%, #fff 8%));
  box-shadow:
    0 12px 26px color-mix(in srgb, var(--text-100) 5%, transparent 95%),
    0 1px 0 color-mix(in srgb, var(--surface-border) 28%, transparent 72%) inset;
}

.web-storefront-page .web-advanced-sidebar-content {
  padding: 12px;
  gap: 12px;
}

.web-storefront-page .web-advanced-price-panel,
.web-storefront-page .web-advanced-attributes-panel,
.web-storefront-page .web-advanced-attribute-group {
  background: var(--surface-muted);
  border-color: var(--surface-border);
}

.web-storefront-page .web-advanced-price-panel,
.web-storefront-page .web-advanced-attributes-panel {
  padding: 10px;
}

.web-storefront-filter-note {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--surface-border);
  background: color-mix(in srgb, var(--primary-300) 12%, var(--surface-card) 88%);
}

.web-storefront-filter-note .web-storefront-inline-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface-card) 76%, #fff 24%);
  color: var(--text-100);
}

.web-storefront-filter-note strong {
  display: block;
  margin: 0 0 4px;
  color: var(--text-100);
  font-size: 13px;
  line-height: 1.25;
}

.web-storefront-filter-note p {
  margin: 0;
  color: var(--text-200);
  font-size: 12px;
  line-height: 1.55;
}

.web-storefront-page .web-advanced-field-switch {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  border-radius: 16px;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid var(--surface-border);
  background: var(--surface-card);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.web-storefront-page .web-advanced-field-switch:focus-within {
  border-color: color-mix(in srgb, var(--primary-200) 44%, var(--surface-border) 56%);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-300) 16%, transparent 84%);
}

.web-storefront-page .web-advanced-field-switch input {
  appearance: none;
  -webkit-appearance: none;
  width: 36px;
  height: 22px;
  margin: 0;
  min-width: 36px;
  min-height: 22px;
  box-sizing: border-box;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--bg-300) 82%, #fff 18%);
  background: color-mix(in srgb, var(--bg-300) 78%, #fff 22%);
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.web-storefront-page .web-advanced-field-switch input::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(7, 26, 54, 0.22);
  transition: transform 0.22s ease;
}

.web-storefront-page .web-advanced-field-switch input:checked {
  border-color: color-mix(in srgb, var(--primary-100) 64%, transparent 36%);
  background: var(--primary-100);
}

.web-storefront-page .web-advanced-field-switch input:checked::before {
  transform: translateX(14px);
}

.web-storefront-page .web-advanced-field-switch span {
  font-size: 13px;
  color: var(--text-100);
  font-weight: 700;
  line-height: 1.35;
}

@supports selector(.web-advanced-field-switch:has(input:checked)) {
  .web-storefront-page .web-advanced-field-switch:has(input:checked) {
    border-color: color-mix(in srgb, var(--primary-200) 42%, var(--surface-border) 58%);
    background: color-mix(in srgb, var(--primary-300) 14%, var(--surface-card) 86%);
  }
}

.web-storefront-page .web-advanced-attribute-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.web-storefront-page .web-advanced-attribute-option {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 12px 14px 12px 50px;
  border-radius: 16px;
  cursor: pointer;
  border: 1px solid var(--surface-border);
  background: color-mix(in srgb, var(--surface-card) 96%, #fff 4%);
  overflow: hidden;
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--surface-border) 24%, transparent 76%) inset,
    0 8px 20px color-mix(in srgb, var(--text-100) 4%, transparent 96%);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.web-storefront-page .web-advanced-attribute-option::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--surface-border) 68%, #fff 32%);
  background: color-mix(in srgb, var(--surface-muted) 88%, #fff 12%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 4px 10px color-mix(in srgb, var(--text-100) 4%, transparent 96%);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  transform: translateY(-50%);
}

.web-storefront-page .web-advanced-attribute-option::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  transform: translateY(-50%) scale(0);
  transition: transform 0.16s ease;
  z-index: 1;
}

.web-storefront-page .web-advanced-attribute-option.is-wide {
  grid-column: span 2;
}

.web-storefront-page .web-advanced-attribute-option.is-full {
  grid-column: 1 / -1;
}

.web-storefront-page .web-advanced-attribute-option:hover {
  transform: none;
  border-color: color-mix(in srgb, var(--primary-200) 42%, var(--bg-300) 58%);
  background: color-mix(in srgb, var(--surface-card) 90%, var(--primary-300) 10%);
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--surface-border) 24%, transparent 76%) inset,
    0 12px 26px color-mix(in srgb, var(--text-100) 6%, transparent 94%);
}

.web-storefront-page .web-advanced-attribute-option:focus-within {
  border-color: color-mix(in srgb, var(--primary-200) 44%, var(--surface-border) 56%);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-300) 16%, transparent 84%);
}

.web-storefront-page .web-advanced-attribute-option input {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.web-storefront-page .web-advanced-attribute-option input:checked {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.web-storefront-page .web-advanced-attribute-option input:checked + span {
  color: var(--text-100);
  font-weight: 800;
}

.web-storefront-page .web-advanced-attribute-option.is-selected {
  border-color: color-mix(in srgb, var(--primary-200) 44%, var(--surface-border) 56%);
  background: color-mix(in srgb, var(--primary-300) 16%, var(--surface-card) 84%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--primary-200) 16%, transparent 84%) inset,
    0 14px 28px color-mix(in srgb, var(--primary-100) 10%, transparent 90%);
}

.web-storefront-page .web-advanced-attribute-option.is-selected::before {
  border-color: color-mix(in srgb, var(--primary-100) 64%, transparent 36%);
  background: var(--primary-100);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--bg-100) 16%, transparent 84%),
    0 8px 16px color-mix(in srgb, var(--primary-100) 18%, transparent 82%);
}

.web-storefront-page .web-advanced-attribute-option.is-selected::after {
  transform: translateY(-50%) scale(1);
}

.web-storefront-page .web-advanced-attribute-option span {
  min-width: 0;
  display: block;
  max-width: 100%;
  position: relative;
  z-index: 1;
  line-height: 1.3;
  font-size: 13.75px;
  font-weight: 800;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

@supports selector(.web-advanced-attribute-option:has(input:checked)) {
  .web-storefront-page .web-advanced-attribute-option:has(input:checked) {
    border-color: color-mix(in srgb, var(--primary-200) 44%, var(--surface-border) 56%);
    background: color-mix(in srgb, var(--primary-300) 16%, var(--surface-card) 84%);
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--primary-200) 16%, transparent 84%) inset,
      0 14px 28px color-mix(in srgb, var(--primary-100) 10%, transparent 90%);
  }

  .web-storefront-page .web-advanced-attribute-option:has(input:checked)::before {
    border-color: color-mix(in srgb, var(--primary-100) 64%, transparent 36%);
    background: var(--primary-100);
    box-shadow:
      inset 0 1px 0 color-mix(in srgb, var(--bg-100) 16%, transparent 84%),
      0 8px 16px color-mix(in srgb, var(--primary-100) 18%, transparent 82%);
  }

  .web-storefront-page .web-advanced-attribute-option:has(input:checked)::after {
    transform: translateY(-50%) scale(1);
  }
}

.web-storefront-results-panel {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  min-height: 0;
}

.web-storefront-results-panel .web-advanced-results-head {
  position: sticky;
  top: 0;
  z-index: 22;
  display: grid;
  gap: 10px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface-card) 96%, #fff 4%);
  border: 1px solid var(--surface-border);
  padding: 10px;
  box-shadow:
    0 10px 24px color-mix(in srgb, var(--text-100) 4%, transparent 96%),
    0 1px 0 color-mix(in srgb, var(--surface-border) 28%, transparent 72%) inset;
}

.web-storefront-search-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.web-storefront-search-pill {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--surface-border) 76%, #fff 24%);
  background: color-mix(in srgb, var(--surface-card) 82%, #fff 18%);
  color: var(--text-100);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
}

.web-storefront-results-panel .web-advanced-query-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.web-storefront-results-panel .web-advanced-field-query input {
  min-height: 50px;
  border-radius: 18px;
  padding-inline: 15px;
  border-color: color-mix(in srgb, var(--surface-border) 88%, #fff 12%);
  background: var(--surface-card);
  box-shadow: none;
}

.web-storefront-results-panel .web-advanced-query-submit,
.web-storefront-results-panel .web-advanced-load-more {
  min-height: 50px;
  border-radius: 18px;
  font-weight: 800;
}

.web-storefront-results-panel .web-advanced-query-submit {
  min-width: 116px;
  padding: 0 18px;
  font-size: 13px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--primary-100) 64%, var(--surface-border) 36%);
  background: var(--primary-100);
  color: var(--bg-100);
  box-shadow: none;
}

.web-storefront-search-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.web-storefront-query-tool {
  border: 1px solid var(--surface-border);
  background: var(--surface-card);
  color: var(--text-100);
  min-height: 50px;
  border-radius: 18px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.web-storefront-toolbar-btn-icon,
.web-storefront-view-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--primary-300) 56%, var(--surface-border) 44%);
  background: color-mix(in srgb, var(--primary-300) 62%, #fff 38%);
  color: color-mix(in srgb, var(--primary-100) 78%, var(--text-100) 22%);
}

.web-storefront-toolbar-btn-icon svg,
.web-storefront-view-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.web-storefront-toolbar-btn-label {
  line-height: 1;
  font-size: 12.5px;
  font-weight: 800;
}

.web-storefront-query-tool:hover:not(:disabled) {
  transform: none;
  border-color: color-mix(in srgb, var(--primary-200) 44%, var(--bg-300) 56%);
  background: color-mix(in srgb, var(--surface-card) 88%, var(--primary-300) 12%);
}

.web-storefront-query-tool.is-busy {
  opacity: 0.65;
}

.web-storefront-query-tool.is-active {
  border-color: color-mix(in srgb, var(--primary-200) 48%, var(--surface-border) 52%);
  color: var(--text-100);
  background: color-mix(in srgb, var(--primary-300) 20%, var(--surface-card) 80%);
}

.web-storefront-results-panel .web-advanced-query-submit .web-storefront-toolbar-btn-icon {
  border-color: color-mix(in srgb, var(--bg-100) 18%, transparent 82%);
  background: color-mix(in srgb, var(--bg-100) 16%, transparent 84%);
  color: var(--bg-100);
}

.web-storefront-query-tool.is-photo-action .web-storefront-toolbar-btn-icon {
  background: color-mix(in srgb, var(--primary-300) 54%, #fff 46%);
}

.web-storefront-query-tool.is-ai-action .web-storefront-toolbar-btn-icon {
  background: color-mix(in srgb, var(--primary-300) 72%, #fff 28%);
}

.web-storefront-query-tool.is-active .web-storefront-toolbar-btn-icon,
.web-storefront-toolbar-filter-btn.is-active .web-storefront-toolbar-btn-icon {
  background: color-mix(in srgb, var(--primary-300) 82%, #fff 18%);
  color: color-mix(in srgb, var(--primary-100) 82%, var(--text-100) 18%);
}

.web-storefront-query-tool:disabled {
  cursor: wait;
}

.web-storefront-image-search-state {
  margin-top: 10px;
  border: 1px solid var(--surface-border);
  background: color-mix(in srgb, var(--surface-muted) 88%, #fff 12%);
  border-radius: 16px;
  min-height: 62px;
  padding: 7px 8px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.web-storefront-image-search-state[hidden] {
  display: none !important;
}

.web-storefront-image-search-thumb-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--bg-300) 72%, #fff 28%);
  background: var(--bg-200);
}

.web-storefront-image-search-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.web-storefront-image-search-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.web-storefront-image-search-copy strong {
  color: var(--text-100);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.web-storefront-image-search-copy small {
  color: var(--text-200);
  font-size: 11px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-storefront-image-search-clear {
  border: 1px solid var(--surface-border);
  background: var(--surface-card);
  color: var(--text-100);
  min-height: 34px;
  border-radius: 10px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.web-storefront-image-search-clear:hover {
  border-color: color-mix(in srgb, var(--primary-200) 48%, var(--bg-300) 52%);
}

.web-storefront-toolbar-filter-btn {
  border: 1px solid var(--surface-border);
  background: var(--surface-card);
  color: var(--text-100);
  min-height: 50px;
  border-radius: 18px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.web-storefront-toolbar-filter-btn:hover {
  transform: none;
  border-color: color-mix(in srgb, var(--primary-200) 44%, var(--bg-300) 56%);
  background: color-mix(in srgb, var(--surface-card) 84%, var(--surface-muted) 16%);
}

.web-storefront-toolbar-filter-btn.is-active {
  border-color: color-mix(in srgb, var(--primary-200) 48%, var(--surface-border) 52%);
  color: var(--text-100);
  background: color-mix(in srgb, var(--primary-300) 20%, var(--surface-card) 80%);
}

.web-storefront-results-panel .web-advanced-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  overflow: visible;
  background: color-mix(in srgb, var(--surface-muted) 88%, #fff 12%);
}

.web-storefront-results-panel .web-advanced-view-switch button {
  min-width: 54px;
  min-height: 50px;
  padding: 0 12px;
  border-radius: 14px;
  background: transparent;
  color: var(--text-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.web-storefront-view-label {
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1;
}

.web-storefront-results-panel .web-advanced-view-switch button.is-active {
  background: var(--surface-card);
  color: var(--text-100);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--surface-border) 26%, transparent 74%) inset;
}

.web-storefront-results-panel .web-advanced-view-switch button.is-active .web-storefront-view-icon {
  background: color-mix(in srgb, var(--primary-300) 82%, #fff 18%);
  color: color-mix(in srgb, var(--primary-100) 82%, var(--text-100) 18%);
}

.web-storefront-results-panel .web-advanced-results-grid {
  margin-top: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  justify-content: stretch;
  gap: clamp(8px, .72vw, 12px);
}

.web-storefront-results-panel .web-advanced-result-card {
  border-radius: 16px;
  border: 0;
  background: var(--surface-card);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--text-100) 5%, transparent);
  overflow: hidden;
  min-height: 0;
  height: 100%;
}

.web-storefront-results-panel .web-advanced-results-grid.is-list-view {
  grid-template-columns: 1fr;
  gap: 12px;
}

.web-storefront-results-panel .web-advanced-results-grid.is-list-view .web-advanced-result-card {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 0;
  border-radius: 20px;
}

.web-storefront-results-panel .web-advanced-results-grid.is-list-view .web-advanced-skeleton-card {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 0;
  border-radius: 20px;
}

.web-storefront-results-panel .web-advanced-results-grid.is-list-view .web-advanced-result-thumb-wrap {
  margin: 0;
  height: auto;
  min-height: 196px;
  aspect-ratio: auto;
  border-radius: 0;
}

.web-storefront-results-panel .web-advanced-results-grid.is-list-view .web-advanced-result-body {
  padding: 10px 12px 12px;
  align-content: start;
  gap: 8px;
}

.web-storefront-results-panel .web-advanced-results-grid.is-list-view .web-advanced-skeleton-content {
  padding: 10px 12px 12px;
}

.web-storefront-results-panel .web-advanced-results-grid.is-list-view .web-advanced-result-title {
  min-height: 0;
}

.web-storefront-results-panel .web-advanced-results-grid.is-list-view .web-advanced-result-meta {
  min-height: 0;
}

.web-storefront-results-panel .web-advanced-results-grid.is-list-view .web-advanced-skeleton-thumb {
  height: 100%;
  min-height: 196px;
  aspect-ratio: auto;
}

.web-storefront-results-panel .web-advanced-result-card:hover {
  background: color-mix(in srgb, var(--surface-card) 96%, var(--primary-300) 4%);
  box-shadow: 0 3px 10px color-mix(in srgb, var(--text-100) 7%, transparent);
}

.web-storefront-results-panel .web-advanced-result-thumb-wrap {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  margin: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface-muted) 68%, var(--surface-card) 32%);
}

.web-storefront-results-panel .web-advanced-result-thumb-backdrop {
  display: none;
}

.web-storefront-results-panel .web-advanced-result-thumb-wrap::after {
  display: none;
}

.web-storefront-results-panel .web-advanced-result-thumb {
  position: relative;
  z-index: 2;
  border-radius: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.web-storefront-results-panel .web-advanced-result-body {
  padding: 0 .08rem .05rem;
  gap: 7px;
}

.web-storefront-results-panel .web-advanced-result-meta {
  min-height: 1.35em;
}

.web-storefront-results-panel .web-advanced-result-title {
  font-size: 13.5px;
  line-height: 1.28;
  min-height: 2.56em;
  overflow-wrap: anywhere;
}

.web-storefront-results-panel .web-advanced-result-price-current {
  font-size: 16px;
  min-height: 24px;
}

.web-storefront-results-panel .web-advanced-result-price-current.is-unavailable {
  color: #a06400;
  font-size: 15.5px;
}

.web-storefront-results-panel .web-advanced-result-card:not(.is-media-loading) .web-advanced-result-condition-stack.is-empty,
.web-storefront-results-panel .web-advanced-result-card:not(.is-media-loading) .web-advanced-result-condition-note.is-empty,
.web-storefront-results-panel .web-advanced-result-card:not(.is-media-loading) .web-advanced-result-badges.is-empty,
.web-storefront-results-panel .web-advanced-result-card:not(.is-media-loading) .web-advanced-result-live.is-empty,
.web-storefront-results-panel .web-advanced-result-card:not(.is-media-loading) .web-advanced-result-swatches.is-empty {
  display: none;
}

.web-storefront-results-panel .web-advanced-load-more {
  border: 0;
  color: var(--bg-100);
  background: var(--primary-100);
}

.web-storefront-results-panel .web-advanced-load-more:hover {
  filter: saturate(1.07);
}

.web-storefront-results-panel .web-advanced-results-empty {
  border: 1px dashed color-mix(in srgb, var(--bg-300) 78%, #fff 22%);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-100) 96%, #fff 4%);
}

.web-storefront-results-panel .web-advanced-skeleton-card {
  border-radius: 20px;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.web-storefront-results-panel .web-advanced-skeleton-thumb {
  aspect-ratio: 1 / 1;
}

.web-storefront-results-panel .web-advanced-skeleton-content {
  padding: 0 .08rem .05rem;
}

.web-storefront-similar-btn {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 6;
  border: 0;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  background: color-mix(in srgb, var(--surface-card) 90%, var(--primary-300) 10%);
  color: var(--primary-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--text-100) 9%, transparent);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  flex: 0 0 auto;
}

.web-storefront-similar-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.web-storefront-similar-btn:focus-visible,
.web-storefront-similar-btn:hover {
  background: color-mix(in srgb, var(--primary-300) 20%, var(--surface-card) 80%);
  color: var(--primary-100);
  box-shadow: 0 3px 10px color-mix(in srgb, var(--primary-100) 13%, transparent);
  outline: none;
}

.web-storefront-results-panel .web-advanced-result-match-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary-100);
  box-shadow: none;
}

.web-storefront-results-panel .web-advanced-result-match-badge.is-exact {
  background: color-mix(in srgb, var(--success, #16a34a) 78%, #0f172a 22%);
}

.web-storefront-results-panel .web-advanced-result-match-badge + .web-advanced-result-status-badge {
  top: 48px;
}

.web-storefront-footer {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 2px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  box-shadow: none;
}

.web-storefront-footer article {
  display: grid;
  align-content: start;
  gap: 9px;
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-card) 92%, #fff 8%);
  padding: 13px;
  box-shadow:
    0 8px 18px color-mix(in srgb, var(--text-100) 4%, transparent 96%),
    0 1px 0 color-mix(in srgb, var(--surface-border) 24%, transparent 76%) inset;
}

.web-storefront-footer-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--primary-300) 18%, var(--surface-card) 82%);
  color: var(--text-100);
}

.web-storefront-footer-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.web-storefront-footer h3 {
  margin: 0;
  font-size: 14px;
  color: var(--text-100);
}

.web-storefront-footer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-200);
}

@media (min-width: 1041px) {
  .web-storefront-shell.is-filters-collapsed,
  #web-advanced-search-form.is-filters-collapsed {
    grid-template-columns: minmax(0, 1fr);
  }

  .web-storefront-shell.is-filters-collapsed #advanced-filters-sidebar,
  #web-advanced-search-form.is-filters-collapsed #advanced-filters-sidebar {
    display: none;
  }
}

@media (min-width: 761px) {
  .web-storefront-page.is-results-head-stuck .web-storefront-results-panel .web-advanced-results-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface-card) 96%, #fff 4%);
    box-shadow:
      0 10px 20px color-mix(in srgb, var(--text-100) 4%, transparent 96%),
      0 1px 0 color-mix(in srgb, var(--surface-border) 24%, transparent 76%) inset;
  }

  .web-storefront-page.is-results-head-stuck .web-storefront-results-panel .web-advanced-query-row {
    min-width: 0;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .web-storefront-page.is-results-head-stuck .web-storefront-results-panel .web-advanced-field-query input {
    min-height: 44px;
    border-radius: 14px;
    padding-inline: 13px;
  }

  .web-storefront-page.is-results-head-stuck .web-storefront-search-tools {
    gap: 6px;
  }

  .web-storefront-page.is-results-head-stuck .web-storefront-query-tool {
    min-height: 42px;
    min-width: 42px;
    border-radius: 13px;
    padding: 0 11px;
  }

  .web-storefront-page.is-results-head-stuck .web-storefront-query-tool .web-storefront-toolbar-btn-label {
    display: none;
  }

  .web-storefront-page.is-results-head-stuck .web-storefront-query-tool .web-storefront-toolbar-btn-icon,
  .web-storefront-page.is-results-head-stuck .web-storefront-toolbar-filter-btn .web-storefront-toolbar-btn-icon,
  .web-storefront-page.is-results-head-stuck .web-storefront-results-panel .web-advanced-query-submit .web-storefront-toolbar-btn-icon,
  .web-storefront-page.is-results-head-stuck .web-storefront-results-panel .web-advanced-view-switch .web-storefront-view-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }

  .web-storefront-page.is-results-head-stuck .web-storefront-query-tool .web-storefront-toolbar-btn-icon svg,
  .web-storefront-page.is-results-head-stuck .web-storefront-toolbar-filter-btn .web-storefront-toolbar-btn-icon svg,
  .web-storefront-page.is-results-head-stuck .web-storefront-results-panel .web-advanced-query-submit .web-storefront-toolbar-btn-icon svg,
  .web-storefront-page.is-results-head-stuck .web-storefront-results-panel .web-advanced-view-switch .web-storefront-view-icon svg {
    width: 16px;
    height: 16px;
  }

  .web-storefront-page.is-results-head-stuck .web-storefront-results-panel .web-advanced-query-submit {
    min-width: 92px;
    min-height: 42px;
    border-radius: 14px;
    padding: 0 14px;
    box-shadow: none;
  }

  .web-storefront-page.is-results-head-stuck .web-storefront-results-panel .web-storefront-image-search-state,
  .web-storefront-page.is-results-head-stuck .web-storefront-results-panel .web-advanced-toolbar p,
  .web-storefront-page.is-results-head-stuck .web-storefront-results-panel .web-advanced-view-switch {
    display: none !important;
  }

  .web-storefront-page.is-results-head-stuck .web-storefront-results-panel .web-advanced-toolbar {
    margin-top: 0;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
  }

  .web-storefront-page.is-results-head-stuck .web-storefront-results-panel .web-advanced-toolbar-actions {
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
  }

  .web-storefront-page.is-results-head-stuck .web-storefront-results-panel .web-advanced-field-sort {
    min-width: 180px;
  }

  .web-storefront-page.is-results-head-stuck .web-storefront-results-panel .web-advanced-field-sort .web-advanced-select-face {
    min-height: 42px;
    border-radius: 13px;
  }

  .web-storefront-page.is-results-head-stuck .web-storefront-results-panel .web-advanced-field-sort .web-advanced-select-leading {
    width: 24px;
    height: 24px;
    border-radius: 8px;
  }

  .web-storefront-page.is-results-head-stuck .web-storefront-toolbar-filter-btn {
    min-height: 42px;
    border-radius: 13px;
    padding: 0 12px;
  }
}

@media (max-width: 1200px) {
  .web-storefront-results-panel .web-advanced-results-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .web-storefront-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  #contnet.main,
  main.main {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .web-storefront-page {
    gap: 12px;
    padding: 8px 10px 16px;
  }

  .web-storefront-results-panel .web-advanced-results-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .web-storefront-hero,
  .web-storefront-categories {
    border-radius: 18px;
  }

  .web-storefront-hero {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .web-storefront-hero-panel {
    padding: 16px;
  }

  .web-storefront-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .web-storefront-section-badges {
    justify-content: flex-start;
  }

  .web-storefront-chip {
    min-height: 44px;
    padding: 7px 11px;
  }

  .web-storefront-chip-icon {
    width: 30px;
    height: 30px;
    border-radius: 11px;
  }

  .web-storefront-page .web-advanced-sidebar {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-height: min(88vh, 860px);
    border-radius: 24px 24px 0 0;
    transform: translateY(105%);
    box-shadow: 0 -24px 56px color-mix(in srgb, var(--text-100) 16%, transparent 84%);
  }

  .web-storefront-page.is-filters-open .web-advanced-sidebar {
    transform: translateY(0);
  }

  .web-storefront-page .web-advanced-sidebar-head {
    position: sticky;
    top: 0;
    z-index: 2;
    padding-top: 18px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface-card) 96%, #fff 4%), color-mix(in srgb, var(--surface-card) 94%, #fff 6%));
    backdrop-filter: blur(16px);
  }

  .web-storefront-page .web-advanced-sidebar-head::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 54px;
    height: 5px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface-border) 82%, #fff 18%);
    transform: translateX(-50%);
  }

  .web-storefront-page .web-advanced-sidebar-content {
    padding: 14px 12px;
  }

  .web-storefront-page .web-advanced-actions {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface-card) 96%, #fff 4%), color-mix(in srgb, var(--surface-card) 94%, #fff 6%));
  }
}

@media (max-width: 760px) {
  .web-storefront-page {
    --store-shell-gap: 8px;
    padding: 4px 6px 12px;
  }

  .web-storefront-page .web-advanced-field-switch {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 48px;
    padding: 9px 11px;
  }

  .web-storefront-page .web-advanced-field-switch span {
    font-size: 12.5px;
  }

  .web-storefront-page .web-advanced-attribute-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .web-storefront-page .web-advanced-attribute-option {
    min-height: 54px;
    padding: 11px 12px 11px 46px;
    border-radius: 16px;
  }

  .web-storefront-hero-copy h1 {
    font-size: 1.62rem;
  }

  .web-storefront-hero-copy {
    gap: 14px;
  }

  .web-storefront-hero-inline {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .web-storefront-hero-actions,
  .web-storefront-hero-live {
    display: grid;
    grid-template-columns: 1fr;
  }

  .web-storefront-hero-metrics {
    grid-template-columns: 1fr;
  }

  .web-storefront-hero-highlights article {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 11px;
  }

  .web-storefront-hero-highlights article .web-storefront-inline-icon,
  .web-storefront-filter-note .web-storefront-inline-icon {
    width: 32px;
    height: 32px;
    border-radius: 11px;
  }

  .web-storefront-categories {
    padding: 10px;
    border-radius: 18px;
    gap: 10px;
  }

  .web-storefront-chip-rail {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: minmax(54px, auto);
    grid-auto-columns: max-content;
    gap: 9px;
    align-items: center;
    padding: 2px 2px 6px;
    scroll-snap-type: x mandatory;
  }

  .web-storefront-chip {
    width: auto;
    max-width: none;
    min-height: 54px;
    padding: 7px 12px;
    flex-direction: row;
    justify-content: center;
    gap: 9px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.15;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
  }

  .web-storefront-chip > span:last-child {
    display: block;
    white-space: nowrap;
    min-height: 0;
    max-width: 16ch;
    text-overflow: ellipsis;
  }

  .web-storefront-category-sheet {
    padding: 0;
  }

  .web-storefront-category-sheet-panel {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 0;
    border: 0;
  }

  .web-storefront-category-sheet-head {
    min-height: 58px;
    padding: 0 10px;
  }

  .web-storefront-category-sheet-body {
    grid-template-columns: 122px minmax(0, 1fr);
  }

  .web-storefront-category-sheet-root {
    min-height: 58px;
    padding: 8px 10px 8px 14px;
    font-size: 12px;
  }

  .web-storefront-category-sheet-main {
    padding: 18px 14px;
  }

  .web-storefront-category-sheet-title {
    font-size: 1.08rem;
    margin-bottom: 14px;
  }

  .web-storefront-category-sheet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 10px;
  }

  .web-storefront-category-sheet-tile {
    font-size: 11px;
  }

  .web-storefront-category-sheet-tile-icon {
    width: 62px;
    height: 62px;
  }

  .web-storefront-chip-icon {
    width: 32px;
    height: 32px;
    border-radius: 12px;
  }

  .web-storefront-subchip {
    min-height: 32px;
    font-size: 11px;
    padding: 0 10px;
  }

  .web-storefront-results-panel .web-advanced-results-grid {
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .web-storefront-results-panel .web-advanced-results-grid.is-list-view .web-advanced-result-card,
  .web-storefront-results-panel .web-advanced-results-grid.is-list-view .web-advanced-skeleton-card {
    grid-template-columns: 1fr;
  }

  .web-storefront-results-panel .web-advanced-results-grid.is-list-view .web-advanced-result-thumb-wrap {
    margin: 0;
    min-height: 0;
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .web-storefront-results-panel .web-advanced-results-grid.is-list-view .web-advanced-result-body {
    padding: 10px 11px 12px;
  }

  .web-storefront-results-panel .web-advanced-results-grid.is-list-view .web-advanced-skeleton-content {
    padding: 10px 11px 12px;
  }

  .web-storefront-results-panel .web-advanced-results-grid.is-list-view .web-advanced-skeleton-thumb {
    min-height: 0;
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .web-storefront-results-panel .web-advanced-query-row {
    display: block !important;
  }

  .web-storefront-results-panel .web-advanced-field-query,
  .web-storefront-results-panel .web-advanced-query-submit {
    display: none !important;
  }

  .web-storefront-search-tools {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .web-storefront-query-tool {
    min-height: 42px;
    padding: 0 10px;
  }

  .web-storefront-image-search-state {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    padding: 7px 8px;
  }

  .web-storefront-image-search-thumb-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .web-storefront-image-search-copy strong {
    font-size: 11px;
  }

  .web-storefront-image-search-copy small {
    font-size: 10px;
  }

  .web-storefront-toolbar-filter-btn {
    min-height: 42px;
  }

  .web-storefront-results-panel .web-advanced-view-switch {
    display: none !important;
  }

  .web-storefront-results-panel .web-advanced-results-head {
    gap: 8px;
  }

  .web-storefront-results-panel .web-advanced-toolbar {
    align-items: stretch;
  }

  .web-storefront-results-panel .web-advanced-toolbar p {
    display: none;
  }

  .web-storefront-results-panel .web-advanced-toolbar-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .web-storefront-results-panel .web-advanced-field-sort {
    min-width: 0;
  }

  .web-storefront-results-panel .web-advanced-field-sort .web-advanced-select-face {
    width: 100%;
  }

  .web-storefront-results-panel .web-advanced-field-sort .web-advanced-select-leading {
    width: 24px;
    height: 24px;
    border-radius: 8px;
  }

  .web-storefront-similar-btn {
    right: 7px;
    bottom: 7px;
    width: 32px;
    height: 32px;
    min-height: 32px;
  }

  .web-storefront-results-panel .web-advanced-result-match-badge {
    top: 14px;
    left: 14px;
    min-height: 22px;
    padding: 0 9px;
  }

  .web-storefront-similar-btn svg {
    width: 16px;
    height: 16px;
  }

  .web-storefront-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .web-storefront-page {
    --store-shell-gap: 8px;
    padding: 2px 4px 12px;
  }

  .web-storefront-page .web-advanced-field-switch {
    min-height: 46px;
    padding: 8px 10px;
  }

  .web-storefront-page .web-advanced-field-switch input {
    width: 34px;
    height: 20px;
    min-width: 34px;
    min-height: 20px;
  }

  .web-storefront-page .web-advanced-field-switch input::before {
    width: 16px;
    height: 16px;
  }

  .web-storefront-page .web-advanced-field-switch input:checked::before {
    transform: translateX(14px);
  }

  .web-storefront-page .web-advanced-attribute-option {
    min-height: 52px;
    padding: 10px 11px 10px 44px;
  }

  .web-storefront-page .web-advanced-attribute-option::before {
    left: 12px;
    width: 19px;
    height: 19px;
    border-radius: 7px;
  }

  .web-storefront-page .web-advanced-attribute-option::after {
    left: 12px;
    width: 19px;
    height: 19px;
    font-size: 11px;
  }

  .web-storefront-page .web-advanced-attribute-option span {
    font-size: 12.75px;
  }

  .web-storefront-hero {
    padding: 12px;
    border-radius: 14px;
  }

  .web-storefront-hero-kicker {
    min-height: 30px;
    padding: 0 12px;
  }

  .web-storefront-hero-btn {
    min-height: 42px;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 12px;
  }

  .web-storefront-hero-live-pill,
  .web-storefront-hero-route {
    padding: 11px 12px;
    border-radius: 14px;
  }

  .web-storefront-hero-route code {
    font-size: 11px;
  }

  .web-storefront-categories {
    padding: 8px;
    border-radius: 14px;
    gap: 8px;
  }

  .web-storefront-chip-rail {
    grid-template-rows: minmax(50px, auto);
    grid-auto-columns: max-content;
    gap: 8px;
  }

  .web-storefront-chip {
    min-height: 50px;
    padding: 7px 10px;
    gap: 6px;
    font-size: 11px;
  }

  .web-storefront-chip-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .web-storefront-chip-icon svg {
    width: 18px;
    height: 18px;
  }

  .web-storefront-chip-icon img {
    padding: 3px;
  }

  .web-storefront-subchip {
    min-height: 30px;
    font-size: 10px;
    padding: 0 9px;
  }

  .web-storefront-results-panel .web-advanced-results-head {
    padding: 8px;
    border-radius: 18px;
  }

  .web-storefront-results-panel .web-advanced-query-row {
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  .web-storefront-results-panel .web-advanced-field-query input {
    min-height: 46px;
    border-radius: 15px;
    padding-inline: 12px;
  }

  .web-storefront-search-pill {
    min-height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  .web-storefront-results-panel .web-advanced-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .web-storefront-results-panel .web-advanced-result-body {
    padding: 0 .08rem .05rem;
    gap: 6px;
  }

  .web-storefront-results-panel .web-advanced-result-price-current {
    font-size: 16px;
  }

  .web-storefront-results-panel .web-advanced-result-title {
    font-size: 12.5px;
    min-height: 2.5em;
  }

  .web-storefront-results-panel .web-advanced-skeleton-content {
    padding: 0 .08rem .05rem;
  }

  .web-storefront-search-tools {
    gap: 6px;
  }

  .web-storefront-query-tool {
    min-height: 40px;
    padding: 0 8px;
  }

  .web-storefront-query-tool .web-storefront-toolbar-btn-label {
    font-size: 10.5px;
  }

  .web-storefront-toolbar-btn-icon,
  .web-storefront-view-icon {
    width: 24px;
    height: 24px;
    border-radius: 10px;
  }

  .web-storefront-toolbar-btn-icon svg,
  .web-storefront-view-icon svg {
    width: 15px;
    height: 15px;
  }

  .web-storefront-toolbar-filter-btn {
    min-height: 42px;
    font-size: 11.5px;
    padding: 0 12px;
  }

  .web-storefront-footer {
    padding: 2px 0 0;
    gap: 10px;
  }

  .web-storefront-footer article {
    padding: 12px;
    border-radius: 14px;
  }
}

@media (max-width: 430px) {
  .web-storefront-chip-rail {
    grid-template-rows: minmax(48px, auto);
    grid-auto-columns: max-content;
    gap: 7px;
  }

  .web-storefront-chip {
    min-height: 48px;
  }

  .web-storefront-results-panel .web-advanced-query-row {
    grid-template-columns: 1fr;
  }

  .web-storefront-search-tools,
  .web-storefront-results-panel .web-advanced-query-submit {
    grid-column: 1;
  }

  .web-storefront-results-panel .web-advanced-query-submit {
    width: 100%;
  }

  .web-storefront-results-panel .web-advanced-query-submit .web-storefront-toolbar-btn-label {
    display: inline;
  }

  .web-storefront-results-panel .web-advanced-results-grid {
    grid-template-columns: 1fr;
  }

  .web-storefront-results-panel .web-advanced-field-query input {
    min-height: 44px;
    font-size: 13px;
  }

  .web-storefront-query-tool {
    min-height: 38px;
  }

  .web-storefront-image-search-state {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 7px;
    padding: 6px;
  }

  .web-storefront-image-search-thumb-wrap {
    width: 40px;
    height: 40px;
    border-radius: 9px;
  }

  .web-storefront-image-search-clear {
    min-height: 30px;
    padding: 0 8px;
    font-size: 11px;
  }
}

@media (max-width: 260px) {
  .web-storefront-categories {
    padding: 6px;
  }

  .web-storefront-chip-rail {
    grid-template-rows: minmax(44px, auto);
    grid-auto-columns: max-content;
    gap: 6px;
  }

  .web-storefront-chip {
    min-height: 44px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 10px;
    gap: 5px;
  }

  .web-storefront-chip-icon {
    width: 24px;
    height: 24px;
  }

  .web-storefront-subchip {
    min-height: 28px;
    font-size: 9px;
    padding: 0 8px;
  }

  .web-storefront-results-panel .web-advanced-results-head {
    padding: 7px;
  }

  .web-storefront-page .web-advanced-attribute-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 220px) {
  .web-storefront-page {
    padding: 6px !important;
    gap: 8px;
  }

  .web-storefront-hero,
  .web-storefront-categories,
  .web-storefront-results-panel .web-advanced-results-head {
    border-radius: 10px;
    padding: 7px;
  }

  .web-storefront-chip-rail,
  .web-storefront-subchip-rail {
    gap: 6px;
  }

  .web-storefront-chip,
  .web-storefront-subchip,
  .web-storefront-query-tool,
  .web-storefront-toolbar-filter-btn {
    min-width: 0;
    width: auto;
    padding-inline: 8px;
    font-size: 10px;
  }

  .web-storefront-chip-rail {
    grid-template-rows: minmax(42px, auto);
    grid-auto-columns: max-content;
  }

  .web-storefront-chip {
    width: auto;
    min-height: 42px;
    padding: 5px 7px;
  }

  .web-storefront-chip-icon {
    width: 22px;
    height: 22px;
  }

  .web-storefront-results-panel .web-advanced-results-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .web-storefront-results-panel .web-advanced-result-card,
  .web-storefront-results-panel .web-advanced-skeleton-card {
    min-width: 0;
    width: 100%;
  }

  .web-storefront-results-panel .web-advanced-result-title,
  .web-storefront-results-panel .web-advanced-result-meta {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 170px) {
  .web-storefront-chip-icon {
    width: 18px;
    height: 18px;
  }

  .web-storefront-chip {
    gap: 4px;
    min-height: 38px;
  }

  .web-storefront-query-tool {
    min-height: 34px;
  }

  .web-storefront-image-search-state {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .web-storefront-image-search-clear {
    grid-column: 1 / -1;
    width: 100%;
  }
}
