/* ============================================================================
   QUANTUM STEELS - PRODUCT DETAILS PAGE STYLES
   Exact styles & responsive font sizes extracted from quantumpackagingnig.com/corrugated-carton.php
   ============================================================================ */

:root {
  --navy: #1a2d5a;
  --brand-red: #cf2135;
  --brand-blue: #303192;
  --white: #ffffff;
  --white-7: rgba(255, 255, 255, 0.7);
}

body {
  font-family: EuclidCircularB, sans-serif;
  color: #212529bf;
  background-color: #ffffff;
}

/* ----------------------------------------------------------------------------
   1. BREADCRUMB AREA
---------------------------------------------------------------------------- */
.breadcrumb__area {
  padding: 10px !important;
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--navy);
}

.breadcrumb__title {
  font-family: EuclidCircularB, sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.2;
  color: #ffffff;
  text-transform: capitalize;
  padding-top: 30px;
  padding-bottom: 30px;
  margin: 0;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .breadcrumb__title {
    font-size: 36px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .breadcrumb__title {
    font-size: 32px;
    padding-top: 25px;
    padding-bottom: 25px;
  }
}

@media only screen and (max-width: 767px) {
  .breadcrumb__title {
    font-size: 26px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media only screen and (max-width: 576px) {
  .breadcrumb__title {
    font-size: 22px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

/* ----------------------------------------------------------------------------
   2. PRODUCT DETAILS SECTION (HERO / GALLERY & SUMMARY)
---------------------------------------------------------------------------- */
.product-details-section {
  padding: 80px 0;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-main-slider {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #ffffff;
}

.product-main-slider img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.product-thumbs-slider {
  width: 100%;
  padding: 0;
}

.product-thumbs-slider .swiper-slide {
  width: 90px;
  height: 90px;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s;
}

.product-thumbs-slider .swiper-slide-thumb-active {
  opacity: 1;
}

.product-thumbs-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.product-thumbs-slider .swiper-slide-thumb-active img {
  border-color: #cf2135;
}

.product-slider-next,
.product-slider-prev {
  color: #cf2135 !important;
  background: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.product-slider-next:hover,
.product-slider-prev:hover {
  background: #cf2135;
  color: #ffffff !important;
}

.product-slider-next::after,
.product-slider-prev::after {
  font-size: 16px !important;
  font-weight: bold;
}

.product-page-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cf2135;
  margin-bottom: 8px;
  font-family: EuclidCircularB, sans-serif;
}

.product-summary-content h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #171818;
  font-family: EuclidCircularB, sans-serif;
  line-height: 1.25;
}

.product-short-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #212529bf;
  margin-bottom: 15px;
  text-align: justify !important;
  font-family: EuclidCircularB, sans-serif;
}

/* Product Action Buttons (Side by Side & Symmetrically Styled) */
.product-action-buttons {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  margin-top: 25px !important;
}

.product-action-buttons .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  font-family: EuclidCircularB, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease !important;
  cursor: pointer;
  white-space: nowrap;
}

.product-action-buttons .btn i {
  font-size: 15px;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

/* Primary CTA Button: Brand Red */
.product-enquiry-btn {
  background-color: #cf2135 !important;
  border: 2px solid #cf2135 !important;
  color: #ffffff !important;
}

.product-enquiry-btn:hover {
  background-color: #b01a2b !important;
  border-color: #b01a2b !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(207, 33, 53, 0.25) !important;
}

.product-enquiry-btn:hover i {
  transform: scale(1.12);
}

/* Secondary CTA Button: Brand Navy Outline */
.product-calc-btn {
  background-color: #ffffff !important;
  border: 2px solid var(--navy, #1a2d5a) !important;
  color: var(--navy, #1a2d5a) !important;
}

.product-calc-btn:hover {
  background-color: var(--navy, #1a2d5a) !important;
  border-color: var(--navy, #1a2d5a) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26, 45, 90, 0.2) !important;
}

.product-calc-btn:hover i {
  transform: scale(1.12);
}

@media (max-width: 991px) {
  .product-details-section {
    padding: 50px 0;
  }
  .product-summary-content h2 {
    font-size: 26px;
  }
  .product-main-slider img {
    height: 320px;
  }
}

@media (max-width: 767px) {
  .product-summary-content h2 {
    font-size: 22px;
  }
  .product-thumbs-slider .swiper-slide {
    width: 70px;
    height: 70px;
  }
  .product-main-slider img {
    height: 260px;
  }
}

@media (max-width: 576px) {
  .product-details-section {
    padding: 35px 0;
  }
  .product-page-badge {
    font-size: 11px;
  }
  .product-summary-content h2 {
    font-size: 20px;
  }
  .product-slider-next,
  .product-slider-prev {
    width: 36px;
    height: 36px;
  }
  .product-slider-next::after,
  .product-slider-prev::after {
    font-size: 13px !important;
  }
  .product-action-buttons {
    gap: 10px !important;
  }
  .product-action-buttons .btn {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 420px) {
  .product-action-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .product-action-buttons .btn {
    width: 100% !important;
  }
}

/* ----------------------------------------------------------------------------
   3. SECTION TITLES & SUBTITLES ACROSS THE ENTIRE PAGE
---------------------------------------------------------------------------- */
.product-info-section {
  padding: 60px 0;
}

.product-info-section .section-title {
  font-size: 26px !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
  text-align: center;
  font-family: EuclidCircularB, sans-serif;
}

.product-info-section p.section-subdesc {
  font-size: 16px;
  line-height: 1.6;
  color: #6c757d;
  max-width: 650px;
  margin: 0 auto 35px auto;
  font-family: EuclidCircularB, sans-serif;
}

@media (max-width: 767px) {
  .product-info-section {
    padding: 45px 0;
  }
  .product-info-section .section-title {
    font-size: 22px !important;
  }
  .product-info-section p.section-subdesc {
    margin-bottom: 25px;
  }
}

@media (max-width: 576px) {
  .product-info-section {
    padding: 35px 0;
  }
  .product-info-section .section-title {
    font-size: 18px !important;
  }
  .product-info-section p.section-subdesc {
    margin-bottom: 20px;
  }
}

/* ----------------------------------------------------------------------------
   4. MODERN SPEC GRID (FEATURES AND BENEFITS)
---------------------------------------------------------------------------- */
.modern-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: #eef2f5;
  gap: 1px;
  border: 1px solid #eef2f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
  margin-top: 20px;
  margin-bottom: 20px;
}

.modern-spec-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.spec-grid-item {
  background-color: #ffffff;
  padding: 26px 30px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.spec-grid-item:hover {
  background-color: #fafbfc;
}

.spec-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #8898a9;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: EuclidCircularB, sans-serif;
}

.spec-value {
  font-size: 17px;
  font-weight: 600;
  color: #171818;
  line-height: 1.35;
  margin: 0 0 8px 0;
  font-family: EuclidCircularB, sans-serif;
}

.spec-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #55606d;
  margin-bottom: 0;
  font-family: EuclidCircularB, sans-serif;
}

.spec-value.highlight-red {
  color: #cf2135;
}

.spec-value.highlight-blue {
  color: #303192;
}

.spec-grid-placeholder {
  background-color: #f5f7fa;
  pointer-events: none;
}

@media (max-width: 991px) {
  .modern-spec-grid,
  .modern-spec-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .spec-grid-item {
    padding: 22px 24px;
  }
  .spec-value {
    font-size: 16px;
  }
  .spec-grid-placeholder {
    display: none;
  }
}

@media (max-width: 576px) {
  .modern-spec-grid,
  .modern-spec-grid.cols-4 {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }
  .spec-grid-item {
    padding: 18px 20px;
  }
  .spec-label {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .spec-value {
    font-size: 16px;
  }
}

/* ----------------------------------------------------------------------------
   5. MODERN INDUSTRY CARDS (INDUSTRIES & APPLICATIONS)
---------------------------------------------------------------------------- */
.industry-card {
  background: #ffffff;
  border: 1px solid #eef2f5;
  border-radius: 12px;
  padding: 35px 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(48, 49, 146, 0.08);
  border-color: rgba(48, 49, 146, 0.15);
}

.industry-card-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background-color: #f4f6f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #303192;
  margin-bottom: 22px;
  transition: all 0.3s ease;
}

.industry-card:hover .industry-card-icon {
  background-color: #303192;
  color: #ffffff;
  transform: rotate(5deg) scale(1.05);
}

.industry-card-title {
  font-size: 17px;
  font-weight: 600;
  color: #1e2022;
  margin-bottom: 12px;
  text-align: left;
  font-family: EuclidCircularB, sans-serif;
}

.industry-card-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #77838f;
  margin: 0;
  text-align: left;
  font-family: EuclidCircularB, sans-serif;
}

/* ----------------------------------------------------------------------------
   5b. REBAR DIAMETER SIZE BADGES (AVAILABLE SIZES)
---------------------------------------------------------------------------- */
.rebar-sizes-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
  width: 100%;
  margin: 0 auto 24px auto;
}

.rebar-size-badge {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: EuclidCircularB, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  cursor: default;
}

.rebar-size-badge:hover {
  border-color: #cf2135;
  color: #cf2135;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(207, 33, 53, 0.12);
}

.modern-spec-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
}

.modern-spec-grid.cols-4 .spec-grid-item {
  padding: 24px 15px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.modern-spec-grid.cols-4 .spec-label {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.3;
}

.modern-spec-grid.cols-4 .spec-value {
  margin: 0;
  text-align: center;
  line-height: 1.25;
}

@media (max-width: 991px) {
  .rebar-sizes-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
  .modern-spec-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .modern-spec-grid.cols-4 .spec-grid-item {
    padding: 20px 14px;
  }
}

@media (max-width: 576px) {
  .rebar-sizes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .rebar-size-badge {
    height: 42px;
    font-size: 15px;
  }
  .modern-spec-grid.cols-4 {
    grid-template-columns: 1fr;
  }
  .modern-spec-grid.cols-4 .spec-grid-item {
    padding: 18px 14px;
  }
  .modern-spec-grid.cols-4 .spec-label {
    min-height: auto;
  }
}

@media (max-width: 991px) {
  .industry-card {
    padding: 25px 20px;
  }
  .industry-card-icon {
    width: 55px;
    height: 55px;
    font-size: 22px;
    margin-bottom: 16px;
  }
  .industry-card-title {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .industry-card {
    padding: 20px 16px;
  }
  .industry-card-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin-bottom: 12px;
  }
  .industry-card-title {
    font-size: 16px;
  }
}

/* ----------------------------------------------------------------------------
   6. PREMIUM ACCENT-TOP NUMBER CARDS (SIZES & SPECIFICATIONS)
---------------------------------------------------------------------------- */
.spec-number-card {
  background: #ffffff;
  border: 1px solid #eef2f5;
  border-top: 3px solid var(--navy);
  border-radius: 8px;
  padding: 30px 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.spec-number-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(26, 45, 90, 0.06);
  border-top-color: #cf2135;
}

.spec-card-num {
  font-size: 44px;
  font-weight: 700;
  color: #eef1f5;
  line-height: 1;
  margin-bottom: 18px;
  font-family: EuclidCircularB, sans-serif;
  transition: color 0.3s ease;
}

.spec-number-card:hover .spec-card-num {
  color: rgba(207, 33, 53, 0.1);
}

.spec-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 12px 0;
  line-height: 1.35;
  font-family: EuclidCircularB, sans-serif;
}

.spec-card-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #77838f;
  margin: 0;
  font-family: EuclidCircularB, sans-serif;
}

@media (max-width: 991px) {
  .spec-number-card {
    padding: 25px 20px;
  }
  .spec-card-num {
    font-size: 38px;
    margin-bottom: 14px;
  }
  .spec-card-title {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .spec-number-card {
    padding: 20px 16px;
  }
  .spec-card-num {
    font-size: 32px;
    margin-bottom: 10px;
  }
  .spec-card-title {
    font-size: 16px;
  }
}

.spec-note-box {
  background-color: #FFF9F5;
  border-left: 4px solid #cf2135;
  padding: 15px 20px;
  border-radius: 4px;
  margin-top: 25px;
  font-style: italic;
  color: #171818;
  font-size: 16px;
  font-family: EuclidCircularB, sans-serif;
  line-height: 1.6;
}

@media (max-width: 576px) {
  .spec-note-box {
    padding: 12px 16px;
  }
}

/* ----------------------------------------------------------------------------
   7. WHY CHOOSE QUANTUM SPLIT LAYOUT
---------------------------------------------------------------------------- */
.why-choose-split {
  margin-top: 20px;
}

.why-choose-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d1e3d 100%);
  padding: 40px 30px;
  border-radius: 16px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 10px 30px rgba(26, 45, 90, 0.1);
}

.why-choose-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: rgba(207, 33, 53, 0.1);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.why-choose-hero-tag {
  display: inline-block;
  align-self: flex-start;
  background-color: #ffffff;
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  font-family: EuclidCircularB, sans-serif;
}

.why-choose-hero-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
  font-family: EuclidCircularB, sans-serif;
  color: #ffffff;
}

.why-choose-hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  font-family: EuclidCircularB, sans-serif;
  margin: 0;
  text-align: justify !important;
}

