.eef-eassa-products-archive{
	padding: 100px 0;
}

.eef-archieve-title{
	justify-content: center;
	margin-bottom:100px;
}

.eef-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Exactly 4 columns */
    gap: 30px;
    width: 100%;
}

.eef-product-item {
    padding: 20px;
    background: #1f1f1f;
    transition: box-shadow 0.3s ease;
    border-radius: 15px;
    color: #ffffff;
    text-align: center;
}

.eef-product-item:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.eef-product-thumb img {
    max-width: 100%;
    height: auto;
    width: 100%;
}

.eef-product-title {
    margin-top: 15px;
    font-size: 18px;
    line-height: 28px;
    color: #ffffff;
    text-align: left;
}

#eef-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#eef-popup-box {
    background: #1f1f1f;
    padding: 45px;
    max-width: 600px;
    width: 100%;
    border-radius: 15px;
    text-align: center;
    position: absolute;
    top: 50%;
    height: auto;
    left: 50%;
    color: #ffffff;
    transform: translate(-50%, -50%);
}

#eef-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #999;
    background-color: #131313;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    line-height: 40px;
    color: #007bff;
    font-weight: 600;
}

#eef-popup-close:hover,
#eef-popup-close:focus,
#eef-popup-close:active{
    background-color: #007bff;
    color: #131313;
}

.eef-download-btn-popup,
.eef-download-btn{
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
	border: none !important;
}

.eef-download-btn-popup:hover,
.eef-download-btn-popup:focus,
.eef-download-btn-popup:active,
.eef-download-btn:hover,
.eef-download-btn:focus,
.eef-download-btn:active{
    color: #ffffff;
	background-color: #000000;
}

.tabs-nav { 
	display: flex;
	gap: 15px; 
	cursor: pointer; 
	list-style: none; 
	padding: 0;
	justify-content: center; 
	align-items: center;
	margin-bottom: 35px !important;
}

.tabs-nav li { 
	padding: 5px 20px; 
	background: #1f1f1f; 
	border-radius: 4px; 
	margin-bottom:0 !important; 
}

.tabs-nav li.active,
.tabs-nav li:hover,
.tabs-nav li:active,
.tabs-nav li:focus{ 
	background: #007bff; color: #fff; 
}

.tab-content { 
	display: none; 
	margin-top: 20px; 
}

.tab-content.active { 
	display: block; 
}


@media all and ( max-width:540px ){
	.eef-product-grid {
		padding:0 15px;
		grid-template-columns: repeat(1, 1fr); /* Exactly 1 columns on Mobiles */
	}
	
	.tabs-nav {
		display: grid !important;
		gap: 15px;
		cursor: pointer;
		list-style: none;
		padding: 0 15px !important;
		margin-bottom: 35px !important;
		grid-template-columns: repeat(3, 1fr);
	}

}

@media all and ( min-width:541px ) and ( max-width:768px ){
	.eef-product-grid {
		padding:0 15px;
		grid-template-columns: repeat(2, 1fr); /* Exactly 2 columns on Tablets */
	}
}