/* About header layout */
.miami-about-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.about-actions{margin:0}
.about-actions .miami-action{padding:8px 12px}
.about-actions .miami-action svg{display:block}

/* Base actions style (if not already present) */
.miami-detail-actions{display:flex;gap:12px;flex-wrap:wrap}
.miami-action{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 14px;border:1px solid #e5e7eb;border-radius:10px;
  background:#fff;font-weight:500;cursor:pointer;
  transition:background .15s ease, box-shadow .15s ease;
}
.miami-action:hover{background:#f9fafb;box-shadow:0 2px 10px rgba(0,0,0,.05)}

.miami-action svg {
  width: 18px;
  height: 18px;
  color: #111827; /* default gray/black */
}

.miami-action:hover svg {
  color: #2563eb; /* blue on hover */
}

.miami-save.is-saved svg {
  color: #dc2626; /* red when saved */
}


/* Stack on small screens */
@media (max-width: 640px){
  .miami-about-header{flex-direction:column;align-items:flex-start}
}

/*——————————————————————————————————————————————————————————————
  Gallery Layout
——————————————————————————————————————————————————————————————*/
.miami-status-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  background: #f4f4f4;
  color: #000;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.07rem 1rem 0.07rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 10;
  text-transform: capitalize;
}

.miami-status-badge .status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.5rem;
  background: #00b343;
}

.miami-detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;   /* main | thumbs */
  gap: 1rem;                        /* 16px gutter */
  margin-bottom: 2rem;
  align-items: start;              /* pin main & thumbs to top */
}

/* —— Main image container —— */
.miami-gallery-main {
  position: relative;
  overflow: hidden;      /* clip extra slides */
  border-radius: .5rem;
  grid-row: 1 / span 2;  /* span both rows of the grid */
  height: 470px;         /* 🔒 fixed height to match 3×160+2×10 thumbs */
}

/* Swiper slider inside that fixed box */
.miami-gallery-main .detail-swiper {
  position: relative;
  width: 100%;
  height: 100%;          /* 🔒 exactly fill the 500px container */
  overflow: hidden;      /* ⚠️ make sure nothing can spill out */
}

/* each slide flex-centers its image */
.miami-gallery-main .swiper-wrapper,
.miami-gallery-main .swiper-slide {
  height: 100%;
}

.miami-gallery-main .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* images contained inside portrait/landscape box */
.miami-gallery-main img {
 width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* arrows sit at 50% of that 500px box */
.detail-swiper .swiper-button-prev,
.detail-swiper .swiper-button-next {
  position: absolute;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 32px !important;
  height: 32px !important;
  color: #fff;
  z-index: 10;
}
.detail-swiper .swiper-button-prev { left: 12px !important; }
.detail-swiper .swiper-button-next { right: 12px !important; }

/* bump up their icon size */
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 28px;
}

/* hide the fallback “See all” link on desktop */
.miami-see-all {
  display: none !important;
}

/* —— 2×3 thumbnails —— */
/* total 500px = 3×160 + 2×10 gaps */
.miami-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-template-rows: repeat(3,150px);
  gap: 10px;
}
.miami-thumb {
  position: relative;
  overflow: hidden;
  border-radius: .5rem;
  cursor: pointer;
}
.miami-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* overlay on last thumb */
.miami-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  text-align: center;
  pointer-events: none;
}

/*———— Mobile overrides ————*/
@media (max-width: 768px) {
    .detail-swiper .swiper-button-prev { left: 25px !important; }
.detail-swiper .swiper-button-next { right: 25px !important; }
  /* full-width carousel */
  .miami-detail-wrapper {
    padding: 0;
  }
  .miami-detail-gallery {
    display: block;
    margin-bottom: 1rem;
  }
  .miami-gallery-thumbs {
    display: none;
  }
  .miami-see-all {
    display: block !important;
    margin: .5rem 1rem 1rem;
    color: #007aff;
    text-decoration: underline;
  }

  /* set flexible height on mobile */
  .miami-gallery-main {
    height: 60vw;           /* maintain aspect on phone */
  }
  .miami-gallery-main .detail-swiper {
    height: 100%;
  }

   .detail-swiper .swiper-pagination {
    display: block !important;
    position: absolute;
    bottom: 25px;
    right: 25px;
    font-size: 0.875rem;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 12px;
    line-height: 1;
    z-index: 10;
    max-width: 75px;
    white-space: nowrap;
    margin: 0 auto 0 auto;
  }
  .miami-gallery-main {
      margin-left: -50px;
  margin-right: -50px;

}
}
@media (min-width: 769px) {
  .detail-swiper .swiper-pagination {
    display: none !important;
  }
}

