/* Modular Home App - Step 1 with Embla and compact top progress */

.silva-home-app-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #18181b;
}

.sha-app-screen {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
 
  border-radius: 24px;
  background: #f5f2ed;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  min-height: calc(100svh - 120px);
  display: flex;
  flex-direction: column;
}

.sha-mobile-top {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  grid-template-rows: auto auto;
  gap: 4px 8px;
  align-items: center;
  margin: 0 0 6px 0;
  padding: 6px 12px 2px;
}

/* Global header back button (shared UI for all steps) */
.sha-mobile-top .sha-topbar-back {
  position: static;
  transform: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.sha-mobile-top .sha-back-icon i { font-size: 16px; color: #16391f; }

/* Centered, narrower progress track in the same row */
.sha-mobile-top .sha-progress-bar-shell {
  width: 62%;
  max-width: 380px;
  margin: 0 auto;
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  justify-self: center;
}

/* Step meta label: sits tightly beneath the progress row, centered */
.sha-mobile-top .sha-step-meta {
  grid-column: 1 / 4;
  grid-row: 2 / 3;
  justify-self: center;
  margin-top: 2px;
}

.sha-progress-bar-shell {
  margin-bottom: 8px;
}

.sha-progress-bar-track {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #ddd9d2;
  overflow: hidden;
}

.sha-progress-bar-fill {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #4a9346, #2f6d39);
  box-shadow: 0 4px 10px rgba(47, 109, 57, 0.22);
  transition: width 220ms ease;
}

/* When the internal floors selector is shown we hide the global top progress and meta
   to avoid duplicate progress indicators. JS toggles the class `sha-hide-global-progress`
   on `#silva-home-app` when the selector subview is active. */
#silva-home-app.sha-hide-global-progress .sha-mobile-top {
  display: none !important;
}

/* Compact step meta (used alongside the circular stepper) */
.sha-step-meta--compact {
  text-align: center;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #6f6b66;
  letter-spacing: 0.06em;
}

.sha-step-meta {
  text-align: center;
}

.sha-step-meta__text {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #87837d;
}

.sha-stage {
  flex: 1;
  min-height: 0;
  display: flex;
}

.sha-screen {
  display: none;
  width: 100%;
}

.sha-screen--active {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.sha-hero-copy {
  text-align: center;
  margin-bottom: 14px;
}

/* Summary screen styles */
.sha-summary-hero {
  text-align: center;
  margin: 8px 0 14px;
}
.sha-summary-card__panel {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  margin: 8px 0 14px;
}
.sha-summary-card__img {
  width: 110px;
  height: 74px;
  object-fit: cover;
  border-radius: 8px;
}
.sha-summary-card__img--placeholder {
  width: 110px;
  height: 74px;
  background: #f0eee9;
  border-radius: 8px;
}
.sha-summary-card__body { flex: 1; }
.sha-summary-card__title { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.sha-summary-card__specs { color: #6f6b66; font-size: 13px; margin-bottom: 8px; }
.sha-summary-card__edit { background: transparent; border: 0; color: #2f6d39; font-weight:700; cursor:pointer; }

.sha-summary-rows { margin: 12px 0; display: grid; gap: 10px; }
.sha-row { display:flex; align-items:center; gap:12px; background:#fff; padding:10px; border-radius:10px; box-shadow:0 6px 14px rgba(0,0,0,0.04); }
.sha-row__icon { width:48px; height:48px; border-radius:10px; display:flex; align-items:center; justify-content:center; background:#f7f5f1; font-size:20px }
.sha-row__label { font-weight:700 }
.sha-row__value { color:#6f6b66; font-size:13px }
.sha-row__edit { margin-left:auto; border:0; background:transparent; font-size:16px; cursor:pointer }

.sha-estimate-panel { background:#f7fbf6; border-radius:12px; padding:12px; margin: 14px 0 28px; }
.sha-estimate-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px }
.sha-estimate-title { font-weight:700 }
.sha-estimate-view { border:0; background:transparent; color:#2f6d39; cursor:pointer }
.sha-estimate-total { font-size:28px; font-weight:800; margin-bottom:8px }
.sha-estimate-bar-shell { margin-bottom:10px }
.sha-estimate-bar-track { width:100%; height:8px; background:#e6e6e3; border-radius:999px; overflow:hidden }
.sha-estimate-bar-fill { height:100%; background:linear-gradient(90deg,#4a9346,#2f6d39); width:40% }
.sha-estimate-breakdown { display:flex; justify-content:space-between; color:#6f6b66; font-size:14px }
.sha-estimate-breakdown__item strong { color:#18181b }




/* Floors module styles */

.sha-floors-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  padding-top: 8px; /* compact: shell no longer needs large top offset */
}

/* Removed legacy .sha-topbar container: header is canonical in .sha-mobile-top now. */

.sha-topbar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.sha-topbar-logo {
  display: block;
  height: 54px;
  width: auto;
  object-fit: contain;
}

.sha-topbar-account {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 0;
  background: linear-gradient(180deg, #3f8746, #2f6d39);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(47,109,57,0.18);
  cursor: pointer;
}

.sha-stepper {
  position: relative;
  padding: 10px 4px 0;
}

.sha-stepper__track,
.sha-stepper__progress {
  position: absolute;
  top: 27px;
  left: 38px;
  right: 38px;
  height: 4px;
  border-radius: 999px;
}

.sha-stepper__track {
  background: #ddd9d2;
}

.sha-stepper__progress {
  background: linear-gradient(90deg, #4a9346, #2f6d39);
}

.sha-stepper__progress--step-3 {
  width: calc(50% - 8px);
  right: auto;
}

.sha-stepper__items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  position: relative;
  z-index: 1;
}

.sha-stepper__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.sha-stepper__circle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #f4f1ec;
  border: 1px solid #e3ded7;
  color: #807a73;
  font-size: 22px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sha-stepper__item.is-complete .sha-stepper__circle,
.sha-stepper__item.is-active .sha-stepper__circle {
  background: linear-gradient(180deg, #3f8746, #2f6d39);
  border-color: transparent;
  color: #fff;
}

.sha-stepper__label {
  font-size: 12px;
  line-height: 1.25;
  color: #7a746e;
  font-weight: 600;
}

.sha-stepper__item.is-active .sha-stepper__label,
.sha-stepper__item.is-complete .sha-stepper__label {
  color: #1f2937;
}

.sha-floors-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sha-floors-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2f6d39;
  font-weight: 800;
}

.sha-hero-copy--floors,
.sha-hero-copy--selector {
  margin-bottom: 0;
}

.sha-hero-title--floors {
  font-size: clamp(34px, 10vw, 58px);
  line-height: 0.96;
}

.sha-hero-subtitle--floors {
  max-width: 320px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.45;
}


.sha-floors-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sha-floors-mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 120px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid #ece9e3;
  background: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: box-shadow 160ms ease, border-color 160ms ease, background 160ms ease, transform 120ms ease;
}

.sha-floors-mode-card:active { transform: translateY(1px); }

.sha-floors-mode-card__check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  font-size: 12px;
  box-shadow: none;
}

.sha-floors-mode-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f7f5f1;
  color: #2f6d39;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
}




.sha-floors-mode-card__title {
  font-size: 16px;
  line-height: 1.06;
  font-weight: 800;
  margin-bottom: 6px;
}

.sha-floors-mode-card__subtitle {
  font-size: 13px;
  line-height: 1.35;
  color: #6f6b66;
  max-width: 140px;
}

/* selected state */
.sha-floors-mode-card.is-selected {
  border-color: #4a9346;
  background: linear-gradient(180deg, rgba(74,147,70,0.05), rgba(74,147,70,0.02));
  box-shadow: 0 10px 22px rgba(47,109,57,0.08);
}

.sha-floors-mode-card.is-selected .sha-floors-mode-card__check {
  background: linear-gradient(180deg, #3f8746, #2f6d39);
  box-shadow: 0 8px 16px rgba(47,109,57,0.14);
}

.sha-floors-mode-card.is-selected .sha-floors-mode-card__check i { font-size: 12px; }

.sha-selected-home {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,0.05);
}

.sha-selected-home__thumb {
  width: 118px;
  height: 82px;
  object-fit: cover;
  border-radius: 12px;
  background: #f0eee9;
  flex-shrink: 0;
}

.sha-selected-home__body {
  min-width: 0;
  flex: 1;
}

.sha-selected-home__eyebrow {
  margin-bottom: 6px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2f6d39;
  font-weight: 800;
}

.sha-selected-home__name {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
  color: #18181b;
  margin-bottom: 8px;
}

.sha-selected-home__specs {
  font-size: 14px;
  line-height: 1.35;
  color: #6f6b66;
}

.sha-selected-home__edit {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: #f4f4f1;
  color: #2f6d39;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.sha-what-next {
  background: #fff;
  border-radius: 22px;
  padding: 16px 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.04);
}

.sha-what-next__title {
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 14px;
}

.sha-what-next__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.sha-what-next__item {
  position: relative;
  text-align: center;
  padding: 8px 10px 2px;
}

.sha-what-next__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  width: 1px;
  height: calc(100% - 24px);
  background: #ece8e1;
}

.sha-what-next__step {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #eef5ed;
  color: #2f6d39;
  font-size: 18px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.sha-what-next__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #2f6d39;
  margin-bottom: 10px;
}

.sha-what-next__heading {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
  color: #18181b;
  margin-bottom: 8px;
}

.sha-what-next__copy {
  font-size: 13px;
  line-height: 1.45;
  color: #6f6b66;
}

.sha-bottom-cta--floors {
  margin-top: 2px;
}

.sha-floors-root {
  margin-top: 0;
}

.sha-floors-selector {
  background: transparent;
  margin-top: 0px;
}

.sha-floors-selector__hero {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sha-floors-selector__title {
  margin: 0 0 8px;
  /* Match primary hero title exactly for consistent UX across steps */
  font-size: clamp(30px, 8.2vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 800;
  color: #18181b;
  text-wrap: balance;
}

.sha-floors-selector__subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #6f6b66;
}

.sha-floors-preview {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #efece6;
  box-shadow: 0 12px 22px rgba(0,0,0,0.06);
}

.sha-floors-preview img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.sha-floors-views {
  display: flex;
  gap: 10px;
  margin-top: -26px;
  padding: 0 10px;
}

.sha-view-btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
  color: #18181b;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}

.sha-view-btn.active {
  background: linear-gradient(180deg, #3f8746, #2f6d39);
  color: #fff;
  box-shadow: 0 12px 20px rgba(47,109,57,0.18);
}

.sha-floors-swatch-strip {
  margin-top: 12px;
  overflow: hidden;
}

.sha-swatch-list {
  display: flex;
  gap: 12px;
  padding: 8px 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sha-swatch-list::-webkit-scrollbar {
  display: none;
}

.sha-swatch-card {
  position: relative;
  flex: 0 0 148px;
  min-width: 148px;
  border-radius: 18px;
  background: #fff;
  padding: 10px;
  border: 1.5px solid #ece9e3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

.sha-swatch-card.selected {
  border-color: #4a9346;
  box-shadow: 0 12px 24px rgba(47,109,57,0.10);
}

.sha-swatch-thumb {
  width: 100%;
  height: 106px;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f1ec;
}

.sha-swatch-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.sha-swatch-body {
  text-align: left;
}

.sha-swatch-title {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.15;
  color: #1f2937;
  margin-bottom: 6px;
}

.sha-swatch-price {
  font-size: 14px;
  line-height: 1.3;
  color: #6f6b66;
  font-weight: 700;
}

.sha-swatch-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: transparent;
}

.sha-swatch-card.selected .sha-swatch-badge {
  background: linear-gradient(180deg, #3f8746, #2f6d39);
  box-shadow: 0 8px 16px rgba(47,109,57,0.16);
}

.sha-swatch-card.selected .sha-swatch-badge::before {
  /* Use a universal checkmark glyph to avoid dependence on icon fonts
     which can render as fallback question marks if the font isn't loaded. */
  content: "✓";
  color: #fff;
  font-size: 14px;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sha-floors-helper {
  margin-top: 14px;
  color: #4a9346;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 800;
}

.sha-floors-cta-wrap {
  margin-top: 16px;
}

.sha-floors-loading,
.sha-floors-empty {
  color: #6f6b66;
  text-align: center;
  padding: 14px;
}

.sha-floors-loading {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.04);
}

.sha-floors-empty {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.04);
}




.sha-hero-title {
  margin: 0 0 8px;
  font-size: clamp(30px, 8.2vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 800;
  color: #18181b;
  text-wrap: balance;
}

.sha-hero-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #6f6b66;
}

.sha-embla {
  display: grid;
  gap: 6px;
  align-items: center;
  margin-bottom: 10px;
}

.sha-embla__viewport {
  overflow: hidden;
}

.sha-embla__container {
  display: flex;
  align-items: stretch;
  touch-action: pan-y pinch-zoom;
  margin-left: -14px;
}

.sha-embla__slide {
  flex: 0 0 84%;
  min-width: 0;
  padding-left: 14px;
}

.sha-embla__nav {
  width: 28px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  color: #22303c;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  cursor: pointer;
}

.sha-plan-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 26px rgba(0,0,0,0.08);
  /* Limit visual width of the card without transforming content */
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  opacity: 0.62;
  transition: transform 220ms ease, opacity 220ms ease, box-shadow 220ms ease;
}

.sha-embla__slide.is-selected .sha-plan-card {
  /* Selected card: keep full (uncompressed) visual, lift slightly */
  transform: translateY(-4px);
  opacity: 1;
  box-shadow: 0 20px 40px rgba(0,0,0,0.14);
  z-index: 2;
}

.sha-plan-card__image-wrap {
  overflow: hidden;
  background: #efefef;
}

.sha-plan-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1.34 / 1;
  object-fit: cover;
  object-position: center;
}

.sha-plan-card__body {
  padding: 12px 14px 14px;
}

.sha-plan-card__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
  color: #18181b;
}

.sha-plan-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.35;
  color: #706b65;
}

.sha-plan-card__price {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #2f6d39;
}

.sha-plan-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

.sha-plan-card__button--primary {
  background: linear-gradient(180deg, #3f8746, #2f6d39);
  color: #fff;
  box-shadow: 0 14px 24px rgba(47,109,57,0.22);
}

.sha-plan-card__button--secondary {
  background: #f4f4f1;
  color: #2f6d39;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}

.sha-bottom-cta {
  margin-top: auto;
  padding-top: 8px;
}

.sha-bottom-cta__button {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(180deg, #3f8746, #2f6d39);
  color: #fff;
  box-shadow: 0 16px 24px rgba(47, 109, 57, 0.24);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.sha-bottom-cta__button:hover {
  transform: translateY(-1px);
}

.sha-hidden {
  display: none !important;
}

body.sha-modal-open {
  overflow: hidden;
}

.sha-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.sha-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
  backdrop-filter: blur(2px);
}

.sha-modal-panel {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(440px, 94%);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.26);
  overflow: hidden;
}

.sha-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 20px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sha-modal-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 700;
  color: #18181b;
}

.sha-modal-description {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #6f6b66;
}

.sha-modal-close {
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #18181b;
}

.sha-modal-body {
  padding: 18px 20px;
}

.sha-modal-summary {
  display: grid;
  gap: 12px;
}

.sha-modal-item {
  padding: 14px;
  border-radius: 16px;
  background: #f7f5f1;
}

.sha-modal-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f6b66;
}

.sha-modal-footer {
  display: grid;
  gap: 10px;
  padding: 14px 20px 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.sha-btn {
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}

.sha-btn--primary {
  background: linear-gradient(180deg, #3f8746, #2f6d39);
  color: #fff;
}

.sha-btn--ghost {
  background: #ece9e3;
  color: #18181b;
}

@media (min-width: 768px) {
  .sha-app-screen {
    max-width: 520px;
    padding: 18px 16px 18px;
    min-height: auto;
  }

  .sha-hero-title {
    font-size: 48px;
  }

  .sha-embla {
    gap: 10px;
  }

  .sha-embla__nav {
    width: 34px;
    height: 56px;
    font-size: 24px;
  }

  .sha-embla__slide {
    flex-basis: 72%;
  }
}

/* ---- By Room screen specific tweaks (static mock) ---- */

.sha-room-chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 6px 6px 0;
}
.sha-room-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ece9e3;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
  font-weight: 800;
  cursor: pointer;
}
.sha-room-chip--active {
  border: 2px solid #4a9346;
  background: linear-gradient(180deg, rgba(74,147,70,0.04), rgba(74,147,70,0.02));
  box-shadow: 0 12px 22px rgba(47,109,57,0.08);
  color: #16391f;
}
.sha-room-chip__icon { font-size: 16px; }

.sha-floorplan-card { margin-top: 12px; }
.sha-floorplan-card img { height: 220px; object-fit: contain; }

.sha-swatch-list { padding: 8px 6px; }
.sha-swatch-card { min-width: 128px; flex: 0 0 128px; }
.sha-swatch-thumb { height: 98px; }
.sha-swatch-title { font-size: 15px; }
.sha-swatch-price { font-size: 13px; color: #2f6d39; }

.sha-floors-helper { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: linear-gradient(180deg, rgba(74,147,70,0.06), rgba(74,147,70,0.02)); box-shadow: 0 8px 18px rgba(47,109,57,0.05); margin-top: 12px; }
.sha-confirm-icon { width: 34px; height: 34px; display:inline-flex; align-items:center; justify-content:center; border-radius:999px; background:linear-gradient(180deg,#3f8746,#2f6d39); color:#fff; font-weight:800; }

.sha-room-progress { display:flex; align-items:center; gap:14px; margin-top:12px; }
.sha-room-progress__stepper { display:flex; align-items:center; gap:12px; }
.sha-room-icon { width:46px; height:46px; border-radius:999px; background:#fff; display:inline-flex; align-items:center; justify-content:center; box-shadow:0 8px 18px rgba(0,0,0,0.06); }
.sha-room-progress__dots { display:flex; gap:8px; align-items:center; }
.sha-room-progress__dots .dot { width:14px; height:14px; border-radius:999px; background:#ece9e3; display:inline-block; }
.sha-room-progress__dots .dot.is-complete { background: linear-gradient(180deg,#3f8746,#2f6d39); box-shadow: 0 6px 12px rgba(47,109,57,0.12); }
.sha-room-progress__label { color:#6f6b66; font-weight:700; }

.sha-floors-cta-wrap { margin-top: 18px; }

@media (min-width: 768px) {
  .sha-floorplan-card img { height: 300px; }
}

/* Float Embla nav buttons for Step 1 so they don't participate in layout flow */
#sha-embla {
  position: relative;
}

#sha-embla .sha-embla__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  pointer-events: auto;
}

#sha-embla .sha-embla__nav--prev { left: 12px; }
#sha-embla .sha-embla__nav--next { right: 12px; }

@media (min-width: 768px) {
  #sha-embla .sha-embla__nav--prev { left: 18px; }
  #sha-embla .sha-embla__nav--next { right: 18px; }
}

/* Make Step 1 carousel cards slightly narrower (thinner look) */
#sha-embla .sha-embla__slide {
  flex: 0 0 76%;
}

@media (min-width: 768px) {
  #sha-embla .sha-embla__slide {
    flex-basis: 64%;
  }
}