/* ══════════════════════════════════════
   SINGLE PRODUCT PAGE CSS
══════════════════════════════════════ */

/* ─── PAGE BANNER ─── */
.product-banner {
  background: #fff;
  padding: 48px 0 0;
}
.product-banner h1 {
  font-size: 42px; font-weight: 700;
  color: #0C2545; margin-bottom: 10px; line-height: 1.15;
}
.product-banner .tagline {
  font-size: 15px; color: #020A12; max-width: 700px;
}

/* ─── BREADCRUMB ─── */
.breadcrumb-bar { background: #fff; padding: 12px 0 24px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; list-style: none; }
.breadcrumb a { color: #020A12; transition: color .2s; }
.breadcrumb a:hover { color: #0F57A4; }
.breadcrumb-sep { color: #bbb; display: flex; align-items: center; }
.breadcrumb-current { color: #0C2545; font-weight: 500; }

/* ─── MAIN WRAPPER ─── */
.single-product-wrap { background: #F7F7F7; padding: 40px 0; }

/* ─── OVERVIEW CARD ─── */
.overview-card {
  background: #fff; border-radius: 8px;
  padding: 32px; margin-bottom: 24px;
  box-shadow: 0 1px 6px rgba(12,37,69,0.06);
}
.overview-card h2 {
  font-size: 22px; font-weight: 500;
  color: #0C2545; margin-bottom: 20px;
}
.product-images-label {
  font-size: 11px; font-weight: 700; color: #020A12;
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 12px;
}
.product-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 28px;
}
.gallery-item {
  background: #F0F4F8; border-radius: 6px;
  overflow: hidden; height: 160px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 2px solid transparent; transition: border-color .2s;
}
.gallery-item:first-child { border-color: #0F57A4; }
.gallery-item:hover { border-color: #0F57A4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Meta row */
.product-meta-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; padding: 24px 0;
  border-top: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5;
  margin-bottom: 24px;
}
.meta-label {
  font-size: 11px; font-weight: 700; color: #020A12;
  text-transform: uppercase; letter-spacing: .7px; margin-bottom: 4px;
}
.meta-value { font-size: 16px; font-weight: 700; color: #0C2545; }
.meta-value.in-stock { color: #1a8c3c; }

.btn-request {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0F57A4; color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 11px 24px; border-radius: 4px;
  border: none; cursor: pointer; font-family: inherit;
  transition: background .2s; text-decoration: none;
}
.btn-request:hover { background: #0d4a8e; }
.btn-request svg { width: 15px; height: 15px; }

/* ─── TABS ─── */
.tabs-card {
  background: #fff; border-radius: 8px;
  overflow: hidden; margin-bottom: 24px;
  box-shadow: 0 1px 6px rgba(12,37,69,0.06);
}
.tabs-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.tab-btn {
  padding: 16px 20px; font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; font-family: inherit;
  transition: all .2s; text-align: center;
}
.tab-btn.active {
  background: #fff; color: #0F57A4;
  border-bottom: 3px solid #0F57A4;
}
.tab-btn:not(.active) {
  background: #0F57A4; color: #fff;
  border-bottom: 3px solid transparent;
}
.tab-btn:not(.active):hover { background: #0d4a8e; }
.tab-content { padding: 32px; display: none; }
.tab-content.active { display: block; }
.tab-content h3 { font-size: 22px; font-weight: 600; color: #0C2545; margin-bottom: 20px; }

/* Specs table */
.specs-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.specs-table thead tr { background: #F0F4F8; }
.specs-table thead th {
  padding: 12px 16px; font-size: 13px; font-weight: 700;
  color: #0C2545; text-align: left;
}
.specs-table thead th:nth-child(2) { text-align: center; }
.specs-table thead th:nth-child(3) { text-align: right; }
.specs-table tbody tr { border-bottom: 1px solid #E5E5E5; }
.specs-table tbody tr:last-child { border-bottom: none; }
.specs-table tbody td { padding: 14px 16px; font-size: 14px; color: #020A12; }
.specs-table tbody td:nth-child(2) { text-align: center; color: #0C2545; font-weight: 500; }
.specs-table tbody td:nth-child(3) { text-align: right; font-style: italic; }
.specs-note {
  background: #F7F7F7; border-radius: 6px;
  padding: 16px 20px; font-size: 13.5px; color: #020A12; line-height: 1.6;
}
.specs-note strong { color: #0C2545; }

/* Applications */
.applications-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.application-item { background: #F7F7F7; border-radius: 6px; padding: 16px 20px; }
.application-item-title { font-size: 14px; font-weight: 700; color: #0C2545; margin-bottom: 4px; }
.application-item-desc { font-size: 13px; color: #020A12; }
.packaging-heading { font-size: 20px; font-weight: 600; color: #0C2545; margin-bottom: 16px; }
.packaging-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.packaging-tag {
  border: 1.5px solid #E5E5E5; border-radius: 4px;
  padding: 8px 18px; font-size: 13px; font-weight: 500; color: #0C2545;
}

/* Downloads */
.downloads-list { display: flex; flex-direction: column; }
.download-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid #E5E5E5;
}
.download-item:last-child { border-bottom: none; }
.download-left { display: flex; align-items: center; gap: 14px; }
.download-icon {
  width: 40px; height: 40px; background: #F7F7F7;
  border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.download-icon svg { width: 22px; height: 22px; color: #0F57A4; }
.download-name { font-size: 14px; font-weight: 700; color: #0C2545; margin-bottom: 2px; }
.download-meta { font-size: 12px; color: #020A12; }
.btn-download {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid #0F57A4; color: #0F57A4; background: #fff;
  font-size: 13px; font-weight: 600;
  padding: 8px 18px; border-radius: 4px;
  cursor: pointer; font-family: inherit; transition: all .2s; white-space: nowrap;
  text-decoration: none;
}
.btn-download:hover { background: #0F57A4; color: #fff; }
.btn-download svg { width: 14px; height: 14px; }

/* ─── CONTACT BANNER ─── */
.contact-banner {
  background: #F1F7FE; border-radius: 8px;
  padding: 32px 40px; display: flex;
  align-items: center; justify-content: space-between; gap: 32px;
}
.contact-banner-text h3 {
  font-size: 22px; font-weight: 500; color: #0C2545; margin-bottom: 6px;
}
.contact-banner-text p { font-size: 14px; color: #020A12; max-width: 520px; }
.btn-contact {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0F57A4; color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 12px 28px; border-radius: 4px;
  border: none; cursor: pointer; font-family: inherit;
  white-space: nowrap; transition: background .2s; flex-shrink: 0;
  text-decoration: none;
}
.btn-contact:hover { background: #0d4a8e; }
.btn-contact svg { width: 15px; height: 15px; }

/* ─── OTHER PRODUCTS ─── */
.other-products { padding: 60px 0; background: #fff; }
.other-products-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 32px;
}
.other-products-header h2 { font-size: 32px; font-weight: 500; color: #0C2545; }
.btn-portfolio {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0F57A4; color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 10px 20px; border-radius: 4px;
  border: none; cursor: pointer; font-family: inherit;
  transition: background .2s; text-decoration: none;
}
.btn-portfolio:hover { background: #0d4a8e; }
.btn-portfolio svg { width: 14px; height: 14px; }
.other-products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}

/* Product cards */
.sp-product-card {
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 0 0 2px #fff; transition: box-shadow .25s;
  background: #fff; display: flex; flex-direction: column; text-decoration: none;
}
.sp-product-card:hover { box-shadow: 0 0 0 3px #0F57A4, 0 4px 20px rgba(15,87,164,0.12); }
.sp-product-img-wrap { position: relative; width: 100%; height: 180px; background: #EBEBEB; overflow: hidden; flex-shrink: 0; }
.sp-product-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-purity-badge {
  position: absolute; top: 10px; right: 0;
  background: #30ABE1; color: #fff;
  font-size: 9.5px; font-weight: 600;
  padding: 3px 8px; border-radius: 3px 0 0 3px; white-space: nowrap;
}
.sp-product-info { padding: 14px 14px 18px; background: #fff; transition: background .25s; flex: 1; display: flex; flex-direction: column; gap: 7px; }
.sp-product-card:hover .sp-product-info { background: #0F57A4; }
.sp-product-name { font-size: 13.5px; font-weight: 700; color: #0F57A4; line-height: 1.3; transition: color .25s; }
.sp-product-card:hover .sp-product-name { color: #fff; }
.sp-product-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.sp-product-tag { font-size: 10.5px; padding: 2px 8px; border: none; border-radius: 0; color: #30ABE1; background: #F7F7F7; }
.sp-product-card:hover .sp-product-tag { background: #fff; color: #30ABE1; }
.sp-product-desc {
  font-size: 11.5px; color: #020A12; line-height: 1.5; transition: color .25s;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sp-product-card:hover .sp-product-desc { color: rgba(255,255,255,0.8); }

/* ─── MOBILE ─── */
@media (max-width: 1024px) {
  .other-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .product-banner { padding: 32px 0 0; }
  .product-banner h1 { font-size: 28px; }
  .product-gallery { grid-template-columns: repeat(2, 1fr); }
  .product-meta-row { grid-template-columns: 1fr; gap: 16px; }
  .tabs-row { grid-template-columns: 1fr; }
  .contact-banner { flex-direction: column; gap: 20px; padding: 24px 20px; }
  .other-products-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  /* Other products — hide grid, show slider */
  .other-products-grid { display: none !important; }
  .other-products-slider-wrap { display: block !important; overflow: hidden; width: 100%; }
  .other-products-header .btn-portfolio { display: none; }
  .other-products-mobile-btn { display: block; margin-top: 16px; }
  .other-products-mobile-btn .btn-portfolio { width: 100%; justify-content: center; padding: 14px 20px; }
  /* Slider */
  .other-products-slider-track { display: flex; transition: transform 0.35s ease; will-change: transform; }
  .other-products-slider-track .sp-product-card { flex: 0 0 100%; min-width: 100%; max-width: 100%; }
  .slider-dots { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
  .slider-dots button {
    width: 24px; height: 6px; border-radius: 3px;
    border: none; background: #D5E3F0; cursor: pointer; transition: all .2s; padding: 0;
  }
  .slider-dots button.active { background: #0F57A4; width: 32px; }
  .slider-nav { display: none; }
}
@media (min-width: 769px) {
  .other-products-slider-wrap { display: none !important; }
  .other-products-grid { display: grid !important; }
  .other-products-mobile-btn { display: none !important; }
}

/* ─── CONTACT BANNER — full width section ─── */
.contact-banner-section {
  background: #F1F7FE;
  padding: 0;
  width: 100%;
}
.contact-banner-section .contact-banner {
  background: transparent;
  border-radius: 0;
  padding: 40px 0;
}
@media (max-width: 768px) {
  .contact-banner-section .contact-banner { padding: 32px 0; }
}
