/* CSS for WC Category Products Slider */
.wc-cps-container { max-width: 1200px; margin: 0 auto; }
.home-category-block { margin: 40px 0; font-family: inherit; }
.category-top { display: flex; align-items: center; background: #f9f9f9; padding: 0 10px 0 0; margin-bottom: 20px; border-radius: 4px; }
.category-title { background: #f38220; color: #fff; padding: 12px 30px 12px 20px; border-radius: 0 99px 0px 0; font-weight: 700; text-transform: uppercase; margin-right: 30px; }
.category-title h2 { margin: 0; font-size: 15px !important; color: #fff !important; line-height: 1; }
.category-filters {      flex-wrap: nowrap !important;   margin-right: 30px;display: flex; gap: 10px; flex: 1; flex-wrap: wrap; }
.wc-cps-filter { border: 1px solid #ddd; background: #fff; font-size: 13px; color: #444; padding: 6px 12px; border-radius: 20px; cursor: pointer; outline: none; transition: all 0.3s ease; }
.wc-cps-filter:hover { border-color: #f38220; color: #f38220; }
.wc-cps-filter:focus { border-color: #f38220; box-shadow: 0 0 0 2px rgba(243, 130, 32, 0.1); }
.view-more { background: #0073b7; color: #fff !important; padding: 8px 20px; border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 600; transition: background 0.3s ease; }
.view-more:hover { background: #005a8f; color: #fff; }

/* Products Slider */
.category-products-wrapper { position: relative; padding: 0px; transition: opacity 0.3s ease; }
.category-products-wrapper.loading { opacity: 0.6; pointer-events: none; }
.category-products-wrapper.loading::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 10;
    border-radius: 8px;
}
.category-products-wrapper.loading::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 32px; height: 32px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #f38220;
    border-radius: 50%;
    z-index: 11;
    animation: wcCpsSpinner 0.8s linear infinite;
}
@keyframes wcCpsSpinner {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.category-products-swiper { overflow: hidden; padding: 10px 0; margin: -10px 0; }
.product-card {    min-height: 200px; border: 1px solid #eaeaea; border-radius: 8px; padding: 15px; background: #fff; transition: box-shadow 0.3s ease; height: 100%; display: flex; flex-direction: row; align-items: center; gap: 15px; box-sizing: border-box; }
.product-image-wrap { flex: 0 0 35%; max-width: 35%; }
.product-info-wrap { flex: 0 0 65%; max-width: 65%; text-align: left; display: flex; flex-direction: column; justify-content: center;padding-left:10px; }
.product-card:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.product-card .product-image { display: block; }
.product-card img { width: 100%; height: 120px; object-fit: contain; }
.product-title { font-size: 13px; font-weight: 700; margin: 0 0 10px; line-height: 0 !important; }
.product-title a { color: #333; text-decoration: none; }
.product-title a:hover { color: #0073b7; }
.product-attributes p { font-size: 12px; color: #666; margin: 0 0 5px; }
.product-attributes p strong { color: #333; }
.product-price { margin-top: 5px; font-weight: 700; color: #d0021b; }
.product-price ins { text-decoration: none; }
.product-price del { color: #999; font-weight: 400; margin-right: 5px; }

/* Swiper Navigation */
.category-products-wrapper .swiper-button-next,
.category-products-wrapper .swiper-button-prev { width: 40px; height: 40px; background: #fff; border: 1px solid #ddd; border-radius: 50%; color: #999; top: 50%; transform: translateY(-50%); margin-top: 0; box-shadow: 0 2px 5px rgba(0,0,0,0.1); z-index: 10; display: flex; align-items: center; justify-content: center; opacity: 1 !important; visibility: visible !important; }
.category-products-wrapper .swiper-button-next { right: 0; }
.category-products-wrapper .swiper-button-prev { left: 0; }
.category-products-wrapper .swiper-button-next:hover,
.category-products-wrapper .swiper-button-prev:hover { color: #333; border-color: #999; }
.category-products-wrapper .swiper-button-next::after,
.category-products-wrapper .swiper-button-prev::after { font-size: 14px; font-weight: bold; }
.swiper-button-disabled { opacity: 0.5 !important; cursor: not-allowed; }

@media (max-width: 768px) {
    .category-top { flex-direction: column; align-items: flex-start; background: transparent; padding: 0; }
    .category-title { border-radius: 4px; margin-right: 0; margin-bottom: 15px; width: 100%; box-sizing: border-box; }
    .category-filters { width: 100%; margin-bottom: 15px; background: #f9f9f9; padding: 10px; border-radius: 4px; }
    .view-more { align-self: flex-end; }
    .category-products-wrapper { padding: 0 40px; }
    .product-card { flex-direction: column; text-align: center; }
    .product-image-wrap { flex: 0 0 100%; max-width: 100%; }
    .product-info-wrap { flex: 0 0 100%; max-width: 100%; text-align: center; }
}
