/* Minisiti Local Ambassador / Property Manager: layout mobile (mockup "Template Agenzia - Short Rent").
   Gli stili base sono inline nelle pagine: qui servono !important. Il desktop non cambia. */
.pm-burger,.pm-close,.pm-bar,.pm-crumb,.pm-hint{display:none}
@media(max-width:700px){
html,body{overflow-x:hidden}
body{font-size:14px;line-height:1.55}
body.pm-open{overflow:hidden}

/* header + menu a tutto schermo */
.pm-hd{position:sticky!important;top:0;z-index:10!important}
.pm-hd>div{flex-wrap:nowrap!important;padding:10px 16px!important;gap:12px!important}
.pm-brand{flex-direction:column!important;align-items:flex-start!important;gap:3px!important;min-width:0}
.pm-brand img{height:30px!important}
.pm-brand>span:nth-child(2){display:none!important}
.pm-brand>a:nth-child(3){min-width:0}
.pm-brand>a:nth-child(3) span:first-child{font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:62vw}
.pm-brand>a:nth-child(3) span:last-child{display:none!important}
.pm-burger,.pm-close{width:44px;height:44px;flex-shrink:0;border:1px solid rgba(201,165,94,.6);border-radius:4px;background:transparent;color:#C9A55E;align-items:center;justify-content:center;cursor:pointer;padding:0}
.pm-burger{display:flex}
.pm-nav{display:none!important}
body.pm-open .pm-nav{display:flex!important;position:fixed;inset:0;z-index:50;background:#183649;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:0!important;padding:16px 20px 32px;overflow:auto}
.pm-close{display:flex;align-self:flex-end;margin-bottom:12px}
.pm-nav>a{display:flex!important;align-items:center;justify-content:space-between;min-height:56px;border-bottom:1px solid rgba(185,195,203,.2);font-family:'Quincy CF',Georgia,serif;font-size:24px!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important}
.pm-nav>a::after{content:"\203A";color:#C9A55E;font-size:26px}
.pm-nav>span{margin-top:24px;gap:8px!important}
.pm-nav>span a{min-width:44px;min-height:40px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(185,195,203,.4);border-radius:4px;font-size:12px;font-weight:700}

/* hero */
.pm-hero{height:560px;min-height:0!important}
.pm-hero-ov{background:linear-gradient(180deg,rgba(15,37,51,.10) 0%,rgba(15,37,51,.35) 40%,rgba(15,37,51,.88) 100%)!important}
.pm-hero-in{padding:0 20px 96px!important}
.pm-hero-in>div:first-child{gap:12px!important}
.pm-hero-h{font-size:40px!important;line-height:1.05!important}
.pm-hero-d{font-size:14px!important;line-height:1.6!important;display:-webkit-box!important;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.pm-hero-btns{flex-direction:column;flex-wrap:nowrap!important;gap:10px!important}
.pm-hero-btns a{justify-content:center;min-height:50px!important;padding:0 16px!important;font-size:12px!important}

/* ricerca */
.pm-search{margin:-64px 0 0!important;padding:0 16px!important}
.pm-search form{padding:20px 18px!important;gap:12px!important}
.pm-sgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.pm-sgrid>button,.pm-sgrid>label:has(input[type=text]){grid-column:1/-1}
.pm-sgrid select,.pm-sgrid input{height:46px!important;font-size:14px!important}
.pm-sgrid button{height:50px!important;font-size:12px!important}

/* in evidenza: carosello */
#soggiorni{background:transparent!important;padding:48px 0 40px!important}
#soggiorni>div{gap:22px!important}
.pm-feat{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px!important;margin:0 -16px;padding:4px 16px 16px;-webkit-overflow-scrolling:touch}
.pm-feat>article{flex:0 0 300px;scroll-snap-align:center}
.pm-feat>article>div:first-child{height:190px!important}
.pm-hint{display:block;margin:0;text-align:center;font-size:12px;color:#5B6670}

/* banner proprietari */
.pm-own{padding:0 16px 40px!important}
.pm-own>div{flex-direction:column;flex-wrap:nowrap!important}
.pm-own>div>div:first-child{flex:none!important;height:180px;min-height:0!important}
.pm-own>div>div:last-child{flex:none!important;padding:22px 20px 24px!important;gap:12px!important}
.pm-own h2{line-height:1.25!important}
.pm-own a{display:flex!important;flex:1 1 100%;justify-content:center;min-height:50px!important}

/* catalogo: scheda agenzia, filtri a chip, elenco compatto */
.pm-cat{padding:0 0 8px!important}
.pm-cat>div{flex-direction:column;flex-wrap:nowrap!important;gap:0!important;align-items:stretch!important}
.pm-cat aside,.pm-list{display:contents!important}
.pm-agency{order:1;margin:0 16px 40px}
.pm-lhead{order:2;padding:0 20px;margin-bottom:6px;flex-direction:column;align-items:flex-start!important;gap:4px!important}
.pm-facet{order:3;margin-bottom:14px;gap:8px!important}
.pm-facet h3{font-family:inherit!important;font-size:10px!important;letter-spacing:.16em;text-transform:uppercase;color:#5B6670!important;padding:0 20px}
.pm-facet ul{display:flex!important;gap:8px;overflow-x:auto;padding:0 20px 4px!important;background:transparent!important;box-shadow:none!important;border-radius:0!important}
.pm-facet li{flex:0 0 auto;border:1px solid #D8D3C7!important;border-radius:30px;background:#fff}
.pm-facet li a{min-height:40px!important;padding:0 8px 0 14px!important;gap:8px;font-size:13px!important;white-space:nowrap}
.pm-card{order:4;margin:14px 16px 0;flex-wrap:nowrap!important}
.pm-card>div:first-child{flex:0 0 124px!important;max-width:none!important;min-height:140px!important}
.pm-card>div:last-child{flex:1 1 auto!important;padding:12px 14px!important;gap:6px!important}
.pm-card h3{font-size:15px!important}
.pm-card p{font-size:12px!important;line-height:1.5!important}
.pm-card p:nth-of-type(2){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pm-card a{min-height:0!important;padding:0!important;background:transparent!important;border:0!important;color:#8A6A2C!important;font-size:11px!important}

/* footer */
.pm-ft{padding:40px 20px 100px!important;gap:28px!important}
.pm-ft div[style*="gap: 56px"]{gap:24px 32px!important}
.pm-ft nav a{min-height:36px;display:flex!important;align-items:center}

/* barra fissa */
.pm-bar{display:grid;position:fixed;left:0;right:0;bottom:0;z-index:9;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px 16px;background:#fff;border-top:1px solid #E6E0D3;box-shadow:0 -6px 20px rgba(15,37,51,.10)}
.pm-bar a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:4px;text-decoration:none;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.pm-bar a:first-child{border:1px solid #183649;color:#183649}
.pm-bar a:last-child{background:#B88F3C;border-bottom:3px solid #8F6D2A;color:#fff}

/* contatti */
.pm-crumb{display:flex;align-items:center;gap:6px;padding:14px 20px 0;font-size:12px;color:#5B6670}
.pm-crumb a{color:#5B6670;text-decoration:none;min-height:32px;display:flex;align-items:center}
.pm-crumb b{color:#183649;font-weight:600}
#agenzia{padding:12px 16px 36px!important}
#agenzia>div{flex-direction:column;flex-wrap:nowrap!important;gap:16px!important}
#agenzia>div>div:first-child{flex:none!important;max-width:none!important;min-height:0!important;padding:22px 18px!important}
#agenzia>div>div:last-child{flex:none!important;gap:12px!important}
.pm-info{display:block!important;background:#fff;border-radius:10px;box-shadow:0 8px 24px rgba(15,37,51,.08);overflow:hidden;margin-top:4px!important}
.pm-info>a{flex-direction:row!important;text-align:left!important;gap:14px!important;min-height:64px;padding:10px 18px!important;box-shadow:none!important;border-radius:0!important;border-top:1px solid #F0ECE3}
.pm-info>a:first-child{border-top:0}
#contatti{padding:0 16px 44px!important}
#contatti>div{flex-direction:column;flex-wrap:nowrap!important;gap:16px!important}
#contatti>div>div:first-child{flex:none!important;gap:8px!important;padding:0 4px}
#contatti ul li:nth-child(n+2),#contatti iframe{display:none!important}
#contatti ul{background:none}
#contatti form{flex:none!important;padding:22px 18px!important;gap:14px!important}
#contatti form [style*="minmax(180px"]{grid-template-columns:1fr!important;gap:14px!important}
#contatti form input:not([type=checkbox]){height:48px!important;font-size:16px!important}
#contatti form textarea{font-size:16px!important}
#contatti form input[type=checkbox]{width:22px!important;height:22px!important}
#contatti form button{align-self:stretch!important;min-height:52px!important;font-size:13px!important}
}
