/* ============================================================
   RLB Steel — Product List & Detail Page Styles
   ============================================================ */

/* ═══ Breadcrumb ═══════════════════════════════════════ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  font-size: var(--font-size-sm);
  color: var(--color-dark-light);
}
.breadcrumb__item a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.breadcrumb__item a:hover {
  color: var(--color-primary-dark);
}
.breadcrumb__separator {
  color: var(--color-gray);
}
.breadcrumb__current {
  color: var(--color-dark);
  font-weight: var(--font-weight-medium);
}

/* ═══ Product List Page ═════════════════════════════════ */
.product-list-intro {
  margin-bottom: var(--space-10);
  font-size: var(--font-size-md);
  color: var(--color-dark-light);
  line-height: var(--line-height-normal);
  max-width: 800px;
}

.product-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.product-list-grid--categories {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-list-grid--categories .product-card__title {
  font-size: var(--font-size-md);
}

.product-list-grid--categories.product-list-grid--two {
  grid-template-columns: repeat(2, minmax(0, 276px));
  justify-content: center;
}

@media (max-width: 1200px) {
  .product-list-grid--categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .product-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .product-list-grid {
    grid-template-columns: 1fr;
  }

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

  .product-list-grid--categories.product-list-grid--two {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card--link {
  text-decoration: none;
  color: inherit;
}

.product-card__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark);
  margin: 0 0 var(--space-2);
}

.product-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-dark-light);
  line-height: var(--line-height-normal);
  margin: 0 0 var(--space-4);
  flex: 1;
}

.product-card__btns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

@media (max-width: 576px) {
  .product-card__btns {
    gap: 6px;
  }
}

.product-card__btn2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  font-family: var(--font-primary);
  white-space: nowrap;
  box-shadow: none;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

@media (max-width: 576px) {
  .product-card__btn2 {
    font-size: 13px;
    height: 36px;
  }
}

.product-card__btn2--view {
  background: #F3F4F6;
  border-color: #D1D5DB;
  color: #374151;
}
.product-card__btn2--view:hover {
  background: #E9EBEF;
  border-color: #BCC1C9;
}

.product-card__btn2--quote {
  background: #EEF5FF;
  border-color: #BFD4F5;
  color: #356AA8;
}
.product-card__btn2--quote:hover {
  background: #E2EEFD;
  border-color: #9FBBE5;
}

.product-card__btn2--disabled {
  cursor: default;
  opacity: 0.6;
}
.product-card__btn2--disabled:hover {
  background: #F3F4F6;
  border-color: #D1D5DB;
}

.product-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-5);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
  border: none;
  font-family: var(--font-primary);
}

.product-card__btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.product-card__btn--primary:hover {
  background: var(--color-primary-dark);
}

.product-card__btn--disabled {
  background: var(--color-gray);
  color: var(--color-dark-light);
  cursor: not-allowed;
  opacity: 0.7;
}

/* ═══ Product Detail Page ═══════════════════════════════ */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

@media (max-width: 768px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

.detail-gallery {
  margin-bottom: var(--space-4);
}

.detail-gallery__main {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-gray-light);
  cursor: zoom-in;
  margin-bottom: var(--space-3);
}
.detail-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-2);
}

@media (max-width: 576px) {
  .detail-gallery__thumbs {
    grid-template-columns: repeat(5, 1fr);
  }
}

.detail-gallery__thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
  background: var(--color-gray-light);
}
.detail-gallery__thumb--active {
  border-color: var(--color-primary);
}
.detail-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-summary__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-dark);
  margin: 0 0 var(--space-4);
}

.detail-summary__desc {
  font-size: var(--font-size-md);
  color: var(--color-dark-light);
  line-height: var(--line-height-normal);
  margin: 0 0 var(--space-6);
}

.detail-summary__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-8);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--transition-fast);
}
.detail-summary__cta:hover {
  background: var(--color-primary-dark);
}

