*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif;color:#1a1a2e;background:#fff;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:1240px;margin:0 auto;padding:0 24px}
h1,h2,h3,h4{font-family:'Playfair Display',Georgia,serif;line-height:1.15;color:#0a0e27}
.gold{color:#d4a017}
.btn{display:inline-block;padding:14px 26px;border-radius:8px;font-weight:700;font-size:15px;cursor:pointer;border:none;transition:all .25s;text-align:center;letter-spacing:.3px}
.btn-gold{background:linear-gradient(135deg,#d4a017,#b8860b);color:#fff !important;box-shadow:0 4px 16px rgba(212,160,23,.35)}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(212,160,23,.5)}
.btn-ghost{background:transparent;color:#fff;border:2px solid #fff}
.btn-ghost:hover{background:#fff;color:#0a0e27}
.btn-dark{background:#0a0e27;color:#fff;box-shadow:0 4px 16px rgba(0,0,0,.3);padding:16px 30px;border-radius:8px;font-weight:700;display:inline-block;transition:all .25s}
.btn-dark:hover{background:#1a1f4a;transform:translateY(-2px)}
.btn-lg{padding:17px 32px;font-size:16px}
.btn-xl{padding:20px 40px;font-size:18px}
.topbar{background:#0a0e27;color:#fff;font-size:13px;padding:8px 0}
.topbar-inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.topbar-phone a{color:#d4a017;font-weight:700}
.nav{background:#fff;border-bottom:1px solid #eee;position:sticky;top:0;z-index:100;box-shadow:0 2px 10px rgba(0,0,0,.04)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;gap:20px}
.nav-cta{color:#fff !important}
.logo{display:flex;flex-direction:column;line-height:1}
.logo-m{font-family:'Playfair Display',serif;font-size:28px;font-weight:900;color:#0a0e27}
.logo-sub{font-size:11px;letter-spacing:3px;color:#d4a017;font-weight:700}
.nav-links{display:flex;gap:28px}
.nav-links a{font-weight:600;font-size:14px;color:#333;transition:color .2s}
.nav-links a:hover{color:#d4a017}
.hero{position:relative;min-height:720px;display:flex;align-items:center;overflow:hidden;color:#fff}
.hero-slides{position:absolute;inset:0;z-index:1}
.hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1.2s ease-in-out}
.hero-slide.active{opacity:1}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(10,14,39,.88) 0%,rgba(10,14,39,.65) 50%,rgba(10,14,39,.88) 100%);z-index:2}
.hero-content{position:relative;z-index:3;padding:100px 24px;width:100%}
.hero-badges{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}
.hero-badge{display:inline-block;background:rgba(212,160,23,.15);color:#ffd760;border:1px solid rgba(212,160,23,.5);padding:8px 18px;border-radius:50px;font-size:13px;font-weight:600;letter-spacing:.5px}
.hero-badge.badge-green{background:rgba(76,175,80,.15);color:#81e08a;border-color:rgba(129,224,138,.5)}
.hero h1{font-size:clamp(44px,6vw,82px);font-weight:900;margin-bottom:20px;text-shadow:0 4px 24px rgba(0,0,0,.5);color:#fff}
.hero-sub{font-size:clamp(17px,1.6vw,22px);max-width:640px;margin-bottom:36px;color:#e6e9f2;line-height:1.5}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:50px}
.hero-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;max-width:760px;border-top:1px solid rgba(255,255,255,.15);padding-top:30px}
.hero-trust>div{display:flex;flex-direction:column}
.hero-trust strong{font-size:26px;color:#d4a017;font-weight:800;font-family:'Playfair Display',serif}
.hero-trust span{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#b5b9c9;margin-top:4px}
.hero-dots{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);z-index:4;display:flex;gap:10px}
.hero-dots .dot{width:12px;height:12px;border-radius:50%;border:2px solid #fff;background:transparent;cursor:pointer;transition:all .3s}
.hero-dots .dot.active{background:#d4a017;border-color:#d4a017;width:30px;border-radius:6px}
section{padding:80px 0}
.section-title{font-size:clamp(32px,4vw,48px);text-align:center;margin-bottom:12px}
.section-sub{text-align:center;color:#666;font-size:17px;max-width:720px;margin:0 auto 50px;line-height:1.6}
.deals{background:linear-gradient(180deg,#fafbff,#fff)}
.deals-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:30px}
.deal-card{background:#fff;border:2px solid #eaecf5;border-radius:14px;padding:32px 20px;text-align:center;position:relative;transition:all .3s}
.deal-card:hover{transform:translateY(-6px);border-color:#d4a017;box-shadow:0 12px 32px rgba(212,160,23,.15)}
.deal-card.featured{background:linear-gradient(145deg,#0a0e27,#1a1f4a);color:#fff;border-color:#d4a017;transform:scale(1.04)}
.deal-card.featured .deal-size{color:#d4a017}
.deal-tag{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:#d4a017;color:#fff;padding:5px 16px;border-radius:50px;font-size:11px;font-weight:800;letter-spacing:1px}
.deal-size{font-size:14px;font-weight:700;letter-spacing:3px;color:#666;margin-bottom:10px}
.deal-price{font-family:'Playfair Display',serif;font-size:18px;margin-bottom:4px}
.deal-price strong{font-size:42px;color:#0a0e27;font-weight:900}
.deal-card.featured .deal-price strong{color:#fff}
.deal-retail{font-size:13px;color:#999;margin-bottom:8px}
.deal-retail s{opacity:.75}
.deal-card.featured .deal-retail{color:#b5b9c9}
.deal-note{font-size:13px;color:#777;margin-top:8px}
.deal-card.featured .deal-note{color:#b5b9c9}
.deals-footer{text-align:center;color:#555;margin-top:20px;font-size:15px}
.box-section{background:linear-gradient(135deg,#0a0e27 0%,#1a1f4a 100%);color:#fff;position:relative;overflow:hidden}
.box-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;position:relative;z-index:2}
.box-eyebrow{display:inline-block;color:#d4a017;letter-spacing:3px;font-size:13px;font-weight:700;margin-bottom:16px}
.box-text h2{color:#fff;font-size:clamp(32px,3.5vw,46px);margin-bottom:20px}
.box-lead{font-size:18px;color:#d5d9e9;margin-bottom:24px;line-height:1.6}
.box-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:28px;padding:18px;background:rgba(255,255,255,.05);border:1px solid rgba(212,160,23,.2);border-radius:12px}
.step{display:flex;gap:10px;align-items:flex-start}
.step-num{flex:0 0 32px;height:32px;background:#d4a017;color:#0a0e27;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:15px;font-family:'Playfair Display',serif}
.step strong{color:#ffd760;font-size:14px;display:block}
.step>div{font-size:12px;color:#d5d9e9;line-height:1.4}
.box-benefits{list-style:none;margin-bottom:28px}
.box-benefits li{display:flex;gap:14px;margin-bottom:14px;align-items:flex-start}
.box-benefits .check{flex:0 0 28px;height:28px;background:#d4a017;color:#0a0e27;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:14px}
.box-benefits strong{color:#ffd760;font-size:15px}
.box-benefits div{font-size:14px;color:#d5d9e9;line-height:1.5}
.box-visual{position:relative;height:520px}
.box-img-main{position:absolute;top:0;right:0;width:85%;height:70%;object-fit:cover;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.5);border:3px solid rgba(212,160,23,.3)}
.box-img-sub{position:absolute;bottom:0;left:0;width:65%;height:45%;object-fit:cover;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.5);border:3px solid rgba(212,160,23,.3)}
.showroom{background:#fff}
.showroom-grid{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:200px 200px;gap:16px;margin-bottom:40px}
.showroom-main{grid-row:1/3;background-size:cover;background-position:center;border-radius:12px;min-height:420px}
.showroom-small{background-size:cover;background-position:center;border-radius:12px}
.showroom-info{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;background:#fafbff;border:1px solid #eaecf5;border-radius:14px;padding:30px}
.showroom-info>div{font-size:15px;line-height:1.6}
.showroom-info strong{display:block;color:#0a0e27;font-weight:700;margin-bottom:6px;font-size:16px}
.showroom-info a{color:#0a0e27}
.showroom-info a:hover{color:#d4a017}
.showroom-info .map-link{color:#d4a017;font-weight:700;font-size:13px;margin-top:4px;display:inline-block}
.marquee-section{background:linear-gradient(180deg,#fafbff,#fff);padding-bottom:100px}
.marquee{margin-top:40px;overflow:hidden;position:relative;padding:20px 0}
.marquee-track{display:flex;gap:20px;width:max-content;animation:scrollX 45s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
@keyframes scrollX{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.mq-card{flex:0 0 260px;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 8px 24px rgba(10,14,39,.08);border:1px solid #eaecf5;position:relative;transition:transform .3s}
.mq-card:hover{transform:translateY(-4px)}
.mq-card img{width:100%;height:280px;object-fit:cover}
.mq-tag{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(0deg,rgba(10,14,39,.95) 0%,transparent 100%);color:#ffd760;padding:40px 16px 14px;font-weight:700;font-size:13px;letter-spacing:1px;text-transform:uppercase}
.why{background:#fff}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.why-card{background:linear-gradient(180deg,#fafbff,#fff);border:1px solid #eaecf5;border-radius:14px;padding:32px 26px;transition:all .3s;position:relative}
.why-card:hover{transform:translateY(-4px);border-color:#d4a017;box-shadow:0 12px 32px rgba(10,14,39,.08)}
.why-card:hover h3{color:#d4a017}
.why-icon{font-size:38px;margin-bottom:16px}
.why-card h3{font-size:20px;margin-bottom:10px;font-family:'Inter',sans-serif;font-weight:700;transition:color .2s}
.why-card p{font-size:14px;color:#555;line-height:1.6}
.financing{background:linear-gradient(135deg,#d4a017 0%,#b8860b 100%);color:#fff;padding:90px 0}
.financing h2{color:#fff;font-size:clamp(32px,4vw,48px);margin-bottom:18px}
.financing p{font-size:17px;margin-bottom:28px;opacity:.95;max-width:640px}
.finance-eyebrow{display:inline-block;color:#0a0e27;background:#fff;letter-spacing:2px;font-size:12px;font-weight:800;padding:6px 14px;border-radius:50px;margin-bottom:18px}
.finance-options{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:720px;margin-bottom:32px}
.finance-card{background:rgba(255,255,255,.18);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.3);border-radius:12px;padding:22px}
.finance-card h3{color:#fff;font-size:22px;margin-bottom:8px;font-family:'Inter',sans-serif}
.finance-card p{font-size:14px;margin:0;opacity:.95}
.faq{background:#fafbff}
.faq-grid{max-width:860px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.faq-item{background:#fff;border:1px solid #eaecf5;border-radius:12px;padding:20px 24px;transition:all .25s}
.faq-item[open]{border-color:#d4a017;box-shadow:0 8px 24px rgba(10,14,39,.06)}
.faq-item summary{cursor:pointer;font-weight:700;font-size:17px;color:#0a0e27;list-style:none;display:flex;justify-content:space-between;align-items:center}
.faq-item summary::after{content:'+';font-size:28px;color:#d4a017;font-weight:300;transition:transform .3s}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item p{margin-top:14px;color:#555;font-size:15px;line-height:1.7}
.book-cta{background:linear-gradient(135deg,#0a0e27 0%,#1a1f4a 100%);color:#fff;text-align:center;padding:100px 0}
.book-eyebrow{display:inline-block;color:#81e08a;letter-spacing:2px;font-size:13px;font-weight:700;margin-bottom:14px}
.book-inner h2{color:#fff;font-size:clamp(34px,4vw,52px);margin-bottom:16px}
.book-inner p{font-size:18px;color:#d5d9e9;margin-bottom:36px;max-width:620px;margin-left:auto;margin-right:auto}
.book-buttons{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-bottom:30px}
.book-address{color:#b5b9c9;font-size:14px}
.footer{background:#06091b;color:#b5b9c9;padding:60px 0 30px}
.footer-inner{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px}
.footer .logo-m{color:#fff}
.footer p{font-size:14px;margin-top:12px;line-height:1.6}
.footer h4{color:#fff;font-family:'Inter',sans-serif;font-size:15px;margin-bottom:12px;font-weight:700}
.footer a{color:#d4a017}
.footer-bottom{border-top:1px solid #1a1f4a;padding-top:24px;text-align:center;font-size:13px;color:#6b7089}
.mobile-sticky{display:none;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #eaecf5;padding:10px 14px;gap:10px;z-index:999;box-shadow:0 -4px 20px rgba(0,0,0,.1)}
.ms-btn{flex:1;padding:14px 12px;border-radius:10px;font-weight:700;font-size:15px;text-align:center;transition:all .2s}
.ms-call{background:#0a0e27;color:#fff}
.ms-book{background:linear-gradient(135deg,#d4a017,#b8860b);color:#fff}
.chat-widget{position:fixed;bottom:24px;right:24px;z-index:1000}
.chat-toggle{background:linear-gradient(135deg,#d4a017,#b8860b);color:#fff;border:none;border-radius:50px;padding:16px 24px;font-weight:800;font-size:16px;cursor:pointer;box-shadow:0 8px 28px rgba(212,160,23,.5);display:flex;align-items:center;gap:10px}
.chat-toggle:hover{transform:scale(1.05)}
.chat-box{display:none;position:absolute;bottom:72px;right:0;width:380px;max-width:calc(100vw - 48px);height:560px;max-height:calc(100vh - 120px);background:#fff;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.25);flex-direction:column;overflow:hidden}
.chat-widget.open .chat-box{display:flex}
.chat-widget.open .chat-toggle{display:none}
.chat-header{background:linear-gradient(135deg,#0a0e27,#1a1f4a);color:#fff;padding:18px 20px;display:flex;justify-content:space-between;align-items:center}
.chat-header strong{display:block;font-size:16px}
.chat-header span{font-size:12px;color:#b5b9c9}
.chat-header button{background:transparent;color:#fff;border:none;font-size:20px;cursor:pointer;opacity:.7}
.chat-messages{flex:1;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:12px;background:#fafbff}
.chat-msg{max-width:82%;padding:12px 16px;border-radius:16px;font-size:14px;line-height:1.5}
.chat-msg.bot{background:#fff;color:#0a0e27;border:1px solid #eaecf5;align-self:flex-start;border-bottom-left-radius:4px}
.chat-msg.user{background:linear-gradient(135deg,#0a0e27,#1a1f4a);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.chat-quick{padding:0 18px 10px;display:flex;flex-wrap:wrap;gap:6px;background:#fafbff}
.chat-quick button{background:#fff;border:1px solid #d4a017;color:#0a0e27;padding:8px 14px;border-radius:50px;font-size:13px;cursor:pointer;font-weight:600}
.chat-quick button:hover{background:#d4a017;color:#fff}
.chat-input-row{display:flex;border-top:1px solid #eaecf5;padding:12px;gap:8px;background:#fff}
.chat-input-row input{flex:1;border:1px solid #eaecf5;border-radius:10px;padding:10px 14px;font-size:14px;font-family:inherit;outline:none}
.chat-input-row input:focus{border-color:#d4a017}
.chat-input-row button{background:#0a0e27;color:#fff;border:none;border-radius:10px;padding:10px 18px;font-weight:700;cursor:pointer;font-size:14px}
@media (max-width:900px){
.nav-links{display:none}
.nav-cta{padding:10px 16px;font-size:13px}
.hero{min-height:620px}
.hero-content{padding:70px 24px 120px}
.hero-trust{grid-template-columns:repeat(2,1fr);gap:18px}
.box-grid{grid-template-columns:1fr;gap:40px}
.box-visual{height:380px}
.box-steps{grid-template-columns:1fr;gap:10px}
.showroom-grid{grid-template-columns:1fr;grid-template-rows:auto}
.showroom-main{min-height:260px;grid-row:auto}
.showroom-small{min-height:180px}
.showroom-info{grid-template-columns:1fr}
.deals-grid{grid-template-columns:repeat(2,1fr)}
.deal-card.featured{transform:none}
.why-grid{grid-template-columns:1fr}
.finance-options{grid-template-columns:1fr}
.footer-inner{grid-template-columns:1fr 1fr;gap:24px}
.mobile-sticky{display:flex}
body{padding-bottom:80px}
.chat-widget{bottom:84px;right:14px}
.chat-toggle{padding:12px 18px;font-size:14px}
.chat-box{width:calc(100vw - 24px);right:-12px;bottom:68px;height:calc(100vh - 180px)}
}
@media (max-width:520px){
.deals-grid{grid-template-columns:1fr}
.footer-inner{grid-template-columns:1fr}
.hero-ctas{flex-direction:column}
.hero-ctas .btn{width:100%}
.book-buttons{flex-direction:column}
.book-buttons .btn{width:100%}
}


/* === MOBILE OPTIMIZATION PASS v2 === */
/* Real phone-first design: compact chat pill, thumb targets, clean hero */

@media (max-width: 768px) {
  input, textarea, select { font-size: 16px !important; }
  .hero { padding: 28px 16px 80px !important; min-height: auto !important; }
  .hero h1, .hero-title, h1 {
    font-size: 38px !important; line-height: 1.05 !important;
    letter-spacing: -0.5px !important; margin-bottom: 12px !important;
  }
  .hero p, .hero-sub { font-size: 15px !important; line-height: 1.4 !important; margin-bottom: 20px !important; }
  .btn, button.btn, a.btn { min-height: 52px; padding: 14px 22px !important; font-size: 16px !important; border-radius: 12px !important; }
  .hero-cta, .hero-ctas { display: flex; flex-direction: column; gap: 10px; }
  .hero-cta > *, .hero-ctas > * { width: 100%; }
  .topbar, .top-bar { font-size: 11px !important; padding: 6px 10px !important; }
  nav .nav-links, header .nav-links, .nav-links { display: none !important; }
  .nav, header.nav, .site-header { padding: 10px 14px !important; }
  .deals-grid, .deal-grid, .why-grid, .finance-options, .showroom-grid {
    grid-template-columns: 1fr !important; gap: 14px !important;
  }
  .deal-card, .why-card, .finance-card { padding: 18px !important; }
  .deal-price, .price { font-size: 30px !important; }
  .section-title, section h2 { font-size: 26px !important; line-height: 1.15 !important; margin-bottom: 16px !important; }
  section { padding: 40px 16px !important; }
  .faq-item summary { padding: 16px !important; font-size: 16px !important; min-height: 52px; display: flex; align-items: center; }

  .chat-widget {
    position: fixed !important;
    bottom: 16px !important; right: 16px !important;
    left: auto !important; width: auto !important;
    z-index: 1000;
  }
  .chat-widget:not(.open) .chat-toggle {
    padding: 14px 20px !important; font-size: 15px !important;
    border-radius: 28px !important;
    box-shadow: 0 8px 24px rgba(212,160,23,0.45), 0 2px 6px rgba(0,0,0,0.15) !important;
    gap: 8px !important; max-width: calc(100vw - 32px);
  }
  .chat-widget.open { bottom: 0 !important; right: 0 !important; left: 0 !important; width: 100% !important; }
  .chat-widget.open .chat-box {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100vw !important; max-width: 100vw !important;
    height: 100vh !important; height: 100dvh !important;
    max-height: 100vh !important; max-height: 100dvh !important;
    border-radius: 0 !important;
    z-index: 9999 !important;
    display: flex !important; flex-direction: column !important;
  }
  .chat-header { padding: 14px 16px !important; font-size: 16px !important; }
  .chat-messages { flex: 1 !important; padding: 14px !important; font-size: 15px !important; overflow-y: auto !important; }
  .chat-input-row, .chat-footer, .chat-form { padding: 10px !important; gap: 8px !important; }
  .chat-input-row input, .chat-input, #chatInput {
    padding: 14px 16px !important; min-height: 48px; border-radius: 12px !important;
  }
  .chat-send, #chatSend {
    min-height: 48px; padding: 12px 20px !important; font-size: 15px !important; border-radius: 12px !important;
  }
  .chat-quick, .quick-replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 10px; }
  .chat-quick button, .quick-replies button, .quick-reply {
    min-height: 44px; padding: 10px 14px !important; font-size: 13px !important;
    border-radius: 22px !important; flex: 1 1 calc(50% - 4px); white-space: normal;
  }
  .mobile-sticky { display: none !important; }
}

@media (max-width: 380px) {
  .hero h1, .hero-title, h1 { font-size: 32px !important; }
  .section-title, section h2 { font-size: 22px !important; }
  .chat-widget:not(.open) .chat-toggle { font-size: 14px !important; padding: 12px 16px !important; }
}

@supports (padding: env(safe-area-inset-bottom)) {
  @media (max-width: 768px) {
    .chat-widget:not(.open) { bottom: calc(16px + env(safe-area-inset-bottom)) !important; }
  }
}




/* ===== MOBILE CHAT v5 - FULL SCREEN + THUMB FRIENDLY ===== */
@media (max-width: 768px) {
  #chatWidget.open {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100% !important; height: 100% !important;
    border-radius: 0 !important; z-index: 9999 !important;
  }
  #chatWidget.open #chatBox {
    width: 100% !important; height: 100% !important;
    border-radius: 0 !important; display: flex; flex-direction: column;
    max-height: 100dvh !important;
  }
  #chatWidget.open .chat-header, #chatWidget.open #chatHeader {
    border-radius: 0 !important; padding: 14px 18px !important; flex-shrink: 0;
  }
  #chatMessages {
    flex: 1 1 auto !important; overflow-y: auto !important;
    padding: 14px !important; -webkit-overflow-scrolling: touch;
  }
  #chatQuickReplies {
    display: flex !important; flex-wrap: wrap !important;
    gap: 8px !important; padding: 8px 14px !important; flex-shrink: 0;
  }
  .chat-quick-btn {
    min-height: 44px !important; padding: 10px 14px !important;
    font-size: 14px !important; border-radius: 22px !important;
    flex: 1 1 calc(50% - 8px) !important; white-space: normal !important; line-height: 1.3 !important;
  }
  #chatInput {
    flex: 1 !important; min-height: 48px !important; font-size: 16px !important;
    border-radius: 24px !important; padding: 12px 16px !important; border: 1px solid #ddd !important;
  }
  #chatSend {
    min-height: 48px !important; min-width: 68px !important;
    padding: 12px 16px !important; font-size: 15px !important;
    border-radius: 24px !important; flex-shrink: 0;
  }
  .chat-bubble {
    font-size: 15px !important; line-height: 1.5 !important;
    max-width: 88% !important; padding: 11px 15px !important;
  }
  #chatToggle {
    position: fixed !important; bottom: 18px !important; right: 14px !important;
    border-radius: 50px !important; padding: 13px 20px !important;
    font-size: 15px !important; font-weight: 700 !important;
    z-index: 1000 !important; box-shadow: 0 4px 20px rgba(0,0,0,0.25) !important;
  }
  #chatWidget.open #chatToggle { display: none !important; }
}


/* ===== MOBILE CHAT v6 — BOTTOM SHEET (75% height, site still visible) ===== */
@media (max-width: 768px) {
  /* Toggle button — stays as floating pill */
  #chatToggle {
    position: fixed !important;
    bottom: 18px !important;
    right: 14px !important;
    border-radius: 50px !important;
    padding: 13px 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    z-index: 1001 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.28) !important;
  }

  /* When open — widget becomes a bottom-sheet overlay */
  #chatWidget.open {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    z-index: 9999 !important;
    background: transparent !important;
  }

  /* Dark backdrop behind the sheet */
  #chatWidget.open::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: -1;
    animation: fadeIn 0.2s ease;
  }

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

  /* Chat box — slides up as bottom sheet */
  #chatWidget.open #chatBox {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 75vh !important;
    max-height: 75vh !important;
    border-radius: 20px 20px 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    animation: slideUp 0.25s ease;
    z-index: 9999 !important;
  }

  @keyframes slideUp {
    from { transform: translateY(100%); opacity: 0.5; }
    to   { transform: translateY(0);    opacity: 1;   }
  }

  /* Hide toggle button when sheet is open */
  #chatWidget.open #chatToggle {
    display: none !important;
  }

  /* Header */
  #chatWidget.open #chatHeader,
  #chatWidget.open .chat-header {
    border-radius: 20px 20px 0 0 !important;
    padding: 14px 18px !important;
    flex-shrink: 0;
  }

  /* Messages area — scrollable */
  #chatMessages {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 14px !important;
  }

  /* Quick reply buttons — thumb friendly */
  #chatQuickReplies {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    flex-shrink: 0;
    max-height: 140px;
    overflow-y: auto;
  }

  .chat-quick-btn {
    min-height: 40px !important;
    padding: 9px 14px !important;
    font-size: 13px !important;
    border-radius: 20px !important;
    flex: 1 1 calc(50% - 8px) !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    text-align: center;
  }

  /* Input row */
  .chat-input-row {
    padding: 10px 12px !important;
    flex-shrink: 0;
  }

  #chatInput {
    flex: 1 !important;
    min-height: 44px !important;
    font-size: 16px !important;
    border-radius: 22px !important;
    padding: 11px 16px !important;
  }

  #chatSend {
    min-height: 44px !important;
    min-width: 60px !important;
    padding: 11px 16px !important;
    font-size: 15px !important;
    border-radius: 22px !important;
  }

  /* Bubble sizing */
  .chat-bubble {
    font-size: 14px !important;
    line-height: 1.5 !important;
    max-width: 90% !important;
  }

  /* Prevent iOS zoom on input */
  input, textarea, select {
    font-size: 16px !important;
  }
}
