/* BOVGARDE Products */

.products-page {
  background: #000;
}

.products-hero {
  position: relative;
  width: 100%;
  background: #000;
  line-height: 0;
}

.products-hero img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1920 / 400;
  object-fit: cover;
  object-position: center center;
}

.products-cats {
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.products-cats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 56px;
}

.products-cats button {
  position: relative;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px 0;
  transition: color 0.2s ease;
}

.products-cats button:hover {
  color: var(--accent);
}

.products-cats button.is-active {
  color: var(--accent);
}

.products-cats button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--accent);
}

.products-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 24px 56px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.products-grid .product-card {
  background: #606060;
  border-radius: 12px;
  padding: 0 0 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.products-grid .product-card:hover {
  transform: translateY(-2px);
}

.products-grid .product-card .thumb {
  width: 100%;
  margin-bottom: 14px;
  line-height: 0;
  background: #606060;
}

.products-grid .product-card .thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.products-grid .product-card h4 {
  font-family: "Rajdhani", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin: 0 18px 12px;
  line-height: 1.3;
}

.products-grid .btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  padding: 7px 18px;
  margin: 0 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.products-grid .btn-detail:hover {
  background: var(--accent-hover);
}

.products-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.products-pager button {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: "Rajdhani", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

.products-pager button:hover:not(:disabled) {
  color: #fff;
}

.products-pager button.is-active {
  background: var(--accent);
  color: #fff;
}

.products-pager button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.products-pager .pager-ellipsis {
  color: rgba(255, 255, 255, 0.45);
  font-family: "Rajdhani", sans-serif;
  font-size: 16px;
  padding: 0 4px;
}

@media (max-width: 960px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-cats-inner {
    gap: 24px;
    overflow-x: auto;
  }
}

@media (max-width: 720px) {
  .products-hero img {
    aspect-ratio: auto;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .products-body {
    padding: 24px 16px 40px;
  }

  .products-cats-inner {
    gap: 20px;
    min-height: 48px;
  }

  .products-cats button {
    font-size: 14px;
    padding: 14px 0;
    white-space: nowrap;
  }
}
