/* RC7.20 — mobilni landscape: pregled oglasa bez zauzimanja celog ekrana */
@media (orientation:landscape) and (max-height:600px) and (max-width:1100px){
  body:has(.listing-page){padding-bottom:102px!important}
  body:has(.listing-page) .site-header{height:48px!important}
  body:has(.listing-page) .header-row{gap:10px!important}
  body:has(.listing-page) .brand img{width:118px!important;max-height:38px!important}
  body:has(.listing-page) .header-actions .btn{min-height:34px!important;padding:6px 9px!important;font-size:11px!important}
  body:has(.listing-page) .container{width:min(calc(100% - 18px),var(--max))!important}
  body:has(.listing-page) .listing-gallery{height:min(58vh,220px)!important}
  body:has(.listing-page) .epsilon-gallery-auto-title h1{font-size:24px!important}

  .epsilon-floating-gallery{top:48px!important;left:0!important;width:100%!important;height:68px!important;grid-template-columns:24px 86px minmax(0,1fr) 24px!important;padding:4px 6px!important;border-radius:0 0 10px 10px!important}
  .epsilon-floating-gallery .epsilon-floating-image{width:86px!important;height:60px!important;border-radius:8px!important}
  .epsilon-floating-gallery>button{height:28px!important;font-size:18px!important}
  .epsilon-floating-info{display:grid!important;grid-template-columns:minmax(110px,.65fr) minmax(0,2fr)!important;gap:7px!important;align-items:center!important;min-width:0!important}
  .epsilon-floating-title{font-size:11px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .epsilon-floating-facts{grid-template-columns:repeat(4,minmax(62px,1fr))!important;gap:3px!important;max-height:none!important;padding:0!important}
  .epsilon-floating-facts>div{padding:3px 5px!important;border-radius:7px!important}
  .epsilon-floating-facts>div:nth-child(5){display:none!important}
  .epsilon-floating-facts span{font-size:6px!important}.epsilon-floating-facts b{font-size:9px!important;margin-top:0!important}

  body:has(.listing-page) .mobile-nav{height:48px!important;padding-bottom:0!important}
  body:has(.listing-page) .mobile-nav a{font-size:8px!important;gap:1px!important}
  body:has(.listing-page) .mobile-nav span{font-size:16px!important}
  body:has(.listing-page) .mobile-nav .publish span{width:28px!important;height:28px!important;margin-top:-12px!important;border-width:3px!important}
  .mobile-listing-contact{left:6px!important;right:6px!important;bottom:48px!important;min-height:48px!important;padding:4px!important;gap:4px!important;border-radius:12px!important}
  .mobile-listing-contact.has-listing-action{grid-template-columns:minmax(100px,1.25fr) repeat(3,minmax(62px,.7fr))!important}
  .mobile-contact-action,.mobile-listing-contact .mobile-contact-primary,.mobile-listing-contact .mobile-contact-icon{height:40px!important;min-height:40px!important;border-radius:9px!important;padding:3px!important}
  .mobile-listing-contact .mobile-contact-save,.mobile-listing-contact .mobile-contact-save>.mobile-contact-icon{height:40px!important}
  .mobile-contact-action>span,.mobile-listing-contact .mobile-contact-primary>span,.mobile-listing-contact .mobile-contact-icon>span{font-size:15px!important;line-height:15px!important}
  .mobile-contact-action>small,.mobile-listing-contact .mobile-contact-primary>b,.mobile-listing-contact .mobile-contact-icon>small{font-size:8px!important;line-height:9px!important}

  .listing-action-sheet-panel{left:5%!important;right:5%!important;bottom:4px!important;max-height:96vh!important;border-radius:18px!important;padding:8px 12px calc(10px + env(safe-area-inset-bottom))!important}
  .listing-action-sheet-head{top:-8px!important;margin:-8px -12px 8px!important;padding:9px 12px 8px!important}
  .listing-action-sheet-head h3{font-size:18px!important}.listing-action-sheet-close{width:34px!important;height:34px!important;font-size:22px!important}
  .listing-action-sheet .booking-form,.listing-action-sheet .viewing-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .listing-action-sheet .booking-guest-fields{grid-column:1/-1!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  .listing-action-sheet .booking-rules-line,.listing-action-sheet .btn.full,.listing-action-sheet .listing-action-feedback{grid-column:1/-1!important}
  .listing-action-sheet input,.listing-action-sheet select,.listing-action-sheet textarea{min-height:38px!important;padding:7px 9px!important;font-size:12px!important;border-radius:9px!important}
  .listing-action-sheet textarea{min-height:54px!important}.listing-action-sheet .btn.full{min-height:40px!important}
}


/* RC7.21.25 — listing landscape polish */
@media (orientation:landscape) and (max-height:650px) and (max-width:1180px){
  body:has(.listing-page){padding-bottom:86px!important}
  body:has(.listing-page) .site-footer{padding-bottom:88px!important}
  body:has(.listing-page) .site-footer .footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body:has(.listing-page) .site-footer .footer-grid>div:first-child{display:none!important}
  body:has(.listing-page) .site-footer .footer-grid h4{font-size:10px!important}
  body:has(.listing-page) .site-footer .footer-grid a{font-size:9px!important}
  body:has(.listing-page) .site-footer .footer-bottom{font-size:8px!important}
  .mobile-listing-contact{bottom:42px!important;min-height:42px!important;height:42px!important;padding:3px 5px!important}
  .mobile-contact-action,.mobile-listing-contact .mobile-contact-primary,.mobile-listing-contact .mobile-contact-icon,.mobile-listing-contact .mobile-contact-save,.mobile-listing-contact .mobile-contact-save>.mobile-contact-icon{height:34px!important;min-height:34px!important}
  .epsilon-floating-gallery{top:46px!important;height:62px!important;grid-template-columns:22px 78px minmax(0,1fr) 22px!important}
  .epsilon-floating-gallery .epsilon-floating-image{width:78px!important;height:54px!important}
  .epsilon-floating-facts>div{padding:2px 4px!important}
}