.why-choose-hero-desc + .why-choose-hero-desc {
  margin-top: 15px;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-choose-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #eef2f5;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
}

.why-choose-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 45, 90, 0.15);
  box-shadow: 0 10px 25px rgba(26, 45, 90, 0.05);
}

.why-choose-icon-box {
  width: 44px;
  height: 44px;
  background-color: rgba(26, 45, 90, 0.05);
  color: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.why-choose-card:hover .why-choose-icon-box {
  background-color: var(--navy);
  color: #ffffff;
}

.why-choose-card-content {
  flex-grow: 1;
}

.why-choose-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: EuclidCircularB, sans-serif;
}

.why-choose-card-desc {
  font-size: 16px;
  line-height: 1.5;
  color: #77838f;
  margin: 0;
  font-family: EuclidCircularB, sans-serif;
}

@media (max-width: 991px) {
  .why-choose-grid {
    margin-top: 30px;
  }
  .why-choose-hero-title {
    font-size: 24px;
  }
  .why-choose-card-title {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .why-choose-hero {
    padding: 30px 20px;
  }
  .why-choose-hero-title {
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  .why-choose-hero-tag {
    font-size: 10px;
    letter-spacing: 1.2px;
    margin-bottom: 18px;
  }
  .why-choose-hero-title {
    font-size: 20px;
  }
  .why-choose-card {
    padding: 18px 14px;
    gap: 12px;
  }
  .why-choose-icon-box {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  .why-choose-card-title {
    font-size: 16px;
  }
}

/* ----------------------------------------------------------------------------
   8. BACK TO ALL PRODUCTS NAVIGATION BAR
---------------------------------------------------------------------------- */
.back-products-bar {
  background-color: var(--navy);
  padding: 15px 0;
  display: block;
}

.back-products-link {
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  font-family: EuclidCircularB, sans-serif;
}

.back-products-link:hover {
  opacity: 1;
}

/* ----------------------------------------------------------------------------
   9. ENQUIRY MODAL & FORM STYLING
---------------------------------------------------------------------------- */
.contact__form form {
  background-color: #FFF9F5 !important;
  padding: 25px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  border-radius: 5px;
  border: solid 1px #ddd;
  background-color: #ffffff;
  padding: 10px 15px;
  margin-bottom: 20px;
  font-family: EuclidCircularB, sans-serif;
  font-size: 14px;
}

.contact__form textarea {
  height: 120px;
}

/* ----------------------------------------------------------------------------
   10. TICK LIST STYLES (MATCHING REFERENCE SITE)
---------------------------------------------------------------------------- */
.tick-list {
  list-style: none;
  padding-left: 0;
}

.tick-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  line-height: 1.6;
  color: #212529bf;
  font-size: 16px;
  font-family: EuclidCircularB, sans-serif;
}

.tick-list li::before {
  content: '✔';
  color: #303192;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 576px) {
  .tick-list li {
    padding-left: 25px;
  }
  .tick-list li::before {
    font-size: 16px;
  }
}


/* ============================================================================
   11. REAL TMT ENHANCED SECTIONS (Client Specifications, Calculator & Trust Elements)
   ============================================================================ */

/* Spec Table Container */
.spec-table-card {
  background: #ffffff;
  border: 1px solid #eef2f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
}

.spec-table-header {
  background: linear-gradient(135deg, var(--navy) 0%, #162447 100%);
  color: #ffffff;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.spec-table-header h4 {
  color: #ffffff;
  font-size: 20px;
  margin: 0;
  font-weight: 600;
  font-family: EuclidCircularB, sans-serif;
}

.spec-table-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin: 4px 0 0 0;
}

.rebar-spec-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-family: EuclidCircularB, sans-serif;
}

.rebar-spec-table thead th {
  background: #f8fafc;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.rebar-spec-table tbody td {
  padding: 14px 16px;
  font-size: 15px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.rebar-spec-table tbody tr:hover {
  background-color: #f8fafc;
}

.rebar-spec-table tbody tr:last-child td {
  border-bottom: none;
}

.rebar-dia-badge {
  display: inline-block;
  background: #f1f5f9;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

/* Steel Quantity Calculator */
.steel-calc-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(26, 45, 90, 0.05);
  overflow: hidden;
}

.steel-calc-header {
  background: linear-gradient(135deg, #1a2d5a 0%, #303192 100%);
  color: #ffffff;
  padding: 28px 30px;
}

.steel-calc-header h4 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px 0;
  font-family: EuclidCircularB, sans-serif;
}

.steel-calc-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin: 0;
}

.steel-calc-body {
  padding: 30px;
}

.calc-form-label {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.calc-form-control {
  width: 100%;
  height: 48px;
  padding: 10px 16px;
  font-size: 15px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background-color: #f8fafc;
  color: #1e293b;
  font-family: EuclidCircularB, sans-serif;
  transition: all 0.2s ease;
}

.calc-form-control:focus {
  outline: none;
  border-color: #303192;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(48, 49, 146, 0.12);
}

.calc-result-panel {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  padding: 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-result-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  margin-bottom: 15px;
}

.calc-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
}

.calc-metric-label {
  font-size: 14px;
  color: #475569;
}

.calc-metric-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}

