.pc-pool-liner-promo {
  margin: 0 auto;
  width: 370px;
}

.pc-pool-liner-promo-left {
  float: left;
  margin: 20px 15px 0 0;
  width: 180px;
}

.pc-pool-liner-promo-title {
  font-size: 110%;
  padding-left: 15px;
  text-decoration: underline;
  text-decoration-color: #cc0000;
}

.pc-pool-liner-promo-right {
  float: left;
  margin: 0;
  width: 150px;
}

.pc-pool-liner-promo-icon {
  float: left;
  padding-right: 5px;
  padding-top: 15px;
}

.pc-pool-liner-promo-link {
  color: #cc0000;
  float: left;
  padding-top: 4px;
  text-decoration: underline;
  text-decoration-color: #cc0000;
}

.pc-pool-liner-promo-clear {
  clear: left;
}

.pc-quote-table {
  height: 54px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  width: 266px;
}

.pc-quote-row {
  height: 30px;
}

.pc-quote-image-cell {
  text-align: right;
  width: 75px;
}

.pc-quote-text-cell {
  text-align: left;
  width: 171px;
}

.pc-quote-text-wrap {
  text-align: left;
}

.pc-quote-text-highlight {
  color: #cc0000;
  font-weight: bold;
}

.pc-dupcover {
  margin: 12px;
  text-align: justify;
  width: 650px;
}

.pc-dupcover-form {
  width: 400px;
}

.pc-dupcover-row {
  width: 400px;
}

.pc-dupcover-option-left {
  float: left;
  padding: 10px;
  width: 180px;
}

.pc-dupcover-option-right {
  float: right;
  padding: 10px;
  text-align: right;
  width: 180px;
}

.pc-dupcover-select {
  width: 95px;
}

.pc-dupcover-dimensions {
  clear: both;
  padding: 10px;
  width: 380px;
}

.pc-dupcover-input {
  width: 35px;
}

/* Primary CTA: Option B (Orange) */
.btn-get-prices {
  background-color: #C2410C !important;
  border-color: #C2410C !important;
  color: #ffffff !important;

  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
  transition: transform .08s ease, box-shadow .15s ease, filter .15s ease;
}

.btn-get-prices:hover {
  background-color: #9A3412 !important;
  border-color: #9A3412 !important;
  color: #ffffff !important;

  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
}

.btn-get-prices:active {
  background-color: #7C2D12 !important;
  border-color: #7C2D12 !important;
  transform: translateY(0);
}

.btn-get-prices:focus-visible {
  outline: 3px solid rgba(194, 65, 12, .35);
  outline-offset: 3px;
}

/* Secondary CTA for Copy Cat Program: cooler accent so pricing CTA remains primary. */
.btn-copy-cat {
  background-color: #0F766E !important;
  border-color: #0F766E !important;
  color: #ffffff !important;

  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15, 118, 110, .22);
  transition: transform .08s ease, box-shadow .15s ease, filter .15s ease;
}

.btn-copy-cat:hover {
  background-color: #115E59 !important;
  border-color: #115E59 !important;
  color: #ffffff !important;

  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 118, 110, .26);
}

.btn-copy-cat:active {
  background-color: #134E4A !important;
  border-color: #134E4A !important;
  transform: translateY(0);
}

.btn-copy-cat:focus-visible {
  outline: 3px solid rgba(15, 118, 110, .3);
  outline-offset: 3px;
}

.pc-copy-cat-hero-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pc-copy-cat-logo {
  width: 82px;
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
}

.pc-copy-cat-hero-title {
  font-size: 2.5rem;
  line-height: 1.1;
}

.pc-copy-cat-cover-image {
  height: 220px;
  width: auto;
  max-width: 100%;
}

/* Rect final legacy quote layouts: present as card-style content for consistency. */
.pc-final-quote-stage fieldset {
  border: 1px solid #d8dee9;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  max-width: 760px;
  margin: 0 auto 1.25rem;
}

