/* ==========================================================
   06-property.css
   Property System Styles — REW-style Layout
   
   Island Property Group — McGuire Digital
   
   SECTIONS:
   1.  Property Cards (grid items)
   2.  Property Gallery (banner + thumbnail strip)
   3.  Property Title Bar (dark)
   4.  Property Tab Navigation
   5.  Property Content Layout (two-column)
   6.  Property Tab Panels
   7.  Property Facts Tables
   8.  Property Features
   9.  Property Video / Tour / Floor Plans
   10. Property Map & Directions
   11. Property Showing Form
   12. Sidebar — CTA, Calculator, Agent, Actions
   13. Property Related
   14. Destination Pages
   15. Search / Archive Filters
   
========================================================== */

/* ==========================================================
   0. CONTAINER
   ========================================================== */
.container {
  width: 100%;
  max-width: var(--container-max, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad, 20px);
  padding-right: var(--container-pad, 20px);
}  

/* ==========================================================
   1. PROPERTY CARDS
   ========================================================== */
.property-grid {
  display: grid;
  gap: 24px;
}

.property-grid.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 980px) {
  .property-grid.grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .property-grid.grid--3 {
    grid-template-columns: 1fr;
  }
}

.property-card {
  display: block;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: var(--color-text);
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  text-decoration: none;
}

.property-card__image {
  position: relative;
  margin: 0;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.property-card:hover .property-card__image img {
  transform: scale(1.03);
}

.property-card__price {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 14px;
  border-radius: 0;
  font-size: 1.05rem;
  font-weight: var(--font-weight-semibold, 600);
}

.property-card__body {
  padding: 16px;
}

.property-card__title {
  font-size: 1.05rem;
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold, 600);
}

.property-card__location {
  font-size: 0.88rem;
  color: var(--color-primary);
  margin: 0 0 8px;
}

.property-card__specs {
  display: flex;
  gap: 14px;
  font-size: 0.85rem;
  color: #666;
}

.property-card__spec {
  white-space: nowrap;
}

/* ==========================================================
   2. PROPERTY GALLERY — Banner + Thumbnail Strip
   ========================================================== */
.prop-gallery {
  position: relative;
  background: #111;
}

.prop-gallery__banner {
  position: relative;
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

/* Pull property gallery under sticky nav — mirrors banner-logo-center offset */
body.single-property .prop-gallery {
  margin-top: -80px;
}

.prop-gallery__banner-link {
  display: block;
  width: 100%;
  height: 100%;
}

.prop-gallery__banner-link img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .prop-gallery__banner-link img {
    height: 300px;
  }
}

.prop-gallery__count {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold, 600);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  transition: background 0.15s;
}

.prop-gallery__count:hover {
  background: rgba(0,0,0,0.85);
}

/* Thumbnail strip */
.prop-gallery__thumbstrip {
  background: #111;
  padding: 8px 0;
  overflow: hidden;
}

.prop-gallery__thumbtrack {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 16px;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #555 #222;
}

.prop-gallery__thumbtrack::-webkit-scrollbar {
  height: 4px;
}

.prop-gallery__thumbtrack::-webkit-scrollbar-track {
  background: #222;
}

.prop-gallery__thumbtrack::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 2px;
}

.prop-gallery__thumb {
  flex: 0 0 auto;
  width: 100px;
  height: 70px;
  border-radius: 0;
  overflow: hidden;
  opacity: 0.6;
  transition: opacity 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
}

.prop-gallery__thumb:hover,
.prop-gallery__thumb.is-active {
  opacity: 1;
  border-color: #fff;
}

.prop-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .prop-gallery__thumb {
    width: 72px;
    height: 50px;
  }
}

/* ==========================================================
   3. PROPERTY TITLE BAR (Dark)
   ========================================================== */
.prop-titlebar {
  background: #1a1a1a;
  color: #fff;
  padding: 24px 0;
}

.prop-titlebar__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.prop-titlebar__name {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-family: var(--font-heading);
  margin: 0 0 6px;
  color: #fff;
}

.prop-titlebar__price-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prop-titlebar__price {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
}

.prop-titlebar__status {
  display: inline-block;
  padding: 3px 12px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
}

.prop-titlebar__lot {
  text-align: right;
}

