/* MovRentGo Home V2 — premium marketplace landing */
:root{
  --mrg2-deep:#031d2a;
  --mrg2-navy:#062b3a;
  --mrg2-teal:#0b9c98;
  --mrg2-aqua:#39d4cb;
  --mrg2-gold:#d7a64b;
  --mrg2-ink:#102e38;
  --mrg2-muted:#5f747c;
  --mrg2-soft:#f4f8f8;
  --mrg2-line:#dde8ea;
}
body.mrg-home-v2-active{background:#fff;color:var(--mrg2-ink)}
body.mrg-home-v2-active header{height:78px;background:rgba(3,14,21,.97);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.08);padding:0 28px}
body.mrg-home-v2-active header .logo img{width:205px}
body.mrg-home-v2-active header nav{gap:24px}
body.mrg-home-v2-active header nav a{font-size:14px;color:#e9f2f4}
body.mrg-home-v2-active header nav a:hover{color:#6be5df}
body.mrg-home-v2-active .header-actions{gap:8px;margin-left:8px}
body.mrg-home-v2-active .header-actions .btn{border-radius:999px;padding:10px 14px}
body.mrg-home-v2-active #registerBtn{background:var(--mrg2-teal)}

#mrgHomeV2{overflow:hidden;background:#fff}
.mrg2-shell{width:min(1296px,calc(100% - 48px));margin:0 auto}
.mrg2-eyebrow{font-size:12px;line-height:1.2;letter-spacing:.14em;font-weight:900;text-transform:uppercase;color:var(--mrg2-teal)}

.mrg2-hero{position:relative;min-height:720px;color:#fff;background-image:linear-gradient(90deg,rgba(3,29,42,.94) 0%,rgba(3,29,42,.80) 40%,rgba(3,29,42,.28) 72%,rgba(3,29,42,.08) 100%),url('assets/tour-experiences-italy-v1.webp');background-size:cover;background-position:center;display:flex;align-items:center}
.mrg2-hero:after{content:"";position:absolute;inset:auto 0 0;height:170px;background:linear-gradient(180deg,transparent,rgba(3,29,42,.30));pointer-events:none}
.mrg2-hero-inner{position:relative;z-index:2;width:min(1296px,calc(100% - 48px));margin:0 auto;padding:74px 0 132px}
.mrg2-hero-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.10);backdrop-filter:blur(8px);border-radius:999px;padding:9px 14px;font-size:12px;font-weight:900;letter-spacing:.1em}
.mrg2-hero h1{font-size:clamp(54px,6.4vw,88px);line-height:.95;letter-spacing:-.055em;margin:22px 0 22px;max-width:760px;text-wrap:balance}
.mrg2-hero p{font-size:20px;line-height:1.55;color:#e6f1f3;max-width:650px;margin:0}
.mrg2-hero-actions{display:flex;gap:12px;margin-top:34px;flex-wrap:wrap}
.mrg2-btn{border:0;border-radius:999px;min-height:52px;padding:0 22px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.mrg2-btn:hover{transform:translateY(-2px)}
.mrg2-btn-light{background:#fff;color:var(--mrg2-navy);box-shadow:0 10px 26px rgba(0,0,0,.18)}
.mrg2-btn-ghost{color:#fff;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.38)}
.mrg2-btn-teal{color:#fff;background:var(--mrg2-teal);box-shadow:0 12px 28px rgba(11,156,152,.22)}

.mrg2-search-wrap{position:relative;z-index:4;margin-top:-82px}
.mrg2-search-card{background:#fff;border:1px solid rgba(221,232,234,.9);border-radius:28px;padding:22px 24px 24px;box-shadow:0 22px 62px rgba(6,43,58,.16)}
.mrg2-search-title{font-size:14px;font-weight:900;color:var(--mrg2-teal);margin:0 0 14px 4px}
.mrg2-search-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr auto;align-items:end}
.mrg2-field{min-width:0;padding:4px 20px 4px;border-right:1px solid var(--mrg2-line)}
.mrg2-field:first-child{padding-left:6px}
.mrg2-field label{display:block;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--mrg2-muted);margin-bottom:7px}
.mrg2-field input,.mrg2-field select{width:100%;border:0;outline:0;background:transparent;color:var(--mrg2-ink);font-size:16px;font-weight:800;min-height:30px;padding:0}
.mrg2-search-submit{border:0;border-radius:999px;background:var(--mrg2-teal);color:#fff;font-weight:900;min-height:56px;padding:0 24px;margin-left:20px;white-space:nowrap;box-shadow:0 12px 28px rgba(11,156,152,.20)}

.mrg2-trust{background:#f7fafa;margin-top:42px;border-top:1px solid #edf3f4;border-bottom:1px solid #edf3f4}
.mrg2-trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:27px 0}
.mrg2-trust-item{display:flex;align-items:center;justify-content:center;gap:10px;font-weight:800;color:#24444e}
.mrg2-trust-check{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#e1f8f6;color:var(--mrg2-teal);font-weight:1000}

.mrg2-section{padding:88px 0}
.mrg2-heading{margin:10px 0 12px;font-size:clamp(38px,4.2vw,58px);line-height:1.04;letter-spacing:-.045em;color:var(--mrg2-navy);text-wrap:balance}
.mrg2-sub{font-size:18px;line-height:1.6;color:var(--mrg2-muted);margin:0;max-width:660px}
.mrg2-categories{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:38px}
.mrg2-cat{position:relative;min-height:390px;border-radius:26px;overflow:hidden;border:0;text-align:left;color:#fff;background:#b8ced2;isolation:isolate;box-shadow:0 14px 34px rgba(6,43,58,.11);transition:transform .22s ease,box-shadow .22s ease}
.mrg2-cat:hover{transform:translateY(-6px);box-shadow:0 22px 44px rgba(6,43,58,.18)}
.mrg2-cat:before{content:"";position:absolute;inset:0;background-size:cover;background-position:center;z-index:-2;transition:transform .35s ease}
.mrg2-cat:hover:before{transform:scale(1.035)}
.mrg2-cat:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,29,42,.02) 28%,rgba(3,29,42,.86) 100%);z-index:-1}
.mrg2-cat-moto:before{background-image:url('assets/mrg-47e82cba7ecd.jpg')}
.mrg2-cat-ebike:before{background-image:url('assets/mrg-ec65f4f01658.png')}
.mrg2-cat-nautica:before{background-image:url('assets/mrg-a89f4f3989a6.webp')}
.mrg2-cat-tour:before{background-image:url('assets/tour-experiences-italy-v1.webp')}
.mrg2-cat-copy{position:absolute;left:24px;right:24px;bottom:24px}
.mrg2-cat-copy b{display:block;font-size:27px;line-height:1.05;letter-spacing:-.03em;margin-bottom:8px}
.mrg2-cat-copy span{display:block;font-size:15px;font-weight:800;margin-bottom:4px}
.mrg2-cat-copy small{display:block;color:#dcecee;font-size:12px;line-height:1.35}
.mrg2-cat-arrow{position:absolute;right:20px;top:20px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.16);backdrop-filter:blur(7px);font-size:20px}

.mrg2-signature{padding:0 0 88px}
.mrg2-signature-card{position:relative;background:var(--mrg2-deep);color:#fff;border-radius:34px;min-height:400px;padding:52px 48px;overflow:hidden;display:grid;grid-template-columns:1.55fr .75fr;gap:52px;align-items:center}
.mrg2-signature-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:7px;background:var(--mrg2-gold)}
.mrg2-signature-card:after{content:"";position:absolute;width:330px;height:330px;border-radius:50%;right:-95px;top:-75px;border:1px solid rgba(57,212,203,.28);box-shadow:0 0 0 65px rgba(57,212,203,.04),0 0 0 130px rgba(57,212,203,.025)}
.mrg2-signature h2{font-size:clamp(36px,4vw,54px);line-height:1.03;letter-spacing:-.045em;margin:12px 0 24px;max-width:720px}
.mrg2-signature p{color:#c7d9de;font-size:17px;line-height:1.65;margin:0;max-width:690px}
.mrg2-quote{position:relative;z-index:1;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);border-radius:26px;padding:32px}
.mrg2-quote strong{display:block;font-size:29px;line-height:1.2;letter-spacing:-.03em}
.mrg2-quote small{display:block;margin-top:24px;color:#72e3dd;font-weight:900;letter-spacing:.08em}

.mrg2-how{background:linear-gradient(180deg,#fff,#f7fafa)}
.mrg2-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:34px}
.mrg2-step{position:relative;border:1px solid var(--mrg2-line);background:#fff;border-radius:24px;padding:28px 28px 30px;min-height:190px}
.mrg2-step-num{font-size:13px;font-weight:1000;color:var(--mrg2-teal);letter-spacing:.1em}
.mrg2-step h3{font-size:25px;margin:22px 0 8px;color:var(--mrg2-navy)}
.mrg2-step p{margin:0;color:var(--mrg2-muted);line-height:1.55}
.mrg2-step-arrow{position:absolute;right:26px;top:25px;color:var(--mrg2-gold);font-size:27px}

.mrg2-operator{padding:88px 0;background:#fff}
.mrg2-operator-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#0b7375,#07545c);border-radius:34px;color:#fff;padding:54px 48px;min-height:360px;box-shadow:0 20px 54px rgba(7,84,92,.18)}
.mrg2-operator-card:after{content:"";position:absolute;width:350px;height:350px;border-radius:50%;right:-65px;top:20px;background:radial-gradient(circle,rgba(57,212,203,.22),rgba(57,212,203,.02) 68%,transparent 69%)}
.mrg2-operator h2{position:relative;z-index:1;font-size:clamp(38px,4.2vw,56px);line-height:1.04;letter-spacing:-.045em;max-width:820px;margin:12px 0 22px}
.mrg2-operator p{position:relative;z-index:1;color:#d9f0f0;font-size:17px;line-height:1.65;max-width:760px;margin:0 0 28px}
.mrg2-operator .mrg2-btn{position:relative;z-index:1}

.mrg2-footer{background:var(--mrg2-deep);color:#fff;padding:58px 0 28px}
.mrg2-footer-grid{display:grid;grid-template-columns:1.7fr repeat(3,1fr);gap:44px}
.mrg2-footer-brand{font-size:28px;font-weight:1000;letter-spacing:-.03em}
.mrg2-footer-brand span{color:var(--mrg2-aqua)}
.mrg2-footer-tag{color:#aec5cb;margin-top:13px;line-height:1.5}
.mrg2-footer h4{font-size:12px;letter-spacing:.1em;color:#8ea9b0;margin:5px 0 15px}
.mrg2-footer a,.mrg2-footer button{display:block;border:0;background:none;padding:0;color:#d6e4e7;text-decoration:none;margin:10px 0;font:inherit;font-size:14px;text-align:left;cursor:pointer}
.mrg2-footer a:hover,.mrg2-footer button:hover{color:#64e1db}
.mrg2-footer-bottom{border-top:1px solid #29454f;margin-top:45px;padding-top:22px;display:flex;justify-content:space-between;gap:20px;color:#819ca4;font-size:12px}

@media(max-width:1100px){
  .mrg2-search-grid{grid-template-columns:1.3fr 1fr 1fr 1fr}.mrg2-search-submit{grid-column:1/-1;margin:18px 0 0;width:100%}
  .mrg2-field:nth-child(4){border-right:0}
  .mrg2-categories{grid-template-columns:repeat(2,1fr)}
  .mrg2-cat{min-height:340px}
}
@media(max-width:820px){
  body.mrg-home-v2-active header{height:72px;padding:0 10px!important;flex-wrap:nowrap!important}
  body.mrg-home-v2-active header>.logo{height:72px!important;min-width:0!important}
  body.mrg-home-v2-active header>.logo img{width:142px!important}
  body.mrg-home-v2-active header>nav{display:none!important}
  body.mrg-home-v2-active .header-actions{margin-left:auto!important;gap:6px!important}
  body.mrg-home-v2-active .header-actions>.favorite-header-btn,
  body.mrg-home-v2-active .header-actions>.account-trip-btn,
  body.mrg-home-v2-active .header-actions>.account-bookings-btn,
  body.mrg-home-v2-active .header-actions>.account-profile-btn,
  body.mrg-home-v2-active .header-actions>.notification-header-btn{display:none!important}
  body.mrg-home-v2-active .mobile-menu-btn{display:block!important}
  .mrg2-shell,.mrg2-hero-inner{width:min(100% - 28px,1296px)}
  .mrg2-hero{min-height:650px;background-position:63% center;background-image:linear-gradient(180deg,rgba(3,29,42,.40) 0%,rgba(3,29,42,.70) 52%,rgba(3,29,42,.95) 100%),url('assets/tour-experiences-italy-v1.webp')}
  .mrg2-hero-inner{padding:52px 0 164px;align-self:flex-end}
  .mrg2-hero h1{font-size:clamp(46px,14vw,62px);max-width:370px;letter-spacing:-.05em;margin-top:18px}
  .mrg2-hero p{font-size:16px;line-height:1.5;max-width:340px}
  .mrg2-hero-actions{margin-top:25px}
  .mrg2-search-wrap{margin-top:-116px}
  .mrg2-search-card{padding:19px;border-radius:24px}
  .mrg2-search-title{margin-bottom:10px}
  .mrg2-search-grid{grid-template-columns:1fr 1fr}
  .mrg2-field{border-right:0;border-bottom:1px solid var(--mrg2-line);padding:13px 8px}
  .mrg2-field:first-child{grid-column:1/-1;padding-left:8px}
  .mrg2-field:nth-child(2){grid-column:1/-1}
  .mrg2-field:nth-child(3){border-right:1px solid var(--mrg2-line)}
  .mrg2-search-submit{margin-top:14px;min-height:50px}
  .mrg2-trust{margin-top:28px}.mrg2-trust-grid{grid-template-columns:1fr;gap:12px;padding:20px 0}.mrg2-trust-item{justify-content:flex-start;font-size:14px}
  .mrg2-section{padding:68px 0}.mrg2-heading{font-size:38px}.mrg2-sub{font-size:16px}
  .mrg2-categories{gap:12px;margin-top:28px}.mrg2-cat{min-height:250px;border-radius:20px}.mrg2-cat-copy{left:15px;right:15px;bottom:16px}.mrg2-cat-copy b{font-size:19px}.mrg2-cat-copy span{font-size:12px}.mrg2-cat-copy small{display:none}.mrg2-cat-arrow{width:34px;height:34px;right:13px;top:13px}
  .mrg2-signature{padding-bottom:68px}.mrg2-signature-card{grid-template-columns:1fr;gap:30px;min-height:0;padding:38px 30px;border-radius:26px}.mrg2-signature h2{font-size:38px}.mrg2-quote strong{font-size:24px}
  .mrg2-steps{grid-template-columns:1fr}.mrg2-step{min-height:145px;padding:23px}.mrg2-step h3{margin:14px 0 6px}
  .mrg2-operator{padding:68px 0}.mrg2-operator-card{padding:38px 28px;min-height:390px;border-radius:28px}.mrg2-operator h2{font-size:39px;max-width:310px}.mrg2-operator p{font-size:15px;max-width:310px}
  .mrg2-footer-grid{grid-template-columns:1fr 1fr;gap:30px}.mrg2-footer-brand-col{grid-column:1/-1}.mrg2-footer-bottom{flex-direction:column}
}
@media(max-width:480px){
  .mrg2-hero-badge{font-size:10px}.mrg2-btn{min-height:48px;padding:0 17px;font-size:13px}.mrg2-hero-actions{gap:8px}
  .mrg2-search-grid{grid-template-columns:1fr 1fr}.mrg2-field input,.mrg2-field select{font-size:14px}
  .mrg2-categories{grid-template-columns:repeat(2,1fr)}.mrg2-cat{min-height:220px}
  .mrg2-heading{font-size:34px}.mrg2-signature h2{font-size:34px}.mrg2-operator h2{font-size:35px}
  .mrg2-footer-grid{grid-template-columns:1fr 1fr}.mrg2-footer .mrg2-shell{width:calc(100% - 36px)}
}


/* V94.1 TRUE HOME NAVIGATION */
header>nav #navHome{display:inline-flex;align-items:center;gap:5px}
header>nav #navHome.active{color:#fff;background:rgba(11,156,152,.18);box-shadow:inset 0 -3px 0 #39d4cb}
#mobilePanel #mHome{font-weight:900}
@media(max-width:820px){
  body:not(.mrg-home-v2-active) header>nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  body:not(.mrg-home-v2-active) header>nav #navHome{display:flex!important;min-width:0;min-height:60px;height:60px;padding:6px 2px!important;border:0!important;border-radius:0!important;background:transparent;box-shadow:none!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#fff;font-size:12px!important;font-weight:900;line-height:1.05;text-align:center;overflow:hidden}
  body:not(.mrg-home-v2-active) header>nav #navHome .market-nav-icon{font-size:19px;line-height:1}
  body:not(.mrg-home-v2-active) header>nav #navHome .market-nav-label{display:block}
}
/* MovRentGo V94.15 — Home hero mobile layered fix.
   Desktop invariato. Mobile: immagine verticale su un layer dedicato a tutta hero,
   con ombra laterale sul copy invece del vecchio gradiente verticale che la nascondeva. */
.mrg2-hero{
  background-image:linear-gradient(90deg,rgba(3,29,42,.94) 0%,rgba(3,29,42,.78) 38%,rgba(3,29,42,.24) 70%,rgba(3,29,42,.04) 100%),url('assets/home-hero-italia-v949.webp')!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}

@media(max-width:820px){
  .mrg2-hero{
    background:#031d2a!important;
    isolation:isolate!important;
    overflow:hidden!important;
  }

  .mrg2-hero::before{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    z-index:0!important;
    background-image:url('assets/home-hero-italia-mobile-v9414.webp')!important;
    background-size:cover!important;
    background-position:center 34%!important;
    background-repeat:no-repeat!important;
  }

  .mrg2-hero::after{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    height:auto!important;
    z-index:1!important;
    pointer-events:none!important;
    background:linear-gradient(90deg,rgba(3,29,42,.78) 0%,rgba(3,29,42,.64) 48%,rgba(3,29,42,.34) 72%,rgba(3,29,42,.12) 100%)!important;
  }

  .mrg2-hero-inner{
    position:relative!important;
    z-index:2!important;
  }
}
/* MovRentGo V94.16 — SEO semantic layer.
   Un solo H1 nell'HTML server-side; riepilogo route/listing visibile e coerente.
   Gli H1 secondari vengono demossi dal Worker e ripristinati lato client
   per non alterare gli stili SPA quando l'utente cambia sezione senza reload. */

.mrg-seo-listing-summary{
  max-width:1180px;
  margin:14px auto 0;
  padding:16px 18px;
  border-radius:16px;
  background:rgba(3,29,42,.96);
  color:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}
.mrg-seo-listing-summary h2{
  margin:0 0 7px;
  font-size:clamp(1.25rem,3vw,1.9rem);
  line-height:1.12;
}
.mrg-seo-listing-summary p{
  margin:0;
  color:rgba(255,255,255,.82);
  line-height:1.5;
  font-size:.96rem;
}
.mrg-seo-listing-summary .mrg-seo-meta{
  margin-top:8px;
  font-weight:800;
  color:#fff;
  font-size:.9rem;
}
@media(max-width:820px){
  .mrg-seo-listing-summary{margin:10px 14px 0;padding:14px 15px;border-radius:14px}
  .mrg-seo-listing-summary p{font-size:.9rem}
}
/* MovRentGo V94.17 — breadcrumb pubblico compatto. */
.mrg-seo-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:10px max(24px,calc((100vw - 1180px)/2));
  border-bottom:1px solid #e4e7ec;
  background:#fff;
  color:#667085;
  font-size:12px;
  line-height:1.3;
  overflow-x:auto;
  white-space:nowrap;
  scrollbar-width:none;
}
.mrg-seo-breadcrumb::-webkit-scrollbar{display:none}
.mrg-seo-breadcrumb a{
  color:#475467;
  text-decoration:none;
  font-weight:800;
}
.mrg-seo-breadcrumb a:hover{color:#1168ff}
.mrg-seo-breadcrumb-sep{color:#98a2b3}
.mrg-seo-breadcrumb-current{color:#101828;font-weight:900}
@media(max-width:820px){
  .mrg-seo-breadcrumb{
    min-height:38px;
    padding:9px 14px;
    font-size:11px;
  }
}
/* MovRentGo V94.18 — contenuto utile per landing locali. */
.mrg-seo-local-landing{
  background:#f8fafc;
  border-bottom:1px solid #e4e7ec;
  padding:22px 24px;
}
.mrg-seo-local-inner{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px;
  align-items:center;
}
.mrg-seo-local-kicker{
  display:block;
  margin-bottom:6px;
  color:#1168ff;
  font-size:10px;
  font-weight:950;
  letter-spacing:.12em;
}
.mrg-seo-local-copy h2{
  margin:0 0 8px;
  color:#101828;
  font-size:clamp(24px,3vw,34px);
  line-height:1.08;
}
.mrg-seo-local-copy p{
  max-width:760px;
  margin:0;
  color:#475467;
  font-size:13px;
  line-height:1.65;
}
.mrg-seo-related{
  min-width:250px;
  padding:14px;
  border:1px solid #d0d5dd;
  border-radius:14px;
  background:#fff;
}
.mrg-seo-related>span{
  display:block;
  margin-bottom:8px;
  color:#667085;
  font-size:10px;
  font-weight:900;
}
.mrg-seo-related>div{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.mrg-seo-related a{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:6px 10px;
  border-radius:999px;
  background:#eef4ff;
  color:#175cd3;
  text-decoration:none;
  font-size:10px;
  font-weight:900;
}
.mrg-seo-related a:hover{background:#dbe8ff}
@media(max-width:820px){
  .mrg-seo-local-landing{padding:18px 14px}
  .mrg-seo-local-inner{grid-template-columns:1fr;gap:14px}
  .mrg-seo-related{min-width:0}
  .mrg-seo-local-copy p{font-size:12px;line-height:1.55}
}
/* MovRentGo V94.23 · Home category commercial priority
   Home only: Nautica → Tour → Moto → E-bike.
   Pure visual ordering: routes, click handlers and marketplace logic remain unchanged. */

/* Header category navigation while Home V2 is active. */
body.mrg-home-v2-active header > nav #navHome{order:0}
body.mrg-home-v2-active header > nav #navNautica{order:1}
body.mrg-home-v2-active header > nav #navTour{order:2}
body.mrg-home-v2-active header > nav #navRenter{order:3}
body.mrg-home-v2-active header > nav #navEbike{order:4}
body.mrg-home-v2-active header > nav #navOwner{order:5}

/* Home commercial category cards. */
#mrgHomeV2 .mrg2-categories .mrg2-cat-nautica{order:1}
#mrgHomeV2 .mrg2-categories .mrg2-cat-tour{order:2}
#mrgHomeV2 .mrg2-categories .mrg2-cat-moto{order:3}
#mrgHomeV2 .mrg2-categories .mrg2-cat-ebike{order:4}
/* MovRentGo V94.25 · Tour discovery redesign
   Solo presentazione/UX della sezione Tour pubblica. Nessuna modifica a booking/checkout. */

#mrgTourDiscoveryV9425{
  background:#fff;
  padding:68px 24px 34px;
  border-bottom:1px solid #edf1f3;
}
#mrgTourDiscoveryV9425 .mrg-tour-discovery-shell{
  width:min(1240px,100%);
  margin:0 auto;
}
#mrgTourDiscoveryV9425 .mrg-tour-discovery-head{
  text-align:center;
  max-width:900px;
  margin:0 auto;
}
#mrgTourDiscoveryV9425 .mrg-tour-discovery-head h2{
  margin:0;
  color:#07291b;
  font-size:clamp(42px,5vw,66px);
  line-height:.98;
  letter-spacing:-2.4px;
  font-weight:950;
}
#mrgTourDiscoveryV9425 .mrg-tour-discovery-head p{
  margin:15px auto 0;
  color:#5d6b65;
  font-size:16px;
  line-height:1.55;
  max-width:760px;
}
.mrg-tour-discovery-tabs{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:26px;
  flex-wrap:wrap;
  margin:30px auto 18px;
}
.mrg-tour-discovery-tab{
  border:0;
  background:transparent;
  color:#102d20;
  padding:7px 1px 10px;
  border-bottom:2px solid transparent;
  font-size:15px;
  font-weight:850;
  cursor:pointer;
}
.mrg-tour-discovery-tab:hover,
.mrg-tour-discovery-tab.active{
  color:#076f7d;
  border-bottom-color:#076f7d;
}

/* La search storica viene spostata qui: stessi input/id/funzioni. */
#mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425{
  width:min(1180px,100%);
  max-width:none!important;
  margin:20px auto 0!important;
  padding:9px!important;
  display:grid!important;
  grid-template-columns:minmax(320px,1.55fr) minmax(190px,.78fr) minmax(220px,.92fr) 160px!important;
  gap:0!important;
  background:#fff!important;
  border:1px solid #9eaaa3!important;
  border-radius:999px!important;
  box-shadow:0 8px 24px rgba(16,24,40,.11)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  overflow:visible;
}
#mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 label{
  min-width:0;
  min-height:72px;
  margin:0!important;
  padding:10px 17px!important;
  display:flex!important;
  justify-content:center;
  gap:5px!important;
  border:0!important;
  border-right:1px solid #e3e8e5!important;
  border-radius:0!important;
  background:#fff!important;
  color:#102d20!important;
  box-shadow:none!important;
  text-transform:none!important;
}
#mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 label:first-child{
  border-radius:999px 0 0 999px!important;
}
#mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 .tour-field-title,
#mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 label>span{
  color:#153a2a!important;
  font-size:11px!important;
  font-weight:950!important;
  letter-spacing:.015em!important;
  text-transform:uppercase!important;
}
#mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 .tour-field-help{
  display:none!important;
}
#mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 input,
#mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 select{
  width:100%;
  min-width:0;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:#14261d!important;
  font-size:16px!important;
  font-weight:700;
  color-scheme:light!important;
}
#mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 #tourQuery{
  font-size:18px!important;
  font-weight:750;
}
#mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 input::placeholder{
  color:#87938d!important;
  opacity:1;
}
#mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 select option{
  color:#101828!important;
  background:#fff;
}
#mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 .tour-location-control{
  gap:8px;
}
#mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 .tour-anywhere-btn{
  min-height:34px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  border:1px solid #9bdfe7!important;
  background:#e9fbfd!important;
  color:#087783!important;
  box-shadow:none!important;
  font-size:11px!important;
  white-space:nowrap;
}
#mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 .tour-anywhere-btn.active{
  background:#087e8b!important;
  border-color:#087e8b!important;
  color:#fff!important;
}
#mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425>button{
  min-height:72px!important;
  height:auto!important;
  margin:0!important;
  border:0!important;
  border-radius:999px!important;
  padding:0 20px!important;
  background:#0aa8be!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:950!important;
  box-shadow:none!important;
}
#mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425>button:hover{
  filter:brightness(.96);
  transform:translateY(-1px);
}

/* Hero più editoriale: la ricerca vive sotto, in bianco. */
#tourView .tour-hero{
  min-height:500px;
}
#tourView .tour-hero .tour-search{
  /* fallback: finché JS non la sposta non lampeggia con il vecchio stile */
}