/*———— PhotoSwipe lightbox fixes ————*/
/* show true full-size image without cropping */

.pswp img,
.pswp__zoom-wrap img,
.pswp__container img {
  object-fit: scale-down;
  width: 100%;
  height: 100%;
}
/*——————————————————————————————————————————————————————————————
  INFO BLOCK & FORM STYLES (updated)
——————————————————————————————————————————————————————————————*/

/* Two‐column wrapper: left = 3fr (75%), right = 1fr (25%) */
.miami-info-block-wrapper {
   display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 2rem 0;
}
.miami-info-left {
  flex: 3;
}

.miami-info-right {
  flex: 1;
  position: relative;
}
/* Left column simply wraps the info rows */
.miami-info-left { }

/* Each “row” of info (top row & bottom row) */
.miami-info-row {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

/* TOP ROW: Price+Address (2fr) + Beds (1fr) + Baths (1fr) + Sqft (1fr) */
.miami-info-top-row {
  grid-template-columns: 4fr 1fr 1fr 1fr;
}

/* No background on top‐row items except the leftmost header */
.miami-info-top-row .miami-no-bg {
  background: transparent;
}

/* Price (large) + Address (smaller) */
.miami-info-header {
  display: flex;
  flex-direction: column;
}
.miami-price-large {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: #222;
}
.miami-address-small {
  font-size: 1.2rem;    
  line-height: 1.2;      
  margin: 0.25rem 0 1rem; 
  color: #555;           
  font-weight: 400;       
}

/* “Beds / Baths / Sqft” items: icon + “1 beds” (inline text) */
.miami-info-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.miami-info-text-inline {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.5rem;
  color: #222;
  font-weight:bold;
}
.miami-info-text-inline .miami-info-label {
  font-size: 1.2rem;
  color: #555;
  margin-left: 4px;
}
.miami-icon {
  width: 24px;
  height: 24px;
  fill: #444;
  margin-right: 6px;
}

/* BOTTOM ROW: info‐boxes (flex‐wrap to avoid missing icons) */
.miami-info-bottom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Each box: background + icon + text */
.miami-info-box {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  flex: 1 1 140px; /* flex‐wrap friendly */
}
.miami-box-text {
  font-size: 0.95rem;
  color: #333;
  white-space: nowrap;
  margin-left: 8px;
}
.miami-icon-type { /* property subtype icon: same styling as others */
  /* no extra rules needed */
}

/* RIGHT COLUMN: Sticky form container */

.miami-info-right {
  position: relative;
    align-self: start;  
    height: fit-content;
}
.miami-sticky-form {
  position: sticky;
  top: 1rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.miami-agent-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.miami-agent-header img {
  width: 105px !important;
  height: 105px !important;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.miami-agent-header div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.miami-agent-header div:first-child {
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.7rem;
}

.miami-agent-header div:last-child {
  font-size: .9rem;
  color: #555;
  line-height: 1.2rem;
}

/* Optional responsiveness */

@media (max-width: 480px) {
  .miami-agent-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .miami-agent-header img {
    margin-bottom: 0.5rem;
    margin-right: 0;
     width: 72px;
    height: 72px;
  }

  .miami-agent-header div:first-child {
    font-size: 1rem;
  }

  .miami-agent-header div:last-child {
    font-size: 0.8rem;
  }
}


/* MOBILE-STICKY button (overrides theme’s 200px border‐radius!) */

.miami-sticky-button {
  display: none;
  position: fixed;
  bottom: 10px;
  left: 20px;
  right: 20px;
  width: calc(100% - 40px);
  background: #000;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

/* Contact form styling */

.miami-form-disclaimer {
  font-size: 0.75rem;
  color: #666;
  margin-top: -2.2rem;
  line-height: 1.3;
  text-align:center;
}

/*——————————————————————————————————————————————————————————————
  “About this property” block (with Show more / Show less)
——————————————————————————————————————————————————————————————*/
.miami-about-property h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 0.75rem;
}
.miami-remarks {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  max-height: none;      /* we’ll limit height via JS/CSS */
  overflow: hidden;      /* hide the overflow */
}
.miami-show-more-btn {
  margin-top: 0.5rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.9rem;
  background: none;
  border: 1px solid #0073aa;
  color: #0073aa;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.miami-show-more-btn:hover {
  background-color: rgba(0, 115, 170, 0.05);
}

/*——————————————————————————————————————————————————————————————
  Map embed (300px tall)
——————————————————————————————————————————————————————————————*/
.miami-detail-map {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}
.miami-detail-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/*——————————————————————————————————————————————————————————————
  MOBILE OVERRIDES
——————————————————————————————————————————————————————————————*/
@media (max-width: 768px) {
  /* Collapse info‐block to a single column */
  .miami-info-block-wrapper {
    display: block;
    margin: 1rem 0;
  }

  /* Price & address font‐size adjustments */
  .miami-price-large {
    font-size: 1.9rem;
  }
  .miami-address-small {
    font-size: 1.1rem;  
    line-height: 1.2;
    font-weight: 400px;
  }

.miami-info-text-inline {
  font-size: 1.2rem;
}
.miami-info-text-inline .miami-info-label {
  font-size: 1rem;
}

  /* Top row on mobile:
     1) Price on first line
     2) Address on second line
     3) beds|baths|sqft on third line */
  .miami-info-top-row {
    display: block;
    margin-bottom: 1rem;
  }
  .miami-info-header {
    margin-bottom: 0.5rem;
  }
  .miami-info-item {
    display: inline-flex;
    margin-right: 1rem;
    justify-content: flex-start; /* icons on left of their text */
  }

  /* Bottom row: info‐boxes in two columns */
  .miami-info-bottom-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  /* Hide desktop form, show the sticky button */
  .miami-info-right .miami-sticky-form {
    display: none;
  }
  .miami-sticky-button {
    display: block;
  }

  /* Prevent content from hiding behind the sticky button */
  .miami-detail-wrapper {
    padding-bottom: 70px;
  }
}

/*————————————————————————————————————————————————————
  Modal Overlay (for mobile popup form)
————————————————————————————————————————————————————*/
.miami-modal-overlay {
  position: fixed;
  top:    0;
  left:   0;
  width:  100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
}

.miami-modal-overlay.show {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.miami-modal-content {
  background: #fff;
  padding:    1.5rem;
  border-radius: 8px;
  max-width:  480px;
  width:      90%;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
}

.miami-modal-close {
  position: absolute;
  top:    0.5rem;
  right:  0.5rem;
  background: transparent;
  border:     none;
  font-size:  1.5rem;
  line-height:1;
  cursor:     pointer;
  color:      #333;
}

/* Hide desktop form on mobile, show button instead */
@media (max-width: 768px) {
  .miami-form-desktop-only {
    display: none !important;
  }
  .miami-form-mobile-only {
    display: block;
    margin-top: 1rem;
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 0;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 0; /* override theme’s round buttons */
    z-index: 999;
    position: sticky;
    bottom: 0;
    left: 0;
  }
}

/* Hide mobile button on tablet+ */
@media (min-width: 769px) {
  .miami-form-mobile-only {
    display: none !important;
  }
  .miami-sticky-container {
   display: none !important;
  }
}
/* Sticky Button Background */
/* 1) The container is fixed at the bottom, full-width, white background */
.miami-sticky-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;           /* total bar height */
  background: #fff;       /* white “bar” */
  z-index: 1000;          /* below the button */
}

/*——————————————————————————————————————————————————————————————
  INTERIOR SECTION (also used for Property & HOA Details)
——————————————————————————————————————————————————————————————*/

/* Wrapper for entire interior/property section */
.miami-interior-section {
  margin: 2rem 0;
}

/* Main heading (e.g. “Interior Details” or “Property & HOA Details”) */
.miami-interior-section h2 {
  font-size: 1.75rem;
  color: #222;
  margin-bottom: 1rem;
}

/* Two-column grid for up to four sub-sections */
.miami-interior-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;      /* 1rem row gap, 2rem column gap */
}

/* Each sub-section (e.g. Parking, Public Info, etc.) */
.miami-interior-subsection {
  display: flex;
  flex-direction: column;
}

/* Sub-heading (e.g. “Parking”) */
.miami-interior-subheading {
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.5rem;
}

/* Unordered list inside each subsection */
.miami-interior-list {
  list-style-type: disc;
  margin-left: 1.5rem; /* indent the bullets */
}

/* If you ever need to override on mobile, you can collapse to single column: */
@media (max-width: 768px) {
  .miami-interior-grid {
    grid-template-columns: 1fr; /* single column on mobile */
  }
}

/* —————————————————————————————
   Price History: overall container
   ————————————————————————————— */
/* 1) Base rules for the Price History table */
.miami-price-history-table {
  width: 100%;
  border-collapse: collapse; /* collapse cell borders */
  margin-top: 1rem;          /* space above table */
  margin-bottom: 1rem;       /* space below table */
  font-size: 1rem;        /* slightly smaller font for compactness */
}

.miami-ph-sqft {
      font-size: 0.8rem !important;        /* slightly smaller font for compactness */
}

/* 2) Table header styling */
.miami-price-history-table th {
  text-align: left;
  padding: 0.5rem 0.75rem;    /* smaller padding than default */
  border-bottom: 1px solid #ccc;
  font-weight: 600;
  /* If your theme applies a background here, override to keep it simple: */
  background: transparent;
}

/* 3) Table cell styling */
.miami-price-history-table td {
  padding: 0.4rem 0.75rem;    /* compact padding */
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

/* 4) Remove alternating‐row backgrounds entirely */
.miami-price-history-table tr:nth-child(odd),
.miami-price-history-table tr:nth-child(even) {
  background: transparent !important;
}

/* 5) Optionally tighten up line‐height if you want even more compactness */
.miami-price-history-table td,
.miami-price-history-table th {
  line-height: 1.3; /* reduce default line‐height */
}

/*———————————————————————————————————————————————————————————
  ESTIMATED MONTHLY PAYMENT (All-in-One Cleanup)
———————————————————————————————————————————————————————————*/
.miami-payment-form > details {
  margin-bottom: 0.5rem;
}
.miami-payment-section h2 {
  font-size: 1.75rem;
  color: #222;
  margin-bottom: 1rem;
}

/* DESKTOP: 300px chart + form */
@media (min-width: 768px) {
  .miami-payment-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
  }
}

/* CHART BOX */
.miami-payment-chart-wrapper {
  width: 300px;
  height: 300px;
  position: relative;
  margin: 0 auto;
}
.miami-payment-chart-wrapper canvas {
  position: absolute !important;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* CENTER “Est. $X” */
.miami-chart-center {
  position: absolute;
  top:50%; left:50%;
  transform: translate(-50%,-50%);
  text-align: center;
  pointer-events: none;
}
.miami-chart-title { font-size: .9rem; color: #666; }
.miami-chart-value { font-size: 1.5rem; font-weight:700; }

/* SUB-HEADING */
.miami-payment-sub {
  color: #666;
  font-size: .95rem;
}

/* PANELS */

.miami-payment-detail summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f9f9f9;
  cursor: pointer;
}
.miami-payment-detail[open] summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
/* force left-aligned labels */
.miami-payment-detail summary .miami-payment-label {
  flex:1;
  text-align: left;
}
.miami-payment-content {
  border:1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  padding: 1rem;
}

/* COLORED DOT */
.miami-payment-color {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: .75rem;
}

/* INPUT WRAPS */
.miami-payment-input-wrap {
  position: relative;
  width: 100%;
}
.miami-payment-input-wrap input {
  width: 100%;
  padding: 6px 8px;
  padding-left: 22px;
  padding-right: 22px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}
.miami-payment-input-wrap input:focus {
  outline: none;
  border-color: #50E3C2;
  box-shadow: 0 0 0 2px rgba(80,227,194,0.3);
}
.miami-payment-input-prefix,
.miami-payment-input-suffix {
  position: absolute;
  top:50%;
  transform:translateY(-50%);
  color: #555;
  pointer-events: none;
}
.miami-payment-input-prefix { left: 10px; }
.miami-payment-input-suffix { right: 10px; }

/*——————————————————————————————————————————————————————————————
  Panel gap
——————————————————————————————————————————————————————————————*/
.miami-payment-details {
  display: flex !important;
  flex-direction: column !important;
  gap: 2rem !important;  /* ~8px between each panel */
}

/*——————————————————————————————————————————————————————————————
  P&I panel grid: Home & Down full-width, Loan & Rate 70/30
——————————————————————————————————————————————————————————————*/
/* P&I panel grid: Home & Down full-width, Loan 70% + Rate 30% */
.pi-detail .miami-payment-content {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 0.75rem;
}

/* 1st label (Home price) and 2nd (Down payment) span both columns */

/* Home price */
.pi-detail .miami-payment-content label:nth-child(1) {
  grid-column: 1 / -1;
}
/* Down payment: spans both, two rows */
.pi-detail .miami-payment-content label:nth-child(2) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: auto auto;
  margin-bottom: 0;
}
/* its inputs on row 2, 70/30 split */
.pi-detail .miami-payment-content label:nth-child(2) .miami-down-wrap {
  grid-row: 2;
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.miami-down-wrap .miami-payment-input-wrap:nth-child(1) {
  /* dollar field 70% */
  flex: 0 0 69%;
}
.miami-down-wrap .miami-payment-input-wrap:nth-child(2) {
  /* percent field 30% */
  flex: 0 0 30%;
}


/* Loan program (3rd label) into column 1, two rows */
.pi-detail .miami-payment-content > label:nth-child(3) {
  grid-column: 1;
  display: grid;
  grid-template-rows: auto auto;
  margin-bottom: 0;
}
.pi-detail .miami-payment-content
  > label:nth-child(3)
  .miami-payment-input-wrap {
  grid-row: 2;
  margin-top: 0.5rem;
}
/* style the <select> just like your inputs */
.pi-detail .miami-payment-content
  > label:nth-child(3)
  .miami-payment-input-wrap
  select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: .95rem;
}

/* Interest rate (4th label) into column 2, two rows */
.pi-detail .miami-payment-content > label:nth-child(4) {
  grid-column: 2;
  display: grid;
  grid-template-rows: auto auto;
  margin-bottom: 0;
}
.pi-detail .miami-payment-content
  > label:nth-child(4)
  .miami-payment-input-wrap {
  grid-row: 2;
  margin-top: 0.5rem;
}


/*——————————————————————————————————————————————————————————————
  Mobile: chart shrink + center + padding
——————————————————————————————————————————————————————————————*/
@media (max-width: 767px) {
  .miami-payment-section {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
  }
  .miami-payment-grid {
    display: block;
  }
  .miami-payment-chart-wrapper {
    width: 70% !important;
    height: 240px !important;
    margin: -40px auto 0.5rem;
  }
}
/* remove native spinner controls from <input type="number"> */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
  appearance: textfield;      /* future-proof */
}
/* prevent iOS from auto-zooming on focus */
@media (max-width: 767px) {
.miami-payment-input-wrap input,
.miami-payment-input-wrap select,
input[type="number"] {
  font-size: 16px !important;
  line-height: 1.2; /* optional, just keeps things nicely spaced */
}
}
/* Prevent Safari on iOS from zooming form controls on focus */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* -------------------------------------------------
   WalkScore Styles
---------------------------------------------------*/
/* ----------------------------------------
   1) Section header (re‐uses your existing style)
------------------------------------------- */
.miami-interior-section h2 {
  /* you already have this, but just for clarity: */
  font-size: 1.75rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 1rem;
}

/* ----------------------------------------
   2) Card container
------------------------------------------- */

.miami-ws-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 2rem;
  justify-items: center;
  margin-top: 1.5rem;
}