.prop-titlebar__lot-value {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: var(--font-weight-semibold, 600);
  line-height: 1.1;
}

.prop-titlebar__lot-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-transform: capitalize;
}

/* ==========================================================
   4. PROPERTY TAB NAVIGATION
   ========================================================== */
.prop-tabs {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 90;
}

.prop-tabs__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prop-tabs__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
}

.prop-tabs__nav li {
  margin: 0;
}

.prop-tabs__link {
  display: block;
  padding: 16px 20px;
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold, 600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.prop-tabs__link:hover {
  color: #222;
  text-decoration: none;
}

.prop-tabs__link.is-active {
  color: #222;
  border-bottom-color: var(--color-primary, #133c60);
}

.prop-tabs__cta {
  display: flex;
  gap: 10px;
  padding: 10px 0;
}

.prop-tabs__btn {
  padding: 10px 22px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 0;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary, #133c60);
  color: #fff;
  border: 2px solid var(--color-primary, #133c60);
}

.btn--primary:hover {
  background: #197f94;
  border-color: #197f94;
  color: #fff;
  text-decoration: none;
}

.btn--outline-light {
  background: transparent;
  color: #333;
  border: 2px solid #333;
}

.btn--outline-light:hover {
  background: #333;
  color: #fff;
  text-decoration: none;
}

.btn--dark {
  background: #1a1a1a;
  color: #fff;
  border: 2px solid #1a1a1a;
}

.btn--dark:hover {
  background: #333;
  border-color: #333;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary, #133c60);
  border: 2px solid var(--color-primary, #133c60);
}

.btn--outline:hover {
  background: var(--color-primary, #133c60);
  color: #fff;
  text-decoration: none;
}

.btn--full { width: 100%; text-align: center; }
.btn--sm { padding: 8px 14px; font-size: 0.82rem; }

.btn--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 860px) {
  .prop-tabs__grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .prop-tabs__nav {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }
  .prop-tabs__cta {
    display: none;
  }
  .prop-tabs__link {
    padding: 12px 16px;
    font-size: 0.78rem;
  }
}

/* ==========================================================
   5. PROPERTY CONTENT LAYOUT
   ========================================================== */
.prop-content {
  padding: 40px 0 60px;
}

.prop-content__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 1024px) {
  .prop-content__grid {
    grid-template-columns: 1fr;
  }
}

.prop-content__sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1024px) {
  .prop-content__sidebar {
    position: static;
  }
}

/* ==========================================================
   6. PROPERTY TAB PANELS
   ========================================================== */
.prop-tab-panel {
  display: none;
}

.prop-tab-panel.is-active {
  display: block;
}

.prop-section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-family: var(--font-heading);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

/* ==========================================================
   7. PROPERTY FACTS TABLES
   ========================================================== */
.prop-quick-facts {
  margin-top: 32px;
}

.prop-quick-facts h3:not(.prop-section-title),
.prop-neighborhood h3,
.prop-video-section h3:not(.prop-section-title),
.prop-tour-section h3,
.prop-feature-tags-section h3,
.prop-floorplans-section h3,
.prop-directions-note h3 {
  font-size: 1.15rem;
  font-family: var(--font-heading);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.prop-facts-table {
  width: 100%;
  border-collapse: collapse;
}

.prop-facts-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.92rem;
}

.prop-facts-table td:first-child {
  color: #666;
  width: 40%;
}

.prop-facts-table td:nth-child(2) {
  font-weight: var(--font-weight-semibold, 600);
}

/* Wide facts table (4-column) */
.prop-facts-table--wide {
  margin-bottom: 32px;
}

.prop-facts-table--wide td {
  width: 25%;
  padding: 12px 16px;
  border: 1px solid #f0f0f0;
}

.prop-facts-table--wide td strong {
  color: #222;
}

@media (max-width: 640px) {
  .prop-facts-table--wide td {
    display: block;
    width: 100%;
  }
}

/* ==========================================================
   8. PROPERTY FEATURES
   ========================================================== */
.prop-highlights {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  font-style: italic;
  margin-bottom: 20px;
}

.prop-description {
  font-size: 0.95rem;
  line-height: 1.8;
}

.prop-description p {
  margin-bottom: 16px;
}

.prop-feature-tags-section {
  margin-top: 32px;
}

.prop-features-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prop-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 0;
  background: var(--color-accent, #e4f5f7);
  color: var(--color-primary, #133c60);
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold, 600);
}

.prop-feature-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.prop-feature-list h3 {
  font-size: 1rem;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
}

.prop-feature-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.prop-feature-list li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.prop-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* ==========================================================
   9. PROPERTY VIDEO / TOUR / FLOOR PLANS
   ========================================================== */
.prop-video-section,
.prop-tour-section,
.prop-floorplans-section {
  margin-top: 32px;
}

.prop-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.prop-video__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 0;
}

.prop-video__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.prop-tour-embed {
  border-radius: 0;
  overflow: hidden;
}

.prop-floorplans {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.prop-floorplan-thumb {
  display: block;
  border-radius: 0;
  overflow: hidden;
}

.prop-floorplan-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.prop-neighborhood {
  margin-top: 32px;
}

/* ==========================================================
   10. PROPERTY MAP & DIRECTIONS
   ========================================================== */
.prop-map {
  width: 100%;
  height: 450px;
  border-radius: 0;
  margin-bottom: 24px;
}

.prop-address {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: #444;
}

.prop-directions {
  margin-top: 24px;
}

.prop-directions label {
  display: block;
  font-size: 0.92rem;
  font-weight: var(--font-weight-semibold, 600);
  margin-bottom: 8px;
}

.prop-directions__form {
  display: flex;
  gap: 0;
}

.prop-directions__form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 0;
  font-size: 0.92rem;
}

.prop-directions__form input:focus {
  outline: none;
  border-color: var(--color-primary, #133c60);
}

.prop-directions__form button {
  padding: 12px 24px;
  border-radius: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  cursor: pointer;
}

.prop-directions-note {
  margin-top: 24px;
}

.prop-overview-map,
.prop-facts-section {
  margin-top: 40px;
}

/* ==========================================================
   11. PROPERTY SHOWING FORM
   ========================================================== */
.prop-showing-form-wrap {
  max-width: 680px;
  background: #f7f7f7;
  border-radius: 0;
  padding: 32px;
}

.prop-showing-form .form-field {
  margin-bottom: 20px;
}

.prop-showing-form label {
  display: block;
  font-size: 0.92rem;
  font-weight: var(--font-weight-semibold, 600);
  margin-bottom: 6px;
}

.prop-showing-form label span {
  font-weight: 400;
  color: #888;
}

.prop-showing-form input[type="text"],
.prop-showing-form input[type="email"],
.prop-showing-form input[type="tel"],
.prop-showing-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 0.92rem;
  font-family: var(--font-body);
  background: #fff;
}

.prop-showing-form input:focus,
.prop-showing-form textarea:focus {
  outline: none;
  border-color: var(--color-primary, #133c60);
  box-shadow: 0 0 0 3px rgba(30,158,183,0.1);
}

.prop-showing-form small {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #888;
}

/* ==========================================================
   12. SIDEBAR — CTA, Calculator, Agent, Actions
   ========================================================== */

/* Sidebar CTA buttons */
.prop-sidebar-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Payment Calculator */
.prop-calculator {
  padding: 24px;
}

.prop-calculator h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: var(--font-weight-semibold, 600);
  margin: 0 0 20px;
}

.prop-calc-field {
  margin-bottom: 16px;
}

.prop-calc-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: var(--font-weight-semibold, 600);
  margin-bottom: 4px;
}

