/* ============================================================
   Vanguard-LK — Main Stylesheet
   Theme: Premium Dark (Black + Red)
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --red:        #e63946;
  --red-dark:   #c1121f;
  --red-light:  #ff6b6b;
  --black:      #0a0a0a;
  --dark:       #111111;
  --dark-2:     #161616;
  --dark-3:     #1e1e1e;
  --dark-4:     #252525;
  --dark-5:     #2e2e2e;
  --border:     #2a2a2a;
  --border-2:   #333333;
  --text:       #e8e8e8;
  --text-muted: #888888;
  --text-dim:   #555555;
  --white:      #ffffff;
  --green:      #22c55e;
  --yellow:     #f59e0b;
  --blue:       #3b82f6;
  --font:       'Inter', sans-serif;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 4px 20px rgba(0,0,0,0.4);
  --shadow-red: 0 4px 20px rgba(230,57,70,0.3);
  --transition: 0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); background: var(--dark); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-light); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, select, textarea, button { font-family: var(--font); }

/* ---- Preloader ---- */
#preloader { position: fixed; inset: 0; background: var(--dark); display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.5s, visibility 0.5s; }
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-ring { width: 50px; height: 50px; border: 4px solid var(--dark-4); border-top-color: var(--red); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- Navbar ---- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(10,10,10,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: all var(--transition); }
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.nav-container { display: flex; align-items: center; gap: 20px; padding: 14px 20px; max-width: 1200px; margin: 0 auto; }
.nav-logo { font-size: 1.4rem; font-weight: 900; letter-spacing: 2px; color: var(--white); }
.logo-v { color: var(--red); }
.logo-lk { color: var(--red); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links > li > a { color: var(--text); padding: 8px 14px; border-radius: var(--radius); font-weight: 500; font-size: 0.9rem; transition: all var(--transition); display: flex; align-items: center; gap: 5px; }
.nav-links > li > a:hover { color: var(--white); background: var(--dark-4); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-search-form { display: flex; background: var(--dark-3); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.nav-search-input { background: none; border: none; padding: 8px 14px; color: var(--text); width: 200px; font-size: 0.85rem; outline: none; }
.nav-search-btn { background: var(--red); border: none; padding: 8px 14px; color: white; cursor: pointer; transition: background var(--transition); }
.nav-search-btn:hover { background: var(--red-dark); }
.nav-cart-btn { position: relative; color: var(--text); font-size: 1.1rem; padding: 8px; border-radius: 8px; transition: all var(--transition); }
.nav-cart-btn:hover { color: var(--red); background: var(--dark-4); }
.cart-badge { position: absolute; top: 2px; right: 2px; background: var(--red); color: white; font-size: 0.65rem; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 8px); left: 0; background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius); min-width: 200px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all var(--transition); z-index: 100; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: var(--text); border-radius: 6px; font-size: 0.88rem; transition: all var(--transition); }
.dropdown-menu li a:hover { background: var(--dark-4); color: var(--red); }
.dropdown-menu .divider { border-top: 1px solid var(--border); margin: 6px 0; }
.nav-user-btn { display: flex; align-items: center; gap: 8px; color: var(--text); padding: 8px 12px; border-radius: 8px; font-size: 0.88rem; font-weight: 500; transition: all var(--transition); }
.nav-user-btn:hover { background: var(--dark-4); color: var(--white); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; cursor: pointer; border: none; transition: all var(--transition); text-decoration: none; }
.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: var(--red-dark); color: white; transform: translateY(-1px); box-shadow: var(--shadow-red); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-2); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-whatsapp { background: #25d366; color: white; }
.btn-whatsapp:hover { background: #1ebe5d; color: white; }
.btn-green { background: var(--green); color: white; }
.btn-green:hover { background: #16a34a; color: white; }
.btn-danger { background: #dc2626; color: white; }
.btn-danger:hover { background: #b91c1c; color: white; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-outline-sm { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 6px; font-size: 0.82rem; font-weight: 500; border: 1px solid var(--border-2); color: var(--text); cursor: pointer; transition: all var(--transition); text-decoration: none; }
.btn-outline-sm:hover { border-color: var(--red); color: var(--red); }
.btn-red-sm { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 6px; font-size: 0.82rem; font-weight: 600; background: var(--red); color: white; cursor: pointer; transition: all var(--transition); text-decoration: none; }
.btn-red-sm:hover { background: var(--red-dark); color: white; }
.btn-danger-sm { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 6px; font-size: 0.82rem; background: rgba(220,38,38,0.15); color: #f87171; border: 1px solid rgba(220,38,38,0.3); cursor: pointer; transition: all var(--transition); text-decoration: none; }
.btn-danger-sm:hover { background: #dc2626; color: white; }
.w-full { width: 100%; }

/* ---- Flash Messages ---- */
.flash-container { position: fixed; top: 80px; right: 20px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.alert { padding: 12px 18px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 500; display: flex; align-items: flex-start; gap: 10px; animation: slideInRight 0.3s ease; }
.alert-success { background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }
.alert-danger  { background: rgba(220,38,38,0.15); border: 1px solid rgba(220,38,38,0.3); color: #fca5a5; }
.alert-warning { background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.3); color: #fcd34d; }
.alert-info    { background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.3); color: #93c5fd; }
.alert ul { margin: 0; padding-left: 16px; }
@keyframes slideInRight { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ---- Hero ---- */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 80px; background: radial-gradient(ellipse at 20% 50%, rgba(230,57,70,0.08) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(230,57,70,0.05) 0%, transparent 50%), var(--dark); }
.hero-bg-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 60px 20px; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(230,57,70,0.1); border: 1px solid rgba(230,57,70,0.3); color: var(--red-light); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.1; margin-bottom: 20px; color: var(--white); }
.gradient-text { background: linear-gradient(135deg, var(--red) 0%, #ff8c94 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 32px; max-width: 480px; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; }
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 1.8rem; font-weight: 900; color: var(--white); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card-stack { position: relative; width: 100%; height: auto; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero-card { position: relative; background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 20px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.9rem; color: var(--text); box-shadow: var(--shadow); animation: float 3s ease-in-out infinite; max-width: 280px; }
.hero-card i { color: var(--red); font-size: 1.2rem; }
.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: 0.5s; }
.card-3 { animation-delay: 1s; }
.hero-main-visual { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hex-grid { display: grid; grid-template-columns: repeat(3, 80px); gap: 10px; }
.hex { width: 80px; height: 80px; background: var(--dark-3); border: 1px solid var(--border); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--red); transition: all var(--transition); animation: pulse 2s ease-in-out infinite; }
.hex:nth-child(2) { animation-delay: 0.2s; }
.hex:nth-child(3) { animation-delay: 0.4s; }
.hex:nth-child(4) { animation-delay: 0.6s; }
.hex:nth-child(5) { animation-delay: 0.8s; }
.hex:nth-child(6) { animation-delay: 1s; }
.hex:hover { background: var(--red); color: white; transform: scale(1.1); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(230,57,70,0); } 50% { box-shadow: 0 0 0 6px rgba(230,57,70,0.1); } }
.hero-scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.8rem; }
.scroll-mouse { width: 24px; height: 38px; border: 2px solid var(--border-2); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-wheel { width: 4px; height: 8px; background: var(--red); border-radius: 2px; animation: scrollDown 1.5s ease infinite; }
@keyframes scrollDown { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* ---- Sections ---- */
.section { padding: 80px 0; }
.bg-dark-alt { background: var(--dark-2); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag { display: inline-block; background: rgba(230,57,70,0.1); border: 1px solid rgba(230,57,70,0.3); color: var(--red); padding: 4px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--white); margin-bottom: 12px; }
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.text-red { color: var(--red); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mt-20 { margin-top: 20px; }
.mt-10 { margin-top: 10px; }

/* ---- Categories Grid ---- */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.category-card { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 20px; text-align: center; transition: all var(--transition); cursor: pointer; }
.category-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-red); }
.cat-icon { width: 60px; height: 60px; background: rgba(230,57,70,0.1); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 1.5rem; color: var(--red); transition: all var(--transition); }
.category-card:hover .cat-icon { background: var(--red); color: white; }
.category-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.cat-count { font-size: 0.78rem; color: var(--text-muted); }

/* ---- Products Grid ---- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.products-grid-shop { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.product-card { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; }
.product-card:hover { border-color: var(--red); transform: translateY(-12px); box-shadow: 0 20px 40px rgba(230, 57, 70, 0.2); }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; z-index: 2; }
.badge-sale { background: var(--red); color: white; }
.badge-featured { background: var(--yellow); color: #1a1a1a; top: 12px; left: auto; right: 12px; }
.badge-featured-sm { background: rgba(245,158,11,0.15); color: var(--yellow); border: 1px solid rgba(245,158,11,0.3); padding: 2px 8px; border-radius: 4px; font-size: 0.72rem; font-weight: 600; margin-left: 6px; }
.badge-outofstock { background: rgba(107,114,128,0.9); color: #fff; backdrop-filter: blur(4px); }
.badge-lowstock { background: rgba(245,158,11,0.9); color: #1a1a1a; backdrop-filter: blur(4px); }
.out-of-stock-card { opacity: 0.75; }
.out-of-stock-card:hover { opacity: 0.9; }
.oos-img { filter: grayscale(40%); }
.btn-oos { background: rgba(107,114,128,0.2) !important; color: #6b7280 !important; cursor: not-allowed !important; border: 1px solid rgba(107,114,128,0.3) !important; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.product-img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--dark-4); }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img { transform: scale(1.05); }
.product-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--transition); }
.product-card:hover .product-overlay { opacity: 1; }
.overlay-btn { background: var(--red); color: white; padding: 8px 18px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; }
.product-info { padding: 16px; }
.product-cat { font-size: 0.75rem; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.product-name { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 8px; line-height: 1.4; }
.product-name a { color: var(--white); }
.product-name a:hover { color: var(--red); }
.product-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { display: flex; align-items: baseline; gap: 8px; }
.price-current { font-size: 1.05rem; font-weight: 800; color: var(--red); }
.price-original { font-size: 0.82rem; color: var(--text-dim); text-decoration: line-through; }
.btn-add-cart { width: 38px; height: 38px; background: var(--red); border: none; border-radius: 8px; color: white; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.btn-add-cart:hover { background: var(--red-dark); transform: scale(1.1); }

/* ---- Features ---- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.feature-card { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: all var(--transition); }
.feature-card:hover { border-color: var(--red); transform: translateY(-3px); }
.feature-icon { width: 56px; height: 56px; background: rgba(230,57,70,0.1); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--red); margin-bottom: 16px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ---- Steps ---- */
.steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; align-items: center; }
.step-card { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 20px; text-align: center; transition: all var(--transition); }
.step-card:hover { border-color: var(--red); }
.step-num { font-size: 2.5rem; font-weight: 900; color: rgba(230,57,70,0.15); line-height: 1; margin-bottom: 10px; }
.step-icon { font-size: 1.8rem; color: var(--red); margin-bottom: 12px; }
.step-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.step-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.step-arrow { color: var(--text-dim); font-size: 1.2rem; text-align: center; }

/* ---- CTA ---- */
.cta-section { background: linear-gradient(135deg, var(--dark-2) 0%, rgba(230,57,70,0.05) 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 0; }
.cta-content { text-align: center; }
.cta-content h2 { font-size: 2.4rem; font-weight: 900; color: var(--white); margin-bottom: 12px; }
.cta-content p { color: var(--text-muted); margin-bottom: 32px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer { background: var(--black); border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 1.4rem; font-weight: 900; letter-spacing: 2px; color: var(--white); margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; background: var(--dark-3); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all var(--transition); }
.footer-social a:hover { background: var(--red); border-color: var(--red); color: white; }
.footer-links h4, .footer-contact h4 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { color: var(--text-muted); font-size: 0.88rem; transition: color var(--transition); }
.footer-links ul li a:hover { color: var(--red); }
.footer-contact p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-contact p i { color: var(--red); width: 16px; }
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--red); }
.footer-payment-info { margin-top: 16px; padding: 14px; background: var(--dark-3); border-radius: var(--radius); border: 1px solid var(--border); }
.footer-payment-info h5 { font-size: 0.82rem; color: var(--red); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.footer-payment-info p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 4px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: var(--text-dim); font-size: 0.82rem; }

/* ---- WhatsApp Float ---- */
.whatsapp-float { position: fixed; bottom: 90px; right: 24px; width: 54px; height: 54px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; z-index: 900; box-shadow: 0 4px 16px rgba(37,211,102,0.4); transition: all var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); color: white; }
.wa-tooltip { position: absolute; right: 64px; background: var(--dark-3); color: var(--text); padding: 6px 12px; border-radius: 8px; font-size: 0.82rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--transition); border: 1px solid var(--border); }
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ---- Chatbot ---- */
.chatbot-widget { position: fixed; bottom: 24px; right: 24px; z-index: 900; }
.chatbot-toggle { width: 54px; height: 54px; background: var(--red); border: none; border-radius: 50%; color: white; font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow-red); transition: all var(--transition); position: relative; }
.chatbot-toggle:hover { transform: scale(1.1); }
.chatbot-badge { position: absolute; top: -4px; right: -4px; background: var(--yellow); color: #1a1a1a; width: 18px; height: 18px; border-radius: 50%; font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.chatbot-box { position: absolute; bottom: 70px; right: 0; width: 320px; background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: none; flex-direction: column; }
.chatbot-box.open { display: flex; animation: slideUp 0.3s ease; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.chatbot-header { background: var(--red); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.chatbot-avatar { width: 36px; height: 36px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: white; }
.chatbot-header strong { color: white; font-size: 0.95rem; display: block; }
.chatbot-status { font-size: 0.75rem; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 4px; }
.chatbot-status i { color: #86efac; font-size: 0.6rem; }
.chatbot-close { margin-left: auto; background: none; border: none; color: rgba(255,255,255,0.8); cursor: pointer; font-size: 1rem; padding: 4px; }
.chatbot-messages { padding: 16px; height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { display: flex; }
.chat-msg.bot { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }
.chat-bubble { max-width: 80%; padding: 10px 14px; border-radius: 12px; font-size: 0.85rem; line-height: 1.5; }
.chat-msg.bot .chat-bubble { background: var(--dark-4); color: var(--text); border-bottom-left-radius: 4px; }
.chat-msg.user .chat-bubble { background: var(--red); color: white; border-bottom-right-radius: 4px; }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.quick-reply { background: rgba(230,57,70,0.1); border: 1px solid rgba(230,57,70,0.3); color: var(--red); padding: 5px 10px; border-radius: 20px; font-size: 0.78rem; cursor: pointer; transition: all var(--transition); }
.quick-reply:hover { background: var(--red); color: white; }
.chatbot-input-area { display: flex; border-top: 1px solid var(--border); }
#chatbotInput { flex: 1; background: none; border: none; padding: 12px 14px; color: var(--text); font-size: 0.88rem; outline: none; }
#chatbotSend { background: var(--red); border: none; padding: 12px 16px; color: white; cursor: pointer; transition: background var(--transition); }
#chatbotSend:hover { background: var(--red-dark); }

/* ---- Back to Top ---- */
.back-to-top { position: fixed; bottom: 24px; left: 24px; width: 40px; height: 40px; background: var(--dark-4); border: 1px solid var(--border); border-radius: 8px; color: var(--text-muted); cursor: pointer; display: none; align-items: center; justify-content: center; font-size: 0.9rem; transition: all var(--transition); z-index: 900; }
.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--red); border-color: var(--red); color: white; }

/* ---- Page Hero SM ---- */
.page-hero-sm { background: var(--dark-2); border-bottom: 1px solid var(--border); padding: 100px 0 40px; }
.page-hero-sm h1 { font-size: 2rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb i { font-size: 0.65rem; }

/* ---- Shop Layout ---- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; }
.shop-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.sidebar-widget h4 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.sidebar-search { display: flex; gap: 8px; }
.sidebar-search input { flex: 1; background: var(--dark-4); border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; color: var(--text); font-size: 0.88rem; outline: none; }
.sidebar-search input:focus { border-color: var(--red); }

/* ── Sidebar Search Form ─────────────────────────────── */
.sidebar-search-form { display: flex; flex-direction: column; gap: 8px; }
.sidebar-search-box {
    display: flex;
    align-items: center;
    background: var(--dark-4);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.sidebar-search-box:focus-within {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}
.sidebar-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 14px;
    color: var(--text);
    font-size: 0.88rem;
}
.sidebar-search-box input::placeholder { color: var(--text-muted); }
.sidebar-search-btn {
    background: var(--red);
    border: none;
    color: #fff;
    padding: 0 14px;
    height: 42px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
    flex-shrink: 0;
}
.sidebar-search-btn:hover { background: #b91c1c; }
.cat-list { display: flex; flex-direction: column; gap: 2px; }
.cat-list a { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 8px; color: var(--text-muted); font-size: 0.88rem; transition: all var(--transition); }
.cat-list a:hover, .cat-list a.active { background: rgba(230,57,70,0.1); color: var(--red); }
.cat-list a i { margin-right: 8px; width: 16px; }
.cat-list a span { background: var(--dark-4); padding: 2px 8px; border-radius: 20px; font-size: 0.75rem; color: var(--text-dim); }
.price-inputs { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.price-inputs input { flex: 1; background: var(--dark-4); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; color: var(--text); font-size: 0.85rem; outline: none; width: 0; }
.price-inputs span { color: var(--text-dim); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.results-count { font-size: 0.88rem; color: var(--text-muted); }
.sort-wrap { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-muted); }
.sort-select { background: var(--dark-3); border: 1px solid var(--border); color: var(--text); padding: 6px 12px; border-radius: 8px; font-size: 0.85rem; outline: none; cursor: pointer; }

/* ---- Product Detail ---- */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.main-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--dark-3); }
.main-product-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.badge-lg { font-size: 0.9rem; padding: 6px 14px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gallery-thumb { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid var(--border); transition: border-color var(--transition); }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--red); }
.product-detail-cat a { color: var(--red); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.product-detail-title { font-size: 1.8rem; font-weight: 800; color: var(--white); margin: 10px 0; line-height: 1.3; }
.product-detail-short { color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; }
.product-detail-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.price-big { font-size: 2rem; font-weight: 900; color: var(--red); }
.price-original-big { font-size: 1.1rem; color: var(--text-dim); text-decoration: line-through; }
.price-save { background: rgba(34,197,94,0.1); color: var(--green); border: 1px solid rgba(34,197,94,0.3); padding: 3px 10px; border-radius: 6px; font-size: 0.82rem; font-weight: 600; }
.product-meta-info { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; font-size: 0.85rem; color: var(--text-muted); }
.meta-item { display: flex; align-items: center; gap: 6px; }
.meta-item i { color: var(--red); }
.tag-link { background: var(--dark-4); color: var(--text-muted); padding: 2px 8px; border-radius: 4px; font-size: 0.78rem; margin-left: 4px; }
.tag-link:hover { color: var(--red); }
.qty-wrap { margin-bottom: 16px; }
.qty-wrap label { display: block; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 8px; }
.qty-control { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; width: fit-content; }
.qty-control button { background: var(--dark-4); border: none; padding: 8px 14px; color: var(--text); cursor: pointer; font-size: 1rem; transition: background var(--transition); }
.qty-control button:hover { background: var(--red); color: white; }
.qty-control input { width: 50px; text-align: center; background: var(--dark-3); border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); color: var(--text); padding: 8px; font-size: 0.95rem; outline: none; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.product-trust-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-muted); }
.trust-badge i { color: var(--green); }
.product-tabs { border-top: 1px solid var(--border); }
.tab-nav { display: flex; gap: 0; border-bottom: 1px solid var(--border); }
.tab-btn { background: none; border: none; padding: 14px 24px; color: var(--text-muted); font-size: 0.9rem; font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all var(--transition); }
.tab-btn.active { color: var(--red); border-bottom-color: var(--red); }
.tab-content { display: none; padding: 30px 0; }
.tab-content.active { display: block; }
.product-description { color: var(--text-muted); line-height: 1.8; white-space: pre-line; }
.delivery-info h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.delivery-info ol { padding-left: 20px; color: var(--text-muted); line-height: 2; }
.bank-details-box { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-top: 20px; }
.bank-details-box h4 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.bank-table { width: 100%; border-collapse: collapse; }
.bank-table td { padding: 8px 12px; font-size: 0.88rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.bank-table td:first-child { font-weight: 600; color: var(--text); width: 40%; }
.section-title-sm { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: 24px; }

/* ---- Auth Pages ---- */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 100px 20px 40px; background: radial-gradient(ellipse at center, rgba(230,57,70,0.05) 0%, transparent 70%), var(--dark); }
.auth-container { width: 100%; max-width: 520px; }
.auth-card { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-logo { font-size: 1.6rem; font-weight: 900; letter-spacing: 2px; color: var(--white); margin-bottom: 12px; }
.auth-header h2 { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.auth-header p { color: var(--text-muted); font-size: 0.9rem; }
.auth-form .form-group { margin-bottom: 16px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--text-muted); }
.auth-footer a { color: var(--red); font-weight: 600; }

/* ---- Forms ---- */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: var(--dark-4); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; color: var(--text); font-size: 0.9rem; outline: none; transition: border-color var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); }
.form-group input:disabled, .form-group input[disabled] { opacity: 0.5; cursor: not-allowed; }
.form-group small { display: block; font-size: 0.78rem; color: var(--text-dim); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-check { display: flex; align-items: center; gap: 10px; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--red); }
.form-check label { font-size: 0.88rem; color: var(--text-muted); cursor: pointer; }
.input-password { position: relative; }
.input-password input { padding-right: 44px; }
.toggle-pass { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.9rem; }
.divider-line { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

/* ---- File Upload ---- */
.file-upload-area { position: relative; border: 2px dashed var(--border); border-radius: var(--radius); padding: 30px; text-align: center; cursor: pointer; transition: border-color var(--transition); }
.file-upload-area:hover { border-color: var(--red); }
.file-upload-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.file-upload-placeholder i { font-size: 2rem; color: var(--text-dim); margin-bottom: 10px; display: block; }
.file-upload-placeholder p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 4px; }
.file-upload-placeholder span { font-size: 0.78rem; color: var(--text-dim); }
.pdf-preview { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-muted); }
.pdf-preview i { font-size: 2.5rem; color: var(--red); }
.slip-preview-img { max-width: 100%; border-radius: var(--radius); border: 1px solid var(--border); }
.slip-preview-img-lg { max-width: 100%; max-height: 500px; border-radius: var(--radius); border: 1px solid var(--border); cursor: zoom-in; }
.slip-img-wrap { margin-top: 16px; }

/* ---- Dashboard ---- */
.dashboard-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; }
.dashboard-sidebar { display: flex; flex-direction: column; gap: 16px; }
.user-profile-card { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; text-align: center; }
.user-avatar { font-size: 3rem; color: var(--red); margin-bottom: 10px; }
.user-info strong { display: block; color: var(--white); font-size: 0.95rem; }
.user-info span { font-size: 0.82rem; color: var(--text-muted); }
.dashboard-nav { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.dashboard-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--text-muted); font-size: 0.88rem; font-weight: 500; border-left: 3px solid transparent; transition: all var(--transition); }
.dashboard-nav a:hover, .dashboard-nav a.active { background: rgba(230,57,70,0.05); color: var(--red); border-left-color: var(--red); }
.dashboard-nav a.logout-link:hover { color: #f87171; border-left-color: #f87171; }
.dashboard-main h2 { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: 24px; }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.dash-stat-card { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; display: flex; align-items: center; gap: 16px; }
.dash-stat-icon { width: 48px; height: 48px; background: rgba(230,57,70,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--red); }
.dash-stat-icon.pending { background: rgba(245,158,11,0.1); color: var(--yellow); }
.dash-stat-icon.success { background: rgba(34,197,94,0.1); color: var(--green); }
.dash-stat-icon.red { background: rgba(230,57,70,0.1); color: var(--red); }
.dash-stat-num { display: block; font-size: 1.3rem; font-weight: 800; color: var(--white); }
.dash-stat-label { font-size: 0.78rem; color: var(--text-muted); }
.dashboard-section { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.section-title-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title-bar h3 { font-size: 1rem; font-weight: 700; color: var(--white); }
.empty-state-sm { text-align: center; padding: 40px 20px; }
.empty-state-sm i { font-size: 2.5rem; color: var(--text-dim); margin-bottom: 12px; display: block; }
.empty-state-sm p { color: var(--text-muted); margin-bottom: 16px; }

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: var(--dark-4); padding: 10px 14px; text-align: left; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border); }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 0.88rem; color: var(--text); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ---- Status Badges ---- */
.status-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.status-pending   { background: rgba(245,158,11,0.15); color: var(--yellow); border: 1px solid rgba(245,158,11,0.3); }
.status-verified  { background: rgba(59,130,246,0.15); color: #93c5fd; border: 1px solid rgba(59,130,246,0.3); }
.status-completed { background: rgba(34,197,94,0.15); color: var(--green); border: 1px solid rgba(34,197,94,0.3); }
.status-rejected  { background: rgba(220,38,38,0.15); color: #f87171; border: 1px solid rgba(220,38,38,0.3); }
.status-cancelled { background: rgba(107,114,128,0.15); color: #9ca3af; border: 1px solid rgba(107,114,128,0.3); }
.status-approved  { background: rgba(34,197,94,0.15); color: var(--green); border: 1px solid rgba(34,197,94,0.3); }
.status-active    { background: rgba(34,197,94,0.1); color: var(--green); }
.status-inactive  { background: rgba(107,114,128,0.1); color: #9ca3af; }
.status-banned    { background: rgba(220,38,38,0.1); color: #f87171; }

/* ---- Cards ---- */
.card { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-header h3 { font-size: 1rem; font-weight: 700; color: var(--white); }
.card-body { padding: 20px; }

/* ---- Cart ---- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; }
.cart-header-row { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr 40px; gap: 10px; padding: 10px 16px; background: var(--dark-3); border-radius: var(--radius); font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.cart-item { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr 40px; gap: 10px; align-items: center; background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; }
.cart-item-product { display: flex; align-items: center; gap: 14px; }
.cart-item-img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.cart-item-name { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.cart-item-price, .cart-item-subtotal { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.cart-item-subtotal { color: var(--red); }
.qty-control-sm { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.qty-control-sm button { background: var(--dark-4); border: none; padding: 6px 10px; color: var(--text); cursor: pointer; font-size: 0.9rem; }
.qty-control-sm button:hover { background: var(--red); color: white; }
.qty-control-sm input { width: 40px; text-align: center; background: var(--dark-3); border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); color: var(--text); padding: 6px; font-size: 0.85rem; outline: none; }
.remove-btn { background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 0.9rem; padding: 6px; border-radius: 6px; transition: all var(--transition); }
.remove-btn:hover { color: var(--red); background: rgba(230,57,70,0.1); }
.cart-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.cart-summary-card { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.cart-summary-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 0.9rem; color: var(--text-muted); }
.summary-divider { border: none; border-top: 1px solid var(--border); margin: 10px 0; }
.total-row { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.coupon-section { margin: 16px 0; }
.coupon-section h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); margin-bottom: 10px; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { flex: 1; background: var(--dark-4); border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; color: var(--text); font-size: 0.88rem; outline: none; }
.coupon-form input:focus { border-color: var(--red); }
.text-green { color: var(--green); font-size: 0.85rem; }
.text-red { color: var(--red); }
.text-muted { color: var(--text-muted); }
.text-muted-sm { font-size: 0.82rem; color: var(--text-muted); margin-top: 10px; }

/* ---- Checkout ---- */
.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; }
.checkout-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.checkout-item:last-child { border-bottom: none; }
.checkout-item-img { width: 50px; height: 50px; object-fit: cover; border-radius: 8px; }
.checkout-item-info { flex: 1; }
.checkout-item-name { display: block; font-size: 0.9rem; font-weight: 600; color: var(--white); }
.checkout-item-qty { font-size: 0.8rem; color: var(--text-muted); }
.checkout-item-price { font-weight: 700; color: var(--red); white-space: nowrap; }
.sticky-summary { position: sticky; top: 100px; }
.checkout-note { text-align: center; font-size: 0.78rem; color: var(--text-dim); margin-top: 10px; }

/* ---- Order Detail ---- */
.order-detail-layout { display: grid; grid-template-columns: 1fr 280px; gap: 24px; }
.order-status-bar { display: flex; align-items: center; justify-content: space-between; background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 16px; }
.order-status-info { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-muted); }
.order-date { font-size: 0.82rem; color: var(--text-dim); }
.order-totals { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.total-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.9rem; color: var(--text-muted); }
.total-final { font-size: 1.1rem; font-weight: 800; color: var(--white); border-top: 1px solid var(--border); padding-top: 10px; margin-top: 6px; }
.total-row.discount span:last-child { color: var(--red); }
.order-detail-sidebar { display: flex; flex-direction: column; gap: 16px; }

/* ---- Pagination ---- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; background: var(--dark-3); border: 1px solid var(--border); border-radius: 8px; color: var(--text-muted); font-size: 0.85rem; transition: all var(--transition); text-decoration: none; }
.page-btn:hover, .page-btn.active { background: var(--red); border-color: var(--red); color: white; }

/* ---- Empty State ---- */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state i { font-size: 4rem; color: var(--text-dim); margin-bottom: 20px; display: block; }
.empty-state h2 { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.empty-state p { color: var(--text-muted); margin-bottom: 24px; }
.empty-state.large i { font-size: 5rem; }

/* ---- Profile ---- */
.profile-form .form-row { grid-template-columns: 1fr 1fr; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-detail-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* ── Navbar ── */
  .nav-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 0 14px;
    height: 56px;
    gap: 0;
  }
  .nav-logo {
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    order: 1;
    white-space: nowrap;
    line-height: 1;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0; right: 0;
    background: var(--dark-2);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    flex-direction: column;
    gap: 4px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
  }
  .nav-links > li > a:hover { background: var(--dark-4); color: var(--red); }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--dark-4);
    border: none;
    border-radius: 8px;
    margin-top: 4px;
    padding: 6px;
    display: none;
  }
  .dropdown.open .dropdown-menu { display: block; }

  /* ── Nav Actions ── */
  .nav-actions {
    order: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding-right: 10px;
  }
  .nav-search-form { display: none; }
  .nav-cart-btn { font-size: 1rem; padding: 7px; }
  .nav-actions .btn-outline-sm {
    padding: 6px 12px;
    font-size: 0.78rem;
    border-radius: 8px;
  }
  .nav-actions .btn-red-sm {
    padding: 6px 12px;
    font-size: 0.78rem;
    border-radius: 8px;
  }
  .nav-user-btn { padding: 6px 8px; font-size: 0.78rem; gap: 4px; }
  .nav-user-btn .fa-chevron-down { display: none; }

  /* ── Hamburger ── */
  .nav-toggle {
    display: flex;
    order: 3;
    padding: 8px 4px;
    flex-shrink: 0;
  }

  /* ── Page Layout ── */
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .cart-header-row { display: none; }
  .cart-item { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }

  /* ── Hero Mobile ── */
  .hero-section { padding: 80px 0 50px; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; max-width: 90%; }
  .hero-actions { justify-content: center; flex-wrap: wrap; gap: 10px; }
  .hero-actions .btn { min-width: 140px; justify-content: center; }
  .hero-stats { justify-content: center; gap: 24px; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .premium-hero-display { margin-top: 30px; }

  /* ── Products ── */
  .product-card .product-name a { font-size: 0.88rem; }
  .product-badge { font-size: 0.68rem; padding: 3px 7px; }

  /* ── Footer ── */
  .footer { padding: 40px 0 20px; }
  .footer-brand { text-align: center; }
  .footer-social { justify-content: center; }
  .footer-links h4, .footer-contact h4 { margin-top: 10px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-stats { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.75rem; }
  .hero-stats { gap: 16px; }
  .hero-stats .stat-number { font-size: 2rem; }
  .product-card .product-info { padding: 12px; }
  .section-header h2 { font-size: 1.5rem; }
  .footer-bottom { font-size: 0.78rem; }
}

/* ---- Premium Hero Enhancements ---- */
.premium-hero-display { position: relative; width: 100%; height: 450px; display: flex; justify-content: center; align-items: center; }
.floating-feature { position: absolute; background: rgba(30, 30, 30, 0.8); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 12px 20px; display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 10; transition: all 0.3s ease; animation: float 4s ease-in-out infinite; }
.floating-feature:hover { transform: translateY(-5px) scale(1.05); border-color: var(--red); box-shadow: 0 15px 40px rgba(230, 57, 70, 0.2); }
.f-icon { width: 40px; height: 40px; background: rgba(230, 57, 70, 0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 1.2rem; }
.f-text { display: flex; flex-direction: column; }
.f-text span { font-weight: 700; font-size: 0.95rem; color: var(--white); }
.f-text small { font-size: 0.75rem; color: var(--text-muted); }

.f-1 { top: 10%; left: 0; animation-delay: 0s; }
.f-2 { top: 45%; right: -20px; animation-delay: 1s; }
.f-3 { bottom: 10%; left: 20px; animation-delay: 2s; }

.visual-glow { position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 70%); border-radius: 50%; z-index: 1; filter: blur(30px); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 992px) {
    .premium-hero-display { height: 350px; }
    .f-2 { right: 0; }
}
@media (max-width: 768px) {
    .premium-hero-display { display: none; }
}
