/* Shared styles extracted from HTML files */
.page-break { page-break-before: always; margin-bottom: 100px; }

@media print {
  .footer-print-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    z-index: 9999;
  }
  .header-print-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 10000;
  }
  body { margin-top: 100px; margin-bottom: 120px; }
}

:root {
  --bs-primary-rgb: 32, 78, 112;
  --bs-secondary-rgb: 96, 99, 105;
}

.sng-page {
  background-color: #fff;
  border-radius: var(--bs-border-radius, 0.375rem);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sng-page > * {
  width: 100%;
}

.sng-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.sng-content > * {
  width: min(700px, 100%);
  max-width: 700px;
}

sng-product-card {
  display: contents;
}

.sng-hero {
  background: linear-gradient(135deg, rgba(32, 78, 112, 0.08), rgba(96, 99, 105, 0.08));
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sng-hero-badge {
  background: rgba(32, 78, 112, 0.1);
  color: rgb(var(--bs-primary-rgb));
}

.sng-section-title {
  letter-spacing: 0.02em;
}

.sng-logo {
  max-height: 160px;
  object-fit: contain;
  filter: grayscale(10%);
}

.sng-carousel-control {
  width: 3rem;
}

.sng-carousel-control .carousel-control-prev-icon,
.sng-carousel-control .carousel-control-next-icon {
  filter: invert(20%);
}

.sng-card-media {
  height: 180px;
  background: radial-gradient(circle, rgba(248, 249, 250, 0.2) 0%, rgba(248, 249, 250, 0.85) 55%, #f8f9fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

@media (max-width: 992px) {
  .sng-card-media {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .sng-page {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
  }

  .sng-card-media {
    height: 220px;
  }

  .sng-logo {
    max-height: 64px;
    max-width: 180px;
  }
}

@media (max-width: 576px) {
  .sng-page {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
  }

  .sng-card-media {
    height: 200px;
  }
}

.sng-card-media.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--sng-card-bg);
  background-size: cover;
  background-position: center;
  filter: blur(12px) saturate(1.05);
  transform: scale(1.08);
  opacity: 0.6;
}

.sng-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  position: relative;
  z-index: 1;
}

.sng-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #adb5bd;
  font-size: 2rem;
}

.sng-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sng-tag-list .sng-tag {
  border-radius: 999px;
}

.sng-quote-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1050;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
}

.sng-quote-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

.sng-quote-modal.is-open {
  display: flex;
}

.sng-quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.sng-quote-modal__dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  width: min(90vw, 420px);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.25);
}

@media (max-width: 576px) {
  .sng-quote-fab {
    right: 1rem;
    bottom: 1rem;
    padding: 0.65rem 1rem;
  }
}

.list-group-item.ps-0,
.list-group-item.d-flex {
  padding-top: 0.0 !important;
  padding-bottom: 0.0 !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.list-group.list-group-flush > .list-group-item {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  padding: 0 0 !important;
}

.list-group-item.border-0 > span.ms-2 {
  position: relative;
  padding-left: 1.5rem;
  display: inline-block;
}

.list-group-item.border-0 > span.ms-2::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: -0.1rem;
  color: rgb(var(--bs-primary-rgb));
  font-size: 1.5rem;
  line-height: 1;
}

.list-group-item.border-0 > span.sng-item-label::before {
  content: none !important;
}

@media print {
  .bg-primary {
    background-color: rgb(var(--bs-primary-rgb)) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}
