:root {
  color-scheme: light;
  --ink: #1f2222;
  --muted: #747a78;
  --line: #e5e8e7;
  --surface: #f5f7f6;
  --paper: #ffffff;
  --accent: #5c9b9d;
  --accent-dark: #477f81;
  --danger: #b42318;
  --success: #24704a;
  --shadow: 0 20px 55px rgb(20 30 28 / 14%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.locked {
  overflow: hidden;
}

button,
input,
select {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

svg {
  display: block;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  width: min(100%, 1440px);
  height: 100%;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
}

.desktop-nav a,
.desktop-nav button {
  padding: 10px 0;
  background: transparent;
  cursor: pointer;
}

.desktop-nav a:hover,
.desktop-nav button:hover {
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-actions-left [data-open-menu] {
  display: none;
}

.icon-button {
  position: relative;
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.icon-button:hover {
  background: var(--surface);
}

.icon-button svg,
.catalog-search svg,
.filter-icon-button svg,
.mobile-nav svg,
.input-with-icon svg,
.favorite-button svg,
.quantity-button svg,
.remove-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.count-badge {
  position: absolute;
  top: 1px;
  right: 0;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 4px;
  border: 2px solid var(--paper);
  border-radius: 9px;
  color: var(--paper);
  background: var(--ink);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.catalog-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 24px 28px 80px;
}

.catalog-search-row {
  position: sticky;
  top: 88px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 620px) 50px;
  gap: 10px;
  margin-bottom: 32px;
  pointer-events: none;
}

.catalog-search,
.filter-icon-button {
  height: 50px;
  border: 1px solid #d3d8d6;
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 8px 28px rgb(20 30 28 / 5%);
  pointer-events: auto;
  backdrop-filter: blur(12px);
}

.catalog-search {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  align-items: center;
  border-radius: 8px;
}

.catalog-search:focus-within {
  border-color: var(--ink);
}

.catalog-search button {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.catalog-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
}

.catalog-search input::placeholder {
  color: #959a98;
}

.filter-icon-button {
  position: relative;
  display: grid;
  width: 50px;
  place-items: center;
  border-radius: 8px;
  cursor: pointer;
}

.filter-icon-button:hover {
  border-color: var(--ink);
}

.filter-icon-button [data-active-filter-count] {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  border: 2px solid var(--paper);
  border-radius: 10px;
  color: var(--paper);
  background: var(--accent-dark);
  font-size: 10px;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 58px 22px;
}

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--paper);
}

.product-card:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.product-image-wrap {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1 / 0.93;
  place-items: center;
  overflow: hidden;
  background: var(--paper);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  padding: 8% 2% 3%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: scale(1);
  transition: transform 240ms ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.035);
}

.favorite-button {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #252928;
  background: rgb(255 255 255 / 84%);
  cursor: pointer;
}

.favorite-button:hover {
  background: var(--surface);
}

.favorite-button svg {
  width: 25px;
  height: 25px;
}

.favorite-button.active {
  color: var(--accent-dark);
}

.favorite-button.active svg {
  fill: currentColor;
}

.product-copy {
  min-width: 0;
}

.product-price {
  display: flex;
  min-height: 30px;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 7px;
}

.product-price strong {
  font-size: 22px;
  font-weight: 750;
  line-height: 1.15;
}

.product-price s {
  color: var(--muted);
  font-size: 13px;
}

.product-copy h2 {
  min-height: 48px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 430;
  line-height: 1.48;
}

.variant-section {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.variant-section > span {
  color: var(--ink);
  font-size: 13px;
}

.variant-swatches {
  display: flex;
  min-height: 42px;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.variant-swatch {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 0;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--swatch, #ddd);
  box-shadow: 0 0 0 1px #d7dcda;
  cursor: pointer;
}

.variant-swatch::after {
  position: absolute;
  inset: -5px;
  border: 2px solid transparent;
  border-radius: 50%;
  content: "";
}

.variant-swatch:hover::after,
.variant-swatch.active::after {
  border-color: var(--accent);
}

.product-stock {
  min-height: 18px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.product-stock.out {
  color: var(--danger);
}

.add-button {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--paper);
  background: var(--accent);
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

.add-button:hover {
  background: var(--accent-dark);
}

.add-button:disabled {
  color: #8b908e;
  background: #e2e5e4;
  cursor: not-allowed;
}

.empty-state {
  display: grid;
  min-height: 300px;
  grid-column: 1 / -1;
  place-items: center;
  padding: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.service-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-band > div {
  display: grid;
  min-height: 130px;
  align-content: center;
  justify-items: center;
  gap: 7px;
  padding: 24px;
  text-align: center;
}

.service-band > div + div {
  border-left: 1px solid var(--line);
}

.service-band strong {
  font-size: 15px;
}

.service-band span {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  border-bottom: 1px solid var(--line);
}

.site-footer > div {
  display: flex;
  width: min(100%, 1440px);
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 20px 28px;
  color: var(--muted);
  font-size: 13px;
}

.side-panel,
.cart-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  width: min(100%, 460px);
  flex-direction: column;
  padding: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
  visibility: hidden;
  transition: transform 240ms ease, visibility 240ms ease;
}

.menu-panel {
  left: 0;
  transform: translateX(-104%);
}

.filter-panel,
.cart-panel {
  right: 0;
  transform: translateX(104%);
}

.filter-panel {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.side-panel.open,
.cart-panel.open {
  transform: translateX(0);
  visibility: visible;
}

.panel-head {
  display: flex;
  min-height: 58px;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.panel-head > strong {
  align-self: center;
  font-size: 22px;
}

.panel-head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
}

.eyebrow {
  display: block;
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.menu-links {
  display: grid;
  border-top: 1px solid var(--line);
}

.menu-links a,
.menu-links button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: 17px;
  text-align: left;
  cursor: pointer;
}

.menu-note {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.filter-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-categories button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  font-size: 13px;
  cursor: pointer;
}

.filter-categories button.active {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.filter-colors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.color-filter {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

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

.color-filter.active {
  border-color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px var(--accent-dark);
}

.color-swatch {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--swatch, #ddd);
  box-shadow: 0 0 0 1px #cfd4d2;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea,
.input-with-icon {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  padding: 0 14px;
  outline: none;
}

.field textarea {
  min-height: 84px;
  padding-top: 12px;
  padding-bottom: 12px;
  resize: vertical;
  line-height: 1.4;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.input-with-icon:focus-within {
  border-color: var(--ink);
}

.input-with-icon {
  display: flex;
  align-items: center;
  padding: 0 14px;
}

.input-with-icon svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-right: 10px;
  color: var(--muted);
}

.input-with-icon input {
  min-height: 46px;
  padding: 0;
  border: 0;
}

.filter-group {
  min-width: 0;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.filter-group legend {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.filter-result {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.toggle-row {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 22px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.toggle-row span {
  display: grid;
  gap: 3px;
}

.toggle-row strong {
  font-size: 14px;
}

.toggle-row small {
  color: var(--muted);
  font-size: 12px;
}

.toggle-row input {
  position: relative;
  width: 46px;
  height: 26px;
  margin: 0;
  appearance: none;
  border-radius: 13px;
  background: #d5d9d7;
  cursor: pointer;
}

.toggle-row input::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  content: "";
  transition: transform 180ms ease;
}

.toggle-row input:checked {
  background: var(--accent-dark);
}

.toggle-row input:checked::after {
  transform: translateX(20px);
}

.primary-button {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.primary-button:hover {
  background: #3b403e;
}

.primary-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.text-button {
  min-height: 44px;
  margin-top: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  cursor: pointer;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgb(24 28 27 / 34%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.scrim.show {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  width: min(100%, 520px);
  padding-right: 0;
  padding-bottom: 0;
}

.cart-panel-head {
  padding-right: 26px;
}

.cart-scroll {
  min-height: 0;
  padding-right: 26px;
  padding-bottom: 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cart-list {
  border-top: 1px solid var(--line);
}

.cart-line {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 84px;
  height: 84px;
  border-radius: 7px;
  object-fit: contain;
  background: var(--surface);
  mix-blend-mode: multiply;
}

.cart-line-copy {
  min-width: 0;
}

.cart-line-copy strong {
  display: block;
  margin-bottom: 5px;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.35;
}

.cart-line-copy > span {
  color: var(--muted);
  font-size: 12px;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 10px;
}

.quantity-button,
.remove-button {
  display: grid;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.quantity-button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.quantity-button svg {
  width: 15px;
  height: 15px;
}

.quantity-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.quantity output {
  min-width: 28px;
  text-align: center;
  font-size: 13px;
}

.remove-button {
  width: 38px;
  height: 38px;
  color: var(--muted);
}

.remove-button svg {
  width: 18px;
  height: 18px;
}

.empty-cart {
  padding: 48px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.summary {
  display: grid;
  gap: 10px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.summary > div span {
  color: var(--muted);
}

.summary-total {
  padding-top: 8px;
  font-size: 17px !important;
}

.summary-total strong {
  font-size: 20px;
}

.checkout-form {
  padding-top: 26px;
}

.checkout-form h3 {
  margin: 0 0 22px;
  font-size: 18px;
  font-weight: 600;
}

.delivery-address-fields {
  margin: 2px 0 4px;
  padding: 18px 0 2px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.address-details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.address-map {
  width: 100%;
  height: 240px;
  margin: -4px 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-status {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--success);
  font-size: 12px;
  line-height: 1.45;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 80;
  max-width: calc(100% - 32px);
  padding: 11px 16px;
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mobile-nav {
  display: none;
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 64px;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .site-header {
    height: 62px;
  }

  .header-inner {
    grid-template-columns: 1fr auto 1fr;
    gap: 6px;
    padding: 0 8px;
  }

  .header-actions-left [data-open-menu] {
    display: inline-grid;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions-right {
    justify-content: flex-end;
  }

  .icon-button {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .icon-button svg {
    width: 21px;
    height: 21px;
  }

  .brand {
    font-size: 17px;
    text-align: center;
  }

  .favorite-header {
    display: none;
  }

  .catalog-shell {
    padding: 12px 10px 38px;
  }

  .catalog-search-row {
    top: 70px;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 8px;
    margin-bottom: 20px;
  }

  .catalog-search,
  .filter-icon-button {
    height: 48px;
  }

  .catalog-search {
    grid-template-columns: 44px minmax(0, 1fr) 40px;
  }

  .catalog-search input {
    font-size: 14px;
  }

  .filter-icon-button {
    width: 48px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px 14px;
  }

  .product-image-wrap {
    aspect-ratio: 1 / 1.08;
  }

  .product-image-wrap img {
    padding: 8% 0 2%;
  }

  .product-card:hover .product-image-wrap img {
    transform: none;
  }

  .favorite-button {
    top: 0;
    right: 0;
    width: 38px;
    height: 38px;
  }

  .favorite-button svg {
    width: 23px;
    height: 23px;
  }

  .product-price {
    min-height: 25px;
    margin-bottom: 6px;
  }

  .product-price strong {
    font-size: 18px;
  }

  .product-price s {
    display: none;
  }

  .product-copy h2 {
    min-height: 59px;
    font-size: 14px;
    line-height: 1.42;
  }

  .variant-section {
    gap: 6px;
    margin-top: 8px;
  }

  .variant-section > span {
    font-size: 12px;
  }

  .variant-swatches {
    min-height: 67px;
    align-content: flex-start;
    gap: 8px;
  }

  .variant-swatch {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .add-button {
    min-height: 44px;
    margin-top: 12px;
    padding: 0 8px;
    font-size: 13px;
  }

  .product-stock {
    min-height: 16px;
    margin-top: 6px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .service-band {
    grid-template-columns: 1fr;
  }

  .service-band > div {
    min-height: 92px;
  }

  .service-band > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer > div {
    min-height: 72px;
    gap: 14px;
    padding: 18px 14px;
    font-size: 12px;
  }

  .side-panel,
  .cart-panel {
    width: 100%;
    padding: 18px 16px;
    box-shadow: none;
  }

  .cart-panel {
    padding-right: 0;
    padding-bottom: 0;
  }

  .cart-panel-head,
  .cart-scroll {
    padding-right: 16px;
  }

  .panel-head {
    min-height: 50px;
    margin-bottom: 22px;
  }

  .panel-head h2 {
    font-size: 24px;
  }

  .cart-line {
    grid-template-columns: 70px minmax(0, 1fr) 34px;
    gap: 10px;
  }

  .cart-line img {
    width: 70px;
    height: 70px;
  }

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

  .mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    height: calc(66px + env(safe-area-inset-bottom));
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 5px 2px env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgb(255 255 255 / 98%);
    box-shadow: 0 -8px 22px rgb(24 24 24 / 4%);
  }

  .mobile-nav button {
    position: relative;
    display: grid;
    min-width: 0;
    align-content: center;
    justify-items: center;
    gap: 3px;
    padding: 0 2px;
    color: #858a88;
    background: transparent;
    font-size: 9px;
    cursor: pointer;
  }

  .mobile-nav button.active {
    color: var(--accent-dark);
  }

  .mobile-nav svg {
    width: 22px;
    height: 22px;
  }

  .mobile-nav span:last-child {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-icon-wrap {
    position: relative;
  }

  .mobile-nav .count-badge {
    top: -8px;
    right: -10px;
  }

  .toast {
    bottom: calc(82px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  .product-grid {
    column-gap: 10px;
  }

  .product-price strong {
    font-size: 17px;
  }

  .product-copy h2 {
    min-height: 56px;
    font-size: 13px;
  }
}

@media (max-width: 359px) {
  .header-inner {
    padding-right: 5px;
    padding-left: 5px;
  }

  .header-actions {
    gap: 0;
  }

  .catalog-shell {
    padding-right: 7px;
    padding-left: 7px;
  }

  .product-grid {
    column-gap: 8px;
  }

  .product-price strong {
    font-size: 16px;
  }

  .product-copy h2 {
    font-size: 12px;
  }

  .variant-swatch {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .add-button {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
