/* =============================================
   UMKM Products Section - Modern Styling
   ============================================= */

.umkm-products-section {
    position: relative;
    overflow: hidden;
}

/* Swiper Container Adjustments */
.umkm-product-swiper {
    padding: 0.5rem 0.5rem 2rem 0.5rem;
    /* Space for shadows and pagination */
}

/* Card Styling */
.umkm-product-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.umkm-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08) !important;
}

/* Image Wrapper Hover Effect */
.product-img-wrap {
    overflow: hidden;
    transition: all 0.35s ease;
}

.product-img-wrap i {
    transition: transform 0.5s ease;
}

.umkm-product-card:hover .product-img-wrap i {
    transform: scale(1.15);
}

.product-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize;
}

.umkm-product-card:hover .product-title {
    color: #16a34a !important;
    /* text-success */
}

/* Clamp Description */
.description-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}

/* Price Badge */
.price-badge {
    /* Slightly transparent background with blur for a modern look */
    background: rgba(22, 163, 74, 0.9) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fs-7 {
    font-size: 0.9rem;
}

/* Swiper Navigation Buttons Customization */
.umkm-swiper-next,
.umkm-swiper-prev {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: all 0.2s ease;
}

.umkm-swiper-next:hover,
.umkm-swiper-prev:hover {
    background-color: #16a34a !important;
    color: white !important;
    border-color: #16a34a !important;
}

/* Pagination Dots */
.umkm-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    opacity: 1;
    transition: all 0.3s ease;
}

.umkm-swiper-pagination .swiper-pagination-bullet-active {
    background: #16a34a;
    width: 20px;
    border-radius: 10px;
}

 .page-header-bg {
     background: linear-gradient(135deg, #0f8040 0%, #22c55e 100%);
     position: relative;
     overflow: hidden;
 }
.page-header-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.83-1.66 1.66L52.968 1.66 54.627 0zm1.66 1.66l.83.83-1.66 1.66-.83-.83 1.66-1.66zM54.627 57.51l.83.83-1.66 1.66-.83-.83 1.66-1.66zm1.66 1.66l.83.83-1.66 1.66-.83-.83 1.66-1.66z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}
.search-toolbar {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
}
.search-input-group .form-control {
    border: none;
    background: transparent;
    padding-left: 0.5rem;
}
.search-input-group .form-control:focus {
    box-shadow: none;
}
.search-input-group .input-group-text {
    background: transparent;
    border: none;
    color: #94a3b8;
}
.filter-select {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    color: #475569;
    font-size: 0.95rem;
}
.filter-select:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 0.25rem rgba(22, 163, 74, 0.1);
}
