:root {
  color-scheme: light;
  --forest: #0b3d2c;
  --forest-dark: #072b20;
  --green: #087a4b;
  --green-soft: #dfece5;
  --mint: #edf3ef;
  --ink: #111715;
  --muted: #626d68;
  --line: #dde3df;
  --white: #ffffff;
  --fog: #f5f6f5;
  --warm: #f3f0e9;
  --cool: #edf2f4;
  --sale: #c83d2f;
  --shadow-soft: 0 14px 34px rgba(16, 35, 27, 0.08);
  --shadow-dialog: 0 34px 100px rgba(5, 24, 16, 0.28);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(8, 122, 75, 0.24);
  outline-offset: 3px;
}

img {
  display: block;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 4px;
  background: var(--white);
  color: var(--forest);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.store-note {
  min-height: 34px;
  display: flex;
  align-items: center;
  background: var(--forest-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.store-note-inner,
.header-inner,
.category-tabs,
.hero-inner,
.hero-stats,
.section-inner,
.footer-inner {
  width: min(1360px, calc(100% - 56px));
  margin-inline: auto;
}

.store-note-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.store-note a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.store-note a:hover {
  text-decoration: underline;
}

.store-note svg {
  width: 14px;
  height: 14px;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(221, 227, 223, 0.9);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: var(--forest);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(6, 61, 43, 0.16);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 15px;
  font-weight: 760;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.primary-nav a {
  color: #39443f;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a:hover {
  color: var(--green);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-field {
  width: 270px;
  height: 42px;
  display: grid;
  grid-template-columns: 18px 1fr 30px;
  align-items: center;
  gap: 9px;
  padding: 0 7px 0 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f0f3f1;
  color: #73807a;
}

.search-field:focus-within {
  border-color: #a4beb0;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(8, 122, 75, 0.09);
}

.search-field svg {
  width: 18px;
}

.search-field input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.search-field input::placeholder {
  color: #7b8781;
}

.icon-button,
.favorites-button {
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.icon-button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.icon-button:hover {
  background: rgba(17, 23, 21, 0.06);
}

.favorites-button {
  grid-template-columns: 20px auto;
  gap: 6px;
  min-width: 54px;
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.favorites-button svg {
  width: 19px;
}

.favorites-button:hover,
.favorites-button.active {
  border-color: #a4beb0;
  background: var(--mint);
  color: var(--green);
}

.category-tabs {
  height: 45px;
  display: flex;
  align-items: stretch;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5a6660;
  cursor: pointer;
  font-size: 12px;
  font-weight: 680;
}

.category-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--green);
  transition: transform 170ms ease;
}

.category-tab:hover,
.category-tab.active {
  color: var(--forest);
}

.category-tab.active::after {
  transform: scaleX(1);
}

.category-tab svg {
  width: 15px;
  height: 15px;
}

.hero {
  background: var(--mint);
  border-bottom: 1px solid #d9e4dd;
}

.hero-inner {
  min-height: 535px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: 64px;
  padding-block: 54px 36px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 630px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: 62px;
  font-weight: 720;
  line-height: 1.02;
  letter-spacing: 0;
}

#page-description {
  max-width: 560px;
  margin: 22px 0 0;
  color: #52605a;
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}

.primary-action,
.secondary-button,
.offer-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.primary-action:hover,
.secondary-button:hover,
.offer-button:hover {
  transform: translateY(-1px);
  border-color: var(--forest-dark);
  background: var(--forest-dark);
}

.primary-action svg,
.offer-button svg {
  width: 17px;
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-action:hover {
  text-decoration: underline;
}

.text-action svg {
  width: 16px;
}

.hero-product {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(370px, 1fr) auto;
  color: var(--ink);
  text-decoration: none;
}

.hero-media {
  min-width: 0;
  height: 390px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 260ms ease;
}

.hero-product:hover .hero-media img {
  transform: scale(1.025);
}

.hero-product-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 6px 20px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(11, 61, 44, 0.18);
}

.hero-product-copy > span:first-child {
  grid-column: 1 / -1;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-product-copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 16px;
  line-height: 1.35;
}

.hero-product-copy > span:last-child {
  color: var(--forest);
  font-size: 22px;
  font-weight: 760;
  white-space: nowrap;
}

.hero-stats {
  min-height: 78px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(11, 61, 44, 0.14);
}

.hero-stats > div {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 34px;
  border-left: 1px solid rgba(11, 61, 44, 0.14);
  color: #53605a;
  font-size: 12px;
}

.hero-stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stats strong {
  color: var(--forest);
  font-size: 24px;
}

.hero-stats svg {
  width: 16px;
  color: var(--green);
}

.featured-section,
.catalog-section {
  scroll-margin-top: 124px;
}

.featured-section {
  padding: 76px 0 86px;
  background: var(--white);
}

.section-heading,
.catalog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

h2 {
  max-width: 780px;
  margin: 0;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

.source-note {
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
}

.featured-card {
  min-width: 0;
  min-height: 470px;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mint);
  color: var(--ink);
  text-decoration: none;
}

.featured-card:nth-child(2) {
  background: var(--warm);
}

.featured-card:nth-child(3) {
  background: var(--cool);
}

.featured-copy {
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px 28px 0;
}

.featured-eyebrow {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.featured-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 23px;
  line-height: 1.16;
}

.featured-card:first-child .featured-copy h3 {
  max-width: 510px;
  font-size: 30px;
}

.featured-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.featured-price {
  color: var(--forest);
  font-size: 20px;
  font-weight: 760;
}

.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-size: 12px;
  font-weight: 720;
}

.featured-cta svg {
  width: 14px;
}

.featured-media {
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 14px 24px 26px;
}

.featured-media img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 230ms ease;
}

.featured-card:hover .featured-media img {
  transform: scale(1.035);
}

.catalog-section {
  padding: 76px 0 92px;
  border-top: 1px solid var(--line);
  background: var(--fog);
}

.catalog-toolbar {
  margin-bottom: 14px;
}

.sort-control {
  display: grid;
  grid-template-columns: auto minmax(164px, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.sort-control select {
  height: 42px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  outline: 0;
  background: var(--white);
  color: var(--ink);
}

.niche-section {
  scroll-margin-top: 124px;
  padding: 48px 0 58px;
  border-top: 1px solid var(--line);
}

.niche-section:first-child {
  border-top: 0;
}

.niche-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 22px;
}

.niche-header h3 {
  margin: 0 0 7px;
  font-size: 27px;
  line-height: 1.15;
}

.niche-header p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.niche-count {
  color: var(--muted);
  font-size: 12px;
}

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

.product-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 270px 1fr;
  overflow: hidden;
  border: 1px solid #e2e6e3;
  border-radius: 8px;
  background: var(--white);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #c9d4cd;
  box-shadow: var(--shadow-soft);
}

.product-media {
  position: relative;
  overflow: hidden;
  background: #f7f8f7;
}

.product-preview {
  width: 100%;
  height: 100%;
  padding: 22px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 210ms ease;
}

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

.favorite-toggle {
  position: absolute;
  z-index: 3;
  top: 13px;
  right: 13px;
  border: 1px solid rgba(205, 214, 209, 0.9);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
}

.favorite-toggle.active {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.discount-badge {
  position: absolute;
  left: 13px;
  bottom: 13px;
  padding: 5px 7px;
  border-radius: 4px;
  background: var(--sale);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
}

.product-body {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(44px, auto) minmax(38px, auto) 1fr auto;
  gap: 10px;
  padding: 18px;
}

.product-tags {
  min-height: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-tag {
  padding: 3px 0;
  color: var(--green);
  font-size: 10px;
  font-weight: 760;
}

.product-tag + .product-tag::before {
  content: "\00b7";
  margin-right: 6px;
  color: #98a49e;
}

.product-tag.rank {
  color: var(--forest);
}

.product-title {
  width: 100%;
  display: -webkit-box;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.38;
}

.product-title:hover {
  color: var(--green);
}

.product-description {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  line-height: 1.5;
}

.price-block {
  align-self: end;
  display: grid;
  min-height: 50px;
}

.old-price {
  min-height: 17px;
  color: #8a958f;
  font-size: 11px;
  text-decoration: line-through;
}

.current-price {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.15;
}

.offer-button {
  width: 100%;
}

.loading-state,
.empty-state {
  min-height: 430px;
}

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

.loading-grid span {
  height: 410px;
  border-radius: 8px;
  background: #e9ecea;
  animation: loading 900ms ease-in-out infinite alternate;
}

.loading-grid span:nth-child(2),
.loading-grid span:nth-child(4) {
  animation-delay: 180ms;
}

@keyframes loading {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

.empty-state {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--muted);
  text-align: center;
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

.site-footer {
  background: var(--forest-dark);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  min-height: 190px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.2fr) auto;
  align-items: center;
  gap: 44px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-logo {
  background: var(--white);
  box-shadow: none;
}

.footer-brand strong {
  color: var(--white);
  font-size: 14px;
}

.footer-brand p,
.footer-notes p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-link svg {
  width: 16px;
}

.product-dialog {
  width: min(940px, calc(100% - 32px));
  max-height: min(780px, calc(100vh - 32px));
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow-dialog);
}

.product-dialog::backdrop {
  background: rgba(7, 22, 16, 0.64);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: sticky;
  z-index: 3;
  top: 14px;
  float: right;
  margin: 14px 14px -48px 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
}

.dialog-media {
  min-height: 570px;
  display: grid;
  place-items: center;
  padding: 42px;
  background: var(--fog);
}

.dialog-media img {
  width: 100%;
  max-height: 510px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.dialog-copy {
  display: grid;
  align-content: start;
  gap: 19px;
  padding: 54px 42px 42px;
}

.dialog-copy h2,
.dialog-copy p {
  margin: 0;
}

.dialog-copy h2 {
  padding-right: 26px;
  font-size: 29px;
  line-height: 1.18;
}

.dialog-description {
  color: var(--muted);
  line-height: 1.55;
}

.dialog-price {
  font-size: 34px;
}

.facts-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 0 0 20px;
  border-top: 1px solid var(--line);
  color: #4d5953;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .header-inner {
    gap: 22px;
  }

  .primary-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(410px, 1.1fr);
    gap: 36px;
  }

  h1 {
    font-size: 52px;
  }

  .featured-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .featured-card:last-child {
    display: none;
  }

  .product-grid,
  .loading-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .loading-grid span:last-child {
    display: none;
  }
}

@media (max-width: 820px) {
  .store-note-inner,
  .header-inner,
  .category-tabs,
  .hero-inner,
  .hero-stats,
  .section-inner,
  .footer-inner {
    width: min(100% - 32px, 720px);
  }

  .header-inner {
    min-height: auto;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-block: 12px;
  }

  .header-tools {
    display: contents;
  }

  .search-field {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .favorites-button {
    grid-column: 2;
    grid-row: 1;
  }

  .category-tabs {
    gap: 24px;
  }

  .hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 48px 28px;
  }

  .hero-copy {
    max-width: 660px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-product {
    grid-template-rows: 330px auto;
  }

  .hero-media {
    height: 330px;
  }

  .hero-stats {
    min-height: 72px;
  }

  .hero-stats > div {
    padding-inline: 20px;
  }

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

  .loading-grid span:nth-child(n + 3) {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding-block: 42px;
  }

  .footer-link {
    grid-column: 1 / -1;
  }

  .dialog-layout {
    grid-template-columns: 1fr;
  }

  .dialog-media {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .store-note {
    min-height: 30px;
  }

  .store-note-inner,
  .header-inner,
  .category-tabs,
  .hero-inner,
  .hero-stats,
  .section-inner,
  .footer-inner {
    width: calc(100% - 24px);
  }

  .store-note-inner > span {
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .store-note a {
    font-size: 0;
  }

  .store-note a svg {
    width: 15px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .category-tabs {
    height: 43px;
    gap: 22px;
  }

  .hero-inner {
    gap: 16px;
    padding-block: 30px 20px;
  }

  h1 {
    font-size: 40px;
    line-height: 1.05;
  }

  #page-description {
    margin-top: 17px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    gap: 12px;
    margin-top: 20px;
  }

  .primary-action {
    width: 100%;
  }

  .text-action {
    justify-content: center;
  }

  .hero-product {
    grid-template-rows: 190px;
  }

  .hero-media {
    height: 190px;
  }

  .hero-product-copy {
    display: none;
  }

  .hero-stats {
    display: none;
  }

  .featured-section,
  .catalog-section {
    padding-block: 42px 66px;
  }

  .section-heading,
  .catalog-toolbar {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  h2 {
    font-size: 31px;
  }

  .source-note {
    display: none;
  }

  .featured-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .featured-grid::-webkit-scrollbar {
    display: none;
  }

  .featured-card,
  .featured-card:last-child {
    min-width: min(86vw, 360px);
    min-height: 430px;
    display: grid;
    scroll-snap-align: start;
  }

  .featured-card:first-child .featured-copy h3,
  .featured-copy h3 {
    font-size: 22px;
  }

  .featured-copy {
    padding: 24px 22px 0;
  }

  .sort-control {
    width: 100%;
    grid-template-columns: auto 1fr;
  }

  .sort-control select {
    width: 100%;
  }

  .niche-section {
    padding-block: 42px 48px;
  }

  .niche-header {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .niche-header h3 {
    font-size: 24px;
  }

  .niche-count {
    display: none;
  }

  .product-grid {
    gap: 10px;
  }

  .product-card {
    grid-template-rows: 185px 1fr;
  }

  .product-preview {
    padding: 15px;
  }

  .product-body {
    grid-template-rows: auto minmax(52px, auto) 1fr auto;
    gap: 8px;
    padding: 12px;
  }

  .product-title {
    -webkit-line-clamp: 3;
    font-size: 13px;
    line-height: 1.32;
  }

  .product-description {
    display: none;
  }

  .current-price {
    font-size: 19px;
  }

  .offer-button {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-link {
    grid-column: auto;
  }

  .product-dialog {
    width: calc(100% - 18px);
    max-height: calc(100vh - 18px);
  }

  .dialog-media {
    min-height: 300px;
    padding: 28px;
  }

  .dialog-copy {
    padding: 30px 22px 28px;
  }

  .dialog-copy h2 {
    font-size: 25px;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 35px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-rows: 260px 1fr;
  }
}

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