/* === CSS VARIABLES === */
:root {
  --brand: #27D3F5;
  --brand-dark: #0ab8d9;
  --brand-light: #e8f9fd;
  --brand-glow: rgba(39,211,245,0.25);
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-alt: #f6f8fa;
  --text: #1a1a2e;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f0f0f5;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
  --shadow-hover: 0 16px 48px rgba(39,211,245,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'DM Sans', sans-serif;
  --font-heading: 'DM Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }
/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 10px; }

/* === UTILITY === */
.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.section { padding: 80px 0; }
.section-title {
  font-size: 2rem; font-weight: 700; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text) 0%, var(--brand-dark) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle { color: var(--text-light); font-size: 1.05rem; margin-bottom: 40px; }

/* === HEADER === */
#mobismart-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}
#mobismart-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.06); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.5rem; letter-spacing: -0.5px;
}
.logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition);
  overflow: hidden;
}
.logo-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.logo:hover .logo-icon { transform: rotate(-8deg) scale(1.05); }
.logo span { }
.logo-smart {
  background: linear-gradient(135deg, #27D3F5 0%, #0ab8d9 50%, #27D3F5 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 6px rgba(39,211,245,0.4));
  font-weight: 800;
  background-size: 200% auto;
  animation: smartShimmer 3s linear infinite;
}
@keyframes smartShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  padding: 8px 18px; border-radius: 10px; font-size: 0.92rem;
  font-weight: 500; color: var(--text-light); transition: all var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text); background: var(--brand-light);
}
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 3px; border-radius: 2px;
  background: var(--brand);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: flex; border-radius: 10px; overflow: hidden;
  border: 1.5px solid var(--border); font-size: 0.8rem; font-weight: 600;
}
.lang-toggle button {
  padding: 6px 12px; background: transparent; color: var(--text-light);
  transition: all var(--transition); font-weight: 600;
}
.lang-toggle button.active {
  background: var(--brand); color: #fff;
}
.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); color: var(--text);
}
.cart-btn:hover { background: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px var(--brand-glow); }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--danger); color: #fff; font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  animation: badgePop 0.3s ease;
}
.user-btn {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); color: var(--text);
}
.user-btn:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.mobile-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-alt); align-items: center; justify-content: center;
  color: var(--text); flex-shrink: 0;
}
@media(max-width:900px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
}

/* === HEADER SEARCH BAR === */
.header-search-btn {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); color: var(--text);
}
.header-search-btn:hover { background: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px var(--brand-glow); }
.header-search-bar {
  background: var(--bg); border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
}
.header-search-wrap {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-alt); border-radius: 12px;
  padding: 8px 16px; border: 1.5px solid var(--border-light);
  transition: border var(--transition);
}
.header-search-wrap:focus-within {
  border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow);
}
.header-search-wrap .header-search-icon {
  color: var(--text-lighter); flex-shrink: 0; display: flex; align-items: center;
}
.header-search-wrap input {
  flex: 1; border: none; outline: none; font-size: 0.92rem;
  background: transparent; color: var(--text);
}
.mobile-search-bar {
  padding: 8px 0 16px;
}
@media(max-width:900px) {
  .header-search-bar { display: none; }
}
@media(min-width:901px) {
  .mobile-search-bar { display: none; }
}

/* === HERO === */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 0 80px; background: var(--bg);
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(39,211,245,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 8px; border-radius: 100px;
  background: var(--brand-light); color: var(--brand-dark);
  font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: pulse 2s infinite; }
