.sm-compact {
  --paper: #fffdf8;
  --stone: #f4f3ef;
  --ink: #333635;
  --muted: #585952;
  --line: #deddd7;
  --gold: #c4a347;
  --shadow: #e3d7ba;
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  color: var(--ink);
  font-family: Cairo, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
.sm-compact *, .sm-compact *::before, .sm-compact *::after { box-sizing: border-box; }
.sm-compact .elementor-widget-shortcode:has(.elementor-shortcode:empty) { display: none; }
.sm-compact h1, .sm-compact h2, .sm-compact h3, .sm-compact p { margin: 0; color: inherit; }
.sm-compact h1 { font-size: clamp(30px, 4.5vw, 51px); line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; font-weight: 700; }
.sm-compact h2 { font-size: clamp(23px, 3vw, 32px); line-height: 1.35; text-wrap: balance; font-weight: 700; }
.sm-compact h3 { font-size: 18px; line-height: 1.4; font-weight: 700; }
.sm-compact p { text-wrap: pretty; }
.sm-compact .sm-photo-grid {
  display: grid;
  gap: 10px;
  margin-block-end: 18px;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: clamp(290px, 32vw, 420px);
}
.sm-compact .sm-photo-grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.sm-compact .sm-photo-grid[data-count="2"] > :nth-child(2) { grid-row: span 2; }
.sm-compact .sm-photo-grid > :first-child { grid-row: span 2; }
.sm-compact .sm-photo { display: block; overflow: hidden; border-radius: 13px; background: var(--stone); }
.sm-compact .sm-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
@media (hover: hover) { .sm-compact .sm-photo:hover img { transform: scale(1.025); } }
.sm-compact .sm-hero-card, .sm-compact details.sm-details {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
}
.sm-compact .sm-hero-card { padding: clamp(16px, 3.2vw, 34px); }
.sm-compact .sm-location { color: var(--muted); display: flex; align-items: center; gap: 8px; margin-block-start: 8px; }
.sm-compact .sm-hero-row { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-block: 20px; }
.sm-compact .sm-price { font-size: clamp(26px, 4vw, 43px); font-weight: 700; line-height: 1.12; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sm-compact .sm-price-label, .sm-compact .sm-muted { color: var(--muted); font-size: 14px; }
.sm-compact .sm-currency { font-size: 15px; font-weight: 700; }
.sm-compact .sm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sm-compact .sm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid #b8a990; border-radius: 9px; min-height: 46px;
  padding: 8px 17px; background: var(--paper); color: var(--ink);
  font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .18s ease, border-color .18s ease;
}
.sm-compact .sm-btn:hover { background: #eee6d5; border-color: #9b8554; color: #242624; }
.sm-compact .sm-btn--primary { background: var(--gold); border-color: var(--gold); color: #242624; }
.sm-compact .sm-btn--primary:hover { background: #b7963c; }
.sm-compact a:focus-visible, .sm-compact button:focus-visible, .sm-compact summary:focus-visible { outline: 2px solid #795c21; outline-offset: 3px; }
.sm-compact .sm-links { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; gap: 6px; }
.sm-compact .sm-links .sm-btn { flex: 1; padding-inline: 7px; border-color: transparent; }
.sm-compact .sm-icon { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.sm-compact .sm-section { margin-block-start: clamp(25px, 3.6vw, 48px); scroll-margin-block-start: 115px; }
.sm-compact .sm-section > h2 { margin-block-end: 12px; }
.sm-compact .sm-intro { max-width: 75ch; }
.sm-compact .sm-section:last-child { margin-block-end: 12px; }
.sm-compact .sm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 13px; }
.sm-compact .sm-card {
  padding: clamp(13px, 2.1vw, 23px); border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); box-shadow: -3px 4px 0 var(--shadow);
}
.sm-compact .sm-plan-cards { background: var(--stone); padding: clamp(12px, 2vw, 20px); border-radius: 15px; }
.sm-compact .sm-plan-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-block: 5px; }
.sm-compact .sm-percent { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1; }
.sm-compact .sm-map-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; margin-block-start: 12px; align-items: start; }
.sm-compact .sm-map { display: block; background: var(--stone); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sm-compact .sm-map img { display: block; width: 100%; height: auto; }
.sm-compact .sm-near, .sm-compact .sm-amenities { list-style: none; padding: 0; margin: 0; }
.sm-compact .sm-near li { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding-block: 7px; border-bottom: 1px solid var(--line); }
.sm-compact .sm-amenity-block { margin-block-start: 18px; }
.sm-compact .sm-amenity-block h3 { margin-block-end: 9px; }
.sm-compact .sm-amenities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sm-compact .sm-amenities li { display: flex; align-items: center; gap: 8px; background: var(--stone); padding: 9px; border-radius: 8px; min-width: 0; }
.sm-compact .sm-contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: clamp(15px, 2.5vw, 25px); background: var(--stone); border-radius: 14px; }
.sm-compact .sm-details { margin-block-start: 10px; padding: 9px 15px; }
.sm-compact summary { cursor: pointer; font-weight: 700; padding-block: 4px; }
.sm-compact .sm-details p { padding-block: 4px 7px; }
.sm-compact .sm-media {
  border: 1px solid var(--line); border-radius: 15px; padding: 13px; background: var(--paper);
  color: var(--ink); width: min(900px, calc(100% - 24px)); max-width: 100%; max-height: calc(100dvh - 26px);
}
.sm-compact .sm-media::backdrop { background: #20231ee0; }
.sm-compact .sm-media-head, .sm-compact .sm-media-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sm-compact .sm-media figure { margin: 9px 0; text-align: center; }
.sm-compact .sm-media img { display: block; width: 100%; max-height: 68dvh; object-fit: contain; }
.sm-compact .sm-media [hidden] { display: none; }
@media (max-width: 767px) {
  .sm-compact { width: calc(100% - 28px); font-size: 15px; }
  .sm-compact .sm-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 2fr) minmax(0, 1fr); height: clamp(246px, 75vw, 385px); gap: 7px; margin-block-end: 12px; }
  .sm-compact .sm-photo-grid > :first-child { grid-area: 1 / 1 / 2 / -1; }
  .sm-compact .sm-photo-grid[data-count="1"] { grid-template-rows: 1fr; }
  .sm-compact .sm-photo-grid[data-count="2"] > :nth-child(2) { grid-area: 2 / 1 / 3 / -1; }
  .sm-compact .sm-hero-row { flex-direction: column; align-items: stretch; }
  .sm-compact .sm-actions > * { flex: 1 1 auto; }
  .sm-compact .sm-links .sm-btn { min-width: max-content; }
  .sm-compact .sm-map-layout { grid-template-columns: minmax(0, 1fr); }
  .sm-compact .sm-amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-compact .sm-contact .sm-actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sm-compact *, .sm-compact *::before, .sm-compact *::after { transition: none !important; } }
.sm-compact [hidden] { display: none !important; }
.sm-compact .sm-area { margin-block-start: 4px; font-weight: 700; }
.sm-compact .sm-map-layout--single { grid-template-columns: minmax(0, 1fr); }
.sm-compact-page .sm-compact { max-width: none; }
.sm-compact .sm-near small { white-space: nowrap; }
.sm-compact .sm-sticky { display: none; }
.sm-compact .sm-map img { max-height: 390px; object-fit: contain; }
.sm-compact .sm-plan-cards { background: #eeece4; }
@media (max-width: 767px) {
  .sm-compact .sm-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(78px, 1fr)); }
  .sm-compact .sm-links .sm-btn { min-width: 0; flex-direction: column; gap: 3px; padding-inline: 3px; font-size: 12px; line-height: 1.4; }
  body:has(.sm-compact .sm-sticky) { padding-block-end: calc(67px + env(safe-area-inset-bottom)); }
  .sm-compact .sm-sticky {
    display: flex; position: fixed; z-index: 100; inset-inline: 0; bottom: 0;
    gap: 8px; background: var(--paper); border-top: 1px solid var(--line);
    padding: 7px 14px calc(7px + env(safe-area-inset-bottom));
  }
  .sm-compact .sm-sticky > a {
    flex: 1; display: grid; place-items: center; min-height: 44px; padding: 4px;
    border: 1px solid #b8a990; border-radius: 8px; color: var(--ink);
    text-decoration: none; font-weight: 700;
  }
  .sm-compact .sm-sticky > a + a { background: var(--gold); border-color: var(--gold); }
}
.sm-compact .sm-faq { margin: 0; }
.sm-compact .sm-faq dt { font-weight: 700; margin-block-start: 9px; }
.sm-compact .sm-faq dd { margin: 0; }

