/* TEMART GO — MOBILE RESPONSIVE FINAL
   Desktop is untouched: all rules are inside max-width media queries. */

@media (max-width: 991.98px){
    html, body{overflow-x:hidden}
    img{max-width:100%;height:auto}
    .container,.container-fluid{max-width:100%}

    .navbar .container,.navbar .container-fluid{padding-left:16px;padding-right:16px}
    .navbar-brand{max-width:70%}
    .navbar-brand img{max-height:44px;width:auto}
    .navbar-collapse{padding-top:12px;padding-bottom:12px}
    .navbar-nav{gap:4px}
    .navbar-nav .nav-link{padding:10px 8px!important}
    .navbar .btn-temart{width:100%;justify-content:center;margin-top:8px}

    .temart-home-slide-grid{
        grid-template-columns:1fr!important;
        min-height:auto!important;
        gap:26px!important;
        padding-left:22px!important;
        padding-right:22px!important
    }
    .temart-home-copy{max-width:none!important;text-align:center}
    .temart-home-copy h1,.temart-home-copy h2,.temart-home-copy p{margin-left:auto;margin-right:auto}
    .temart-home-kicker,.temart-home-actions,.temart-home-points{justify-content:center}
    .temart-home-photo{width:100%;max-width:760px;margin:0 auto}
    .temart-home-photo img{height:300px!important;object-fit:cover}
    .service-mode-switch{width:calc(100% - 24px);max-width:760px;margin-left:auto!important;margin-right:auto!important}

    #homeDurationCards,#homeRoomCards{row-gap:16px!important}
    .home-duration-card{min-height:230px}

    .service-hero-inner{
        grid-template-columns:1fr!important;
        min-height:auto!important;
        gap:28px!important;
        padding-left:18px!important;
        padding-right:18px!important
    }
    .service-hero-image{max-width:760px;width:100%;margin:0 auto}
    .service-hero-image img{height:310px!important}
    .service-intro{grid-template-columns:1fr!important}
    .service-features{grid-template-columns:repeat(2,minmax(0,1fr))!important}

    .guaranteed-hero-inner{grid-template-columns:1fr!important;min-height:auto!important}
    .guaranteed-hero-visual-wrap{max-width:none!important}
    .guaranteed-hero-visual img{height:320px!important}
    .include-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}

    .hourly-hero-inner{grid-template-columns:1fr!important;min-height:auto!important}
    .hourly-hero-visual-wrap{max-width:none!important}
    .hourly-hero-visual img{height:320px!important}
    .room-grid{grid-template-columns:1fr!important}
    .other-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}

    .account-layout,.account-grid,.profile-grid{grid-template-columns:1fr!important}

    .admin-shell{grid-template-columns:1fr!important}
    .admin-sidebar{position:static!important;height:auto!important;min-height:auto!important}
    .admin-nav{display:flex!important;overflow-x:auto;gap:6px;padding-bottom:4px;scrollbar-width:thin}
    .admin-nav a{flex:0 0 auto;white-space:nowrap}
    .admin-topbar{position:static!important}
    .admin-content{padding:18px!important}
    .metric-card{min-height:120px}
}

