.category-page {
    background: #E3E6E6;
    min-height: 80vh;
}
.cat-skel-card {
    background: #fff;
    border-radius: 8px;
    padding: 8px;
}
.cat-skel-img {
    width: 100%; height: 140px;
    border-radius: 5px;
    background: #ddd;
}
.cat-skel-line {
    height: 10px; border-radius: 5px;
    background: #ddd; display: block;
}
.cat-skel-btn {
    height: 30px; border-radius: 5px;
    background: #ddd; width: 100%; display: block;
}
.shimmer {
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes catFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.cat-card-wrapper {
    animation: catFadeUp 0.25s ease both;
    opacity: 0;
}
.cat-card-wrapper:nth-child(1)  { animation-delay: 0.02s; }
.cat-card-wrapper:nth-child(2)  { animation-delay: 0.04s; }
.cat-card-wrapper:nth-child(3)  { animation-delay: 0.06s; }
.cat-card-wrapper:nth-child(4)  { animation-delay: 0.08s; }
.cat-card-wrapper:nth-child(5)  { animation-delay: 0.10s; }
.cat-card-wrapper:nth-child(6)  { animation-delay: 0.12s; }
.cat-card-wrapper:nth-child(7)  { animation-delay: 0.14s; }
.cat-card-wrapper:nth-child(8)  { animation-delay: 0.16s; }
.cat-card-wrapper:nth-child(9)  { animation-delay: 0.18s; }
.cat-card-wrapper:nth-child(10) { animation-delay: 0.20s; }
.cat-card-wrapper:nth-child(11) { animation-delay: 0.22s; }
.cat-card-wrapper:nth-child(12) { animation-delay: 0.24s; }
.cat-sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 14px 12px;
    position: sticky;
    top: 70px;
}
.cat-filter-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--base-color);
    margin-bottom: 8px;
}
.cat-filter-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cat-filter-link {
    display: block;
    font-size: 12.5px;
    color: #444;
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 5px;
    transition: all 0.18s ease;
    font-weight: 500;
}
.cat-filter-link:hover { background: #fff7f4; color: var(--base-color); }
.cat-filter-link.active {
    background: var(--base-color);
    color: #fff;
    font-weight: 600;
}
.cat-price-input {
    width: 100%;
    padding: 5px 7px;
    font-size: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.18s;
}
.cat-price-input:focus { border-color: var(--base-color); }
.cat-price-sep { color: #aaa; font-size: 12px; flex-shrink: 0; }
.cat-price-btn {
    width: 100%;
    padding: 6px 0;
    font-size: 12px;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    background: var(--base-color);
    color: #fff;
    cursor: pointer;
    transition: background 0.18s ease;
}
.cat-price-btn:hover { background: var(--base-color); }
.cat-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    gap: 10px;
    flex-wrap: wrap;
}
.cat-topbar-title { font-size: 14px; font-weight: 700; color: #1a1a1a; }
.cat-sort-label { font-size: 12px; color: #888; font-weight: 500; white-space: nowrap; }
.cat-sort-select {
    font-size: 12px;
    padding: 5px 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    outline: none;
    cursor: pointer;
    transition: border-color 0.18s;
}
.cat-sort-select:focus { border-color: var(--base-color); }
.cat-card {
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    height: 100%;
    position: relative;
    transition: box-shadow 0.2s ease;
}
.cat-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.cat-card-link { text-decoration: none; color: inherit; display: block; }
.cat-img-wrap {
    border-radius: 5px;
    overflow: hidden;
    background: #f5f5f5;
}
.cat-img-wrap img {
    width: 100%; 
    /* height: 210px; */
    object-fit: cover; display: block;
    transition: transform 0.3s ease;
}
.cat-img-wrap:hover img { transform: scale(1.04); }
.cat-title {
    font-size: 12px;
    margin: 6px 0 3px;
    color: #333;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}
.cat-price { font-weight: 700; color: var(--base-color); font-size: 13px; margin-bottom: 0; }
.cat-btn-cart {
    width: 100%;
    margin-top: 6px;
    padding: 6px 0;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
    border: 1px solid var(--base-color);
    background: #fff;
    color: var(--base-color);
    cursor: pointer;
    transition: all 0.22s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cat-btn-cart:hover {
    background: var(--base-color); color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(248,86,6,0.28);
}
.cat-btn-cart:active { transform: translateY(0); }
.cat-btn-cart.adding {
    background: var(--base-color); color: #fff;
    pointer-events: none; opacity: 0.8;
}

/* ── WISHLIST BUTTON ── */
.cat-btn-wishlist {
    position: absolute;
    top: 8px; right: 8px;
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1px solid #ffd0be;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.2s ease;
    padding: 0;
}
.cat-btn-wishlist:hover {
    background: #fff0ec;
    border-color: var(--base-color);
    transform: scale(1.15);
}
.cat-btn-wishlist svg { transition: all 0.2s ease; }
.cat-btn-wishlist.wishlisted {
    background: #fff0ec;
    border-color: #e53e3e;
}
.cat-btn-wishlist.wishlisted svg {
    fill: #e53e3e;
    stroke: #e53e3e;
}
.cat-btn-wishlist.loading { pointer-events: none; opacity: 0.6; }

.cat-empty {
    text-align: center;
    padding: 50px 20px;
    color: #aaa;
    font-size: 14px;
    background: #fff;
    border-radius: 8px;
}
.cat-pagination .pagination {
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    margin: 0;
}
.cat-pagination .page-item .page-link {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
    border-radius: 7px !important;
    border: 1px solid #ddd;
    color: #444; padding: 0;
    transition: all 0.18s ease;
}
.cat-pagination .page-item .page-link:hover {
    background: #fff7f4; border-color: var(--base-color); color: var(--base-color);
}
.cat-pagination .page-item.active .page-link {
    background: var(--base-color); border-color: var(--base-color); color: #fff;
    box-shadow: 0 3px 10px rgba(248,86,6,0.3);
}
.cat-pagination .page-item.disabled .page-link { opacity: 0.35; }
@media (max-width: 767px) {
    .cat-sidebar { position: static; margin-bottom: 10px; }
}

@media screen and (min-width:992px){
    .col-custom-1_1{
        flex: 0 0 auto;
        width: 12.5% !important;

    }
}