/**
 * Single product page — modern product detail layout
 */

body.single-product {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(2, 162, 228, 0.07) 0%, transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f1f5f9 100%);
}

body.single-product #main.site-main.single-product-page {
  max-width: 1280px;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ---- Showcase card (overlaps banner) ---- */
.single-product-showcase {
  margin-top: clamp(-2.75rem, -5vw, -1.75rem);
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 28px 72px rgba(15, 44, 73, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (min-width: 1024px) {
  .single-product-showcase {
    margin-top: -3.25rem;
    padding: clamp(1.75rem, 3vw, 2.25rem);
  }
}

/* ---- Section titles ---- */
.sp-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.sp-section-title--sm {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #475569;
}

.sp-section-title::after {
  content: "";
  flex: 1;
  max-width: 3rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0369a1, rgba(93, 204, 245, 0.4));
}

.sp-section-title--sm::after {
  max-width: 2rem;
}

/* ---- Lead text ---- */
.sp-product-lead {
  padding: 1.1rem 1.2rem;
  border-radius: 1rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #475569;
  background: linear-gradient(165deg, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.sp-product-lead--compact {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.98rem;
}

/* ---- Shared panels ---- */
.sp-panel {
  padding: 1.25rem 1.3rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 20px rgba(15, 44, 73, 0.04);
}

.sp-meta-panel {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 24px rgba(15, 44, 73, 0.04);
}

.sp-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  margin: 0;
}

@media (min-width: 640px) {
  .sp-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1.25rem;
  }

  .sp-meta-grid > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.sp-meta-grid > div {
  display: flex;
  gap: 0.45rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.85);
}

.sp-meta-grid > div:last-child {
  border-bottom: 0;
}

.sp-meta-grid dt {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.sp-meta-grid dd {
  margin: 0;
  font-size: 0.95rem;
  color: #334155;
}

.sp-meta-grid dd a {
  color: #0369a1;
  font-weight: 600;
  text-decoration: none;
}

.sp-meta-grid dd a:hover {
  text-decoration: underline;
}

/* ---- Action panel (CTA + share) ---- */
.sp-action-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 32px rgba(15, 44, 73, 0.06);
}

.sp-action-panel__row,
.sp-share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.sp-action-panel__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

.sp-category-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f2c49;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sp-category-chip:hover {
  color: #fff;
  background: #0f2c49;
  border-color: #0f2c49;
}

.sp-share-row .share-btn {
  border-radius: 0.65rem !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.sp-share-row .share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 44, 73, 0.18);
}

/* ---- Spec list (sidebar-style rows) ---- */
.sp-spec-list {
  margin: 0;
}

.sp-spec-list__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.sp-spec-list__row:last-child {
  border-bottom: 0;
}

.sp-spec-list__row dt {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
}

.sp-spec-list__row dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  text-align: right;
}

/* ---- Download rows ---- */
.sp-download-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(248, 250, 252, 0.75);
  transition: background 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 640px) {
  .sp-download-row {
    flex-direction: row;
    align-items: center;
  }
}

.sp-download-row:hover {
  background: rgba(241, 245, 249, 0.95);
  border-color: rgba(2, 162, 228, 0.22);
}

/* ---- Applications ---- */
.sp-applications__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---- Features list ---- */
.sp-features-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.sp-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .sp-feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sp-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.sp-feature-list__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: rgba(224, 242, 254, 0.95);
}

/* ---- Tabs body card ---- */
.single-product-tabs {
  margin-top: clamp(2.75rem, 5vw, 4rem);
  padding-top: clamp(2rem, 3.5vw, 2.75rem);
  border-top: 1px solid rgba(226, 232, 240, 0.92);
}

/* Product meta bar — above tabs, not sticky */
.sp-product-meta-bar {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  padding: clamp(1.25rem, 2.5vw, 1.6rem) clamp(1.35rem, 2.5vw, 1.75rem);
  border-radius: 1.1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  box-shadow: 0 8px 28px rgba(15, 44, 73, 0.05);
}

.sp-product-meta-bar__title {
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.sp-product-meta-bar__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 1.5rem;
  margin: 0;
}