.prop-calc-field input,
.prop-calc-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 0.9rem;
  font-family: var(--font-body);
  background: #fff;
}

.prop-calc-field input:focus,
.prop-calc-field select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.prop-calc-row {
  display: flex;
  gap: 10px;
}

.prop-calc-field--small {
  flex: 0 0 72px;
}

.prop-calc-result {
  text-align: center;
  padding: 20px 0 0;
  border-top: 1px solid #eee;
  margin-top: 8px;
}

.prop-calc-result__ring {
  position: relative;
  display: inline-block;
  margin-bottom: 8px;
}

.prop-calc-result__amount {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
  font-weight: var(--font-weight-semibold, 600);
  color: var(--color-primary);
}

/* Card utility */
.card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  padding: 24px;
}

.card--flat {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  padding: 16px 24px;
}

/* Agent card */
.prop-agent-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.prop-agent-card__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.prop-agent-card__info {
  display: flex;
  flex-direction: column;
}

.prop-agent-card__info strong {
  font-size: 1rem;
}

.prop-agent-card__info .small {
  color: #666;
}

.prop-agent-card__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Actions */
.prop-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.prop-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-primary);
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.15s;
}

.prop-action-btn:last-child {
  border-bottom: none;
}

.prop-action-btn:hover {
  color: #197f94;
}

