.products-section {
    background: #f8fafc !important; 

    border-radius: 20px 20px 0 0 !important;

    padding-top: 10px !important;

	margin-top: -20px !important;
	
    box-shadow:
        0 -10px 30px rgba(0,0,0,0.08) !important;
}


.cpf-wrapper {
    margin-bottom: 30px;
	min-height: 500px;
}

.cpf-grid {
    display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Item styles */
.cpf-item {
    border: 1px solid #ddd;
    padding: 20px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.cpf-item {
    border-radius: 14px;

    background: white;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.cpf-item:hover {
	transform: translateY(-6px);

    border-color: rgba(0,102,255,0.25);

    box-shadow:
        0 10px 30px rgba(0,0,0,.08),
        0 2px 6px rgba(0,0,0,.04);
	
}

.cpf-card-link {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.cpf-item-info {
	width: 70%;
}

.cpf-item-info h3 {
	font-size: 20px;
  	font-weight: 600;
    margin-bottom: 6px;
}

.cpf-item-info ul {
	margin: 0;
	margin-left: 20px;
	color: #0f314d;
	list-style-type: none;
}

.cpf-item-info ul li{
	position: relative;
	list-style-type: none;
	font-size: 14px;
    color: #4a5568;
}

.cpf-item-info ul li::marker {
	content: "";
}

.cpf-item-info ul li::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 10px;
    transform: translateX(50%);
    
    width: 8px;
    height: 8px;
    
    border-radius: 50%;
	border: 1px solid #0067ff;
    
    box-shadow: 0 0 0 2px white inset;
}

.cpf-item-image {
	width: 30%;
	height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;
	
}

/* Filters style */
.cpf-filters {
    display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
	
        position: sticky;
        top: 20px;
        z-index: 10;
}

.cpf-filters {
	transition: all .3s ease;
}

.cpf-filters.stuck {
	background: rgba(255,255,255,0.6);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.4);

    box-shadow: 
        0 10px 30px rgba(0,0,0,.08),
        inset 0 1px rgba(255,255,255,.6);
	
	background: linear-gradient(
    	135deg,
    	rgba(0,103,255,.3),
		rgba(255,255,255,.3),
    	rgba(0,103,255,.3));
	
    border-radius: 12px;

    padding: 12px 16px; 
	
	animation: filterPop .3s ease;
}



@keyframes filterPop{
    from{
        transform: translateY(-10px);
        opacity:0;
    }
    to{
        transform: translateY(0);
        opacity:1;
    }
}

.cpf-filters-select {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.cpf-filters select {
	border: 1px solid #0067ff;
	background-color: white;
	color: #0067ff;
}


/* Loader style */
.cpf-grid {
    position: relative;
}

.cpf-loader {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.cpf-grid.loading .cpf-loader {
    opacity: 1;
    visibility: visible;
}

.cpf-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #000;
    border-radius: 50%;
    animation: cpf-spin 0.8s linear infinite;
}

@keyframes cpf-spin {
    to { transform: rotate(360deg); }
}


/* Live search styles */
.cpf-filter-search {
	display: flex;
}

.cpf-live-search {
    position: relative;
    max-width: 400px;
}

#cpf-search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #0067ff;
	background-color: white;
	color: #0067ff;
}

#cpf-search-input::placeholder {
	color: #0067ff;
}

.cpf-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
}

.cpf-search-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.cpf-search-item:hover {
    background: #f5f5f5;
}

/* Paggination loader  */
.cpf-load-more {
    text-align: center;
    padding: 30px 0;
    display: none;
}

.cpf-loader-more {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e5e5;
    border-top: 3px solid #0066ff;
    border-radius: 50%;
    animation: cpf-spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes cpf-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cpf-skeleton {

    height: 180px;

    border-radius: 12px;

    background: linear-gradient(
        90deg,
        #f2f2f2 25%,
        #e6e6e6 37%,
        #f2f2f2 63%
    );

    background-size: 400% 100%;

    animation: skeleton 1.4s infinite;

}

@keyframes skeleton {

    0% { background-position: 100% 0 }
    100% { background-position: -100% 0 }

}

