:root {
  --orange: #ff5a00;
  --orange-hover: #e84f00;
  --ink: #111111;
  --muted: #666a73;
  --line: #d9dadd;
  --surface: #ffffff;
  --section: #fbfbfb;
  --shadow: 0 7px 24px rgba(17, 24, 39, 0.08);
  --font: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, a { font: inherit; }

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

.featured-products {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 42px 24px 54px;
  background: #fff;
}

.featured-products__container {
  position: relative;
  z-index: 2;
  width: min(100%, 1364px);
  margin: 0 auto;
}
.featured-products__header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 100px;
}

.featured-products__heading-wrap { grid-column: 2; text-align: center; }

.featured-products__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.featured-products__eyebrow span {
  display: block;
  width: 3px;
  height: 24px;
  background: var(--orange);
}

.featured-products h2 {
  margin: 0;
  font-size: clamp(35px, 3vw, 51px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 800;
}

.featured-products__view-all {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #22242a;
  font-size: 16px;
  font-weight: 500;
  transition: color .18s ease;
}

.featured-products__view-all svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}

.featured-products__view-all:hover,
.featured-products__view-all:focus-visible { color: var(--orange); }
.featured-products__view-all:hover svg,
.featured-products__view-all:focus-visible svg { transform: translateX(3px); }

.product-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 25px 0 26px;
}

.product-filter {
  min-width: 82px;
  height: 44px;
  padding: 0 24px;
  border: 1px solid #e1e2e5;
  border-radius: 4px;
  color: #202228;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(0,0,0,.06);
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.product-filter:hover,
.product-filter:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
  outline: none;
}

.product-filter.is-active {
  border-color: var(--orange);
  color: #ffffff;
  background: var(--orange);
  box-shadow: 0 5px 15px rgba(255, 90, 0, .23);
}

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

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, opacity .2s ease;
}

.product-card:hover {
  z-index: 1;
  border-color: #c8c9cc;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-card[hidden] { display: none; }

.product-card__image-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ececec;
}

.product-card__image-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

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

.product-card__discount {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border-radius: 3px;
  color: #ffffff;
  background: var(--orange);
  box-shadow: 0 3px 9px rgba(0,0,0,.12);
  font-size: 14px;
  font-weight: 750;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 18px 18px;
}

.product-card h3 {
  min-height: 26px;
  margin: 0 0 14px;
  overflow: hidden;
  color: #17181c;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card h3 a { transition: color .18s ease; }
.product-card h3 a:hover,
.product-card h3 a:focus-visible { color: var(--orange); }

.product-card__pricing {
  display: flex;
  min-height: 32px;
  align-items: baseline;
  gap: 17px;
  margin-bottom: 16px;
}

.product-card__price {
  color: var(--orange);
  font-size: 21px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.product-card del {
  color: #757880;
  font-size: 14px;
  font-weight: 450;
  white-space: nowrap;
}

.product-card__cart {
  display: inline-flex;
  width: 100%;
  height: 47px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: auto;
  border: 1px solid var(--orange);
  border-radius: 3px;
  color: #ffffff;
  background: var(--orange);
  cursor: pointer;
  font-size: 16px;
  font-weight: 650;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.product-card__cart svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card__cart:hover,
.product-card__cart:focus-visible {
  border-color: var(--orange-hover);
  background: var(--orange-hover);
  outline: none;
}

.product-card__cart:active { transform: scale(.985); }

.product-card__cart.is-added {
  border-color: #18864b;
  background: #18864b;
}

.featured-products__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .featured-products { padding-inline: 28px; }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .featured-products { padding: 40px 20px 46px; }
  .featured-products__header {
    display: flex;
    min-height: auto;
    flex-direction: column;
    gap: 15px;
  }
  .featured-products__heading-wrap { grid-column: auto; }
  .featured-products__view-all {
    grid-column: auto;
    justify-self: auto;
    margin-top: 0;
  }
  .product-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 25px -20px 24px;
    padding: 0 20px 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .product-filters::-webkit-scrollbar { display: none; }
  .product-filter { flex: 0 0 auto; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
}

@media (max-width: 560px) {
  .featured-products { padding: 34px 14px 38px; }
  .featured-products__eyebrow { gap: 10px; font-size: 13px; }
  .featured-products__eyebrow span { width: 2px; height: 18px; }
  .featured-products h2 { font-size: 32px; }
  .featured-products__view-all { font-size: 14px; }
  .product-filters { margin-inline: -14px; padding-inline: 14px; }
  .product-filter { min-width: 72px; height: 40px; padding: 0 18px; font-size: 14px; }
  .products-grid { gap: 14px 10px; }
  .product-card__discount { top: 9px; left: 9px; min-height: 27px; padding: 0 8px; font-size: 11px; }
  .product-card__body { padding: 12px 11px 11px; }
  .product-card h3 { min-height: 22px; margin-bottom: 10px; font-size: 14px; }
  .product-card__pricing { min-height: 26px; flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 11px; }
  .product-card__price { font-size: 17px; }
  .product-card del { font-size: 12px; }
  .product-card__cart { height: 42px; gap: 7px; font-size: 13px; }
  .product-card__cart svg { width: 19px; height: 19px; }
}

@media (max-width: 360px) {
  .featured-products { padding-inline: 10px; }
  .products-grid { gap: 10px 7px; }
  .product-card__body { padding-inline: 8px; }
  .product-card__cart { font-size: 12px; }
}

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