/* Product catalog additions for Fast AM Services. */

.catalog-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: 190px 0 88px;
  background: #101c2a;
  color: #fff;
}

.catalog-hero::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: var(--color-primary);
}

.catalog-hero::after {
  content: 'FAST AM  /  ENERGY  /  MOBILITY';
  position: absolute;
  right: 22px;
  bottom: 16px;
  color: rgba(255,255,255,.12);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.catalog-hero__inner {
  position: relative;
  min-height: 282px;
}

.catalog-hero__copy {
  position: relative;
  z-index: 2;
  width: min(610px, 56%);
}

.catalog-hero__eyebrow {
  margin-bottom: 16px;
  color: #7edcf0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-hero h1 {
  max-width: 660px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 5vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.catalog-hero__copy > p:not(.catalog-hero__eyebrow) {
  max-width: 590px;
  margin-bottom: 28px;
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  line-height: 1.7;
}

.catalog-hero__products {
  position: absolute;
  z-index: 1;
  top: 0;
  right: -30px;
  width: 52%;
  height: 390px;
  pointer-events: none;
}

.catalog-hero__product {
  position: absolute;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(0,0,0,.38));
}

.catalog-hero__product--station {
  right: 10px;
  top: 20px;
  width: min(390px, 70%);
  transform: rotate(-2deg);
}

.catalog-hero__product--panel {
  bottom: -32px;
  left: 0;
  width: min(300px, 55%);
  transform: rotate(7deg);
}

.catalog-section {
  padding: 76px 0 88px;
  background: #fff;
}

.catalog-section__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: 48px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-border);
}