.pc-final-quote-stage fieldset legend {
  border: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e3a8a;
  text-align: center;
  margin: 0 auto;
  padding: 0 .5rem;
}

.pc-final-quote-stage input[type="submit"],
.pc-final-quote-stage button[type="submit"],
.pc-step-spacing-card .btn.btn-primary {
  border-radius: 10px;
  font-weight: 700;
}


/* Normalize legacy rect-final quote markup into modern card-like sections. */
.pc-final-quote-stage center > fieldset,
.pc-final-quote-stage .content > table {
  width: min(860px, 100% - 1.5rem) !important;
  margin: 1rem auto !important;
  border: 1px solid #d7deea !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.pc-final-quote-stage center > fieldset > legend {
  color: #1e3a8a !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  margin: 0 auto !important;
  padding: .25rem .75rem !important;
}

.pc-final-quote-stage .content > table > tbody > tr > td {
  padding: 1rem 1.25rem !important;
}


.pc-final-contact {
  text-align: center;
}

.pc-final-contact .center {
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.45;
}

.pc-final-quote-stage table.justify td {
  line-height: 1.55;
  padding-top: .35rem;
  padding-bottom: .35rem;
}

.pc-final-quote-stage table.justify td strong {
  color: #102a43;
}


/* Numbered quote lines: keep a fixed number column while preserving legacy inline flow.
   Cause/fix: grid caused legacy inline fragments to fragment unpredictably, so we use
   the simpler absolute-number pattern with neutral text flow. */
.pc-final-quote-stage .pc-quote-numbered {
  position: relative;
  padding-left: 2rem;
  /* Remove top inset so first text baseline aligns with number marker baseline. */
  padding-top: 0;
}

.pc-final-quote-stage table.justify td.pc-quote-numbered {
  padding-top: 0;
}

.pc-final-quote-stage .pc-quote-numbered > b:first-child {
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  text-align: right;
  white-space: nowrap;
  line-height: inherit;
}

.pc-auto-quote-form input[type="text"],
.pc-auto-quote-form input[size="3"] {
  width: 52px;
}

/* Cause/fix: color selection steps still used legacy table markup, so these classes
   normalize spacing and header emphasis to match the modern wizard cards. */