/* Intro categorie */
#tourView .tour-main{
  padding-top:48px!important;
}
#tourView .tour-title{
  max-width:980px;
  margin-bottom:24px;
}
#tourView .tour-title small{
  color:#087e8b!important;
}
#tourView .tour-title h2{
  margin:8px 0 10px!important;
  font-size:clamp(34px,4vw,48px)!important;
  line-height:1.02;
  letter-spacing:-1.4px;
  color:#10251b;
}
#tourView .tour-title p{
  font-size:15px;
  line-height:1.6;
  max-width:760px!important;
}

/* Categorie fotografiche */
#tourView .tour-categories.mrg-tour-categories-v9425{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  margin:26px 0 42px!important;
}
#tourView .tour-categories.mrg-tour-categories-v9425 .tour-category{
  position:relative;
  isolation:isolate;
  min-width:0;
  height:220px;
  overflow:hidden;
  border:0!important;
  border-radius:20px!important;
  padding:0!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:flex-start!important;
  text-align:left!important;
  color:#fff!important;
  background-color:#0a3b46!important;
  background-image:
    linear-gradient(180deg,rgba(3,14,18,.04) 18%,rgba(3,14,18,.22) 53%,rgba(3,14,18,.88) 100%),
    var(--mrg-tour-cat-bg)!important;
  background-size:cover!important;
  background-position:var(--mrg-tour-cat-pos,center)!important;
  box-shadow:0 10px 28px rgba(16,24,40,.12)!important;
  transform:none!important;
  transition:transform .18s ease,box-shadow .18s ease,outline-color .18s ease;
}
#tourView .tour-categories.mrg-tour-categories-v9425 .tour-category:hover{
  transform:translateY(-3px)!important;
  box-shadow:0 16px 34px rgba(16,24,40,.18)!important;
}
#tourView .tour-categories.mrg-tour-categories-v9425 .tour-category.active{
  outline:4px solid rgba(8,167,194,.28)!important;
  outline-offset:2px;
  box-shadow:0 14px 34px rgba(8,126,139,.24)!important;
}
.mrg-tour-cat-copy{
  position:relative;
  z-index:2;
  display:grid;
  gap:5px;
  width:100%;
  padding:22px;
  text-shadow:0 2px 14px rgba(0,0,0,.55);
}
.mrg-tour-cat-copy b{
  font-size:24px;
  line-height:1;
  letter-spacing:-.5px;
}
.mrg-tour-cat-copy small{
  color:#f2fbfc;
  font-size:12px;
  line-height:1.35;
  font-weight:750;
}
.mrg-tour-cat-arrow{
  position:absolute;
  z-index:3;
  top:14px;
  right:14px;
  width:38px;
  height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.88);
  color:#0c4a54;
  font-size:19px;
  font-weight:900;
  backdrop-filter:blur(6px);
}

