/* Products page — owned catalog */

.products-page .page-hero--pro {
  padding-block: clamp(2.5rem, 6vw, 4.25rem);
}

.products-page .page-hero--pro h1 {
  max-width: 16ch;
}

.products-page .page-hero--pro p {
  max-width: 42rem;
}

.products-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.products-page .page-hero--pro .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
}

.products-page .page-hero--pro .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.products-pillars-section {
  padding-block: clamp(2rem, 4vw, 3rem);
  background:
    linear-gradient(180deg, #fafafa 0%, #fff 100%);
  border-bottom: 1px solid rgba(29, 29, 27, 0.06);
}

.products-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.products-pillar {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem 1.25rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  background: transparent;
}

.products-pillar:hover {
  border-bottom-color: var(--red);
  background: rgba(29, 29, 27, 0.02);
  transform: translateY(-2px);
}

.products-pillar__count {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.products-pillar__label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.products-pillar__desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.products-intro {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.products-intro .about-grid {
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.products-intro__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}

.products-intro__stat {
  padding: 0.85rem 0.5rem 0.85rem 0;
  border-inline-start: 2px solid var(--red);
  padding-inline-start: 0.85rem;
}

.products-intro__stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.products-intro__stat span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.products-intro .about__image {
  position: relative;
}

.products-intro .about__image img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

.products-intro .about__image::after {
  content: '';
  position: absolute;
  inset: auto -4% -4% auto;
  width: 42%;
  height: 42%;
  background: linear-gradient(135deg, rgba(230, 40, 51, 0.12), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.products-live {
  background:
    linear-gradient(180deg, #fffbeb 0%, #fff 55%);
  color: inherit;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-block: 1px solid rgba(29, 29, 27, 0.06);
}

.products-live .section__eyebrow {
  color: var(--red);
}

.products-live .section__title,
.products-live .section__desc {
  color: inherit;
}

.products-live .section__desc {
  opacity: 1;
}

.products-live .owned-product-card {
  background: var(--white);
  border-color: rgba(29, 29, 27, 0.1);
  box-shadow: var(--shadow-sm);
  color: inherit;
}

.products-live .owned-product-card__media,
.products-live .owned-product-card__media--art {
  background: #f5f5f4;
}

.products-live .owned-product-card__cat {
  color: var(--red);
}

.products-live .owned-product-card h3 a {
  color: var(--navy);
}

.products-live .owned-product-card__subtitle,
.products-live .owned-product-card__desc,
.products-live .owned-product-card__status {
  color: var(--text-muted);
}

.products-live .owned-product-card__tag {
  background: #f5f5f4;
  color: var(--navy);
}

.products-live .service-card__link {
  color: var(--red-text, #b01016);
}

.products-catalog {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.products-page .product-filter {
  margin-bottom: 1.75rem;
  padding: 0.35rem;
  background: #f5f5f4;
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}

.products-page .product-filter__btn {
  border: 0;
  background: transparent;
  white-space: nowrap;
}

.products-page .product-filter__btn.is-active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.products-page .owned-product-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.products-page .owned-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

.products-supply {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse 70% 50% at 8% 0%, rgba(255, 222, 0, 0.08) 0%, transparent 46%),
    linear-gradient(180deg, #161614 0%, #0f0f0d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.products-supply .section__eyebrow {
  color: var(--yellow);
}

.products-supply .section__title {
  color: #fff;
}

.products-supply .section__desc {
  color: rgba(255, 255, 255, 0.72);
}

.products-supply .industrial-grid {
  margin-top: 0.5rem;
  gap: 16px;
}

.products-supply .industrial-card {
  position: relative;
  display: flex;
  min-height: 280px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #1a1a18;
  border: 0;
  border-radius: 22px;
  box-shadow: none;
}

.products-supply .industrial-card--link:hover {
  transform: none;
  box-shadow: none;
}

.products-supply .industrial-card__media {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #111;
}

.products-supply .industrial-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.products-supply .industrial-card[data-brand="vega"] .industrial-card__media img {
  object-fit: contain;
  object-position: center 42%;
  padding: 48px 2% 18%;
  box-sizing: border-box;
}

.products-supply .industrial-card[data-brand="uwt"] .industrial-card__media {
  background: #000;
}

.products-supply .industrial-card[data-brand="uwt"] .industrial-card__media img {
  object-fit: contain;
  object-position: center 46%;
  padding: 36px 8% 16%;
  box-sizing: border-box;
}

.products-supply .industrial-card[data-brand="liqui-moly"] .industrial-card__media img,
.products-supply .industrial-card[data-brand="car-parts"] .industrial-card__media img {
  object-fit: cover;
  object-position: center 42%;
  transform: none;
  padding: 0;
}

.products-supply .industrial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12, 12, 10, 0.08) 18%, rgba(12, 12, 10, 0.88) 100%);
  pointer-events: none;
}

.products-supply .industrial-card__head {
  position: absolute;
  top: 16px;
  inset-inline: 16px;
  z-index: 3;
  margin: 0;
  align-items: center;
  justify-content: space-between;
}

.products-supply .industrial-card__logo {
  flex: 0 0 auto;
  width: auto;
  min-height: 0;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
}

.products-supply .industrial-card__logo img {
  width: auto;
  height: 28px;
  max-height: 28px;
  max-width: 110px;
}

.products-supply .industrial-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding: 22px;
}

.products-supply .industrial-card__title {
  margin: 0;
  color: #fff;
}

.products-supply .industrial-card__desc {
  display: none;
}

.products-supply .industrial-card__tag {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.12);
}

.products-supply .industrial-card__cta {
  color: var(--yellow);
}

.products-supply .buyer-guides__heading {
  color: rgba(255, 255, 255, 0.88);
}

.products-supply .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.products-supply__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  justify-content: center;
}

.products-explore {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background:
    linear-gradient(180deg, #f8f8f7 0%, #f3f3f1 48%, #f8f8f7 100%);
  border-block: 1px solid rgba(29, 29, 27, 0.06);
}

.products-explore__panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: 1.75rem;
  align-items: stretch;
}

.products-explore__panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  background: #fff;
  border: 1px solid rgba(29, 29, 27, 0.08);
  border-radius: var(--radius-lg, 14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  position: relative;
  overflow: hidden;
}

.products-explore__panel::before {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 3px;
  background: var(--navy);
}

.products-explore__panel--owned::before {
  background: linear-gradient(180deg, #1d1d1b, #e62833);
}

.products-explore__panel--supply::before {
  background: linear-gradient(180deg, #475569, #94a3b8);
}

.products-explore__head {
  padding-inline-start: 0.35rem;
}

.products-explore__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted, #78716c);
}

.products-explore__head h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.products-explore__head p:last-child {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted, #57534e);
}

.products-explore__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.products-explore__list a {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.1rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius, 10px);
  border: 1px solid transparent;
  background: #fafafa;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.products-explore__list a::after {
  content: '';
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 0.45rem;
  height: 0.45rem;
  border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.35;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

[dir="rtl"] .products-explore__list a::after {
  transform: rotate(135deg);
}

.products-explore__name {
  grid-column: 1;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.products-explore__meta {
  grid-column: 1;
  font-size: 0.78rem;
  color: var(--text-muted, #78716c);
  line-height: 1.35;
}

.products-explore__list a:hover,
.products-explore__list a:focus-visible {
  background: #fff;
  border-color: rgba(29, 29, 27, 0.12);
  outline: none;
}

.products-explore__panel--owned .products-explore__list a:hover,
.products-explore__panel--owned .products-explore__list a:focus-visible {
  border-color: rgba(230, 40, 51, 0.28);
}

.products-explore__panel--supply .products-explore__list a:hover,
.products-explore__panel--supply .products-explore__list a:focus-visible {
  border-color: rgba(71, 85, 105, 0.35);
}

.products-explore__list a:hover::after,
.products-explore__list a:focus-visible::after {
  opacity: 0.85;
}

.products-explore__list a:hover .products-explore__name,
.products-explore__list a:focus-visible .products-explore__name {
  color: #b91c1c;
}

.products-explore__panel--supply .products-explore__list a:hover .products-explore__name,
.products-explore__panel--supply .products-explore__list a:focus-visible .products-explore__name {
  color: #334155;
}

.products-explore__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
  border: 1px solid rgba(29, 29, 27, 0.12);
  border-radius: var(--radius, 10px);
  background: transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.products-explore__more:hover,
.products-explore__more:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  outline: none;
}

@media (max-width: 900px) {
  .products-explore__panels {
    grid-template-columns: 1fr;
  }
}

.products-cta {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.products-cta .cta-card {
  background:
    radial-gradient(circle at 12% 20%, rgba(230, 40, 51, 0.08), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(255, 222, 0, 0.12), transparent 40%),
    #fafafa;
  border: 1px solid rgba(29, 29, 27, 0.08);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

@media (max-width: 960px) {
  .products-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .products-pillars {
    grid-template-columns: 1fr;
  }

  .products-intro__stats {
    grid-template-columns: 1fr;
  }

  .products-page .product-filter {
    border-radius: var(--radius-lg);
    width: 100%;
  }

  .products-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .products-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .products-supply .industrial-grid,
  .products-live .owned-products-grid {
    grid-template-columns: 1fr;
  }

  .products-supply__footer {
    flex-direction: column;
  }

  .products-supply__footer .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .products-pillar,
  .products-page .owned-product-card {
    transition: none;
  }

  .products-pillar:hover,
  .products-page .owned-product-card:hover {
    transform: none;
  }
}