/* Keep the 1,200px project grid and put the buyer's decision first. */
.smn-page.sm-compact-page .sm-compact { width: min(1200px, calc(100% - 40px)); }
.sm-compact .sm-photo-grid { height: clamp(270px, 29vw, 390px); margin-block: 14px 0; }
.sm-compact .sm-hero-card { display: grid; gap: 16px; padding: clamp(14px, 2vw, 27px); }
.sm-compact .sm-hero-card .sm-hero-row { margin: 0; align-items: center; }
.sm-compact .sm-hero-card .sm-links { padding-block-start: 5px; }
.sm-compact .sm-hero-card h1 { font-size: clamp(28px, 3.7vw, 48px); }
.sm-compact .sm-price { font-size: clamp(26px, 3.15vw, 39px); }
.sm-compact .sm-hero-identity { min-width: 0; }
.sm-compact .sm-section { margin-block-start: clamp(23px, 3vw, 40px); }
.sm-compact .sm-amenities { grid-template-columns: repeat(auto-fit, minmax(135px, max-content)); }
.sm-compact .sm-amenities li { padding-inline: 12px; }
.sm-compact .sm-buying-facts {
  display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 10px 0 0;
}
.sm-compact .sm-buying-facts li {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px;
  border-radius: 7px; border: 1px solid var(--line); color: var(--ink); background: var(--paper); font-size: 13px;
}
.sm-compact .sm-buying-facts .sm-icon { width: 15px; height: 15px; }
.sm-compact .sm-offer-total { font-size: 15px; font-weight: 700; margin-block: 4px 7px; }
.sm-compact .sm-offer-total span { color: var(--muted); font-size: 12px; font-weight: 400; margin-inline-start: 4px; }
.sm-compact .sm-comparison summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sm-compact .sm-comparison summary::after, .sm-compact .sm-faq summary::after {
  content: '+'; flex: 0 0 auto; color: #795c21; font-size: 20px; font-weight: 600; line-height: 1;
}
.sm-compact .sm-comparison[open] summary::after, .sm-compact .sm-faq details[open] summary::after { content: '−'; }
.sm-compact .sm-compare-item { border: 1px solid var(--line); border-radius: 9px; padding: 12px; }
.sm-compact .sm-compare-item dl { margin: 6px 0 0; font-size: 14px; }
.sm-compact .sm-compare-item dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; }
.sm-compact .sm-compare-item dd { margin: 0; font-weight: 700; }
.sm-compact .sm-map { position: relative; }
.sm-compact .sm-map-label {
  position: absolute; inset-block-start: 10px; inset-inline-end: 10px; display: flex; align-items: center;
  gap: 5px; border: 1px solid var(--line); border-radius: 7px; padding: 4px 8px;
  background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 700;
}
.sm-compact .sm-faq .sm-details { margin-block-start: 6px; }
.sm-compact .sm-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; list-style: none;
}
.sm-compact .sm-faq summary::-webkit-details-marker, .sm-compact .sm-comparison summary::-webkit-details-marker { display: none; }
.sm-compact .sm-faq p { max-width: 76ch; }
@media (min-width: 880px) {
  .sm-compact .sm-hero-card { grid-template-columns: minmax(0, 1fr) auto; column-gap: 25px; align-items: center; }
  .sm-compact .sm-hero-card .sm-links { grid-column: 1 / -1; }
  .sm-compact .sm-hero-card .sm-hero-row { gap: 24px; }
}
@media (max-width: 767px) {
  .smn-page.sm-compact-page .sm-compact { width: calc(100% - 24px); }
  .smn-page.sm-compact-page .sm-compact .sm-hero { margin-block-start: -18px; }
  .sm-compact .sm-hero-card { gap: 10px; }
  .sm-compact .sm-hero-card .sm-hero-row { align-items: stretch; gap: 9px; }
  .sm-compact .sm-photo-grid { height: clamp(220px, 68vw, 350px); }
  .sm-compact .sm-amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-compact .sm-contact .sm-actions .sm-btn { flex: 1 1 40%; }
  .sm-compact .sm-contact .sm-actions .sm-btn--primary { flex-basis: 100%; }
  .sm-compact .sm-sticky.sm-sticky--quiet { visibility: hidden; pointer-events: none; }
  body:has(.sm-compact-page) #smouha-footer-clean .sfc-column details:not([open]) .sfc-accordion-panel { display: none !important; }
}
.sm-compact .sm-photo { position: relative; }
.sm-compact .sm-photo--plan img { object-fit: contain; background: var(--paper); }
.sm-compact .sm-photo-label {
  position: absolute; inset-inline-start: 8px; inset-block-end: 8px; border-radius: 5px; padding: 2px 7px;
  background: var(--paper); color: var(--ink); font-size: 11px; line-height: 1.5; font-weight: 700;
}

