/* sst-contact-layout 1.0.0 (2026-11-20) - contact page (page 154, every language): full width + support route layout.
   Owner 11/20 ('a lot of blank area on the right', 'help me redesign this area'). Texts unchanged. Off switch: class sst-cl-off on <html>. */
body.page-id-154 .sst-page-content { max-width: none; }
body.page-id-154 .sst-faq { max-width: none; }
body.page-id-154 .sst-contact-form { max-width: none; }
/* support routes: policy strip -> 3 tiles with icons; Payment + Order left, RFQ card right over both rows;
   "Send us a message" button on Payment / Order (added by contact-layout.js). */

/* ---------- policy strip -> 3 tiles with icons ---------- */
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__policy {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3 .sst-contact-v3__policy-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 12px;
  row-gap: 3px;
  align-content: start;
  padding: 14px 16px;
  border: 1px solid var(--contact-line);
  border-radius: 12px;
  background: var(--contact-panel);
}
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__policy-item:last-child { border-right: 1px solid var(--contact-line); }
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__policy-item .sstcl-ico { grid-row: 1 / span 2; }
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__policy-item strong { font-size: 14px; line-height: 1.3; align-self: end; }
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__policy-item span:not(.sstcl-ico) { font-size: 13px; line-height: 1.5; }

/* round icon (tiles + cards) */
body.page-id-154 .sstcl-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff1f7;
  color: var(--contact-red);
  flex: 0 0 auto;
}
body.page-id-154 .sstcl-ico svg { width: 19px; height: 19px; display: block; }
html[data-sst-theme="dark"] body.page-id-154 .sstcl-ico { background: rgba(189, 61, 118, .16); color: #e27aa8; }

/* ---------- route cards: same height, buttons at the bottom ---------- */
/* Payment + Order (both answered through the contact form) stacked on the left, the WhatsApp / VIP RFQ card on the
   right over both rows -> the two sides end at the same line without big empty gaps */
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3 .sst-contact-v3__routes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "pay rfq" "ord rfq";
  gap: 16px;
  align-items: stretch;
}
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__routes > .sst-contact-v3__route:nth-child(1) { grid-area: pay; }
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__routes > .sst-contact-v3__route:nth-child(2) { grid-area: ord; }
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__routes > .sst-contact-v3__route#rfq-route { grid-area: rfq; }
/* Payment / Order cards: text left, list right (they are wide now) */
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__route:not(#rfq-route) .sstcl-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3 .sst-contact-v3__routes > .sst-contact-v3__route {
  height: auto;
  gap: 12px;
  padding: 22px;
  border-radius: 12px;
}
html:not(.sst-cl-off) body.page-id-154 .sstcl-head { display: flex; align-items: center; gap: 10px; }
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__route h3 { font-size: 20px; }
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__route .sst-contact-v3__list { order: 1; }
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__route .sstcl-note { order: 2; }
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__route .sst-contact-v3__actions {
  order: 3;
  min-height: 0;
  margin-top: auto;
  padding-top: 6px;
  align-content: end;
}
/* owner 11/20: RFQ card has the same plain outline as the other cards (red line + coloured border removed) */
/* repeated policy lines of the RFQ card -> small note box above the buttons */
html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__route p.sstcl-note {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(166, 0, 70, .16);
  border-radius: 8px;
  background: #fff6fa;
  color: var(--contact-muted);
  font-size: 13px;
  line-height: 1.5;
}
html:not(.sst-cl-off) body.page-id-154 .sstcl-note-i { flex: 0 0 auto; color: var(--contact-red); margin-top: 1px; }
html:not(.sst-cl-off) body.page-id-154 .sstcl-note-i svg { width: 16px; height: 16px; display: block; }
html[data-sst-theme="dark"]:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__route p.sstcl-note { background: rgba(189, 61, 118, .1); border-color: rgba(200, 71, 138, .24); }
/* "Send us a message" button on the Payment / Order cards */
body.page-id-154 .sst-contact-v3__button.sstcl-msg::after { content: "\2193"; margin-left: 8px; font-weight: 700; }

@media (max-width: 1100px) {
  html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__route:not(#rfq-route) .sstcl-body { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 960px) {
  html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3 .sst-contact-v3__routes { grid-template-columns: 1fr; grid-template-areas: "pay" "ord" "rfq"; }
  html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3__policy { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 720px) {
  html:not(.sst-cl-off) body.page-id-154 .sst-contact-v3 .sst-contact-v3__routes > .sst-contact-v3__route { padding: 18px; }
}
