/* ABMOTO.cz | rekoj.cz */
body.type-category{
  --ab-bg:       #0f0f0f;
  --ab-bg-top:   #000;
  --ab-fade-top: 160px;
  --ab-bg-2:     #1a1a1a;
  --ab-bg-3:     #242424;
  --ab-line:     #363636;
  --ab-line-2:   #4a4a4a;
  --ab-text:     #eef2f6;
  --ab-text-2:   #d6d6d6;
  --ab-muted:    #9aa7b4;
  --ab-accent:   #e62329;
  --ab-accent-2: #ff4a50;
}
#ab-dark-band{
  position: absolute;
  left: 0; right: 0;
  z-index: 0;
  background-color: var(--ab-bg, #0f0f0f);
  background-image: linear-gradient(to bottom,
                      var(--ab-bg-top, #000) 0,
                      transparent var(--ab-fade-top, 160px));
  border-bottom: 3px solid var(--ab-accent, #e62329);
  pointer-events: none;
}
body:not(.type-category) #ab-dark-band{ display: none; }
body.type-category:not(.ab-band-ready) .breadcrumbs,
body.type-category:not(.ab-band-ready) #fitment-mount,
body.type-category:not(.ab-band-ready) h1.category-title,
body.type-category:not(.ab-band-ready) .category-top{
  background: var(--ab-bg);
  box-shadow: 0 0 0 100vmax var(--ab-bg);
  clip-path: inset(0 -100vmax);
}
body.type-category:not(.ab-band-ready) .category-top{
  border-bottom: 3px solid var(--ab-accent) !important;
  clip-path: inset(0 -100vmax -3px);
}
body.type-category:not(.ab-band-ready) .breadcrumbs{ clip-path: inset(0 -100vmax -24px); }
body.type-category .breadcrumbs,
body.type-category #fitment-mount,
body.type-category h1.category-title,
body.type-category .category-top{
  position: relative;
  background: var(--ab-bg) !important;
}
body.ab-band-ready.type-category .breadcrumbs,
body.ab-band-ready.type-category #fitment-mount,
body.ab-band-ready.type-category h1.category-title,
body.ab-band-ready.type-category .category-top{ background: transparent !important; }
body.type-category .breadcrumbs  { z-index: 1; margin: 0 !important; padding: 14px 0 12px !important; }
body.type-category #fitment-mount{ z-index: 3; margin: 0 !important; padding: 14px 0 6px  !important; }
body.type-category .category-top { z-index: 2; margin: 0 !important; padding: 22px 0 34px !important;
                                   border-bottom: 0 !important; max-width: none !important; }
body.type-category .breadcrumbs,
body.type-category .breadcrumbs span{ color: var(--ab-muted) !important; font-size: 13px; }
body.type-category .breadcrumbs a{ color: var(--ab-muted) !important; text-decoration: none;
                                   transition: color .15s ease; }
body.type-category .breadcrumbs a:hover,
body.type-category .breadcrumbs a:focus{ color: #fff !important; text-decoration: underline; }
body.type-category .breadcrumbs .navigation-bullet{ color: #4c5663 !important; }
body.type-category .breadcrumbs > span:last-child span{ color: var(--ab-text) !important; }
body.type-category h1.category-title{
  color: #fff !important;
  font-weight: 800;
  letter-spacing: -.5px;
  z-index: 2;
  margin: 0 0 18px !important;
  padding-bottom: 12px;
}
body.type-category h1.category-title::after{
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 64px; height: 3px;
  background: var(--ab-accent);
  border-radius: 2px;
}
body.type-category h1.category-title.ab-title-moved{ margin: 0 !important; padding: 22px 0 14px !important; }
body.type-category.ab-title-above .category-top{ padding-top: 6px !important; }
body.type-category .category-top .category-perex{
  color: var(--ab-text-2) !important;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 900px;
}
body.type-category .category-top .category-perex *{
  color: var(--ab-text-2) !important;
  background: transparent !important;
}
body.type-category .category-top .category-perex strong,
body.type-category .category-top .category-perex b,
body.type-category .category-top .category-perex h2,
body.type-category .category-top .category-perex h3,
body.type-category .category-top .category-perex h4{ color: #fff !important; }
body.type-category .category-top .category-perex a,
body.type-category .category-top .category-perex a *{
  color: var(--ab-accent-2) !important;
  text-decoration: underline;
}
body.type-category .category-top .category-perex a:hover,
body.type-category .category-top .category-perex a:hover *{ color: #fff !important; }
body.type-category .category-top ul.subcategories{
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  grid-auto-rows: 1fr !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
body.type-category .category-top ul.subcategories > li{
  display: flex !important;
  list-style: none;
  width: auto !important; max-width: none !important; flex: none !important;
  height: auto !important;
  margin: 0 !important; padding: 0 !important;
  background: none !important;
}
body.type-category .category-top ul.subcategories > li::after{
  content: none !important; display: none !important;
}
body.type-category .category-top ul.subcategories > li > a{
  display: flex !important;
  align-items: center;
  align-self: stretch;
  width: 100%;
  min-height: 56px; height: auto !important;
  padding: 12px 38px 12px 16px;
  background: var(--ab-bg-2);
  border: 1px solid var(--ab-line);
  border-left: 3px solid transparent;
  border-radius: 10px;
  color: var(--ab-text) !important;
  line-height: 1.35;
  text-decoration: none !important;
  position: relative;
  transition: background .18s ease, border-color .18s ease,
              transform .18s ease, box-shadow .18s ease;
}
body.type-category .category-top ul.subcategories > li > a .text{
  font-size: 14px !important;
  font-weight: 600 !important;
  color: inherit !important;
}
body.type-category .category-top ul.subcategories > li > a::after{
  content: "\203a";
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-52%);
  font-size: 22px; line-height: 1;
  color: #6a6a6a;
  transition: color .18s ease, right .18s ease;
}
body.type-category .category-top ul.subcategories > li > a:hover,
body.type-category .category-top ul.subcategories > li > a:focus-visible{
  background: var(--ab-bg-3);
  border-color: var(--ab-line-2);
  border-left-color: var(--ab-accent);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.45);
}
body.type-category .category-top ul.subcategories > li > a:hover::after{
  color: var(--ab-accent-2); right: 10px;
}
body.type-category .category-top ul.subcategories > li > a:focus-visible{
  outline: 2px solid var(--ab-accent-2); outline-offset: 2px;
}
@media (max-width: 767px){
  body.type-category h1.category-title{ font-size: 26px !important; }
  body.type-category .category-top ul.subcategories{ grid-template-columns: 1fr 1fr; gap: 8px; }
  body.type-category .category-top ul.subcategories > li > a{
    min-height: 50px; padding: 10px 28px 10px 12px;
  }
  body.type-category .category-top ul.subcategories > li > a .text{ font-size: 13.5px !important; }
}
@media (max-width: 420px){
  body.type-category .category-top ul.subcategories{ grid-template-columns: 1fr; }
}
body.type-category.id-673 #fitment-mount,
body.type-category.id-25549 #fitment-mount,
body.type-category.id-932 #fitment-mount{ padding: 14px 0 76px !important; }
body.id-673,
body.id-25549{
  --ab-hero: url("/user/documents/upload/rekoj_scripts/data/bgcat_abm_dily_doplnky.jpg");
  --ab-pick-w:    620px;
  --ab-hero-gap:  0px;
  --ab-fade-h:    150px;
  --ab-hero-w:     118%;
  --ab-hero-x:       0%;
  --ab-scrim-end:   52%;
}
body.id-673 #ab-dark-band,
body.id-25549 #ab-dark-band{
  background-color: #000;
  background-image:
    linear-gradient(to right, #000 0%, #000 6%, rgba(0,0,0,0) 34%),
    linear-gradient(to right, #000 0%, #000 26%,
                    rgba(0,0,0,.55) 40%, rgba(0,0,0,0) var(--ab-scrim-end)),
    var(--ab-hero);
  background-size:     100% var(--ab-fade-h), 100% 100%, var(--ab-hero-w) auto;
  background-position: left bottom,            left center,  var(--ab-hero-x) 50%;
  background-repeat:   no-repeat;
}
body.id-673 .category-top ul.subcategories,
body.id-25549 .category-top ul.subcategories{ display: none !important; }
body.type-category.id-673 .category-top,
body.type-category.id-25549 .category-top{
  order: -1;
  min-height: var(--ab-hero-gap);
  padding: 0 !important;
}
body.ab-band-ready.id-673:not(.ab-band-v2) .category-top,
body.ab-band-ready.id-25549:not(.ab-band-v2) .category-top{ order: 0; }
body.id-673 #fitment-mount:not([data-fitment-ready]),
body.id-25549 #fitment-mount:not([data-fitment-ready]){ min-height: 345px; }
@media (min-width: 1601px){
  body.id-673{ --ab-hero-w: 100%; --ab-hero-x: 50%; }
  body.id-25549{ --ab-hero-w: 100%; --ab-hero-x: 50%; }
}
@media (max-width: 1200px){
  body.id-673{ --ab-pick-w: 520px; --ab-hero-x: 64%; --ab-scrim-end: 56%; }
  body.id-25549{ --ab-pick-w: 520px; --ab-hero-x: 64%; --ab-scrim-end: 56%; }
  body.id-673 #ab-dark-band,
  body.id-25549 #ab-dark-band{
    background-size: 100% var(--ab-fade-h), 100% 100%, cover;
  }
}
@media (max-width: 767px){
  body.id-673{ --ab-hero-gap: min(49vw, 260px); }
  body.id-25549{ --ab-hero-gap: min(49vw, 260px); }
  body.id-673 #fitment-mount:not([data-fitment-ready]){ min-height: 520px; }
  body.id-25549 #fitment-mount:not([data-fitment-ready]){ min-height: 520px; }
  body.id-673 #ab-dark-band,
  body.id-25549 #ab-dark-band{
    background-image:
      linear-gradient(to top, rgba(0,0,0,0) 0px,
                              rgba(0,0,0,0) calc(var(--ab-hero-gap) - 30px),
                              #000 calc(var(--ab-hero-gap) + 30px), #000 100%),
      var(--ab-hero);
    background-size:     100% 100%, 100% auto;
    background-position: center,     center bottom;
  }
}
body.id-932{
  --ab-hero: url("/user/documents/upload/rekoj_scripts/data/bgcat_abm_naplne5.png");
  --ab-pick-w:  620px;
  --ab-img-out: 34px;
}
body.type-category.id-932 #fitment-mount{
  padding: 14px 0 30px !important;
  display: flex;
  align-items: stretch;
  gap: 16px;
}
body.id-932 .fitment-picker{
  flex: 0 1 var(--ab-pick-w);
  max-width: var(--ab-pick-w);
}
body.id-932 #fitment-mount::after{
  content: "";
  flex: 1 1 0;
  min-width: 0;
  margin: calc(var(--ab-img-out) * -3) 0 -11px;
  background-image: var(--ab-hero);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
body.id-932 #fitment-mount:has(> .fitment-picker.fitment-compact)::after{ display: none; }
body.id-932 #fitment-mount:has(> .fitment-picker.fitment-compact) .fitment-picker{
  flex: 1 1 100%;
  max-width: none;
}
body.id-932 #fitment-mount:not([data-fitment-ready])::after{ display: none; }
body.id-932 #fitment-mount:not([data-fitment-ready]){ min-height: 310px; }
@media (max-width: 1200px){
  body.id-932{ --ab-pick-w: 520px; }
}
@media (max-width: 767px){
  body.id-932 #fitment-mount:not([data-fitment-ready]){ min-height: 485px; }
  body.type-category.id-932 #fitment-mount{ display: block; }
  body.id-932 #fitment-mount::after{ display: none; }
}