.hero h1 { font-size: 3.5rem; font-weight: 700; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; }
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { color: var(--text-light); font-size: 1.15rem; margin-bottom: 36px; max-width: 500px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 32px; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px var(--brand-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 28px var(--brand-glow); }
.btn-secondary {
  padding: 14px 32px; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
  background: var(--bg-alt); color: var(--text); transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }
.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-card-stack { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; }
.hero-float-card {
  position: absolute; border-radius: var(--radius-lg); background: var(--bg-card);
  box-shadow: var(--shadow-lg); padding: 20px; transition: all 0.5s ease;
  border: 1px solid var(--border-light);
}
.hero-float-card:nth-child(1) { top: 0; left: 10%; width: 240px; animation: float1 6s ease-in-out infinite; }
.hero-float-card:nth-child(2) { top: 30%; right: 0; width: 220px; animation: float2 7s ease-in-out infinite; }
.hero-float-card:nth-child(3) { bottom: 5%; left: 5%; width: 260px; animation: float3 5s ease-in-out infinite; }
.hero-card-img {
  width: 100%; height: 120px; border-radius: 12px;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
  font-size: 3rem; margin-bottom: 12px; overflow: hidden;
}
.hero-card-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }
.hero-card-price { color: var(--brand); font-weight: 700; font-size: 1.1rem; }
@media(max-width:900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2.5rem; }
  .hero p { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
}

