/* SouqLebnani v4 (concept by Gemini, owner-approved mockup 2026-10-13):
   one trusted Lebanese souq for fixers, property, cars and trade. Cream ground,
   the logo's ink + green + red, Playfair headings like the logo, short red rule. */

:root {
  --stone: #FBF8F1;
  --sand: #F4EFE4;
  --white: #FFFFFF;
  --tint: #EAF1EC;
  --ink: #181818;
  --muted: #5C645E;
  --line: #E5DFD3;
  --cedar: #1E4732;
  --cedar-hover: #143122;
  --forest: #143122;
  --ribbon: #C8232A;
  --wa: #1FA855;
  --wa-hover: #188A45;
  --star: #E3A008;

  --font: "Plus Jakarta Sans", "Alexandria", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --serif: "Playfair Display", "Alexandria", Georgia, serif;

  --r-card: 16px;
  --r-input: 12px;
  --r-pill: 999px;
  --shadow: 0 4px 12px rgba(20, 49, 34, .04);
  --shadow-up: 0 12px 30px -10px rgba(20, 49, 34, .18);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 96px;
  --wrap: 1200px;
  --bottom-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body, body.sq { margin: 0; background: var(--stone); color: var(--ink); font: 400 16.5px/1.65 var(--font); -webkit-font-smoothing: antialiased; padding-bottom: var(--bottom-h); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
::selection { background: var(--cedar); color: var(--white); }
:focus-visible { outline: 3px solid var(--cedar); outline-offset: 2px; border-radius: 6px; }
button, input, select, textarea { font: inherit; color: inherit; }
.sq-ico { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
[dir="rtl"] .sq-flip { transform: scaleX(-1); }
.sq-num { font-variant-numeric: tabular-nums lining-nums; }
.sq-muted { color: var(--muted); }
.sq-hand { font-weight: 600; }
.sq-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sq-hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sq-skip { position: absolute; inset-inline-start: var(--s3); top: -60px; background: var(--ink); color: var(--white); padding: var(--s2) var(--s4); z-index: 100; border-radius: var(--r-input); }
.sq-skip:focus { top: var(--s3); }

.sq-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.sq-narrow { max-width: 640px; }

/* Type */
.sq-display { font-family: var(--serif); font-size: clamp(34px, 4.8vw, 60px); line-height: 1.12; font-weight: 600; margin: 0 0 var(--s4); text-wrap: balance; letter-spacing: -.01em; }
.sq-display--md { font-size: clamp(28px, 3.6vw, 42px); }
.sq-display--name { font-size: clamp(28px, 3.6vw, 40px); margin: var(--s4) 0 var(--s1); }
.sq-h1 { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1.25; font-weight: 600; margin: var(--s3) 0 var(--s4); text-wrap: balance; }
.sq-h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); line-height: 1.2; font-weight: 600; margin: 0 0 var(--s3); text-wrap: balance; }
.sq-h3 { font-size: 20px; line-height: 1.35; font-weight: 700; margin: 0 0 var(--s3); }
.sq-lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; max-width: 56ch; margin: 0 0 var(--s5); color: var(--muted); }
.sq-fine { font-size: 14px; color: var(--muted); margin: var(--s3) 0 0; text-align: center; }

/* The ribbon: the logo's red swoosh, drawn once and reused */
.sq-ribbon { display: block; width: 48px; height: 3px; border-radius: 2px; background: var(--ribbon); margin: 10px 0 var(--s4); }

/* Header */
.sq-head { background: var(--stone); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.sq-head__in { display: flex; align-items: center; gap: var(--s6); min-height: 72px; }
.sq-logo { display: block; flex: none; }
.sq-head .sq-logo__img { height: 60px !important; width: auto !important; max-width: none; }
.sq-nav { display: flex; gap: var(--s5); margin-inline-start: var(--s3); }
.sq-nav__a { text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .18s var(--ease), border-color .18s var(--ease); }
.sq-nav__a:hover { color: var(--cedar); }
.sq-nav__a.is-on { color: var(--cedar); font-weight: 700; border-bottom-color: var(--ribbon); }
.sq-nav__a--join { color: var(--ribbon); }
.sq-head__end { margin-inline-start: auto; display: flex; align-items: center; gap: var(--s3); }
.sq-lang { text-decoration: none; font-weight: 700; padding: 7px 16px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-pill); font-size: 15px; transition: border-color .18s var(--ease); }
.sq-lang:hover { border-color: var(--cedar); color: var(--cedar); }
.sq-head__wa { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; color: var(--wa); padding: 7px 14px; border-radius: var(--r-pill); background: #E9F7EE; }
.sq-head__wa .sq-ico { width: 20px; height: 20px; }
.sq-head--plain .sq-head__in { justify-content: center; min-height: 64px; }
@media (max-width: 960px) {
  .sq-nav { display: none; }
  .sq-head__in { min-height: 52px; gap: var(--s3); }
  .sq-head .sq-logo__img { height: 44px !important; }
  .sq-head__wa span { display: none; }
  .sq-head__wa { padding: 8px; }
}

/* Buttons: friendly pills */
.sq-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 10px 24px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  border: 2px solid var(--line); background: var(--white); color: var(--ink);
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.sq-btn:active { transform: scale(.97); }
.sq-btn:disabled, .sq-btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.sq-btn .sq-ico { width: 22px; height: 22px; }
.sq-btn--primary { background: var(--cedar); border-color: var(--cedar); color: var(--white); }
.sq-btn--primary:hover { background: var(--cedar-hover); border-color: var(--cedar-hover); }
.sq-btn--wa { background: var(--wa); border-color: var(--wa); color: var(--white); }
.sq-btn--wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); }
.sq-btn--call { background: var(--white); border-color: var(--cedar); color: var(--cedar); border-width: 1.5px; }
.sq-btn--call:hover { background: var(--tint); }
.sq-btn--ghost { background: transparent; border-color: var(--line); color: var(--muted); }
.sq-btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.sq-btn--done { background: var(--cedar); border-color: var(--cedar); color: var(--white); }
.sq-btn--icon { width: 50px; padding: 0; }
.sq-btn--xl { min-height: 58px; font-size: 18px; padding: 12px 30px; }
.sq-btn--block { display: flex; width: 100%; }
.sq-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--cedar); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.sq-link:hover { text-decoration: underline; text-decoration-color: var(--ribbon); }
.sq-link .sq-ico { width: 18px; height: 18px; }
.sq-row2 { display: flex; flex-wrap: wrap; gap: var(--s3); }
.sq-row2 > .sq-btn { flex: 1 1 180px; }

