/* OSSOLA V4.3 — homepage come anteprima scelta. Il resto dell'app rimane invariato. */
:root {--v43-green:#a8f800;--v43-deep:#007f8d;--v43-ink:#10212d}
.preview-ribbon.v43-hide-home {display:none!important}
.header {background:#fff}
.brand .v43-brand-name{display:inline-flex;flex-direction:column;align-items:center;line-height:1.04;gap:2px}
.brand .v43-version{display:inline-block;letter-spacing:.07em;color:#5b7c84;background:#eaf7f8;padding:3px 12px;border-radius:12px;font-size:10px;font-weight:850}
.header-actions .v25-alerts-open,.header-actions .v35-header-mail,.header-actions .mobile-menu{background:#edf9f9;border-radius:17px}
.header-actions .v25-alerts-open,.header-actions .v35-header-mail{border:0}
#exploreView .hero{background-image:url('assets/hero-ossola.webp');background-position:center;background-color:#16465a}
#exploreView .hero-content h1{font-weight:900;line-height:1.03;letter-spacing:-1.5px}
#exploreView .hero-content p{font-weight:550;line-height:1.48}
#exploreView .lime-swoosh{width:170px;height:11px;border-top:5px solid var(--v43-green)}
#exploreView .search-panel{background:#fff;border:0;box-shadow:0 10px 24px #072e3b28}
#exploreView .search-block{background:#f5f8fa;border:0;border-radius:14px}
#exploreView .search-block+.search-block:before{display:none}
#exploreView .search-text strong{font-weight:900;color:#142431}
#exploreView .search-submit{background:var(--v43-green);color:#10232a;border:0;font-weight:900}
#exploreView .search-submit:hover{background:#bcff20}
#exploreView .search-submit .icon{stroke-width:2.5}
.v43-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0 22px}
.v43-actions>button{display:flex;align-items:center;gap:12px;min-width:0;min-height:76px;border:1px solid #e3e8ea;border-radius:17px;padding:12px 15px;text-align:left;box-shadow:0 5px 13px #0e34421c;cursor:pointer;font:inherit}
.v43-actions>button>.icon{flex:0 0 32px;width:32px;height:32px;stroke-width:1.9}
.v43-actions>button>span:not(.v43-chevron){min-width:0;display:flex;flex-direction:column;gap:4px;flex:1}
.v43-actions strong{font-size:15px;font-weight:900;line-height:1.12}
.v43-actions small{font-size:11px;font-weight:480;line-height:1.28}
.v43-actions .v43-chevron{font-size:29px;line-height:1;flex:0 0 10px}
.v43-publish-action{background:linear-gradient(118deg,#00a8b7,#007986);color:#fff;border-color:#0da8b7!important}
.v43-book-action{background:linear-gradient(#fff,#f8fbfc);color:#14222e}
.v43-actions button:focus-visible,.v43-see-all:focus-visible{outline:3px solid #87d900;outline-offset:3px}
#exploreView .category-section{margin:5px 0 23px;gap:8px}
#exploreView .category-strip{gap:9px;scrollbar-width:none;padding:3px 0 6px}
#exploreView .category-chip{background:#f8fafc;color:#122732;border:1px solid #e2e8ef;border-radius:17px;min-height:87px;box-shadow:0 2px 8px #0b263b0c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:12px;font-size:12px;font-weight:900}
#exploreView .category-chip.active{background:linear-gradient(130deg,#c5efee,#ddf8f8);border:1.5px solid #008f99;color:#0d2930}
#exploreView .category-chip .icon{height:26px;width:26px;stroke-width:1.9}
#exploreView .near-btn{border:1px solid #dce9ed;background:#fff;border-radius:14px;box-shadow:0 2px 9px #0a334512}
#exploreView .list-heading{position:relative;display:flex;align-items:center;margin:6px 0 16px;gap:10px}
#exploreView .list-heading>div:first-child{flex:1;min-width:0}
#exploreView .list-heading h2{position:relative;margin:0 0 0 0;padding-left:13px;line-height:1.15;font-weight:900;letter-spacing:-.6px;color:var(--v43-ink)}
#exploreView .list-heading h2:before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:4px;border-radius:6px;background:var(--v43-deep)}
#exploreView .list-heading .muted{margin:5px 0 0 13px;font-size:10px}
#exploreView .v43-see-all{margin-left:auto;flex-shrink:0;border:0;background:none;padding:7px 1px;color:#00858f;font:inherit;font-size:13px;font-weight:900;cursor:pointer;white-space:nowrap}
#exploreView .v43-see-all span{font-size:24px;vertical-align:-2px}
#exploreView .feature-layout{display:block}
#exploreView .feature-layout .map-teaser{display:none}
#exploreView .featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#exploreView .listing-card{box-shadow:0 4px 14px #092d441f;border:1px solid #e3ebed;border-radius:16px;overflow:hidden;background:#fff}
#exploreView .card-picture{height:175px;background:#d9eeeb}
#exploreView .card-picture img{width:100%;height:100%;object-fit:cover}
#exploreView .v43-feature-badge{position:absolute;top:9px;left:9px;z-index:2;background:var(--v43-green);color:#0b2029;border-radius:999px;padding:6px 9px;font-size:10px;line-height:1;font-weight:900;box-shadow:0 3px 8px #0002}
#exploreView .heart-button{z-index:3;width:34px;height:34px;border:0;background:#182e3c60;right:7px;top:7px}
#exploreView .heart-button.saved{background:#fff}
#exploreView .card-body{padding:12px 13px 14px}
#exploreView .card-body h3{margin:0 0 8px;color:#14222d;font-weight:900;font-size:16px;white-space:normal;line-height:1.25}
#exploreView .v43-card-location{color:#51636e;font-size:12px;display:flex;align-items:center;gap:5px;line-height:1.3;margin-bottom:6px}
#exploreView .v43-card-location .icon{flex:0 0 14px;height:14px;width:14px;color:#071d2a}
#exploreView .card-rating{font-weight:900;color:#172631;font-size:12px;line-height:1.2;flex-wrap:wrap;gap:4px}
#exploreView .card-rating .icon{color:#a2ec00;stroke:#9fe400;fill:#a3f000;height:15px;width:15px}
#exploreView .card-rating span{font-weight:500;color:#697a85;display:inline!important}
#exploreView .card-rating .v43-verified{color:#07867d;font-weight:800}
#exploreView .card-price{margin-top:8px;font-size:12px;color:#536571}
#exploreView .card-price b{font-size:15px}
#exploreView .v43-demo-note{color:#7a868e;font-size:10px}
#exploreView .more-heading{margin-top:25px;scroll-margin-top:90px}
#exploreView .more-grid{gap:12px}
#exploreView .sort-controls{display:none}
/* Larger screens: same hero and cards, comfortable reading width. */
@media(min-width:760px){
  .header{height:84px}
  .header-actions{gap:12px}
  #exploreView .hero{min-height:390px;margin-bottom:82px;background-position:center 45%}
  #exploreView .hero:before{background:linear-gradient(90deg,rgba(2,23,34,.94),rgba(4,38,51,.6) 50%,rgba(4,32,51,.08))}
  #exploreView .hero-content{padding:50px 43px 102px}
  #exploreView .hero-content h1{font-size:clamp(39px,4.9vw,63px);max-width:780px}
  #exploreView .hero-content p{font-size:19px;max-width:550px}
  #exploreView .search-panel{left:24px;right:24px;bottom:-48px;border-radius:20px;padding:11px;min-height:95px;gap:8px}
  #exploreView .search-block{padding:10px 13px}
  #exploreView .search-submit{border-radius:14px;min-width:118px}
  .v43-actions{margin-top:18px;gap:18px}
  #exploreView .category-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:100%;overflow:visible}
  #exploreView .category-chip{min-width:0;min-height:102px}
  #exploreView .category-section .near-btn{display:none}
  #exploreView .card-picture{height:215px}
  #exploreView .list-heading h2{font-size:28px}
  #exploreView .v43-see-all{font-size:16px}
  .v43-actions strong{font-size:19px}
  .v43-actions small{font-size:13px}
  .v38-launcher{bottom:20px;right:22px}
}
/* Mobile like the preview: hero, search, two quick actions, category tiles, 3 featured cards. */
@media(max-width:759px){
  .header{height:70px;box-shadow:0 1px 7px #001c2d0c}
  .header .container{width:calc(100% - 24px)}
  .header-inner{gap:7px;min-width:0}
  .brand{font-size:23px;gap:0;white-space:nowrap}
  .brand img{width:51px;height:42px;object-fit:contain;margin-right:2px}
  .brand .v43-brand-name{font-size:24px;letter-spacing:-.85px}
  .brand .v43-version{font-size:10px;padding:2px 10px;line-height:1.12}
  .header-actions{gap:5px}
  .header-actions .v25-alerts-open,.header-actions .v35-header-mail,.header-actions .mobile-menu{width:37px!important;min-width:37px!important;height:39px!important;min-height:39px!important;padding:7px!important;border-radius:14px}
  .header-actions .icon,.header-actions svg{width:23px;height:23px}
  #exploreView>.container{width:calc(100% - 26px)}
  #exploreView .hero{margin:0 -13px 0;min-height:0;height:auto;padding:0;display:block;border-radius:0;background:none;box-shadow:none}
  #exploreView .hero:before{display:none}
  #exploreView .hero-content{isolation:isolate;position:relative;z-index:1;width:100%;padding:27px 22px 91px;min-height:245px;background:linear-gradient(90deg,rgba(2,26,37,.88),rgba(2,41,52,.38) 67%,rgba(2,41,52,.15)),url('assets/hero-ossola.webp') center 45% / cover no-repeat;color:white}
  #exploreView .hero-content:before{display:none}
  #exploreView .v41-hero-top{gap:0}
  #exploreView .eyebrow{font-size:10px;font-weight:900;letter-spacing:1.3px;white-space:normal}
  #exploreView .hero-content h1{font-size:clamp(31px,8.1vw,44px);letter-spacing:-1.3px;line-height:1.04;margin:14px 0 8px;text-shadow:0 3px 12px #071a2870;max-width:540px}
  #exploreView .lime-swoosh{margin:10px 0 8px -4px}
  #exploreView .hero-content p{font-size:clamp(12px,3.6vw,16px);margin:8px 0 0;max-width:465px;line-height:1.43}
  #exploreView .search-panel{position:relative;z-index:3;left:auto;right:auto;bottom:auto;width:calc(100% - 26px);margin:-53px auto 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px;border-radius:21px;box-shadow:0 10px 22px #0e34482b;min-height:0}
  #exploreView .search-block{height:68px;min-height:0;padding:10px 9px;gap:7px;border-radius:13px;min-width:0;background:#f4f7f9}
  #exploreView .search-block .icon{width:20px;height:20px;flex:0 0 20px}
  #exploreView .search-text{gap:4px;min-width:0;overflow:hidden}
  #exploreView .search-text strong{font-size:11px;line-height:1.1}
  #exploreView .destination-block{grid-column:1/-1;height:65px}
  #exploreView .destination-block input{font-size:15px;height:23px}
  #exploreView .date-block{grid-column:auto;width:100%;height:66px;padding:8px 7px;gap:4px}
  #exploreView .date-block>.icon{width:18px;height:18px;flex-basis:18px}
  #exploreView .date-block .search-text strong{font-size:10px}
  #exploreView .search-text input[type=date]{font-size:10px;max-width:100%;min-width:0;width:100%;height:22px;padding:0;letter-spacing:-.35px}
  #exploreView .search-text input[type=date]::-webkit-calendar-picker-indicator{width:12px;margin:0;opacity:.65}
  #exploreView .guests-block{grid-column:auto;grid-row:auto;height:66px;padding:8px 6px;gap:4px;border:0}
  #exploreView .guests-block>.icon{width:18px;height:18px;flex-basis:18px}
  #exploreView .guest-trigger{font-size:10px;min-width:0;white-space:nowrap;gap:1px}
  #exploreView .guest-trigger .icon{width:12px;height:12px;flex:0 0 12px}
  #exploreView .guest-popup{left:auto;right:0;top:64px;max-width:min(255px,calc(100vw - 48px))}
  #exploreView .search-submit{grid-column:1/-1;min-height:54px;border-radius:14px;font-size:18px;gap:12px}
  #exploreView .search-submit .icon{width:25px;height:25px}
  .v43-actions{gap:9px;margin:18px 0 18px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .v43-actions>button{min-height:79px;padding:10px 9px;gap:7px;border-radius:15px}
  .v43-actions>button>.icon{height:26px;width:26px;flex-basis:26px}
  .v43-actions strong{font-size:clamp(11px,3.1vw,14px)}
  .v43-actions small{font-size:clamp(9px,2.4vw,11px)}
  .v43-actions .v43-chevron{font-size:21px;flex-basis:6px}
  #exploreView .category-section{display:block;position:relative;margin:0 0 18px}
  #exploreView .category-strip{display:flex;gap:7px;padding-bottom:5px;overflow-x:auto;scroll-snap-type:x proximity}
  #exploreView .category-chip{flex:0 0 auto;scroll-snap-align:start;min-width:82px;min-height:82px;gap:8px;font-size:10.5px;padding:9px 8px;border-radius:15px}
  #exploreView .category-chip .icon{height:25px;width:25px}
  #exploreView .near-btn{display:none}
  #exploreView .list-heading{gap:7px;margin:7px 0 14px;align-items:start}
  #exploreView .list-heading h2{font-size:clamp(18px,5.1vw,23px);padding-left:10px}
  #exploreView .list-heading h2:before{width:4px;top:2px;bottom:2px}
  #exploreView .list-heading .muted{font-size:9px;margin-left:10px;line-height:1.25}
  #exploreView .v43-see-all{font-size:12px;padding-top:4px}
  #exploreView .v43-see-all span{font-size:20px}
  #exploreView .featured-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  #exploreView .listing-card{border-radius:13px}
  #exploreView .card-picture{height:clamp(105px,29vw,175px)}
  #exploreView .v43-feature-badge{top:6px;left:5px;font-size:8px;padding:5px 7px}
  #exploreView .heart-button{width:26px;height:26px;top:5px;right:5px}
  #exploreView .heart-button .icon{width:18px;height:18px}
  #exploreView .card-body{padding:8px 7px 10px}
  #exploreView .card-body h3{font-size:clamp(10px,2.8vw,13px);line-height:1.25;margin-bottom:6px;min-height:2.4em}
  #exploreView .v43-card-location{font-size:10px;line-height:1.2;gap:2px}
  #exploreView .v43-card-location .icon{width:11px;height:11px;flex-basis:11px}
  #exploreView .card-rating{font-size:10px;gap:3px}
  #exploreView .card-rating span{font-size:9px}
  #exploreView .card-price{font-size:9px;margin-top:8px;line-height:1.4}
  #exploreView .card-price b{font-size:12px}
  #exploreView .v43-demo-note{font-size:9px}
  #exploreView .more-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #exploreView .more-heading{margin-top:18px}
  /* Floating IA remains clear of the fixed navigation, regardless of screen size. */
  .v38-launcher{bottom:calc(76px + env(safe-area-inset-bottom));right:13px;width:auto;min-width:0;max-width:168px;height:43px;padding:8px 12px;border-radius:999px;font-size:12px;gap:6px;z-index:80}
  .v38-launcher span:first-child{font-size:19px}
  .v38-launcher .v41-ia-full{display:inline!important;font-size:11px}
  .v38-launcher .v41-ia-short{display:none!important}
}
@media(max-width:370px){
  .header .container{width:calc(100% - 14px)}
  .brand img{width:43px;height:40px}
  .brand .v43-brand-name{font-size:21px}
  .header-actions{gap:3px}
  .header-actions .v25-alerts-open,.header-actions .v35-header-mail,.header-actions .mobile-menu{width:34px!important;min-width:34px!important}
  #exploreView .hero-content{padding-left:17px;padding-right:17px}
  #exploreView .hero-content h1{font-size:30px}
  #exploreView .search-panel{gap:5px;padding:8px}
  #exploreView .date-block>.icon,#exploreView .guests-block>.icon{width:15px;height:15px;flex-basis:15px}
  #exploreView .date-block{gap:3px;padding-left:5px;padding-right:4px}
  .v43-actions>button{padding:8px 7px;gap:5px}
  .v43-actions>button>.icon{height:22px;width:22px;flex-basis:22px}
  .v43-actions strong{font-size:10px}
  .v43-actions small{font-size:9px}
}