.pc-color-choice-table {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.pc-color-choice-table th {
  width: 220px;
  background: #f8fbff;
  color: #102a43;
  font-weight: 700;
}

.pc-color-choice-table td {
  background: #ffffff;
}

.pc-color-choice-swatch {
  max-width: 100%;
  height: auto;
}


/* pc-058 hardware page layout */
.pc-accessories-content {
  padding: 18px 20px 32px;
  font-size: 16px;
}
.pc-accessories-content h1 {
  margin-top: 0;
  text-align: center;
  margin-bottom: 14px;
}
.pc-accessories-content p {
  line-height: 1.55;
}
.pc-compatibility {
  margin: 44px auto 0;
  padding: 24px 28px;
  background: #f4f7fb;
  border: 1px solid #d0daeb;
  border-radius: 10px;
  max-width: 640px;
}
.pc-compatibility-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  text-align: center;
}
.pc-compatibility-title {
  margin: 0;
  font-size: 1.15em;
  color: #123b76;
}
.pc-return-top {
  font-size: 0.9em;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.pc-return-top:hover,
.pc-return-top:focus {
  border-bottom-color: #1d4ed8;
}
.pc-intro {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}
.pc-intro-summary {
  margin: 0;
  font-size: 1.08em;
  color: #1f2937;
}
.pc-compatibility-jump {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.pc-compatibility-jump:hover,
.pc-compatibility-jump:focus {
  border-bottom-color: #1d4ed8;
}
.pc-compatibility-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  grid-auto-flow: dense;
  gap: 8px 10px;
  margin: 0 auto;
  padding: 0 6px 12px;
  list-style: none;
  justify-items: center;
}
.pc-compatibility-item {
  background: #fff;
  border: 1px solid #d6deef;
  border-radius: 14px;
  padding: 6px 10px;
  font-size: 0.84em;
  color: #1f3356;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 32px;
  line-height: 1.25;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  max-width: 150px;
  width: auto;
}
.pc-compatibility-item--full {
  padding: 10px 30px;
  font-size: 0.9em;
  grid-column: 1 / -1;
  width: auto;
  max-width: 460px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  justify-self: center;
}
@media (max-width: 680px) {
  .pc-compatibility-item--full {
    grid-column: 1 / -1;
  }
}
.pc-add-success {
  margin: 24px auto 0;
  padding: 12px 16px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  color: #047857;
  font-weight: 600;
  text-align: center;
  max-width: 640px;
  box-shadow: 0 1px 2px rgba(4, 120, 87, 0.15);
}
.pc-cart-frame {
  display: none;
  width: 0;
  height: 0;
  border: 0;
}
.pc-view-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 14px;
  font-size: 1em;
  text-decoration: none;
  min-width: 200px;
  color: #ffffff;
  background: linear-gradient(135deg, #15803d, #22c55e);
  border: 1px solid #15803d;
  box-shadow: 0 10px 22px rgba(21, 128, 61, 0.25);
}
.pc-view-cart-button:hover,
.pc-view-cart-button:focus {
  color: #ffffff;
  background: linear-gradient(135deg, #166534, #16a34a);
  border-color: #166534;
}
.pc-view-cart-button--hidden {
  display: none !important;
}
@media (max-width: 720px) {
  .pc-compatibility-item {
    font-size: 0.95em;
  }
}
.pc-product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 860px;
  margin: 26px auto 32px;
  align-items: stretch;
}
.pc-product-grid-top {
  margin-bottom: 10px;
}
.pc-checkout-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 860px;
  margin: 16px auto 10px;
  align-items: stretch;
}
.pc-checkout-card {
  flex: 0 1 260px;
  max-width: 260px;
  background: #fff;
  border: 1px solid #d5dae3;
  border-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
  box-shadow: 0 6px 14px rgba(13, 32, 69, 0.08);
}
.pc-checkout-card .pc-card-checkout {
  margin-top: 0;
}
.pc-product-card {
  flex: 0 1 260px;
  max-width: 260px;
  background: #fff;
  border: 1px solid #d5dae3;
  border-radius: 10px;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  box-shadow: 0 6px 14px rgba(13, 32, 69, 0.08);
  box-sizing: border-box;
  text-align: center;
}
.pc-product-card h2 {
  margin: 0;
  font-size: 1.25em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
}
.pc-product-card img {
  display: block;
  max-width: 100%;
  width: auto;
  height: 120px;
  margin: 0 auto;
  border-radius: 6px;
  object-fit: contain;
  align-self: center;
}
.pc-card-copy {
  margin: 0;
  width: 100%;
  max-width: none;
  padding: 0 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  flex: 1 1 auto;
  justify-content: flex-start;
}
.pc-card-copy p {
  margin: 0;
  line-height: 1.5;
  color: #2c3d5a;
  font-size: 0.95em;
}
.pc-card-copy .pc-card-lede {
  color: #1f2937;
  font-weight: 600;
}
.pc-card-copy .pc-card-detail {
  color: #2f3f5e;
}
.pc-card-copy .pc-card-note {
  color: #4b5568;
  font-style: italic;
  font-size: 0.9em;
}
.pc-product-card .pc-price-breakdown {
  list-style: none;
  padding: 0 16px;
  margin: 0;
  box-sizing: border-box;
  font-size: 0.95em;
  min-height: 92px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  align-self: stretch;
  clear: both;
}
.pc-product-card .pc-price-breakdown li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
  width: 100%;
  min-height: 28px;
  line-height: 1.35;
  float: none;
  clear: both;
  flex-wrap: nowrap;
}
.pc-product-card .pc-price-breakdown li:last-child {
  margin-bottom: 0;
}
.pc-price-label {
  font-weight: 600;
  text-align: left;
  color: #123b76;
  white-space: nowrap;
  display: block;
  padding-right: 6px;
}
.pc-price-value {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #0b50c5;
  white-space: nowrap;
  display: block;
}
.pc-quantity-group {
  margin: 0;
  width: 100%;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  padding: 0 4px;
  box-sizing: border-box;
}
.pc-card-main {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
}
.pc-card-copy,
.pc-product-card .pc-price-breakdown {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  padding-top: 10px;
  padding-bottom: 10px;
}
.pc-quantity-select {
  width: 100%;
  padding: 6px 9px;
  font-size: 1em;
  box-sizing: border-box;
}
.pc-custom-quantity {
  margin-top: 10px;
}
.pc-custom-quantity input {
  width: 100%;
  padding: 7px 9px;
  font-size: 1em;
  box-sizing: border-box;
}
.pc-custom-quantity-hint {
  margin-top: 4px;
  font-size: 0.85em;
  color: #555;
}
.pc-quantity-error {
  margin-top: 6px;
  font-size: 0.85em;
  color: #a40000;
}
.pc-hidden {
  display: none !important;
}
.pc-card-checkout {
  margin-top: 34px;
  padding: 12px 10px 6px;
  border: 1px solid #cfd8e6;
  border-radius: 12px;
  background: #f4f7fb;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(13, 32, 69, 0.08);
}
.pc-pricing-summary {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: stretch;
  box-sizing: border-box;
  padding: 0 4px 4px;
  min-height: 0;
}
.pc-pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  font-size: 0.95em;
  color: #1f3356;
  column-gap: 10px;
  width: 100%;
  line-height: 1.4;
}
.pc-pricing-row .pc-pricing-label {
  font-weight: 600;
  letter-spacing: 0;
  font-size: 0.88em;
  color: #123b76;
  text-align: left;
}
.pc-pricing-row .pc-pricing-amount {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #0b50c5;
  text-align: right;
  white-space: normal;
}
.pc-pricing-row.pc-pricing-total {
  font-size: 1em;
  padding-top: 6px;
  border-top: 1px solid #d6deef;
  margin-top: 4px;
}
.pc-pricing-row.pc-pricing-total .pc-pricing-label {
  font-size: 0.92em;
  color: #0f3fa5;
}
.pc-pricing-row.pc-pricing-total .pc-pricing-amount {
  font-size: 1.08em;
  color: #0b3f9c;
}
.pc-label-note {
  font-size: 0.75em;
  margin-left: 4px;
  color: #8c1c13;
}
.pc-pricing-shipping .pc-pricing-amount.pc-empty::after {
  content: '\2014';
  color: #64748b;
}
.pc-pricing-tax .pc-pricing-amount.pc-empty::after {
  content: '\2014';
  color: #64748b;
}
.pc-pricing-tax .pc-pricing-label {
  color: #8c1c13;
}
.pc-add-to-cart-form {
  align-self: stretch;
  width: 100%;
  margin-top: auto;
  padding: 0 4px;
  box-sizing: border-box;
}
.pc-add-to-cart-button {
  width: 100%;
  padding: 12px 18px;
  font-size: 1.05em;
  border-radius: 12px;
  cursor: pointer;
}
.pc-add-to-cart-button[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
  background: #94a3b8;
}
.pc-cart-actions {
  margin: 4px auto 14px;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}
