@media (max-width: 767px) {
  body.smouha-home-design #smouha-home-header,
  body.smouha-home-design #smouha-home-footer {
    padding-inline: 12px !important;
  }

  body.smouha-home-design #sm-phase1 > .p1-wrap {
    width: calc(100% - 24px) !important;
    max-width: none !important;
  }

  body.smouha-home-design #sm-phase1 .sh-site {
    padding-inline: 12px !important;
    border-radius: 16px !important;
  }

  body.smouha-home-design #sm-phase1 .sh-search {
    padding: 18px 14px !important;
    border-radius: 15px !important;
  }

  .sm-lead-grid,
  .sm-lower-form .sm-lead-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .sm-lead-grid label {
    width: 100% !important;
    min-width: 0 !important;
  }

  .sm-lead-grid input,
  .sm-lead-grid select {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    font-size: 16px !important;
  }

  .sm-lead-submit {
    min-height: 54px !important;
    margin-top: 14px !important;
    font-size: 16px !important;
  }

  body.smouha-home-design #sm-phase1 .sh-actions {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.smouha-home-design #sm-phase1 .sh-actions > * {
    width: 100% !important;
  }

  body.smouha-home-design #sm-phase1 .p1-contact-block {
    padding: 20px 14px !important;
    border-radius: 16px !important;
    gap: 22px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-form-area {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-footer-inner {
    padding-inline: 16px !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-groups {
    display: block !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-copyright {
    padding: 16px 14px 18px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 390px) {
  body.smouha-home-design #sm-phase1 > .p1-wrap {
    width: calc(100% - 20px) !important;
  }

  body.smouha-home-design #sm-phase1 .sh-search,
  body.smouha-home-design #sm-phase1 .p1-form-area {
    padding-inline: 12px !important;
  }

  .sm-lead-heading h2 {
    font-size: 22px;
  }
}

@media (max-width: 360px) {
  .sm-lead-heading h2 {
    font-size: 21px;
  }

  .sm-lead-description {
    font-size: 14px;
  }
}


/* 2026-10-20 final mobile QA geometry */
@media (max-width: 767px) {
  body.smouha-home-design #sm-phase1 .p1-wrap > .p1-section {
    padding-block: 40px !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame {
    border-radius: 18px;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame > .sh-site {
    padding: 36px 12px 30px !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-site h1 {
    font-size: clamp(32px, 9.2vw, 38px) !important;
    line-height: 1.38 !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-site h1 > .sh-title-context {
    font-size: 22px !important;
    line-height: 1.5 !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-description {
    max-width: 34ch !important;
    font-size: 16px !important;
    line-height: 1.85 !important;
  }

  body.smouha-home-design #sm-phase1 .p1-section-head {
    gap: 16px !important;
    margin-bottom: 24px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-section-head h2,
  body.smouha-home-design #sm-phase1 .p1-info h2,
  body.smouha-home-design #sm-phase1 .p1-contact-copy h2 {
    font-size: 28px !important;
    line-height: 1.5 !important;
  }

  body.smouha-home-design #sm-phase1 .p1-grid.p1-catalog-grid[data-smc-grid="2"] {
    gap: 20px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] {
    max-width: 100% !important;
    border-radius: 14px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] h3 {
    font-size: 24px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .smc-finance-strip .smc-finance-price dd {
    font-size: 25px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-wrap > .p1-section:has(> .p1-steps) {
    padding: 28px 18px !important;
    border-radius: 18px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-step {
    grid-template-columns: 44px minmax(0,1fr) !important;
    padding: 0 !important;
  }

  body.smouha-home-design #sm-phase1 .p1-step::before {
    width: 44px !important;
    min-height: 44px !important;
    box-shadow: none !important;
  }

  body.smouha-home-design #sm-phase1 #enquire {
    padding-top: 48px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-contact-block {
    padding: 22px 14px !important;
    gap: 24px !important;
    border-radius: 18px !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-footer {
    border-radius: 18px;
  }

  body.smouha-home-design #smouha-home-footer .smf-groups {
    display: block !important;
    padding-inline: 16px !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-group + .smf-group {
    border-top: 1px solid #D7CCBB;
  }

  body.smouha-home-design #smouha-home-footer .smf-toggle {
    min-height: 58px !important;
    font-size: 15px !important;
    font-weight: 750 !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-contact-mini {
    gap: 8px;
  }

  body.smouha-home-design #smouha-home-footer .smf-contact-mini a {
    flex: 1 1 140px;
    justify-content: center;
  }

  .smouha-floating-actions {
    inset-inline-end: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  .smouha-floating-actions a {
    width: 56px;
    height: 56px;
  }

  .smouha-floating-actions .smouha-float-top {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 390px) {
  body.smouha-home-design #sm-phase1 > .p1-wrap {
    width: calc(100% - 32px) !important;
  }

  body.smouha-home-design #smouha-home-header,
  body.smouha-home-design #smouha-home-footer {
    padding-inline: 10px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .p1-card-body {
    padding: 17px 15px 15px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .smc-finance-strip:not(.smc-finance-price-only) {
    grid-template-columns: minmax(0,1fr) !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .smc-finance-strip:not(.smc-finance-price-only) .smc-finance-price {
    grid-column: auto !important;
  }
}


/* compact quick links after rejected oversized section */
@media (max-width: 767px) {
  body.smouha-home-design #sm-phase1 .p1-crosslinks {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 18px 0 20px !important;
    padding: 10px !important;
    border-radius: 14px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-crosslinks a,
  body.smouha-home-design #sm-phase1 .p1-crosslinks a + a {
    min-height: 46px !important;
    padding: 9px 10px !important;
    border: 1px solid #E2D7C7 !important;
    border-radius: 9px !important;
    background: #FFFCF7 !important;
    font-size: 13px !important;
  }
}


/* card redesign responsive tuning */
@media (max-width: 767px) {
  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .p1-card-body {
    padding: 17px 15px 16px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] h3 {
    font-size: 22px !important;
    margin-bottom: 7px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .smc-developer {
    margin-bottom: 14px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .smc-finance-price dd {
    font-size: 24px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .smc-finance-context {
    margin-bottom: 14px !important;
    font-size: 11.5px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .p1-card-link {
    min-height: 32px !important;
    font-size: 13.5px !important;
  }
}

@media (max-width: 390px) {
  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .smc-finance-strip:not(.smc-finance-price-only) {
    grid-template-columns: repeat(2,minmax(0,auto)) !important;
    column-gap: 14px !important;
  }
}


/* v0.3.8 editorial modules responsive */
@media (max-width: 980px) {
  body.smouha-home-design #sm-phase1 .p1-grid.p1-catalog-grid[data-smc-grid="2"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] {
    grid-template-columns: minmax(0, 48%) minmax(0, 52%) !important;
  }
}

@media (max-width: 640px) {
  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .smc-project-media,
  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .p1-card-media {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    border-radius: 14px 14px 0 0 !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .p1-card-body {
    padding: 16px 15px 15px !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-groups {
    display: block !important;
    padding: 0 16px 18px !important;
  }
}


/* v0.4.0 alternating editorial projects responsive */
@media (max-width: 900px) {
  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] {
    grid-template-columns: minmax(0, 52%) minmax(0, 48%) !important;
    min-height: 320px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .smc-project-media,
  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .p1-card-media {
    min-height: 320px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .p1-card-body {
    padding: 30px 26px !important;
  }
}

@media (max-width: 640px) {
  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"],
  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"]:nth-child(even) {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .smc-project-media,
  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"]:nth-child(even) .smc-project-media {
    order: 1 !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .p1-card-body,
  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"]:nth-child(even) .p1-card-body {
    order: 2 !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .smc-project-media,
  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .p1-card-media {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 10 !important;
    border-radius: 14px 14px 0 0 !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .p1-card-body {
    align-items: flex-start !important;
    padding: 22px 18px 20px !important;
    text-align: inherit !important;
  }

  html[dir="rtl"] body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .p1-card-body {
    align-items: flex-end !important;
    text-align: right !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] h3 {
    font-size: 24px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .smc-developer {
    margin-bottom: 20px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .smc-finance-price dd {
    font-size: 26px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .smc-finance-context {
    margin-bottom: 22px !important;
    font-size: 13px !important;
  }
}


/* v0.4.1 approved cards/footer responsive */
@media (max-width: 1024px) {
  body.smouha-home-design #sm-phase1 .p1-grid.p1-catalog-grid[data-smc-grid="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-footer-inner {
    grid-template-columns: minmax(240px, .9fr) minmax(0, 2.1fr) !important;
    gap: 30px !important;
  }
}

@media (max-width: 767px) {
  body.smouha-home-design #sm-phase1 .p1-grid.p1-catalog-grid[data-smc-grid="2"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-footer-inner {
    display: block !important;
    padding: 26px 16px 20px !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-brand-strip {
    align-items: stretch !important;
    margin-bottom: 18px !important;
  }

  html[dir="rtl"] body.smouha-home-design #smouha-home-footer .smf-brand-strip {
    align-items: stretch !important;
    text-align: right !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-brand-head {
    justify-content: flex-start !important;
  }

  html[dir="rtl"] body.smouha-home-design #smouha-home-footer .smf-brand-head {
    justify-content: flex-end !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-groups {
    display: block !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-copyright p {
    flex-direction: column !important;
    justify-content: center !important;
    padding: 14px 12px !important;
    text-align: center !important;
  }
}


/* v0.4.2 cards/footer responsive */
@media (max-width: 1024px) {
  body.smouha-home-design #sm-phase1 .p1-grid.p1-catalog-grid[data-smc-grid="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.smouha-home-design #sm-phase1 .p1-grid.p1-catalog-grid[data-smc-grid="2"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .p1-card-media {
    aspect-ratio: 16 / 9 !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-logo-panel img {
    width: 132px !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-bio {
    max-width: none !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-cta {
    width: 100% !important;
    align-self: stretch !important;
    justify-content: center !important;
  }
}


/* v0.4.3 FINAL responsive lock */
@media (max-width: 1024px) {
  body.smouha-home-design #sm-phase1 .p1-grid.p1-catalog-grid[data-smc-grid="2"] {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.smouha-home-design #sm-phase1 .p1-grid.p1-catalog-grid[data-smc-grid="2"] {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 18px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] .p1-card-body {
    padding: 15px 14px 14px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-project-card[data-smc-version="2"] h3 {
    font-size: 21px !important;
    margin-bottom: 9px !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-footer-inner {
    display: block !important;
    padding: 24px 16px 18px !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-logo-panel img {
    width: 146px !important;
  }

  body.smouha-home-design #smouha-home-footer .smf-cta {
    width: 100% !important;
    justify-content: center !important;
  }
}


/* v0.5.0 independent footer responsive */
@media (max-width: 980px) {
  body.smouha-home-design #smouha-footer-v2 .smf2-main {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 24px !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-brand {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 767px) {
  body.smouha-home-design #smouha-footer-v2 {
    padding: 0 10px 14px !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-shell {
    border-radius: 16px !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-main {
    display: block !important;
    padding: 24px 16px 18px !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-brand {
    align-items: stretch !important;
    margin-bottom: 20px !important;
  }

  html[dir="rtl"] body.smouha-home-design #smouha-footer-v2 .smf2-brand {
    align-items: stretch !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-logo-host {
    justify-content: flex-start !important;
  }

  html[dir="rtl"] body.smouha-home-design #smouha-footer-v2 .smf2-logo-host {
    justify-content: flex-end !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-bio {
    max-width: none !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-cta {
    width: 100% !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-group {
    padding: 14px 0 !important;
    border-top: 1px solid #E6DCCE !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-group h2 {
    margin-bottom: 8px !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-group a {
    min-height: 34px !important;
    font-size: 13.5px !important;
  }
}


/* v0.5.1 dark footer responsive */
@media (max-width: 980px) {
  body.smouha-home-design #smouha-footer-v2 .smf2-main {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 28px !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-brand {
    grid-column: 1 / -1 !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-group + .smf2-group {
    border-inline-start: 1px solid rgba(196,163,75,.26) !important;
  }
}

@media (max-width: 767px) {
  body.smouha-home-design #smouha-footer-v2 .smf2-main {
    display: block !important;
    padding: 26px 18px 20px !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-brand {
    margin-bottom: 22px !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-group,
  body.smouha-home-design #smouha-footer-v2 .smf2-group + .smf2-group {
    border-inline-start: 0 !important;
    border-top: 1px solid rgba(196,163,75,.24) !important;
    padding: 16px 0 !important;
  }
}


/* v0.5.3 footer geometry responsive lock */
@media (max-width: 980px) {
  body.smouha-home-design #smouha-footer-v2 .smf2-main {
    direction: ltr !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    grid-template-areas:
      "brand brand"
      "projects apartments" !important;
    gap: 26px 0 !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-brand {
    padding-inline-start: 0 !important;
  }
}

@media (max-width: 767px) {
  body.smouha-home-design #smouha-footer-v2 .smf2-main {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "brand"
      "projects"
      "apartments" !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-brand,
  body.smouha-home-design #smouha-footer-v2 .smf2-group {
    padding-inline: 0 !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-group {
    border-inline-start: 0 !important;
    border-top: 1px solid rgba(196,163,75,.22) !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-shell::after {
    right: 0 !important;
    width: 76% !important;
    height: 28% !important;
    opacity: .08 !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-logo {
    width: 154px !important;
  }
}


/* v0.5.4 brand lockup responsive */
@media (max-width: 980px) {
  body.smouha-home-design #smouha-footer-v2 .smf2-brand {
    justify-self: end !important;
    width: min(100%, 420px) !important;
    max-width: 420px !important;
  }
}

@media (max-width: 767px) {
  body.smouha-home-design #smouha-footer-v2 .smf2-brand {
    justify-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-lockup {
    gap: 10px !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-logo {
    width: 54px !important;
    height: 54px !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-wordmark strong {
    font-size: 26px !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-cta {
    width: 100% !important;
    min-width: 0 !important;
  }
}


/* v0.5.5 right-edge brand responsive lock */
@media (max-width: 980px) {
  body.smouha-home-design #smouha-footer-v2 .smf2-main {
    padding-inline: 28px !important;
  }
}

@media (max-width: 767px) {
  body.smouha-home-design #smouha-footer-v2 .smf2-main {
    padding-inline: 18px !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-brand > * {
    align-self: stretch !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-logo-host {
    justify-content: flex-end !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-bio,
  body.smouha-home-design #smouha-footer-v2 .smf2-contact-links {
    width: 100% !important;
  }
}


/* v0.5.7 brand cell responsive */
@media (max-width: 980px) {
  body.smouha-home-design #smouha-footer-v2 .smf2-brand-panel {
    width: min(100%, 420px) !important;
    max-width: 420px !important;
  }
}

@media (max-width: 767px) {
  body.smouha-home-design #smouha-footer-v2 .smf2-brand-panel {
    width: 100% !important;
    max-width: none !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-logo {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    flex-basis: 56px !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-wordmark strong {
    font-size: 28px !important;
  }

  body.smouha-home-design #smouha-footer-v2 .smf2-cta {
    width: 100% !important;
    min-width: 0 !important;
  }
}


/* 2026-10-21 authoritative mobile width override */
@media (max-width: 767px) {
  body.smouha-home-design #sm-phase1 > .p1-wrap {
    width: calc(100% - 12px) !important;
    max-width: none !important;
  }

  body.smouha-home-design #sm-phase1 .p1-contact-block {
    width: 100% !important;
    max-width: none !important;
    padding: 18px 6px !important;
    gap: 18px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-form-area {
    width: 100% !important;
    max-width: none !important;
    padding: 16px 10px !important;
  }
}

@media (max-width: 390px) {
  body.smouha-home-design #sm-phase1 > .p1-wrap {
    width: calc(100% - 12px) !important;
  }

  body.smouha-home-design #sm-phase1 .p1-contact-block {
    padding-inline: 6px !important;
  }

  body.smouha-home-design #sm-phase1 .p1-form-area {
    padding-inline: 10px !important;
  }
}


/* =========================================================
   2026-10-21 FINAL HERO V4 — premium finder
   Loaded last on the homepage to override previous hero experiments.
   ========================================================= */

body.smouha-home-design #sm-phase1 .smd-hero-frame {
  overflow: hidden !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 10% 18%, rgba(196,163,75,.09), transparent 22%),
    radial-gradient(circle at 92% 78%, rgba(196,163,75,.08), transparent 26%),
    linear-gradient(180deg,#F8F3EA 0%,#F4EEE3 100%) !important;
}

body.smouha-home-design #sm-phase1 .smd-hero-frame > .sh-site {
  position: relative;
  width: 100% !important;
  max-width: none !important;
  padding: 64px 28px 58px !important;
  background: transparent !important;
}

body.smouha-home-design #sm-phase1 .smd-hero-frame > .sh-site::before,
body.smouha-home-design #sm-phase1 .smd-hero-frame > .sh-site::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border: 1px solid rgba(196,163,75,.18);
  border-radius: 46% 54% 42% 58%;
}

body.smouha-home-design #sm-phase1 .smd-hero-frame > .sh-site::before {
  width: 440px;
  height: 440px;
  inset-inline-start: -170px;
  top: 10px;
  transform: rotate(18deg);
}

body.smouha-home-design #sm-phase1 .smd-hero-frame > .sh-site::after {
  width: 360px;
  height: 360px;
  inset-inline-end: -120px;
  bottom: -190px;
  transform: rotate(-18deg);
}

body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-layout {
  position: relative;
  z-index: 1;
  width: min(100%,1350px) !important;
  max-width: 1350px !important;
  margin-inline: auto !important;
  direction: rtl !important;
  display: grid !important;
  grid-template-columns: minmax(0,.96fr) minmax(520px,1.04fr) !important;
  gap: clamp(54px,5vw,88px) !important;
  align-items: center !important;
}

body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-lead {
  grid-column: 1 !important;
  width: 100% !important;
  max-width: 610px !important;
  margin: 0 !important;
  justify-self: end !important;
  direction: rtl !important;
  text-align: right !important;
}

body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-search {
  grid-column: 2 !important;
  width: 100% !important;
  max-width: 640px !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-self: start !important;
  direction: rtl !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-eyebrow {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  justify-content: flex-start !important;
  margin: 0 0 24px !important;
  color: #9A7A25 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  text-align: right !important;
}

body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-eyebrow::before {
  content: "" !important;
  width: 54px !important;
  height: 1px !important;
  flex: 0 0 54px !important;
  background: #C4A34B !important;
}

body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-site h1 {
  max-width: 610px !important;
  margin: 0 0 22px !important;
  color: #203B31 !important;
  text-align: right !important;
  letter-spacing: -.025em !important;
}

body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-site h1 > .sh-title-context,
body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-site h1 > .sh-title-main {
  display: block !important;
  margin: 0 !important;
  color: #203B31 !important;
  font-weight: 850 !important;
  text-wrap: balance !important;
}

body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-site h1 > .sh-title-context {
  font-size: clamp(46px,4.15vw,66px) !important;
  line-height: 1.23 !important;
}

body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-site h1 > .sh-title-main {
  margin-top: 6px !important;
  font-size: clamp(42px,3.75vw,60px) !important;
  line-height: 1.25 !important;
}

body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-description {
  max-width: 58ch !important;
  margin: 0 !important;
  color: #65645F !important;
  font-size: 19px !important;
  font-weight: 500 !important;
  line-height: 1.95 !important;
  text-align: right !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 32px;
}

body.smouha-home-design #sm-phase1 .sm-hero-trust-row > span {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid #DCCFB9;
  border-radius: 999px;
  background: rgba(255,252,247,.76);
  color: #434844;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

body.smouha-home-design #sm-phase1 .sm-hero-trust-row b {
  color: #B58D2C;
  font-size: 20px;
  font-weight: 500;
}

/* Finder card */
body.smouha-home-design #sm-phase1 .sm-hero-v4 {
  width: 100% !important;
  padding: 30px 28px 22px !important;
  border: 1px solid #D8CBB7 !important;
  border-radius: 24px !important;
  background: rgba(255,252,247,.95) !important;
  box-shadow: 0 22px 55px rgba(54,47,36,.08) !important;
  backdrop-filter: blur(10px);
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-step-panel {
  margin: 0 !important;
  padding: 0 !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-qualification-grid {
  display: block !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 fieldset {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 fieldset + fieldset {
  margin-top: 26px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 legend {
  width: 100% !important;
  margin: 0 0 11px !important;
  padding: 0 !important;
  color: #263B31 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  text-align: right !important;
}

body.smouha-home-design #sm-phase1 .sm-property-tabs {
  padding-bottom: 20px !important;
  border-bottom: 1px solid #E4DACB !important;
}

body.smouha-home-design #sm-phase1 .sm-property-tabs legend {
  display: none !important;
}

body.smouha-home-design #sm-phase1 .sm-property-tabs-grid {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 7px !important;
  padding: 5px !important;
  border-radius: 14px !important;
  background: #F6F0E6 !important;
}

body.smouha-home-design #sm-phase1 .sm-property-tab {
  position: relative;
  min-width: 0;
  margin: 0 !important;
  cursor: pointer;
}

body.smouha-home-design #sm-phase1 .sm-property-tab input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.smouha-home-design #sm-phase1 .sm-property-tab > span:not(.sm-property-tab-icon),
body.smouha-home-design #sm-phase1 .sm-property-tab .sm-property-tab-label {
  color: inherit !important;
}

body.smouha-home-design #sm-phase1 .sm-property-tab {
  min-height: 58px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 9px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 11px !important;
  background: transparent !important;
  color: #4D504B !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  transition: .18s ease !important;
}

body.smouha-home-design #sm-phase1 .sm-property-tab:has(input:checked) {
  border-color: #B68E2B !important;
  background: #203B31 !important;
  color: #FFFCF7 !important;
  box-shadow: 0 5px 14px rgba(32,59,49,.16) !important;
}

body.smouha-home-design #sm-phase1 .sm-property-tab-icon {
  color: #B58D2C !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

body.smouha-home-design #sm-phase1 .sm-property-tab:has(input:checked) .sm-property-tab-icon {
  color: #D7B65B !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-grid {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 10px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-field[data-choice-name="rooms"] .sm-choice-grid {
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-chip {
  position: relative;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  cursor: pointer;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-chip input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-chip > span {
  min-height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 9px !important;
  border: 1px solid #D5C8B5 !important;
  border-radius: 11px !important;
  background: #FFFCF7 !important;
  color: #555650 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  transition: .18s ease !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-chip input:checked + span {
  border-color: #203B31 !important;
  background: #F3EFE5 !important;
  color: #203B31 !important;
  box-shadow: inset 0 0 0 1px #203B31 !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-hero-primary-cta {
  width: 100% !important;
  min-height: 64px !important;
  margin: 30px 0 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  border: 1px solid #203B31 !important;
  border-radius: 12px !important;
  background: #203B31 !important;
  color: #FFFCF7 !important;
  font-size: 17px !important;
  font-weight: 850 !important;
  box-shadow: none !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-hero-primary-cta:hover {
  background: #172F27 !important;
  transform: translateY(-1px);
}

body.smouha-home-design #sm-phase1 .sm-cta-search {
  font-size: 24px;
  font-weight: 400;
}

body.smouha-home-design #sm-phase1 .sm-hero-seo-links {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px 14px !important;
  margin: 16px 0 0 !important;
  padding: 16px 8px 0 !important;
  border-top: 1px solid #E4DACB !important;
  color: #66645F !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-seo-links a {
  color: #5C5B55 !important;
  text-decoration: none !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-seo-links span {
  color: #B58D2C !important;
}

/* contact reveal */
body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-contact-panel-head {
  margin-bottom: 20px;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-contact-panel-head strong,
body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-contact-panel-head span {
  display: block;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-contact-panel-head strong {
  color: #203B31;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.5;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-contact-panel-head span {
  margin-top: 5px;
  color: #6A6861;
  font-size: 13px;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-step-contact-grid {
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 12px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-step-contact-grid label:last-child {
  grid-column: 1 / -1;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-step-actions {
  display: grid !important;
  grid-template-columns: 130px minmax(0,1fr) !important;
  gap: 10px !important;
  margin-top: 18px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-step-back,
body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-lead-submit {
  min-height: 54px !important;
  margin: 0 !important;
  border-radius: 11px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-step-back {
  border: 1px solid #D5C8B5 !important;
  background: #FFFCF7 !important;
  color: #4E504B !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-lead-submit {
  border: 1px solid #203B31 !important;
  background: #203B31 !important;
  color: #FFF !important;
}

/* LTR */
html[dir="ltr"] body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-layout {
  direction: ltr !important;
}

html[dir="ltr"] body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-lead {
  grid-column: 2 !important;
  direction: ltr !important;
  text-align: left !important;
  justify-self: start !important;
}

html[dir="ltr"] body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-search {
  grid-column: 1 !important;
  direction: ltr !important;
  justify-self: end !important;
}

html[dir="ltr"] body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-eyebrow,
html[dir="ltr"] body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-site h1,
html[dir="ltr"] body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-description {
  text-align: left !important;
}

html[dir="ltr"] body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-eyebrow {
  justify-content: flex-start !important;
}

/* tablet/mobile */
@media (max-width: 980px) {
  body.smouha-home-design #sm-phase1 .smd-hero-frame > .sh-site {
    padding: 44px 18px 40px !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-layout,
  html[dir="ltr"] body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-layout {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 34px !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-lead,
  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-search,
  html[dir="ltr"] body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-lead,
  html[dir="ltr"] body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-search {
    grid-column: 1 !important;
    max-width: 720px !important;
    justify-self: center !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-lead {
    order: 1;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-search {
    order: 2;
  }
}

@media (max-width: 767px) {
  body.smouha-home-design #sm-phase1 .smd-hero-frame > .sh-site {
    padding: 28px 8px 28px !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-layout {
    gap: 24px !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-lead {
    padding-inline: 10px !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-eyebrow {
    margin-bottom: 14px !important;
    font-size: 12px !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-eyebrow::before {
    width: 30px !important;
    flex-basis: 30px !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-site h1 {
    margin-bottom: 14px !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-site h1 > .sh-title-context {
    font-size: clamp(34px,9vw,42px) !important;
    line-height: 1.28 !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-site h1 > .sh-title-main {
    font-size: clamp(31px,8vw,38px) !important;
    line-height: 1.3 !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-description {
    font-size: 15px !important;
    line-height: 1.8 !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-trust-row {
    gap: 7px;
    margin-top: 20px;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-trust-row > span {
    min-height: 42px;
    padding: 8px 11px;
    font-size: 12px;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 {
    padding: 18px 12px 16px !important;
    border-radius: 18px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-property-tabs-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }

  body.smouha-home-design #sm-phase1 .sm-property-tab {
    min-height: 50px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 fieldset + fieldset {
    margin-top: 20px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-grid {
    gap: 7px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-chip > span {
    min-height: 50px !important;
    padding: 7px 5px !important;
    font-size: 13px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-hero-primary-cta {
    min-height: 56px !important;
    margin-top: 22px !important;
    font-size: 15px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-seo-links {
    gap: 7px 10px !important;
    padding-top: 13px !important;
    font-size: 11.5px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-step-contact-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-step-contact-grid label:last-child {
    grid-column: auto;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-step-actions {
    grid-template-columns: 100px minmax(0,1fr) !important;
  }
}

@media (max-width: 420px) {
  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-grid,
  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-field[data-choice-name="rooms"] .sm-choice-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-field[data-choice-name="rooms"] .sm-choice-chip:last-child {
    grid-column: 1 / -1;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-trust-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-trust-row > span {
    width: 100%;
    justify-content: flex-start;
  }
}


/* 2026-10-21 HERO V4 specificity lock
   Defeats legacy qualification grid rules in forms.css. */
@media (min-width: 901px) {
  body.smouha-home-design #sm-phase1 .smd-hero-frame .sm-hero-form.sm-hero-v4 .sm-lead-grid.sm-qualification-grid {
    display: block !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    gap: 0 !important;
    align-items: initial !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sm-hero-form.sm-hero-v4 .sm-qualification-grid > .sm-property-tabs,
  body.smouha-home-design #sm-phase1 .smd-hero-frame .sm-hero-form.sm-hero-v4 .sm-qualification-grid > .sm-choice-field,
  body.smouha-home-design #sm-phase1 .smd-hero-frame .sm-hero-form.sm-hero-v4 .sm-choice-field[data-choice-name="budget"],
  body.smouha-home-design #sm-phase1 .smd-hero-frame .sm-hero-form.sm-hero-v4 .sm-choice-field[data-choice-name="area"],
  body.smouha-home-design #sm-phase1 .smd-hero-frame .sm-hero-form.sm-hero-v4 .sm-choice-field[data-choice-name="rooms"] {
    grid-area: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sm-hero-form.sm-hero-v4 .sm-property-tabs-grid {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    width: 100% !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sm-hero-form.sm-hero-v4 .sm-property-tab {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sm-hero-form.sm-hero-v4 .sm-property-tab .sm-property-tab-label {
    display: inline-block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    writing-mode: horizontal-tb !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sm-hero-form.sm-hero-v4 .sm-choice-grid {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    width: 100% !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sm-hero-form.sm-hero-v4 .sm-choice-field[data-choice-name="rooms"] .sm-choice-grid {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }
}


/* 2026-10-21 HERO V4 isolated controls: zero legacy form inheritance */
body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-fields {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type {
  all: unset;
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid #E4DACB !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-legend {
  display: none !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-grid {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 5px !important;
  box-sizing: border-box !important;
  border-radius: 14px !important;
  background: #F6F0E6 !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option {
  all: unset;
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 58px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 9px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 11px !important;
  color: #4D504B !important;
  background: transparent !important;
  font-family: "Cairo", sans-serif !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  cursor: pointer !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-icon,
body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-text {
  all: unset;
  box-sizing: border-box !important;
  display: inline-block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  color: inherit !important;
  font-family: "Cairo", sans-serif !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-orientation: mixed !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-icon {
  color: #B58D2C !important;
  font-size: 22px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-text {
  font-size: 14px !important;
  font-weight: 750 !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option:has(.smv4-type-input:checked) {
  border-color: #B68E2B !important;
  background: #203B31 !important;
  color: #FFFCF7 !important;
  box-shadow: 0 5px 14px rgba(32,59,49,.16) !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option:has(.smv4-type-input:checked) .smv4-type-icon {
  color: #D7B65B !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-fields > .sm-choice-field {
  margin-top: 26px !important;
}

@media (max-width: 767px) {
  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option {
    min-height: 50px !important;
    font-size: 13px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-text {
    font-size: 13px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-fields > .sm-choice-field {
    margin-top: 20px !important;
  }
}


/* 2026-10-21 compact hero finder proportions */
body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-search {
  max-width: 590px !important;
}

body.smouha-home-design #sm-phase1 .smv4-card-head {
  margin: 0 0 14px !important;
  padding: 0 2px !important;
  text-align: right !important;
}

body.smouha-home-design #sm-phase1 .smv4-card-head strong,
body.smouha-home-design #sm-phase1 .smv4-card-head span {
  display: block !important;
}

body.smouha-home-design #sm-phase1 .smv4-card-head strong {
  color: #203B31 !important;
  font-size: 22px !important;
  font-weight: 850 !important;
  line-height: 1.45 !important;
}

body.smouha-home-design #sm-phase1 .smv4-card-head span {
  margin-top: 4px !important;
  color: #6A6861 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
}

html[dir="ltr"] body.smouha-home-design #sm-phase1 .smv4-card-head {
  text-align: left !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 {
  padding: 22px 22px 18px !important;
  border-radius: 20px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type {
  padding-bottom: 14px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option {
  min-height: 50px !important;
  padding: 7px 8px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-fields > .sm-choice-field {
  margin-top: 18px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 legend {
  margin-bottom: 8px !important;
  font-size: 14px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-grid {
  gap: 8px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-chip > span {
  min-height: 48px !important;
  padding: 7px 8px !important;
  font-size: 14px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-hero-primary-cta {
  min-height: 56px !important;
  margin-top: 22px !important;
  font-size: 16px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-seo-links {
  margin-top: 12px !important;
  padding-top: 12px !important;
  font-size: 12px !important;
}

@media (max-width: 767px) {
  body.smouha-home-design #sm-phase1 .smv4-card-head {
    margin-bottom: 10px !important;
    padding-inline: 4px !important;
  }

  body.smouha-home-design #sm-phase1 .smv4-card-head strong {
    font-size: 20px !important;
  }

  body.smouha-home-design #sm-phase1 .smv4-card-head span {
    font-size: 12px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 {
    padding: 16px 10px 14px !important;
  }
}


/* 2026-10-21 HERO V4 final compact + mobile comfort */
body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-search {
  max-width: 540px !important;
}

body.smouha-home-design #sm-phase1 .smv4-card-head {
  display: none !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 {
  padding: 18px 18px 15px !important;
  border-radius: 18px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type {
  padding-bottom: 12px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-title {
  margin: 0 0 10px !important;
  color: #203B31 !important;
  font-family: "Cairo", sans-serif !important;
  font-size: 18px !important;
  font-weight: 850 !important;
  line-height: 1.45 !important;
  text-align: right !important;
}

html[dir="ltr"] body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-title {
  text-align: left !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-grid {
  gap: 6px !important;
  padding: 4px !important;
  border-radius: 12px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option {
  min-height: 46px !important;
  padding: 6px 7px !important;
  border-radius: 9px !important;
  gap: 6px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-icon {
  font-size: 19px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-text {
  font-size: 13px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-fields > .sm-choice-field {
  margin-top: 15px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 legend {
  margin-bottom: 6px !important;
  font-size: 13px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-grid {
  gap: 6px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-chip > span {
  min-height: 44px !important;
  padding: 6px 6px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-hero-primary-cta {
  min-height: 50px !important;
  margin-top: 18px !important;
  border-radius: 10px !important;
  font-size: 15px !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-seo-links {
  margin-top: 10px !important;
  padding-top: 10px !important;
  font-size: 11.5px !important;
  gap: 6px 10px !important;
}

/* Comfortable tablet layout */
@media (max-width: 980px) {
  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-search {
    width: min(100%, 600px) !important;
    max-width: 600px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 {
    width: 100% !important;
  }
}

/* Comfortable mobile layout */
@media (max-width: 767px) {
  body.smouha-home-design #sm-phase1 .smd-hero-frame > .sh-site {
    padding: 24px 6px 26px !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-layout {
    gap: 20px !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-search {
    width: 100% !important;
    max-width: none !important;
    padding-inline: 4px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 {
    width: 100% !important;
    padding: 14px 10px 13px !important;
    border-radius: 16px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-title {
    margin-bottom: 9px !important;
    font-size: 17px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 7px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option {
    min-height: 48px !important;
    padding: 7px 8px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-text {
    font-size: 13px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-fields > .sm-choice-field {
    margin-top: 16px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 7px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-field[data-choice-name="rooms"] .sm-choice-grid {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-chip > span {
    min-height: 48px !important;
    padding: 7px 5px !important;
    font-size: 13px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-hero-primary-cta {
    min-height: 54px !important;
    margin-top: 18px !important;
    font-size: 15px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-seo-links {
    justify-content: flex-start !important;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    white-space: nowrap;
    scrollbar-width: none;
    padding-bottom: 2px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-seo-links::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 420px) {
  body.smouha-home-design #sm-phase1 .sm-hero-v4 {
    padding-inline: 8px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-grid {
    gap: 6px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-grid,
  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-field[data-choice-name="rooms"] .sm-choice-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-field[data-choice-name="rooms"] .sm-choice-chip:last-child {
    grid-column: 1 / -1 !important;
  }
}


/* 2026-10-21 mobile-first property type selector clarity */
body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-title {
  display: none !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-legend {
  display: block !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: #203B31 !important;
  font-family: "Cairo", sans-serif !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1.45 !important;
  text-align: right !important;
}

html[dir="ltr"] body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-legend {
  text-align: left !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option {
  position: relative !important;
}

@media (max-width: 767px) {
  /* Reduce decision noise on mobile */
  body.smouha-home-design #sm-phase1 .sm-hero-trust-row,
  body.smouha-home-design #sm-phase1 .sm-hero-seo-links {
    display: none !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type {
    padding-bottom: 14px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-legend {
    margin-bottom: 8px !important;
    font-size: 15px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 8px !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option {
    min-height: 62px !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 10px 42px 10px 12px !important;
    border: 1.5px solid #D6CBB9 !important;
    border-radius: 12px !important;
    background: #FFFCF7 !important;
    color: #3E433F !important;
    box-shadow: 0 2px 8px rgba(48,51,46,.025) !important;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .12s ease !important;
  }

  html[dir="ltr"] body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option {
    padding: 10px 12px 10px 42px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option::after {
    content: "";
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    width: 19px;
    height: 19px;
    transform: translateY(-50%);
    border: 1.5px solid #B8AD9B;
    border-radius: 50%;
    background: #FFF;
    box-sizing: border-box;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option:has(.smv4-type-input:checked) {
    border-color: #203B31 !important;
    background: #F2F5F2 !important;
    color: #203B31 !important;
    box-shadow: 0 0 0 2px rgba(32,59,49,.08) !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option:has(.smv4-type-input:checked)::after {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: #203B31;
    background: #203B31;
    color: #FFF;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option:active {
    transform: scale(.985);
  }

  /* Hide ambiguous glyph icons on mobile; text + radio affordance is clearer */
  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-icon {
    display: none !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-text {
    display: block !important;
    color: inherit !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    text-align: right !important;
  }

  html[dir="ltr"] body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-text {
    text-align: left !important;
  }

  /* Keep the entire mobile form visually compact and comfortable */
  body.smouha-home-design #sm-phase1 .sm-hero-v4 {
    padding: 14px 10px 14px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-fields > .sm-choice-field {
    margin-top: 14px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-chip > span {
    min-height: 46px !important;
    font-size: 13px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-hero-primary-cta {
    min-height: 52px !important;
    margin-top: 16px !important;
  }
}


/* 2026-10-21 dynamic property finder by asset type */
body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-dynamic-fields[hidden] {
  display: none !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-dynamic-fields {
  display: block !important;
  animation: smv4-fields-in .22s ease both;
}

@keyframes smv4-fields-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

body.smouha-home-design #sm-phase1 .sm-hero-v4:not([data-type-key]) .sm-hero-primary-cta {
  display: none !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-icon {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #B58D2C !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-icon svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.75 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option:has(.smv4-type-input:checked) .smv4-type-icon {
  color: #D7B65B !important;
}

/* Clear selected state on desktop too */
body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option {
  box-shadow: inset 0 0 0 1px rgba(213,200,181,.72) !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option:hover {
  background: #FBF7F0 !important;
  box-shadow: inset 0 0 0 1px #C9B990 !important;
}

body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option:has(.smv4-type-input:checked) {
  box-shadow: 0 5px 14px rgba(32,59,49,.14) !important;
}

@media (max-width: 767px) {
  /* Restore professional icons: card + icon + label + radio tick communicates clickability */
  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-icon {
    display: inline-flex !important;
    width: 23px !important;
    height: 23px !important;
    flex-basis: 23px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-icon svg {
    width: 23px !important;
    height: 23px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-option {
    min-height: 64px !important;
    padding-inline-start: 12px !important;
    gap: 9px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-text {
    font-size: 14px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-dynamic-fields .sm-choice-field:first-child {
    margin-top: 14px !important;
  }
}


/* 2026-10-21 finder guidance: default apartment + clear dynamic hint */
body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-hint {
  margin: -2px 0 10px !important;
  color: #8D742F !important;
  font-family: "Cairo", sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  text-align: right !important;
}

html[dir="ltr"] body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-hint {
  text-align: left !important;
}

@media (max-width: 767px) {
  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-type-hint {
    margin-bottom: 9px !important;
    font-size: 11.5px !important;
    line-height: 1.5 !important;
  }
}


/* 2026-10-21 mobile hero width expansion */
@media (max-width: 767px) {
  body.smouha-home-design #sm-phase1 > .p1-wrap {
    width: calc(100% - 8px) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame > .sh-site {
    width: 100% !important;
    max-width: none !important;
    padding-inline: 2px !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-layout,
  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-search {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }

  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-search {
    padding-inline: 2px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 {
    width: 100% !important;
    max-width: none !important;
    padding-inline: 8px !important;
  }
}

@media (max-width: 390px) {
  body.smouha-home-design #sm-phase1 > .p1-wrap {
    width: calc(100% - 6px) !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 {
    padding-inline: 7px !important;
  }
}


/* 2026-10-21 desktop-only hero cleanup */
@media (min-width: 768px) {
  /* Remove quick SEO links from desktop hero */
  body.smouha-home-design #sm-phase1 .sm-hero-seo-links {
    display: none !important;
  }

  /* Compact numeric choice boxes on desktop only */
  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-grid {
    gap: 7px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-chip > span {
    min-height: 40px !important;
    padding: 5px 7px !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    line-height: 1.2 !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-fields > .sm-choice-field {
    margin-top: 13px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 legend {
    margin-bottom: 5px !important;
    font-size: 12.5px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-hero-primary-cta {
    min-height: 48px !important;
    margin-top: 16px !important;
  }
}


/* 2026-10-21 desktop choice cards: smaller boxes, stronger labels */
@media (min-width: 768px) {
  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-grid {
    gap: 6px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-chip {
    width: 100% !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .sm-choice-chip > span {
    min-height: 36px !important;
    padding: 4px 6px !important;
    border-radius: 8px !important;

    /* Keep the value visually dominant */
    font-size: 14.5px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -.01em !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 legend {
    margin-bottom: 5px !important;
    font-size: 13px !important;
    font-weight: 850 !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4 .smv4-fields > .sm-choice-field {
    margin-top: 12px !important;
  }

  /* Slightly tighter overall finder width without shrinking text */
  body.smouha-home-design #sm-phase1 .smd-hero-frame .sh-search {
    max-width: 515px !important;
  }
}


/* 2026-10-21 apartment bedroom row: four equal choices on desktop */
@media (min-width: 768px) {
  body.smouha-home-design #sm-phase1 .sm-hero-v4[data-type-key="apartment"]
  .smv4-dynamic-fields .sm-choice-field[data-choice-name="rooms"] .sm-choice-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4[data-type-key="apartment"]
  .smv4-dynamic-fields .sm-choice-field[data-choice-name="rooms"] .sm-choice-chip {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4[data-type-key="apartment"]
  .smv4-dynamic-fields .sm-choice-field[data-choice-name="rooms"] .sm-choice-chip > span {
    width: 100% !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }
}


/* 2026-10-21 apartment rooms: 2x2 on mobile */
@media (max-width: 767px) {
  body.smouha-home-design #sm-phase1 .sm-hero-v4[data-type-key="apartment"]
  .smv4-dynamic-fields .sm-choice-field[data-choice-name="rooms"] .sm-choice-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4[data-type-key="apartment"]
  .smv4-dynamic-fields .sm-choice-field[data-choice-name="rooms"] .sm-choice-chip {
    width: 100% !important;
    min-width: 0 !important;
    grid-column: auto !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4[data-type-key="apartment"]
  .smv4-dynamic-fields .sm-choice-field[data-choice-name="rooms"] .sm-choice-chip:last-child {
    grid-column: auto !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4[data-type-key="apartment"]
  .smv4-dynamic-fields .sm-choice-field[data-choice-name="rooms"] .sm-choice-chip > span {
    width: 100% !important;
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }
}


/* 2026-10-21 final mobile Smart Finder lock */
@media (max-width: 767px) {
  body.smouha-home-design #sm-phase1 .smv4-type .smv4-type-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.smouha-home-design #sm-phase1 .smv4-type .smv4-type-option {
    position: relative !important;
    min-height: 76px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 10px 8px !important;
    border: 1px solid #DCCFBF !important;
    border-radius: 12px !important;
    background: #FFFCF7 !important;
    cursor: pointer !important;
  }

  body.smouha-home-design #sm-phase1 .smv4-type .smv4-type-input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.smouha-home-design #sm-phase1 .smv4-type .smv4-type-option:has(.smv4-type-input:checked) {
    border-color: #C4A34B !important;
    background: #F4EEE3 !important;
    box-shadow: inset 0 0 0 1px rgba(196,163,75,.12) !important;
  }

  body.smouha-home-design #sm-phase1 .smv4-type .smv4-type-option:has(.smv4-type-input:checked)::after {
    content: "✓" !important;
    position: absolute !important;
    top: 7px !important;
    inset-inline-end: 7px !important;
    width: 19px !important;
    height: 19px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: #4A4A4A !important;
    color: #FFFCF7 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
  }

  body.smouha-home-design #sm-phase1 .smv4-type .smv4-type-icon {
    display: inline-flex !important;
    width: 26px !important;
    height: 26px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #4A4A4A !important;
  }

  body.smouha-home-design #sm-phase1 .smv4-type .smv4-type-icon svg {
    width: 24px !important;
    height: 24px !important;
  }

  body.smouha-home-design #sm-phase1 .smv4-type .smv4-type-text {
    color: #4A4A4A !important;
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4[data-type-key="apartment"]
  .sm-choice-field[data-choice-name="rooms"] .sm-choice-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4[data-type-key="apartment"]
  .sm-choice-field[data-choice-name="rooms"] .sm-choice-chip {
    grid-column: auto !important;
    width: 100% !important;
  }
}


/* 2026-10-21 final selected-state refinement + villa rooms 2x2 */
@media (max-width: 767px) {
  /* Remove circular check badge; selected type is communicated by stronger charcoal frame. */
  body.smouha-home-design #sm-phase1 .smv4-type .smv4-type-option:has(.smv4-type-input:checked)::after {
    content: none !important;
    display: none !important;
  }

  body.smouha-home-design #sm-phase1 .smv4-type .smv4-type-option:has(.smv4-type-input:checked) {
    border: 2px solid #4A4A4A !important;
    background: #F4EEE3 !important;
    box-shadow: 0 0 0 1px rgba(196,163,75,.16) inset !important;
  }

  body.smouha-home-design #sm-phase1 .smv4-type .smv4-type-option:has(.smv4-type-input:checked) .smv4-type-icon,
  body.smouha-home-design #sm-phase1 .smv4-type .smv4-type-option:has(.smv4-type-input:checked) .smv4-type-text {
    color: #3F3F3F !important;
  }

  /* Villa room options: 4/5 on first row, 6/7+ on second row. */
  body.smouha-home-design #sm-phase1 .sm-hero-v4[data-type-key="villa"]
  .sm-choice-field[data-choice-name="rooms"] .sm-choice-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4[data-type-key="villa"]
  .sm-choice-field[data-choice-name="rooms"] .sm-choice-chip {
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.smouha-home-design #sm-phase1 .sm-hero-v4[data-type-key="villa"]
  .sm-choice-field[data-choice-name="rooms"] .sm-choice-chip:last-child {
    grid-column: auto !important;
  }
}
