/* ============================================================
   Al-Noor Mobile - Main Stylesheet
   Design inspired by sovo.com.pk (clean modern e-commerce)
   ============================================================ */

:root {
  --accent: #00bda0;
  --accent-dark: #00917c;
  --accent-light: #e0f7f4;
  --text-primary: #1a1a1a;
  --text-secondary: #616161;
  --text-muted: #9e9e9e;
  --bg: #ffffff;
  --bg-secondary: #f6f7f9;
  --border: #ececec;
  --star: #ffb74a;
  --danger: #ef4444;
  --success: #22c55e;
  --header-bg: #00bda0;
  --header-text: #ffffff;
  --footer-bg: #252525;
  --footer-text: #ffffff;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 8px rgba(26,26,26,0.06);
  --shadow: 0 6px 24px rgba(26,26,26,0.08);
  --shadow-md: 0 10px 40px rgba(26,26,26,0.1);
  --font-heading: 'Barlow', 'Segoe UI', sans-serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
  --container: 1300px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.2; }

a { text-decoration: none; color: inherit; transition: color 0.2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

ul { list-style: none; }

button { cursor: pointer; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s;
  line-height: 1.2;
}
.btn i { font-size: 1.05rem; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,189,160,0.3); }

.btn-secondary { background: #f0c417; color: #1a1a1a; }
.btn-secondary:hover { background: #ddb40c; color: #1a1a1a; transform: translateY(-2px); }

.btn-outline { background: transparent; border: 1.5px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.btn-dark { background: #1a1a1a; color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }

.btn-white { background: #fff; color: var(--text-primary); }
.btn-white:hover { background: var(--accent-light); color: var(--accent-dark); }

.btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.btn-lg { padding: 14px 36px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--accent-dark);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  padding: 8px 16px;
  letter-spacing: 0.4px;
}
.announcement-bar strong { font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  background: var(--header-bg);
  color: var(--header-text);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.top-header { display: flex; align-items: center; gap: 20px; padding: 18px 0; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 44px; height: 44px;
  background: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.logo-text { color: #fff; line-height: 1.1; }
.logo-text h1 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.3px; }
.logo-text span { font-size: 0.68rem; opacity: 0.9; letter-spacing: 0.5px; }

/* Search */
.header-search { flex: 1; max-width: 520px; position: relative; }
.header-search form { position: relative; }
.header-search input {
  width: 100%;
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 46px 12px 20px;
  font-size: 0.88rem;
  background: rgba(255,255,255,0.98);
  color: var(--text-primary);
  outline: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.header-search button {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  border: none;
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.live-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  z-index: 1200;
  display: none;
}
.live-search-results.show { display: block; }
.live-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--bg-secondary);
  transition: background 0.2s;
}
.live-search-item:hover { background: var(--bg-secondary); }
.live-search-item img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; }
.live-search-item .ls-name { font-size: 0.82rem; font-weight: 600; }
.live-search-item .ls-price { font-size: 0.78rem; color: var(--accent); font-weight: 600; }
.live-search-empty { padding: 18px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #fff;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: background 0.2s;
}
.header-action:hover { background: rgba(255,255,255,0.15); color: #fff; }
.header-action i { font-size: 1.25rem; }
.header-action .ha-label { font-size: 0.66rem; opacity: 0.9; }
.header-action .badge-count {
  position: absolute;
  top: 0; right: 2px;
  background: #fff;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Nav */
.main-nav { background: rgba(255,255,255,0.12); border-top: 1px solid rgba(255,255,255,0.15); }
.main-nav ul { display: flex; align-items: center; gap: 4px; padding: 0; }
.main-nav li a {
  display: flex; align-items: center; gap: 7px;
  color: #fff;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 13px 18px;
  transition: background 0.2s;
  position: relative;
}
.main-nav li a:hover, .main-nav li a.active { background: rgba(255,255,255,0.15); color: #fff; }
.main-nav li a i { font-size: 0.95rem; }

/* Mobile menu */
.menu-toggle { display: none; }
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: -320px;
  width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 1500;
  box-shadow: var(--shadow-md);
  padding: 20px;
  transition: left 0.3s ease;
  overflow-y: auto;
}
.mobile-menu.open { left: 0; }
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1400;
}
.mobile-menu-overlay.show { display: block; }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-menu-close { border: none; background: none; font-size: 1.4rem; }
.mobile-menu ul li a {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 12px;
  border-bottom: 1px solid var(--bg-secondary);
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
}
.mobile-menu ul li a:hover { background: var(--accent-light); color: var(--accent-dark); }
.mobile-menu ul li a i { color: var(--accent); font-size: 1.1rem; width: 22px; text-align: center; }

/* ---------- Hero / Banner ---------- */
.hero-slider {
  background: linear-gradient(135deg, #00a88e 0%, #00bda0 40%, #0fd4b6 100%);
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 54px 0;
  min-height: 420px;
}
.hero-content { flex: 1; color: #fff; }
.hero-content .hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-content h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 14px; letter-spacing: -0.5px; }
.hero-content h1 .underline-accent { position: relative; }
.hero-content p { font-size: 1.05rem; opacity: 0.95; margin-bottom: 30px; max-width: 520px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { flex: 1; position: relative; }
.hero-visual img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.hero-badge-float {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
}
.hero-badge-float i { color: var(--accent); font-size: 1.4rem; }
.hero-badge-1 { top: 20px; right: 0; animation: floaty 4s ease-in-out infinite; }
.hero-badge-2 { bottom: 40px; left: 0; animation: floaty 4s ease-in-out infinite 1.5s; }

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

.hero-slider .dots-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dot { width: 34px; height: 6px; border-radius: var(--radius-full); background: rgba(255,255,255,0.4); border: none; transition: all 0.3s; }
.hero-dot.active { background: #fff; width: 44px; }

/* ---------- Section headers ---------- */
.section { padding: 56px 0; }
.section-primary { background: var(--bg-secondary); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head .sec-eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 8px 0 10px; }
.section-head p { color: var(--text-secondary); font-size: 0.95rem; }

/* Section header with left align for some */
.section-head-left { text-align: left; margin: 0 0 24px; }

/* ---------- Feature strip ---------- */
.feature-strip { background: #fff; border-top: 1px solid var(--border); padding: 28px 0; }
.feature-strip .fs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-item { display: flex; align-items: center; gap: 14px; }
.feature-item i {
  width: 52px; height: 52px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.feature-item h4 { font-size: 0.92rem; margin-bottom: 2px; }
.feature-item p { font-size: 0.78rem; color: var(--text-muted); }

/* ---------- Category cards ---------- */
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  transition: all 0.3s;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.category-card .cat-img {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--bg-secondary);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  border: 3px solid var(--accent-light);
  transition: transform 0.3s;
}
.category-card:hover .cat-img { transform: scale(1.06); }
.category-card .cat-img img { width: 88px; height: 88px; object-fit: contain; }
.category-card h3 { font-size: 0.98rem; margin-bottom: 4px; }
.category-card .cat-count { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 12px; }
.category-card .btn { padding: 8px 22px; font-size: 0.78rem; }

/* ---------- Product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all 0.35s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.product-card .pc-media { position: relative; background: var(--bg-secondary); aspect-ratio: 1/1; overflow: hidden; }
.product-card .pc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .pc-media img { transform: scale(1.07); }

.pc-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  z-index: 2;
}
.pc-badge.sold-out { background: var(--text-muted); }
.pc-badge.best { background: #f0c417; color: #1a1a1a; }

.pc-wishlist {
  position: absolute;
  top: 12px; right: 12px;
  width: 38px; height: 38px;
  background: #fff;
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  opacity: 0;
  transform: translateY(-6px);
  z-index: 3;
}
.product-card:hover .pc-wishlist { opacity: 1; transform: translateY(0); }
.pc-wishlist:hover { background: var(--accent); color: #fff; }
.pc-wishlist.active { background: var(--accent); color: #fff; opacity: 1; transform: translateY(0); }

.pc-quickview {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%) translateY(8px);
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: var(--radius-full);
  padding: 9px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: all 0.25s;
  color: var(--text-primary);
  display: flex; align-items: center; gap: 7px;
  z-index: 3;
}
.product-card:hover .pc-quickview { opacity: 1; transform: translateX(-50%) translateY(0); }
.pc-quickview:hover { background: var(--accent); color: #fff; }

.product-card .pc-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-card .pc-brand { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 4px; }
.product-card .pc-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.product-card .pc-name:hover { color: var(--accent); }
.product-card .pc-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.stars { display: inline-flex; gap: 1px; }
.stars i { font-size: 0.8rem; color: #e0e0e0; }
.stars i.star-filled { color: var(--star); }
.stars i.star-half { color: var(--star); }
.stars .star-empty i { color: #e0e0e0; }
.review-count { font-size: 0.72rem; color: var(--text-muted); }
.product-card .pc-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; margin-bottom: 12px; }
.pc-current { font-size: 1.08rem; font-weight: 700; color: var(--accent); }
.pc-old { font-size: 0.82rem; color: var(--text-muted); text-decoration: line-through; }
.pc-discount { font-size: 0.68rem; background: var(--accent-light); color: var(--accent-dark); padding: 3px 8px; border-radius: var(--radius-full); font-weight: 700; }
.product-card .pc-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }

.add-to-cart-btn {
  border: none;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  transition: all 0.25s;
}
.add-to-cart-btn:hover { background: var(--accent-dark); box-shadow: 0 6px 18px rgba(0,189,160,0.3); }
.add-to-cart-btn i { font-size: 0.95rem; }
.add-to-cart-btn.out-of-stock { background: var(--text-muted); cursor: not-allowed; }

.pc-stock { font-size: 0.72rem; display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.pc-stock.in-stock { color: var(--success); }
.pc-stock.low-stock { color: #f59e0b; }
.pc-stock.out-of-stock { color: var(--danger); }

/* ---------- Deal banner ---------- */
.deal-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  position: relative;
}
.deal-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(0,189,160,0.25), transparent 70%);
  border-radius: 50%;
}
.deal-text { flex: 1; color: #fff; position: relative; z-index: 1; }
.deal-text .deal-label {
  color: #f0c417;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.deal-text h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 10px; }
.deal-text p { opacity: 0.85; margin-bottom: 24px; }
.deal-img { flex: 1; position: relative; z-index: 1; }
.deal-img img { margin: 0 auto; max-height: 260px; object-fit: contain; }

/* ---------- Two-step specials ---------- */
.special-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.special-card {
  border-radius: var(--radius-lg);
  padding: 34px;
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.special-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.special-card p { opacity: 0.9; font-size: 0.85rem; margin-bottom: 20px; }
.special-card .sp-img { position: absolute; right: -20px; bottom: -20px; width: 200px; height: 200px; object-fit: contain; opacity: 0.5; }
.special-1 { background: linear-gradient(135deg, #00bda0, #00917c); }
.special-2 { background: linear-gradient(135deg, #232f3e, #0f3460); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.testi-card .testi-quote { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 18px; font-style: italic; }
.testi-card .testi-user { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.testi-name { font-weight: 600; font-size: 0.88rem; }
.testi-role { font-size: 0.74rem; color: var(--text-muted); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--accent); padding: 44px 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.newsletter-inner h2 { color: #fff; font-size: 1.6rem; }
.newsletter-inner p { color: rgba(255,255,255,0.9); font-size: 0.88rem; }
.newsletter-form { display: flex; background: #fff; border-radius: var(--radius-full); padding: 5px; flex: 1; max-width: 460px; }
.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 18px;
  font-size: 0.88rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #fff; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 18px; color: #fff; }
.footer-col .footer-desc { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 0.86rem; transition: all 0.2s; display: flex; align-items: center; gap: 8px; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-col ul li a i { font-size: 0.7rem; color: var(--accent); }

.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; color: rgba(255,255,255,0.7); font-size: 0.86rem; }
.footer-contact li i { color: var(--accent); font-size: 1.1rem; margin-top: 2px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all 0.25s;
}
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
}
.footer-payments { display: flex; align-items: center; gap: 8px; }
.footer-payments span {
  background: rgba(255,255,255,0.12);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ---------- Page header (banner) ---------- */
.page-hero {
  background: linear-gradient(135deg, #00a88e, #00bda0 60%, #0fd4b6);
  padding: 40px 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50%;
}
.page-hero h1 { font-size: 2rem; margin-bottom: 6px; }
.page-hero .breadcrumb { display: flex; justify-content: center; gap: 10px; font-size: 0.82rem; opacity: 0.9; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero .breadcrumb span { color: #fff; }
.page-hero .breadcrumb i { font-size: 0.7rem; margin: 0 2px; }

/* ---------- Shop page ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.sidebar { position: sticky; top: 150px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.sidebar-section { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.sidebar-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-section h4 { font-size: 0.95rem; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }

.filter-list li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  transition: background 0.2s;
}
.filter-list li a:hover { background: var(--accent-light); color: var(--accent-dark); }
.filter-list li a.active { background: var(--accent); color: #fff; }
.filter-list li a span { opacity: 0.7; font-size: 0.75rem; }

.filter-check { margin-bottom: 10px; font-size: 0.85rem; }
.filter-check label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.filter-check input { accent-color: var(--accent); width: 17px; height: 17px; }

.price-range { padding: 4px 0; }
.price-range input[type="range"] { width: 100%; accent-color: var(--accent); }
.price-labels { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 10px; }

.shop-topbar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.products-found { font-size: 0.86rem; color: var(--text-secondary); }
.products-found strong { color: var(--text-primary); }
.shop-sort { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; }
.shop-sort select {
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 9px 34px 9px 16px;
  font-size: 0.82rem;
  outline: none;
  background: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23616161' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.mobile-filter-toggle { display: none; }

/* ---------- Product detail ---------- */
.pdp-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.pdp-gallery { position: sticky; top: 150px; }
.pdp-main-img {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  position: relative;
}
.pdp-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pdp-main-img .pdp-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  z-index: 2;
}
.pdp-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pdp-thumb {
  width: 84px; height: 84px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  background: #fff;
  padding: 0;
  transition: all 0.2s;
}
.pdp-thumb.active, .pdp-thumb:hover { border-color: var(--accent); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info h1 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.pdp-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; font-size: 0.82rem; color: var(--text-secondary); }
.pdp-meta .divider { width: 1px; height: 14px; background: var(--border); }
.pdp-meta a { color: var(--accent); }
.pdp-price-row { display: flex; align-items: center; gap: 14px; margin: 16px 0; flex-wrap: wrap; }
.pdp-price-row .pdp-now { font-size: 1.7rem; font-weight: 700; color: var(--accent); }
.pdp-price-row .pdp-old { font-size: 1.05rem; color: var(--text-muted); text-decoration: line-through; }
.pdp-price-row .pdp-save {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}
.pdp-stock-line { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 0.85rem; }

.pdp-short-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 22px; line-height: 1.7; }

.pdp-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.qty-selector { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius-full); overflow: hidden; }
.qty-selector button {
  width: 42px; height: 44px;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  color: var(--text-primary);
  transition: background 0.2s;
}
.qty-selector button:hover { background: var(--accent-light); color: var(--accent-dark); }
.qty-selector input {
  width: 48px;
  border: none;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
  background: transparent;
}
.pdp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.pdp-meta-list { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 10px; }
.pdp-meta-list ul li { display: flex; gap: 10px; padding: 6px 0; font-size: 0.84rem; color: var(--text-secondary); }
.pdp-meta-list ul li i { color: var(--accent); margin-top: 3px; }

.pdp-tabs { margin-top: 60px; }
.pdp-tabs-nav { display: flex; gap: 8px; border-bottom: 2px solid var(--border); margin-bottom: 26px; flex-wrap: wrap; }
.pdp-tabs-nav button {
  border: none;
  background: none;
  padding: 12px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.pdp-tabs-nav button.active { color: var(--accent); border-bottom-color: var(--accent); }

.pdp-desc-content { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.8; }
.spec-table { width: 100%; border-collapse: collapse; max-width: 560px; }
.spec-table th, .spec-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); font-size: 0.88rem; text-align: left; }
.spec-table th { background: var(--bg-secondary); width: 200px; font-weight: 600; color: var(--text-primary); }
.spec-table td { color: var(--text-secondary); }

.review-item { background: var(--bg-secondary); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.review-item .rv-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.review-item .rv-user { display: flex; align-items: center; gap: 10px; }
.review-item .rv-text { font-size: 0.88rem; color: var(--text-secondary); }
.review-form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; margin-top: 28px; }
.star-input { display: flex; gap: 4px; }
.star-input i { font-size: 1.5rem; color: #e0e0e0; cursor: pointer; transition: color 0.15s; }
.star-input i.active { color: var(--star); }

/* ---------- Related slider ---------- */
.related-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 14px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 370px; gap: 30px; align-items: start; }
.cart-table { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.cart-table-head {
  display: grid;
  grid-template-columns: 3fr 1fr 1.2fr 1.2fr 0.4fr;
  gap: 16px;
  padding: 16px 22px;
  background: var(--bg-secondary);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.cart-item {
  display: grid;
  grid-template-columns: 3fr 1fr 1.2fr 1.2fr 0.4fr;
  gap: 16px;
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  align-items: center;
}
.cart-item .ci-product { display: flex; gap: 14px; align-items: center; }
.cart-item .ci-product img { width: 78px; height: 78px; object-fit: cover; border-radius: var(--radius); background: var(--bg-secondary); }
.cart-item .ci-pname { font-weight: 600; font-size: 0.88rem; margin-bottom: 4px; }
.cart-item .ci-pprice { font-size: 0.78rem; color: var(--text-muted); }
.cart-item .ci-price { font-weight: 600; }
.cart-item .ci-qty .qty-selector button { width: 32px; height: 36px; font-size: 1rem; }
.cart-item .ci-qty .qty-selector input { width: 38px; }
.cart-item .ci-subtotal { font-weight: 700; color: var(--accent); }
.cart-item .ci-remove {
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color 0.2s;
}
.cart-item .ci-remove:hover { color: var(--danger); }

.cart-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: sticky;
  top: 150px;
}
.cart-summary h3 { font-size: 1.1rem; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.88rem; color: var(--text-secondary); }
.summary-row .sr-discount { color: var(--success); }
.summary-row-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--border); margin-top: 12px; padding-top: 16px; font-size: 1.05rem; font-weight: 700; }
.summary-row-total span:last-child { color: var(--accent); font-size: 1.25rem; }
.cart-summary .btn { margin-top: 14px; }
.cart-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

.coupon-box { background: var(--bg-secondary); border-radius: var(--radius); padding: 16px; margin-top: 18px; }
.coupon-box h4 { font-size: 0.86rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.coupon-box form { display: flex; gap: 8px; }
.coupon-box input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 9px 16px;
  font-size: 0.82rem;
  outline: none;
  text-transform: uppercase;
}
.coupon-applied {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-top: 12px;
}

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: start; }
.checkout-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 22px;
}
.checkout-section h3 { font-size: 1.05rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.checkout-section h3 .step-num {
  width: 28px; height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
}

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 7px; }
.form-group label .req { color: var(--danger); }
.form-control {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,189,160,0.12); }
textarea.form-control { min-height: 90px; resize: vertical; }
.form-text { font-size: 0.74rem; color: var(--text-muted); margin-top: 5px; }

.payment-option {
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all 0.2s;
}
.payment-option:hover { border-color: var(--accent); }
.payment-option.selected { border-color: var(--accent); background: var(--accent-light); }
.payment-option input { accent-color: var(--accent); width: 18px; height: 18px; }
.payment-option i { font-size: 1.3rem; color: var(--accent); }
.payment-option .po-text h5 { font-size: 0.9rem; }
.payment-option .po-text p { font-size: 0.75rem; color: var(--text-muted); }

.checkout-summary-items { max-height: 320px; overflow-y: auto; margin-bottom: 16px; }
.co-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bg-secondary); }
.co-item img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; background: var(--bg-secondary); }
.co-item .co-name { flex: 1; font-size: 0.82rem; font-weight: 600; }
.co-item .co-qty { font-size: 0.75rem; color: var(--text-muted); }
.co-item .co-price { font-weight: 600; font-size: 0.85rem; }

/* ---------- Auth pages ---------- */
.auth-layout { max-width: 460px; margin: 0 auto; }
.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.auth-card h2 { text-align: center; margin-bottom: 6px; font-size: 1.5rem; }
.auth-card .auth-sub { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 26px; }
.auth-switch { text-align: center; font-size: 0.86rem; color: var(--text-secondary); margin-top: 20px; }
.auth-switch a { color: var(--accent); font-weight: 600; }
.password-wrapper { position: relative; }
.password-wrapper .toggle-pass {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  border: none; background: none;
  color: var(--text-muted);
}
.auth-extra { display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; margin: 16px 0; }
.auth-extra label { display: flex; align-items: center; gap: 8px; }

/* ---------- Account dashboard ---------- */
.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
.account-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.account-user {
  background: var(--accent);
  color: #fff;
  padding: 22px;
  display: flex; align-items: center; gap: 14px;
}
.account-user .au-avatar {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700;
}
.account-user h4 { font-size: 0.95rem; }
.account-user p { font-size: 0.74rem; opacity: 0.9; }
.account-menu li a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--bg-secondary);
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.account-menu li a:hover, .account-menu li a.active { background: var(--accent-light); color: var(--accent-dark); }
.account-menu li a i { width: 20px; text-align: center; font-size: 1rem; }

.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 26px; }
.dash-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex; align-items: center; gap: 16px;
}
.dash-card i {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  background: var(--accent-light); color: var(--accent);
}
.dash-card h4 { font-size: 1.3rem; }
.dash-card p { font-size: 0.78rem; color: var(--text-muted); }

/* ---------- Tables (account/orders) ---------- */
.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.data-table th { background: var(--bg-secondary); text-align: left; padding: 14px 18px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); }
.data-table td { padding: 15px 18px; border-top: 1px solid var(--border); font-size: 0.86rem; }
.data-table tr:hover td { background: var(--bg-secondary); }
.table-responsive { overflow-x: auto; }

.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: var(--radius-full); font-size: 0.74rem; font-weight: 600; }
.status-pending { background: #fef3c7; color: #b45309; }
.status-confirmed { background: #dbeafe; color: #1d4ed8; }
.status-processing { background: #ede9fe; color: #6d28d9; }
.status-shipped { background: #e0e7ff; color: #3730a3; }
.status-delivered { background: #dcfce7; color: #15803d; }
.status-cancelled { background: #fee2e2; color: #b91c1c; }
.status-returned { background: #f1f5f9; color: #475569; }

/* ---------- Toast notifications ---------- */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; }
.toast-message {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.86rem;
  font-weight: 500;
  animation: slideIn 0.3s ease;
  max-width: 360px;
  border-left: 4px solid var(--accent);
}
.toast-message.toast-error { border-left-color: var(--danger); }
.toast-message.toast-success { border-left-color: var(--success); }
.toast-message.toast-warning { border-left-color: var(--star); }
.toast-message i { font-size: 1.1rem; color: var(--success); }
.toast-error i { color: var(--danger); }
.toast-warning i { color: var(--star); }
.toast-message.hide { animation: slideOut 0.3s ease forwards; }
@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOut { to { transform: translateX(120%); opacity: 0; } }

/* Flash messages */
.flash-msg {
  position: fixed;
  top: 20px; right: 20px;
  z-index: 3000;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem;
  animation: slideIn 0.3s ease;
}

/* ---------- Cart drawer ---------- */
.cart-drawer {
  position: fixed;
  top: 0; right: -400px;
  width: 390px;
  height: 100vh;
  background: #fff;
  z-index: 1500;
  box-shadow: var(--shadow-md);
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-header h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.cart-drawer-close { border: none; background: none; font-size: 1.4rem; color: var(--text-secondary); }
.cart-drawer-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cd-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--bg-secondary); }
.cd-item img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg-secondary); }
.cd-item .cd-info { flex: 1; }
.cd-item .cd-name { font-size: 0.84rem; font-weight: 600; margin-bottom: 4px; }
.cd-item .cd-price { font-size: 0.85rem; color: var(--accent); font-weight: 700; }
.cd-item .cd-qty-controls { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.cd-item .cd-qty-controls button { border: 1px solid var(--border); background: #fff; width: 26px; height: 26px; border-radius: 50%; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; }
.cd-item .cd-remove { color: var(--text-muted); }
.cart-drawer-footer { border-top: 1px solid var(--border); padding: 20px 24px; }
.cart-drawer-footer .cd-subtotal { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 14px; }
.cart-drawer-footer .cd-subtotal span:last-child { font-weight: 700; }
.cart-drawer-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.cart-drawer-empty i { font-size: 3rem; color: var(--border); display: block; margin-bottom: 16px; }

/* ---------- Quick view modal ---------- */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.show { display: flex; }
.modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--bg-secondary);
  font-size: 1.1rem;
  color: var(--text-primary);
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--danger); color: #fff; }
.quickview-grid { display: grid; grid-template-columns: 1fr 1fr; }
.quickview-media { background: var(--bg-secondary); padding: 40px; display: flex; align-items: center; }
.quickview-media img { width: 100%; object-fit: contain; }
.quickview-info { padding: 36px; }

/* ---------- Order tracking ---------- */
.tracker { max-width: 640px; margin: 0 auto 30px; }
.tracker-steps { display: flex; justify-content: space-between; position: relative; }
.tracker-steps::before {
  content: '';
  position: absolute;
  top: 24px; left: 40px; right: 40px;
  height: 3px;
  background: var(--border);
}
.tracker-step { position: relative; z-index: 1; text-align: center; width: 90px; }
.tracker-step .ts-node {
  width: 50px; height: 50px;
  background: #fff;
  border: 3px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.tracker-step.done .ts-node { background: var(--accent); border-color: var(--accent); color: #fff; }
.tracker-step.current .ts-node { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 6px var(--accent-light); }
.tracker-step .ts-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; }
.tracker-step.done .ts-label, .tracker-step.current .ts-label { color: var(--text-primary); }
.tracker-step.done::before {
  content: '';
  position: absolute;
  top: 24px; left: -50%;
  width: 100%;
  height: 3px;
  background: var(--accent);
  z-index: 0;
}

/* ---------- Contact / about ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-info-card {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px;
}
.contact-info-card h3 { margin-bottom: 20px; font-size: 1.3rem; }
.contact-info-card ul li { display: flex; gap: 14px; margin-bottom: 18px; font-size: 0.88rem; }
.contact-info-card ul li i { font-size: 1.2rem; margin-top: 3px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-value {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
}
.about-value i {
  width: 64px; height: 64px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}
.about-value h3 { font-size: 1rem; margin-bottom: 8px; }
.about-value p { font-size: 0.84rem; color: var(--text-secondary); }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 3.5rem; color: var(--border); display: block; margin-bottom: 18px; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 20px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; margin-top: 40px; }
.pagination ul { display: flex; gap: 8px; }
.pagination a, .pagination .active a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active a { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Loading skeleton ---------- */
.skeleton { position: relative; overflow: hidden; background: #f0f0f0; }
.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 1.2s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-dark); color: #fff; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 90px; right: 24px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-md);
  z-index: 900;
  animation: floaty 3s ease-in-out infinite;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .top-header { flex-wrap: wrap; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .hero-inner { flex-direction: column; text-align: center; padding: 44px 0; }
  .hero-buttons { justify-content: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-strip .fs-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    display: none;
    margin-bottom: 20px;
  }
  .sidebar.show { display: block; }
  .mobile-filter-toggle { display: inline-flex; }
  .pdp-layout { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .special-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .main-nav { display: none; }
  .mobile-menu { display: block; }
  .hero-badge-1 { display: none; }
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-strip .fs-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .cart-table-head { display: none; }
  .cart-item { grid-template-columns: 1fr auto; gap: 12px; }
  .cart-item .ci-price, .cart-item .ci-qty, .cart-item .ci-subtotal { grid-column: auto; }
  .cart-item .ci-product { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .dash-cards { grid-template-columns: 1fr; }
  .quickview-grid { grid-template-columns: 1fr; }
  .quickview-media { padding: 20px; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { max-width: 100%; }
  .tracker-steps::before { left: 20px; right: 20px; }
  .tracker-step { width: 70px; }
  .deal-banner { flex-direction: column; text-align: center; padding: 36px 24px; }
  .header-action .ha-label { display: none; }
  .header-actions { gap: 0; }
  .cart-drawer { width: 100%; max-width: 390px; }
}

@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 14px; }
}

/* Utilities */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.fw-bold { font-weight: 700; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.notice { background: var(--bg-secondary); border-radius: var(--radius); padding: 16px 20px; font-size: 0.86rem; color: var(--text-secondary); border-left: 4px solid var(--accent); }
.alert-danger { background: #fee2e2; color: #b91c1c; border-radius: var(--radius); padding: 13px 18px; font-size: 0.85rem; margin-bottom: 16px; }
.alert-success { background: #dcfce7; color: #15803d; border-radius: var(--radius); padding: 13px 18px; font-size: 0.85rem; margin-bottom: 16px; font-weight: 500; }
.text-center { text-align: center; }