.pc-cart-hub {
  flex: 0 1 520px;
  max-width: 520px;
  margin: 0;
  padding: 18px 20px 20px;
  background: #ffffff;
  border: 1px solid #d6deef;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 28px rgba(13, 32, 69, 0.1);
}
.pc-cart-hub-body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pc-cart-hub-content {
  flex: 1 1 260px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.pc-cart-hub-form {
  width: 100%;
}
.pc-cart-hub-label {
  font-size: 0.9em;
  font-weight: 600;
  color: #123b76;
  letter-spacing: 0.01em;
  text-align: center;
  display: block;
}
.pc-cart-hub .pc-view-cart-button {
  flex: 0 0 auto;
  min-width: 0;
  padding: 12px 28px;
  white-space: nowrap;
}
.pc-shipping-recalc {
  margin-top: 6px;
  display: flex;
  justify-content: center;
  width: 100%;
}
.pc-shipping-calculator .sd-shipping-card {
  box-shadow: none;
  padding: 0 !important;
  background: transparent;
}
.pc-shipping-calculator .sd-shipping-card h3 {
  display: none !important;
}
.pc-shipping-calculator .sd-shipping-form-wrapper {
  margin: 0 !important;
  width: 100% !important;
}
.pc-shipping-calculator .sd-shipping-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
}
.pc-shipping-calculator .sd-shipping-form label {
  font-weight: 600;
  color: #1f3356;
  text-align: left;
  font-size: 0.85em;
  letter-spacing: 0;
  text-transform: none;
}
.pc-shipping-calculator .sd-shipping-form > div {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}
.pc-shipping-calculator .sd-input-group {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px;
  width: 100% !important;
  padding: 6px 12px;
  background: #f8fafc;
  border: 1px solid rgba(18, 59, 118, 0.15);
  border-radius: 12px;
  flex-wrap: wrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.pc-shipping-calculator .sd-postal-input {
  flex: 1 1 150px;
  min-width: 120px;
  max-width: 200px;
  padding: 8px 10px;
  font-size: 0.94em;
  text-align: left;
}
.pc-shipping-calculator .sd-input-group button {
  flex: 0 0 auto;
  margin-left: auto;
}
.pc-shipping-calculator .sd-shipping-inline-error {
  margin: 2px 0 0;
  color: #b91c1c;
  font-size: 0.88em;
  font-weight: 600;
}
.pc-shipping-recalc a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #123b76;
  text-decoration: none;
}
.pc-shipping-recalc a::before {
  content: '\21bb';
  font-size: 0.95em;
}
.pc-shipping-recalc a:hover,
.pc-shipping-recalc a:focus {
  text-decoration: underline;
}
.pc-pricing-row.pc-pricing-pending .pc-pricing-label {
  color: #64748b;
}
.pc-pricing-row.pc-pricing-pending .pc-pricing-amount {
  color: #64748b;
}
.pc-tax-footnote {
  margin: 8px auto 0;
  font-size: 0.85em;
  text-align: center;
  color: #475569;
  max-width: 520px;
}
.pc-reassurance,
.pc-faq {
  margin: 34px auto 0;
  max-width: 860px;
  text-align: center;
}
.pc-reassurance h2,
.pc-faq h2 {
  margin: 0 0 14px;
  color: #123b76;
}
.pc-reassurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.pc-reassurance-item,
.pc-faq-item {
  background: #fff;
  border: 1px solid #d6deef;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 6px 14px rgba(13, 32, 69, 0.08);
}
.pc-faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.pc-faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.05em;
  color: #123b76;
}
.pc-faq-item p,
.pc-reassurance-item p {
  margin: 0;
}
@media (max-width: 720px) {
  .pc-cart-hub {
    max-width: none;
    padding: 18px 16px 20px;
  }
  .pc-cart-hub-body {
    flex-direction: column;
    align-items: stretch;
  }
  .pc-cart-hub-content {
    width: 100%;
  }
  .pc-cart-hub .pc-view-cart-button {
    width: 100%;
    justify-content: center;
  }
  .pc-shipping-calculator .sd-input-group {
    flex-wrap: wrap;
    justify-content: flex-start !important;
  }
  .pc-shipping-calculator .sd-postal-input {
    max-width: none;
  }
}
@media (max-width: 1024px) {
  .pc-product-card,
  .pc-checkout-card {
    flex: 1 1 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}
@media (max-width: 720px) {
  .pc-product-grid,
  .pc-checkout-grid {
    justify-content: center;
  }
  .pc-product-card,
  .pc-checkout-card {
    flex: 1 1 100%;
    max-width: 480px;
  }
  .pc-specs-list {
    grid-template-columns: 1fr;
  }
}
