/* AutopujcovnaOnline.cz shared styles */
:root{--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif;}
.auto001-map-safe,.auto001-map-frame,.auto001-map-lite,[data-map-lite]{position:relative;background:#e9ecef;overflow:hidden}
.auto001-map-safe iframe,.auto001-map-frame iframe,.auto001-map-lite iframe,[data-map-lite] iframe{display:block;width:100%;height:100%;border:0;pointer-events:none}
.auto001-map-safe.is-active iframe,.auto001-map-frame.is-active iframe,.auto001-map-lite.is-active iframe,[data-map-lite].is-active iframe{pointer-events:auto}
.auto001-map-safe[role="button"],.auto001-map-frame[role="button"],.auto001-map-lite[role="button"],[data-map-lite][role="button"]{cursor:pointer;outline-offset:3px}
.auto001-map-open,.auto001-map-mobile-open,.auto001-map-activate{display:none!important}
.auto001-youtube-lite{position:relative;display:block;width:100%;padding:0;border:0;background:#111;overflow:hidden;cursor:pointer;aspect-ratio:16/9}
.auto001-youtube-lite>img{display:block;width:100%;height:100%;object-fit:cover;background:#111}
.ratio>.auto001-youtube-lite{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
.auto001-youtube-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:64px;height:46px;border-radius:12px;background:rgba(0,0,0,.78);color:#fff;font-size:22px}
.auto001-youtube-iframe{display:block;width:100%;aspect-ratio:16/9;border:0}
picture{max-width:100%}
picture>img{max-width:100%}

/* cenik.php */
@media (max-width: 991.98px){
  .cenik-wrap{
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    padding:0 !important;
  }
  .cenik-mobile-row{
    --bs-gutter-x:0;
  }
  .cenik-mobile-card{
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }
}

/* includes/category-page.php */
.auto001-category-car-imgbox{height:210px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff;border-radius:.5rem;}
.auto001-category-car-imgbox img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#fff;}
@media(max-width:575.98px){
  .auto001-category-car-imgbox{height:190px;}
  .auto001-category-car-imgbox img{transform:scale(1.02);}
}

/* includes/home-search.php */
.home-category-buttons{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.5rem;
  align-items:stretch;
}
.home-category-buttons .btn{
  width:100%;
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.15;
  white-space:normal;
}
@media (max-width:575.98px){
  .home-category-buttons{
    grid-template-columns:1fr;
  }
}

/* includes/pages/prices-core.php */
.auto001-price-thumb-box{
  display:inline-block;
  width:142px;
  height:98px;
  overflow:hidden;
  border:1px solid var(--bs-border-color);
  border-radius:.375rem;
  background:#fff;
}
.auto001-price-thumb-box img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.03);
  transform-origin:center center;
}
.auto001-price-mobile-thumb{
  height:240px;
  overflow:hidden;
  background:#fff;
}
.auto001-price-mobile-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.02);
  transform-origin:center center;
}
@media (max-width:575.98px){
  .auto001-price-mobile-thumb{height:210px;}
}

/* includes/branch-cars.php */
.auto001-branch-car-imgbox{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff;border-radius:.75rem;}
.auto001-branch-car-imgbox img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#fff;}
.auto001-branch-car-feature-img{width:170px;height:112px;flex:0 0 170px;}
.auto001-branch-car-grid-img{height:180px;width:100%;}
@media(max-width:575.98px){
  .auto001-branch-car-feature-img{width:138px;height:92px;flex:0 0 138px;}
  .auto001-branch-car-grid-img{height:160px;}
}

/* includes/car-detail-core.php */
@media (max-width:767.98px){
  #booking .booking-fullbleed{
    width:100vw;
    max-width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    border:none !important;
    border-radius:0 !important;
    box-shadow:none !important;
    overflow:hidden;
  }
  #booking .booking-fullbleed,
  #booking .booking-fullbleed > .bg-body-tertiary,
  #booking .booking-fullbleed > .booking-iframe-wrap,
  #booking .booking-fullbleed iframe{
    border-radius:0 !important;
  }
  #booking .booking-fullbleed > .bg-body-tertiary{
    border-left:none !important;
    border-right:none !important;
  }
  #booking .booking-fullbleed > .booking-iframe-wrap{
    width:100vw !important;
    max-width:100vw !important;
    overflow-x:hidden;
  }
  #booking .booking-fullbleed iframe{
    width:100vw !important;
    max-width:100vw !important;
    border:none !important;
    display:block;
  }
}
