/* Highly Attractive Premium UI Upgrade */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
body { font-family: 'Plus Jakarta Sans', sans-serif; background-color: #ffffff; color: #1f2937; }
.custom-col { margin-bottom: 20px; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes softPulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); } 70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }

.card.modern-card {
    border: 1px solid #eaeaea; border-radius: 16px; overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(250, 235, 215, 0.8), 0 4px 8px rgba(250, 235, 215, 0.6), inset 0 -4px 0 antiquewhite;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer; position: relative; height: 100%; display: flex; flex-direction: column; text-decoration: none !important;
    animation: fadeInUp 0.5s ease-out both;
}
.card.modern-card:hover { 
    transform: translateY(-8px) scale(1.01); 
    box-shadow: 0 30px 60px rgba(250, 235, 215, 1), 0 12px 24px rgba(250, 235, 215, 0.8), inset 0 -1px 0 antiquewhite;
    border-color: antiquewhite;
}

.modern-image-container {
    padding: 20px; height: 170px; display: flex; align-items: center; justify-content: center; background: #ffffff;
    position: relative;
}
.modern-image-container::after {
    content: ''; position: absolute; bottom: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(to right, transparent, #f3f4f6, transparent);
}
.modern-image-container img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.card.modern-card:hover .modern-image-container img { transform: scale(1.08); }

.modern-content { padding: 16px; text-align: left; flex-grow: 1; display: flex; flex-direction: column; }
.modern-title {
    font-size: 15px; font-weight: 600; color: #111827; margin-bottom: 8px;
    line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 42px;
}

.modern-price-box { margin-bottom: 10px; margin-top: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;}
.modern-price { font-size: 18px; font-weight: 800; color: #0f172a; }
.modern-price span { font-size: 13px; font-weight: 500; color: #94a3b8; text-decoration: line-through; }
.modern-tag-discount {
    color: #ef4444; font-weight: 700; font-size: 12px; background: #fef2f2; padding: 4px 10px; border-radius: 8px; border: 1px solid #fee2e2; transition: all 0.3s;
}
.modern-tag-discount.pulse { animation: softPulse 2s infinite; background: #ef4444; color: white; border-color: #ef4444;}

.modern-footer { display: flex; justify-content: center; align-items: center; margin-top: auto; padding-top: 5px;}
.modern-store-icon { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; align-items: center; justify-content: center; }
.modern-store-icon img { width: 34px; height: 34px; border-radius: 8px; object-fit: contain; background: white; border: 1px solid #f1f5f9; padding: 4px; transition: 0.3s ease; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);}
.card.modern-card:hover .modern-store-icon img { transform: rotate(8deg) scale(1.1); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }

.modern-btn {
    font-size: 14px; font-weight: 700; color: #ffffff; background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 10px 16px; border-radius: 12px; transition: all 0.3s; display: block; width: 100%; text-align: center; box-sizing: border-box;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2); letter-spacing: 0.3px;
}
.card.modern-card:hover .modern-btn { transform: translateY(-2px); box-shadow: 0 8px 12px -2px rgba(16, 185, 129, 0.3); background: linear-gradient(135deg, #059669 0%, #047857 100%); }


.sticky-div .border { border: none !important; border-radius: 16px !important; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 10px 15px -3px rgba(0,0,0,0.03) !important; background: white; margin-bottom: 20px; padding: 24px !important;}

/* Mobile Optimization */
@media (max-width: 768px) {
    .modern-image-container { height: 140px; padding: 12px; }
    .custom-col { margin-bottom: 12px; }
    .modern-content { padding: 12px; }
    .modern-title { font-size: 14px; margin-bottom: 6px; height: auto;}
    .modern-price { font-size: 16px; }
    .modern-btn { font-size: 13px; padding: 8px 14px; border-radius: 10px;}
}

/* Premium Header Styles */
.premium-navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px -2px rgba(0,0,0,0.03);
}
.navbar-brand img { max-height: 45px; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.navbar-brand:hover img { transform: scale(1.05); }

.premium-navbar .nav-link { 
    font-weight: 600; color: #374151 !important; margin: 0 5px; 
    border-radius: 8px; transition: all 0.3s ease; padding: 8px 16px !important; 
}
.premium-navbar .nav-link:hover { background: #f3f4f6; color: #111827 !important; transform: translateY(-1px); }

/* 3D Antiquewhite Categories */
/*.premium-scroll {*/
/*    background: #ffffff;*/
/*    padding: 15px 0 5px 0;*/
/*    margin-top: 75px;*/
/*    border-bottom: 1px solid #eaeaea;*/
/*    margin-bottom: 25px;*/
/*}*/
.premium-scroll {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: 100vw !important;
}

.premium-scroll .scroll-content {
    display: flex; align-items: flex-start; overflow-x: auto; scroll-behavior: smooth; gap: 50px; padding: 10px 20px 25px 20px;
    max-width: fit-content; margin: 0 auto;
    -ms-overflow-style: none; scrollbar-width: none;
}
.premium-scroll .scroll-content::-webkit-scrollbar { display: none; }
.premium-scroll .scroll-content > div {
    flex: 0 0 auto; text-align: center; width: 85px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* 4D Floating Orb Style */
.premium-scroll .scroll-content a {
    text-decoration: none !important; display: flex !important; flex-direction: column !important; align-items: center !important; 
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    position: relative;
    height: auto !important;
    padding-top: 10px;
}

/* No push effect on the container anymore */
.premium-scroll .scroll-content a:hover {
    transform: none;
}

/* 4D Orb Icon Container */
.premium-scroll .cat-nav {
    width: 60px; height: 60px; object-fit: contain;
    border-radius: 50%; 
    background: antiquewhite; 
    padding: 10px;
    border: 2px solid #ffffff;
    box-shadow: 
        inset 4px 4px 8px rgba(255,255,255,0.9), 
        inset -4px -4px 8px rgba(210, 185, 155, 0.5),
        0 8px 16px rgba(210, 185, 155, 0.6),
        0 4px 6px rgba(0,0,0,0.05);
    position: relative; z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.premium-scroll .scroll-content a:hover .cat-nav {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 
        inset 4px 4px 8px rgba(255,255,255,0.9), 
        inset -4px -4px 8px rgba(210, 185, 155, 0.5),
        0 16px 24px rgba(210, 185, 155, 0.7),
        0 8px 12px rgba(0,0,0,0.08);
}

.premium-scroll .div-menu-p {
    font-size: 11px; font-weight: 700; color: #4b5563; margin-top: 10px; margin-bottom: 0; line-height: 1.25; 
    word-wrap: break-word; white-space: normal !important; overflow: visible !important;
    height: auto !important; min-height: 28px; display: block !important;
    transition: color 0.3s ease;
}
.premium-scroll .scroll-content a:hover .div-menu-p { 
    color: #111827; 
}
