/* =========================================================
DRXE CATEGORY PAGE
========================================================= */

.drxe-category{

font-family:'Inter',sans-serif;

background:
linear-gradient(
rgba(245,241,233,0.90),
rgba(245,241,233,0.90)
),
url('../../assets/images/home/cat-protein.jpg');

background-size:cover;
background-position:center bottom;

min-height:100vh;

}

/* CATEGORY PAGE TITLE */

.section-title{

font-size:40px;
font-weight:700;

text-align:center;

margin-bottom:80px;

color:#2f2f2f;

}

.section-title span{

color:#A82AAE;

}
/* CONTAINER */

.container{

max-width:1400px;
margin:auto;
padding:100px 0 40px;

}


/* CATEGORY ROW */

.drxe-category-row{
scroll-margin-top:120px;
}


/* CATEGORY TITLE */

.category-heading{

font-size:32px;
font-weight:700;

margin-bottom:30px;

color:#2f2f2f;

}


/* PRODUCT GRID */

.drxe-product-grid{

display:grid;

grid-template-columns:repeat(auto-fit,220px);

gap:80px;

justify-content:space-between;

}


/* PRODUCT CARD */

.product-card{

width:100%;

background:#1f2026;

border-radius:12px;

overflow:hidden;

box-shadow:0 8px 20px rgba(0,0,0,0.15);

transition:.25s;

display:flex;
flex-direction:column;

}

.product-card:hover{

transform:translateY(-5px);

box-shadow:0 14px 30px rgba(0,0,0,0.25);

}


/* IMAGE */

.product-img{

height:160px;

cursor:pointer;

overflow:hidden;

}

.product-img img{

width:100%;
height:100%;
object-fit:cover;

}


/* CARD BODY */

.product-body{

padding:16px 18px 24px;

color:#fff;

display:flex;
flex-direction:column;
flex-grow:1;

}


/* PRODUCT NAME */

.product-name{

font-size:18px;
font-weight:700;

margin-bottom:10px;

line-height:1.3;

min-height:48px;
max-height:48px;

overflow:hidden;

/* standard property */
line-clamp:2;

/* fallback implementation */
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:2;

}


/* QTY */

.product-qty{

font-size:14px;

color:#bbb;

margin-bottom:16px;

}


/* BUTTON */

.product-btn{

display:block;

background:#A82AAE;

text-align:center;

padding:12px;

border-radius:3px;

font-size:13px;

font-weight:600;

color:white;

text-decoration:none;

margin-top:auto;

/* extra spacing below button */

margin-bottom:4px;

}


/* =========================================================
PREVIEW POPUP
========================================================= */

#drxe-preview{

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

background:rgba(0,0,0,0.75);

display:none;

align-items:center;
justify-content:center;

z-index:9999;

padding:20px;

}


/* POPUP BOX */

#drxe-preview img{

max-width:900px;
max-height:70vh;

width:auto;
height:auto;

border-radius:10px;

box-shadow:0 20px 50px rgba(0,0,0,0.6);

background:white;

}


/* CLOSE BUTTON */

.drxe-close{

position:absolute;

top:30px;
right:40px;

font-size:34px;

color:#fff;

cursor:pointer;

z-index:10000;

}


/* =========================================================
RESPONSIVE
========================================================= */

@media(max-width:1200px){

.drxe-product-grid{

grid-template-columns:repeat(3,260px);

gap:60px;

}

}

@media(max-width:900px){

.drxe-product-grid{

grid-template-columns:repeat(2,260px);

gap:50px;

}

}

@media(max-width:600px){

.container{

padding:80px 20px;

}

.drxe-product-grid{

grid-template-columns:1fr;

gap:40px;

}

.product-card{

width:100%;

}

}


/* MOBILE POPUP */

@media(max-width:768px){

#drxe-preview img{

max-width:95%;
max-height:60vh;

}

.drxe-close{

top:20px;
right:20px;

font-size:28px;

}

}