/* =========================
MOBILE BOTTOM MENU
========================= */

.ss-mobile-menu{
position:fixed;
bottom:0;
left:0;
width:100%;
background:#ffffff;
display:flex;
justify-content:space-around;
align-items:center;
padding:10px 0 calc(10px + env(safe-area-inset-bottom));
border-top:1px solid #e5e5e5;
z-index:9999;
box-shadow:0 -6px 18px rgba(0,0,0,0.08);
}


/* =========================
MENU ITEM
========================= */

.ss-mobile-menu a{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
font-size:11px;
font-weight:500;
color:#333;
text-decoration:none;
flex:1;
position:relative;
transition:all .2s ease;
}


/* =========================
ICON DEFAULT
========================= */

.ss-mobile-menu a i{
font-size:21px;
margin-bottom:3px;
color:#333;
transition:all .2s ease;
}


/* =========================
ACTIVE (🔥 MAIN FIX)
========================= */

.ss-mobile-menu a.active{
color:#C30F16;
}

.ss-mobile-menu a.active i{
color:#C30F16;
}


/* =========================
HOVER
========================= */

.ss-mobile-menu a:hover{
color:#C30F16;
}

.ss-mobile-menu a:hover i{
color:#C30F16;
}


/* =========================
CATEGORY ICON ROUND
========================= */

.ss-mobile-category i{
width:38px;
height:38px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
background:#000;
color:#fff !important;
box-shadow:0 3px 8px rgba(0,0,0,0.08);
font-size:18px;
margin-bottom:3px;
transition:all .25s ease;
}

/* CATEGORY ACTIVE */

.ss-mobile-category.active i{
background:#C30F16;
color:#fff !important;
}


/* =========================
BADGE (CART / WISHLIST)
========================= */

.ss-cart-count,
.ss-wishlist-count{
position:absolute;
top:-6px;
right:20px;
background:#C30F16;
color:#fff;
font-size:10px;
font-weight:600;
padding:2px 6px;
border-radius:20px;
min-width:16px;
text-align:center;
line-height:1;
box-shadow:0 2px 6px rgba(0,0,0,0.15);
}


/* =========================
ACTIVE SPECIAL CASE FIX
========================= */

/* Home */

.ss-mobile-menu a[href="/"].active i{
color:#C30F16 !important;
}

/* Wishlist */

.ss-mobile-wishlist.active i{
color:#C30F16 !important;
}

/* Cart */

.ss-mobile-cart.active i{
color:#C30F16 !important;
}

/* Account */
/* =========================
ACCOUNT ICON PREMIUM
========================= */

.ss-mobile-account i{
font-size:22px;
transition:0.25s;
}

/* active */

.ss-mobile-account.active i{
color:#C30F16;
transform:scale(1.1);
}

/* hover */

.ss-mobile-account:hover i{
color:#C30F16;
}

/* =========================
APP TAP EFFECT
========================= */

.ss-mobile-menu a:active{
transform:scale(0.95);
}

/* =========================
CATEGORY SECTION
========================= */

.ss-category-section{
padding:20px 15px;
animation:fadeIn .35s ease;
width:100%;
box-sizing:border-box;
background:#fafafa;
}

.ss-category-header{
margin-bottom:16px;
}

.ss-category-header h2{
font-size:18px;
font-weight:600;
margin-bottom:4px;
}

.ss-category-header p{
font-size:13px;
color:#777;
}


/* =========================
CATEGORY NAVIGATION BAR
========================= */

.ss-category-nav{
background:#fff;
padding:10px 15px;
border-bottom:1px solid #eee;
margin-bottom:15px;
}

.ss-category-top{
display:flex;
align-items:center;
gap:12px;
}

.ss-category-back{
font-size:14px;
font-weight:500;
color:#444;
cursor:pointer;
}

.ss-category-back:hover{
color:#000;
}

.ss-category-breadcrumb{
font-size:13px;
color:#777;
}

.ss-breadcrumb-divider{
margin:0 6px;
color:#bbb;
}

.ss-breadcrumb-home{
cursor:pointer;
color:#444;
}

.ss-breadcrumb-home:hover{
text-decoration:underline;
}


/* =========================
CATEGORY CONTAINER
========================= */

.ss-category-container{
padding:0 15px 10px;
}


/* =========================
CATEGORY GRID
========================= */

.ss-category-grid{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:14px;

width:100%;

margin-bottom:20px;

}


/* =========================
CATEGORY CARD
========================= */