@media(max-width:980px){
  #mrgTourDiscoveryV9425{
    padding:54px 18px 28px;
  }
  #mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425{
    border-radius:24px!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    padding:10px!important;
  }
  #mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 label,
  #mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 label:first-child{
    min-height:76px;
    border:1px solid #e0e7e3!important;
    border-radius:16px!important;
  }
  #mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425>button{
    min-height:58px!important;
    border-radius:16px!important;
    grid-column:1/-1;
  }
  #tourView .tour-categories.mrg-tour-categories-v9425{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:700px){
  #mrgTourDiscoveryV9425{
    padding:42px 14px 24px;
  }
  #mrgTourDiscoveryV9425 .mrg-tour-discovery-head h2{
    font-size:clamp(38px,12vw,52px);
    letter-spacing:-1.8px;
  }
  #mrgTourDiscoveryV9425 .mrg-tour-discovery-head p{
    font-size:14px;
  }
  .mrg-tour-discovery-tabs{
    justify-content:flex-start;
    flex-wrap:nowrap;
    gap:19px;
    overflow-x:auto;
    padding:2px 2px 8px;
    margin-top:24px;
    scrollbar-width:none;
  }
  .mrg-tour-discovery-tabs::-webkit-scrollbar{display:none}
  .mrg-tour-discovery-tab{
    flex:0 0 auto;
    font-size:14px;
  }
  #mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425{
    grid-template-columns:1fr!important;
    border-radius:22px!important;
    box-shadow:0 8px 22px rgba(16,24,40,.10)!important;
  }
  #mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 label,
  #mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425 label:first-child{
    width:100%!important;
    min-height:72px;
    border-radius:14px!important;
  }
  #mrgTourDiscoveryV9425 .tour-search.mrg-tour-search-v9425>button{
    width:100%!important;
    grid-column:auto;
  }
  #tourView .tour-main{
    padding-top:36px!important;
  }
  #tourView .tour-categories.mrg-tour-categories-v9425{
    display:flex!important;
    gap:12px!important;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding:4px 2px 14px;
    margin-right:-14px!important;
    scrollbar-width:none;
  }
  #tourView .tour-categories.mrg-tour-categories-v9425::-webkit-scrollbar{display:none}
  #tourView .tour-categories.mrg-tour-categories-v9425 .tour-category{
    flex:0 0 min(78vw,320px);
    height:190px;
    scroll-snap-align:start;
  }
  .mrg-tour-cat-copy{padding:19px}
  .mrg-tour-cat-copy b{font-size:22px}
}
/* MovRentGo V94.27 · Tour permalink = pagina dedicata */
body.mrg-tour-detail-page-active{
  overflow:auto!important;
  background:#fff!important;
}
body.mrg-tour-detail-page-active #tourView{
  display:none!important;
}
body.mrg-tour-detail-page-active #tourDetailLayer{
  position:relative!important;
  inset:auto!important;
  display:block!important;
  min-height:calc(100vh - 90px);
  padding:0!important;
  background:#fff!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  z-index:1!important;
}
body.mrg-tour-detail-page-active #tourDetailLayer .tour-detail-card{
  width:min(1240px,100%)!important;
  max-height:none!important;
  min-height:calc(100vh - 90px);
  margin:0 auto!important;
  overflow:visible!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
}
body.mrg-tour-detail-page-active #tourDetailContent{
  max-height:none!important;
  overflow:visible!important;
  overscroll-behavior:auto!important;
}
body.mrg-tour-detail-page-active .tour-detail-close{
  display:none!important;
}
body.mrg-tour-detail-page-active .tour-detail-gallery{
  border-radius:22px;
  overflow:hidden;
  margin:0 24px;
}
body.mrg-tour-detail-page-active .tour-detail-main-image{
  height:clamp(390px,50vw,620px)!important;
}
body.mrg-tour-detail-page-active .tour-detail-body{
  padding:36px 24px 54px!important;
}
body.mrg-tour-detail-page-active .tour-detail-layout{
  grid-template-columns:minmax(0,1.55fr) minmax(320px,.72fr)!important;
  gap:36px!important;
}
body.mrg-tour-detail-page-active .tour-detail-book-panel{
  top:110px!important;
}