.calc-total-banner {
  background: linear-gradient(135deg, #cf2135 0%, #b01a2b 100%);
  color: #ffffff;
  padding: 18px 20px;
  border-radius: 10px;
  margin-top: 15px;
  text-align: center;
}

.calc-total-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.calc-total-number {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

/* Quality Testing Equipment Cards */
.testing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(26, 45, 90, 0.08);
  border-color: #cbd5e1;
}

.testing-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #f1f5f9;
}

.testing-card-body {
  padding: 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.testing-badge {
  display: inline-block;
  align-self: flex-start;
  background-color: rgba(48, 49, 146, 0.08);
  color: #303192;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.testing-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  font-family: EuclidCircularB, sans-serif;
}

.testing-card-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Standards & Certifications */
.compliance-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.compliance-box:hover {
  border-color: #cf2135;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.compliance-box-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px auto;
  border-radius: 50%;
  background: #fff1f2;
  color: #cf2135;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.compliance-box h5 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.compliance-box p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Genuine TMT Identification Checkpoints */
.authenticity-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #cf2135;
  border-radius: 10px;
  padding: 22px;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.authenticity-card:hover {
  box-shadow: 0 8px 25px rgba(207, 33, 53, 0.08);
  transform: translateX(4px);
}

.authenticity-number {
  font-size: 12px;
  font-weight: 700;
  color: #cf2135;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.authenticity-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.authenticity-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Manufacturing Process Steps */
.process-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 20px;
  position: relative;
  height: 100%;
  transition: all 0.3s ease;
}

.process-step-card:hover {
  border-color: #303192;
  box-shadow: 0 8px 24px rgba(48, 49, 146, 0.06);
  transform: translateY(-4px);
}

.process-step-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #303192;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.process-step-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.process-step-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Distributor Cards */
.distributor-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 26px;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.distributor-card:hover {
  border-color: #303192;
  box-shadow: 0 10px 25px rgba(48, 49, 146, 0.08);
  transform: translateY(-3px);
}

.distributor-location {
  font-size: 12px;
  font-weight: 700;
  color: #cf2135;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.distributor-name {
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.distributor-detail-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.distributor-detail-list li {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.distributor-detail-list li i {
  color: #303192;
  margin-top: 3px;
  width: 16px;
  text-align: center;
}

/* Video Showcase Box */
.video-showcase-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border: 2px solid #e2e8f0;
  background: #000000;
}

.video-showcase-box iframe {
  width: 100%;
  height: 480px;
  display: block;
  border: none;
}

/* FAQ Accordion */
.rebar-faq-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 5px !important;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.25s ease;
}

.rebar-faq-card:hover {
  border-color: #cbd5e1;
}

.rebar-faq-btn {
  width: 100%;
  margin-bottom: 5px !important;
  text-align: left;
  padding: 18px 22px;
  background: #ffffff;
  border: none;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: EuclidCircularB, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rebar-faq-btn:not(.collapsed) {
  background: #f8fafc;
  color: #cf2135;
  border-bottom: 1px solid #e2e8f0;
}

.rebar-faq-btn i {
  transition: transform 0.3s ease;
  font-size: 14px;
  color: #64748b;
}

.rebar-faq-btn:not(.collapsed) i {
  transform: rotate(180deg);
  color: #cf2135;
}

.rebar-faq-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

.rebar-faq-body {
  padding: 16px 22px !important;
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

/* Print Styles for Spec Table */
@media print {
  body * {
    visibility: hidden;
  }
  #spec-chart, #spec-chart * {
    visibility: visible;
  }
  #spec-chart {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .video-showcase-box iframe {
    height: 280px;
  }
  .steel-calc-body {
    padding: 20px;
  }
  .spec-table-header {
    padding: 16px 20px;
  }
}