@media (min-width: 640px) {
  .sp-product-meta-bar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .sp-product-meta-bar__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sp-product-meta-bar__grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sp-product-meta-bar__wide {
  grid-column: 1 / -1;
}

.sp-product-meta-bar__grid dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

.sp-product-meta-bar__grid dd {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.45;
}

.sp-product-meta-bar__grid dd a {
  color: #0369a1;
  text-decoration: none;
}

.sp-product-meta-bar__grid dd a:hover {
  text-decoration: underline;
}

.single-product-tabs__nav {
  margin-bottom: 1.25rem;
}

.single-product-tabs__body .product-tab-pane {
  padding-top: 0.35rem;
}

.single-product-tabs__body .product-description-block {
  margin-bottom: 0;
}

.single-product-tabs .product-tab-pane .product-description-block .sp-section-title {
  display: none;
}

.single-product-tabs__body {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 1.25rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 40px rgba(15, 44, 73, 0.06);
}

.sp-spec-table-wrap {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
}

.sp-details-sidebar .details-sidebar-box {
  margin-top: 0.5rem;
}

/* ---- Related products ---- */
.sp-related-card {
  display: flex;
  flex-direction: column;
  max-width: 18rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 44, 73, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sp-related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(2, 162, 228, 0.25);
  box-shadow: 0 16px 40px rgba(2, 162, 228, 0.12);
}

.sp-related-empty {
  padding: 3.5rem 2rem;
  text-align: center;
  border-radius: 1rem;
  border: 1px dashed rgba(203, 213, 225, 0.95);
  background: rgba(248, 250, 252, 0.75);
}

/* ---- Inquiry section on product page ---- */
body.single-product #product-inquiry:not(.product-inquiry-section--v2) {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  text-align: center;
}

body.single-product #product-inquiry:not(.product-inquiry-section--v2) .product-inquiry-card {
  margin-left: auto;
  margin-right: auto;
  border-radius: 1.25rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 16px 48px rgba(15, 44, 73, 0.08);
}

.single-product-tabs__body .product-description-content .prod-desc-intro {
  padding: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #475569;
}

/* ---- Hero grid ---- */
.single-product-hero {
  align-items: start;
}

@media (min-width: 1024px) {
  .single-product-hero .product-image-sticky {
    position: sticky;
    top: 6.5rem;
  }
}

/* ---- Banner category pill ---- */
.single-product-banner__category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---- Image frame ---- */
.single-product-page .product-image-container {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.25rem;
  background: linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 20px 50px rgba(15, 44, 73, 0.08);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.single-product-page .product-image-container:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 28px 60px rgba(2, 162, 228, 0.12);
}

.single-product-page .product-image-container .aspect-square {
  background: radial-gradient(circle at 50% 38%, rgba(241, 245, 249, 0.9) 0%, rgba(255, 255, 255, 0.4) 70%);
}

.single-product-page .product-zoom-btn {
  opacity: 0.92;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---- Gallery thumbs ---- */
.product-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.product-thumb-btn {
  flex: 0 0 auto;
  width: 4.25rem;
  height: 4.25rem;
  padding: 0.35rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(226, 232, 240, 0.95);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.product-thumb-btn:hover {
  border-color: rgba(2, 162, 228, 0.45);
  transform: translateY(-1px);
}

.product-thumb-btn.active {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 162, 228, 0.15);
}

.product-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ---- Meta box ---- */
.single-product-page .product-meta-box {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.single-product-page .product-meta-box dl > div {
  padding: 0;
  border-bottom: 0;
}

/* ---- Right column ---- */
.single-product-summary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.single-product-model-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0369a1;
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.95) 0%, rgba(240, 249, 255, 0.95) 100%);
  border: 1px solid rgba(2, 162, 228, 0.2);
}