/* ═══ Product details heading ════════════════════════════ */
.detail-content-heading {
  margin: var(--space-8) 0 var(--space-6);
}

.detail-content-heading__title {
  margin: 0 0 var(--space-3);
  color: var(--color-dark);
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-align: left;
}

.detail-content-heading__line {
  display: block;
  width: 100%;
  height: 2px;
  background: #dfe3e8;
}

/* ═══ Specifications Table ═══════════════════════════════ */
.detail-section-banner {
  position: relative;
  overflow: hidden;
  margin: 0 0 var(--space-4);
  padding: 0.25rem clamp(0.75rem, 2vw, 1.5rem);
  text-align: center;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(31, 39, 50, 0.018) 0,
      rgba(31, 39, 50, 0.018) 1px,
      transparent 1px,
      transparent 4px
    ),
    linear-gradient(135deg, #ffffff 0%, #f2f4f7 48%, #ffffff 100%);
  border: 2px solid var(--color-dark);
  clip-path: polygon(
    7px 0,
    calc(100% - 7px) 0,
    100% 7px,
    100% calc(100% - 7px),
    calc(100% - 7px) 100%,
    7px 100%,
    0 calc(100% - 7px),
    0 7px
  );
}

.detail-section-banner::before,
.detail-section-banner::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 5px;
  background: var(--color-primary);
}

.detail-section-banner::before {
  top: 0;
  left: 0;
}

.detail-section-banner::after {
  right: 0;
  bottom: 0;
}

.detail-section-banner__title {
  margin: 0;
  color: var(--color-dark);
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.045em;
  line-height: 1.05;
}

.detail-section-banner__accent {
  display: block;
  width: clamp(56px, 8vw, 100px);
  height: 2px;
  margin: 0.12rem auto 0.08rem;
  background: var(--color-primary);
}

.detail-section-banner__subtitle {
  margin: 0 auto;
  color: var(--color-dark);
  font-size: clamp(0.525rem, 0.6vw, 0.625rem);
  font-weight: var(--font-weight-medium);
  line-height: 1.1;
}

.detail-section-banner--toggle {
  display: block;
  width: 100%;
  font-family: inherit;
  cursor: pointer;
}

.detail-section-banner--toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
  outline-offset: 3px;
}

.detail-section-banner__toggle {
  position: absolute;
  top: 50%;
  right: clamp(0.75rem, 2vw, 1.5rem);
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
}

.detail-section-banner__toggle::before,
.detail-section-banner__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 3px;
  background: var(--color-dark);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.detail-section-banner--toggle[aria-expanded="false"] .detail-section-banner__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.detail-section__content[hidden] {
  display: none;
}

/* ═══ In-page quote form ═══════════════════════════════ */
.detail-quote-form {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: clamp(var(--space-5), 3vw, var(--space-8));
  border: 1px solid #dce3ea;
  box-shadow: var(--shadow-sm);
}

.detail-quote-form .inquiry-form__input,
.detail-quote-form .inquiry-form__textarea {
  box-sizing: border-box;
  max-width: 100%;
}

.detail-quote-form .inquiry-form__textarea {
  min-height: 120px;
}

@media (max-width: 576px) {
  .detail-section-banner {
    padding: 0.25rem var(--space-3);
    clip-path: polygon(
      6px 0,
      calc(100% - 6px) 0,
      100% 6px,
      100% calc(100% - 6px),
      calc(100% - 6px) 100%,
      6px 100%,
      0 calc(100% - 6px),
      0 6px
    );
  }

  .detail-section-banner__title {
    font-size: clamp(0.85rem, 4.5vw, 1rem);
    letter-spacing: 0.02em;
  }

  .detail-section-banner__accent {
    height: 2px;
  }

  .detail-section-banner__toggle {
    right: var(--space-3);
  }

  .detail-quote-form {
    padding: var(--space-4);
  }
}