/* Cards ("slip" in templates) */
.sq-slip { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s5); box-shadow: var(--shadow); }
.sq-slip--pad { padding: var(--s6) var(--s5) var(--s5); }
.sq-slip--blank { box-shadow: none; background: transparent; border: 2px dashed var(--line); }
.sq-slip--note { margin-top: var(--s5); }
.sq-slip__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.sq-slip__no { color: var(--cedar); font-weight: 800; font-size: 17px; }
.sq-slip__date { color: var(--muted); font-size: 14px; background: var(--stone); padding: 2px 10px; border-radius: var(--r-pill); }

.sq-lines { margin: 0 0 var(--s5); }
.sq-lines > div { display: grid; grid-template-columns: minmax(92px, 30%) 1fr; gap: var(--s3); padding: 11px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.sq-lines > div:last-child { border-bottom: 0; }
.sq-lines dt { color: var(--muted); font-size: 15px; }
.sq-lines dd { margin: 0; font-size: 18px; font-weight: 600; }

/* Forms */
.sq-form { display: grid; gap: var(--s4); }
.sq-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.sq-label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 6px; padding: 0; }
.sq-input { width: 100%; min-height: 54px; padding: 12px 16px; background: var(--stone); border: 1.5px solid var(--line); border-radius: var(--r-input); font-size: 18px; color: var(--ink); transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease); }
.sq-input::placeholder { color: #9A938A; }
.sq-input:focus { outline: none; border-color: var(--cedar); box-shadow: 0 0 0 4px rgba(11, 74, 36, .12); background: var(--white); }
textarea.sq-input { min-height: 100px; resize: vertical; line-height: 1.5; }
.sq-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%230B4A24' d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 16px center; padding-inline-end: 44px; }
[dir="rtl"] .sq-select { background-position: left 16px center; }
.sq-alert { margin: 0; padding: var(--s3) var(--s4); background: #FFF1F1; border: 1.5px solid var(--ribbon); color: #8A0A1F; font-weight: 700; border-radius: var(--r-input); }
.sq-banner { display: flex; gap: var(--s2); align-items: center; padding: var(--s3) var(--s4); background: var(--cedar); color: var(--white); font-weight: 700; margin: 0 0 var(--s5); border-radius: var(--r-card); }
.sq-banner .sq-ico { width: 24px; height: 24px; }

.sq-when { display: flex; flex-wrap: wrap; gap: var(--s2); }
.sq-when-opt input, .sq-trade-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sq-when-opt span { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 18px; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--white); cursor: pointer; font-weight: 600; transition: all .15s var(--ease); }
.sq-when-opt input:checked + span { border-color: var(--cedar); color: var(--cedar); background: var(--tint); }
.sq-when-opt input:focus-visible + span, .sq-trade-opt input:focus-visible + span { outline: 3px solid var(--cedar); outline-offset: 2px; }
.sq-trade-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s2); }
.sq-trade-opt span { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: var(--r-input); background: var(--white); cursor: pointer; font-weight: 600; font-size: 15px; line-height: 1.3; transition: all .15s var(--ease); }
.sq-trade-opt svg { width: 24px; height: 24px; fill: var(--cedar); flex: none; }
.sq-trade-opt input:checked + span { border-color: var(--cedar); background: var(--tint); }