/* Valore design review: place media first and use compact, high-contrast controls. */
.sm-compact .sm-photo-grid { margin-block: 0 12px; }
.sm-compact .sm-hero-card { gap: 12px; padding: clamp(14px, 1.8vw, 23px); }
.sm-compact .sm-hero-card .sm-hero-row { gap: clamp(12px, 2vw, 22px); }
.sm-compact .sm-hero-card .sm-links { gap: 7px; padding-block-start: 9px; }
.sm-compact .sm-links .sm-btn {
  flex: 0 1 auto; min-height: 40px; padding: 5px 12px;
  border: 1px solid #a79d89; background: #f3eee3; color: #252729;
}
.sm-compact .sm-btn { border-color: #736a59; color: #252729; }
.sm-compact .sm-btn--primary { background: #252729; border-color: #252729; color: #fffdf8; }
.sm-compact .sm-btn--primary:hover { background: #41443f; border-color: #41443f; color: #fffdf8; }
.sm-compact .sm-links .sm-btn:hover { background: #e5dbc5; border-color: #736a59; }
.sm-compact .sm-sticky > a + a { background: #252729; border-color: #252729; color: #fffdf8; }
.sm-compact .sm-intro { max-width: 70ch; line-height: 1.85; }
.sm-compact .sm-plan-cards { background: transparent; padding: 0; gap: 10px; }
.sm-compact .sm-plan-cards .sm-card { padding: 12px 14px; box-shadow: none; border-radius: 12px; }
.sm-compact .sm-plan-facts {
  display: grid; grid-template-columns: minmax(max-content, 1.2fr) repeat(2, minmax(0, 1fr));
  margin: 9px 0 0; gap: 7px;
}
.sm-compact .sm-plan-facts div { border-top: 1px solid var(--line); padding-block-start: 5px; }
.sm-compact .sm-plan-facts dt { color: var(--muted); font-size: 12px; }
.sm-compact .sm-plan-facts dd { font-size: clamp(13px, 1.3vw, 18px); font-weight: 700; margin: 0; }
.sm-compact .sm-plan-facts dd span { font-size: 11px; }
.sm-compact .sm-plan-cards .sm-muted { margin-block-start: 5px; font-size: 12px; }
.sm-compact .sm-comparison { padding: 0; border: 0; background: transparent; }
.sm-compact .sm-comparison summary {
  width: fit-content; padding: 4px 10px; border: 1px solid #736a59;
  border-radius: 8px; background: var(--paper); font-size: 13px;
}
.sm-compact .sm-comparison[open] > .sm-grid { margin-block-start: 8px; }
.sm-compact .sm-map-layout { gap: 10px; align-items: stretch; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.sm-compact .sm-map-layout--single { grid-template-columns: 1fr; }
.sm-compact .sm-map { border-radius: 12px; align-content: center; }
.sm-compact .sm-map img { max-height: 325px; }
.sm-compact .sm-near-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--paper); }
.sm-compact .sm-near-card h3 { margin-block-end: 4px; }
.sm-compact .sm-near-card li { padding-block: 5px; gap: 8px; min-height: 39px; }
.sm-compact .sm-near-card li:last-child { border: 0; }
.sm-compact .sm-near-card small { font-size: 12px; }
.sm-compact .sm-map-label { background: #252729; border-color: #252729; color: #fffdf8; }
@media (max-width: 767px) {
  .smn-page.sm-compact-page .sm-compact .sm-hero { margin-block-start: -12px; }
  .sm-compact .sm-photo-grid { height: clamp(205px, 58vw, 320px); }
  .sm-compact .sm-hero-card .sm-links { grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); }
  .sm-compact .sm-links .sm-btn { padding-inline: 4px; font-size: 11px; }
  .sm-compact .sm-map-layout { grid-template-columns: minmax(0, 1fr); }
}
.sm-compact .sm-near-card { display: flex; flex-direction: column; }
.sm-compact .sm-near-card .sm-near { display: grid; flex: 1; }

.sm-compact .sm-intro { max-inline-size: 78ch; text-wrap: pretty; }
.sm-compact .sm-resources .sm-resource-links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 148px), 1fr));
  gap: 7px; max-inline-size: 780px;
}
.sm-compact .sm-resource-links .sm-btn { padding: 5px 9px; min-height: 44px; font-size: 13px; }
@media (max-width: 470px) {
  .sm-compact .sm-resources .sm-resource-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Valore's overview and services use the approved light surfaces. */
.sm-compact .sm-valore-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(22px, 4vw, 57px);
  padding: clamp(24px, 4vw, 54px);
  background: #fffefa;
  border: 1px solid #e4e3dd;
  border-radius: 16px;
}
.sm-compact .sm-valore-overview > .sm-section { margin-block: 0; }
.sm-compact .sm-valore-overview #overview > h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.5; }
.sm-compact .sm-valore-overview #overview > h2::before {
  content: ""; display: block; inline-size: 34px; block-size: 2px;
  margin-block-end: 12px; background: #b9ac91;
}
.sm-compact .sm-valore-overview .sm-intro { max-inline-size: 55ch; color: #393a36; line-height: 1.95; }
.sm-compact .sm-valore-overview .sm-resources {
  padding-inline-start: clamp(22px, 3vw, 43px); border-inline-start: 1px solid #e4e3dd;
}
.sm-compact .sm-valore-overview .sm-resources h2 { font-size: clamp(18px, 2vw, 23px); }
.sm-compact .sm-valore-overview .sm-resource-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sm-compact .sm-valore-overview .sm-resource-links .sm-icon { width: 22px; height: 22px; }
.sm-compact .sm-valore-location .sm-map { background: #f4f4f1; border-color: #e4e3dd; }
.sm-compact .sm-valore-location .sm-near-card { background: #fffefa; border-color: #e4e3dd; }
.sm-compact .sm-valore-services {
  margin-block-start: 18px; padding: 18px clamp(14px, 2.2vw, 26px) 21px;
  background: #eeefeb; border: 1px solid #dedfd9; border-radius: 12px;
}
.sm-compact .sm-valore-services > h2 { font-size: clamp(21px, 2.2vw, 26px); margin-block-end: 10px; }
.sm-compact .sm-valore-services .sm-amenities { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.sm-compact .sm-valore-services .sm-amenities li {
  min-height: 48px; gap: 11px; padding: 5px 14px; background: none; border-radius: 0; font-weight: 700;
}
.sm-compact .sm-valore-services .sm-amenities li:first-child { padding-inline-start: 0; }
.sm-compact .sm-valore-services .sm-amenities li + li { border-inline-start: 1px solid #d9dad3; }
.sm-compact .sm-valore-services .sm-amenities .sm-icon { width: 32px; height: 32px; flex: none; color: #333635; stroke-width: 1.55; }
.sm-compact .sm-valore-price { display: grid; gap: 3px; }
.sm-compact .sm-valore-price .sm-price-label {
  color: var(--ink); font-weight: 700; line-height: 1.45; text-wrap: balance;
}
.sm-compact .sm-valore-hero .sm-links .sm-btn { min-height: 44px; }
.sm-compact .sm-valore-payments .sm-plan-cards .sm-muted {
  margin-block-start: 8px; font-size: 13px; line-height: 1.5;
}
.sm-compact .sm-valore-contact .sm-actions { gap: 8px; }
.sm-compact .sm-valore-location .sm-near-card small { flex: none; white-space: nowrap; }
@media (max-width: 767px) {
  .sm-compact .sm-valore-hero .sm-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm-compact .sm-valore-hero .sm-links .sm-btn {
    min-width: 0; gap: 4px; line-height: 1.35; font-size: 12px;
  }
  .sm-compact .sm-valore-hero .sm-links .sm-icon { width: 16px; height: 16px; }
  .sm-compact .sm-valore-contact .sm-actions .sm-btn { flex: 1 1 100%; }
}
@media (max-width: 720px) {
  .sm-compact .sm-valore-overview { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 20px 16px; }
  .sm-compact .sm-valore-overview .sm-resources { padding: 15px 0 0; border-inline-start: 0; border-block-start: 1px solid #e4e3dd; }
  .sm-compact .sm-valore-overview .sm-resource-links .sm-btn { font-size: 12px; }
  .sm-compact .sm-valore-overview .sm-resource-links .sm-icon { width: 20px; height: 20px; }
  .sm-compact .sm-valore-services .sm-amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 7px; }
  .sm-compact .sm-valore-services .sm-amenities li { min-height: 45px; padding-inline: 8px; font-size: 13px; gap: 7px; }
  .sm-compact .sm-valore-services .sm-amenities li:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .sm-compact .sm-valore-services .sm-amenities .sm-icon { width: 28px; height: 28px; }
}

/* Valore consultant review */
.sm-compact .sm-valore-hero .sm-hero-card {background:#fffdf8;border-color:#deddd7;gap:14px}
.sm-compact .sm-valore-price {background:#efeee8;border:1px solid #e2dfd4;border-radius:10px;padding:8px 13px;gap:4px}
.sm-compact .sm-valore-hero .sm-photo-label {padding:3px 8px;background:#fffdf8;border:1px solid #deddd7}
.sm-compact .sm-valore-hero .sm-links .sm-btn {background:#fffdf8;border-color:#c9c3b5;font-size:12px}
.sm-compact .sm-valore-overview {grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);padding:clamp(18px,3vw,38px);gap:clamp(18px,3vw,40px)}
.sm-compact .sm-valore-overview > .sm-section {margin:0}
.sm-compact .sm-valore-overview #overview > h2 {font-size:clamp(23px,2.3vw,30px);line-height:1.4}
.sm-compact .sm-valore-overview #overview > h2::before {display:none}
.sm-compact .sm-review-area {display:inline-block;font-weight:700;margin-block-start:10px;padding:3px 10px;border-radius:6px;background:#eeefeb}
.sm-compact .sm-valore-overview .sm-resource-links {grid-template-columns:repeat(3,minmax(0,1fr))}
.sm-compact .sm-valore-overview .sm-resource-links .sm-btn {padding-inline:5px;gap:4px;white-space:nowrap}
.sm-compact .sm-valore-overview .sm-resource-links .sm-icon {width:16px;height:16px}
.sm-compact .sm-valore-overview .sm-resource-links a[target="_blank"] {grid-column:1/-1;background:#f3f1ea;color:#333635;border-color:#deddd7}
.sm-compact .sm-valore-payments .sm-plan-facts {grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr) minmax(0,1fr);gap:8px}
.sm-compact .sm-valore-payments .sm-plan-facts div {padding-block-start:8px}
.sm-compact .sm-valore-payments .sm-plan-facts dd {font-size:clamp(13px,1.3vw,18px);overflow-wrap:anywhere}
.sm-compact .sm-valore-payments .sm-plan-facts div:nth-child(2) dd {font-size:22px;line-height:1.35}
.sm-compact .sm-valore-payments .sm-comparison summary {width:100%;padding-inline:13px}
.sm-compact .sm-valore-location .sm-map {display:flex;flex-direction:column;background:#fffefa}
.sm-compact .sm-valore-location .sm-map img {max-height:none;aspect-ratio:32/21;object-fit:contain}
.sm-compact .sm-valore-location .sm-map-label {position:static;justify-content:center;min-height:44px;border:0;border-block-start:1px solid #deddd7;border-radius:0;background:#fffefa;color:#333635}
.sm-compact .sm-valore-location .sm-near-card li > span {font-weight:700}
.sm-compact .sm-valore-services > h2 {font-size:clamp(23px,3vw,32px)}
.sm-compact .sm-valore-services .sm-amenities li {gap:9px}
.sm-compact .sm-valore-faq {border:1px solid #deddd7;border-radius:13px;padding:15px clamp(12px,2vw,24px);background:#fffefa}
.sm-compact .sm-valore-faq .sm-details {border:0;border-radius:0;background:transparent;padding:0;margin:0}
.sm-compact .sm-valore-faq .sm-details + .sm-details {border-block-start:1px solid #deddd7}
.sm-compact .sm-valore-faq summary {min-height:47px;padding:7px 3px}
.sm-compact .sm-valore-enquiry {padding:clamp(13px,2vw,24px);border:1px solid #deddd7;border-radius:14px;background:#fffefa}
.sm-compact .sm-valore-contact {background:transparent;padding:0}
@media(max-width:900px) {
 .sm-compact .sm-valore-overview .sm-resource-links {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px) {
 .sm-compact .sm-valore-overview {grid-template-columns:minmax(0,1fr)}
 .sm-compact .sm-valore-services .sm-amenities li:nth-child(n+3) {border-block-start:1px solid #d9dad3;padding-block-start:9px}
}
/* The media sets the card dimensions. A fixed-size card would clip the originals. */
.sm-compact .sm-gallery-original {
  --photo-gap:10px;
  --photo-side:38.071593%;
  --photo-gap-factor:0.83498700;
  height:auto;
  grid-template-columns:minmax(0,1fr) calc(var(--photo-side) - var(--photo-gap) * var(--photo-gap-factor));
  grid-template-rows:auto auto;
  align-items:start;
  gap:var(--photo-gap);
}
.sm-compact .sm-gallery-original .sm-photo img {
  width:100%;height:auto;object-fit:contain;transition:none;transform:none;
}
@media(max-width:767px) {
  .sm-compact .sm-gallery-original {
    --photo-gap:7px;
    grid-template-columns:calc((100% - var(--photo-gap)) * .46708464) minmax(0,1fr);
    grid-template-rows:auto auto;
  }
}
/* Keep the lead form on two rows at desktop widths. */
.sm-compact .sm-valore-enquiry .sm-contact + .sm-details {
  padding: 6px 0 0; border: 0; border-block-start: 1px solid var(--line);
  background: transparent; border-radius: 0;
}
.sm-compact .sm-valore-enquiry .sm-details summary { min-height: 44px; }
.sm-compact .sm-valore-enquiry .frm-fluent-form {
  max-inline-size: 980px; margin-inline: auto; padding-block: 4px 0;
}
.sm-compact .sm-valore-enquiry .frm-fluent-form > fieldset {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px 12px;
}
.sm-compact .sm-valore-enquiry .frm-fluent-form .ff-el-group {
  grid-column: 1 / -1; min-inline-size: 0; margin: 0;
}
.sm-compact .sm-valore-enquiry .frm-fluent-form .ff-el-group:has([name="input_text"], [name="phone"], [name="email"]) {
  grid-column: auto;
}
.sm-compact .sm-valore-enquiry .frm-fluent-form .ff-el-group:has([name="unit_type"]) { grid-column: span 2; }
.sm-compact .sm-valore-enquiry .frm-fluent-form .ff-el-input--label {
  margin-block-end: 4px; font-size: 14px; line-height: 1.45;
}
.sm-compact .sm-valore-enquiry .frm-fluent-form .ff-el-form-control {
  min-height: 44px; padding-block: 6px; font: inherit; border-color: #aca89e; border-radius: 8px;
}
.sm-compact .sm-valore-enquiry .frm-fluent-form :is([type="tel"],[type="email"]) { direction: ltr; text-align: right; }
.sm-compact .sm-valore-enquiry .frm-fluent-form .ff_submit_btn_wrapper {
  grid-column: auto; align-self: end; justify-self: end; text-align: end;
}
.sm-compact .sm-valore-enquiry .frm-fluent-form .ff-btn-submit {
  min-height: 44px; background: #252729; border: 1px solid #252729;
  color: #fffdf8; border-radius: 8px; font: inherit; font-weight: 700; padding: 6px 16px;
}
.sm-compact .sm-valore-enquiry .sm-unit-options { display: flex; flex-wrap: wrap; gap: 6px; }
.sm-compact .sm-valore-enquiry .sm-unit-options label {
  min-height: 44px; display: flex; gap: 6px; align-items: center;
  padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  font-size: 13px; line-height: 1.35;
}
.sm-compact .sm-valore-enquiry .sm-unit-options label:has(input:checked) { background: #eeefeb; border-color: #736a59; }
.sm-compact .sm-valore-enquiry .sm-unit-options input { accent-color: #252729; margin: 0; flex: none; }
@media (max-width: 720px) {
  .sm-compact .sm-valore-enquiry .frm-fluent-form > fieldset { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sm-compact .sm-valore-enquiry .frm-fluent-form .ff-el-group:has([name="email"]),
  .sm-compact .sm-valore-enquiry .frm-fluent-form .ff_submit_btn_wrapper {
    grid-column: 1 / -1; justify-self: stretch;
  }
  .sm-compact .sm-valore-enquiry .sm-unit-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sm-compact .sm-valore-enquiry .frm-fluent-form .ff-btn-submit { inline-size: 100%; }
}

body.postid-3056 #main-content .aw-handover-group {
  display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:start;
  gap:24px;margin-block:24px;padding:20px 24px;background:#fffdf8;
  border:1px solid #deddd7;border-radius:14px;
}
body.postid-3056 #main-content .aw-handover-group :is(#progress,#developer) {margin:0;min-width:0}
body.postid-3056 #main-content .aw-handover-group #progress h2 {font-size:clamp(20px,2vw,26px);margin:0 0 6px}
body.postid-3056 #main-content .aw-handover-group #progress li {
  grid-template-columns:minmax(7em,9em) 1fr;gap:2px 12px;padding:10px 0;line-height:1.55;
}
body.postid-3056 #main-content .aw-handover-group #progress li:last-child {padding-bottom:0}
body.postid-3056 #main-content .aw-handover-group #progress small {font-size:.85em}
body.postid-3056 #main-content .aw-handover-group #developer .sm-dev-copy {
  display:grid;justify-content:start;gap:4px;border:0;border-inline-start:1px solid #deddd7;padding:2px 20px;
}
body.postid-3056 #main-content .aw-handover-group #developer .smdev-project-links a {
  display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0;background:transparent;border:0;
  color:#333635;text-decoration:underline;text-underline-offset:4px;
}
body.postid-3056 #main-content .aw-handover-group #developer a::after {content:'←'}
@media (max-width:700px) {
  body.postid-3056 #main-content .aw-handover-group {grid-template-columns:1fr;gap:14px;padding:16px}
  body.postid-3056 #main-content .aw-handover-group #progress li {grid-template-columns:7em 1fr;column-gap:8px}
  body.postid-3056 #main-content .aw-handover-group #developer .sm-dev-copy {
    display:flex;align-items:center;flex-direction:row;gap:14px;border:0;border-block-start:1px solid #deddd7;padding:7px 0 0;
  }
}

body.postid-3056 #main-content .aw-unit-rail {
  align-self:start;min-width:0;padding:16px;border:1px solid #deddd7;border-radius:14px;background:#fffdf8;
}
body.postid-3056 #main-content .aw-unit-rail h2 {font-size:18px;line-height:1.5;margin:0 0 8px}
body.postid-3056 #main-content .aw-unit-rail nav {display:grid;gap:4px}
body.postid-3056 #main-content .aw-unit-rail a {
  display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;min-height:44px;
  border-radius:7px;color:#333635;background:#f4f3ef;text-decoration:none;font-weight:600;
}
body.postid-3056 #main-content .aw-unit-rail a::after {content:'←';color:#615841}
body.postid-3056 #main-content .aw-unit-rail a:is(:hover,:focus-visible) {background:#ebe7dc}
body.postid-3056 #main-content .sm-uc-card[id] {scroll-margin-top:100px}
body.postid-3056 #main-content .sm-uc-card:target {outline:2px solid #947634;outline-offset:2px}
@media (min-width:1024px) {
  body.postid-3056 #main-content .sm-rollout-content:has(> .aw-unit-rail) {
    display:grid;grid-template-columns:minmax(0,1fr) clamp(195px,18vw,230px);column-gap:20px;
    grid-template-rows:repeat(6,auto);align-items:start;
  }
  body.postid-3056 #main-content .sm-rollout-content:has(> .aw-unit-rail)>:not(.aw-unit-rail) {grid-column:1;min-width:0}
  body.postid-3056 #main-content .aw-unit-rail {grid-column:2;grid-row:1/-1;position:sticky;top:90px;margin-block-start:20px}
}
@media (max-width:1023px) {
  body.postid-3056 #main-content .aw-unit-rail {margin-block:14px;padding:12px}
  body.postid-3056 #main-content .aw-unit-rail nav {grid-template-columns:repeat(2,minmax(0,1fr))}
}
body.postid-3056 #main-content :is(#overview,#plans,#unit-areas,#prices,#location,#progress,#developer,#faq,#whatsapp-enquiry) {scroll-margin-top:90px}
@media (min-width:1024px) {
  body.postid-3056 #main-content .aw-unit-rail {max-height:calc(100dvh - 110px);overflow-y:auto}
}
@media (max-width:1023px) {
  body.postid-3056 #main-content .aw-unit-rail {min-inline-size:0;max-inline-size:100%}
  body.postid-3056 #main-content .aw-unit-rail nav {display:flex;overflow-x:auto;gap:6px;padding-block:2px;overscroll-behavior-x:contain}
  body.postid-3056 #main-content .aw-unit-rail a {flex:0 0 auto}
}