.ss-category-card{

background:#fff;

border-radius:14px;

padding:14px;

display:flex;

flex-direction:column;

align-items:center;

text-align:center;

text-decoration:none;

color:#333;

box-shadow:0 4px 12px rgba(0,0,0,0.06);

transition:all .25s ease;

width:100%;

cursor:pointer;

}

.ss-category-card:hover{

transform:translateY(-3px);

box-shadow:0 8px 20px rgba(0,0,0,0.08);

}


/* =========================
CATEGORY IMAGE
========================= */

.ss-category-image{

width:70px;
height:70px;

margin-bottom:8px;

}

.ss-category-image img{

width:100%;
height:100%;

object-fit:cover;

border-radius:14px;

box-shadow:0 4px 10px rgba(0,0,0,0.08);

}


/* =========================
FALLBACK ICON
========================= */

.ss-category-icon{

width:70px;
height:70px;

display:flex;

align-items:center;
justify-content:center;

font-size:28px;

background:#f5f5f5;

border-radius:12px;

color:#999;

margin-bottom:8px;

}


/* =========================
CATEGORY TEXT
========================= */

.ss-category-info{
display:flex;
flex-direction:column;
align-items:center;
}

.ss-category-name{
font-size:14px;
font-weight:600;
line-height:1.3;
margin-bottom:4px;
}

.ss-category-count{

font-size:11px;

background:#f3f3f3;

padding:3px 8px;

border-radius:20px;

color:#666;

}


/* =========================
PRODUCT GRID
========================= */

.ss-product-grid{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:14px;

padding:0 15px 20px;

}

.ss-product-card{

background:#fff;

border-radius:14px;

padding:10px;

box-shadow:0 4px 12px rgba(0,0,0,0.06);

text-align:center;

transition:.25s;

}