/* Stars */
.sq-stars { display: inline-flex; gap: 2px; vertical-align: -3px; }
.sq-star .sq-ico { width: 18px; height: 18px; fill: #E2DCD0; }
.sq-star.on .sq-ico { fill: var(--star); }
.sq-star.half .sq-ico { fill: #F0CB6E; }
.sq-stars.sm .sq-ico { width: 15px; height: 15px; }
.sq-stars.lg .sq-ico { width: 26px; height: 26px; }
.sq-rate { border: 0; padding: 0; margin: 0; }
.sq-rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.sq-rate__stars input { position: absolute; opacity: 0; }
.sq-rate__stars label { cursor: pointer; padding: 4px; }
.sq-rate__stars label .sq-ico { width: 46px; height: 46px; fill: #E2DCD0; transition: fill .12s var(--ease), transform .16s var(--ease); }
.sq-rate__stars label:hover .sq-ico, .sq-rate__stars label:hover ~ label .sq-ico, .sq-rate__stars input:checked ~ label .sq-ico { fill: var(--star); }
.sq-rate__stars input:checked + label .sq-ico { transform: scale(1.12); }
.sq-rate__stars input:focus-visible + label { outline: 3px solid var(--cedar); border-radius: 8px; }

/* The DONE seal */
.sq-stamp { position: absolute; inset-inline-end: var(--s5); top: var(--s5); padding: 6px 14px; border: 2px dashed var(--cedar); border-radius: 10px; color: var(--cedar); background: var(--tint); transform: rotate(-6deg); pointer-events: none; animation: sq-stamp .3s var(--ease) both .15s; }
.sq-stamp span { font-size: 18px; font-weight: 800; }
.sq-stamp--static { animation: none; }
@keyframes sq-stamp { from { transform: rotate(0deg) scale(1.3); opacity: 0; } to { transform: rotate(-6deg) scale(1); opacity: 1; } }

.sq-steps { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; counter-reset: s; }
.sq-steps li { position: relative; padding: 12px 0; padding-inline-start: 46px; color: var(--muted); counter-increment: s; }
.sq-steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 12px; width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; font-weight: 800; font-size: 14px; background: var(--white); z-index: 1; }
.sq-steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 15px; top: 46px; bottom: -10px; width: 2px; background: var(--line); }
.sq-steps li strong { display: block; color: var(--ink); }
.sq-steps li.is-past::before { content: "✓"; border-color: var(--cedar); color: var(--cedar); }
.sq-steps li.is-past::after { background: var(--cedar); }
.sq-steps li.is-now { color: var(--ink); }
.sq-steps li.is-now::before { border-color: var(--ribbon); background: var(--ribbon); color: var(--white); }
.sq-who { display: flex; align-items: center; gap: var(--s3); text-decoration: none; margin-bottom: var(--s4); }
.sq-who > span { display: grid; }
.sq-say { font-size: 19px; font-weight: 700; margin: var(--s4) 0 var(--s3); }
.sq-say--ok { color: var(--cedar); }
.sq-quote { font-size: 18px; margin: var(--s3) 0 0; }
.sq-cancel { margin-top: var(--s3); }

/* Photos */
.sq-avatar { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-card); background: var(--tint); flex: none; }
.sq-avatar.sm { width: 52px; height: 52px; border-radius: var(--r-input); }
.sq-avatar.xl { width: 100%; max-width: 360px; height: auto; aspect-ratio: 1 / 1; box-shadow: var(--shadow-up); }

