/* PostoMare mobile v03 — composizione autonoma, caricata dopo il layout desktop. */
@media (max-width:767px){
 html{background:#fff}
 body{background:#fff;padding:0 0 calc(88px + env(safe-area-inset-bottom));overflow-x:hidden}
 .site-header{display:none!important}
 .view{min-height:100svh;padding-bottom:24px}

 /* La home mobile non eredita nessun blocco promozionale desktop. */
 [data-view="home"]>.hero-shell,[data-view="home"]>.hero-premium,[data-view="home"]>.hero-search-wrap,[data-view="home"]>.content-shell{display:none!important}
 [data-view="home"]{background:linear-gradient(160deg,#fff 0 74%,#f2fbfa 100%);padding:0!important}
 .mobile-home{display:block!important;width:100%;max-width:430px;margin:0 auto;padding:calc(14px + env(safe-area-inset-top)) 18px 22px;position:relative}
 .mobile-home:before{content:"";position:absolute;width:70px;height:180px;border-radius:180px 0 0 180px;right:0;top:185px;background:rgba(8,183,173,.055);pointer-events:none}
 .mobile-home-top{height:46px;margin:0 0 18px;display:flex;align-items:center;justify-content:space-between}
 .mobile-home-top img{width:34px;height:42px;object-fit:cover;object-position:left;filter:saturate(1.05)}
 .mobile-account{width:39px;height:39px;border:1.6px solid var(--brand);border-radius:50%;background:#fff;color:var(--brand-dark);display:grid;place-items:center;padding:0}
 .mobile-account svg{width:22px;height:22px}
 .mobile-home>h1{font-size:2rem;line-height:1.08;letter-spacing:-.045em;margin:0 0 16px;font-weight:800}

 .mobile-search{height:54px;border:1.4px solid #c8d4db;border-radius:27px;background:#fff;display:flex;align-items:center;gap:11px;padding:0 8px 0 15px;box-shadow:none;position:relative;z-index:1}
 .mobile-search>svg{width:22px;color:#5d7282;flex:0 0 auto}.mobile-search input{border:0;outline:0;min-width:0;flex:1;font-size:.96rem;background:transparent}.mobile-search input::placeholder{color:#7e8d98;opacity:1}
 .mobile-search button{width:37px;height:37px;border:0;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center}.mobile-search button svg{width:18px}
 .mobile-location{border:0;background:transparent;color:var(--brand-dark);height:58px;padding:0 5px;display:flex;align-items:center;gap:10px;font-size:1.04rem;font-weight:800}
 .mobile-location svg:first-child{width:24px}.mobile-location svg:last-child{width:17px}

 .mobile-categories{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 28px;overflow:visible!important;padding:0!important}
 .mobile-categories button,.mobile-categories a{width:auto!important;min-width:0!important;height:91px;border:1px solid #d7e1e6;background:rgba(255,255,255,.94);border-radius:17px;padding:8px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;box-shadow:0 5px 14px rgba(16,42,67,.04)}
 .mobile-categories button span,.mobile-categories a span{height:39px;display:grid;place-items:center}.mobile-categories button svg,.mobile-categories a svg{width:31px;height:31px;stroke-width:1.7}.mobile-categories button b,.mobile-categories a b{font-size:.66rem;font-weight:600;white-space:nowrap;letter-spacing:-.015em}
 .mobile-categories .turquoise{color:var(--brand)}.mobile-categories .yellow{color:#efab16}.mobile-categories .coral{color:var(--coral)}

 .mobile-recommended-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}.mobile-recommended-head h2{font-size:1.35rem;letter-spacing:-.035em;margin:0}.mobile-recommended-head button{border:0;background:none;color:var(--brand-dark);font-size:.75rem;font-weight:800;padding:6px 0}
 .mobile-lido-card{display:block;border:1px solid #d7e1e6;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 10px 25px rgba(16,42,67,.08);cursor:pointer}
 .mobile-lido-photo{height:204px;background:url('../img/beach-2.jpg') center/cover;position:relative}
 .mobile-lido-photo .heart-button{position:absolute;right:11px;top:11px;width:41px;height:41px;background:#fff;border-color:#e1e8eb}
 .mobile-lido-info{min-height:77px;padding:13px 16px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px}.mobile-lido-info h3{font-size:1.2rem;line-height:1.15;margin:0 0 3px}.mobile-lido-info p{font-size:.79rem;color:var(--muted);margin:0}.mobile-lido-info strong{display:flex;align-items:center;gap:5px;color:var(--brand-dark);font-size:1.08rem}.mobile-lido-info strong svg{width:22px;fill:var(--sun);stroke:var(--sun)}
 .mobile-nearby{display:none!important}

 /* Navigazione come elemento del prodotto, non barra web generica. */
 .bottom-nav{display:flex!important;left:12px;right:12px;bottom:8px;width:auto;height:70px;border:1px solid #dfe7ea;border-radius:26px;background:rgba(255,255,255,.96);box-shadow:0 12px 38px rgba(16,42,67,.14);padding:0 6px env(safe-area-inset-bottom);overflow:hidden}
 .bottom-nav button{min-width:0;flex:1;color:#6d7f8d;font-size:.6rem;font-weight:650;gap:1px}
 .bottom-nav button svg{width:22px;height:22px}.bottom-nav button.active{color:var(--brand-dark)}.bottom-nav button.active svg{background:var(--brand);color:#fff;border-radius:50%;padding:5px;width:30px;height:30px;stroke-width:1.8}
 body[data-current-view="manager"] .bottom-nav{display:none!important}

 /* Le altre viste mobile non mostrano l'header desktop. */
 .page-shell,.detail-shell,.checkout-shell{padding-left:18px;padding-right:18px}
 .page-top{padding-top:12px}.page-top .back-button{display:grid}
 .detail-hero{height:310px;border-radius:0 0 26px 26px}.detail-shell{padding-top:20px}.detail-title h1{font-size:2.15rem}
 .booking-header{height:74px;padding:0 14px;position:sticky;top:0;z-index:55;background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}
 .map-layout{padding:10px}.beach-map-wrap{height:500px}.selection-panel{border-radius:22px}
 .summary-beach,.form-card,.order-card,.booking-item,.profile-hero,.settings-list{border-radius:20px}
}
@media (max-width:360px){
 .mobile-home{padding-inline:13px}.mobile-home>h1{font-size:1.82rem}.mobile-categories{gap:5px}.mobile-categories button b,.mobile-categories a b{font-size:.6rem}.mobile-lido-photo{height:180px}.bottom-nav{left:6px;right:6px}
}

/* Revisione 03.3: cover, wordmark, sticky top e mappa posti. */
@media (max-width:767px){
 .app-cover{position:fixed;inset:0;z-index:500;background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(4,43,53,.25)),url('../img/beach-2.jpg') center/cover;display:flex;flex-direction:column;justify-content:space-between;padding:calc(62px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));transition:transform .55s cubic-bezier(.7,0,.2,1),opacity .35s}
 .app-cover.dismissed{transform:translateY(-105%);opacity:0;pointer-events:none}
 .cover-brand{align-self:center;width:min(78vw,330px);background:rgba(255,255,255,.94);border-radius:24px;padding:13px 18px;box-shadow:0 14px 35px rgba(16,42,67,.12)}.cover-brand img{display:block;width:100%;height:auto}
 .cover-copy{color:#fff;text-shadow:0 2px 18px rgba(3,35,47,.38)}.cover-copy h1{font-size:2.65rem;line-height:1.02;letter-spacing:-.055em;margin:0 0 20px}.cover-start{width:100%;height:58px;border:0;border-radius:29px;background:var(--brand);color:#fff;font-weight:800;font-size:1.08rem;box-shadow:0 10px 24px rgba(0,102,99,.28)}.cover-dots{display:flex;justify-content:center;gap:9px;margin-top:16px}.cover-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.6)}.cover-dots i:first-child{width:26px;border-radius:5px;background:var(--brand)}
 .mobile-home-top{height:62px!important;margin:0 -18px 18px!important;padding:0 18px!important;position:sticky!important;top:0;z-index:80;background:rgba(255,255,255,.95);backdrop-filter:blur(16px);border-bottom:1px solid rgba(220,232,236,.85)}
 .mobile-home-top img{width:174px!important;height:auto!important;object-fit:contain!important}
 .detail-sticky-top{height:58px;position:sticky;top:0;z-index:85;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);display:grid;grid-template-columns:44px 1fr 44px;align-items:center;padding:0 14px}.detail-sticky-top b{text-align:center}.detail-sticky-top .back-button{display:grid}.detail-sticky-top+.detail-hero .overlay{display:none!important}
 .mobile-lido-photo{height:clamp(230px,31vh,270px)!important}
 /* Strip servizi: il layout vive in pm-ad.css (v69) — niente override qui. */
 .mobile-map-teaser{display:block;margin:22px -4px 4px;padding-bottom:8px}.map-teaser-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.map-teaser-head h2{font-size:1.2rem;margin:0}.map-teaser-head span{display:flex;align-items:center;gap:5px;font-size:.58rem;color:var(--muted)}.map-teaser-head i{width:8px;height:8px;border-radius:50%;background:var(--brand)}.map-teaser-head i:last-child{background:#c7ced1;margin-left:4px}.map-teaser-sea{height:58px;border-radius:17px 17px 0 0;background:linear-gradient(180deg,#31c4ca,#a8ebea);position:relative;overflow:hidden}.map-teaser-sea:after{content:"";position:absolute;left:-4%;right:-4%;bottom:-13px;height:25px;background:#f7e4ad;border-radius:50% 50% 0 0}.map-teaser-sea b{display:none}.map-teaser-sand{height:150px;background:#f8e8b8;border-radius:0 0 17px 17px;position:relative;padding:18px 16px}.mini-spots{display:grid;grid-template-columns:repeat(7,1fr);gap:10px 13px}.mini-spots i{width:19px;height:15px;border-radius:11px 11px 3px 3px;background:var(--brand);box-shadow:inset 0 -3px rgba(255,255,255,.7)}.mini-spots i.occupied{background:#c7ced1}.mini-walkway{position:absolute;top:0;bottom:0;left:48%;width:28px;background:repeating-linear-gradient(0deg,#d2ad77 0 3px,#e8c995 3px 6px);border-inline:2px solid rgba(115,77,34,.18)}.mobile-map-teaser>.primary{margin-top:12px;height:52px;border-radius:26px;font-size:1rem}.mobile-map-teaser>small{display:flex;justify-content:center;align-items:center;gap:5px;color:var(--muted);margin-top:8px}.mobile-map-teaser>small svg{width:14px}
 [data-view="map"]{padding-bottom:90px}.map-layout{padding:10px!important;gap:12px;background:#fff}.beach-map-wrap{height:520px!important;background:linear-gradient(180deg,#70d8dd 0 25%,#f7e4ad 25%)!important;border-radius:22px}.shore{left:0;right:0;top:0;width:100%;height:25%;align-items:start;padding-top:18px}.wave-lines{left:0;top:auto;bottom:-18px;width:100%;height:40px;background:radial-gradient(45px 20px at 45px 0,transparent 47%,rgba(255,255,255,.75) 50% 56%,transparent 59%) 0 0/90px 40px}.beach-map{left:8%!important;right:8%!important;top:34%!important;bottom:11%!important;grid-template-columns:repeat(7,1fr);gap:8px!important}.spot svg{width:31px}.map-service.shower{right:12px!important}.selection-panel{border-radius:22px;padding:18px;box-shadow:0 10px 28px rgba(16,42,67,.1)}
}
@media (min-width:768px){.app-cover,.mobile-map-teaser{display:none}}
