/**
 * AVENZA FIBER LLP - Page 3: Product Styles
 */

.product-hero {
  background: linear-gradient(135deg, #f4f7fb 0%, #edf2f7 60%, #f9fafb 100%);
  color: var(--color-primary);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(42, 48, 60, 0.06);
}

.product-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .product-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.product-hero__title {
  color: var(--color-primary);
  font-size: var(--font-size-display);
  line-height: 1.15;
  margin-bottom: 1rem;
  font-weight: 700;
}

.product-hero__subtitle {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-secondary-accessible);
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-hero__lead {
  font-size: var(--font-size-lead);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.product-hero__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.1);
  border: 3px solid #ffffff;
}

/* Swiper Slider in Product Hero */
.product-hero-swiper {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 56px -12px rgba(15, 23, 42, 0.16);
  border: 4px solid #ffffff;
  position: relative;
}

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

.product-slide-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.1) 0%,
    rgba(15, 23, 42, 0.3) 30%,
    rgba(10, 15, 29, 0.8) 62%,
    rgba(10, 15, 29, 0.97) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.product-slide-card img {
  width: 100%;
  height: clamp(320px, 44vw, 460px);
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.product-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem 2rem 4.75rem 2rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 15, 29, 0.72) 20%,
    rgba(10, 15, 29, 0.92) 55%,
    rgba(10, 15, 29, 0.98) 100%
  );
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
}

.product-slide-caption strong {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.product-slide-caption strong::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #eaa143;
  box-shadow: 0 0 10px rgba(234, 161, 67, 0.9);
  flex-shrink: 0;
}

.product-slide-caption span {
  font-size: 0.9rem;
  color: #e2e8f0;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
  max-width: 90%;
}

.product-hero-swiper .swiper-pagination {
  bottom: 18px;
  z-index: 3;
}

.product-hero-swiper .swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.7;
  width: 9px;
  height: 9px;
  transition: all 0.25s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.product-hero-swiper .swiper-pagination-bullet-active {
  background: #eaa143;
  opacity: 1;
  width: 26px;
  border-radius: 6px;
}

.product-hero-swiper .swiper-button-prev,
.product-hero-swiper .swiper-button-next {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.product-hero-swiper .swiper-button-prev:after,
.product-hero-swiper .swiper-button-next:after {
  font-size: 15px;
  font-weight: 900;
}

.product-hero-swiper .swiper-button-prev:hover,
.product-hero-swiper .swiper-button-next:hover {
  background: #eaa143;
  color: #0f172a;
  border-color: #eaa143;
}


/* Advantage Cards Grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.5rem;
}

.adv-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px -6px rgba(15, 23, 42, 0.05), inset 0 1px 0 #ffffff;
  padding: 1.75rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.adv-card:hover {
  border-color: rgba(234, 161, 67, 0.45);
  box-shadow: 0 18px 42px -10px rgba(15, 23, 42, 0.12), inset 0 1px 0 #ffffff;
  transform: translateY(-4px);
}

.adv-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.adv-card__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Interactive Diameter Visualizer */

.diameter-tabs {
  display: flex;
  overflow-x: auto;
  gap: 0.45rem;
  margin-bottom: 2rem;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.45rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.05), inset 0 1px 0 #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  scrollbar-width: thin;
}

@media (max-width: 575px){
	.diameter-tabs{
		justify-content: flex-start;
	}
}

.diameter-tab-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.diameter-tab-btn:hover {
  color: var(--color-primary);
}

.diameter-tab-btn--active {
  background: var(--color-secondary);
  color: var(--color-primary-950);
  box-shadow: 0 4px 14px rgba(234, 161, 67, 0.35);
}

.diameter-display-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.95);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.08), inset 0 1px 0 #ffffff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .diameter-display-card {
    grid-template-columns: 240px 1fr;
    gap: 3rem;
  }
}

.diameter-cross-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  color: var(--color-primary);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04), inset 0 1px 0 #ffffff;
}

.diameter-circle {
  border-radius: var(--radius-full);
  background: radial-gradient(circle at 35% 35%, #ffd488, #eaa143 60%, #b87522 100%);
  box-shadow: 0 4px 18px rgba(234, 161, 67, 0.45), inset 0 2px 5px rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
  transition: width 0.3s ease, height 0.3s ease;
  border: 2px dashed rgba(234, 161, 67, 0.6);
}

/* Engineering Advisory Callout */
.engineering-note {
  background: #ffffff;
  border-left: 4px solid var(--color-secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(42, 48, 60, 0.05);
}

.engineering-note h3 {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* The Problem With Steel: Grid */
.steel-problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .steel-problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steel-problems-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steel-problem-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px -6px rgba(15, 23, 42, 0.05), inset 0 1px 0 #ffffff;
  padding: 1.85rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.steel-problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.1);
  border-color: rgba(234, 161, 67, 0.45);
}

.steel-problem-card__tag {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-secondary-accessible);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.steel-problem-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.steel-problem-card__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Product Catalog Showcase Section
   ========================================================================== */
.section--catalog {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  overflow: hidden;
}

.catalog-card-banner {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl, 24px);
  box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.catalog-card-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary, #eaa143) 0%, #b45309 50%, var(--color-secondary, #eaa143) 100%);
}

.catalog-card-banner__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.catalog-card-banner__media{
	max-width: 355px;
}

@media (min-width: 992px) {
  .catalog-card-banner__grid {
    grid-template-columns: 1.4fr 0.6fr;
    gap: 4rem;
  }
}

.catalog-card-banner__title {
  color: var(--color-primary, #0f172a);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

.catalog-card-banner__subtitle {
  color: var(--color-text-muted, #475569);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.catalog-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
}

.catalog-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.catalog-highlight-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(234, 161, 67, 0.15);
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.catalog-highlight-item strong {
  display: block;
  font-size: 0.98rem;
  color: var(--color-primary, #0f172a);
  margin-bottom: 0.2rem;
}

.catalog-highlight-item span {
  font-size: 0.86rem;
  color: var(--color-text-muted, #64748b);
  line-height: 1.45;
}

.catalog-cta-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Clickable Catalog Image Link */
.catalog-image-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  outline: none;
}

.catalog-image-link:focus-visible .catalog-image-container {
  outline: 3px solid #b45309;
  outline-offset: 4px;
}

.catalog-image-container {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.18), 0 2px 6px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #f1f5f9;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.catalog-preview-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.catalog-image-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 2;
  transition: background-color 0.3s ease;
}

.catalog-image-badge svg {
  color: var(--color-secondary, #eaa143);
}

.catalog-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
}

.catalog-hover-btn {
  background: #ffffff;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full, 9999px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(10px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
}

.catalog-image-link:hover .catalog-image-container {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 28px 60px -15px rgba(15, 23, 42, 0.24), 0 0 0 2px rgba(234, 161, 67, 0.4);
  border-color: rgba(234, 161, 67, 0.5);
}

.catalog-image-link:hover .catalog-preview-img {
  transform: scale(1.02);
}

.catalog-image-link:hover .catalog-hover-overlay {
  opacity: 1;
}

.catalog-image-link:hover .catalog-hover-btn {
  transform: translateY(0) scale(1);
}

.catalog-image-link:hover .catalog-image-badge {
  background: #b45309;
}