/* Product showcase — matches design mock */

.product-showcase {
  --ps-navy: #1e3a5f;
  --ps-text: #324467;
  --ps-muted: #6b7a90;
  --ps-chip: #ffffff;
  --ps-visual-bg: #dceef8;
  --ps-card-border: #e6eef5;
  --ps-filter-bg: #f0f3f8;
  --ps-max: 1600px;
  --ps-pad-x: clamp(24px, 3.5vw, 56px);
  width: 100%;
  background: #ffffff;
  scroll-margin-top: calc(var(--header-height-current) + 12px);
  box-sizing: border-box;
}

.product-showcase__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(36px, 4.5vw, 80px);
  width: 100%;
  max-width: var(--ps-max);
  margin: 0 auto;
  padding: 10px var(--ps-pad-x);
  box-sizing: border-box;
}

.product-showcase__model {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ps-navy);
}

.product-showcase__model::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  flex: 0 0 40px;
  background: #7eb6de;
  border-radius: 2px;
}

.product-showcase__title {
  margin: 0 0 14px;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ps-navy);
  letter-spacing: -0.02em;
}

.product-showcase__lead {
  margin: 0 0 32px;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ps-muted);
}

.product-showcase__features {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 0 0 36px;
  padding: 0;
  width: fit-content;
  max-width: 100%;
}

.product-showcase__feature {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-height: 72px;
  padding: 16px 20px;
  background: #f2f6ff;
  border: none;
  border-radius: 14px;
  box-shadow: none;
  color: #111111;
}

.product-showcase__feature-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}

.product-showcase__feature:nth-child(2) .product-showcase__feature-icon {
  width: 44px;
  height: 44px;
}

.product-showcase__feature-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
}

.product-showcase__feature-line {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: #111111;
}

.product-showcase__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 16px 34px;
  border: none;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.product-showcase__cta:hover {
  background: var(--color-primary-darker);
}

.product-showcase__cta-arrow {
  font-size: 22px;
  line-height: 1;
}

.product-showcase__visual {
  position: relative;
  width: 100%;
  border-radius: 32px;
  background: var(--ps-visual-bg);
  overflow: hidden;
  line-height: 0;
}

.product-showcase__gallery {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.product-showcase__gallery .swiper-slide {
  height: auto;
}

.product-showcase__gallery-nav {
  position: absolute;
  top: 50%;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.product-showcase__gallery-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ps-navy);
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.14);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.product-showcase__gallery-btn:hover {
  background: #ffffff;
  color: var(--color-primary);
  transform: scale(1.04);
}

.product-showcase__gallery-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.product-showcase__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

/* Filtration — full-bleed #f0f3f8 */
.product-showcase__filtration {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px var(--ps-pad-x);
  background: var(--ps-filter-bg);
  box-sizing: border-box;
}

.product-showcase__filtration-title,
.product-showcase__filtration-sub,
.product-showcase__filters {
  width: 100%;
  max-width: var(--ps-max);
}

.product-showcase__filtration-title {
  margin: 0 0 4px;
  text-align: center;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ps-navy);
}

.product-showcase__filtration-sub {
  margin: 0 0 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  color: var(--ps-muted);
}

.product-showcase__filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.product-showcase__filter-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 10px 12px;
  background: #fff;
  border: 1px solid var(--ps-card-border);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.04);
  box-sizing: border-box;
}

.product-showcase__filter-step {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.product-showcase__filter-image {
  display: block;
  width: auto;
  height: 88px;
  max-width: 100%;
  object-fit: contain;
  margin: 4px 0 8px;
  mix-blend-mode: multiply;
}

.product-showcase__filter-name {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ps-navy);
}

.product-showcase__filter-detail {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ps-muted);
  min-height: 1.3em;
}

@media (max-width: 1200px) {
  .product-showcase {
    --ps-max: 100%;
  }

  .product-showcase__visual {
    border-radius: 28px;
  }
}

@media (max-width: 900px) {
  .product-showcase__hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .product-showcase__content {
    text-align: center;
  }

  .product-showcase__model {
    justify-content: center;
    margin-bottom: 10px;
  }

  .product-showcase__model::after {
    display: none;
  }

  .product-showcase__title {
    margin-bottom: 8px;
    font-size: clamp(30px, 7vw, 40px);
  }

  .product-showcase__lead {
    margin-bottom: 20px;
    font-size: 18px;
  }

  .product-showcase__features {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .product-showcase__feature {
    flex: 0 1 auto;
    justify-content: flex-start;
  }

  .product-showcase__feature-text {
    align-items: flex-start;
    text-align: left;
  }

  .product-showcase__visual {
    border-radius: 24px;
  }

  .product-showcase__gallery-nav {
    left: 12px;
    right: 12px;
  }

  .product-showcase__gallery-btn {
    width: 40px;
    height: 40px;
  }

  .product-showcase__filter-image {
    height: 72px;
  }
}

@media (max-width: 768px) {
  .product-showcase__filtration {
    padding-left: 0;
    padding-right: 0;
  }

  .product-showcase__filtration-title,
  .product-showcase__filtration-sub {
    padding-left: var(--ps-pad-x);
    padding-right: var(--ps-pad-x);
  }

  .product-showcase__filters {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    max-width: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 2px var(--ps-pad-x) 8px;
    scrollbar-width: none;
  }

  .product-showcase__filters::-webkit-scrollbar {
    display: none;
  }

  .product-showcase__filter-card {
    flex: 0 0 min(112px, 34vw);
    width: min(112px, 34vw);
    max-width: none;
    scroll-snap-align: start;
    padding: 14px 6px 10px;
    border-radius: 12px;
  }

  .product-showcase__filter-card:last-child {
    grid-column: auto;
    margin-right: 0;
  }

  .product-showcase__filter-step {
    top: 6px;
    left: 6px;
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .product-showcase__filter-image {
    height: 64px;
    margin: 2px 0 6px;
  }

  .product-showcase__filter-name {
    font-size: 11px;
  }

  .product-showcase__filter-detail {
    font-size: 10px;
  }
}

@media (max-width: 640px) {
  .product-showcase__model {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .product-showcase__title {
    margin-bottom: 6px;
  }

  .product-showcase__lead {
    margin-bottom: 16px;
    font-size: 16px;
  }

  .product-showcase__features {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    margin-bottom: 20px;
  }

  .product-showcase__feature {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    width: auto;
    gap: 6px;
    padding: 10px 8px;
    border-radius: 12px;
    justify-content: center;
  }

  .product-showcase__feature-icon {
    width: 22px;
    height: 22px;
  }

  .product-showcase__feature:nth-child(2) .product-showcase__feature-icon {
    width: 26px;
    height: 26px;
  }

  .product-showcase__feature-text {
    align-items: flex-start;
  }

  .product-showcase__feature-line {
    font-size: 11px;
    line-height: 1.2;
  }

  .product-showcase__filtration-sub {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .product-showcase__cta {
    width: auto;
    min-height: 46px;
    padding: 12px 26px;
    font-size: 15px;
  }

  .product-showcase__cta-arrow {
    font-size: 18px;
  }

  .product-showcase__gallery-nav {
    left: 10px;
    right: 10px;
  }

  .product-showcase__gallery-btn {
    width: 36px;
    height: 36px;
  }

  .product-showcase__gallery-btn svg {
    width: 16px;
    height: 16px;
  }

}
