/* ═══════════════════════════════════════════════
   INTERIORSAHIHAI — MOBILE CSS
   Loaded separately, index.php untouched.
   Breakpoints: 900px tablet / 600px mobile / 400px small phone
═══════════════════════════════════════════════ */

@media (max-width: 900px) {
  .nav-inner { padding: 0 16px; }
  .nav-logo { font-size: 18px; }
  .nav-search { max-width: 220px; }
  .hero { padding: 80px 20px 48px; }
  .consult-strip-inner { flex-direction: column; gap: 16px; padding: 24px 20px; }
  .cs-left { text-align: center; }
  .cs-services { flex-direction: column; border-radius: 8px; }
  .cs-divider { width: 100%; height: 1px; }
  .cs-card { padding: 16px 20px; flex-direction: row; justify-content: space-between; align-items: center; }
  .dual-cta { grid-template-columns: 1fr; }
  .dcta-panel { padding: 48px 32px; }
  .sp-hero { padding: 72px 20px 48px; }
  .sp-meta { gap: 24px; }
  .sp-body { padding: 48px 20px; }
  .sp-signoff { padding: 48px 20px; }
}

@media (max-width: 600px) {

  /* NAV */
  .nav-inner { padding: 0 16px; }
  .nav-logo { font-size: 16px; }
  .nav-search { display: none; }
  .nav-story-label { font-size: 10px; }

  /* HERO */
  .hero { padding: 72px 16px 40px; min-height: unset; }
  .hero-title { font-size: clamp(28px, 8vw, 44px); }
  .hero-sub { font-size: 13px; margin-bottom: 24px; }
  .hero-eyebrow { font-size: 9px; letter-spacing: 2px; }
  .hero-tagline { font-size: 12px; }
  .hero-search { grid-template-columns: 1fr; gap: 0; }
  .hs-field { border-right: none; border-bottom: 1px solid var(--border); padding: 10px 14px; }
  .hs-field:last-of-type { border-bottom: none; }
  .hs-btn { grid-column: 1/-1; border-radius: 0 0 8px 8px; padding: 14px; }
  .hero-room-pills { display: none; }

  /* TRUST BAR */
  .trust-bar { flex-direction: column; gap: 12px; padding: 20px 16px; text-align: center; }

  /* CONSULTATION STRIP */
  .cs-icon { font-size: 20px; }
  .cs-title { font-size: 14px; }
  .cs-price { font-size: 20px; }
  .cs-sub { font-size: 11px; }

  /* LISTING */
  .listing-area { padding: 0 16px 40px; }
  .listing-top { flex-direction: column; gap: 10px; align-items: flex-start; }
  .active-filters { flex-wrap: wrap; gap: 6px; }

  /* FILTER BUTTON — brand-aligned */
  .mobile-filter-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #A47864;
    border-radius: 4px;
    padding: 10px 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #A47864;
    cursor: pointer;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    transition: background 0.2s, color 0.2s;
  }
  .mobile-filter-btn:hover {
    background: #A47864;
    color: #fff;
  }

  /* SIDEBAR — slide-in panel */
  .sidebar {
    display: none;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 85vw; max-width: 320px;
    height: 100dvh;
    z-index: 400;
    background: #fff;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 80px;
    box-shadow: 4px 0 32px rgba(13,13,13,0.18);
    overscroll-behavior: contain;
    touch-action: pan-y;
  }
  .sidebar.mobile-open { display: block !important; }

  /* CLOSE BUTTON inside sidebar */
  .sidebar-close-btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #EDE0D9;
    margin-bottom: 0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }
  .sidebar-close-btn span {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #52352A;
    letter-spacing: 0.3px;
  }
  .sidebar-close-btn button {
    background: none;
    border: none;
    font-size: 22px;
    color: #A47864;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
  }

  /* Sidebar content padding when open */
  .sidebar.mobile-open .sb-section { padding: 16px 20px; }
  .sidebar.mobile-open .sb-head { padding: 16px 20px; }
  .sidebar.mobile-open .sb-options { overflow: visible; }
  .sidebar.mobile-open .sb-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    touch-action: manipulation;
  }
  .sidebar.mobile-open .sb-opt input {
    flex: 0 0 auto;
  }
  .sidebar.mobile-open .sb-opt span {
    display: inline-block;
    font-size: 14px;
    color: #52352A;
  }

  /* DARK OVERLAY */
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,13,13,0.5);
    z-index: 399;
    touch-action: none;
  }
  .sidebar-overlay.mobile-open { display: block !important; }

  /* DESIGNER CARDS */
  .dcard { grid-template-columns: 1fr; }
  .dcard-img { height: 200px; border-radius: 10px 10px 0 0; }
  .dcard-body { padding: 16px; }
  .dcard-name { font-size: 20px; }
  .dcard-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .dcard-right {
    display: flex; flex-direction: row;
    align-items: center; justify-content: space-between;
    border-left: none; border-top: 1px solid #EDE0D9;
    padding: 14px 16px; min-width: unset; width: 100%;
  }
  .dc-price { font-size: 22px; }
  .dcard-actions { flex-direction: row; gap: 8px; }
  .dc-btn-fill, .dc-btn-ghost { padding: 8px 14px; font-size: 12px; }

  /* MODAL */
  .modal { width: 95vw; max-width: 95vw; padding: 24px 18px; }
  .frow { grid-template-columns: 1fr; gap: 10px; }
  .modal h2 { font-size: 22px; }
  .modal p { font-size: 13px; }

  /* INSPIRATION */
  .inspo-head { flex-direction: column; align-items: center; gap: 16px; }
  .inspo-filters { flex-wrap: wrap; gap: 6px; justify-content: center; }
  .inspo-filter { font-size: 11px; padding: 5px 12px; }

  /* TESTIMONIALS */
  .tgrid { grid-template-columns: 1fr; gap: 16px; }
  .testimonials-section { padding: 48px 16px; }
  .tcard { padding: 20px; }
  .ttext { font-size: 13px; }

  /* HOME MAKER STRIP */
  .hm-cta-inner { flex-direction: column; gap: 16px; padding: 20px 16px; text-align: center; }
  .hm-cta-btn { width: 100%; text-align: center; }

  /* DUAL CTA */
  .dcta-panel { padding: 40px 20px; }
  .dcta-title { font-size: clamp(26px, 7vw, 38px); }
  .dcta-body { font-size: 13px; }
  .btn-mocha, .btn-peach { width: 100%; text-align: center; padding: 14px 20px; }

  /* FOOTER */
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .ft-logo { font-size: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  footer { padding: 40px 20px 28px; }

  /* OUR STORY — full mobile treatment */
  .sp-page { min-height: 100vh; }
  .sp-hero {
    padding: 64px 16px 40px !important;
    display: block !important;
  }
  .sp-hero-inner { max-width: 100% !important; }
  .sp-hero-title {
    font-size: clamp(32px, 9vw, 52px) !important;
    margin-bottom: 24px !important;
  }
  .sp-eyebrow { margin-bottom: 12px !important; }
  .sp-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding-top: 20px !important;
  }
  .sp-meta-item strong { font-size: 22px; }
  .sp-meta-item span { font-size: 11px; }

  .sp-loss { padding: 40px 16px; }
  .sp-loss-num { font-size: clamp(64px, 20vw, 110px); }
  .sp-loss-label { font-size: 16px; }
  .sp-loss-text { font-size: 14px; }

  .sp-body {
    padding: 40px 16px !important;
    max-width: 100% !important;
  }
  .sp-chapter-title { font-size: clamp(24px, 6vw, 36px) !important; }
  .sp-text { font-size: 14px !important; margin-bottom: 28px !important; }
  .sp-pullquote {
    font-size: clamp(16px, 4vw, 20px) !important;
    padding-left: 16px !important;
    margin: 24px 0 !important;
  }

  .sp-signoff { padding: 40px 16px !important; }
  .sp-signoff-quote { font-size: clamp(20px, 5vw, 30px) !important; }
  .sp-signoff-by { font-size: 12px !important; }
  .sp-signoff-cta { font-size: 13px !important; }
  .sp-back { padding: 20px 16px !important; }

  /* SECTION HEADINGS */
  .sec-title-sm { font-size: clamp(22px, 6vw, 32px); }
  .sec-eyebrow { font-size: 9px; letter-spacing: 1.5px; }

}

/* HIDE mobile-only elements on desktop */
@media (min-width: 601px) {
  .mobile-filter-btn { display: none !important; }
  .sidebar-overlay { display: none !important; }
  .sidebar-close-btn { display: none !important; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 26px; }
  .dcard-actions { flex-direction: column; }
  .dc-btn-fill, .dc-btn-ghost { width: 100%; }
  .dcta-title { font-size: 24px; }
  .sp-hero-title { font-size: 28px !important; }
  .modal { padding: 20px 14px; }
  .sp-loss-num { font-size: 60px; }
}