.spec-table-wrap {
  width: 100%;
  margin-bottom: var(--space-8);
  overflow-x: auto;
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.spec-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  margin-bottom: 0;
}
.spec-table caption {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  color: var(--color-dark);
  background: var(--color-gray-light);
  border-left: 4px solid var(--color-primary);
  border-bottom: 1px solid var(--color-gray);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
}
.spec-table th,
.spec-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-gray);
  font-size: var(--font-size-sm);
  line-height: 1.55;
  vertical-align: top;
}
.spec-table th {
  background: var(--color-dark);
  color: var(--color-white);
  font-weight: var(--font-weight-medium);
}
.spec-table tbody tr:nth-child(even) td {
  background: var(--color-gray-light);
}
.spec-table td:first-child {
  font-weight: var(--font-weight-medium);
  color: var(--color-dark);
  width: 28%;
}
.spec-table td:last-child {
  color: var(--color-dark-light);
}
.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.spec-table--technical {
  min-width: 980px;
  table-layout: fixed;
}
.spec-table--technical caption,
.spec-table--technical th,
.spec-table--technical td {
  text-align: center;
}
.spec-table--technical tbody tr:nth-child(odd):not(.spec-table__section) td {
  background: var(--color-white);
}
.spec-table--technical tbody tr:nth-child(even):not(.spec-table__section) td {
  background: var(--color-gray-light);
}
.spec-table--technical .spec-table__section td {
  width: auto;
  padding: var(--space-2) var(--space-4);
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  border-top: 2px solid var(--color-primary);
  font-weight: var(--font-weight-semibold);
  text-align: center;
}
.spec-table--technical .spec-table__subhead th {
  background: var(--color-primary-dark);
  color: var(--color-white);
  text-align: center;
}
.spec-table--manufacturing td:first-child {
  width: 33.333%;
}
.spec-table--sheet td:first-child {
  width: 25%;
}
.spec-table--chemistry {
  min-width: 900px;
}
.spec-table--chemistry td:first-child {
  width: auto;
}
.spec-table--pipe-finish td:first-child {
  width: 33.333%;
}
.spec-table--bar-details td:first-child {
  width: 24%;
}

@media (max-width: 768px) {
  .spec-table {
    min-width: 680px;
  }
}

/* ═══ Content Sections ═══════════════════════════════════ */
.detail-section {
  margin-bottom: var(--space-10);
}
.detail-section__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark);
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}
.detail-section__text {
  font-size: var(--font-size-md);
  color: var(--color-dark-light);
  line-height: var(--line-height-normal);
  margin: 0;
}

/* ═══ FAQ — clearly separated question and answer panels ═══ */
.faq-list {
  display: grid;
  gap: var(--space-4);
}

.faq-item {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid #dce3ea;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(31, 43, 59, 0.055);
}

.faq-item__question,
.faq-item__answer {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: start;
  gap: var(--space-2);
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--font-size-md);
  line-height: 1.75;
}

.faq-item__question {
  padding: var(--space-4) var(--space-5);
  color: #17345f;
  background: #edf4ff;
  border-bottom: 1px solid #c8daf6;
  font-weight: var(--font-weight-bold);
}

.faq-item__answer {
  padding: var(--space-4) var(--space-5);
  color: var(--color-dark-light);
  background: #f6f8fa;
  font-weight: var(--font-weight-regular);
}

.faq-item__badge {
  display: inline;
  width: auto;
  height: auto;
  border-radius: 0;
  font: inherit;
  line-height: inherit;
}

.faq-item__badge--question {
  color: inherit;
  background: transparent;
}

.faq-item__badge--answer {
  color: inherit;
  background: transparent;
  border: 0;
}

@media (max-width: 576px) {
  .faq-list {
    gap: var(--space-3);
  }

  .faq-item__question,
  .faq-item__answer {
    grid-template-columns: max-content minmax(0, 1fr);
    gap: var(--space-2);
    padding: var(--space-3);
  }
}

