:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #5d5d5d;
  --green: #17653a;
  --deep: #163522;
  --mint: #edf5ee;
  --lime: #c4ef68;
  --paper: #f4f4f4;
  --white: #fff;
  --border: #dedede;
  --radius: 4px;
  --masthead: #12cc54;
  --blue: #006d9f;
  --price: #ba221b;
  --header-offset: 78px;
  font:
    16px/1.45 Arial,
    Helvetica,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 300px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 800;
}
h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.018em;
}
h3 {
  font-size: 1.05rem;
}
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}

.wrap {
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
}
.icon {
  width: 21px;
  height: 21px;
  flex: none;
  vertical-align: middle;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: absolute;
  z-index: 9;
  top: 8px;
  left: 12px;
  background: #fff;
  padding: 10px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--green);
  padding: 9px 17px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}
.btn:hover {
  background: #0d4e31;
}
.btn.secondary {
  border-color: var(--border);
  background: var(--mint);
  color: var(--green);
}
.btn.secondary:hover {
  background: #d9eee0;
}

.icon-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.icon-button:hover {
  background: var(--mint);
  color: var(--green);
}
.icon-button .icon {
  width: 19px;
  height: 19px;
}
.favorite.saved {
  color: #a42a40;
  border-color: #efd1d9;
}
.favorite.saved .icon {
  fill: #fbe0e6;
}

.text-link {
  color: var(--green);
  font-weight: 800;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.muted {
  color: var(--muted);
}
.danger {
  color: #a12731;
}
.eyebrow {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
}
.old-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.8rem;
}
.stock {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
}
.stock::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 0.1em;
}
.stock.unavailable {
  color: #8f3741;
}
.discount {
  border-radius: 2px;
  padding: 2px 5px;
  background: #fceee9;
  color: var(--price);
  font-size: 0.73rem;
  font-weight: 800;
}

/* Store navigation */

#header {
  position: sticky;
  z-index: 8;
  top: 0;
  background: var(--masthead);
}
.masthead {
  display: grid;
  min-height: 65px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(15px, 2.6vw, 44px);
}
.logo {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 6px;
  color: #12271c;
  font-size: 1.88rem;
  font-weight: 800;
  letter-spacing: -0.068em;
  line-height: 1;
}
.logo span span {
  color: #06582f;
}
.logo img {
  flex: none;
}
.search {
  display: flex;
  min-width: 0;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  background: #f7f7f7;
  padding-left: 11px;
  color: #626262;
}
.search input {
  width: 100%;
  min-width: 0;
  padding: 5px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.85rem;
}
.search:focus-within {
  box-shadow: 0 0 0 2px #0b6735;
}
.search .icon {
  width: 16px;
  height: 16px;
}
.search .btn {
  align-self: stretch;
  flex: none;
  min-height: 32px;
  padding: 4px 12px;
  border: 0;
  border-left: 1px solid var(--border);
  border-radius: 0 4px 4px 0;
  background: #f1f7fb;
  color: var(--blue);
  font-size: 0.75rem;
}
.search .btn:hover {
  background: #e5f1f8;
}

.quicklinks {
  display: flex;
  align-items: center;
  gap: clamp(7px, 1.05vw, 17px);
}
.quicklinks a {
  position: relative;
  display: grid;
  min-width: 44px;
  justify-items: center;
  align-content: center;
  gap: 2px;
  color: #0c2417;
  font-size: 0.67rem;
  font-weight: 600;
}
.quicklinks a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quicklinks .icon {
  width: 22px;
  height: 22px;
}
.count {
  position: absolute;
  top: -5px;
  left: calc(50% + 5px);
  display: inline-grid;
  min-width: 16px;
  height: 16px;
  place-items: center;
  padding-inline: 3px;
  border: 1px solid var(--white);
  border-radius: 20px;
  background: #f6ff96;
  color: var(--deep);
  font-size: 0.63rem;
  line-height: 1;
}