#mrgTourPageTopbar{
  width:min(1192px,calc(100% - 48px));
  margin:0 auto;
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid #e7ece9;
  color:#667085;
  font-size:13px;
}
#mrgTourPageTopbar a{
  color:#0b6671;
  text-decoration:none;
  font-weight:900;
  font-size:14px;
}
#mrgTourPageTopbar a:hover{text-decoration:underline}

#mrgTourRecommendations{
  border-top:1px solid #e4e7ec;
  padding:54px 24px 80px;
  background:#f8faf9;
}
#mrgTourRecommendations .mrg-tour-rec-head{
  width:min(1192px,100%);
  margin:0 auto 24px;
}
#mrgTourRecommendations .mrg-tour-rec-head small{
  color:#087e8b;
  font-size:11px;
  font-weight:950;
  letter-spacing:.13em;
}
#mrgTourRecommendations .mrg-tour-rec-head h2{
  margin:7px 0 8px;
  color:#10251b;
  font-size:clamp(30px,3.2vw,42px);
  line-height:1.04;
  letter-spacing:-1.2px;
}
#mrgTourRecommendations .mrg-tour-rec-head p{
  margin:0;
  color:#667085;
}
.mrg-tour-rec-grid{
  width:min(1192px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.mrg-tour-rec-loading{
  grid-column:1/-1;
  padding:28px;
  border:1px dashed #cbd5d1;
  border-radius:16px;
  text-align:center;
  color:#667085;
  background:#fff;
}
.mrg-tour-rec-card{
  min-width:0;
  overflow:hidden;
  border:1px solid #e1e8e4;
  border-radius:18px;
  background:#fff;
  color:#101828;
  text-decoration:none;
  box-shadow:0 8px 22px rgba(16,24,40,.06);
  transition:transform .18s ease,box-shadow .18s ease;
}
.mrg-tour-rec-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(16,24,40,.11);
}
.mrg-tour-rec-image{
  height:170px;
  background:linear-gradient(145deg,#0e7490,#164e63);
  background-size:cover;
  background-position:center;
}
.mrg-tour-rec-body{
  padding:15px 15px 17px;
}
.mrg-tour-rec-body>small{
  display:block;
  color:#667085;
  font-size:11px;
  margin-bottom:7px;
}
.mrg-tour-rec-body h3{
  margin:0;
  font-size:17px;
  line-height:1.2;
  min-height:41px;
  color:#10251b;
}
.mrg-tour-rec-meta{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid #edf1ef;
  color:#667085;
  font-size:11px;
}
.mrg-tour-rec-meta strong{
  flex:0 0 auto;
  color:#087e8b;
  font-size:17px;
}

@media(max-width:980px){
  body.mrg-tour-detail-page-active .tour-detail-layout{
    grid-template-columns:1fr!important;
  }
  body.mrg-tour-detail-page-active .tour-detail-book-panel{
    position:static!important;
  }
  .mrg-tour-rec-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:620px){
  body.mrg-tour-detail-page-active #tourDetailLayer{
    min-height:100vh;
  }
  body.mrg-tour-detail-page-active #tourDetailLayer .tour-detail-card{
    min-height:100vh;
    height:auto!important;
  }
  #mrgTourPageTopbar{
    width:calc(100% - 28px);
    min-height:58px;
    font-size:11px;
  }
  #mrgTourPageTopbar span{display:none}
  body.mrg-tour-detail-page-active .tour-detail-gallery{
    margin:0!important;
    border-radius:0!important;
  }
  body.mrg-tour-detail-page-active .tour-detail-main-image{
    height:310px!important;
  }
  body.mrg-tour-detail-page-active .tour-detail-body{
    padding:24px 16px 36px!important;
  }
  #mrgTourRecommendations{
    padding:38px 14px 56px;
  }
  .mrg-tour-rec-grid{
    display:flex;
    overflow-x:auto;
    gap:12px;
    scroll-snap-type:x mandatory;
    padding-bottom:12px;
    scrollbar-width:none;
  }
  .mrg-tour-rec-grid::-webkit-scrollbar{display:none}
  .mrg-tour-rec-card{
    flex:0 0 min(78vw,310px);
    scroll-snap-align:start;
  }
  .mrg-tour-rec-image{height:165px}
}
/* MovRentGo V94.28 · Moto/E-bike/Nautica permalink = pagina dedicata */
body.mrg-road-detail-page-active,
body.mrg-nautica-detail-page-active{
  background:#fff!important;
}

