/* Product catalog — ecommerce-style browse without purchase */

.product-catalog {
  --pc-accent: var(--ayenyx-secondary, #fbaa25);
  --pc-muted: rgba(236, 242, 250, 0.78);
  --pc-line: rgba(240, 210, 186, 0.14);
  --pc-card: #0a0a0a;
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #fff;
  background: transparent;
  -webkit-font-smoothing: antialiased;
}

.product-catalog__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  margin: 0 0 0.85rem;
  color: var(--pc-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-catalog__tag::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--pc-accent);
  flex-shrink: 0;
}

.product-catalog__tag--center {
  margin-left: auto;
  margin-right: auto;
}

.product-catalog__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.product-catalog__crumbs a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-catalog__crumbs a:hover {
  color: var(--ayenyx-secondary, #fbaa25);
}

.product-catalog__hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: min(56vh, 520px);
  margin-top: 70px;
  border-bottom: 1px solid var(--pc-line);
}

.product-catalog__hero-media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #1a2130;
}

.product-catalog__hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-catalog__hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, rgba(5, 5, 5, 0.55) 100%);
}

.product-catalog__hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.35rem, 4vw, 3.5rem);
  background:
    linear-gradient(160deg, rgba(28, 8, 8, 0.5) 0%, rgba(5, 5, 5, 0.98) 60%),
    #000000;
  border-left: 1px solid var(--pc-line);
}

.product-catalog__title {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.product-catalog__lead {
  margin: 0 0 0.85rem;
  max-width: 48ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--pc-muted);
}

.product-catalog__note {
  margin: 0 0 1.25rem;
  max-width: 46ch;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(94, 176, 239, 0.9);
}

.product-catalog__hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.product-catalog__hero-meta span {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--pc-line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.product-catalog__section,
.product-detail__specs-section,
.product-detail__related,
.product-catalog__other {
  width: min(var(--ayenyx-container, 1240px), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(2.75rem, 5vw, 4rem) 0;
}

.product-catalog__section-head {
  max-width: 620px;
  margin: 0 auto 1.85rem;
  text-align: center;
}

.product-catalog__section-head--left {
  margin-left: 0;
  text-align: left;
}

.product-catalog__section-head .product-catalog__tag {
  margin-left: auto;
  margin-right: auto;
}

.product-catalog__section-head--left .product-catalog__tag {
  margin-left: 0;
}

.product-catalog__section-title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.product-catalog__section-lead {
  margin: 0 auto;
  max-width: 50ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--pc-muted);
}

.product-catalog__section-lead--left {
  margin-left: 0;
}

.product-catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.product-catalog__grid--related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: var(--pc-card);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  border-color: rgba(166, 0, 40, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.product-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a2130;
  border-bottom: 1px solid var(--pc-line);
}

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

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem 1.15rem 1.25rem;
}

.product-card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.product-card__title a {
  color: #fff;
  text-decoration: none;
}

