/* =========================
WISHLIST PAGE GRID
========================= */

.ss-wishlist-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
gap:25px;
margin-top:30px;
}


/* =========================
PRODUCT CARD
========================= */

.ss-wishlist-card{
border:1px solid #eee;
padding:18px;
background:#fff;
border-radius:8px;
text-align:center;
transition:all .25s ease;
}

.ss-wishlist-card:hover{
box-shadow:0 10px 25px rgba(0,0,0,.08);
transform:translateY(-3px);
}


/* =========================
PRODUCT IMAGE
========================= */

.ss-wishlist-img img{
width:100%;
height:auto;
border-radius:6px;
}


/* =========================
TITLE
========================= */

.ss-wishlist-title{
font-size:16px;
margin:12px 0 6px;
font-weight:600;
color:#222;
line-height:1.4;
}


/* =========================
PRICE
========================= */

.ss-wishlist-price{
font-size:15px;
font-weight:600;
margin-bottom:12px;
color:#000;
}


/* =========================
BUTTON WRAPPER
========================= */

.ss-wishlist-buttons{
display:flex;
gap:10px;
justify-content:center;
flex-wrap:wrap;
}


/* =========================
ADD TO CART
========================= */

.ss-add-cart{
background:#000;
color:#fff;
padding:8px 16px;
font-size:14px;
border-radius:4px;
text-decoration:none;
transition:.2s;
}

.ss-add-cart:hover{
background:#333;
}


/* =========================
BUY NOW
========================= */

.ss-buy-now{
background:#e63946;
color:#fff;
padding:8px 16px;
font-size:14px;
border-radius:4px;
text-decoration:none;
transition:.2s;
}

.ss-buy-now:hover{
background:#c92c3a;
}


/* =========================
EMPTY MESSAGE
========================= */

.ss-empty{
text-align:center;
font-size:18px;
margin-top:40px;
color:#666;
}


/* =========================
MOBILE RESPONSIVE
========================= */

@media(max-width:768px){

.ss-wishlist-grid{
grid-template-columns:repeat(2,1fr);
gap:15px;
}

.ss-wishlist-title{
font-size:14px;
}

}




/* =========================
WISHLIST HEADER
========================= */

.ss-wishlist-header{
text-align:center;
margin-bottom:40px;
}


/* =========================
PRODUCT CARD
important: position relative 
so discount badge can sit on image
========================= */

.ss-wishlist-card{
position:relative;
}


/* =========================
DISCOUNT BADGE
shows on top-left of product image
========================= */

.ss-discount-badge{
position:absolute;
top:10px;
left:10px;
background:#e63946;
color:#fff;
padding:4px 8px;
font-size:12px;
border-radius:4px;
z-index:2;
}


/* =========================
MOVE TO CART BUTTON
========================= */

.ss-move-cart{
background:#000;
color:#fff;
padding:8px 14px;
text-decoration:none;
border-radius:4px;
display:inline-block;
}


/* =========================
REMOVE BUTTON
========================= */

.ss-remove{
background:#eee;
padding:8px 14px;
text-decoration:none;
border-radius:4px;
display:inline-block;
}


.ss-wishlist-img{
position:relative;
display:block;
}


.ss-custom-rating{
font-size:18px;
color:#FFC107;   /* yellow star */
margin:6px 0;
letter-spacing:2px;
}

.ss-review-count{
color:#777;
font-size:14px;
margin-left:4px;
}




/* =========================
TABLET
========================= */

@media(max-width:768px){

.ss-wishlist-grid{
grid-template-columns:repeat(2,1fr);
gap:15px;
}

.ss-wishlist-title{
font-size:14px;
}

}



/* =========================
MOBILE OPTIMIZATION
========================= */

@media(max-width:480px){

.ss-wishlist-grid{
grid-template-columns:1fr;
gap:18px;
}

.ss-wishlist-card{
max-width:320px;
margin:auto;
padding:15px;
}

.ss-wishlist-title{
font-size:15px;
}

/* buttons layout */

.ss-wishlist-buttons{
display:flex;
flex-wrap:wrap;
gap:8px;
}

/* move cart + buy now */

.ss-move-cart,
.ss-buy-now{
width:48%;
text-align:center;
}

/* remove button full width */

.ss-remove{
width:100%;
text-align:center;
margin-top:5px;
}

.ss-custom-rating{
font-size:16px;
}

}