/* I vecchi overlay diventano una vera superficie pagina sotto l'header. */
body.mrg-road-detail-page-active #detailModal,
body.mrg-nautica-detail-page-active #nauticaDetailLayer{
  position:fixed!important;
  inset:90px 0 0!important;
  z-index:59!important;
  display:block!important;
  padding:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  background:#fff!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.mrg-road-detail-page-active #detailModal{
  place-items:initial!important;
}
body.mrg-nautica-detail-page-active #nauticaDetailLayer{
  align-items:initial!important;
  justify-content:initial!important;
}

body.mrg-road-detail-page-active #detailModal .detail-card,
body.mrg-nautica-detail-page-active #nauticaDetailLayer .nautica-detail-modal{
  width:min(1240px,100%)!important;
  max-width:1240px!important;
  max-height:none!important;
  min-height:calc(100vh - 90px)!important;
  height:auto!important;
  margin:0 auto!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
  background:#fff!important;
}
body.mrg-road-detail-page-active #detailContent,
body.mrg-nautica-detail-page-active #nauticaDetailContent{
  max-height:none!important;
  height:auto!important;
  overflow:visible!important;
}

/* L'X apparteneva al modal: sulla pagina dedicata resta solo il vero tasto Indietro. */
body.mrg-road-detail-page-active #detailModal .detail-close,
body.mrg-nautica-detail-page-active #nauticaDetailLayer .nautica-detail-close,
body.mrg-nautica-detail-page-active #nauticaDetailLayer [onclick*="closeNauticaDetails"].nautica-detail-close{
  display:none!important;
}