@media (max-width: 767.98px){
    body{font-size:15px}
    .section-pad{padding-top:48px!important;padding-bottom:48px!important}
    h1,.h1{overflow-wrap:anywhere}
    .btn{min-height:44px}

    .navbar-brand{display:flex;align-items:center;gap:8px;font-size:1.05rem!important}
    .navbar-brand img{max-height:38px}

    .temart-home-slider{margin-bottom:14px!important}
    .temart-home-slide{min-height:auto!important}
    .temart-home-slide-grid{padding:28px 14px 34px!important;gap:22px!important}
    .temart-home-copy h1,.temart-home-copy h2{
        font-size:clamp(2rem,9vw,2.75rem)!important;
        line-height:1.04!important;
        letter-spacing:-.035em!important
    }
    .temart-home-copy p{font-size:.95rem!important;line-height:1.55!important}
    .temart-home-actions{
        flex-direction:column!important;
        align-items:stretch!important;
        max-width:430px;
        margin-left:auto!important;
        margin-right:auto!important
    }
    .temart-home-actions .btn{width:100%!important}
    .temart-home-points{gap:9px 13px!important;font-size:.82rem!important}
    .temart-home-photo{padding:7px!important;border-radius:19px!important}
    .temart-home-photo img{height:220px!important;border-radius:13px!important}
    .temart-home-arrow{display:none!important}

    .service-mode-switch{
        width:calc(100% - 20px)!important;
        grid-template-columns:1fr!important;
        gap:6px!important;
        padding:6px!important;
        border-radius:15px!important
    }
    .service-mode-btn{min-height:48px;padding:12px 10px!important;font-size:.9rem!important;line-height:1.25}

    #homeDurationCards>[class*="col-"],#homeRoomCards>[class*="col-"]{padding-left:6px;padding-right:6px}
    .home-duration-card{min-height:205px!important;border-radius:14px!important}
    .home-duration-head{padding:11px 6px!important;font-size:.95rem!important}
    .home-duration-body{padding:17px 8px 14px!important}
    .home-price{font-size:1.18rem!important}
    .home-price-sub{font-size:.82rem!important}
    .home-select-circle{margin:14px 0 10px!important;font-size:1.65rem!important}
    .home-duration-note{min-height:34px!important;font-size:.76rem!important;line-height:1.3}
    .direct-info{padding:13px 12px!important;font-size:.88rem;line-height:1.45}

    .home-room-card{min-height:158px!important;padding:18px 8px 14px!important}
    .home-room-card .room-type{font-size:1.3rem!important;margin-bottom:10px!important}
    .home-room-card .room-price{font-size:1.05rem!important}
    .room-guarantee-copy{padding:17px 16px!important}
    .room-guarantee-copy h2{font-size:1.25rem!important}

    .service-card{padding:20px!important}

    .service-hero-inner{padding:34px 14px 48px!important;gap:22px!important}
    .service-hero h1{font-size:clamp(2.15rem,10vw,3rem)!important}
    .service-hero-copy{font-size:.96rem!important}
    .service-benefits{gap:10px 14px!important}
    .service-benefit{font-size:.82rem!important}
    .service-hero-image{padding:7px!important;border-radius:20px!important}
    .service-hero-image img{height:235px!important;border-radius:14px!important}
    .service-content{padding:42px 0 54px!important}
    .service-copy-box,.scope-box{padding:22px 18px!important;border-radius:18px!important}
    .service-room-grid{grid-template-columns:1fr!important;gap:18px!important}
    .service-room-image{height:220px!important}
    .service-room-copy{padding:20px 18px!important}
    .service-features{grid-template-columns:1fr!important;gap:14px!important}
    .service-feature{padding:19px!important}
    .service-actions .btn{width:100%;max-width:430px}

    .guaranteed-hero-inner{padding:34px 14px 48px!important;gap:22px}
    .guaranteed-hero h1{font-size:clamp(2.15rem,10vw,2.9rem)!important}
    .guaranteed-hero-copy{font-size:.96rem!important}
    .guaranteed-hero-visual-wrap{padding:7px!important;border-radius:20px!important}
    .guaranteed-hero-visual img{height:235px!important;border-radius:14px!important}
    .guaranteed-content{padding:42px 0 54px!important}
    .include-grid{grid-template-columns:1fr!important;gap:16px!important}
    .include-card-top{padding:21px 18px 16px!important}
    .include-card p{min-height:unset!important}
    .include-photo{height:190px!important}
    .guaranteed-note{padding:16px!important;gap:11px!important}

    .support-actions{flex-direction:column;align-items:stretch}
    .support-actions .btn{width:100%}

    .hourly-hero-inner{padding:34px 14px 48px!important;gap:22px}
    .hourly-hero h1{font-size:clamp(2.15rem,10vw,2.9rem)!important}
    .hourly-hero-visual-wrap{padding:7px!important;border-radius:20px!important}
    .hourly-hero-visual img{height:235px!important;border-radius:14px!important}
    .hourly-content{padding:42px 0 54px!important}
    .room-card,.room-card.reverse{grid-template-columns:1fr!important;min-height:auto!important}
    .room-card.reverse .room-image,.room-card.reverse .room-copy{order:initial!important}
    .room-image,.room-image img{height:220px!important;min-height:220px!important}
    .room-copy{padding:21px 18px!important}
    .other-services{padding:21px 16px!important}
    .other-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
    .other-item{padding:15px 8px!important;font-size:.83rem}
    .hourly-note{padding:16px!important;gap:11px!important}

    .accordion-button{padding:15px 14px!important;font-size:.92rem!important}
    .accordion-body{padding:14px!important;font-size:.9rem;line-height:1.55}

    .cta-dark{padding:27px 20px!important;border-radius:22px!important;text-align:center}
    .cta-dark .btn{width:100%}

    .modal-dialog{margin:8px!important;max-width:calc(100% - 16px)!important}
    .modal-content{border-radius:18px!important}
    .modal-header{padding:16px!important}
    .modal-body{padding:16px!important}
    .modal-footer{padding:14px 16px!important;gap:8px;flex-wrap:wrap}
    .modal-footer .btn{flex:1 1 140px}
    .reservation-summary,.reservation-sidebar,.summary-box{position:static!important;width:100%!important}
    .reservation-grid,.reservation-step-grid{grid-template-columns:1fr!important}

    .form-control,.form-select{min-height:46px;font-size:16px!important}
    textarea.form-control{min-height:110px}

    .account-card,.profile-card,.address-card{border-radius:18px!important;padding:18px!important}
    .account-actions,.address-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
    .account-actions .btn,.address-actions .btn,.address-actions form,.address-actions form .btn{width:100%!important}

    .table-responsive{-webkit-overflow-scrolling:touch}
    .table{min-width:680px}

    .admin-sidebar{padding:14px 12px!important}
    .admin-brand{padding-bottom:14px!important}
    .admin-brand img{width:44px!important;height:44px!important}
    .admin-nav{margin-left:-4px;margin-right:-4px}
    .admin-nav a{padding:10px 11px!important;font-size:.86rem}
    .admin-topbar{min-height:auto!important;padding:13px 14px!important;gap:10px;flex-wrap:wrap}
    .admin-topbar>div{flex-wrap:wrap}
    .admin-content{padding:14px!important}
    .metric-card{padding:16px!important;min-height:105px!important}
    .metric-value{font-size:1.55rem!important}
    .panel{padding:16px!important;border-radius:16px!important}
    .admin-table{min-width:760px}
}

@media (max-width: 430px){
    .container{padding-left:14px!important;padding-right:14px!important}
    .temart-home-slide-grid{padding-left:10px!important;padding-right:10px!important}
    .temart-home-copy h1,.temart-home-copy h2{font-size:2.05rem!important}
    .temart-home-photo img{height:190px!important}
    .temart-home-points{justify-content:flex-start!important;max-width:330px;margin-left:auto;margin-right:auto}
    .home-duration-note{font-size:.72rem!important}
    .service-hero-image img,.guaranteed-hero-visual img,.hourly-hero-visual img{height:205px!important}
    .room-image,.room-image img,.service-room-image{height:200px!important;min-height:200px!important}
    .other-grid{grid-template-columns:1fr 1fr!important}
}