.product-card__title a:hover {
  color: var(--ayenyx-secondary, #fbaa25);
}

.product-card__brands,
.product-detail__brands,
.product-card .brand-mark,
.product-detail .brand-mark {
  display: none !important;
}

.product-card__brand.brand-mark--text {
  padding: 0.2rem 0.4rem;
  border: 1px solid var(--pc-line);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.product-card__brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__brand-more {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.product-card__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--pc-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__specs {
  margin: 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid var(--pc-line);
  display: grid;
  gap: 0.45rem;
}

.product-card__spec {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.5rem;
  font-size: 0.78rem;
  line-height: 1.4;
}

.product-card__spec dt {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-card__spec dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.product-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.product-card__btn--primary {
  background: #c3002f;
  border-color: #c3002f;
  color: #fff !important;
}

.product-card__btn--primary:hover {
  background: #165f9c;
  border-color: #165f9c;
  transform: translateY(-1px);
}

.product-card__btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff !important;
}

.product-card__btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.product-catalog__cta {
  width: min(var(--ayenyx-container, 1240px), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0 0 clamp(2.75rem, 5vw, 4rem);
}

.product-catalog__cta-inner {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(28, 8, 8, 0.45) 0%, rgba(16, 16, 16, 0.98) 55%),
    #222c3b;
  text-align: center;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.product-catalog__cta-title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.product-catalog__cta-text {
  margin: 0 auto 1.35rem;
  max-width: 48ch;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--pc-muted);
}

.product-catalog__cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.product-catalog__other {
  border-top: 1px solid var(--pc-line);
}

.product-catalog__other-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.product-catalog__other-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--pc-line);
  border-radius: 6px;
  background: #1c2430;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.product-catalog__other-card:hover {
  border-color: rgba(166, 0, 40, 0.4);
  background: #121820;
}

.product-catalog__other-label {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}

.product-catalog__other-meta {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-catalog__other-all {
  margin: 1.35rem 0 0;
  text-align: center;
}

.product-catalog__other-all a {
  color: var(--ayenyx-secondary, #fbaa25);
  font-weight: 600;
  text-decoration: none;
}

.product-catalog__other-all a:hover {
  color: #fff;
}

/* Detail page */
.product-detail__hero {
  width: min(var(--ayenyx-container, 1240px), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(70px + 1.35rem) 0 0;
}

.product-detail__main {
  width: min(var(--ayenyx-container, 1240px), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
}

.product-detail__gallery {
  display: block;
}

.product-detail__image-wrap {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent 55%),
    #121820;
  aspect-ratio: 5 / 4;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.product-detail__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__info {
  padding: 0.35rem 0;
}

.product-detail__title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.9rem, 3.2vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #fff;
}

.product-detail__desc {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(236, 242, 250, 0.82);
  max-width: 48ch;
}

.product-detail__brands {
  margin-bottom: 1.45rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.product-detail__brands-label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.product-detail__brands-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-detail__brand.brand-mark--logo {
  width: 92px;
  height: 38px;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.product-detail__brand.brand-mark--text {
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.product-detail__brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.product-detail__actions .product-card__btn {
  min-height: 46px;
  padding: 0.75rem 1.15rem;
  border-radius: 10px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.product-detail__seo {
  width: min(var(--ayenyx-container, 1240px), calc(100% - 2.5rem));
  margin: 0 auto 2.25rem;
}

.product-detail__seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.product-detail__seo-block {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}

.product-detail__seo-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: #fff;
}

.product-detail__seo-copy {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.72;
  color: rgba(236, 242, 250, 0.78);
}

.product-detail__seo-copy:last-child {
  margin-bottom: 0;
}

.product-detail__seo-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.product-detail__seo-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgba(236, 242, 250, 0.8);
}

.product-detail__seo-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ayenyx-secondary, #fbaa25);
}

.product-detail__specs-table {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(18, 24, 32, 0.92);
}

.product-detail__specs-row {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--pc-line);
}

.product-detail__specs-row:last-child {
  border-bottom: none;
}

.product-detail__specs-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.product-detail__specs-row dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.product-detail__specs-row dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.product-detail__related {
  border-top: 1px solid var(--pc-line);
}

@media (max-width: 991px) {
  .product-catalog__hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-catalog__hero-media {
    order: -1;
    min-height: 220px;
  }

  .product-catalog__hero-copy {
    border-left: none;
    border-top: 1px solid var(--pc-line);
    padding: clamp(1.75rem, 5vw, 2.5rem) clamp(1.15rem, 4vw, 1.75rem);
  }

  .product-catalog__section,
  .product-detail__specs-section,
  .product-detail__related,
  .product-catalog__other {
    width: min(var(--ayenyx-container, 1240px), calc(100% - 2rem));
    padding: clamp(2.25rem, 5vw, 3.25rem) 0;
  }

  .product-catalog__grid,
  .product-catalog__grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .product-catalog__other-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .product-card__brand.brand-mark--text {
    font-size: 0.75rem;
  }

  .product-card__brand-more {
    font-size: 0.8125rem;
  }
}

@media (max-width: 675px) {
  .product-catalog__grid,
  .product-catalog__grid--related,
  .product-catalog__other-grid {
    grid-template-columns: 1fr;
  }

  .product-card__spec {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .product-detail__specs-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .product-catalog__cta-actions,
  .product-detail__actions,
  .product-card__actions {
    flex-direction: column;
  }

  .product-card__btn {
    width: 100%;
    min-height: 44px;
  }

  .product-catalog__hero-media {
    min-height: 200px;
  }
}