.prop-action-btn.is-saved {
  color: #e74c3c;
}

/* Share links */
.prop-share__links {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.prop-share__links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #555;
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold, 600);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.prop-share__links a:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Sidebar inquiry form (compact version if used) */
.prop-inquiry-card h3 {
  font-size: 1rem;
  margin: 0 0 4px;
  color: var(--color-primary);
}

.prop-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.prop-inquiry-form input,
.prop-inquiry-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 0.9rem;
  font-family: var(--font-body);
}

.prop-inquiry-form input:focus,
.prop-inquiry-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30,158,183,0.1);
}

/* ==========================================================
   13. PROPERTY RELATED
   ========================================================== */
.prop-related {
  background: #f8f8f8;
  border-top: 1px solid #e8e8e8;
}

.prop-related h2 {
  margin-bottom: 24px;
}

/* ==========================================================
   14. DESTINATION PAGES
   ========================================================== */

/* Destination Hero */
.dest-hero {
  position: relative;
  height: clamp(300px, 45vw, 560px);
  overflow: hidden;
}

.dest-hero__image {
  position: absolute;
  inset: 0;
}

.dest-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dest-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent 60%);
}

.dest-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 2;
  color: #fff;
}

.dest-hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 8px;
  color: #fff;
}

.dest-hero__tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  opacity: 0.9;
  margin: 0;
}

/* Destination Overview + Key Facts */
.dest-overview {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 980px) {
  .dest-overview {
    grid-template-columns: 1fr;
  }
}

.dest-facts-card {
  background: #f7f7f7;
  border-radius: 0;
  padding: 24px;
  position: sticky;
  top: 120px;
}

.dest-facts-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
}

.dest-facts-card dl {
  margin: 0;
}

.dest-facts-card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #888;
  margin-top: 12px;
}

.dest-facts-card dd {
  margin: 2px 0 0;
  font-weight: var(--font-weight-semibold, 600);
  font-size: 0.95rem;
}

.dest-cbi-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  background: var(--color-accent, #e4f5f7);
  color: var(--color-primary, #133c60);
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: var(--font-weight-semibold, 600);
}

/* Destination Buying Guide */
.dest-buying-guide {
  background: #f8f8f8;
  border-top: 1px solid #e8e8e8;
}

.dest-buying-guide__block {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.dest-buying-guide__block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

/* Destination Lifestyle */
.dest-lifestyle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 768px) {
  .dest-lifestyle-grid {
    grid-template-columns: 1fr;
  }
}

/* Destination FAQ */
.dest-faq__item {
  border-bottom: 1px solid #e0e0e0;
}

.dest-faq__question {
  width: 100%;
  padding: 18px 40px 18px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: var(--font-weight-semibold, 600);
  cursor: pointer;
  position: relative;
  list-style: none;
  font-family: var(--font-body);
}

.dest-faq__question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform 0.2s;
}

details[open] .dest-faq__question::after {
  content: "−";
}

.dest-faq__answer {
  padding: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================
   15. SEARCH / ARCHIVE FILTERS (Phase 2)
   ========================================================== */
.prop-search-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.prop-filter-group {
  flex: 1;
  min-width: 150px;
}

.prop-filter-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #888;
  margin-bottom: 4px;
}

.prop-filter-group select,
.prop-filter-group input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd !important;
  border-bottom: 1px solid #ddd !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  font-family: var(--font-body) !important;
  height: 38px !important;
  background: #fff !important;
  color: #333 !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
}

.prop-view-toggle {
  display: flex;
  gap: 4px;
}

.prop-view-toggle button {
  padding: 8px 12px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  border-radius: 0;
}

.prop-view-toggle button.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
   (after the existing .prop-view-toggle button.is-active rule)
   ---------------------------------------------------------- */

/* ==========================================================
   15b. ARCHIVE HERO & GRID LAYOUT
   ========================================================== */

