/* Quotation and order pages: semantic styles, no framework classes or vendor CSS.
   Loaded before product-site.css/content-site.css, so selectors here are
   specific enough to win where the two files overlap. */

/* Quotation plan navigation */
.ps-quote-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0 0;
}
.ps-page-head .ps-quote-nav {
  padding: 0 0 22px;
}
.ps-quote-nav a {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--ps-border);
  border-radius: 99px;
  background: #fff;
  color: var(--ps-body);
  font-size: .76rem;
  font-weight: 750;
  line-height: 1.3;
  white-space: nowrap;
}
.ps-quote-nav a:hover {
  border-color: #f0b9d2;
  color: var(--ps-brand);
}
.ps-quote-nav a[aria-current="page"] {
  background: var(--ps-brand);
  border-color: var(--ps-brand);
  color: #fff;
}
.ps-quote-nav a[aria-current="page"]:hover {
  color: #fff;
}

/* Page head extras */
.ps-page-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.ps-page-head .ps-quote-mark {
  height: 36px;
  width: auto;
  margin-bottom: 14px;
}

/* Quotation layout */
.ps-quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.ps-quote-panel {
  min-width: 0;
}
.ps-quote-side {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 90px;
}
.ps-quote-notes,
.ps-quote-contact {
  padding: 20px;
  border: 1px solid var(--ps-border);
  border-radius: var(--ps-radius);
  background: #fff;
}
.ps-quote-notes h2,
.ps-quote-contact h2 {
  margin: 0 0 12px;
  font-size: .95rem;
}
.ps-quote-notes ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ps-quote-notes li {
  color: var(--ps-body);
  font-size: .82rem;
  line-height: 1.65;
}
.ps-required {
  color: var(--ps-brand);
  font-weight: 800;
}

/* Wide quotation table with the fee column pinned to the right edge */
.ps-quote-table th.ps-quote-sticky,
.ps-quote-table td.ps-quote-sticky {
  position: sticky;
  right: 0;
  z-index: 2;
  background: #fff;
}
.ps-quote-table th.ps-quote-sticky {
  z-index: 3;
  background: var(--ps-brand);
  color: #fff;
}
.ps-quote-table tr.ps-quote-total td {
  background: var(--ps-soft);
  font-weight: 800;
  text-align: right;
}
.ps-quote-table tr.ps-quote-total td.ps-quote-sticky {
  background: var(--ps-soft);
}
.ps-quote-table tr.ps-quote-discount td {
  background: #ecf6ff;
}
.ps-quote-table tr.ps-quote-discount td.ps-quote-sticky {
  background: #ecf6ff;
}
.ps-quote-table td.ps-quote-sticky.is-shadowed,
.ps-quote-table th.ps-quote-sticky.is-shadowed {
  box-shadow: -8px 0 10px rgba(23, 23, 27, .1);
}

/* Quotation sheet image */
.ps-quote-sheet {
  overflow-x: auto;
  padding: 12px;
  border: 1px solid var(--ps-border);
  border-radius: var(--ps-radius);
  background: #fff;
  box-shadow: var(--ps-shadow);
}
.ps-quote-sheet img {
  width: 100%;
  min-width: 720px;
  height: auto;
  cursor: zoom-in;
}
.ps-quote-caption {
  margin: 12px 0 0;
  color: var(--ps-muted);
  font-size: .8rem;
  line-height: 1.65;
}
.ps-quote-caption a {
  color: var(--ps-brand);
  font-weight: 700;
}

/* Quotation contact card */
.ps-quote-tagline {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--ps-brand);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
}
.ps-quote-qr {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}
.ps-quote-contact-lines {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  font-size: .82rem;
  line-height: 1.5;
}
.ps-quote-contact-lines a {
  color: var(--ps-brand);
  font-weight: 700;
  word-break: break-all;
}
.ps-quote-qr figure {
  margin: 0;
  text-align: center;
}
.ps-quote-qr img {
  display: block;
  width: 92px;
  height: auto;
  border: 1px solid var(--ps-border-2);
  border-radius: 8px;
}
.ps-quote-qr figcaption {
  margin-top: 5px;
  color: var(--ps-brand);
  font-size: .72rem;
  font-weight: 700;
}
.ps-quote-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.ps-quote-brand img {
  width: 150px;
  height: auto;
}
.ps-quote-brand span {
  display: block;
  color: var(--ps-brand);
  font-size: .7rem;
  font-weight: 700;
}
.ps-quote-company {
  margin: 0;
  color: var(--ps-muted);
  font-size: .74rem;
  line-height: 1.75;
}
.ps-quote-company a {
  color: var(--ps-brand);
}
.ps-quote-logo {
  width: 150px;
  height: auto;
  margin-top: 14px;
}

/* Plan cards on order pages and the pricing overview */
.ps-plan-grid.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
a.ps-plan {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ps-plan-grid a.ps-plan:hover {
  border-color: #f0b9d2;
  color: inherit;
  box-shadow: 0 14px 35px rgba(230, 0, 111, .08);
  transform: translateY(-2px);
}
.ps-plan .ps-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 14px;
  color: var(--ps-brand);
  font-size: .8rem;
  font-weight: 800;
}
.ps-plan .ps-plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}
.ps-plan .ps-plan-actions .ps-btn {
  flex: 1 1 auto;
}
.ps-plan-list li.is-off {
  color: var(--ps-muted);
}
.ps-plan-list li.is-off::before {
  content: "×";
  color: var(--ps-muted);
}
.ps-plan-note {
  margin: 6px 0 0;
  color: var(--ps-body);
  font-size: .86rem;
  line-height: 1.65;
}
.ps-plan-price.is-contact {
  font-size: 1rem;
  letter-spacing: 0;
}

/* Simple resource links (SEO block kept from the pricing overview) */
.ps-related-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ps-related-links a {
  color: var(--ps-brand);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.5;
}
.ps-related-links a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .ps-quote-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .ps-quote-side {
    position: static;
  }
  .ps-plan-grid.is-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ps-quote-sheet img {
    min-width: 560px;
  }
  .ps-quote-company {
    font-size: .72rem;
  }
}