.nav-bar {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.nav {
  display: flex;
  min-height: 44px;
  align-items: stretch;
  gap: clamp(12px, 2.8vw, 41px);
  font-size: 0.8rem;
}
.all-categories {
  position: relative;
  z-index: 4;
  flex: none;
}
.all-categories summary {
  display: flex;
  min-height: 100%;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  white-space: nowrap;
}
.all-categories summary:hover {
  background: #005a85;
}
.all-categories summary:focus-visible {
  outline-offset: -3px;
  outline-color: white;
}
.all-categories summary::-webkit-details-marker {
  display: none;
}
.all-categories summary .icon:last-child {
  width: 15px;
  height: 15px;
}
.all-categories[open] summary .icon:last-child {
  rotate: 180deg;
}
.menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: min(275px, calc(100vw - 28px));
  max-height: 70vh;
  overflow: auto;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 5px 10px #0002;
}
.menu-panel a {
  display: grid;
  min-height: 38px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 6px 11px;
}
.menu-panel a + a {
  border-top: 1px solid #ededed;
}
.menu-panel a:hover {
  background: #f0f7fb;
  color: var(--blue);
}
.menu-panel a .icon:last-child {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.nav-links {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(15px, 2.65vw, 37px);
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar {
  display: none;
}
.nav-links a {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  white-space: nowrap;
}
.nav-links .icon {
  width: 17px;
  height: 17px;
  color: #3a3a3a;
}
.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nav-links a:focus-visible {
  outline-offset: -2px;
}
.nav-links .sale-nav,
.nav-links .sale-nav .icon {
  color: var(--price);
}

/* Home promotions and product sections */

.homepage {
  background: var(--white);
}
.home-band {
  padding-block: 24px 33px;
  border-top: 8px solid var(--paper);
}
.home-band:last-child {
  padding-bottom: 38px;
}
.campaign-stage {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  padding-block: 27px 44px;
}
.campaign-shelf {
  min-width: 0;
  padding-top: 6px;
}
.campaign-shelf .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.campaign-shelf[data-products="2"] .product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.campaign-shelf[data-products="3"] .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.campaign-shelf .card {
  border: 0;
  border-radius: 0;
  padding-inline: 1px;
}
.campaign-shelf .card:focus-within {
  outline: 1px solid #a1cadb;
}
.campaign-shelf .card-top {
  top: 2px;
  left: 1px;
  right: 1px;
}
.campaign-shelf .favorite {
  border: 0;
  background: var(--white);
}
.campaign-shelf .card-image {
  height: 155px;
  padding: 11px 4px 4px;
}
.campaign-shelf .card-image img {
  max-width: 156px;
}
.campaign-shelf .card-body {
  padding: 6px 0 4px;
}
.campaign-shelf .eyebrow {
  display: none;
}
.campaign-shelf .card-name {
  display: -webkit-box;
  min-height: 34px;
  margin: 2px 0 17px;
  overflow: hidden;
  font-size: 0.8rem;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.campaign-shelf .card-buy strong {
  font-size: clamp(1rem, 2.05vw, 1.72rem);
  letter-spacing: -0.026em;
}
.card-sale .card-buy strong {
  color: var(--price);
}
.campaign-shelf .card-add {
  border: 0;
  background: transparent;
  color: var(--blue);
}
.campaign-shelf .card-add:hover {
  background: #e8f3f9;
}

.campaign-spotlight {
  --promo-surface: #a5ea41;
  --promo-inset: #c7f779;
  --promo-ink: #12331b;
  position: relative;
  isolation: isolate;
  display: grid;
  min-width: 0;
  min-height: 375px;
  grid-template-rows: auto minmax(110px, 1fr) auto;
  align-items: start;
  justify-items: start;
  gap: 7px;
  overflow: hidden;
  background: var(--promo-surface);
  padding: 21px 21px 17px;
  color: var(--promo-ink);
}
.campaign-home {
  --promo-surface: #49afe5;
  --promo-inset: #91d3f1;
  --promo-ink: #082b3d;
}
.campaign-work {
  --promo-surface: #f5cf57;
  --promo-inset: #fae898;
  --promo-ink: #372708;
}
.campaign-av {
  --promo-surface: #49cdbb;
  --promo-inset: #96e7dc;
  --promo-ink: #0c382f;
}
.campaign-banner-copy {
  display: grid;
  gap: 6px;
}
.campaign-banner-copy h2 {
  max-width: 13ch;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.046em;
  line-height: 0.99;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}
.campaign-banner-copy > span {
  justify-self: start;
  border: 1px solid currentColor;
  background: var(--white);
  padding: 0 7px;
  font-size: 0.91rem;
  font-weight: 700;
}
.campaign-banner-copy > span strong {
  color: var(--price);
  font-size: 1.28rem;
}
.campaign-banner-products {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  height: clamp(120px, 14vw, 166px);
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  align-items: center;
  background: var(--promo-surface);
  padding: 5px 3px;
}
.campaign-banner-products::before {
  position: absolute;
  z-index: -1;
  inset: 10px 1px 9px;
  background: var(--promo-inset);
  clip-path: polygon(6% 8%, 96% 0, 100% 88%, 0 100%);
  content: "";
}
.campaign-banner-products img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.campaign-cta {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 5px;
  background: var(--white);
  padding: 4px 10px;
  color: var(--promo-ink);
  font-size: 0.8rem;
  font-weight: 700;
}
.campaign-sale .campaign-cta {
  background: var(--price);
  color: var(--white);
}
.campaign-spotlight:hover .campaign-cta {
  text-decoration: underline;
}
.campaign-cta .icon {
  width: 15px;
  height: 15px;
}

.campaign-controls {
  border-block: 1px solid #e2e2e2;
  background: #f1f1f1;
}
.campaign-controls-inner {
  display: grid;
  min-height: 42px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
}
.campaign-controls button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #3b3b3b;
}
.campaign-controls-inner > button {
  width: 38px;
  color: var(--blue);
}
.campaign-controls-inner > button:hover,
.campaign-tabs button:hover {
  background: #e6e6e6;
}
.campaign-controls .icon {
  width: 19px;
  height: 19px;
}
.campaign-controls-inner > button:first-child .icon {
  rotate: 180deg;
}
.campaign-controls button:focus-visible {
  outline-offset: -3px;
}
.campaign-tabs {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
}
.campaign-tabs button {
  position: relative;
  min-width: 0;
  border-top: 3px solid transparent;
  padding: 4px 8px 7px;
  font-size: 0.75rem;
}
.campaign-tabs button[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--white);
  color: #1e1e1e;
  font-weight: 700;
}

.shopping-links {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  padding-block: 35px 30px;
}
.shopping-links a {
  display: grid;
  min-width: 0;
  justify-items: center;
  align-content: start;
  gap: 8px;
  text-align: center;
  font-size: 0.82rem;
}
.shopping-links a span {
  display: grid;
  width: clamp(57px, 7vw, 83px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #0788bd;
  color: white;
}
.shopping-links a:first-child span {
  background: #07963f;
}
.shopping-links a:nth-child(4) span {
  background: #07729f;
}
.shopping-links a:nth-child(6) span {
  background: #e7f7af;
  color: #1d4a28;
}
.shopping-links a:nth-child(7) span {
  background: #f1f1f1;
  color: #454545;
}
.shopping-links a:hover strong {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.shopping-links .icon {
  width: 54%;
  height: 54%;
  stroke-width: 1.7;
}

.home-section {
  margin-top: 30px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-heading a {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 3px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}
.section-heading a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.section-heading a .icon {
  width: 16px;
  height: 16px;
}
.category-grid,
.brand-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.category-grid a {
  display: grid;
  min-width: 0;
  justify-items: center;
  align-content: start;
  gap: 7px;
  padding: 5px 4px;
  text-align: center;
  font-size: 0.88rem;
}
.category-grid a:hover,
.brand-grid a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.category-visual {
  display: grid;
  width: 100%;
  height: 115px;
  place-items: center;
}
.category-visual img {
  width: min(100%, 120px);
  height: 100px;
  object-fit: contain;
}
.category-visual .icon {
  color: var(--green);
  width: 30px;
  height: 30px;
}
.category-overview .section-heading h1 {
  margin-bottom: 0;
}
.category-overview .category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.category-overview .category-grid a {
  font-size: 0.94rem;
}
.category-overview .category-visual {
  height: clamp(95px, 16vw, 162px);
}
.category-overview .category-visual img {
  width: 72%;
  height: 80%;
}
.category-overview small {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.card {
  position: relative;
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.card:hover {
  border-color: #a9c9b3;
}
.card-top {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  left: 10px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  pointer-events: none;
}
.card-top .favorite {
  margin-left: auto;
  pointer-events: auto;
  width: 34px;
  height: 34px;
}
.card-image {
  display: grid;
  height: 172px;
  place-items: center;
  padding: 21px 18px 8px;
}
.card-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 13px;
}
.card-name {
  font-weight: 800;
  overflow-wrap: anywhere;
}
.card-name:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card-body .card-name {
  margin: 4px 0 10px;
  font-size: 0.86rem;
  line-height: 1.35;
}
.card-buy {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 5px;
  margin-top: auto;
}
.card-buy strong {
  display: block;
  white-space: nowrap;
  color: var(--deep);
  font-size: clamp(1.05rem, 1.5vw, 1.39rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.card-buy .old-price {
  display: block;
  min-height: 17px;
  line-height: 1.15;
}
.card-add {
  width: 35px;
  height: 35px;
  border-color: transparent;
  background: var(--mint);
  color: var(--green);
}
.card-add:hover {
  background: var(--green);
  color: var(--white);
}
.card-body .stock {
  margin-top: 7px;
}

.brand-grid {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}
.brand-grid a {
  display: grid;
  min-height: 52px;
  place-items: center;
  color: #252525;
  font-size: 1.15rem;
  font-weight: 800;
}
.brand-grid a:nth-child(3n) {
  color: #0a5190;
}

/* Shared interior pages */

.inner-page {
  min-height: min(62vh, 650px);
  padding: 18px 0 53px;
}
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}
.crumb a:hover {
  color: var(--green);
  text-decoration: underline;
}
.crumb .icon {
  width: 12px;
  height: 12px;
}
.crumb span {
  overflow-wrap: anywhere;
}
.panel {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.form-panel {
  padding: clamp(15px, 3vw, 26px);
}
.form-panel h2 {
  margin-bottom: 13px;
  font-size: 1.25rem;
}
.form-panel.narrow {
  max-width: 620px;
}
input:not([type="checkbox"], [type="radio"]),
select {
  min-width: 0;
}
.form-panel input:not([type="checkbox"], [type="radio"]),
.form-panel select,
.facet-panel input:not([type="checkbox"]),
.facet-panel select,
.result-toolbar select {
  min-height: 40px;
  border: 1px solid #bfcfc3;
  border-radius: 8px;
  background: var(--white);
  padding: 6px 10px;
  color: var(--ink);
  font-size: 0.87rem;
}
.empty {
  display: grid;
  min-height: 240px;
  align-content: center;
  justify-items: center;
  gap: 9px;
  padding: 22px 13px;
  text-align: center;
}
.empty > .icon {
  width: 38px;
  height: 38px;
  color: var(--green);
}
.empty > p {
  max-width: 43ch;
  color: var(--muted);
  font-size: 0.88rem;
}
.empty .btn {
  margin-top: 7px;
}
.loading {
  padding: 40px 0;
}

#admin-login {
  display: grid;
  justify-items: start;
  gap: 10px;
}
#admin-login label,
.admin-update label {
  display: grid;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 800;
}
#admin-content .panel {
  margin-top: 18px;
}
.admin-update {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-top: 12px;
}
.admin-update strong {
  width: 100%;
}
.admin-update input {
  width: 125px;
}
.admin-order + .admin-order {
  margin-top: 15px;
  border-top: 1px solid var(--border);
  padding-top: 15px;
}
.admin-order code {
  overflow-wrap: anywhere;
}

#toast {
  position: fixed;
  z-index: 5;
  right: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  transform: translateY(8px);
  border-radius: 10px;
  background: var(--deep);
  padding: 12px 16px;
  color: var(--white);
  box-shadow: 0 6px 18px #102b2233;
  font-size: 0.83rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}
#toast.visible {
  transform: none;
  opacity: 1;
}

/* Footer and responsive shell */

#footer {
  border-top: 1px solid var(--border);
  background: #f1f1f1;
  color: var(--ink);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.9fr 0.7fr;
  gap: 20px;
  padding-block: 30px 25px;
}
.footer-brand p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}
.footer-inner nav {
  display: grid;
  align-content: start;
  gap: 6px;
}
.footer-inner nav h2 {
  margin-bottom: 3px;
  font-size: 0.89rem;
  letter-spacing: 0;
}
.footer-inner nav a,
.footer-end {
  color: #454545;
  font-size: 0.78rem;
}
.footer-inner nav a:hover,
.footer-end a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.footer-catalog > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}
.footer-end {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #d5d5d5;
  padding-block: 12px 14px;
}
.footer-end .icon {
  width: 17px;
  height: 17px;
  margin-right: 2px;
}

