/* Shared theme navigation. Cart/checkout progress is unrelated. */
:root{--kg-swipe-dash-width:48px;--kg-swipe-dash-height:2px;--kg-swipe-dash-track:rgba(17,17,17,.13);--kg-swipe-dash-active:#111;--kg-carousel-arrow-size:44px}
.kg-carousel{position:relative;min-width:0}
.kg-carousel__legacy{display:none!important}
.kg-carousel .kg-carousel__track{scrollbar-width:none!important;scroll-snap-stop:always}
.kg-carousel .kg-carousel__track::-webkit-scrollbar{display:none}
.kg-carousel .kg-carousel__track>*{scroll-snap-stop:always}
body.kg-theme .kg-carousel>.kg-carousel__arrow{position:absolute!important;top:var(--kg-carousel-center,50%)!important;transform:translateY(-50%)!important;z-index:24;display:grid!important;place-items:center;width:var(--kg-carousel-arrow-size)!important;height:var(--kg-carousel-arrow-size)!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:1px solid #d9d5cc!important;border-radius:50%!important;background:#fff!important;color:#111!important;cursor:pointer;box-shadow:0 4px 14px rgba(17,17,17,.07);transition:border-color .18s ease,box-shadow .18s ease,opacity .18s ease}
body.kg-theme .kg-carousel>.kg-carousel__arrow--prev{left:var(--kg-carousel-left,6px)!important;right:auto!important}
body.kg-theme .kg-carousel>.kg-carousel__arrow--next{right:var(--kg-carousel-right,6px)!important;left:auto!important}
body.kg-theme .kg-carousel>.kg-carousel__arrow:disabled{opacity:.35;cursor:default}
body.kg-theme .kg-carousel>.kg-carousel__arrow:focus-visible{outline:2px solid #111;outline-offset:3px}
body.kg-theme .kg-carousel>.kg-carousel__dash{position:relative!important;display:block!important;width:var(--kg-swipe-dash-width)!important;height:var(--kg-swipe-dash-height)!important;min-height:2px!important;margin:14px auto 0!important;padding:0!important;border:0!important;border-radius:999px!important;background:var(--kg-swipe-dash-track)!important;overflow:hidden}
.kg-carousel__dash::after{content:'';position:absolute;inset-block:0;left:var(--kg-swipe-progress,0%);width:var(--kg-swipe-progress-size,30%);background:var(--kg-swipe-dash-active);border-radius:inherit}
body.kg-theme .kg-carousel>[hidden]{display:none!important}
/* Hero dash sits below its image, before the discovery link. */
.hm-hero.kg-carousel>.kg-carousel__dash{margin-top:14px!important}
.hm-hero.kg-carousel .hm-hero-bar{border:0;min-height:44px}
.hm-hero.kg-carousel>.kg-carousel__dash{order:0}
/* Native sliders consume the same geometry and appearance. */
body.kg-theme [data-kg-slider]{position:relative}
body.kg-theme [data-kg-slider] [data-kg-slider-prev],body.kg-theme [data-kg-slider] [data-kg-slider-next]{position:absolute!important;top:var(--kg-carousel-center,50%)!important;transform:translateY(-50%)!important;z-index:24;display:grid!important;place-items:center;width:44px!important;height:44px!important;border:1px solid #d9d5cc!important;border-radius:50%!important;background:#fff!important;color:#111!important;cursor:pointer;box-shadow:0 4px 14px rgba(17,17,17,.07);transition:border-color .18s ease,box-shadow .18s ease,opacity .18s ease}
body.kg-theme [data-kg-slider] [data-kg-slider-prev]{left:6px!important;right:auto!important}
body.kg-theme [data-kg-slider] [data-kg-slider-next]{right:6px!important;left:auto!important}
body.kg-theme [data-kg-slider] [data-kg-slider-prev]:disabled,body.kg-theme [data-kg-slider] [data-kg-slider-next]:disabled{opacity:.35;cursor:default}
body.kg-theme [data-kg-slider] [data-kg-slider-prev]:focus-visible,body.kg-theme [data-kg-slider] [data-kg-slider-next]:focus-visible{outline:2px solid #111;outline-offset:3px}
body.kg-theme .khb-section:not(.khb-show-arrows)>.kg-carousel__arrow{display:none!important}
body.kg-theme .khb-section:not(.khb-show-dash)>.kg-carousel__dash{display:none!important}
@media(hover:hover){body.kg-theme .kg-carousel>.kg-carousel__arrow:hover:not(:disabled),body.kg-theme [data-kg-slider] [data-kg-slider-prev]:hover:not(:disabled),body.kg-theme [data-kg-slider] [data-kg-slider-next]:hover:not(:disabled){border-color:#111!important;box-shadow:0 6px 18px rgba(17,17,17,.11)}}
@media(prefers-reduced-motion:reduce){.kg-carousel__dash::after{transition:none!important}}
/* Follow the theme's mobile/tablet layout breakpoint (header.css: 1200px).
   Swipe and the shared dash remain available; side arrows are desktop UI. */
@media(max-width:1200px){
 body.kg-theme .kg-carousel>.kg-carousel__arrow,
 body.kg-theme [data-kg-slider] [data-kg-slider-prev],
 body.kg-theme [data-kg-slider] [data-kg-slider-next],
 body.kg-theme.single-product .woocommerce-product-gallery.kg-carousel-gallery>.kg-product-gallery__arrow,
 body.kg-theme.single-product .woocommerce-product-gallery.kg-carousel-gallery>.kg-color-gallery-arrow{display:none!important}
}