/* Utility strip + header extras */
.sq-util { background: var(--forest); color: #DCE6DF; font-size: 13px; }
.sq-util__in { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 38px; }
.sq-util a { text-decoration: none; color: inherit; white-space: nowrap; }
.sq-util b { color: var(--white); }
.sq-head__post { min-height: 44px; padding: 8px 20px; font-size: 15px; }
.sq-head__post .sq-ico { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 960px) { .sq-util__in > span { display: none; } .sq-util__in { justify-content: center; min-height: 32px; } .sq-head__post span { display: none; } .sq-head__post { width: 44px; padding: 0; } }

/* HOME: centred hero, one search bar */
.sq-hero { padding: clamp(40px, 6vw, 84px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.sq-hero__in { display: grid; justify-items: center; }
.sq-eyebrow { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 var(--s4); }
[dir="rtl"] .sq-eyebrow { letter-spacing: 0; font-size: 15px; }
.sq-hero .sq-display { max-width: 900px; margin: 0 0 var(--s4); }
.sq-display em { color: var(--ribbon); font-style: italic; }
[dir="rtl"] .sq-display { font-weight: 700; }
[dir="rtl"] .sq-display em { font-style: normal; }
.sq-hero .sq-lede { margin: 0 auto; max-width: 640px; }
.sq-seg { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: var(--s6) 0 var(--s3); }
.sq-seg a { min-height: 42px; padding: 8px 20px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: 14.5px; text-decoration: none; display: inline-flex; align-items: center; transition: border-color .15s var(--ease); }
.sq-seg a:hover { border-color: var(--cedar); }
.sq-seg a.is-on { background: var(--cedar); border-color: var(--cedar); color: var(--white); }
.sq-bar { width: min(920px, 100%); display: flex; align-items: center; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 7px; padding-inline-start: 24px; box-shadow: 0 10px 30px rgba(20, 49, 34, .06); text-align: start; }
.sq-bar__f { flex: 1; min-width: 0; border: 0; background-color: transparent; min-height: 52px; font-size: 16px; padding-inline-start: 0; }
.sq-bar__f:focus { outline: none; }
.sq-bar__area { display: flex; align-items: center; gap: 8px; width: 240px; border-inline-start: 1px solid var(--line); padding-inline: 18px; }
.sq-bar__area .sq-ico { width: 18px; height: 18px; color: var(--ribbon); fill: var(--ribbon); }
.sq-bar__area input { border: 0; background: none; min-height: 48px; width: 100%; font-size: 15.5px; }
.sq-bar__area input:focus { outline: none; }
.sq-bar .sq-btn { min-height: 52px; padding-inline: 34px; }
.sq-bar:focus-within { border-color: var(--cedar); }
.sq-trust { list-style: none; padding: 0; margin: var(--s5) 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s6); }
.sq-trust li { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14.5px; color: var(--muted); }
.sq-trust .sq-ico { width: 16px; height: 16px; fill: var(--cedar); }
@media (max-width: 700px) {
  .sq-bar { flex-direction: column; align-items: stretch; border-radius: 20px; padding: 10px; gap: 6px; }
  .sq-bar__f { min-height: 50px; padding-inline: 12px; background-color: var(--stone); border-radius: 12px; }
  .sq-bar__area { width: auto; border: 0; background: var(--stone); border-radius: 12px; padding-inline: 12px; }
  .sq-bar .sq-btn { width: 100%; }
  .sq-trust { flex-direction: column; align-items: center; }
}
.sq-rule { display: flex; align-items: center; }
.sq-rule::before, .sq-rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sq-rule b { width: 56px; height: 3px; border-radius: 2px; background: var(--ribbon); }

/* Sections */
.sq-sec { padding: clamp(48px, 6vw, 72px) 0; }
.sq-sec--white { background: var(--white); border-block: 1px solid var(--line); }
.sq-sec--sand { background: var(--sand); }
.sq-sec--tight { padding-top: var(--s4); }
.sq-sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s6); }
.sq-sec__head .sq-h2 { margin: 0; }
.sq-sec__sub { color: var(--muted); margin: 6px 0 0; font-size: 16px; }
.sq-fixers--4 { grid-template-columns: repeat(4, 1fr); }
.sq-listings--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .sq-fixers--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .sq-listings--3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .sq-fixers--4 { grid-template-columns: 1fr; } }
.sq-emptypost { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; background: var(--white); border: 1px dashed #CFC6B5; border-radius: var(--r-card); padding: var(--s5) var(--s6); }
.sq-emptypost p { margin: 0; font-size: 18px; font-weight: 600; }
.sq-emptypost .sq-ico { fill: currentColor; width: 18px; height: 18px; }
.sq-steps3 { list-style: none; margin: var(--s5) 0 0; padding: 44px 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.sq-steps3 li { display: grid; gap: 6px; align-content: start; }
.sq-steps3__k { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--ribbon); }
.sq-steps3 strong { font-size: 19px; margin-top: 8px; }
.sq-steps3 li > span:last-child { color: var(--muted); }
@media (max-width: 860px) { .sq-steps3 { grid-template-columns: 1fr; padding: var(--s5); gap: var(--s5); } }
.sq-postband { display: flex; justify-content: space-between; align-items: center; gap: var(--s5); flex-wrap: wrap; background: var(--cedar); color: var(--white); border-radius: 20px; padding: 40px 48px; margin-top: var(--s7); }
.sq-postband .sq-h2 { color: var(--white); margin: 0; }
.sq-postband p { color: #C9D8CF; margin: 6px 0 0; }
.sq-postband__btns { display: flex; gap: var(--s3); flex-wrap: wrap; }
.sq-btn--light { background: var(--white); border-color: var(--white); color: var(--cedar); }
.sq-btn--light .sq-ico { fill: currentColor; }
.sq-btn--outline-light { background: transparent; border: 1.5px solid rgba(255,255,255,.6); color: var(--white); }
.sq-btn--outline-light:hover { border-color: var(--white); }
@media (max-width: 700px) { .sq-postband { padding: var(--s5); } .sq-postband__btns, .sq-postband__btns .sq-btn { width: 100%; } }

/* Trades: round tint chips */
.sq-tradegrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--s3); }
.sq-tradegrid a { display: grid; justify-items: center; gap: var(--s2); text-align: center; text-decoration: none; padding: var(--s3) var(--s2); border-radius: var(--r-card); transition: background-color .18s var(--ease), transform .12s var(--ease); }
.sq-tradegrid a:hover { background: var(--stone); }
.sq-tradegrid a:active { transform: scale(.97); }
.sq-tradegrid__ic { width: 76px; height: 76px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; transition: background-color .18s var(--ease); }
.sq-tradegrid a:hover .sq-tradegrid__ic { background: #DCEBE1; }
.sq-tradegrid svg { width: 34px; height: 34px; fill: var(--cedar); }
.sq-tradegrid__name { font-weight: 700; font-size: 15px; line-height: 1.3; }
.sq-tradegrid__n { font-size: 13px; color: var(--muted); }
.sq-trades__all { text-align: center; margin-top: var(--s4); }
@media (max-width: 960px) { .sq-tradegrid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 420px) { .sq-tradegrid { gap: var(--s1); } .sq-tradegrid a { padding: var(--s2) 2px; } .sq-tradegrid__ic { width: 62px; height: 62px; } .sq-tradegrid svg { width: 28px; height: 28px; } .sq-tradegrid__name { font-size: 13.5px; } }

/* Fixer cards: round photo, name, trade pill, area, rating, Call + WhatsApp */
.sq-fixers { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s5); }
.sq-fixer { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); display: flex; flex-direction: column; padding: 18px; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.sq-fixer:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.sq-fixer__main { display: flex; flex-direction: column; text-decoration: none; flex: 1; }
.sq-fixer__top { display: flex; align-items: center; gap: 14px; }
.sq-fixer__photo { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid var(--cedar); background: var(--tint); }
.sq-fixer__mono span { font-size: 20px !important; width: auto !important; height: auto !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.sq-fixer__id { display: grid; gap: 6px; min-width: 0; justify-items: start; }
.sq-fixer__name { font-weight: 700; font-size: 17px; line-height: 1.3; }
.sq-fixer__trade { color: var(--cedar); background: var(--stone); font-weight: 600; font-size: 12.5px; padding: 3px 11px; border-radius: var(--r-pill); }
.sq-fixer__body { display: grid; gap: 6px; padding-top: 14px; }
.sq-fixer__meta { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.sq-fixer__meta strong { color: var(--ink); }
.sq-fixer__meta .sq-ico { width: 15px; height: 15px; }
.sq-ico--star { fill: #E3A008 !important; }
.sq-ico--off { fill: #D5CFC3 !important; }
.sq-fixer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); padding-top: var(--s4); }
.sq-fixer__actions .sq-btn { min-height: 44px; border-radius: 10px; font-size: 14.5px; padding: 8px 10px; gap: 6px; }
.sq-fixer__actions .sq-btn .sq-ico { width: 18px; height: 18px; }
@media (max-width: 600px) { .sq-fixers { grid-template-columns: 1fr; gap: var(--s3); } .sq-fixer { padding: 14px; } .sq-fixer__actions .sq-btn { min-height: 48px; font-size: 16px; } }

/* How it works: three steps tied by the ribbon */
.sq-how__in { text-align: center; }
.sq-how .sq-lede { margin-inline: auto; }
.sq-how .sq-ribbon { margin-inline: auto; }
.sq-flow { list-style: none; margin: var(--s7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); position: relative; counter-reset: f; text-align: start; }
.sq-flow::before { content: ""; position: absolute; top: 0; inset-inline: 12%; height: 3px; background: var(--ribbon); border-radius: 3px; }
.sq-flow li { position: relative; counter-increment: f; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-card); padding: var(--s7) var(--s5) var(--s5); box-shadow: var(--shadow); }
.sq-flow li::before { content: counter(f); position: absolute; top: -26px; inset-inline-start: var(--s5); width: 52px; height: 52px; border-radius: 50%; background: var(--cedar); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 22px; box-shadow: 0 0 0 6px var(--stone); }
.sq-flow strong { display: block; font-size: 19px; margin-bottom: 4px; }
.sq-flow span { color: var(--muted); }
@media (max-width: 860px) {
  .sq-flow { grid-template-columns: 1fr; gap: var(--s7); }
  .sq-flow::before { display: none; }
}

/* Join band */
.sq-join { background: var(--cedar); color: var(--white); position: relative; overflow: hidden; }
.sq-join .sq-ribbon { background: #FF7A82; }
.sq-join .sq-lede { color: #D3E5D8; }
.sq-join__in { max-width: 820px; position: relative; z-index: 1; }
.sq-join .sq-btn--primary { background: var(--white); color: var(--cedar); border-color: var(--white); box-shadow: none; }
.sq-join .sq-btn--wa { border-color: var(--white); }

/* Listings: clear photo, then sale/rent and price in the details. */
.sq-listings { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s5); }
.sq-listing { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.sq-listing:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.sq-listing__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--tint); overflow: hidden; }
.sq-listing__media img, .sq-listing__media video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.sq-listing__media:hover img { transform: scale(1.03); }
.sq-listing__noimg { display: grid; place-items: center; height: 100%; color: var(--cedar); opacity: .35; }
.sq-listing__noimg .sq-ico { width: 56px; height: 56px; }
.sq-listing__facts { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 8px; }
.sq-listing__facts .sq-tag { flex-shrink: 0; }
.sq-tag { font-weight: 700; color: var(--white); background: var(--cedar); text-transform: uppercase; letter-spacing: .04em; font-size: 11px; padding: 5px 11px; border-radius: var(--r-pill); }
.sq-listing__price { margin-inline-start: auto; color: var(--ink); font-weight: 800; font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.sq-listing__body { padding: 16px 18px 18px; display: grid; gap: 4px; align-content: start; flex: 1; }
.sq-listing__title { font-size: 16.5px; line-height: 1.4; margin: 0; font-weight: 700; }
.sq-listing__title a { text-decoration: none; }
.sq-listing__title a:hover { color: var(--cedar); }
.sq-listing__cat { margin: 0; font-size: 13.5px; color: var(--muted); }
.sq-listing__loc { display: flex; gap: 6px; align-items: center; color: var(--cedar); font-weight: 600; font-size: 13.5px; margin: 6px 0 0; }
.sq-listing__loc .sq-ico { width: 15px; height: 15px; }

/* Directory pages */
.sq-dir { padding: clamp(24px, 4vw, 52px) 0 var(--s9); }
.sq-dir__head { display: flex; justify-content: space-between; align-items: end; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s5); }
.sq-dir__head .sq-display { margin: 0; }
.sq-dir__head .sq-lede { margin: 0; }
.sq-dir__search { display: flex; gap: var(--s2); flex: 0 1 440px; }
.sq-dir__search .sq-input { flex: 1; border-radius: var(--r-pill); }
.sq-dir__search .sq-btn { width: 54px; padding: 0; }
.sq-tabs { display: flex; gap: var(--s2); overflow-x: auto; padding: var(--s1) 2px var(--s3); margin-bottom: var(--s5); scrollbar-width: none; scroll-snap-type: x proximity; }
.sq-tabs::-webkit-scrollbar { display: none; }
.sq-tab { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-height: 46px; padding: 8px 16px; border-radius: var(--r-pill); background: var(--white); border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; font-size: 15px; scroll-snap-align: start; transition: all .15s var(--ease); }
.sq-tab svg { width: 20px; height: 20px; fill: var(--cedar); flex: none; }
.sq-tab:hover { border-color: var(--cedar); }
.sq-tab.is-on { background: var(--cedar); border-color: var(--cedar); color: var(--white); }
.sq-tab.is-on svg { fill: var(--white); }
.sq-tab.is-empty { opacity: .7; }
.sq-tab__n { font-size: 13px; background: var(--tint); color: var(--cedar); padding: 0 8px; border-radius: var(--r-pill); }
.sq-tab.is-on .sq-tab__n { background: rgba(255,255,255,.2); color: var(--white); }
.sq-count { margin: 0 0 var(--s4); }
.sq-dir__post { margin-top: var(--s7); display: grid; gap: var(--s2); justify-items: start; }
.sq-dir__post p { margin: 0 0 var(--s2); }

/* Fixer profile */
.sq-page--fixer { padding: var(--s5) 0 var(--s9); }
.sq-crumbs { display: flex; gap: var(--s2); font-size: 15px; margin-bottom: var(--s5); color: var(--muted); }
.sq-crumbs a { color: var(--cedar); font-weight: 600; text-decoration: none; }
.sq-profile { display: grid; grid-template-columns: 1fr 440px; grid-template-areas: "id book" "rev book"; gap: var(--s6) clamp(32px, 5vw, 72px); align-items: start; }
.sq-profile__id { grid-area: id; }
.sq-profile__book { grid-area: book; position: sticky; top: 100px; }
.sq-profile__reviews { grid-area: rev; }
.sq-profile__trade { display: inline-block; color: var(--cedar); background: var(--tint); font-weight: 700; font-size: 17px; padding: 3px 14px; border-radius: var(--r-pill); margin: 0 0 var(--s4); }
.sq-facts { list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; gap: 6px; }
.sq-facts li { display: flex; gap: 8px; align-items: center; }
.sq-facts .sq-ico { width: 20px; height: 20px; color: var(--cedar); }
.sq-score { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin: 0 0 var(--s4); }
.sq-score__n { font-size: 44px; font-weight: 800; line-height: 1; }
.sq-about { max-width: 60ch; }
.sq-profile__id .sq-row2 { max-width: 520px; }
.sq-rev-rule { font-size: 15px; max-width: 60ch; }
.sq-reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); }
.sq-review { background: var(--white); border: 1.5px solid var(--line); padding: var(--s4) var(--s5); border-radius: var(--r-card); box-shadow: var(--shadow); }
.sq-review__top { display: flex; justify-content: space-between; align-items: center; }
.sq-review__ref { color: var(--muted); font-size: 13px; }
.sq-review .sq-hand { font-size: 17px; line-height: 1.6; margin: var(--s2) 0; font-weight: 500; }
.sq-review__by { font-size: 14px; color: var(--muted); margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sq-verified { display: inline-flex; align-items: center; gap: 4px; color: var(--cedar); font-weight: 800; background: var(--tint); padding: 0 8px; border-radius: var(--r-pill); }
.sq-verified .sq-ico { width: 14px; height: 14px; }
.sq-stickybook { display: none; }
@media (max-width: 960px) {
  .sq-profile { grid-template-columns: 1fr; grid-template-areas: "id" "book" "rev"; }
  .sq-profile__book { position: static; }
  .sq-stickybook { display: block; position: fixed; inset-inline: 0; bottom: var(--bottom-h); padding: 10px 16px; background: var(--white); border-top: 1px solid var(--line); z-index: 30; transition: transform .2s var(--ease); }
  .sq-stickybook.is-hidden { transform: translateY(110%); }
}

/* Split pages (join, post a job, contact) */
.sq-page--join, .sq-page--postjob, .sq-contact { padding: clamp(28px, 5vw, 64px) 0 var(--s9); }
.sq-split { display: grid; grid-template-columns: 1fr 520px; gap: clamp(28px, 6vw, 80px); align-items: start; }
.sq-howto { margin: 0 0 var(--s5); padding-inline-start: 1.3em; display: grid; gap: 6px; font-size: 18px; font-weight: 600; }
@media (max-width: 960px) { .sq-split { grid-template-columns: 1fr; } }

/* Job page (fixer): big and plain */
.sq-plain { background: var(--stone); }
.sq-page--job { padding: var(--s5) 0 var(--s8); }
.sq-hello { color: var(--cedar); font-size: 22px; font-weight: 800; margin: 0; }
.sq-page--job .sq-lines dd { font-size: 20px; }
.sq-job-actions { display: grid; gap: var(--s3); margin-top: var(--s5); }
.sq-job-actions .sq-btn--done { min-height: 78px; font-size: 24px; }
.sq-job-actions .sq-btn--done .sq-ico { width: 30px; height: 30px; }
.sq-help { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: var(--s5); font-weight: 700; color: var(--wa); }
.sq-page--booking { padding: var(--s5) 0 var(--s9); }

/* Documents */
.sq-doc { padding: clamp(28px, 5vw, 64px) 0 var(--s9); }
.sq-doc__in { max-width: 860px; }
.sq-doc__art { background: var(--white); border: 1.5px solid var(--line); padding: clamp(24px, 4vw, 48px); border-radius: var(--r-card); box-shadow: var(--shadow); }
.sq-woo .sq-wrap { background: var(--white); padding-block: var(--s6); border-radius: var(--r-card); }
.sq-prose { max-width: 70ch; }
.sq-prose h2, .sq-prose h3 { line-height: 1.35; margin: 1.6em 0 .5em; }
.sq-prose a { color: var(--cedar); }
.sq-prose img { border-radius: var(--r-input); }
.sq-postlist { list-style: none; padding: 0; display: grid; gap: var(--s2); }
.sq-postlist li { display: flex; justify-content: space-between; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }

/* Listing single */
.sq-lst { padding: var(--s5) 0 var(--s9); }
.sq-lst__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.sq-lst__media video, .sq-lst__main { width: 100%; max-height: 78vh; object-fit: contain; background: var(--ink); border-radius: var(--r-card); }
.sq-lst__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: var(--s2); margin-top: var(--s2); }
.sq-lst__thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r-input); }
.sq-lst__info { position: sticky; top: 100px; }
.sq-lst__desc { margin: 0 0 var(--s5); }
@media (max-width: 960px) { .sq-lst__grid { grid-template-columns: 1fr; } .sq-lst__info { position: static; } }