/* ═══ Company Profile — factory, strengths and introduction ═══ */
.company-profile-showcase {
  padding: var(--space-4);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.company-profile-showcase__media {
  height: clamp(280px, 36vw, 430px);
  margin: 0;
  overflow: hidden;
  background: var(--color-gray-light);
  border-radius: var(--radius-lg);
}

.company-profile-showcase__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-profile-showcase__strengths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 var(--space-4);
  padding: calc(var(--space-6) + 1em) 0 calc(var(--space-6) + 1em);
  border-bottom: 1px solid var(--color-gray);
}

.company-profile-showcase__strength {
  position: relative;
  min-width: 0;
  padding: 0 var(--space-5);
  text-align: center;
}

.company-profile-showcase__strength:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 66px;
  background: var(--color-gray);
  transform: translateY(-50%);
}

.company-profile-showcase__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-3);
  fill: var(--color-primary);
}

.company-profile-showcase__strength h3 {
  max-width: 230px;
  margin: 0 auto;
  color: var(--color-dark);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
}

.company-profile-showcase__copy {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-4) var(--space-4);
}

.company-profile-showcase__eyebrow {
  margin: 0 0 var(--space-4);
  color: var(--color-primary);
  font-size: clamp(var(--font-size-lg), 2vw, var(--font-size-xl));
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wider);
}

.company-profile-showcase__copy p:not(.company-profile-showcase__eyebrow) {
  margin: 0 0 var(--space-4);
  color: var(--color-dark-light);
  font-size: var(--font-size-md);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .company-profile-showcase__strengths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
  }

  .company-profile-showcase__strength {
    padding: var(--space-5);
  }

  .company-profile-showcase__strength:nth-child(2)::after {
    display: none;
  }

  .company-profile-showcase__strength:nth-child(-n+2) {
    border-bottom: 1px solid var(--color-gray);
  }
}

@media (max-width: 576px) {
  .company-profile-showcase {
    padding: var(--space-2);
  }

  .company-profile-showcase__media {
    height: 230px;
    border-radius: var(--radius-md);
  }

  .company-profile-showcase__strengths {
    grid-template-columns: 1fr;
  }

  .company-profile-showcase__strength {
    padding: var(--space-5) var(--space-3);
    border-bottom: 1px solid var(--color-gray);
  }

  .company-profile-showcase__strength::after {
    display: none;
  }

  .company-profile-showcase__strength:last-child {
    border-bottom: 0;
  }

  .company-profile-showcase__copy {
    padding: var(--space-6) var(--space-3) var(--space-3);
  }
}

/* ═══ Product Display Showcase — alternating bold bands ═══ */
.product-display-showcase {
  background: var(--color-dark);
}

.product-display-showcase__item {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  border-bottom: 1px solid var(--color-white-20);
}

.product-display-showcase__item:last-child {
  border-bottom: 0;
}

.product-display-showcase__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 250px;
  padding: clamp(var(--space-4), 2.5vw, var(--space-8));
  background: var(--color-primary);
  color: var(--color-white);
}

.product-display-showcase__number {
  display: inline-flex;
  margin-bottom: var(--space-2);
  color: var(--color-white-80);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wider);
}

.product-display-showcase__title {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(var(--font-size-lg), 1.6vw, var(--font-size-xl));
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
}

.product-display-showcase__rule {
  display: block;
  width: 88px;
  height: 2px;
  margin: var(--space-2) 0;
  background: var(--color-white);
}

.product-display-showcase__text {
  max-width: 520px;
  margin: 0;
  color: var(--color-white-80);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
}

.product-display-showcase__media {
  min-width: 0;
  height: 250px;
  margin: 0;
  overflow: hidden;
  background: var(--color-gray-light);
}

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

