:root {
    --primary-dark: #0f172a; 
    --primary-light: #1e293b; 
    --accent-gold: #d97706; 
    --accent-hover: #b45309;
    --bg-color: #f8fafc; 
    --card-bg: #ffffff; 
    --text-main: #0f172a; 
    --text-light: #64748b;
    --white: #ffffff; 
    --danger: #ef4444; 
    --success: #10b981; 
    --radius-md: 12px;
    --shadow-soft: 0 4px 15px rgba(15, 23, 42, 0.05);
    --shadow-pro: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body.dark-mode { 
    --primary-dark: #f8fafc; 
    --bg-color: #0f172a; 
    --card-bg: #1e293b; 
    --text-main: #f8fafc; 
    --text-light: #94a3b8; 
}

html, body { 
    margin: 0; 
    padding: 0; 
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg-color); 
    color: var(--text-main); 
    transition: background-color 0.3s, color 0.3s; 
    overflow-x: hidden; 
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 15px; }

/* Loader */
#pageLoader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #0f172a, #1e293b); z-index: 99999; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: opacity 0.8s ease-out, visibility 0.8s ease-out; }
.loader-brand { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: white; letter-spacing: 2px; margin-bottom: 20px; position: relative; overflow: hidden; }
.loader-brand span { color: var(--accent-gold); }
.loader-brand::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: shine 2s infinite; }
@keyframes shine { 100% { left: 200%; } }
.loader-dots { display: flex; gap: 8px; }
.loader-dots div { width: 10px; height: 10px; background: var(--accent-gold); border-radius: 50%; animation: bounce 1.4s infinite ease-in-out both; }
.loader-dots div:nth-child(1) { animation-delay: -0.32s; }
.loader-dots div:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