/* === CATEGORIES === */
.categories-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.category-card {
  padding: 28px 20px; border-radius: var(--radius); text-align: center;
  background: var(--bg-card); border: 1.5px solid var(--border-light);
  cursor: pointer; transition: all var(--transition);
}
.category-card:hover {
  border-color: var(--brand); transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.category-icon {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 14px;
  background: var(--brand-light); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; transition: all var(--transition);
}
.category-card:hover .category-icon { background: var(--brand); transform: scale(1.1) rotate(-5deg); }
.category-card:hover .category-icon svg { color: #fff; }
.category-name { font-weight: 600; font-size: 0.92rem; margin-bottom: 4px; }
.category-count { font-size: 0.8rem; color: var(--text-lighter); }

/* === PRODUCT CARDS === */
.products-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; flex-wrap: wrap; gap: 16px;
}
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tab {
  padding: 8px 20px; border-radius: 10px; font-size: 0.88rem; font-weight: 500;
  background: var(--bg-alt); color: var(--text-light); transition: all var(--transition);
  border: 1.5px solid transparent;
}
.filter-tab:hover { border-color: var(--brand); color: var(--brand); }
.filter-tab.active { background: var(--brand); color: #fff; }
.sort-select {
  padding: 10px 16px; border-radius: 10px; border: 1.5px solid var(--border);
  background: var(--bg); font-size: 0.88rem; color: var(--text);
  outline: none; transition: border var(--transition);
}
.sort-select:focus { border-color: var(--brand); }
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light); overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; cursor: pointer;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand);
}
.product-card-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 4px 12px; border-radius: 8px; font-size: 0.75rem; font-weight: 700;
  background: var(--danger); color: #fff;
}
.product-card-badge.new { background: var(--success); }
.product-card-img {
  position: relative; height: 220px; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; overflow: hidden;
}
.product-card-real-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-real-img {
  transform: scale(1.05);
}
.product-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.03) 100%);
}
.product-card-actions {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateX(10px);
  transition: all 0.35s ease;
}
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); color: var(--text); font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.product-action-btn:hover { background: var(--brand); color: #fff; transform: scale(1.1); }
.product-card-body { padding: 20px; }
.product-card-cat { font-size: 0.78rem; color: var(--brand); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.product-card-title { font-weight: 600; font-size: 1rem; margin-bottom: 6px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-desc { font-size: 0.85rem; color: var(--text-light); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.product-price { font-size: 1.3rem; font-weight: 700; color: var(--text); }
.product-price .old { font-size: 0.9rem; color: var(--text-lighter); text-decoration: line-through; margin-left: 8px; font-weight: 400; }
.product-stock { font-size: 0.8rem; font-weight: 500; display: flex; align-items: center; gap: 5px; }
.product-stock.in { color: var(--success); }
.product-stock.low { color: var(--warning); }
.product-stock.out { color: var(--danger); }
.product-stock-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.add-cart-btn {
  width: 100%; padding: 12px; border-radius: 12px; font-weight: 600;
  font-size: 0.9rem; transition: all var(--transition);
  background: var(--bg-alt); color: var(--text); display: flex;
  align-items: center; justify-content: center; gap: 8px;
}
.add-cart-btn:hover { background: var(--brand); color: #fff; box-shadow: 0 4px 16px var(--brand-glow); }
.add-cart-btn.added { background: var(--success); color: #fff; }
.add-cart-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* === PRODUCT DETAIL === */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 60px 0; }
.pd-gallery { position: relative; }
.pd-main-img {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius-lg);
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
  font-size: 8rem; overflow: hidden; border: 1.5px solid var(--border-light);
}
.pd-real-img {
  width: 100%; height: 100%; object-fit: cover;
}
.pd-info { display: flex; flex-direction: column; gap: 16px; }
.pd-breadcrumb { font-size: 0.85rem; color: var(--text-lighter); }
.pd-breadcrumb a { color: var(--brand); }
.pd-title { font-size: 2rem; font-weight: 700; line-height: 1.2; }
.pd-price-row { display: flex; align-items: baseline; gap: 12px; }
.pd-price { font-size: 2.2rem; font-weight: 700; color: var(--brand-dark); }
.pd-old-price { font-size: 1.2rem; color: var(--text-lighter); text-decoration: line-through; }
.pd-desc { color: var(--text-light); line-height: 1.7; }
.pd-qty { display: flex; align-items: center; gap: 12px; }
.qty-control {
  display: flex; align-items: center; border: 1.5px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.qty-control button {
  width: 44px; height: 44px; background: var(--bg-alt); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); color: var(--text);
}
.qty-control button:hover { background: var(--brand); color: #fff; }
.qty-control input {
  width: 60px; height: 44px; text-align: center; border: none;
  font-weight: 600; font-size: 1rem; outline: none; background: transparent;
}
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 20px; background: var(--bg-alt); border-radius: var(--radius);
}
.pd-feature { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.pd-feature-icon { color: var(--brand); font-size: 1.1rem; }
@media(max-width:900px) {
  .product-detail { grid-template-columns: 1fr; gap: 30px; }
}

/* === CART PAGE === */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 40px 0; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: flex; gap: 20px; padding: 20px; border-radius: var(--radius);
  background: var(--bg-card); border: 1.5px solid var(--border-light);
  transition: all var(--transition);
}
.cart-item:hover { border-color: var(--brand); }
.cart-item-img {
  width: 100px; height: 100px; border-radius: 12px;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-title { font-weight: 600; margin-bottom: 4px; }
.cart-item-cat { font-size: 0.8rem; color: var(--text-lighter); }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.cart-item-price { font-weight: 700; font-size: 1.1rem; color: var(--brand-dark); }
.cart-item-remove { color: var(--danger); font-size: 0.85rem; cursor: pointer; background: none; font-weight: 500; }
.cart-item-remove:hover { text-decoration: underline; }
.cart-summary {
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1.5px solid var(--border-light);
  height: fit-content; position: sticky; top: 100px;
}
.cart-summary h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }
.cart-summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.95rem; }
.cart-summary-row.total { font-size: 1.2rem; font-weight: 700; border-top: 1.5px solid var(--border); padding-top: 16px; margin-top: 16px; }
.cart-summary-row.total .cart-sum-val { color: var(--brand-dark); }
.cart-empty {
  text-align: center; padding: 80px 20px;
}
.cart-empty-icon { font-size: 5rem; margin-bottom: 20px; opacity: 0.3; }
.cart-empty h3 { font-size: 1.4rem; margin-bottom: 8px; }
.cart-empty p { color: var(--text-light); margin-bottom: 24px; }
@media(max-width:900px) {
  .cart-layout { grid-template-columns: 1fr; }
}

/* === FORMS (Login, Register, Checkout) === */
.form-page { max-width: 520px; margin: 0 auto; padding: 60px 0; }
.form-card {
  padding: 40px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.form-card p.form-sub { color: var(--text-light); margin-bottom: 28px; font-size: 0.95rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 12px; font-size: 0.95rem; outline: none;
  transition: border var(--transition); background: var(--bg);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow);
}
.form-submit {
  width: 100%; padding: 14px; border-radius: 12px; font-weight: 600;
  font-size: 1rem; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; transition: all var(--transition); margin-top: 8px;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--brand-glow); }
.form-footer { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-light); }
.form-footer a { color: var(--brand); font-weight: 600; }
.form-footer a:hover { text-decoration: underline; }

/* === CHECKOUT === */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; padding: 40px 0; }
.checkout-section { margin-bottom: 32px; }
.checkout-section h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1.5px solid var(--border-light); }
@media(max-width:900px) {
  .checkout-layout { grid-template-columns: 1fr; }
}