@media (max-width: 768px) {
  .product-display-showcase__item {
    grid-template-columns: 1fr;
  }

  .product-display-showcase__item .product-display-showcase__media {
    order: 1;
  }

  .product-display-showcase__item .product-display-showcase__copy {
    order: 2;
  }

  .product-display-showcase__copy {
    height: 310px;
    padding: var(--space-5) var(--space-4);
  }

  .product-display-showcase__media {
    height: 310px;
  }
}

/* ═══ Packaging Showcase — octagonal images + selling points ═══ */
.packaging-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  padding: var(--space-5) 0;
}

.packaging-showcase__item {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.packaging-showcase__media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--color-gray-light);
  clip-path: polygon(
    14% 0,
    86% 0,
    100% 14%,
    100% 86%,
    86% 100%,
    14% 100%,
    0 86%,
    0 14%
  );
}

.packaging-showcase__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.packaging-showcase__point {
  display: flex;
  min-height: 210px;
  margin-top: var(--space-3);
  padding: var(--space-4);
  flex: 1;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--color-white);
  background-image:
    linear-gradient(var(--color-gray), var(--color-gray)),
    linear-gradient(var(--color-gray), var(--color-gray)),
    linear-gradient(var(--color-gray), var(--color-gray)),
    linear-gradient(var(--color-gray), var(--color-gray)),
    linear-gradient(var(--color-gray), var(--color-gray)),
    linear-gradient(var(--color-gray), var(--color-gray)),
    linear-gradient(var(--color-gray), var(--color-gray)),
    linear-gradient(var(--color-gray), var(--color-gray));
  background-position:
    left top,
    left top,
    right top,
    right top,
    left bottom,
    left bottom,
    right bottom,
    right bottom;
  background-repeat: no-repeat;
  background-size:
    42px 1px,
    1px 40px,
    42px 1px,
    1px 40px,
    42px 1px,
    1px 40px,
    42px 1px,
    1px 40px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.packaging-showcase__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-3);
  flex: 0 0 auto;
  fill: var(--color-primary);
}

.packaging-showcase__title {
  margin: 0 0 var(--space-2);
  color: var(--color-dark);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
}

.packaging-showcase__text {
  margin: 0;
  color: var(--color-dark-light);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
}

@media (max-width: 992px) {
  .packaging-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .packaging-showcase__point {
    min-height: 190px;
  }
}

@media (max-width: 576px) {
  .packaging-showcase {
    grid-template-columns: 1fr;
  }

  .packaging-showcase__point {
    min-height: 0;
  }
}

/* ═══ Factory Showcase — six-photo curved grid ═══ */
.factory-showcase-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 18px 10px;
  padding: 28px 34px 32px;
  overflow: hidden;
}

.factory-showcase-gallery__item {
  position: relative;
  width: 88%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  overflow: hidden;
  background: var(--color-gray-light);
  box-shadow: var(--shadow-sm);
}

.factory-showcase-gallery__item:nth-child(odd) {
  transform: translateX(6%);
}

.factory-showcase-gallery__item:nth-child(even) {
  transform: translateX(-6%);
}

.factory-showcase-gallery__item--angled {
  clip-path: polygon(
    13% 0,
    84% 0,
    100% 17%,
    100% 83%,
    84% 100%,
    13% 100%,
    0 83%,
    0 17%
  );
  border-radius: 24% 8% 24% 8% / 13% 24% 13% 24%;
}

.factory-showcase-gallery__item--reverse {
  clip-path: polygon(
    16% 0,
    87% 0,
    100% 17%,
    100% 83%,
    87% 100%,
    16% 100%,
    0 83%,
    0 17%
  );
  border-radius: 8% 24% 8% 24% / 24% 13% 24% 13%;
}

.factory-showcase-gallery__item--soft {
  clip-path: polygon(
    16% 0,
    84% 0,
    100% 19%,
    100% 81%,
    84% 100%,
    16% 100%,
    0 81%,
    0 19%
  );
  border-radius: 26% 26% 26% 26% / 18% 18% 18% 18%;
}

