.products_section {
  --products_blue: #2f6fed;
  --products_blue-dark: #1d4fbf;
  --products_text: #1a2233;
  --products_muted: #6b7280;
  --products_line: #e6e9ef;
  --products_bg: #eef2f7;
  --products_red: #e53950;

  background: #fff;
  padding: 56px 0 72px;
}

.products_inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.products_section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.products_section-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--products_blue);
  margin-bottom: 6px;
}

.products_section-head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.products_view-all {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--products_text);
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.products_view-all svg {
  width: 16px;
  height: 16px;
}

.products_view-all:hover {
  color: var(--products_blue);
}

.products_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--products_line);
  border-left: 1px solid var(--products_line);
}

.products_card {
  border-right: 1px solid var(--products_line);
  border-bottom: 1px solid var(--products_line);
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow .2s ease;
}

.products_card:hover {
  box-shadow: 0 14px 30px -16px rgba(14, 20, 32, 0.22);
  position: relative;
  z-index: 1;
}

.products_thumb {
  position: relative;
  background: var(--products_bg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products_tyre-image {
  object-fit: cover;
}

.products_tyre-icon {
  width: 168px;
  height: 168px;
}

.products_card:hover .products_tyre-icon {
  filter: drop-shadow(0 6px 10px rgba(14, 20, 32, 0.18));
}

.products_quick-actions {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

.products_card:hover .products_quick-actions,
.products_card:focus-within .products_quick-actions {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.products_icon-circle {
  width: 40px;
  height: 40px;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a2233;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 3px 8px rgba(14, 20, 32, 0.14);
}

.products_icon-circle svg {
  width: 17px;
  height: 17px;
}

.products_icon-circle:hover {
  background: var(--products_blue);
  color: #fff;
}

.products_icon-circle:disabled {
  color: #c3c9d4;
  cursor: not-allowed;
}

.products_icon-circle:disabled:hover {
  background: #fff;
  color: #c3c9d4;
}

.products_thumb-badges {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  z-index: 2;
}

.products_pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  color: #fff;
}

.products_pill-sale {
  background: var(--products_red);
}

.products_pill-low {
  background: #b45309;
}

.products_out-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 20, 32, 0.55);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products_body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.products_title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--products_text);
}

.products_size {
  font-size: 13px;
  color: var(--products_muted);
}

.products_price-row {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.products_price-now {
  font-size: 26px;
  font-weight: 800;
  color: var(--products_text);
}

.products_price-was {
  font-size: 13px;
  color: var(--products_muted);
  text-decoration: line-through;
}

.products_card.products_is-out .products_title,
.products_card.products_is-out .products_price-now {
  color: var(--products_muted);
}

@media (max-width: 1180px) {
  .products_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .products_section {
    padding: 40px 0 56px;
  }

  .products_inner {
    padding: 0 16px;
  }

  .products_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products_thumb {
    height: 220px;
  }

  .products_tyre-icon {
    width: 128px;
    height: 128px;
  }

  .products_section-head h2 {
    font-size: 21px;
  }
}

@media (max-width: 520px) {
  .products_grid {
    grid-template-columns: 1fr;
  }

  .products_section-head {
    align-items: flex-start;
  }
}