.product-group-page {
  background: #f5f7fb;
}

/* Hero Banner */
.pg-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 290px;
  overflow: hidden;
  background: #0d2342;
  color: #fff;
}

.pg-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
}

.pg-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 30, 64, .88) 0%, rgba(6, 30, 64, .64) 55%, rgba(6, 30, 64, .42) 100%);
}

.pg-hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1200px);
  margin: 0 auto;
  padding: 52px 0;
}

.pg-hero-inner h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.pg-hero-sub {
  max-width: 620px;
  margin: 12px 0 18px;
  color: rgba(255, 255, 255, .86);
  font-size: 16px;
  line-height: 1.5;
}

.pg-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
}

.pg-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.pg-breadcrumb [aria-current="page"] {
  color: #7cc0ff;
  font-weight: 600;
}

/* Main Two-Column Layout */
.pg-body {
  padding: 44px 0 64px;
}

.pg-layout {
  width: min(calc(100% - 48px), 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

/* Left Sidebar */
.pg-sidebar {
  display: grid;
  gap: 24px;
}

.pg-cat-card {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 2px;
  overflow: hidden;
}

.pg-cat-heading {
  position: relative;
  margin: 0;
  padding: 16px 20px 16px 24px;
  background: #f1f5fa;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pg-cat-heading::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--navy);
}

.pg-cat-list {
  margin: 0;
  padding: 12px 0;
  list-style: none;
}

.pg-cat-list a {
  display: block;
  padding: 11px 20px 11px 34px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  transition: color .15s ease;
}

.pg-cat-list a:hover,
.pg-cat-list a[aria-current="page"] {
  color: var(--blue);
}

/* Sidebar Promo Card */
.pg-promo-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #0d2342;
  color: #fff;
  min-height: 250px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 8px 24px rgba(12, 49, 94, .12);
}

.pg-promo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
}

.pg-promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 30, 64, .55) 0%, rgba(6, 30, 64, .92) 100%);
}

.pg-promo-content {
  position: relative;
  z-index: 1;
  padding: 24px 20px;
}

.pg-promo-content h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.pg-promo-content p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  line-height: 1.55;
}

.pg-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: background-color .15s ease;
}

.pg-promo-btn:hover {
  background: var(--blue-dark);
}

.pg-promo-link {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .8);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
}

/* Right Product Grid */
.pg-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.pg-count {
  margin: 0;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
}

.pg-state {
  padding: 40px 20px;
  text-align: center;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.pg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pg-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pg-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(12, 49, 94, .1);
}

.pg-card-media {
  display: flex;
  flex: 0 0 auto;
  width: 100%;
  height: 210px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
}

.pg-card-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pg-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 18px;
}

.pg-card-title {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  height: calc(1.35em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pg-card-title a:hover {
  color: var(--blue);
}

.pg-card-summary {
  margin: 0 0 18px;
  color: #52627a;
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pg-card-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr;
}

.pg-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}

.pg-btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

/* Bottom Quote Section */
.pg-quote {
  background: #0d2342;
  color: #fff;
  padding: 64px 0;
}

.pg-quote-inner {
  width: min(calc(100% - 48px), 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: start;
}

.pg-quote-eyebrow {
  margin: 0 0 10px;
  color: #6cb4ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.pg-quote-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
}

.pg-quote-intro > p:not(.pg-quote-eyebrow) {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.6;
}

.pg-quote-intro ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: rgba(255, 255, 255, .9);
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.pg-quote-form {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  padding: 28px;
}

.pg-selected-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 4px;
  background: rgba(8, 120, 238, .22);
  border: 1px solid rgba(108, 180, 255, .45);
  font-size: 13px;
}

.pg-clear-product {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.pg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.pg-form-grid label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
}

.pg-form-grid input,
.pg-form-grid textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 4px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
}

.pg-form-full {
  grid-column: 1 / -1;
}

.pg-req {
  color: #ff7b7b;
}

.pg-submit-btn {
  width: 100%;
  min-height: 46px;
  font-size: 15px;
}

.pg-quote-feedback {
  margin: 12px 0 0;
  min-height: 20px;
  font-size: 14px;
  color: #9bd0ff;
}

@media (max-width: 1024px) {
  .pg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .pg-layout {
    grid-template-columns: 1fr;
  }
  .pg-quote-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .pg-hero-inner,
  .pg-layout,
  .pg-quote-inner {
    width: calc(100% - 32px);
  }
  .pg-grid {
    grid-template-columns: 1fr;
  }
  .pg-form-grid {
    grid-template-columns: 1fr;
  }
  .pg-quote-form {
    padding: 20px 16px;
  }
}