/* Top Marquee Bar */
.marquee-container { background: linear-gradient(90deg, #1e293b, var(--primary-dark)); color: var(--accent-gold); font-size: 13px; font-weight: 600; padding: 8px 15px; border-bottom: 1px solid rgba(255,255,255,0.1); letter-spacing: 0.5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

/* Header */
header { background: var(--card-bg); border-bottom: 1px solid rgba(15,23,42,0.1); position: sticky; top: 0; z-index: 1000; transition: 0.3s; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; gap: 15px; }
.logo { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--primary-dark); text-decoration: none; }
.logo span { color: var(--accent-gold); }
.search-bar { flex: 1; max-width: 450px; display: flex; align-items: center; background: var(--bg-color); border-radius: 30px; padding: 5px 15px; border: 1px solid #e2e8f0; transition: 0.3s; }
.search-bar input { border: none; outline: none; width: 100%; background: transparent; color: var(--text-main); padding: 5px; }
.header-icons { display: flex; gap: 15px; align-items: center; }
.icon-btn { cursor: pointer; font-size: 22px; position: relative; color: var(--primary-dark); transition: transform 0.2s; }
.icon-btn:hover { transform: scale(1.1); }
.badge-count { position: absolute; top: -8px; right: -10px; background: var(--danger); color: white; font-size: 11px; padding: 2px 6px; border-radius: 10px; font-weight: bold; transition: transform 0.2s; box-shadow: 0 2px 5px rgba(239, 68, 68, 0.4); }

/* Top Section Grid */
.top-section-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin: 20px 0; }
@media (max-width: 900px) { .top-section-grid { grid-template-columns: 1fr; } }
.hero-slider-wrap { position: relative; width: 100%; height: 280px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); }
@media (max-width: 900px) { .hero-slider-wrap { height: 180px; } }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: white; opacity: 0; transition: opacity 1s ease-in-out; padding: 20px; }
.hero-slide.active { opacity: 1; z-index: 1; }
.slide-1 { background: linear-gradient(135deg, var(--primary-dark), #1e293b); }
.slide-2 { background: linear-gradient(135deg, #0f172a, #3b82f6); }
.slide-3 { background: linear-gradient(135deg, #b45309, #d97706); }
.hero-slide h1 { font-family: 'Playfair Display', serif; font-size: 28px; margin-bottom: 8px; color: var(--accent-gold); }
.slide-2 h1, .slide-3 h1 { color: #fff; }

.right-offers-wrap { display: flex; flex-direction: column; gap: 15px; height: 280px; overflow-y: auto; scrollbar-width: none; }
.right-offers-wrap::-webkit-scrollbar { display: none; }
@media (max-width: 900px) { .right-offers-wrap { height: auto; } }

/* Feature Boxes */
.feature-boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
@media (max-width: 600px) { .feature-boxes { grid-template-columns: repeat(2, 1fr); } }

/* Main Content Area */
.main-layout { display: flex; gap: 25px; padding: 0 0 20px 0; align-items: flex-start; }
.category-menu { width: 250px; position: sticky; top: 80px; height: calc(100vh - 100px); overflow-y: auto; background: var(--card-bg); padding: 20px; border-radius: 16px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 10px; align-self: flex-start; transition: 0.3s; }
.category-menu::-webkit-scrollbar { width: 4px; }
.category-menu::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.category-btn { padding: 12px; border: none; border-radius: 8px; background: var(--bg-color); color: var(--text-main); font-weight: 600; cursor: pointer; text-align: left; transition: 0.3s; }
.category-btn:hover { background: #e2e8f0; }
.category-btn.active { background: var(--primary-dark); color: white; box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2); }
.product-content { flex: 1; min-width: 0; }
 
/* Sorting Bar */
.filter-sort-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; background: var(--card-bg); padding: 10px 15px; border-radius: 12px; box-shadow: var(--shadow-soft); border: 1px solid #e2e8f0; transition: 0.3s; }
.sort-select { padding: 6px 12px; border-radius: 8px; border: 1px solid #cbd5e1; font-size: 12px; font-weight: 600; outline: none; background: var(--bg-color); color: var(--primary-dark); cursor: pointer; }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }

/* Skeleton */
.skeleton { background: #e2e8f0; animation: pulse 1.5s infinite; border-radius: 8px; }
@keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } }
.skel-card { background: var(--card-bg); border-radius: 16px; padding: 15px; border: 1px solid #f1f5f9; display: flex; flex-direction: column; gap: 10px; height: 320px; }
.skel-img { height: 140px; width: 100%; }
.skel-title { height: 20px; width: 80%; }
.skel-price { height: 24px; width: 50%; }
.skel-btn { height: 35px; width: 100%; margin-top: auto; }

/* Product Cards */
.product-card { background: var(--card-bg); border-radius: 16px; padding: 15px; box-shadow: var(--shadow-soft); border: 1px solid #f1f5f9; transition: 0.3s; position: relative; display: flex; flex-direction: column; cursor: pointer; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: #cbd5e1; }
.product-img { width: 100%; height: 140px; object-fit: contain; margin-bottom: 10px; transition: 0.3s; }
.product-card:hover .product-img { transform: scale(1.05); }
.title { font-weight: 600; height: 38px; overflow: hidden; font-size: 13px; margin-bottom: 10px; line-height: 1.4; color: var(--text-main); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; }
.price { font-size: 17px; font-weight: 800; color: var(--primary-dark); }
.unit-select { width: 100%; padding: 8px; margin: 10px 0; border-radius: 8px; border: 1px solid #cbd5e1; font-size: 12px; background: var(--bg-color); color: var(--primary-dark); outline: none; font-weight: 600; cursor: pointer; text-overflow: ellipsis; }
.card-actions { display: flex; gap: 8px; margin-top: 5px; align-items: center; justify-content: center; width: 100%; height: 35px; }
.add-cart-btn { width: 100%; height: 100%; background: var(--primary-dark); color: white; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.3s; display:flex; align-items:center; justify-content:center; margin:0; font-size: 12px;}
.add-cart-btn:hover { background: var(--accent-gold); box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3); }
.card-qty-box { display: none; align-items: center; justify-content: space-between; background: #f8fafc; border: 1px solid var(--primary-dark); border-radius: 8px; overflow: hidden; height: 100%; width: 100%; }
.card-qty-btn { width: 35px; height: 100%; border: none; background: var(--primary-dark); color: white; font-weight: bold; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.card-qty-btn:hover { background: var(--accent-gold); }
.card-qty-input-span { flex: 1; text-align: center; font-weight: bold; font-size: 14px; color: var(--primary-dark); }
.discount-badge { position: absolute; top: 10px; left: 10px; background: var(--danger); color: white; padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: bold; z-index: 2; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.product-tag { position: absolute; top: 10px; right: 10px; color: white; padding: 4px 8px; border-radius: 6px; font-size: 10px; font-weight: bold; z-index: 2; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.tag-hot { background: #ef4444; } .tag-new { background: #10b981; } .tag-trend { background: #8b5cf6; }

@media (max-width: 600px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card { padding: 10px; border-radius: 14px; }
    .product-img { height: 100px; margin-bottom: 8px; }
    .title { font-size: 11px; height: 32px; line-height: 1.4; margin-bottom: 6px; }
    .price { font-size: 15px; }
    .price-row span:last-child { font-size: 10px; }
    .unit-select { padding: 6px; font-size: 11px; margin: 6px 0; border-radius: 6px; }
    .discount-badge, .product-tag { font-size: 9px; padding: 3px 6px; top: 8px; border-radius: 4px; }
    .discount-badge { left: 8px; }
    .product-tag { right: 8px; }
    .card-actions { height: 32px; }
    .add-cart-btn { font-size: 11px; }
    .skel-card { height: 260px; padding: 10px; border-radius: 14px; }
    .skel-img { height: 100px; }
    .skel-title { height: 14px; }
    .skel-price { height: 18px; }
    .skel-btn { height: 30px; }
}

/* LOAD MORE BUTTON */
.load-more-container { text-align: center; margin: 40px 0; }
.load-more-btn { padding: 14px 40px; background: linear-gradient(135deg, var(--primary-dark), #1e293b); color: white; border: none; border-radius: 30px; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 10px 20px rgba(15,23,42,0.15); transition: 0.3s ease-in-out; display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0.5px; }
.load-more-btn:hover { background: linear-gradient(135deg, var(--accent-gold), #f59e0b); transform: translateY(-4px); box-shadow: 0 15px 25px rgba(217,119,6,0.25); }
.premium-btn { cursor: pointer; border: none; transition: 0.3s ease; outline: none; text-align: center; display: inline-block; font-family: 'Inter', sans-serif; }
.premium-btn:hover { transform: translateY(-2px); }

/* Live Purchase Toast */
.live-toast { position: fixed; bottom: 85px; left: 20px; background: var(--card-bg); color: var(--text-main); padding: 10px 15px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 12px; z-index: 1900; font-size: 12px; font-weight: 500; transform: translateX(-150%); transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); border-left: 4px solid var(--success); }
.live-toast.show { transform: translateX(0); }
.live-toast img { width: 35px; height: 35px; border-radius: 8px; object-fit: cover; border: 1px solid #e2e8f0; }

/* Footer */
.site-footer { background: linear-gradient(180deg, #0f172a 0%, #000000 100%); color: #cbd5e1; padding: 60px 0 20px; margin-top: 50px; border-top: 4px solid var(--accent-gold); position: relative; font-family: 'Inter', sans-serif; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; gap: 30px; text-align: center; } .footer-links h4::after, .footer-newsletter h4::after { left: 50%; transform: translateX(-50%); } .contact-info p, .payment-icons { justify-content: center; } }
.footer-logo { font-size: 28px; margin-bottom: 15px; display: inline-block; font-family: 'Playfair Display', serif; font-weight: 700; text-decoration: none; color: white; }
.footer-desc { font-size: 14px; line-height: 1.6; margin-bottom: 20px; color: #94a3b8; }
.contact-info p { margin-bottom: 12px; font-size: 13px; display: flex; align-items: center; gap: 10px; color: #f8fafc; }
.contact-info .icon { background: rgba(255,255,255,0.1); width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--accent-gold); }
.footer-links h4, .footer-newsletter h4 { color: var(--white); font-size: 18px; font-weight: 600; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-links h4::after, .footer-newsletter h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--accent-gold); border-radius: 2px; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #cbd5e1; text-decoration: none; font-size: 14px; transition: 0.3s; display: inline-block; }
.footer-links a:hover { color: var(--accent-gold); transform: translateX(8px); }
.payment-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.pay-icon { background: rgba(255,255,255,0.05); padding: 8px 15px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1); font-size: 12px; font-weight: 600; color: #fff; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 13px; }
@media (max-width: 600px) { .footer-bottom { padding-bottom: 60px; } }

/* Live Chat Widget */
#chatWidget { position: fixed; bottom: 85px; right: 20px; z-index: 2000; }
#chatBtn { width: 60px; height: 60px; background: linear-gradient(135deg, var(--accent-gold), #f59e0b); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 5px 15px rgba(217, 119, 6, 0.4); cursor: pointer; border: none; color: white; transition: 0.3s; }
#chatBtn:hover { transform: scale(1.1); }
#chatBox { position: absolute; bottom: 75px; right: 0; width: 320px; height: 450px; background: white; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); display: none; flex-direction: column; overflow: hidden; border: 1px solid #e2e8f0; }
.chat-header { background: var(--primary-dark); color: white; padding: 15px; display: flex; justify-content: space-between; align-items: center; font-weight: bold; border-bottom: 3px solid var(--accent-gold); }
#chatMessages { flex: 1; padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: #f1f5f9; }
.msg { padding: 10px 15px; border-radius: 12px; font-size: 13px; line-height: 1.4; max-width: 85%; word-wrap: break-word; }
.msg.sent { align-self: flex-end; background: var(--primary-dark); color: white; border-bottom-right-radius: 2px; }
.msg.received { align-self: flex-start; background: white; color: var(--text-main); border-bottom-left-radius: 2px; border: 1px solid #e2e8f0; box-shadow: var(--shadow-soft); }
.quick-replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 15px; background: #f8fafc; border-top: 1px solid #e2e8f0; }
.quick-btn { background: white; border: 1px solid var(--accent-gold); color: var(--accent-gold); padding: 6px 12px; border-radius: 20px; font-size: 12px; cursor: pointer; transition: 0.3s; font-weight: 600; }
.chat-input-area { padding: 10px; border-top: 1px solid #e2e8f0; display: flex; gap: 8px; background: white; }
.chat-input-area input { flex: 1; padding: 10px 15px; border: 1px solid #e2e8f0; border-radius: 20px; outline: none; background: #f8fafc; font-size: 13px; }
.send-chat-btn { background: var(--accent-gold); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* Bottom Nav */
.bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--card-bg); display: none; justify-content: space-around; padding: 10px 0; border-top: 1px solid #e2e8f0; z-index: 1500; }
.nav-item { font-size: 12px; text-align: center; cursor: pointer; color: var(--text-light); }
.nav-item.active { color: var(--accent-gold); }

/* Mobile Menu */
#mobileCatScroll { display: none; overflow-x: auto; white-space: nowrap; padding: 15px 0; gap: 15px; width: 100%; scrollbar-width: none; margin-bottom: 15px; -webkit-overflow-scrolling: touch; position: sticky; top: 60px; z-index: 900; background: var(--bg-color); border-bottom: 1px solid rgba(0,0,0,0.03); }
#mobileCatScroll::-webkit-scrollbar { display: none; }
.circular-cat { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; opacity: 0.7; transition: 0.3s; min-width: 65px; }
.circular-cat.active { opacity: 1; }
.circular-cat .cat-circle { width: 55px; height: 55px; border-radius: 50%; background: var(--card-bg); border: 1px solid #e2e8f0; display: flex; justify-content: center; align-items: center; font-size: 24px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: 0.3s; }
.circular-cat.active .cat-circle { border-color: var(--accent-gold); border-width: 2px; transform: scale(1.05); box-shadow: 0 6px 12px rgba(217,119,6,0.15); }
.circular-cat span { font-size: 11px; font-weight: 600; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

@media (max-width: 900px) { .category-menu { display: none; } .bottom-nav { display: flex; } #mobileCatScroll { display: flex; } body { padding-bottom: 70px; } }

/* ==================================================== */
/* 🌟 PRO LEVEL MODALS & OVERLAYS 🌟                  */
/* ==================================================== */

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.75); backdrop-filter: blur(8px); display: none; z-index: 3000; transition: all 0.3s ease; }
@keyframes modalPop { 0% { transform: translate(-50%, -40%) scale(0.95); opacity: 0; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }

.center-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--card-bg); padding: 25px; border-radius: 20px; width: 92%; max-width: 450px; display: none; z-index: 4000; box-shadow: var(--shadow-pro); animation: modalPop 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); max-height: 85vh; overflow-y: auto; scrollbar-width: none; }
.center-modal::-webkit-scrollbar { display: none; }

.close-icon { position: absolute; top: 12px; right: 12px; font-size: 20px; cursor: pointer; color: var(--text-light); transition: 0.3s; background: #ffffff; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; z-index: 4100; font-weight: bold; box-shadow: 0 4px 10px rgba(0,0,0,0.1); border: 1px solid #e2e8f0; }
.close-icon:hover { background: #fee2e2; color: var(--danger); border-color: #fca5a5; transform: rotate(90deg); }

/* Pro Product Details Modal */
#productModal { max-width: 850px; padding: 0; border-radius: 20px; overflow: hidden; background: #ffffff; }
.pro-modal-scroll-area { width: 100%; max-height: 85vh; overflow-y: auto; scrollbar-width: none; }
.pro-modal-scroll-area::-webkit-scrollbar { display: none; }
.pro-modal-top-row { display: flex; flex-direction: column; width: 100%; }

@media (min-width: 800px) { 
    .pro-modal-top-row { flex-direction: row; }
    .pro-image-side { width: 45%; background: linear-gradient(145deg, #f8fafc, #f1f5f9); padding: 30px; border-right: 1px solid #e2e8f0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; box-sizing: border-box; }
    .pro-details-side { width: 55%; padding: 30px; box-sizing: border-box; }
}

@media (max-width: 799px) {
    .pro-image-side { background: linear-gradient(145deg, #f8fafc, #f1f5f9); padding: 25px 20px 20px; border-bottom: 1px solid #e2e8f0; text-align: center; box-sizing: border-box; }
    .pro-details-side { padding: 20px; box-sizing: border-box; }
}

/* Scroll Arrows for Grid inside Product Modal */
.scroll-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; background: rgba(255,255,255,0.95); border: 1px solid #cbd5e1; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--primary-dark); cursor: pointer; z-index: 5; box-shadow: 0 4px 8px rgba(0,0,0,0.1); transition: 0.3s; font-weight: bold; }
.scroll-arrow:hover { background: var(--primary-dark); color: white; border-color: var(--primary-dark); }
.left-arrow { left: -12px; }
.right-arrow { right: -12px; }
@media (max-width: 600px) { .left-arrow { left: -5px; } .right-arrow { right: -5px; } }

.pro-main-img { width: 100%; max-height: 320px; object-fit: contain; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.08)); transition: transform 0.4s ease; margin-bottom: 15px; }
.pro-main-img:hover { transform: scale(1.05); }
@media (max-width: 799px) { .pro-main-img { max-height: 220px; } }

.thumbnail-container { display: flex; align-items:center; gap: 8px; justify-content: center; width: 100%; margin-top: auto; }
.thumb-img { width: 45px; height: 45px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; object-fit: contain; background: white; transition: 0.3s; padding: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.thumb-img.active { border-color: var(--accent-gold); box-shadow: 0 4px 10px rgba(217,119,6,0.2); transform: translateY(-2px); }

.modal-action-bar { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.modal-badge { padding: 5px 10px; border-radius: 8px; font-size: 10px; font-weight: 800; letter-spacing: 0.5px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.stock-in { background: #d1fae5; color: #047857; border: 1px solid #a7f3d0; } 
.stock-low { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }

.modal-icons { display: flex; gap: 6px; }
.icon-circ { width: 32px; height: 32px; border-radius: 50%; background: #ffffff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; color: var(--text-light); border: 1px solid #e2e8f0; font-size: 14px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.icon-circ:hover { background: var(--primary-dark); color: white; border-color: var(--primary-dark); transform: translateY(-2px); }
.icon-circ.wished { color: #ef4444; background: #fee2e2; border-color: #fca5a5; }

.pro-title-area { margin-bottom: 12px; }
.pro-title { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--primary-dark); margin: 0 0 6px 0; line-height: 1.3; font-weight: 800; }
.pro-desc { font-size: 12px; color: var(--text-light); line-height: 1.5; margin: 0; }

.video-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(239, 68, 68, 0.1); color: #ef4444; padding: 5px 10px; border-radius: 20px; font-size: 11px; font-weight: bold; cursor: pointer; text-decoration: none; margin-bottom: 15px; border: 1px solid rgba(239, 68, 68, 0.2); transition: 0.3s; }
.video-btn:hover { background: #ef4444; color: white; transform: translateX(4px); }

.pro-price-card { display: flex; justify-content: space-between; align-items: center; background: linear-gradient(135deg, var(--primary-dark), #1e293b); padding: 12px 18px; border-radius: 10px; margin-bottom: 15px; color: white; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15); }
.price-label { font-size: 10px; color: #cbd5e1; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 4px; }
.pro-price { font-size: 24px; font-weight: 900; color: var(--accent-gold); line-height: 1; }
.price-right { text-align: right; }
.mrp-label { font-size: 10px; color: #94a3b8; display: block; margin-bottom: 4px; }
.pro-mrp { font-size: 14px; color: #cbd5e1; text-decoration: line-through; font-weight: 600; }

.pro-section { margin-bottom: 15px; }
.pro-section-title { font-size: 12px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; display: block; }

.pro-var-grid { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.pro-var-grid::-webkit-scrollbar { display: none; }
.pro-var-box { min-width: 75px; max-width: 75px; background: white; border: 2px solid #e2e8f0; border-radius: 10px; padding: 6px; text-align: center; cursor: pointer; transition: 0.3s; }
.pro-var-box:hover { border-color: #cbd5e1; transform: translateY(-2px); }
.pro-var-box.active { border-color: var(--accent-gold); background: #fef3c7; box-shadow: 0 4px 10px rgba(217, 119, 6, 0.15); }
.pro-var-box img { width: 100%; height: 40px; object-fit: contain; margin-bottom: 4px; border-radius: 6px; background: #f8fafc; padding: 2px; }
.pro-var-name { font-size: 9px; font-weight: bold; color: var(--primary-dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.2; margin-bottom: 4px; }
.pro-var-price { font-size: 10px; color: var(--accent-gold); font-weight: 900; }

.pro-pill-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pro-size-pill { padding: 8px 14px; border: 2px solid #e2e8f0; border-radius: 8px; cursor: pointer; font-size: 12px; font-weight: 700; background: white; color: var(--primary-dark); transition: 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.pro-size-pill:hover { border-color: #cbd5e1; background: #f8fafc; }
.pro-size-pill.active { border-color: var(--accent-gold); background: #fef3c7; color: #b45309; box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15); }

.pro-savings-box { text-align: center; margin-bottom: 15px; min-height: 35px; background: #f0fdf4; border: 1px dashed #34d399; padding: 6px; border-radius: 8px; display: none; }
.pro-savings-box.show { display: block; }

.pro-action-row { display: flex; gap: 12px; margin-bottom: 20px; }
.pro-qty-selector { display: flex; align-items: center; background: #f1f5f9; border-radius: 10px; border: 1px solid #cbd5e1; padding: 4px; height: 45px; box-sizing: border-box; }
.pro-qty-btn { width: 30px; height: 100%; border: none; background: white; border-radius: 6px; font-weight: bold; font-size: 16px; cursor: pointer; color: var(--primary-dark); transition: 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.pro-qty-btn:hover { background: var(--primary-dark); color: white; }
.pro-qty-input { width: 40px; text-align: center; border: none; background: transparent; font-weight: 900; font-size: 14px; color: var(--primary-dark); outline: none; }
.pro-add-btn { flex: 1; height: 45px; background: linear-gradient(135deg, var(--accent-gold), #f59e0b); color: white; border: none; border-radius: 10px; font-size: 14px; font-weight: 800; cursor: pointer; transition: 0.3s; box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3); display: flex; align-items: center; justify-content: center; gap: 8px; }
.pro-add-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(217, 119, 6, 0.4); }

.pro-pincode-box { background: #f8fafc; padding: 12px; border-radius: 10px; border: 1px solid #e2e8f0; margin-bottom: 20px; }
.pro-pincode-title { font-size: 11px; font-weight: 700; color: var(--primary-dark); display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.pro-pincode-input-row { display: flex; gap: 8px; margin-bottom: 6px; }
.pro-pincode-input-row input { flex: 1; padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 6px; outline: none; font-size: 12px; font-weight: 600; background: white; margin: 0; box-sizing: border-box; }
.pro-pincode-input-row button { padding: 0 15px; background: var(--primary-dark); color: white; border: none; border-radius: 6px; font-weight: bold; font-size: 11px; cursor: pointer; transition: 0.3s; }
.pro-pincode-input-row button:hover { background: var(--accent-gold); }
.pro-pincode-msg { font-size: 10px; font-weight: bold; min-height: 14px; }

.review-box { background: #ffffff; padding: 15px; border-radius: 12px; margin-bottom: 10px; border: 1px solid #e2e8f0; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.review-title { font-size: 13px; font-weight: 800; color: var(--primary-dark); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.review-add-btn { background: var(--primary-dark); color: white; border: none; padding: 5px 12px; border-radius: 20px; font-size: 10px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.review-add-btn:hover { background: var(--accent-gold); }
.review-list { max-height: 160px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; scrollbar-width: none; }
.review-list::-webkit-scrollbar { display: none; }
.review-item { background: #f8fafc; padding: 10px; border-radius: 8px; border: 1px solid #e2e8f0; font-size: 11px; line-height: 1.4; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.review-item strong { color: var(--primary-dark); font-size: 12px; }
.review-item .stars { color: #f59e0b; letter-spacing: 1px; font-size: 12px; margin: 3px 0; }
.review-form { display: none; background: #f8fafc; padding: 12px; border-radius: 10px; border: 1px solid #cbd5e1; margin-top: 12px; }
.star-select { font-size: 20px; cursor: pointer; color: #cbd5e1; transition: 0.2s; }
.star-select.active { color: #f59e0b; }

.suggestion-section { width: 100%; background: linear-gradient(to bottom, #f8fafc, #f1f5f9); padding: 25px 30px; border-top: 1px solid #e2e8f0; box-sizing: border-box; }
@media (max-width: 799px) { .suggestion-section { padding: 20px; } }
.suggestion-title { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--primary-dark); margin: 0 0 15px 0; text-align: left; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.suggestion-grid { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.suggestion-grid::-webkit-scrollbar { display: none; }
.suggestion-item { min-width: 130px; max-width: 130px; background: #ffffff; border-radius: 12px; padding: 10px; text-align: center; border: 1px solid #e2e8f0; cursor: pointer; transition: 0.3s; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.suggestion-item:hover { border-color: var(--accent-gold); transform: translateY(-4px); box-shadow: 0 10px 20px rgba(217, 119, 6, 0.15); }
.suggestion-item img { width: 100%; height: 80px; object-fit: contain; margin-bottom: 10px; border-radius: 8px; background: #f8fafc; padding: 5px; }
.suggestion-item h4 { font-size: 11px; margin: 0 0 6px; color: var(--text-main); font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 32px; line-height: 1.4; }
.suggestion-item .p-price { font-size: 14px; font-weight: 900; color: var(--accent-gold); margin-top: auto; }
.sug-add-btn { background: var(--primary-light); color: white; border: none; padding: 6px; border-radius: 6px; font-size: 10px; font-weight: bold; margin-top: 10px; cursor: pointer; transition: 0.3s; }
.suggestion-item:hover .sug-add-btn { background: var(--accent-gold); }


/* ==================================================== */
/* 🌟 PRO CART & CHECKOUT MODALS 🌟                   */
/* ==================================================== */

.cart-item-card { display: flex; align-items: center; gap: 12px; padding: 12px; background: #ffffff; border-radius: 12px; margin-bottom: 12px; border: 1px solid #e2e8f0; box-shadow: 0 4px 10px rgba(0,0,0,0.03); transition: 0.3s; position: relative; }
.cart-item-card:hover { border-color: #cbd5e1; box-shadow: 0 8px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.cart-img-wrap { width: 50px; height: 50px; flex-shrink: 0; background: #f8fafc; border-radius: 8px; padding: 4px; border: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; }
.cart-img-wrap img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-item-info { flex: 1; text-align: left; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.cart-item-name { font-size: 12px; font-weight: 700; color: var(--primary-dark); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-unit-price { font-size: 11px; color: var(--text-light); font-weight: 600; }
.cart-item-price { font-size: 15px; font-weight: 900; color: var(--accent-gold); }

.qty-control { display: flex; align-items: center; gap: 6px; background: #f8fafc; padding: 4px; border-radius: 30px; border: 1px solid #e2e8f0; }
.qty-btn { width: 22px; height: 22px; border-radius: 50%; font-weight: bold; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: 0.2s; border: none; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.qty-btn.minus { background: white; color: var(--primary-dark); }
.qty-btn.plus { background: var(--primary-dark); color: white; }
.qty-btn:hover { transform: scale(1.1); }
.qty-num { font-size: 12px; font-weight: 800; min-width: 16px; text-align: center; color: var(--primary-dark); }

.cart-del-btn { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: #fee2e2; color: #dc2626; border: 1px solid #fca5a5; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; font-size: 11px; font-weight: bold; box-shadow: 0 4px 8px rgba(220, 38, 38, 0.2); z-index: 10; }
.cart-del-btn:hover { background: #dc2626; color: white; transform: scale(1.1) rotate(90deg); }

/* Payment Gateway Overlay */
.payment-overlay { position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.8); z-index: 9999; display: none; justify-content:center; align-items:center; backdrop-filter: blur(5px); }
.payment-box { background: white; width: 90%; max-width: 380px; border-radius: 16px; padding: 30px 20px; text-align: center; animation: modalPop 0.3s; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.payment-spinner { width: 40px; height: 40px; border: 4px solid #e2e8f0; border-top: 4px solid var(--accent-gold); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 15px; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Order Tracking Bar */
.track-wrap { display: flex; justify-content: space-between; position: relative; margin-top: 15px; padding: 0 10px; }
.track-wrap::before { content: ''; position: absolute; top: 12px; left: 10%; width: 80%; height: 3px; background: #e2e8f0; z-index: 1; }
.track-step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 10px; color: var(--text-light); font-weight: bold; }
.track-icon { width: 25px; height: 25px; border-radius: 50%; background: #e2e8f0; color: white; display: flex; align-items: center; justify-content: center; font-size: 12px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.track-step.active .track-icon { background: var(--success); }
.track-step.active { color: var(--success); }