/* ---- Spec cards ---- */
.single-product-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 1280px) {
  .single-product-specs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sp-spec-card {
  padding: 1rem 1.05rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(15, 44, 73, 0.04);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.sp-spec-card:hover {
  border-color: rgba(2, 162, 228, 0.22);
  box-shadow: 0 8px 20px rgba(2, 162, 228, 0.08);
}

.sp-spec-card__label {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.sp-spec-card__value {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

/* ---- CTA card ---- */
.single-product-page .product-image-footer,
.single-product-page .sp-action-panel {
  padding: 1.35rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 32px rgba(15, 44, 73, 0.06);
}

.single-product-page .product-image-footer .sp-request-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #0f2c49 0%, #0369a1 55%, #02a2e4 100%);
  box-shadow: 0 12px 28px rgba(2, 162, 228, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.single-product-page .product-image-footer .sp-request-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(2, 162, 228, 0.34);
}

/* ---- Downloads ---- */
.single-product-page .product-downloads {
  padding: 0;
  border: 0;
  background: transparent;
}

.single-product-page .product-downloads.sp-panel {
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.82);
}

.single-product-page .product-downloads > h3 {
  margin-bottom: 1rem;
}

/* ---- Tabs (segmented) ---- */
.single-product-tabs__pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.single-product-tabs .product-tab-btn {
  margin: 0 !important;
  padding: 0.7rem 1.35rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  line-height: 1.3;
  color: #64748b !important;
  background: transparent !important;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.single-product-tabs .product-tab-btn:hover {
  color: #0f172a !important;
  background: rgba(255, 255, 255, 0.65) !important;
}

.single-product-tabs .product-tab-btn.active {
  color: #fff !important;
  background: linear-gradient(135deg, #0f2c49 0%, #0369a1 100%) !important;
  box-shadow: 0 8px 20px rgba(15, 44, 73, 0.2);
}

.single-product-tabs .product-tab-pane {
  animation: spTabFade 0.35s ease;
}

@keyframes spTabFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.single-product-tabs .product-tab-pane > h4:not(.sp-section-title),
.single-product-tabs .product-tab-pane h4:not(.sp-section-title) {
  position: relative;
  padding-bottom: 0.65rem;
  margin-bottom: 1rem;
}

.single-product-tabs .product-tab-pane > h4:not(.sp-section-title)::after,
.single-product-tabs .product-tab-pane h4:not(.sp-section-title)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0369a1, #5dccf5);
}

.single-product-tabs .product-tab-pane .sp-section-title {
  position: static;
  padding-bottom: 0;
}

/* Spec table */
.single-product-tabs table {
  border-radius: 1rem;
  overflow: hidden;
}

.single-product-tabs table thead tr {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.single-product-tabs table tbody tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.65);
}

.single-product-page .details-sidebar-box {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(15, 44, 73, 0.05);
}

/* ---- Product description listing (.prod-desc from CMS) ---- */
.single-product-page .product-description-content .prod-desc-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

.single-product-page .product-description-content .prod-desc-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.15rem;
  row-gap: 0.35rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.single-product-page .product-description-content .prod-desc-item::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: start;
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  margin-top: 0.05rem;
  border-radius: 0.7rem;
  background-color: rgba(224, 242, 254, 0.95);
  border: 1px solid rgba(2, 162, 228, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230369a1' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.2rem 1.2rem;
  box-shadow: 0 2px 8px rgba(2, 162, 228, 0.1);
}

.single-product-page .product-description-content .prod-desc-item > h2,
.single-product-page .product-description-content .prod-desc-item > h3,
.single-product-page .product-description-content .prod-desc-item > h4 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.45;
  text-transform: none;
  color: #0f2c49;
  border: 0;
  background: none;
}

.single-product-page .product-description-content .prod-desc-item > h2::before,
.single-product-page .product-description-content .prod-desc-item > h3::before,
.single-product-page .product-description-content .prod-desc-item > h4::before {
  display: none;
}

.single-product-page .product-description-content .prod-desc-item ul,
.single-product-page .product-description-content .prod-desc-item ol {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

.single-product-page .product-description-content .prod-desc-item ul li,
.single-product-page .product-description-content .prod-desc-item ol li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.94rem;
  line-height: 1.75;
  color: #64748b;
}

.single-product-page .product-description-content .prod-desc-item ul li::before,
.single-product-page .product-description-content .prod-desc-item ol li::before {
  display: none;
}

.single-product-page .product-description-content .prod-desc-item > p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.94rem;
  line-height: 1.75;
  color: #64748b;
}

.single-product-page .product-description-content .prod-desc-intro {
  padding: 0 0 0.25rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #475569;
}

/* Fallback for unwrapped prod-desc content */
.single-product-page .product-description-content .prod-desc:not(.prod-desc-list) {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.single-product-page .product-description-content .prod-desc:not(.prod-desc-list) > h2,
.single-product-page .product-description-content .prod-desc:not(.prod-desc-list) > h3,
.single-product-page .product-description-content .prod-desc:not(.prod-desc-list) > h4 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.45;
  text-transform: none;
  color: #0f2c49;
  border: 0;
}

.single-product-page .product-description-content .prod-desc:not(.prod-desc-list) > p {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.94rem;
  line-height: 1.75;
  color: #64748b;
}

.single-product-page .product-description-content .prod-desc:not(.prod-desc-list) ul,
.single-product-page .product-description-content .prod-desc:not(.prod-desc-list) ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-product-page .product-description-content .prod-desc:not(.prod-desc-list) ul li,
.single-product-page .product-description-content .prod-desc:not(.prod-desc-list) ol li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.94rem;
  line-height: 1.75;
  color: #64748b;
}

