body.archive.post-type-archive.post-type-archive-custom_product {
    background-image: linear-gradient(290deg,rgb(232,239,247) 6%,rgb(234,241,249) 61%,rgb(216,227,233) 100%) !important;
}
.products-archive-title {
    margin-top: 60px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}
.products-archive-title h2 {
    font-size: 45px;
    font-weight: 400;
}

.products-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.category-row {
    display: flex;
    margin-bottom: 40px;
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 40px;
}

.category-name {
    width: 24%;
}

.category-name h2 {
    font-size: 25px;
    font-weight: 500;
}

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

.explore-btn,
.view-product-btn,
.back-btn {
    background: #0D5DBE;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
	border-radius: 8px;
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.explore-btn:hover,
.view-product-btn:hover,
.back-btn:hover {
    background: #082D60;
	color: #fff;
}

.back-btn {
    margin-bottom: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    width: 80%;
    align-items: stretch;
}

.product-box {
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid #0d5dbe;
    padding: 1.5em 1.5em;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(13,93,190,0.1);
    transition: box-shadow 0.3s;
    justify-content: space-between;
	background: white;
}

.product-box:hover {
    box-shadow: 0 0px 6px rgba(13,93,190,0.9);
}

.product-box h3 {
    font-size: 20px;
}

.ajax-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #0D5DBE;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
button.view-all-cables {
    position: absolute;
    bottom: 10px;
    background: none;
    right: 0;
    left: 0;
    width: fit-content;
    font-size: 18px;
    height: 80px;
    cursor: pointer;
    margin-left: 260px;
    justify-self: center;
    color: #0D5DBE;
    transition: all 0.3s;
}

.products-grid.cables-grid {
    padding-bottom: 80px;
}

button.view-all-cables:hover {
    color: #082D60;
    text-decoration: underline;
}
@media screen and (max-width: 1024px) {
	.category-row {
		flex-direction: column;
		align-items: center;
		row-gap: 40px;
	}
	.category-name {
		width: 100%;
		text-align: center;
	}
}
@media screen and (max-width: 767px) {
	button.view-all-cables {
		margin-left: 0;
	}	
}
@media screen and (max-width: 450px) {
	.products-archive-title h2 {
		font-size: 35px;
	}
}