/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: #f1f3f6; color: #212121; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
select { font-family: inherit; outline: none; border: none; background: transparent; cursor: pointer; }

:root {
  --primary: #2874f0;
  --primary-dark: #1a5dc8;
  --accent: #ff6161;
  --accent2: #ff9f00;
  --green: #388e3c;
  --bg: #f1f3f6;
  --text: #212121;
  --text-muted: #878787;
  --border: #e0e0e0;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 8px;
}

/* TOPBAR */
.topbar { background: #172337; color: #fff; font-size: 12px; padding: 6px 0; }
.topbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a { color: #a8c7fa; transition: color .2s; }
.topbar-links a:hover { color: #fff; }

/* NAVBAR */
.navbar { background: var(--primary); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 20px; }
.logo { display: flex; flex-direction: column; min-width: 120px; }
.logo-main { font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.logo-accent { color: #ffe500; }
.logo-tagline { font-size: 11px; color: #a8d8ff; font-style: italic; margin-top: -2px; }

/* SEARCH */
.search-bar { flex: 1; display: flex; align-items: center; background: #fff; border-radius: 4px; overflow: hidden; max-width: 680px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.search-category-select { padding: 0 10px; border-right: 1px solid #e0e0e0; font-size: 13px; color: #555; height: 44px; display: flex; align-items: center; }
.search-category-select select { font-size: 13px; color: #555; }
#searchInput { flex: 1; padding: 0 16px; height: 44px; font-size: 14px; color: #333; border: none; }
#searchInput::placeholder { color: #aaa; }
.search-btn { background: var(--primary); color: #fff; width: 52px; height: 44px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.search-btn:hover { background: var(--primary-dark); }

/* NAV ACTIONS */
.nav-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 14px; color: #fff; font-size: 12px; font-weight: 600; border-radius: 4px; cursor: pointer; transition: background .2s; position: relative; white-space: nowrap; }
.nav-item:hover { background: rgba(255,255,255,0.15); }
.badge { position: absolute; top: 2px; right: 6px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* CATEGORY NAV */
.cat-nav { background: var(--primary-dark); border-top: 1px solid rgba(255,255,255,0.1); }
.cat-nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; overflow-x: auto; scrollbar-width: none; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-link { color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 500; padding: 10px 16px; white-space: nowrap; border-bottom: 3px solid transparent; transition: all .2s; }
.cat-link:hover, .cat-link.active { color: #fff; border-bottom-color: #ffe500; }

/* HERO */
.hero-section { position: relative; overflow: hidden; }
.hero-slider { position: relative; height: 380px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-content { max-width: 1280px; margin: 0 auto; padding: 0 40px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.hero-text { color: #fff; max-width: 480px; }
.hero-tag { display: inline-block; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 20px; margin-bottom: 16px; }
.hero-text h1 { font-family: 'Outfit', sans-serif; font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 14px; }
.hero-highlight { color: #ffe500; }
.hero-text p { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.hero-cta { background: #ffe500; color: #1a1a1a; font-size: 15px; font-weight: 700; padding: 14px 32px; border-radius: 4px; transition: all .2s; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.hero-cta:hover { background: #fff; transform: translateY(-2px); }
.hero-visual { width: 340px; height: 300px; display: flex; align-items: center; justify-content: center; }
.hero-visual img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4)); animation: float 3s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.hero-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all .3s; }
.dot.active { background: #fff; width: 28px; border-radius: 5px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 28px; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.hero-arrow:hover { background: rgba(255,255,255,0.4); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }

/* OFFER STRIP */
.offer-strip { background: #fff; border-bottom: 1px solid var(--border); padding: 12px 0; }
.offer-strip-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-around; flex-wrap: wrap; }
.offer-pill { font-size: 13px; font-weight: 600; color: #555; padding: 6px 16px; border-right: 1px solid var(--border); }
.offer-pill:last-child { border-right: none; }

/* SECTIONS */
.section { max-width: 1280px; margin: 24px auto; padding: 0 20px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-title { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700; color: var(--text); }
.section-title-group { display: flex; align-items: center; gap: 20px; }
.see-all { color: var(--primary); font-size: 14px; font-weight: 600; transition: color .2s; }
.see-all:hover { color: var(--primary-dark); text-decoration: underline; }
.deal-timer { font-size: 13px; color: var(--accent); font-weight: 600; background: #fff3f3; padding: 6px 12px; border-radius: 4px; border: 1px solid #ffd0d0; }

/* CATEGORIES */
.categories-section { background: #fff; border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); }
.categories-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 8px; border-radius: var(--radius); cursor: pointer; transition: all .2s; }
.cat-card:hover { background: #f5f7ff; transform: translateY(-4px); }
.cat-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; transition: transform .2s; }
.cat-card:hover .cat-icon { transform: scale(1.1); }
.cat-card span { font-size: 13px; font-weight: 600; color: #333; text-align: center; }

/* DEALS */
.deals-section { background: #fff; border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); }
.deals-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.deals-scroll::-webkit-scrollbar { height: 4px; }
.deals-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.deal-card { min-width: 180px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: all .25s; flex-shrink: 0; }
.deal-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--primary); }
.deal-card-img { width: 100%; height: 160px; object-fit: cover; background: #f5f5f5; }
.deal-card-body { padding: 10px 12px; }
.deal-card-name { font-size: 13px; font-weight: 600; color: #333; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-card-price { font-size: 15px; font-weight: 700; color: var(--text); }
.deal-card-discount { font-size: 12px; color: var(--green); font-weight: 600; }

/* FILTER BAR */
.filter-bar { background: #fff; box-shadow: var(--shadow); max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.filter-bar-inner { display: flex; align-items: center; gap: 8px; padding: 14px 0; flex-wrap: wrap; }
.filter-label { font-size: 13px; font-weight: 700; color: #555; margin-right: 4px; }
.filter-btn { padding: 7px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; background: #f1f3f6; color: #555; border: 1.5px solid transparent; transition: all .2s; }
.filter-btn:hover { background: #e8eeff; color: var(--primary); border-color: var(--primary); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.sort-group { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #555; }
.sort-group select { padding: 7px 12px; border: 1.5px solid var(--border); border-radius: 4px; font-size: 13px; color: #333; background: #fff; }

/* PRODUCTS GRID */
.products-section { background: transparent; }
.results-count { font-size: 13px; color: var(--text-muted); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: all .25s; border: 1px solid var(--border); position: relative; }
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: #c8d8ff; }
.product-card-img-wrap { position: relative; height: 200px; background: #f9f9f9; overflow: hidden; }
.product-card-img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .3s; }
.product-card:hover .product-card-img { transform: scale(1.06); }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 3px; }
.product-badge.new-badge { background: var(--green); }
.product-badge.hot-badge { background: #ff6b35; }
.wishlist-btn { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.12); font-size: 16px; transition: all .2s; opacity: 0; }
.product-card:hover .wishlist-btn { opacity: 1; }
.wishlist-btn:hover { background: #fff0f0; transform: scale(1.1); }
.wishlist-btn.active { opacity: 1; }
.product-card-body { padding: 14px; }
.product-brand { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.product-name { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.rating-badge { background: var(--green); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 3px; display: flex; align-items: center; gap: 3px; }
.rating-count { font-size: 12px; color: var(--text-muted); }
.product-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.product-price { font-size: 18px; font-weight: 800; color: var(--text); }
.product-mrp { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.product-discount { font-size: 13px; color: var(--green); font-weight: 700; }
.product-card-footer { padding: 0 14px 14px; display: flex; gap: 8px; }
.btn-cart { flex: 1; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; padding: 9px; border-radius: 4px; transition: background .2s; }
.btn-cart:hover { background: var(--primary-dark); }
.btn-buy { flex: 1; background: var(--accent2); color: #fff; font-size: 13px; font-weight: 700; padding: 9px; border-radius: 4px; transition: background .2s; }
.btn-buy:hover { background: #e68900; }
.load-more-wrap { text-align: center; margin-top: 32px; }
.load-more-btn { background: #fff; color: var(--primary); border: 2px solid var(--primary); font-size: 14px; font-weight: 700; padding: 12px 40px; border-radius: 4px; transition: all .2s; }
.load-more-btn:hover { background: var(--primary); color: #fff; }

/* BANNER ROW */
.banner-row { max-width: 1280px; margin: 24px auto; padding: 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promo-banner { border-radius: var(--radius); overflow: hidden; padding: 24px; display: flex; align-items: center; justify-content: space-between; min-height: 140px; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.promo-banner:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.promo-text h3 { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.promo-text p { font-size: 13px; color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.promo-text button { background: rgba(255,255,255,0.25); color: #fff; font-size: 13px; font-weight: 700; padding: 8px 18px; border-radius: 4px; border: 1.5px solid rgba(255,255,255,0.5); transition: all .2s; }
.promo-text button:hover { background: #fff; color: #333; }
.promo-banner img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* BRANDS */
.brands-section { background: #fff; border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); }
.brands-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.brand-card { background: #f5f7ff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 16px 8px; text-align: center; font-size: 14px; font-weight: 700; color: #444; cursor: pointer; transition: all .2s; }
.brand-card:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(40,116,240,0.25); }

/* FOOTER */
.footer { background: #172337; color: #fff; margin-top: 40px; }
.footer-top { max-width: 1280px; margin: 0 auto; padding: 40px 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #a8c7fa; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.65); transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-app p { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 14px; }
.app-badges { display: flex; flex-direction: column; gap: 8px; }
.app-badge { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: 6px; cursor: pointer; transition: background .2s; }
.app-badge:hover { background: rgba(255,255,255,0.2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); max-width: 1280px; margin: 0 auto; padding: 20px; display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.5); }

/* CART SIDEBAR */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-overlay.active { opacity: 1; pointer-events: all; }
.cart-sidebar { position: fixed; top: 0; right: -420px; width: 420px; height: 100vh; background: #fff; z-index: 2001; display: flex; flex-direction: column; box-shadow: -8px 0 32px rgba(0,0,0,0.15); transition: right .35s cubic-bezier(.4,0,.2,1); }
.cart-sidebar.open { right: 0; }
.cart-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: var(--primary); color: #fff; }
.cart-header h3 { font-size: 18px; font-weight: 700; }
.cart-close { background: rgba(255,255,255,0.2); color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.cart-close:hover { background: rgba(255,255,255,0.35); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 12px; color: var(--text-muted); }
.cart-empty-icon { font-size: 64px; }
.cart-empty p { font-size: 18px; font-weight: 600; color: #333; }
.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 72px; height: 72px; object-fit: contain; border-radius: 6px; background: #f5f5f5; padding: 4px; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 4px; }
.cart-item-price { font-size: 16px; font-weight: 800; color: var(--text); }
.cart-item-qty { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-btn { width: 28px; height: 28px; border-radius: 50%; background: #f1f3f6; color: #333; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.qty-btn:hover { background: var(--primary); color: #fff; }
.qty-val { font-size: 15px; font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-remove { color: var(--accent); font-size: 12px; font-weight: 600; cursor: pointer; margin-top: 4px; display: inline-block; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); background: #fafafa; }
.cart-total { display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.cart-savings { font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: 16px; }
.checkout-btn { width: 100%; background: var(--accent2); color: #fff; font-size: 16px; font-weight: 700; padding: 14px; border-radius: 4px; transition: background .2s; }
.checkout-btn:hover { background: #e68900; }

/* PRODUCT MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 3000; opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.product-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9); width: 90%; max-width: 860px; max-height: 90vh; background: #fff; border-radius: 12px; z-index: 3001; overflow-y: auto; opacity: 0; pointer-events: none; transition: all .3s cubic-bezier(.4,0,.2,1); }
.product-modal.active { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; background: #f1f3f6; border-radius: 50%; font-size: 18px; display: flex; align-items: center; justify-content: center; z-index: 10; transition: background .2s; }
.modal-close:hover { background: #e0e0e0; }
.modal-content { display: grid; grid-template-columns: 1fr 1fr; }
.modal-img-side { background: #f9f9f9; padding: 40px; display: flex; align-items: center; justify-content: center; min-height: 400px; }
.modal-img-side img { max-height: 320px; object-fit: contain; }
.modal-info-side { padding: 32px; }
.modal-brand { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.modal-name { font-size: 22px; font-weight: 700; color: #333; margin-bottom: 12px; line-height: 1.3; }
.modal-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.modal-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.modal-price { font-size: 28px; font-weight: 800; color: var(--text); }
.modal-mrp { font-size: 16px; color: var(--text-muted); text-decoration: line-through; }
.modal-discount { font-size: 16px; color: var(--green); font-weight: 700; }
.modal-savings { font-size: 13px; color: var(--green); background: #f0fff4; padding: 6px 12px; border-radius: 4px; margin-bottom: 20px; font-weight: 600; }
.modal-features { margin-bottom: 24px; }
.modal-features h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: #555; }
.modal-features ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.modal-features ul li { font-size: 13px; color: #555; padding-left: 20px; position: relative; }
.modal-features ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.modal-actions { display: flex; gap: 12px; }
.modal-btn-cart { flex: 1; background: var(--primary); color: #fff; font-size: 15px; font-weight: 700; padding: 14px; border-radius: 4px; transition: background .2s; }
.modal-btn-cart:hover { background: var(--primary-dark); }
.modal-btn-buy { flex: 1; background: var(--accent2); color: #fff; font-size: 15px; font-weight: 700; padding: 14px; border-radius: 4px; transition: background .2s; }
.modal-btn-buy:hover { background: #e68900; }

/* LOGIN MODAL */
.login-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 4000; opacity: 0; pointer-events: none; transition: opacity .3s; }
.login-modal-overlay.active { opacity: 1; pointer-events: all; }
.login-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9); width: 90%; max-width: 750px; background: #fff; border-radius: 12px; z-index: 4001; opacity: 0; pointer-events: none; transition: all .3s; overflow: hidden; }
.login-modal.active { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }
.login-modal-inner { display: grid; grid-template-columns: 1fr 1fr; }
.login-left { background: var(--primary); padding: 40px 32px; color: #fff; display: flex; flex-direction: column; gap: 16px; }
.login-left h2 { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 800; }
.login-left p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.6; }
.login-left img { border-radius: 8px; margin-top: auto; }
.login-right { padding: 40px 32px; display: flex; flex-direction: column; gap: 14px; }
.login-input { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 4px; font-size: 14px; font-family: inherit; transition: border-color .2s; }
.login-input:focus { outline: none; border-color: var(--primary); }
.login-terms { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.login-terms a { color: var(--primary); }
.login-submit-btn { background: var(--primary); color: #fff; font-size: 15px; font-weight: 700; padding: 13px; border-radius: 4px; transition: background .2s; }
.login-submit-btn:hover { background: var(--primary-dark); }
.login-divider { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 13px; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.otp-btn { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); font-size: 14px; font-weight: 700; padding: 12px; border-radius: 4px; transition: all .2s; }
.otp-btn:hover { background: #f0f5ff; }
.new-user { font-size: 13px; color: var(--text-muted); text-align: center; }
.new-user a { color: var(--primary); font-weight: 600; }

/* TOAST */
.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(80px); background: #323232; color: #fff; font-size: 14px; font-weight: 600; padding: 14px 28px; border-radius: 8px; z-index: 9999; opacity: 0; transition: all .35s cubic-bezier(.4,0,.2,1); white-space: nowrap; box-shadow: 0 8px 32px rgba(0,0,0,0.25); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--green); }
.toast.error { background: var(--accent); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .banner-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-text h1 { font-size: 32px; }
  .hero-visual { width: 200px; height: 200px; }
  .hero-slider { height: 280px; }
  .nav-inner { flex-wrap: wrap; gap: 10px; }
  .search-bar { order: 3; width: 100%; max-width: 100%; }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .banner-row { grid-template-columns: 1fr; }
  .modal-content { grid-template-columns: 1fr; }
  .login-modal-inner { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .cart-sidebar { width: 100%; right: -100%; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar-links { display: none; }
  .hero-text h1 { font-size: 24px; }
  .hero-visual { display: none; }
}