/* 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 30px 30px 0; font-weight: 700; text-transform: uppercase; margin-right: 30px; }
.category-title h2 { margin: 0; font-size: 18px; color: #fff; line-height: 1; }
.category-filters { display: flex; gap: 15px; flex: 1; }
.wc-cps-filter { border: none; background: transparent; font-size: 14px; color: #333; padding: 5px 10px; cursor: pointer; outline: none; }
.view-more { background: #0073b7; color: #fff; 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: 0 50px; }
.category-products-swiper { overflow: hidden; padding: 10px 0; margin: -10px 0; }
.product-card { 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; }
.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: 1.4; }
.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; }
}