@media (hover: hover) {
  .campaign-shelf .favorite:not(.saved) {
    opacity: 0;
  }
  .campaign-shelf .card:hover .favorite,
  .campaign-shelf .card:focus-within .favorite {
    opacity: 1;
  }
}
@media (max-width: 1080px) {
  .nav {
    gap: 15px;
  }
  .nav-links {
    justify-content: flex-start;
    gap: clamp(11px, 2.4vw, 23px);
  }
  .campaign-stage {
    grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr);
    gap: 16px;
  }
  .campaign-shelf:is([data-products="3"], [data-products="4"]) .product-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(127px, 1fr);
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
  }
  .campaign-shelf .card {
    scroll-snap-align: start;
  }
  .campaign-shelf .card-image {
    height: 137px;
  }
  .campaign-spotlight {
    min-height: 318px;
    padding: 15px;
  }
}

@media (max-width: 820px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .masthead {
    gap: 12px;
  }
  .logo {
    font-size: 1.52rem;
  }
  .logo img {
    width: 32px;
    height: 32px;
  }
  .quicklinks {
    gap: 8px;
  }
  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 690px) {
  .campaign-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    padding-block: 13px 18px;
  }
  .campaign-spotlight {
    grid-row: 1;
    min-height: 199px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: 1fr auto;
    align-items: center;
    gap: 8px;
  }
  .campaign-banner-copy h2 {
    max-width: 11ch;
    font-size: clamp(1.44rem, 5.4vw, 2.4rem);
  }
  .campaign-banner-products {
    grid-area: 1 / 2 / 3 / 3;
    height: 100%;
    min-height: 125px;
  }
  .campaign-shelf {
    padding-top: 0;
  }
  .campaign-shelf .product-grid {
    gap: 9px;
  }
  .campaign-shelf .card-name {
    margin-bottom: 9px;
  }
  .campaign-shelf .card-buy strong {
    font-size: 1.26rem;
  }
  .shopping-links {
    padding-block: 21px 22px;
  }
}