.ss-product-card:hover{
transform:translateY(-3px);
box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.ss-product-card img{
width:100%;
border-radius:10px;
margin-bottom:6px;
}

.ss-product-card h3{
font-size:13px;
font-weight:500;
margin-bottom:4px;
}

.ss-product-card .price{
font-size:13px;
font-weight:600;
color:#C30F16;
}


/* =========================
ANIMATION
========================= */

@keyframes fadeIn{

from{
opacity:0;
transform:translateY(10px);
}

to{
opacity:1;
transform:translateY(0);
}

}











/* =========================================
ULTRA PREMIUM MOBILE CART (FINAL PRO UI)
========================================= */

@media(max-width:768px){

/* MAIN WRAPPER */

.ss-cart-page{
padding:16px;
padding-bottom:120px; /* 🔥 bottom bar overlap fix */
background:#f5f5f7;
min-height:100vh;
}


/* TITLE */

.ss-cart-title{
text-align:center;
font-size:20px;
font-weight:700;
margin-bottom:16px;
color:#111;
}


/* =========================
PRODUCT CARD
========================= */

.ss-cart-card{
display:flex;
gap:14px;
background:#fff;
padding:14px;
border-radius:16px;
margin-bottom:16px;
box-shadow:
0 10px 30px rgba(0,0,0,0.08),
0 2px 8px rgba(0,0,0,0.04);
border:1px solid rgba(0,0,0,0.04);
transition:0.25s;
align-items:flex-start;
}

.ss-cart-card:active{
transform:scale(0.97);
}


/* =========================
LEFT SIDE
========================= */

.ss-cart-left{
display:flex;
flex-direction:column;
align-items:center;
gap:10px;
}

.ss-cart-left img{
width:90px;
height:90px;
object-fit:cover;
border-radius:12px;
box-shadow:0 4px 12px rgba(0,0,0,0.08);
}



/* =========================
QTY BUTTON FIX (NO WHITE BUG)
========================= */

.ss-cart-left .ss-qty button{
width:28px;
height:28px;
border:none;
background:#f2f2f2;
color:#111;
border-radius:50%;
font-size:14px;
font-weight:600;
box-shadow:0 2px 5px rgba(0,0,0,0.1);
transition:0.2s;
}

/* hover */
.ss-cart-left .ss-qty button:hover{
background:#e5e5e5;
}

/* active press */
.ss-cart-left .ss-qty button:active{
background:#C30F16 !important;
color:#fff !important;
transform:scale(0.9);
}



/* =========================
RIGHT SIDE
========================= */

.ss-cart-info{
flex:1;
display:flex;
flex-direction:column;
}


/* TITLE */

.ss-cart-info h3{
font-size:14px;
margin-bottom:4px;
color:#111;
font-weight:600;
line-height:1.3;
}

.ss-cart-product-link{
text-decoration:none;
color:#111;
}

.ss-cart-product-link:active{
opacity:0.7;
}


/* PRICE */

.ss-cart-page .ss-price{
color:#C30F16;
font-weight:700;
margin-bottom:6px;
font-size:15px;
}


/* REMOVE */

.ss-cart-page .ss-remove{
margin-top:6px;
font-size:11px;
padding:4px 8px;
border-radius:6px;
background:#fff0f0;
color:#C30F16;
border:none;
align-self:flex-start;
}


/* =========================
EXTRA ROW
========================= */

.ss-extra-row{
display:flex;
justify-content:space-between;
align-items:center;
margin-top:10px;
}


/* SEE MORE BUTTON */

.ss-see-more-btn{
background:#fff;
border:1px solid #ddd;
padding:6px 12px;
border-radius:20px;
font-size:12px;
color:#333;
cursor:pointer;
transition:0.2s;
}

.ss-see-more-btn:active{
background:#C30F16;
color:#fff;
border-color:#C30F16;
}


/* =========================
ICON ONLY PREMIUM SHARE
========================= */

.ss-share-btn{
background:transparent;
border:none;
padding:6px;
cursor:pointer;
}

.ss-share-btn i{
font-size:22px;
color:#C30F16;
transition:0.2s;
}

.ss-share-btn:hover i{
transform:scale(1.15);
color:#a30c12;
}


/* =========================
EMPTY
========================= */

.ss-empty{
text-align:center;
padding:50px 0;
color:#777;
font-size:14px;
}


/* =========================
BOTTOM BAR
========================= */

.ss-cart-bottom{
position:fixed;
bottom:80px;
left:0;
width:100%;
background:rgba(255,255,255,0.95);
backdrop-filter:blur(10px);
padding:16px;
box-shadow:0 -10px 30px rgba(0,0,0,0.1);
z-index:999;
border-top-left-radius:18px;
border-top-right-radius:18px;
}


/* TOTAL */

.ss-total{
display:flex;
justify-content:space-between;
align-items:center;
font-size:18px;
font-weight:700;
margin-bottom:12px;
color:#111;
}

.ss-total span:first-child{
font-size:13px;
color:#777;
font-weight:500;
}


/* CHECKOUT */

.ss-checkout-btn{
display:block;
text-align:center;
background:linear-gradient(135deg,#C30F16,#ff2e2e);
color:#fff;
padding:14px;
border-radius:14px;
font-weight:700;
font-size:15px;
text-decoration:none;
letter-spacing:0.3px;
box-shadow:0 10px 25px rgba(195,15,22,0.4);
transition:0.3s;
}

.ss-checkout-btn:active{
transform:scale(0.95);
}


/* =========================
ANIMATION
========================= */

.ss-cart-card{
animation:ssFadeIn .35s ease;
}

@keyframes ssFadeIn{
from{
opacity:0;
transform:translateY(15px);
}
to{
opacity:1;
transform:translateY(0);
}
}

}


/* =========================================
ULTRA PREMIUM WISHLIST UI
========================================= */

@media(max-width:768px){

/* =========================
MAIN WRAPPER
========================= */

.ss-wishlist-page{
padding:16px;
padding-bottom:100px;
background:#f5f5f7;
min-height:100vh;
}


/* =========================
TITLE
========================= */

.ss-wishlist-page .ss-cart-title{
text-align:center;
font-size:20px;
font-weight:700;
margin-bottom:16px;
color:#111;
}


/* =========================
PRODUCT CARD (PREMIUM)
========================= */

.ss-wishlist-page .ss-cart-card{
display:flex;
gap:14px;
background:#fff;
padding:14px;
border-radius:16px;
margin-bottom:16px;
box-shadow:
0 10px 30px rgba(0,0,0,0.08),
0 2px 8px rgba(0,0,0,0.04);
border:1px solid rgba(0,0,0,0.04);
transition:0.25s;
align-items:flex-start;
}

.ss-wishlist-page .ss-cart-card:active{
transform:scale(0.97);
}


/* =========================
LEFT SIDE IMAGE
========================= */

.ss-wishlist-page .ss-cart-left{
display:flex;
flex-direction:column;
align-items:center;
gap:10px;
}

.ss-wishlist-page .ss-cart-left img{
width:90px;
height:90px;
object-fit:cover;
border-radius:12px;
box-shadow:0 4px 12px rgba(0,0,0,0.08);
}


/* =========================
RIGHT SIDE
========================= */

.ss-wishlist-page .ss-cart-info{
flex:1;
display:flex;
flex-direction:column;
}


/* =========================
TITLE
========================= */

.ss-wishlist-page h3{
font-size:14px;
margin-bottom:4px;
color:#111;
font-weight:600;
line-height:1.3;
}

.ss-cart-product-link{
text-decoration:none;
color:#111;
}

.ss-cart-product-link:active{
opacity:0.7;
}


/* =========================
PRICE
========================= */

.ss-wishlist-page .ss-price{
color:#C30F16;
font-weight:700;
margin-bottom:10px;
font-size:15px;
}

.ss-price{
font-size:16px;
font-weight:700;
color:#C30F16;
}
/* =========================
ACTION BUTTONS ROW
========================= */

.ss-wishlist-actions{
display:flex;
gap:8px;
margin-top:6px;
}


/* =========================
REMOVE BUTTON (SOFT RED)
========================= */

.ss-wishlist-remove{
flex:1;
background:#fff0f0;
color:#C30F16;
border:none;
padding:8px;
border-radius:10px;
font-size:12px;
font-weight:600;
transition:0.2s;
}

.ss-wishlist-remove:active{
background:#C30F16;
color:#fff;
transform:scale(0.95);
}


/* =========================
ADD TO CART BUTTON (PRIMARY)
========================= */

.ss-add-to-cart{
flex:1;
background:linear-gradient(135deg,#C30F16,#ff2e2e);
color:#fff;
border:none;
padding:8px;
border-radius:10px;
font-size:12px;
font-weight:700;
letter-spacing:0.3px;
box-shadow:0 6px 15px rgba(195,15,22,0.35);
transition:0.25s;
}

.ss-add-to-cart:active{
transform:scale(0.95);
box-shadow:0 8px 20px rgba(195,15,22,0.5);
}


/* =========================
EMPTY STATE
========================= */

.ss-wishlist-page .ss-empty{
text-align:center;
padding:60px 0;
color:#777;
font-size:14px;
}


/* =========================
ANIMATION
========================= */

.ss-wishlist-page .ss-cart-card{
animation:ssFadeIn .35s ease;
}

@keyframes ssFadeIn{
from{
opacity:0;
transform:translateY(15px);
}
to{
opacity:1;
transform:translateY(0);
}
}

}
















/* =========================================
ACCOUNT PREMIUM UI (NO EMOJI)
========================================= */

@media(max-width:768px){

.ss-account-page{
padding:16px;
background:#f5f5f7;
min-height:100vh;
}


/* =========================
HEADER
========================= */

.ss-account-header{
display:flex;
align-items:center;
gap:14px;
background:#fff;
padding:16px;
border-radius:18px;
margin-bottom:16px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.ss-user-avatar{
width:60px;
height:60px;
border-radius:50%;
background:linear-gradient(135deg,#C30F16,#ff2e2e);
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-size:22px;
font-weight:700;
box-shadow:0 6px 20px rgba(195,15,22,0.4);
}

.ss-user-info h3{
font-size:16px;
margin-bottom:3px;
font-weight:700;
}

.ss-user-info span{
font-size:12px;
color:#777;
}


/* =========================
MENU GRID
========================= */

.ss-account-menu{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px;
}


/* =========================
CARD
========================= */

.ss-account-card{
background:#fff;
padding:18px 12px;
border-radius:16px;
text-align:center;
text-decoration:none;
color:#111;
display:flex;
flex-direction:column;
align-items:center;
gap:8px;
font-size:13px;
font-weight:600;
box-shadow:0 6px 20px rgba(0,0,0,0.08);
transition:0.25s;
}


/* ICON */

.ss-account-card i{
font-size:20px;
color:#C30F16;
}


/* ACTIVE */

.ss-account-card:active{
transform:scale(0.95);
background:#C30F16;
color:#fff;
}

.ss-account-card:active i{
color:#fff;
}


/* =========================
LOGOUT SPECIAL
========================= */

.ss-account-card.logout{
grid-column:span 2;
background:#fff0f0;
color:#C30F16;
}

.ss-account-card.logout i{
color:#C30F16;
}

.ss-account-card.logout:active{
background:#C30F16;
color:#fff;
}

.ss-account-card.logout:active i{
color:#fff;
}

}