.catalog-section__header .section__title {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.catalog-section__header .section__desc {
  max-width: 720px;
  margin: 0;
  text-align: left;
}

.catalog-search {
  display: grid;
  gap: 8px;
  color: var(--color-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-search input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #cfd4dc;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: none;
}

.catalog-search input:focus {
  border-color: var(--color-primary);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 30px;
}

.catalog-filters {
  display: inline-flex;
  align-items: stretch;
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  scrollbar-width: thin;
}

.catalog-filter {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 9px 16px;
  border-right: 1px solid var(--color-border);
  color: var(--color-text-light);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.catalog-filter:last-child {
  border-right: 0;
}

.catalog-filter:hover {
  color: var(--color-primary-dark);
  background: var(--color-primary-bg);
}

.catalog-filter--active {
  background: var(--color-dark);
  color: #fff;
}

.catalog-filter--active:hover {
  background: var(--color-dark);
  color: #fff;
}

.catalog-result-count {
  flex: 0 0 auto;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

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

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dfe3e9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(16,28,42,.05);
}

.product-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid #e4e8ed;
  background: #f3f6f8;
}

.product-card__media--product::after {
  content: '';
  position: absolute;
  inset: auto 24px 18px;
  height: 1px;
  background: #dce2e8;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px 24px 22px;
}

.product-card__image--poster {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: auto;
  max-width: none;
  padding: 0;
  object-fit: initial;
}

.product-card__image--power {
  left: -22.5%;
  width: 145%;
  transform: translateY(-42.1%);
}

.product-card__image--bike {
  left: -7.5%;
  width: 115%;
  transform: translateY(-39.5%);
}

.product-card__body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  padding: 24px;
}

.product-card__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.product-card__category {
  margin-bottom: 3px;
  color: #007e9a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h2 {
  color: var(--color-dark);
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.product-card__description {
  margin-bottom: 14px;
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

.product-card__specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 18px;
  list-style: none;
}

.product-card__specs li {
  min-width: 0;
  padding: 7px 8px;
  border-left: 2px solid #13abc6;
  background: #f2fafc;
  color: #31505b;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.product-colors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
}

.product-colors__label {
  margin-right: 4px;
  color: var(--color-text-light);
  font-size: 0.76rem;
  font-weight: 700;
}

.product-color {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-light);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-color:hover,
.product-color--active {
  border-color: #68727e;
  background: #f2f4f6;
  color: var(--color-dark);
}

.product-color__swatch {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 50%;
}

.product-price {
  margin-top: auto;
  border-top: 1px solid var(--color-border);
}

.product-price__option {
  display: grid;
  width: 100%;
  min-height: 62px;
  grid-template-columns: minmax(120px, 1fr) minmax(130px, 1.25fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  text-align: left;
}

.product-price__option:hover {
  background: #f6f8fa;
}

.product-price__option--active {
  border-left-color: var(--color-primary);
  background: #eef8fa;
}

.product-price__route {
  color: var(--color-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.product-price__detail {
  color: var(--color-text-muted);
  font-size: 0.7rem;
  line-height: 1.3;
}

.product-price__option strong {
  color: var(--color-dark);
  font-size: 1rem;
}

.product-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
}

.product-card__selected {
  display: grid;
  gap: 1px;
}

.product-card__selected span {
  color: var(--color-text-muted);
  font-size: 0.68rem;
}

.product-card__selected strong {
  color: var(--color-primary-dark);
  font-size: 1.3rem;
}

.product-card__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 15px;
  background: #167c3f;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.product-card__whatsapp:hover {
  background: #0f6632;
  color: #fff;
  transform: translateY(-1px);
}

.catalog-empty {
  padding: 64px 16px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-light);
  text-align: center;
}

.catalog-note {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  margin-top: 42px;
  padding: 22px 0;
  border-top: 2px solid var(--color-dark);
  border-bottom: 1px solid var(--color-border);
}

.catalog-note strong {
  color: var(--color-dark);
  font-size: 0.86rem;
}

.catalog-note p {
  color: var(--color-text-light);
  font-size: 0.82rem;
  line-height: 1.6;
}

@media (max-width: 1050px) {
  .catalog-hero__copy {
    width: 62%;
  }

  .catalog-hero__products {
    right: -90px;
    width: 54%;
  }

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

  .product-price__option {
    grid-template-columns: minmax(110px, 1fr) auto;
  }

  .product-price__detail {
    display: none;
  }
}

@media (max-width: 860px) {
  .catalog-hero {
    min-height: 530px;
  }

  .catalog-hero__copy {
    width: 68%;
  }

  .catalog-hero__products {
    opacity: .45;
  }

  .catalog-section__header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .catalog-search {
    max-width: 520px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .catalog-hero {
    min-height: 500px;
    padding: 190px 0 68px;
  }

  .catalog-hero__copy {
    width: 100%;
  }

  .catalog-hero h1 {
    max-width: 520px;
    font-size: 2.75rem;
  }

  .catalog-hero__copy > p:not(.catalog-hero__eyebrow) {
    max-width: 510px;
  }

  .catalog-hero__products {
    top: 12px;
    right: -170px;
    width: 72%;
    opacity: .2;
  }

  .catalog-section {
    padding: 60px 0 72px;
  }

  .catalog-toolbar {
    align-items: flex-end;
    flex-direction: column;
  }

  .catalog-filters {
    width: 100%;
  }

  .catalog-result-count {
    align-self: flex-start;
  }
}

@media (max-width: 520px) {
  .catalog-hero {
    min-height: 480px;
  }

  .catalog-hero h1 {
    font-size: 2.15rem;
  }

  .catalog-hero__copy > p:not(.catalog-hero__eyebrow) {
    font-size: 0.92rem;
  }

  .catalog-hero__products {
    right: -130px;
    width: 90%;
  }

  .catalog-section__header .section__title {
    font-size: 2rem;
  }

  .catalog-filter {
    padding-inline: 13px;
  }

  .product-card__media {
    aspect-ratio: 4 / 3;
  }

  .product-card__body {
    padding: 20px 16px;
  }

  .product-card__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .product-price__option {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .product-card__action {
    align-items: stretch;
    flex-direction: column;
  }

  .product-card__selected {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .product-card__whatsapp {
    width: 100%;
  }

  .catalog-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