/* === FOOTER === */
#mobismart-footer {
  background: var(--text); color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand p { margin-top: 12px; font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-weight: 600; margin-bottom: 16px; font-size: 0.95rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--brand); }
.footer-contact li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; text-align: center; font-size: 0.85rem;
}
@media(max-width:768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* === TOAST === */
#mobismart-toast { position: fixed; top: 90px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  padding: 14px 24px; border-radius: 12px; background: var(--bg-card);
  box-shadow: var(--shadow-lg); border-left: 4px solid var(--brand);
  font-size: 0.9rem; font-weight: 500;
  animation: slideInRight 0.4s ease, fadeOut 0.4s ease 2.6s forwards;
  display: flex; align-items: center; gap: 10px;
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }

/* === SEARCH OVERLAY === */
.search-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 120px; opacity: 0; pointer-events: none;
  transition: all 0.3s ease;
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-box {
  width: 90%; max-width: 600px; background: var(--bg-card);
  border-radius: var(--radius-lg); padding: 8px; box-shadow: var(--shadow-lg);
  transform: translateY(-20px); transition: transform 0.3s ease;
}
.search-overlay.open .search-box { transform: translateY(0); }
.search-input-wrap { display: flex; align-items: center; gap: 12px; padding: 8px 16px; }
.search-input-wrap svg { color: var(--text-light); flex-shrink: 0; }
.search-input-wrap input {
  flex: 1; border: none; outline: none; font-size: 1.1rem;
  background: transparent; color: var(--text);
}
.search-results { max-height: 400px; overflow-y: auto; border-top: 1px solid var(--border-light); }
.search-result-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  cursor: pointer; transition: background var(--transition);
}
.search-result-item:hover { background: var(--bg-alt); }
.search-result-img {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.search-result-title { font-weight: 500; font-size: 0.95rem; }
.search-result-price { color: var(--brand); font-weight: 600; font-size: 0.85rem; }

/* === PAGINATION === */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.page-btn {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 500; background: var(--bg-alt);
  color: var(--text-light); transition: all var(--transition);
}
.page-btn:hover { border-color: var(--brand); color: var(--brand); }
.page-btn.active { background: var(--brand); color: #fff; }

/* === ANIMATIONS === */
@keyframes float1 { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-15px) rotate(2deg); } }
@keyframes float2 { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(-3deg); } }
@keyframes float3 { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes badgePop { 0% { transform: scale(0); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes slideInRight { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; transform: translateX(40px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.6s ease forwards; opacity: 0; }
.fade-up-d1 { animation-delay: 0.1s; }
.fade-up-d2 { animation-delay: 0.2s; }
.fade-up-d3 { animation-delay: 0.3s; }
.fade-up-d4 { animation-delay: 0.4s; }

/* === MOBILE NAV === */
.mobile-nav {
  position: fixed; inset: 0; z-index: 1500; background: var(--bg);
  padding: 80px 24px 24px; transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.4s;
  visibility: hidden;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s; }
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 1499; background: rgba(0,0,0,0.4);
  opacity: 0; visibility: hidden; transition: all 0.3s ease; pointer-events: none;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; pointer-events: all; }
.mobile-nav-close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
}
.mobile-nav a {
  display: block; padding: 16px 0; font-size: 1.2rem; font-weight: 600;
  border-bottom: 1px solid var(--border-light); transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--brand); }

/* === PROMO BAR === */
.promo-bar {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; text-align: center; padding: 10px; font-size: 0.85rem; font-weight: 500;
}
.promo-bar strong { font-weight: 700; }