/* About */
.sq-aboutpg { padding: clamp(28px, 5vw, 64px) 0 var(--s9); }
.sq-about__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--s4); }
.sq-about__fig { margin: 0; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); }
.sq-about__fig img { width: 100%; height: 100%; object-fit: cover; }
.sq-about__fig.is-lead { grid-row: span 2; }
.sq-about__text { grid-column: span 2; }
.sq-about__text p { max-width: 68ch; }
.sq-about__cta { margin-top: var(--s6); max-width: 560px; }
@media (max-width: 860px) { .sq-about__grid { grid-template-columns: 1fr 1fr; } .sq-about__fig.is-lead { grid-row: auto; grid-column: span 2; } .sq-about__text { grid-column: span 2; } }

/* WooCommerce / WCFM pages */
.woocommerce .button, .woocommerce button.button, .woocommerce input.button, .woocommerce a.button, .wcfm_submit_button, .woocommerce-button {
  background: var(--cedar) !important; color: var(--white) !important; border: 0 !important; border-radius: var(--r-pill) !important; min-height: 48px; padding: 10px 24px !important; font-weight: 700 !important; font-family: var(--font) !important; }
.woocommerce .button:hover, .woocommerce button.button:hover { background: var(--cedar-hover) !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 50px; border: 1.5px solid var(--line); background: var(--stone); border-radius: var(--r-input); padding: 10px 14px; font-size: 17px; }
.woocommerce form.login, .woocommerce form.register { border: 1.5px solid var(--line) !important; border-radius: var(--r-card) !important; }

