/* SmartHome content pages: Get in Touch, What's Possible, Track your order,
   Wishlist, the returns policy, and anything new the owner adds.
   Loads on top of sh-landing.css + sh-shop.css. Scoped to .shx. */

.shx .wpage{padding:1.4rem 0 0}
.shx .wpage > .wrap{width:min(100% - 4rem,1240px)}
.shx .wpage .crumbs{margin-bottom:1.4rem}

.shx .wpage-head{margin-bottom:2rem}
.shx .wpage-head h1{font-size:clamp(1.9rem,3.6vw,2.8rem);line-height:1.12;margin:0 0 .6rem}
.shx .wpage-head p{color:var(--grey);font-size:1rem;max-width:52ch;line-height:1.65}

/* ---------------- editor content ---------------- */
.shx .wpage-body.wrap{width:min(100% - 4rem,1240px)}
.shx .wpage-body{font-size:.98rem;line-height:1.8;color:#3a4249}
.shx .wpage-body > *{max-width:74ch}
.shx .wpage-body p{margin:0 0 1.1rem}
.shx .wpage-body h2{font-size:clamp(1.3rem,2.4vw,1.7rem);letter-spacing:-.02em;color:var(--ink);
  margin:2.4rem 0 .9rem;padding-bottom:.7rem;border-bottom:1px solid var(--grey-2)}
.shx .wpage-body h3{font-size:1.1rem;font-weight:600;line-height:1.4;letter-spacing:-.01em;
  color:var(--ink);margin:1.9rem 0 .6rem}
.shx .wpage-body h4{font-size:.98rem;font-weight:600;line-height:1.4;letter-spacing:0;
  color:var(--ink);margin:1.5rem 0 .5rem}
.shx .wpage-body ul,.shx .wpage-body ol{margin:0 0 1.1rem;padding-left:1.3rem;list-style:disc}
.shx .wpage-body ol{list-style:decimal}
.shx .wpage-body li{margin:0 0 .5rem}
.shx .wpage-body li::marker{color:var(--blue)}
.shx .wpage-body strong{color:var(--ink);font-weight:600}
.shx .wpage-body a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.shx .wpage-body img{border-radius:16px;margin:.5rem 0 1.3rem}
.shx .wpage-body blockquote{margin:0 0 1.3rem;padding:.2rem 0 .2rem 1.1rem;
  border-left:3px solid var(--blue-line);color:var(--grey);font-style:normal}
.shx .wpage-body hr{border:0;border-top:1px solid var(--grey-2);margin:2.2rem 0}
.shx .wpage-body table{width:100%;border-collapse:collapse;margin:0 0 1.3rem;font-size:.92rem;
  display:block;overflow-x:auto}
.shx .wpage-body table th,.shx .wpage-body table td{border:1px solid var(--grey-2);
  padding:.65rem .8rem;text-align:left;vertical-align:top}
.shx .wpage-body table th{background:var(--grey-3);font-weight:600;color:var(--ink)}

/* ---------------- shortcode islands ---------------- */
/* Order tracking and the wishlist are single WooCommerce/YITH shortcodes.
   Give them the same card the cart and checkout use. */
.shx .wpage-body form.woocommerce-form-track-order{max-width:34rem;border:1px solid var(--grey-2);
  border-radius:20px;padding:1.7rem 1.6rem;background:#fff}
.shx .wpage-body form.woocommerce-form-track-order p:first-child{font-size:.92rem;color:var(--grey);
  line-height:1.65;margin-bottom:1.2rem}
.shx .wpage-body .woocommerce{max-width:none}
.shx .wpage-body .wishlist_table,.shx .wpage-body .woocommerce table.shop_table{width:100%;
  border-collapse:collapse;font-size:.9rem}
.shx .wpage-body .wishlist_table th,.shx .wpage-body .wishlist_table td{padding:.8rem .6rem;
  border-bottom:1px solid var(--grey-2);text-align:left;vertical-align:middle}
.shx .wpage-body .wishlist-title h2{margin-top:0;border:0;padding:0}
.shx .wpage-body .wishlist-empty,.shx .wpage-body .cart-empty{font-size:1rem;font-weight:600;
  color:var(--ink);background:none;border:0;padding:0;text-align:left}

/* ---------------- pages still built in the UX Builder ---------------- */
/* Get in Touch and What's Possible keep Flatsome's stylesheet so their
   shortcodes render. Two things need reining in: the theme's boxed page
   width, and its heading colours fighting ours. */
.shx .wpage-wide > .wpage-body{width:auto;max-width:none;padding:0}
.shx .wpage-wide .wpage-body > *{max-width:none}
body.sh-page-builder .shx .wpage-body .row{max-width:1240px;margin-inline:auto}
body.sh-page-builder .shx .wpage-body .ux-banner,
body.sh-page-builder .shx .wpage-body .banner{border-radius:0}
body.sh-page-builder .shx .wpage-body h1,
body.sh-page-builder .shx .wpage-body h2,
body.sh-page-builder .shx .wpage-body h3{font-family:inherit;letter-spacing:-.02em}
body.sh-page-builder .shx .wpage-body h2{border:0;padding:0}
/* Flatsome's own header markup is dequeued on these pages, but its sticky
   helpers can still reserve space. */
body.sh-page-builder .header-wrapper,
body.sh-page-builder #header,
body.sh-page-builder .header-shadow{display:none !important}

/* ---------------- responsive ---------------- */
@media (max-width:880px){
  .shx .wpage > .wrap,.shx .wpage-body.wrap{width:min(100% - 2.5rem,1240px)}
  .shx .wpage-body h2{font-size:1.25rem}
}

/* ------------------------------------------------------------------
   Form controls inside editor content.
   sh-woo.css scopes its input and button styles to .woobody, so the order
   tracking form and the wishlist landed here unstyled. Same look, this scope.
   ------------------------------------------------------------------ */
.shx .wpage-body input[type=text],.shx .wpage-body input[type=email],
.shx .wpage-body input[type=tel],.shx .wpage-body input[type=number],
.shx .wpage-body input[type=search],.shx .wpage-body input[type=password],
.shx .wpage-body input.input-text,.shx .wpage-body textarea,.shx .wpage-body select{
  width:100%;font:inherit;font-size:.93rem;color:var(--ink);background:#fff;
  border:1px solid var(--grey-2);border-radius:14px;padding:.78rem 1rem;outline:0;
  transition:border-color .2s var(--ease),box-shadow .2s var(--ease)}
.shx .wpage-body textarea{min-height:7rem;line-height:1.6;resize:vertical}
.shx .wpage-body input:focus,.shx .wpage-body textarea:focus,.shx .wpage-body select:focus{
  border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-dim)}
.shx .wpage-body input::placeholder,.shx .wpage-body textarea::placeholder{color:#a8b0b6}
.shx .wpage-body .form-row,.shx .wpage-body p.form-row{display:block;margin:0 0 1rem}
.shx .wpage-body form label{display:block;font-size:.74rem;font-weight:600;letter-spacing:.1em;
  text-transform:uppercase;color:var(--grey);margin-bottom:.4rem}
.shx .wpage-body button.button,.shx .wpage-body a.button,
.shx .wpage-body input[type=submit],.shx .wpage-body button[type=submit]{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;width:auto;
  min-height:3.05rem;padding:.6rem 1.8rem;border-radius:999px;border:1px solid transparent;
  background-color:var(--blue) !important;color:#fff !important;font:inherit;font-size:.92rem;
  font-weight:600;cursor:pointer;text-decoration:none;
  transition:background .25s var(--ease),transform .25s var(--ease)}
.shx .wpage-body button.button:hover,.shx .wpage-body a.button:hover,
.shx .wpage-body input[type=submit]:hover,.shx .wpage-body button[type=submit]:hover{
  background-color:#2d90b6 !important;transform:translateY(-1px)}

/* ------------------------------------------------------------------
   Header and footer on UX Builder pages.
   Flatsome's stylesheet stays loaded there so the page body renders, and it
   claims class names our own header uses -- .nav in particular, plus a global
   form{margin-bottom}. Re-assert only the properties that actually collided.
   ------------------------------------------------------------------ */
body.sh-page-builder .shx .hdr form,
body.sh-page-builder .shx footer form{margin:0}
body.sh-page-builder .shx .hdr .nav{width:auto;flex:0 0 auto;padding:0}
body.sh-page-builder .shx .hdr .srch{margin:0;flex:1 1 auto;max-width:30rem}
body.sh-page-builder .shx .hdr .nav li,
body.sh-page-builder .shx footer li{list-style:none;margin:0}
body.sh-page-builder .shx .hdr a,
body.sh-page-builder .shx footer a{text-decoration:none}