.factory-showcase-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.factory-showcase-gallery__item:hover img {
  transform: scale(1.035);
}

@media (max-width: 768px) {
  .factory-showcase-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
    padding: var(--space-5) 0;
  }

  .factory-showcase-gallery__item {
    width: 100%;
    transform: none;
  }
}

@media (max-width: 480px) {
  .factory-showcase-gallery {
    grid-template-columns: 1fr;
  }
}

.application-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
  padding: var(--space-6) 0;
}

.application-showcase__card {
  min-width: 0;
  padding: 8px;
  background: #f9fbfd;
  border: 1px solid #d8e0e8;
  border-top: 3px solid var(--color-dark);
}

.application-showcase__card:nth-child(even) {
  border-top-color: var(--color-primary);
}

.application-showcase__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent 0 86%, rgba(20, 91, 198, 0.08) 86% 100%),
    #eef2f6;
  clip-path: polygon(0 0, 86% 0, 100% 16%, 100% 100%, 0 100%);
}

.application-showcase__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.application-showcase__title {
  position: relative;
  min-height: 58px;
  margin: 0;
  padding: 14px 10px 12px;
  color: var(--color-dark);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
}

.application-showcase__title::after {
  content: '';
  position: absolute;
  left: 10px;
  bottom: 0;
  width: 58px;
  height: 3px;
  background: var(--color-primary);
}

@media (max-width: 900px) {
  .application-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .application-showcase {
    grid-template-columns: 1fr;
  }
}

/* ═══ Related products carousel ═════════════════════════ */
.related-products-carousel {
  position: relative;
  padding: var(--space-3) clamp(2.75rem, 5vw, 4rem) var(--space-6);
}

.related-products-carousel__viewport {
  overflow: hidden;
}

.related-products-carousel__track {
  display: flex;
  gap: var(--space-5);
  transition: transform 0.38s ease;
  will-change: transform;
}

.related-products-carousel__card {
  flex: 0 0 calc((100% - var(--space-5) - var(--space-5)) / 3);
  min-width: 0;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid #dce1e7;
  border-radius: var(--radius-sm);
}

.related-products-carousel__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.related-products-carousel__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f3f5f7;
}

.related-products-carousel__body {
  min-height: 76px;
  padding: var(--space-3);
  text-align: center;
  border-top: 3px solid var(--color-primary);
}

.related-products-carousel__title {
  display: block;
  color: var(--color-dark);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
}

.related-products-carousel__more {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

.related-products-carousel__arrow {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  color: var(--color-white);
  background: var(--color-primary);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(20, 91, 198, 0.22);
  cursor: pointer;
  transform: translateY(-50%);
}

.related-products-carousel__arrow:hover:not(:disabled) {
  background: var(--color-primary-dark);
}

.related-products-carousel__arrow:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
  outline-offset: 3px;
}

.related-products-carousel__arrow:disabled {
  opacity: 0.32;
  cursor: default;
}

.related-products-carousel__arrow--previous {
  left: 0;
}

.related-products-carousel__arrow--next {
  right: 0;
}

.related-products-carousel__arrow svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.related-products-carousel__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: var(--space-4);
}

.related-products-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: #c5ccd5;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.related-products-carousel__dot[aria-current="true"] {
  width: 24px;
  background: var(--color-primary);
  border-radius: 6px;
}

.related-products-carousel__status {
  margin-left: 2px;
  color: var(--color-gray-dark);
  font-size: var(--font-size-sm);
}

@media (max-width: 900px) {
  .related-products-carousel__card {
    flex-basis: calc((100% - var(--space-5)) / 2);
  }
}

@media (max-width: 576px) {
  .related-products-carousel {
    padding-inline: 2.75rem;
  }

  .related-products-carousel__track {
    gap: var(--space-4);
  }

  .related-products-carousel__card {
    flex-basis: 100%;
  }

  .related-products-carousel__arrow {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .related-products-carousel__track {
    transition: none;
  }
}
