/* Shared controls: home categories, inspiration and explicitly opted-in sliders. */
body:is(.wp-theme-shopping, .wp-theme-maxstore)
    :is(.top_viewed_cates, .recent_post_cdms, .gtt-standard-slider) > .swiper-pagination:has(> .swiper-pagination-bullet),
body:is(.wp-theme-shopping, .wp-theme-maxstore) .gtt-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1px;
    min-height: 27px;
    padding: 0;
}

body:is(.wp-theme-shopping, .wp-theme-maxstore)
    :is(.top_viewed_cates, .recent_post_cdms, .gtt-standard-slider) .swiper-pagination-bullet,
body:is(.wp-theme-shopping, .wp-theme-maxstore) .gtt-slider-dot {
    position: relative !important;
    display: block;
    flex: 0 0 26px;
    box-sizing: border-box;
    width: 26px !important;
    height: 27px !important;
    min-width: 0;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: transparent;
    font-size: 0;
    line-height: 0;
    opacity: 1 !important;
    cursor: pointer;
}

body:is(.wp-theme-shopping, .wp-theme-maxstore)
    :is(.top_viewed_cates, .recent_post_cdms, .gtt-standard-slider) .swiper-pagination-bullet::after,
body:is(.wp-theme-shopping, .wp-theme-maxstore) .gtt-slider-dot::after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 7px !important;
    height: 7px !important;
    border-radius: 4px !important;
    background: #8696a1 !important;
    content: '';
    transform: translate(-50%, -50%);
    transition: width 160ms ease, background-color 160ms ease;
}

body:is(.wp-theme-shopping, .wp-theme-maxstore)
    :is(.top_viewed_cates, .recent_post_cdms, .gtt-standard-slider) .swiper-pagination-bullet-active::after,
body:is(.wp-theme-shopping, .wp-theme-maxstore) .gtt-slider-dot[aria-current="true"]::after {
    width: 14px !important;
    background: #226da0 !important;
}

body:is(.wp-theme-shopping, .wp-theme-maxstore)
    :is(.top_viewed_cates, .recent_post_cdms, .gtt-standard-slider) .swiper-pagination-bullet:focus-visible,
body:is(.wp-theme-shopping, .wp-theme-maxstore) .gtt-slider-dot:focus-visible {
    outline: 2px solid #226da0;
    outline-offset: -1px;
    border-radius: 4px !important;
}

@media (prefers-reduced-motion: reduce) {
    body:is(.wp-theme-shopping, .wp-theme-maxstore)
        :is(.top_viewed_cates, .recent_post_cdms, .gtt-standard-slider) .swiper-pagination-bullet::after,
    body:is(.wp-theme-shopping, .wp-theme-maxstore) .gtt-slider-dot::after {
        transition: none;
    }
}