/* ----------------------------------------
   3) Individual card (no border)
------------------------------------------- */
.miami-ws-card {
  flex: 1;
  text-align: center;
  background: none;
  padding: 0;              /* spacing is in the circle itself */
}

/* ----------------------------------------
   4) circle wrapper
------------------------------------------- */
.miami-ws-circle {
  background-color: #4654A6;    
  width: 140px;                   
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ----------------------------------------
   5) SVG icon inside circle
------------------------------------------- */
.miami-ws-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 0.25rem;
  fill: #fff;
  max-width: 30px !important;
  margin-bottom: 0;
}

/* ----------------------------------------
   6) Score number (inside circle)
------------------------------------------- */
.miami-ws-number {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-top: -10px; 
}

/* ----------------------------------------
   7) Description text below circle
------------------------------------------- */
.miami-ws-desc {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.5rem;
}

/* ----------------------------------------
   8) Optional full‐score link style
------------------------------------------- */
.miami-ws-link {
  font-size: 0.875rem;
  color: #1d2854;
  text-decoration: none;
  font-weight: 500;
}
.miami-ws-link:hover {
  text-decoration: underline;
}
/* ----------------------------------------
   Force 3-across on small screens
------------------------------------------- */
@media (max-width: 600px) {
  .miami-ws-cards {
    /* instead of auto-fit/minmax, always 3 equal columns */
    grid-template-columns: repeat(3, 1fr) !important;
    gap:0;
  }

  /* if your circles are too big on narrow phones, you can shrink them here */
  .miami-ws-circle {
    width: 100px;
    height: 100px;
  }
  .miami-ws-number {
    font-size: 2.5rem;
  }
}

/* ──────────────────────────────────────────────────
   Miami REALTORS® Footer Disclaimer
────────────────────────────────────────────────── */
.miami-footer-disclaimer {
  border-top: 1px solid #e0e0e0;
  margin: 2rem 0 1rem;
  padding-top: 1rem;
  font-size: 0.875rem;
  color: #555;
  line-height: 1.5;
}

.miami-footer-logo {
  max-width: 100px !important;
  margin-bottom: 0.75rem;
}

.miami-footer-text {
  margin: 0.5rem auto;
}

.miami-footer-update {
  margin-top: 0.5rem;
  font-weight: 600;
  color: #333;
}