/* GoRentHive experience layer: marketplace preview, empty states, motion and mobile ergonomics. */

/* Homepage marketplace preview */
.grh-hero-showcase{min-height:520px!important;padding:0!important;background:linear-gradient(145deg,#071a33 0%,#0d2d52 55%,#153f69 100%)!important;border-radius:32px!important;box-shadow:0 30px 70px rgba(7,26,51,.22)!important;overflow:hidden!important}
.grh-hero-showcase:before{content:""!important;position:absolute!important;inset:0!important;background:radial-gradient(circle at 90% 8%,rgba(255,190,20,.20),transparent 28%),radial-gradient(circle at 5% 95%,rgba(59,130,246,.12),transparent 28%)!important;z-index:0!important}
.grh-hero-showcase:after{content:""!important;position:absolute!important;width:240px!important;height:210px!important;right:-80px!important;bottom:-80px!important;background:rgba(255,184,0,.055)!important;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)!important;z-index:0!important}
.grh-market-preview{position:relative;z-index:2;height:100%;padding:34px;color:#fff;display:flex;flex-direction:column;isolation:isolate;animation:grhEnter .48s ease-out both}
.grh-market-preview:before{content:"";position:absolute;inset:-18px;border-radius:30px;background:radial-gradient(circle at 88% 8%,rgba(255,196,33,.18),transparent 30%),radial-gradient(circle at 8% 88%,rgba(74,144,226,.12),transparent 28%);z-index:-1;pointer-events:none}
.grh-market-topline{display:flex;align-items:center;justify-content:space-between;gap:18px}.grh-market-brand{display:flex;align-items:center;gap:13px}.grh-market-brand img{width:44px;height:44px;border-radius:12px;background:#fff;padding:3px;box-shadow:0 8px 20px rgba(0,0,0,.18)}.grh-market-brand div{display:flex;flex-direction:column;gap:3px}.grh-market-brand span{font-size:10px;font-weight:800;letter-spacing:.14em;color:#ffd34a}.grh-market-brand strong{font-size:20px;letter-spacing:-.02em;color:#fff}.grh-live-pill{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.07);border-radius:999px;font-size:11px;font-weight:700;color:#dbeafe;white-space:nowrap}.grh-live-pill i,.grh-showcase-dot{width:8px;height:8px;border-radius:50%;background:#34d399;box-shadow:0 0 0 5px rgba(52,211,153,.12);flex:none}
.grh-market-intro{margin:20px 0 22px;max-width:470px;color:#cbd9e9;font-size:13px;line-height:1.55}
.grh-rental-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.grh-rental-preview-card{display:grid;grid-template-columns:108px 1fr;min-height:148px;text-decoration:none;background:#fff;border:1px solid rgba(255,255,255,.2);border-radius:20px;overflow:hidden;box-shadow:0 14px 34px rgba(3,16,34,.16);transform:translateZ(0);transition:transform .18s ease,box-shadow .18s ease}.grh-rental-preview-card:hover{transform:translateY(-3px);box-shadow:0 20px 42px rgba(0,0,0,.22)}
.grh-preview-visual{position:relative;display:grid;place-items:center;align-content:center;gap:10px;color:#0b1f3a;overflow:hidden;min-height:142px}.grh-preview-visual:before,.grh-preview-visual:after{content:"";position:absolute;border-radius:999px;pointer-events:none}.grh-preview-visual:before{width:130px;height:130px;right:-34px;top:-42px;background:rgba(255,255,255,.14)}.grh-preview-visual:after{width:74px;height:74px;left:-16px;bottom:-25px;background:rgba(255,184,0,.12)}.grh-preview-camera{background:linear-gradient(145deg,#ffd34a,#ffb800)}.grh-preview-tools{background:linear-gradient(145deg,#e7eef6,#c9d8e8)}.grh-preview-visual svg{position:relative;z-index:2;width:58px;height:58px;fill:none;stroke:currentColor;stroke-width:1.6;filter:drop-shadow(0 10px 18px rgba(0,0,0,.16))}.grh-preview-visual>span{position:relative;z-index:2;font-size:9px;font-weight:900;letter-spacing:.14em}
.grh-preview-photo{position:relative;min-height:142px;background:#dbe4ee;overflow:hidden}.grh-preview-photo img{width:100%;height:100%;min-height:142px;object-fit:cover;display:block;transition:transform .35s ease}.grh-rental-preview-card:hover .grh-preview-photo img{transform:scale(1.035)}.grh-preview-photo:after{content:"REAL LISTING";position:absolute;left:8px;bottom:8px;padding:5px 7px;border-radius:999px;background:rgba(7,26,51,.82);color:#fff;font-size:8px;font-weight:900;letter-spacing:.11em;backdrop-filter:blur(8px)}
.grh-preview-body{padding:20px 16px;display:flex;flex-direction:column;min-width:0}.grh-preview-body strong{color:#0b1f3a;font-size:14px;line-height:1.25}.grh-preview-body>span{margin-top:5px;color:#718096;font-size:10px}.grh-preview-body>div{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:14px;border-top:1px solid #edf1f5}.grh-preview-body b{font-size:10px;color:#a96f00}.grh-preview-body em{font-style:normal;color:#0b1f3a;font-size:18px}.grh-preview-price{font-size:10px!important;color:#0b1f3a!important;font-weight:800}.grh-preview-price span{color:#6f7f91;font-weight:600}
.grh-market-categories{display:flex;align-items:center;gap:8px;margin-top:15px;flex-wrap:wrap}.grh-market-categories>span{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#91a8c1;font-weight:800;margin-right:2px}.grh-market-categories a{display:inline-flex;align-items:center;gap:5px;color:#e7eef7;text-decoration:none;font-size:10px;font-weight:700;padding:7px 9px;border:1px solid rgba(255,255,255,.11);border-radius:999px;background:rgba(255,255,255,.055)}.grh-market-categories a:hover{background:rgba(255,184,0,.14);border-color:rgba(255,184,0,.35);color:#ffd34a}.grh-market-categories svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8}
.grh-market-location{display:flex;align-items:flex-start;gap:12px;margin-top:auto;padding:17px 18px;border-radius:16px;background:rgba(4,18,36,.36);border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}.grh-market-location .grh-showcase-dot{margin-top:5px}.grh-market-location div{display:flex;flex-direction:column;gap:3px}.grh-market-location strong{font-size:11px;color:#fff}.grh-market-location small{font-size:9px;line-height:1.45;color:#aebfd2}
.grh-search-wrap{margin-top:-52px!important}.grh-search-panel{box-shadow:0 22px 55px rgba(7,26,51,.18)!important}

/* Guided empty states */
.empty,.grh-empty-location{border:1px dashed #cbd7e5!important;border-radius:20px!important;background:linear-gradient(145deg,#fff 0%,#f8fbff 68%,#fff9e9 100%)!important;box-shadow:0 12px 34px rgba(11,31,58,.06)!important}
.empty{max-width:720px;margin:28px auto!important;padding:34px 28px!important;text-align:center}.empty .em{display:grid!important;place-items:center;width:64px;height:64px;margin:0 auto 14px!important;border-radius:18px;background:#fff4c7;font-size:30px!important;box-shadow:0 8px 22px rgba(11,31,58,.08)}.empty h3{margin:0 0 8px;font-size:20px}.empty p{max-width:560px;margin:0 auto 16px!important;line-height:1.65}
.grh-empty-location{padding:28px 22px!important;text-align:center!important;line-height:1.6!important}.grh-empty-location:before{content:"⌖";display:grid;width:56px;height:56px;place-items:center;margin:0 auto 12px;border-radius:18px;background:linear-gradient(145deg,#fff2bd,#fff8df);color:var(--grh-navy);font-size:27px;font-weight:800;box-shadow:0 8px 22px rgba(11,31,58,.08)}.grh-empty-location:after{content:"Use “Add location” above to verify your GPS and place a private pin for accurate nearby results.";display:block;max-width:470px;margin:8px auto 0;color:var(--grh-muted);font-size:12px;line-height:1.55}

/* Depth and motion */
.grh-trust-row>div,.grh-category-card,.grh-owner-strip,.grh-profile-photo-card,.grh-location-card{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.grh-trust-row>div:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(11,31,58,.07)}.grh-category-card:hover{transform:translateY(-3px)}
@keyframes grhEnter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}

/* Grab-like map picker polish */
.grh-map-shell{box-shadow:0 14px 34px rgba(11,31,58,.12)}.grh-location-map{min-height:360px;background:#eaf0f5}.grh-map-status{display:flex;align-items:center;min-height:44px}.grh-location-form-actions .btn{min-height:44px}

/* Mobile guest navigation: Log in + Sign up stay visible without opening a menu. */
@media(max-width:820px){
  .topnav-inner:has(.nav-links a[href="/login"]){flex-wrap:nowrap!important;gap:8px!important}
  .topnav-inner:has(.nav-links a[href="/login"]) .brand.brand-refresh,
  .topnav-inner:has(.nav-links a[href="/login"]) .grh-brand{min-width:0!important;flex:0 1 auto!important}
  .topnav-inner:has(.nav-links a[href="/login"]) .brand-refresh-logo,
  .topnav-inner:has(.nav-links a[href="/login"]) .grh-wordmark{width:128px!important;max-width:100%!important}
  .topnav-inner:has(.nav-links a[href="/login"]) .menu-toggle{display:none!important}
  .topnav-inner:has(.nav-links a[href="/login"]) .nav-links{display:flex!important;width:auto!important;flex:0 0 auto!important;flex-direction:row!important;align-items:center!important;margin-left:auto!important;gap:6px!important}
  .topnav-inner:has(.nav-links a[href="/login"]) .nav-links .nav-link-pad{display:flex!important;width:auto!important;flex-direction:row!important;align-items:center!important;gap:6px!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
  .topnav-inner:has(.nav-links a[href="/login"]) .nav-links a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:8px 10px!important;font-size:13px!important;white-space:nowrap!important}
}
@media(max-width:520px){
  .topnav-inner:has(.nav-links a[href="/login"]) .brand-refresh-logo,
  .topnav-inner:has(.nav-links a[href="/login"]) .grh-wordmark{width:104px!important}
  .topnav-inner:has(.nav-links a[href="/login"]) .nav-links a{min-height:38px!important;padding:7px 8px!important;font-size:12.5px!important}
  .topnav-inner:has(.nav-links a[href="/login"]) .brand-cta{font-size:0!important}
  .topnav-inner:has(.nav-links a[href="/login"]) .brand-cta::after{content:"Sign up";font-size:12.5px!important;line-height:1}
}

@media(max-width:1100px){.grh-hero-showcase{min-height:500px!important}.grh-market-preview{padding:28px}.grh-rental-preview-card{grid-template-columns:90px 1fr}.grh-market-brand strong{font-size:18px}}
@media(max-width:760px){.grh-home-hero{padding-bottom:18px!important}.grh-search-wrap{margin-top:18px!important}.grh-search-panel{grid-template-columns:1fr!important;gap:0!important;padding:8px!important;border-radius:20px!important;box-shadow:0 16px 42px rgba(7,26,51,.14)!important}.grh-search-field{min-height:66px!important;border-right:0!important;border-bottom:1px solid var(--grh-line)!important;padding:10px 12px!important}.grh-search-field:nth-of-type(3){border-bottom:0!important}.grh-search-button{width:100%!important;min-height:52px!important;margin-top:6px!important;border-radius:14px!important}.grh-rental-preview-grid{grid-template-columns:1fr!important}.grh-market-categories{overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap!important;padding-bottom:3px}.grh-market-categories::-webkit-scrollbar{display:none}.grh-market-categories a{flex:0 0 auto}}
@media(max-width:700px){.grh-hero-showcase{min-height:auto!important;border-radius:24px!important}.grh-market-preview{padding:24px 20px;min-height:520px}.grh-market-topline{align-items:flex-start}.grh-live-pill{font-size:9px;padding:7px 9px}.grh-market-brand strong{font-size:17px}.grh-market-intro{margin:16px 0 18px}.grh-rental-preview-grid{grid-template-columns:1fr;gap:10px}.grh-rental-preview-card{grid-template-columns:90px 1fr;min-height:118px}.grh-preview-photo,.grh-preview-photo img,.grh-preview-visual{min-height:118px}.grh-preview-body{padding:15px}.grh-market-categories{margin:13px 0 16px}.grh-market-location{margin-top:0}}
@media(max-width:420px){.wrap{width:min(100% - 22px,1180px)!important}.grh-home-hero{padding-top:26px!important}.grh-hero-copy{padding:18px 0 22px!important}.grh-hero-copy h1{font-size:clamp(38px,12vw,52px)!important;line-height:1.01!important}.grh-hero-sub{font-size:16px!important;line-height:1.55!important}.grh-trust-row{grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:24px!important}.grh-trust-row>div{grid-template-columns:38px 1fr!important;padding:7px!important}.grh-trust-row span{width:38px!important;height:38px!important}.grh-hero-showcase{border-radius:22px!important}.grh-market-preview{padding:20px 16px}.grh-market-topline{align-items:flex-start!important;gap:8px!important}.grh-market-brand img{width:38px!important;height:38px!important}.grh-market-brand strong{font-size:16px!important}.grh-live-pill{display:none}.grh-market-intro{font-size:12px!important;line-height:1.5!important}.grh-rental-preview-card{grid-template-columns:78px 1fr}.grh-preview-photo,.grh-preview-photo img,.grh-preview-visual{min-height:112px!important}.grh-preview-body{padding:13px!important}.grh-market-categories>span{width:100%}.grh-search-wrap{margin-top:14px!important}.grh-search-panel{border-radius:18px!important}.grh-location-form-head{gap:10px!important;flex-direction:column!important;align-items:stretch!important}#grh-use-current-location{width:100%!important}.grh-location-map{min-height:300px!important;height:300px!important}.grh-map-shell{border-radius:18px!important;overflow:hidden!important}.grh-location-form-actions{display:flex!important;flex-direction:column-reverse!important;gap:8px!important}.grh-location-form-actions .btn{width:100%!important;min-height:48px!important}.grh-saved-location{grid-template-columns:1fr!important}.grh-location-pin{margin-bottom:-4px}.grh-location-actions{grid-column:auto!important;justify-content:stretch!important}.grh-location-actions .btn{flex:1 1 100%;min-height:42px}}