/* Archive hero banner */
.archive-hero {
  background: var(--color-dark, #1a1a2e);
  color: #fff;
  padding: 60px 0 50px;
  text-align: center;
}

.archive-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-normal, 400);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.archive-hero__subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* Filter wrapper */
.prop-search-wrap {
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  padding: 24px 0;
}

/* Submit button inside filter bar */
.prop-filter-group--submit {
  flex: 0 0 auto;
  min-width: 120px;
}

.prop-filter-group--submit .button {
  width: 100%;
  padding: 0;
  text-align: center;
  height: 38px;
  line-height: 38px;
  margin: 0;
}

/* Active filters / result count */
.prop-active-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 0;
  font-size: 0.88rem;
}

.prop-clear-filters {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: var(--font-weight-semibold, 600);
}

.prop-result-count {
  color: #666;
}

/* Archive section */
.prop-archive {
  padding: 48px 0 64px;
}

/* 3-column card grid */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Status badge on card image */
.property-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold, 700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
}

.property-card__badge--under-contract {
  background: rgba(200, 120, 20, 0.85);
}

.property-card__badge--sold {
  background: #C8102E;
  backdrop-filter: none;
}

.property-card__badge--pending {
  background: rgba(200, 120, 20, 0.85);
}

/* Pagination */
.prop-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  padding: 0 40px 40px;
}

.prop-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--color-text);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.prop-pagination .page-numbers:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.prop-pagination .page-numbers.current {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  font-weight: var(--font-weight-semibold, 600);
}

.prop-pagination .page-numbers.dots {
  border: none;
  background: transparent;
}

/* No results */
.prop-no-results {
  text-align: center;
  padding: 80px 20px;
}

.prop-no-results h2 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-normal, 400);
  margin: 0 0 12px;
}

.prop-no-results p {
  color: #666;
  font-size: 1rem;
}

.prop-no-results a {
  color: var(--color-primary);
}

/* ==========================================================
   15c. ARCHIVE RESPONSIVE
   ========================================================== */

@media (max-width: 1024px) {
  .prop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .prop-search-bar {
    flex-direction: column;
    gap: 16px;
  }

  .prop-filter-group {
    min-width: 100%;
  }

  .archive-hero {
    padding: 40px 0 32px;
  }

  .prop-archive {
    padding: 32px 0 48px;
  }
}