@media (max-width: 570px) {
  :root {
    --header-offset: 99px;
  }
  .wrap {
    width: calc(100% - 24px);
  }
  .masthead {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    gap: 6px 4px;
    padding-block: 6px;
  }
  .masthead .search {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .quicklinks {
    gap: 5px;
  }
  .quicklinks a {
    min-width: 34px;
    font-size: 0.57rem;
  }
  .quicklinks .icon {
    width: 19px;
    height: 19px;
  }
  .nav {
    min-height: 40px;
    gap: 9px;
  }
  .nav-links {
    font-size: 0.72rem;
  }
  .nav-links .icon {
    width: 15px;
    height: 15px;
  }
  .nav .all-categories summary {
    gap: 4px;
    padding: 5px 7px;
    font-size: 0.72rem;
  }
  .nav .all-categories summary .icon {
    width: 15px;
    height: 15px;
  }
  .campaign-spotlight {
    padding: 11px;
  }
  .campaign-controls-inner > button {
    width: 24px;
  }
  .campaign-controls .icon {
    width: 15px;
    height: 15px;
  }
  .campaign-tabs button {
    padding-inline: 2px;
    font-size: 0.65rem;
    line-height: 1.2;
  }
  .shopping-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px 6px;
  }
  .shopping-links a {
    font-size: 0.7rem;
    line-height: 1.2;
  }
  .shopping-links a span {
    width: 48px;
  }
  .home-band {
    padding-block: 17px 21px;
  }
  .home-section {
    margin-top: 25px;
  }
  .section-heading {
    gap: 6px;
    margin-bottom: 10px;
  }
  .section-heading h2 {
    font-size: 1.2rem;
  }
  .section-heading a {
    font-size: 0.72rem;
  }
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px 6px;
  }
  .category-grid a {
    gap: 4px;
    font-size: 0.72rem;
  }
  .category-visual {
    height: 70px;
  }
  .category-visual img {
    width: min(100%, 82px);
    height: 60px;
  }
  .category-overview .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .card-top {
    top: 5px;
    right: 5px;
    left: 5px;
  }
  .card-image {
    height: 128px;
    padding: 16px 8px 3px;
  }
  .card-body {
    padding: 7px;
  }
  .card-body .card-name {
    font-size: 0.78rem;
  }
  .card-top .favorite,
  .card-add {
    width: 29px;
    height: 29px;
  }
  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .brand-grid a {
    min-height: 40px;
    font-size: 0.94rem;
  }
  .inner-page {
    padding-block: 12px 32px;
  }
  .footer-inner {
    gap: 18px 11px;
    padding-block: 21px;
  }
  .footer-catalog > div {
    grid-template-columns: 1fr;
  }
}

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