/* Footer: green and red, like the logo */
.sq-foot { background: var(--forest); color: #BFD0C5; padding: var(--s8) 0 var(--s5); margin-top: var(--s7); }
.sq-foot__brandbox { display: inline-block; background: var(--stone); padding: 10px 16px; border-radius: 12px; margin-bottom: var(--s3); }
.sq-foot__brandbox .sq-foot__logo { margin: 0; height: 52px; }
.sq-foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s5); }
.sq-foot__logo { height: 64px; width: auto; margin-bottom: var(--s3); }
.sq-foot__name { font-weight: 800; font-size: 22px; margin: 0 0 var(--s2); }
.sq-foot__line { color: #BFD0C5; max-width: 34ch; margin: 0; }
.sq-foot__col { display: grid; gap: 8px; align-content: start; }
.sq-foot__col a { text-decoration: none; }
.sq-foot__col a:hover { color: var(--white); text-decoration: underline; }
.sq-foot__h { font-weight: 700; color: var(--white); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 var(--s1); }
.sq-foot__base { display: flex; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #9FB4A7; }
.sq-foot__base a { color: var(--white); font-weight: 700; }
@media (max-width: 860px) { .sq-foot__in { grid-template-columns: 1fr 1fr; } .sq-foot__brand { grid-column: 1 / -1; } }

/* Mobile bottom bar (same five slots as the app) */
.sq-bottom { display: none; }
@media (max-width: 960px) {
  :root { --bottom-h: calc(68px + env(safe-area-inset-bottom)); }
  .sq-bottom { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset-inline: 0; bottom: 0; z-index: 50; height: var(--bottom-h); padding-bottom: env(safe-area-inset-bottom); background: var(--white); border-top: 1px solid var(--line); }
  .sq-bottom__it { display: grid; justify-items: center; align-content: center; gap: 2px; text-decoration: none; font-size: 12px; font-weight: 700; color: var(--muted); -webkit-tap-highlight-color: transparent; }
  .sq-bottom__it .sq-ico { width: 24px; height: 24px; }
  .sq-bottom__it.is-on { color: var(--cedar); }
  .sq-bottom__it.is-on::after { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--ribbon); }
  .sq-bottom__fab .sq-ico { width: 56px; height: 56px; padding: 14px; margin-top: -30px; border-radius: 50%; background: var(--cedar); fill: var(--white); box-shadow: 0 0 0 4px var(--stone), 0 8px 16px -6px rgba(20, 49, 34, .5); }
  .sq-bottom__fab { color: var(--ink); }
  .sq-plain .sq-bottom { display: none; }
  .sq-plain { --bottom-h: 0px; }
}

#trp-floater-ls, .trp-floating-switcher { display: none !important; }

/* Monogram until the fixer's real photo arrives (photo becomes mandatory). */
.sq-fixer__mono, .sq-avatar--mono { display: grid; place-items: center; background: var(--tint); position: relative; }
.sq-vh-m { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sq-fixer__mono span, .sq-avatar--mono span { font-family: var(--serif); font-size: clamp(22px, 3.4vw, 30px); font-weight: 600; color: var(--cedar); background: var(--white); border: 2px solid var(--cedar); border-radius: 50%; width: 2.6em; height: 2.6em; display: grid; place-items: center; line-height: 1; box-shadow: var(--shadow); letter-spacing: 0; white-space: nowrap; }
.sq-avatar--mono span { font-size: 24px; border-width: 2px; }
.sq-avatar.xl.sq-avatar--mono span { font-size: 44px; }

/* About v4 */
.sq-aboutpg .sq-lede { max-width: 70ch; }
.sq-aboutparts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin: var(--s6) 0 var(--s7); }
.sq-aboutpart { display: grid; gap: 6px; align-content: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s5); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.sq-aboutpart:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.sq-aboutpart__ic { width: 48px; height: 48px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; margin-bottom: 6px; }
.sq-aboutpart__ic .sq-ico { width: 24px; height: 24px; fill: var(--cedar); }
.sq-aboutpart strong { font-size: 18px; }
.sq-aboutpart > span:last-child { color: var(--muted); font-size: 15px; }
.sq-aboutlist { padding-inline-start: 1.2em; display: grid; gap: 8px; font-size: 17px; margin: var(--s3) 0 0; }
.sq-aboutlist li::marker { color: var(--ribbon); }
@media (max-width: 960px) { .sq-aboutparts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sq-aboutparts { grid-template-columns: 1fr; } }

/* v4 fixes: Arabic display leading, 4 section pills on one row on phones */
[dir="rtl"] .sq-display, [dir="rtl"] .sq-h1, [dir="rtl"] .sq-h2 { line-height: 1.4; }
@media (max-width: 600px) {
  .sq-seg { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; gap: 6px; }
  .sq-seg a { justify-content: center; padding: 8px 4px; font-size: 13.5px; text-align: center; line-height: 1.2; }
  .sq-hero .sq-display { font-size: 34px; }
}

/* Section browsing: offer first, then item type/search; no image overlays. */
.sq-filterbar { display: flex; align-items: end; flex-wrap: wrap; gap: 14px; margin: 0 0 24px; }
.sq-filterbar label { display: grid; gap: 6px; flex: 1 1 220px; font-size: 14px; font-weight: 600; min-width: 0; }
.sq-filterbar .sq-input { width: 100%; min-width: 0; }
.sq-filterbar .sq-link { padding-block: 12px; }
.sq-offers { margin-bottom: 20px; }
@media (max-width: 600px) {
  .sq-filterbar { align-items: stretch; }
  .sq-filterbar label { flex-basis: 100%; }
  .sq-filterbar .sq-btn { flex: 1; }
  .sq-bottom__it { font-size: 10.5px; padding-inline: 2px; text-align: center; }
}

/* Direct contact is the primary listing action, on cards and on the detail page. */
.sq-listing__contact { padding: 0 18px 18px; }
.sq-listing-contact { padding-block: 16px; margin-bottom: 18px; border-block: 1px solid var(--line); }
.sq-listing-contact .sq-h3 { font-size: 18px; margin-bottom: 8px; }
.sq-listing-contact p { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.sq-listing-contact__phone { display: inline-block; font-size: 20px; font-weight: 700; color: var(--cedar); margin-bottom: 12px; }
.sq-listing-contact__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sq-listing-contact__actions .sq-btn { min-width: 0; padding: 10px 8px; font-size: 13px; gap: 6px; }
.sq-listing-contact__actions .sq-ico { flex-shrink: 0; width: 18px; height: 18px; }
.sq-listing-contactbar { display: none; }
@media (max-width: 960px) {
  body.single-souq_listing { padding-bottom: calc(var(--bottom-h) + 78px); }
  .sq-listing-contactbar { display: block; position: fixed; inset-inline: 0; bottom: var(--bottom-h); z-index: 45; background: var(--white); border-top: 1px solid var(--line); padding: 8px 16px; box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
  .sq-listing-contactbar .sq-btn { min-height: 48px; }
}

/* Generic service art is a landscape banner, never a cropped personal portrait. */
.sq-fixer--placeholder .sq-fixer__top { flex-wrap: wrap; min-width: 0; }
.sq-fixer--placeholder .sq-fixer__id { width: 100%; }
.sq-fixer--placeholder .sq-fixer__photo { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border: 0; border-radius: var(--r-input); }
.sq-avatar.xl.sq-avatar--placeholder { aspect-ratio: 16 / 9; object-fit: contain; }