@media (max-width: 600px) {
  .prop-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .prop-active-filters {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ==========================================================
   16. HOMEPAGE HERO SEARCH BAR
   Overlays bottom of Banner-3 block on front page.
   ========================================================== */

/* ── Banner needs relative positioning for the overlay ──── */
.front-page .top_image.banner-logo-center,
.home .top_image.banner-logo-center {
  position: relative;
}

/* ── Search bar wrapper (holds both forms + tabs) ───────── */
.hero-search-wrap {
  position: absolute;
  bottom: clamp(24px, 5vw, 56px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(300px, 90%, 860px);
  z-index: 20;
}

/* ── Search Bar Form ─────────────────────────────────────── */
.hero-search {
  display: flex;
  align-items: stretch;
  background: #fff;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* ── Fields: shared base ─────────────────────────────────── */
.hero-search__field {
  display: flex;
  align-items: center;
}

/* ── SELECT (Location dropdown) ──────────────────────────── */
.hero-search__field--select {
  flex: 0 0 clamp(140px, 16vw, 200px);
  position: relative;
  overflow: visible;
}

/* Native select: hidden, still submits with the form */
.hero-location__native,
#hero-location {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  max-width: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  z-index: -1 !important;
}

/* Custom dropdown trigger */
.hero-location__custom {
  display: flex;
  align-items: center;
  gap: 10px;
  height: clamp(48px, 4.5vw, 56px);
  padding: 0 clamp(12px, 1.5vw, 20px);
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
  width: 100%;
  position: relative;
  user-select: none;
}

.hero-location__selected {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 400;
  color: #333;
  letter-spacing: 0.3px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-location__arrow {
  flex-shrink: 0;
  color: #666;
  transition: transform 0.2s ease;
}

/* Dropdown list panel */
.hero-location__list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  width: clamp(220px, 28vw, 320px);
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  z-index: 100;
  max-height: 60vh;
  overflow-y: auto;
}

.hero-location__list.is-open {
  display: block;
}

/* Group headers — non-clickable parent labels */
.hero-location__group {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary, #133c60);
  padding: 12px 20px 4px;
  cursor: default;
}

.hero-location__group:first-child {
  padding-top: 4px;
}

/* Clickable options */
.hero-location__option {
  font-family: var(--font-body);
  font-size: clamp(12px, 1vw, 13px);
  font-weight: 400;
  color: #333;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  letter-spacing: 0.3px;
}

.hero-location__option:first-child {
  font-weight: 600;
  color: #111;
  border-bottom: 1px solid #eee;
  margin-bottom: 4px;
  padding-bottom: 10px;
}

.hero-location__option--child {
  padding-left: 28px;
  color: #555;
}

.hero-location__option:hover,
.hero-location__option:focus {
  background: #f0f5f9;
  color: var(--color-primary, #133c60);
}

.hero-location__option[aria-selected="true"] {
  color: var(--color-primary, #133c60);
  font-weight: 600;
}

/* ── Vertical Divider ────────────────────────────────────── */
.hero-search__divider {
  width: 1px;
  align-self: center;
  height: 50%;
  background: #ccc;
  flex-shrink: 0;
}

/* ── TEXT INPUT (Keyword search) ──────────────────────────── */
.hero-search__field--text {
  flex: 1 1 auto;
  min-width: 0;
}

.hero-search__field--text input {
  border: none !important;
  background: #fff !important;
  color: #333 !important;
  font-family: var(--font-body) !important;
  font-size: clamp(12px, 1.1vw, 14px) !important;
  font-weight: 400 !important;
  letter-spacing: 0.2px !important;
  height: clamp(48px, 4.5vw, 56px) !important;
  padding: 0 clamp(12px, 1.5vw, 20px) !important;
  width: 100%;
  border-radius: 0 !important;
}

.hero-search__field--text input::placeholder {
  color: #999;
  font-style: normal;
}

.hero-search__field--text input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(19, 60, 96, 0.4) !important;
}

/* ── SUBMIT BUTTON ───────────────────────────────────────── */
.hero-search__field--submit {
  flex: 0 0 auto;
}

.hero-search__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #133c60;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: clamp(8px, 1.1vw, 12px);
  font-weight: 600;
  letter-spacing: 1.75px;
  text-transform: uppercase;
  white-space: nowrap;
  height: clamp(48px, 4.5vw, 56px);
  padding: 0 clamp(16px, 2vw, 28px);
  transition: background 0.3s ease;
}

.hero-search__btn:hover {
  background: #1a4f7a;
}

.hero-search__btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── BUY / SELL Tab Buttons ─────────────────────────────── */
.hero-search__tabs {
  display: flex;
  list-style: none;
  margin: 6px 0 0 0;
  padding: 0;
  gap: 0;
}

.hero-search__tab {
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.8);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 24px;
  transition: background 0.3s ease, color 0.3s ease;
}

.hero-search__tab:hover {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.hero-search__tab.is-active {
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
}

/* ── SELL form: 3 inputs share space evenly ─────────────── */
.hero-search--sell .hero-search__field--address { flex: 1 1 38%; }
.hero-search--sell .hero-search__field--email   { flex: 1 1 30%; }
.hero-search--sell .hero-search__field--phone   { flex: 1 1 22%; }

/* ==========================================================
   16b. SEARCH BAR — Responsive / Mobile
   ========================================================== */

@media (max-width: 768px) {

  .hero-search-wrap {
    width: clamp(280px, 92%, 500px);
    bottom: clamp(16px, 4vw, 40px);
  }

.hero-search {
    flex-direction: row;
    width: 100%;
  }

  .hero-search__divider {
    display: none;
  }

  .hero-search__field--select {
    flex: 1 1 auto;
    border-bottom: none;
  }

  .hero-location__custom {
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
  }

  .hero-location__list {
    width: 100% !important;
  }

  .hero-search__field--text {
    display: none;
  }

  .hero-search__field--text input {
    height: 48px !important;
    font-size: 14px !important;
    padding: 0 16px !important;
  }

  .hero-search__btn {
    width: auto;
    height: 48px;
    font-size: clamp(8px, 1.1vw, 12px);
    padding: 0 16px;
  }

 .hero-search--sell {
    display: none !important;
  }

} /* end @media (max-width: 768px) */

@media (max-width: 480px) {Resca

  .hero-search-wrap {
    bottom: clamp(12px, 3vw, 24px);
    width: clamp(260px, 94%, 400px);
  }
}

/* ==========================================================
   17. DESTINATION TEMPLATE
   Styles for template-destination.php sections:
   overview, highlights grid, property grid CTA, map embed.
   ========================================================== */

/* ── Section Title (shared across destination sections) ──── */
.dest-section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  text-align: center;
  margin: 0 0 clamp(24px, 3vw, 40px) 0;
  color: #222;
  letter-spacing: 0.5px;
}

/* ── 17a. Destination Overview ──────────────────────────── */
.dest-overview {
  padding: clamp(48px, 6vw, 80px) 0;
}

.dest-overview__content {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
  color: #444;
}

.dest-overview__content p {
  margin-bottom: 1.25em;
}

.dest-overview__content p:last-child {
  margin-bottom: 0;
}

/* ── 17b. Key Highlights Grid ──────────────────────────── */
.dest-highlights {
  padding: clamp(48px, 6vw, 80px) 0;
  background: #f8f8f8;
}

.dest-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.dest-highlight {
  text-align: center;
  padding: clamp(20px, 2.5vw, 32px);
}

.dest-highlight__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto clamp(12px, 1.5vw, 20px);
  color: var(--color-primary, #133c60);
}

.dest-highlight__icon svg {
  width: 100%;
  height: 100%;
}

.dest-highlight__title {
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #222;
}

.dest-highlight__desc {
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.6;
  color: #666;
  margin: 0;
}

@media (max-width: 768px) {
  .dest-highlights__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .dest-highlights__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dest-highlight {
    text-align: left;
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 4px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
  }

  .dest-highlight__icon {
    grid-row: 1 / 3;
    margin: 0;
    align-self: center;
  }

  .dest-highlight__title {
    align-self: end;
  }

  .dest-highlight__desc {
    grid-column: 2;
  }
}

/* ── 17c. Destination Property Grid ─────────────────────── */
.dest-properties {
  padding: clamp(48px, 6vw, 80px) 0;
}

/* Reuses .prop-grid and .property-card from Section 15 */

.dest-properties__cta {
  text-align: center;
  margin-top: clamp(32px, 4vw, 48px);
}

.dest-properties__cta .btn--dark {
  display: inline-block;
  background: #222;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  transition: background 0.3s ease;
}

.dest-properties__cta .btn--dark:hover {
  background: #404040;
}

/* ── 17d. Google Map Embed ──────────────────────────────── */
.dest-map {
  padding: clamp(48px, 6vw, 80px) 0;
  background: #f8f8f8;
}

.dest-map__embed {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.dest-map__embed iframe {
  display: block;
  width: 100%;
  height: 450px;
}

@media (max-width: 768px) {
  .dest-map__embed iframe {
    height: 300px;
  }
}

/* ==========================================================
   18. IPG FOOTER
   Moved to footers.css — scoped under .footer-style-1
   ========================================================== */
   
   /* ── Mobile Floating CTA ─────────────────────────────── */
.prop-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: var(--color-nav, #0d1b2a);
    padding: 12px 16px;
    gap: 10px;
    align-items: center;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.prop-mobile-cta.is-visible {
    transform: translateY(0);
}
.prop-mobile-cta__btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.prop-mobile-cta__btn:active { opacity: 0.8; }
.prop-mobile-cta__btn--primary {
    background: var(--brand-primary, #1e6eb0);
    color: #fff;
}
.prop-mobile-cta__btn--secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
}
@media (max-width: 768px) {
    .prop-mobile-cta { display: flex; }
}

/* ==========================================================
   SOLD Flag — Single Property Banner Overlay
   Clamped scaling so it reads well on mobile through desktop
   ========================================================== */
.prop-gallery__sold-flag {
  position: absolute;
  bottom: clamp(16px, 3vw, 40px);
  left: 0;
  background: #C8102E;
  color: #fff;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 0.05em;
  line-height: 1;
  padding: clamp(10px, 1.5vw, 18px) clamp(24px, 4vw, 48px);
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}