.mrg-listing-page-topbar{
  width:min(1192px,calc(100% - 48px));
  margin:0 auto;
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid #e7ece9;
  color:#667085;
  font-size:13px;
}
.mrg-listing-page-topbar a{
  color:#0b6671;
  text-decoration:none;
  font-weight:900;
  font-size:14px;
}
.mrg-listing-page-topbar a:hover{text-decoration:underline}

.mrg-listing-recommendations{
  margin-top:34px;
  border-top:1px solid #e4e7ec;
  padding:54px 24px 80px;
  background:#f8faf9;
}
.mrg-listing-rec-head{
  width:min(1192px,100%);
  margin:0 auto 24px;
}
.mrg-listing-rec-head small{
  color:#087e8b;
  font-size:11px;
  font-weight:950;
  letter-spacing:.13em;
}
.mrg-listing-rec-head h2{
  margin:7px 0 8px;
  color:#10251b;
  font-size:clamp(30px,3.2vw,42px);
  line-height:1.04;
  letter-spacing:-1.2px;
}
.mrg-listing-rec-head p{margin:0;color:#667085}
.mrg-listing-rec-grid{
  width:min(1192px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.mrg-listing-rec-loading{
  grid-column:1/-1;
  padding:28px;
  border:1px dashed #cbd5d1;
  border-radius:16px;
  text-align:center;
  color:#667085;
  background:#fff;
}
.mrg-listing-rec-card{
  min-width:0;
  overflow:hidden;
  border:1px solid #e1e8e4;
  border-radius:18px;
  background:#fff;
  color:#101828;
  text-decoration:none;
  box-shadow:0 8px 22px rgba(16,24,40,.06);
  transition:transform .18s ease,box-shadow .18s ease;
}
.mrg-listing-rec-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(16,24,40,.11);
}
.mrg-listing-rec-image{
  height:170px;
  background:linear-gradient(145deg,#0e7490,#164e63);
  background-size:cover;
  background-position:center;
}
.mrg-listing-rec-body{padding:15px 15px 17px}
.mrg-listing-rec-body>small{
  display:block;
  color:#667085;
  font-size:11px;
  margin-bottom:7px;
}
.mrg-listing-rec-body h3{
  margin:0;
  font-size:17px;
  line-height:1.2;
  min-height:41px;
  color:#10251b;
}
.mrg-listing-rec-meta{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid #edf1ef;
  color:#667085;
  font-size:11px;
}
.mrg-listing-rec-meta strong{
  flex:0 0 auto;
  color:#087e8b;
  font-size:16px;
  text-align:right;
}

@media(max-width:980px){
  .mrg-listing-rec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:800px){
  body.mrg-road-detail-page-active #detailModal,
  body.mrg-nautica-detail-page-active #nauticaDetailLayer{
    inset:76px 0 0!important;
  }
  body.mrg-road-detail-page-active #detailModal .detail-card,
  body.mrg-nautica-detail-page-active #nauticaDetailLayer .nautica-detail-modal{
    min-height:calc(100vh - 76px)!important;
  }
}

@media(max-width:620px){
  .mrg-listing-page-topbar{
    width:calc(100% - 28px);
    min-height:58px;
    font-size:11px;
  }
  .mrg-listing-page-topbar span{display:none}
  .mrg-listing-recommendations{padding:38px 14px 56px}
  .mrg-listing-rec-grid{
    display:flex;
    overflow-x:auto;
    gap:12px;
    scroll-snap-type:x mandatory;
    padding-bottom:12px;
    scrollbar-width:none;
  }
  .mrg-listing-rec-grid::-webkit-scrollbar{display:none}
  .mrg-listing-rec-card{
    flex:0 0 min(78vw,310px);
    scroll-snap-align:start;
  }
  .mrg-listing-rec-image{height:165px}
}
.mrg-listing-video-editor{grid-column:1/-1;width:100%;min-width:0;border:1px solid #d9e5ea;border-radius:16px;padding:18px;background:#f7fafb}
.mrg-listing-video-editor h3,.mrg-listing-video-public h3{margin:0 0 14px;color:#101828;font-size:18px}
.mrg-listing-video-editor h3 small{margin-left:6px;color:#667085;font-size:12px;font-weight:500}
.mrg-listing-video-inputs{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:14px;align-items:center}
.mrg-listing-video-inputs label{display:block;color:#344054;font-size:13px;font-weight:700;min-width:0}
.mrg-listing-video-inputs input{display:block;box-sizing:border-box;width:100%;margin-top:7px;border:1px solid #ccd8de;background:#fff;border-radius:10px;padding:11px;font:inherit;min-width:0}
.mrg-listing-video-or,.mrg-listing-video-help{color:#667085;font-size:12px;font-weight:400}
.mrg-listing-video-help{margin:10px 0;line-height:1.5}
.mrg-listing-video-preview:empty{display:none}
.mrg-listing-video-player{display:block;width:100%;max-height:480px;aspect-ratio:16/9;object-fit:contain;background:#082d3a;border-radius:12px}
.mrg-listing-video-embed{aspect-ratio:16/9;width:100%;background:#082d3a;border-radius:12px;overflow:hidden}
.mrg-listing-video-embed iframe{width:100%;height:100%;display:block;border:0}
.mrg-listing-video-play{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;width:100%;height:100%;padding:20px;background:#082d3a;color:#fff;border:0;font:inherit;font-weight:700;cursor:pointer}
.mrg-listing-video-play span{font-size:34px}
.mrg-listing-video-play:focus-visible,.mrg-listing-video-remove:focus-visible{outline:3px solid #0e7490;outline-offset:3px}
.mrg-listing-video-message{font-size:12px;color:#475467;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}
.mrg-listing-video-remove{border:1px solid #fecdca;border-radius:9px;padding:8px 12px;background:#fff;color:#b42318;font:inherit;font-size:12px;cursor:pointer}
.mrg-listing-video-remove[hidden],.mrg-listing-video-public[hidden]{display:none!important}
.mrg-listing-video-public{padding:20px 0}
#tourDetailContent>.mrg-listing-video-public{padding:24px 30px 0}
@media(max-width:600px){.mrg-listing-video-inputs{grid-template-columns:1fr;gap:8px}.mrg-listing-video-or{text-align:center}.mrg-listing-video-editor{padding:14px}#tourDetailContent>.mrg-listing-video-public{padding:18px 18px 0}}
/* MovRentGo V94.43 · Tratte e prezzi Tour */
.tour-route-owner-box{grid-column:1/-1;border:1px solid #b7dfe4;background:#f8feff;border-radius:16px;padding:14px}
.tour-route-owner-box h4{margin:0 0 5px;font-size:16px;color:#0b4d57}.tour-route-owner-box>p{margin:0 0 12px;font-size:12px;color:#667085;line-height:1.45}
#tourAddRouteOption{border:0;border-radius:12px;background:#087e8b;color:#fff;font-weight:900;padding:10px 13px;cursor:pointer}
#tourRouteOptionsList{display:grid;gap:10px;margin-top:12px}.tour-route-editor-row{border:1px solid #d0d5dd;background:#fff;border-radius:14px;padding:12px}
.tour-route-editor-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.tour-route-remove{border:0;background:#fff1f0;color:#b42318;border-radius:9px;padding:6px 9px;font-weight:800;cursor:pointer}
.tour-route-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.tour-route-grid label{font-size:11px;font-weight:800;color:#475467}
.tour-route-grid input,.tour-route-grid select{width:100%;margin-top:4px;border:1px solid #d0d5dd;border-radius:10px;padding:9px;background:#fff;font:inherit}.tour-route-summary-wrap{grid-column:1/-1}
.tour-route-picker{margin-bottom:12px;padding:12px;border:1px solid #b7dfe4;border-radius:13px;background:#f5fdff}.tour-route-picker label{font-weight:900;color:#0b4d57}
.tour-route-picker select{width:100%;margin-top:7px;border:1px solid #98a2b3;border-radius:11px;padding:11px;background:#fff;font-weight:800}
.tour-route-picker-note{font-size:11px;color:#667085;margin-top:6px}
@media(max-width:760px){.tour-route-grid{grid-template-columns:1fr 1fr}}@media(max-width:480px){.tour-route-grid{grid-template-columns:1fr}}/* MovRentGo V94.44 · Operatori gestiti */
.mrg-managed-activation{position:fixed;inset:0;z-index:2147483000;background:linear-gradient(145deg,#f0fbfc,#fff);display:grid;place-items:center;padding:20px}
.mrg-managed-card{width:min(620px,100%);background:#fff;border:1px solid #d0e8eb;border-radius:24px;box-shadow:0 24px 80px rgba(16,24,40,.16);padding:28px}
.mrg-managed-logo{font-size:14px;font-weight:950;letter-spacing:.04em;color:#087e8b;text-transform:uppercase}
.mrg-managed-card h1{font-size:30px;line-height:1.08;margin:10px 0;color:#101828}.mrg-managed-card p{color:#475467;line-height:1.55}
.mrg-managed-state{margin:18px 0;padding:13px 14px;border-radius:13px;background:#f2f4f7;color:#344054;font-weight:800}
#mrgManagedActivationActions{display:grid;gap:12px}#mrgManagedActivationActions button{border:0;border-radius:13px;padding:13px 16px;background:#087e8b;color:#fff;font-weight:900;font-size:15px;cursor:pointer}
.mrg-managed-check{display:flex;gap:10px;align-items:flex-start;background:#f8fafc;border:1px solid #eaecf0;border-radius:13px;padding:12px;color:#344054;font-size:13px;line-height:1.45}
#mrgManagedActivationActions small{color:#667085;line-height:1.45}
@media(max-width:600px){.mrg-managed-card{padding:21px}.mrg-managed-card h1{font-size:25px}}/* MovRentGo V94.30 · Staff Dashboard Cleanup */
#mrgStaffCleanNav{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:0 0 18px;padding:12px;background:#fff;border:1px solid #e4e7ec;border-radius:16px;box-shadow:0 8px 24px rgba(16,24,40,.05)}
#mrgStaffCleanNav button{border:1px solid #d0d5dd;background:#fff;color:#344054;border-radius:11px;padding:10px 14px;font-weight:900;cursor:pointer}
#mrgStaffCleanNav button.primary{background:#0b6cff;color:#fff;border-color:#0b6cff}
#mrgStaffCleanNav .mrg-staff-nav-spacer{flex:1}
#mrgStaffListingManager{background:#fff;border:1px solid #e4e7ec;border-radius:20px;padding:22px;box-shadow:0 14px 36px rgba(16,24,40,.06)}
.mrg-staff-manager-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}
.mrg-staff-manager-head h2{margin:0;font-size:28px;color:#101828}
.mrg-staff-manager-head p{margin:6px 0 0;color:#667085;font-size:13px;line-height:1.45}
.mrg-staff-manager-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:0 0 16px}
.mrg-staff-manager-stat{padding:12px;border:1px solid #e4e7ec;border-radius:13px;background:#f8fafc}
.mrg-staff-manager-stat span{display:block;font-size:9px;color:#667085;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.mrg-staff-manager-stat strong{display:block;margin-top:4px;font-size:22px;color:#101828}
.mrg-staff-manager-filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0 0 16px}
.mrg-staff-manager-filter{border:1px solid #d0d5dd;background:#fff;color:#344054;border-radius:999px;padding:8px 12px;font-size:11px;font-weight:900;cursor:pointer}
.mrg-staff-manager-filter.active{background:#101828;color:#fff;border-color:#101828}
.mrg-staff-manager-search{margin-left:auto;min-width:240px;border:1px solid #d0d5dd;border-radius:11px;padding:9px 11px;outline:none}
.mrg-staff-manager-grid{display:grid;gap:11px}
.mrg-staff-listing-row{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid #e4e7ec;border-radius:15px;padding:12px;background:#fff}
.mrg-staff-listing-thumb{width:92px;height:72px;border-radius:11px;overflow:hidden;background:#eef2f6;display:grid;place-items:center;color:#98a2b3;font-size:24px}
.mrg-staff-listing-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.mrg-staff-listing-main{min-width:0}
.mrg-staff-listing-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.mrg-staff-listing-kind{font-size:9px;font-weight:950;letter-spacing:.06em;text-transform:uppercase;color:#075dcc;background:#eef5ff;border-radius:999px;padding:5px 8px}
.mrg-staff-listing-status{font-size:9px;font-weight:900;border-radius:999px;padding:5px 8px;background:#f2f4f7;color:#475467}
.mrg-staff-listing-status.published{background:#ecfdf3;color:#027a48}.mrg-staff-listing-status.pending_review,.mrg-staff-listing-status.verification_pending,.mrg-staff-listing-status.pending,.mrg-staff-listing-status.revision{background:#fff7e8;color:#b54708}.mrg-staff-listing-status.removed,.mrg-staff-listing-status.paused,.mrg-staff-listing-status.rejected{background:#fef3f2;color:#b42318}
.mrg-staff-listing-main h3{margin:7px 0 4px;font-size:16px;color:#101828;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mrg-staff-listing-meta{display:flex;gap:12px;flex-wrap:wrap;color:#667085;font-size:10px}
.mrg-staff-listing-meta strong{color:#101828}
.mrg-staff-listing-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;max-width:360px}
.mrg-staff-listing-actions button{border:1px solid #d0d5dd;background:#fff;color:#344054;border-radius:9px;padding:8px 10px;font-size:10px;font-weight:900;cursor:pointer;white-space:nowrap}
.mrg-staff-listing-actions .edit{border-color:#84adff;color:#075dcc;background:#f5f8ff}.mrg-staff-listing-actions .remove{border-color:#fedf89;color:#b54708;background:#fffaeb}.mrg-staff-listing-actions .delete{border-color:#fda29b;color:#b42318;background:#fff5f4}
.mrg-staff-empty{padding:28px;text-align:center;border:1px dashed #d0d5dd;border-radius:14px;color:#667085;background:#f8fafc}
#mrgStaffAdvancedTools{margin-top:18px;border:1px solid #d0d5dd;border-radius:16px;background:#fff;overflow:hidden}
#mrgStaffAdvancedTools>summary{list-style:none;padding:16px 18px;font-weight:950;color:#344054;cursor:pointer;background:#f8fafc;display:flex;justify-content:space-between;align-items:center}
#mrgStaffAdvancedTools>summary::-webkit-details-marker{display:none}
#mrgStaffAdvancedTools>summary:after{content:'＋';font-size:20px}#mrgStaffAdvancedTools[open]>summary:after{content:'−'}
#mrgStaffAdvancedTools>.mrg-staff-advanced-inner{padding:0 18px 20px}
#mrgStaffAdvancedTools .staff-marketplace-section{margin-top:24px}
.mrg-staff-edit-modal{position:fixed;inset:0;z-index:120500;background:rgba(15,23,42,.68);display:grid;place-items:center;padding:18px}.mrg-staff-edit-modal.hidden{display:none}
.mrg-staff-edit-card{width:min(760px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 30px 80px rgba(0,0,0,.28);padding:22px}
.mrg-staff-edit-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:16px}.mrg-staff-edit-head h2{margin:0;color:#101828}.mrg-staff-edit-head p{margin:5px 0 0;color:#667085;font-size:11px}.mrg-staff-edit-close{border:0;width:36px;height:36px;border-radius:50%;background:#f2f4f7;font-size:20px}
.mrg-staff-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.mrg-staff-edit-field{border:1px solid #d0d5dd;border-radius:11px;padding:9px 11px}.mrg-staff-edit-field.full{grid-column:1/-1}.mrg-staff-edit-field label{display:block;font-size:9px;font-weight:900;color:#667085;margin-bottom:5px;text-transform:uppercase}.mrg-staff-edit-field input,.mrg-staff-edit-field select,.mrg-staff-edit-field textarea{width:100%;border:0;outline:0;background:transparent;color:#101828}.mrg-staff-edit-field textarea{min-height:110px;resize:vertical}
.mrg-staff-edit-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:16px;padding-top:14px;border-top:1px solid #eaecf0}.mrg-staff-edit-footer button{border:0;border-radius:10px;padding:11px 15px;font-weight:900}.mrg-staff-edit-cancel{background:#f2f4f7;color:#344054}.mrg-staff-edit-save{background:#0b6cff;color:#fff}.mrg-staff-edit-msg{margin-top:10px;color:#b42318;font-size:11px;min-height:16px}
@media(max-width:900px){.mrg-staff-manager-stats{grid-template-columns:repeat(2,1fr)}.mrg-staff-listing-row{grid-template-columns:76px 1fr}.mrg-staff-listing-thumb{width:76px;height:64px}.mrg-staff-listing-actions{grid-column:1/-1;justify-content:flex-start;max-width:none}.mrg-staff-manager-search{margin-left:0;flex:1 1 100%}}
@media(max-width:620px){#mrgStaffListingManager{padding:14px}.mrg-staff-manager-head{flex-direction:column}.mrg-staff-manager-head h2{font-size:23px}.mrg-staff-manager-stats{grid-template-columns:1fr 1fr}.mrg-staff-listing-row{grid-template-columns:1fr}.mrg-staff-listing-thumb{width:100%;height:150px}.mrg-staff-edit-grid{grid-template-columns:1fr}.mrg-staff-edit-field.full{grid-column:auto}#mrgStaffCleanNav .mrg-staff-nav-spacer{display:none}}
/* MovRentGo V94.31 · Home destination autocomplete */
.mrg2-location-field{position:relative;z-index:25}
.mrg2-location-suggestions{
  position:absolute;
  left:0;
  top:calc(100% + 12px);
  width:390px;
  max-width:min(440px,calc(100vw - 42px));
  max-height:330px;
  overflow:auto;
  display:none;
  padding:7px;
  border:1px solid #d8e5e7;
  border-radius:18px;
  background:#fff;
  box-shadow:0 22px 52px rgba(6,43,58,.20);
  z-index:100;
}
.mrg2-location-suggestions.show{display:block}
.mrg2-location-option{
  width:100%;
  min-height:58px;
  display:grid;
  grid-template-columns:30px 1fr 24px;
  gap:8px;
  align-items:center;
  border:0;
  border-radius:12px;
  padding:9px 10px;
  background:#fff;
  color:#173b45;
  text-align:left;
  cursor:pointer;
}
.mrg2-location-option:hover,.mrg2-location-option.active{background:#edf9f8}
.mrg2-location-pin{font-size:17px;text-align:center}
.mrg2-location-option strong{display:block;font-size:14px;line-height:1.2}
.mrg2-location-option small{display:block;margin-top:4px;color:#667d84;font-size:10px;font-weight:700}
.mrg2-location-arrow{color:#0b9c98;font-size:17px;font-weight:900}
.mrg2-location-empty{padding:13px 12px;color:#667d84;font-size:11px;line-height:1.45}
@media(max-width:820px){
  .mrg2-location-suggestions{left:0;right:0;width:100%;max-width:none;top:calc(100% + 8px);max-height:300px}
}
/* MovRentGo V94.37 · Conversion Funnel */
.mrg-publish-modal-open{overflow:hidden!important}
.mrg-publish-overlay{position:fixed;inset:0;z-index:120000;background:rgba(3,10,18,.74);display:grid;place-items:center;padding:18px}
.mrg-publish-overlay.hidden{display:none!important}
.mrg-publish-dialog{position:relative;width:min(620px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:24px;padding:28px;box-shadow:0 28px 90px rgba(0,0,0,.38);color:#101828}
.mrg-publish-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:#f2f4f7;color:#344054;font-size:26px;line-height:1}
.mrg-publish-kicker{color:#087e8b;font-size:11px;font-weight:950;letter-spacing:1.2px}
.mrg-publish-dialog h2{font-size:30px;margin:8px 42px 8px 0;letter-spacing:-.6px}
.mrg-publish-dialog>p{color:#667085;line-height:1.55;margin:0 0 18px}
.mrg-publish-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mrg-publish-grid button{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;text-align:left;border:1px solid #d0d5dd;border-radius:15px;background:#fff;padding:15px;cursor:pointer}
.mrg-publish-grid button:hover{border-color:#087e8b;background:#f0fdfa}
.mrg-publish-grid button>span{font-size:27px}.mrg-publish-grid button>b{font-size:15px}.mrg-publish-grid button>small{color:#087e8b;font-weight:900}
.mrg-publish-free{display:block;margin-top:16px;padding:10px 12px;background:#ecfdf3;border:1px solid #abefc6;border-radius:11px;color:#067647;font-weight:800}
.mrg-owner-terms{display:flex;align-items:flex-start;gap:9px;margin:16px 0;padding:13px;border:1px solid #d0d5dd;border-radius:12px;background:#f9fafb;font-size:12px;line-height:1.5}
.mrg-owner-terms input{margin-top:3px}.mrg-owner-terms button{border:0;background:transparent;color:#087e8b;font:inherit;font-weight:900;text-decoration:underline;padding:0}
.mrg-owner-activation-confirm{width:100%;border:0;border-radius:12px;background:#087e8b;color:#fff;padding:14px;font-weight:950}
.mrg-owner-activation-confirm:disabled{opacity:.48;cursor:not-allowed}
.mrg-owner-activation-msg{min-height:20px;font-size:12px;margin:8px 0;color:#667085}.mrg-owner-activation-msg.err{color:#b42318}
.mrg-tour-fast-intro{display:flex;flex-direction:column;gap:4px;background:#ecfdf3;border:1px solid #abefc6;border-radius:13px;padding:12px 14px;color:#067647}
.mrg-tour-fast-intro b{font-size:14px}.mrg-tour-fast-intro span{font-size:11px;line-height:1.45}
.mrg-tour-advanced{border:1px solid #d0d5dd;border-radius:13px;background:#f9fafb;padding:0;overflow:hidden}
.mrg-tour-advanced>summary{cursor:pointer;padding:13px 14px;font-size:12px;font-weight:950;color:#344054}
.mrg-tour-advanced-grid{padding:0 12px 12px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.mrg-tour-advanced-grid .field{background:#fff}
@media(max-width:680px){.mrg-publish-dialog{padding:22px 15px;border-radius:19px}.mrg-publish-dialog h2{font-size:26px}.mrg-publish-grid{grid-template-columns:1fr}.mrg-tour-advanced-grid{grid-template-columns:1fr}}
/* MovRentGo V94.39 · Unified access */
.mrg-existing-operator-login{
  margin:16px 0 10px;
  padding:14px 15px;
  border:1px solid #d0d5dd;
  border-radius:13px;
  background:#f8fafc;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:13px;
  color:#344054;
}
.mrg-existing-operator-login span{font-weight:700;line-height:1.35}
.mrg-existing-operator-login button{
  flex:0 0 auto;
  border:0;
  border-radius:10px;
  background:#101828;
  color:#fff;
  padding:10px 15px;
  font-weight:900;
  cursor:pointer;
}
@media(max-width:520px){
  .mrg-existing-operator-login{
    align-items:stretch;
    flex-direction:column;
  }
  .mrg-existing-operator-login button{width:100%}
}