/* Cruisin Street Product Rides v1.0.4 - HikaShop product tab selection/spacing. */
/* The only grey tab is the currently selected HikaShop tab. All others stay white. */
.show_tabular #hikashop_tabs_div > ul.hikashop_tabs_ul > li.hikashop_tabs_li,
#hikashop_product_bottom_part.show_tabular #hikashop_tabs_div ul.hikashop_tabs_ul > li.hikashop_tabs_li {
  padding:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
  min-height:0!important;
  line-height:1.2!important;
  border-radius:5px 5px 0 0!important;
}
.show_tabular #hikashop_tabs_div ul.hikashop_tabs_ul > li.hikashop_tabs_li:not(.hikashop_tabs_li_selected),
.show_tabular #hikashop_tabs_div ul.hikashop_tabs_ul > li.hikashop_tabs_li:not(.hikashop_tabs_li_selected) > a{
  background:#fff!important;
  background-image:none!important;
  color:#263344!important;
  -webkit-text-fill-color:#263344!important;
}
.show_tabular #hikashop_tabs_div ul.hikashop_tabs_ul > li.hikashop_tabs_li.hikashop_tabs_li_selected,
.show_tabular #hikashop_tabs_div ul.hikashop_tabs_ul > li.hikashop_tabs_li.hikashop_tabs_li_selected > a{
  background:#777c81!important;
  background-image:none!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.show_tabular #hikashop_tabs_div ul.hikashop_tabs_ul > li.hikashop_tabs_li > a{
  display:block!important;
  padding:8px 15px!important;
  margin:0!important;
  min-height:0!important;
  line-height:1.25!important;
  font-size:inherit!important;
  border:0!important;
  border-radius:5px 5px 0 0!important;
}
@media (max-width:600px){
  .show_tabular #hikashop_tabs_div ul.hikashop_tabs_ul > li.hikashop_tabs_li > a{padding:8px 10px!important;}
}

/* v1.0.7 Capped on-page customer installation popup.
   Lives in parent page, not the iframe; header/toolbar stays visible behind a light overlay. */
dialog.cspg-parent-viewer[open]{
 position:fixed!important;inset:0!important;margin:auto!important;
 width:max-content!important;max-width:calc(100vw - 30px)!important;
 height:max-content!important;max-height:93dvh!important;
 background:#fff!important;border:1px solid #e0e5eb!important;border-radius:13px!important;
 box-shadow:0 20px 65px rgba(0,0,0,.25)!important;
 padding:10px 12px 12px!important;box-sizing:border-box!important;
 overflow:hidden!important;color:#202b39!important;z-index:2147483647!important;
}
dialog.cspg-parent-viewer::backdrop{background:rgba(10,15,25,.31)!important}
.cspg-parent-viewer *, .cspg-parent-viewer *::before, .cspg-parent-viewer *::after{box-sizing:border-box!important}
.cspg-parent-viewer-toolbar{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:14px!important;min-height:34px!important;margin:0 0 7px!important}
.cspg-parent-viewer-toolbar strong{margin-right:auto!important;font:700 14px/1.25 Arial,sans-serif!important;color:#1d2c40!important}
.cspg-parent-viewer-close,.cspg-parent-viewer-close:hover,.cspg-parent-viewer-close:active{
 background:#f1f3f5!important;color:#1c2733!important;border:1px solid #cdd5df!important;
 border-radius:50%!important;font:26px/30px Arial,sans-serif!important;text-align:center!important;
 padding:0!important;width:36px!important;height:36px!important;min-width:36px!important;
 cursor:pointer!important;box-shadow:none!important;
}
.cspg-parent-viewer-body{display:flex!important;align-items:center!important;justify-content:center!important;
 max-width:calc(100vw - 56px)!important;min-width:min(400px,calc(100vw - 56px))!important;
 max-height:calc(93dvh - 125px)!important;overflow:auto!important;background:#f6f7f9!important;
 border-radius:7px!important}
.cspg-parent-viewer-body>img{display:block!important;max-width:100%!important;max-height:calc(93dvh - 125px)!important;
 width:auto!important;height:auto!important;object-fit:contain!important;margin:auto!important;border:0!important}
.cspg-parent-viewer-body>iframe{display:block!important;width:min(1040px,calc(100vw - 56px))!important;
 aspect-ratio:16/9!important;max-height:calc(93dvh - 125px)!important;border:0!important}
.cspg-parent-viewer-caption{font:12px/1.4 Arial,sans-serif!important;color:#465367!important;
 text-align:center!important;white-space:normal!important;padding:8px 3px 0!important;max-width:1000px!important}
@media(max-width:640px){
 dialog.cspg-parent-viewer[open]{max-width:calc(100vw - 12px)!important;padding:7px!important}
 .cspg-parent-viewer-body{max-width:calc(100vw - 26px)!important;min-width:0!important}
 .cspg-parent-viewer-body>img{max-height:calc(93dvh - 115px)!important}
}

/* v1.0.7 — Photo popups stay on this product page; no full-size/new-tab link.
   Both displayed photo dimensions are limited to 600 CSS pixels. */
dialog.cspg-parent-viewer.cspg-parent-viewer-photo[open]{
  width:max-content!important;
  max-width:min(636px,calc(100vw - 24px))!important;
  max-height:min(750px,calc(100dvh - 24px))!important;
}
.cspg-parent-viewer-photo .cspg-parent-viewer-body{
  max-width:min(600px,calc(100vw - 56px))!important;
  min-width:0!important;
  max-height:min(600px,calc(100dvh - 150px))!important;
}
.cspg-parent-viewer-photo .cspg-parent-viewer-body>img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:min(600px,calc(100vw - 56px))!important;
  max-height:min(600px,calc(100dvh - 150px))!important;
  object-fit:contain!important;
}
.cspg-parent-viewer-photo .cspg-parent-viewer-caption{
  max-width:600px!important;
}