.single-product-page .product-description-content .prod-desc li strong {
  display: inline;
  color: #0f172a;
  font-weight: 700;
}

.single-product-page .product-description-content .prod-desc a {
  color: #0369a1;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(2, 162, 228, 0.35);
  text-underline-offset: 2px;
}

.single-product-page .product-description-content .prod-desc a:hover {
  color: #0284c7;
}

.single-product-page .product-description-content .prod-desc table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 14px rgba(15, 44, 73, 0.04);
}

.single-product-page .product-description-content .prod-desc table th,
.single-product-page .product-description-content .prod-desc table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  text-align: left;
  font-size: 0.95rem;
}

.single-product-page .product-description-content .prod-desc table th {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  font-weight: 700;
  color: #0f172a;
}

.single-product-page .product-description-content .prod-desc table tr:last-child td {
  border-bottom: 0;
}

.single-product-page .product-description-content .prod-desc img {
  border-radius: 0.9rem;
  box-shadow: 0 8px 24px rgba(15, 44, 73, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .single-product-tabs .product-tab-pane {
    animation: none;
  }

  .sp-spec-card:hover,
  .single-product-page .product-image-footer .sp-request-btn:hover,
  .sp-related-card:hover {
    transform: none;
  }
}
.single-product-page .sp-app-tag {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0369a1;
  background: rgba(224, 242, 254, 0.65);
  border: 1px solid rgba(2, 162, 228, 0.18);
}

/* Catalogue modal + preview btn (moved from inline) */
#cataloguePdfModal {
  height: 100vh;
  height: 100dvh;
}

#cataloguePdfModal:not(.hidden) {
  display: flex;
  flex-direction: column;
}

#cataloguePdfModal .catalogue-pdf-modal-panel {
  height: calc(100vh - 1.5rem);
  height: calc(100dvh - 1.5rem);
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
}

#cataloguePdfModal .catalogue-pdf-viewer-wrap {
  min-height: 320px;
}

#cataloguePdfModal .catalogue-pdf-frame {
  display: block;
  min-height: 320px;
}

@media (min-width: 640px) {
  #cataloguePdfModal .catalogue-pdf-modal-panel {
    height: calc(100vh - 2.5rem);
    height: calc(100dvh - 2.5rem);
    max-height: calc(100vh - 2.5rem);
    max-height: calc(100dvh - 2.5rem);
  }
}

.product-downloads .catalogue-preview-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  border: 1.5px solid #0284c7;
  background: #fff;
  color: #0284c7;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.1);
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 640px) {
  .product-downloads .catalogue-preview-btn {
    width: auto;
    min-height: 2.5rem;
  }
}

.product-downloads .catalogue-preview-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}

.product-downloads .catalogue-preview-btn__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.product-downloads .catalogue-preview-btn:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 55%, #38bdf8 100%);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.32);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .single-product-specs-grid {
    grid-template-columns: 1fr;
  }

  .single-product-tabs__pills {
    display: flex;
    width: 100%;
    border-radius: 1rem;
  }

  .single-product-tabs .product-tab-btn {
    flex: 1 1 auto;
    text-align: center;
    padding-inline: 0.75rem !important;
    font-size: 0.82rem !important;
  }
}

.sp-specs-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Override legacy style.css tab rules */
body.single-product .single-product-tabs .product-tab-btn.active {
  background: linear-gradient(135deg, #0f2c49 0%, #0369a1 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 20px rgba(15, 44, 73, 0.2);
}

body.single-product .single-product-tabs .product-tab-btn:not(.active) {
  background: transparent !important;
  color: #64748b !important;
  border-color: transparent !important;
}

body.single-product .single-product-tabs .product-tab-btn:not(.active):hover {
  background: rgba(255, 255, 255, 0.65) !important;
  color: #0f172a !important;
}

@media (prefers-reduced-motion: reduce) {
  .single-product-tabs .product-tab-pane {
    animation: none;
  }

  .sp-spec-card:hover,
  .single-product-page .product-image-footer .sp-request-btn:hover,
  .sp-related-card:hover {
    transform: none;
  }
}
