/*
 * File: category-carousel.css
 * Path: wp-content/plugins/gs-catalog/assets/css/category-carousel.css
 * Version: 1.0.26-dev
 * Created: 2026-11-21
 * Last Updated: 2026-11-21
 * Changelog: 1.0.26-dev - Framework-neutral category carousel skin, replaceable by scoped child-theme styles.
 * Author: Lucky Mahrus
 * Author URL: https://geraisitus.co.id/
 * Author Email: luckymahrus.projects@gmail.com
 * Description: Fallback styling for category carousel.
 */
.gs-cat-carousel { width:100%; min-width:0; }
.gs-cat-carousel *, .gs-cat-carousel *::before, .gs-cat-carousel *::after { box-sizing:border-box; }
.gs-cat-carousel__viewport { max-width:100%; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; scroll-snap-type:x mandatory; overscroll-behavior-inline:contain; }
.gs-cat-carousel__viewport::-webkit-scrollbar { display:none; }
.gs-cat-carousel__track { display:flex; gap:18px; align-items:stretch; padding:8px 2px; width:max-content; min-width:100%; }
.gs-cat-carousel__card { flex:0 0 150px; width:150px; min-width:0; scroll-snap-align:start; color:#2a1f14; background:#f4f0ed; border-radius:100px; display:flex; flex-direction:column; align-items:center; padding:12px 10px 16px; text-align:center; text-decoration:none; }
.gs-cat-carousel__card:hover { color:#2a1f14; }
.gs-cat-carousel__image { display:block; width:130px; height:130px; border-radius:50%; overflow:hidden; background:#e8d090; }
.gs-cat-carousel__image img { display:block; width:100%; height:100%; object-fit:cover; }
.gs-cat-carousel__placeholder { display:flex; height:100%; align-items:center; justify-content:center; font-size:60px; color:#b59952; }
.gs-cat-carousel__label { display:flex; align-items:center; flex-direction:column; gap:8px; font:400 14px/1.4 Georgia,serif; margin-top:10px; }
.gs-cat-carousel__link-icon { display:block; color:#d29e0d; width:23px; height:23px; }
.gs-cat-carousel__link-icon svg { width:100%; height:100%; }
.gs-cat-carousel__controls { display:flex; width:100%; gap:10px; align-items:center; padding-top:16px; }
.gs-cat-carousel__prev,.gs-cat-carousel__next { display:inline-flex; flex:0 0 32px; height:32px; align-items:center; justify-content:center; border:1px solid #e5ddc9; border-radius:50%; background:#fff; color:#6b5032; cursor:pointer; padding:0; font-size:25px; }
.gs-cat-carousel__prev:disabled,.gs-cat-carousel__next:disabled { opacity:.4; cursor:default; }
.gs-cat-carousel__progress { height:5px; border-radius:99px; overflow:hidden; background:#f1ebe1; flex:1; position:relative; }
.gs-cat-carousel__bar { position:absolute; top:0; bottom:0; left:0; width:0; border-radius:99px; background:#d9be6d; transition:left .1s linear; }
.gs-cat-carousel__viewport:focus-visible { outline:2px solid #c99611; outline-offset:3px; }
