/* ============================================================
   NAVRIVO - Global Stylesheet
   Brand: Premium Fashion | Plain. Premium. Perfect.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --primary:        #1E2A17;
  --primary-light:  #2D3F22;
  --primary-dark:   #141D0F;
  --secondary:      #F5F0E8;
  --secondary-dark: #E8E0D0;
  --accent:         #D4AF37;
  --accent-light:   #E5C85C;
  --accent-dark:    #B8962E;
  --white:          #ffffff;
  --foreground:     #1a1a1a;
  --muted:          #6b7280;
  --muted-light:    #9ca3af;
  --border:         #e5e7eb;
  --border-light:   #f3f4f6;
  --success:        #16a34a;
  --warning:        #f59e0b;
  --error:          #dc2626;
  --info:           #2563eb;
  --font-heading:   'Playfair Display', serif;
  --font-body:      'Inter', sans-serif;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.14);
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --transition:     all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); outline: none; }

/* ─── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--secondary); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ─── Container ─────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

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

/* ─── Utility ───────────────────────────────────────────── */
.text-primary   { color: var(--primary); }
.text-accent    { color: var(--accent); }
.text-muted     { color: var(--muted); }
.text-white     { color: var(--white); }
.bg-primary     { background: var(--primary); }
.bg-secondary   { background: var(--secondary); }
.bg-accent      { background: var(--accent); }
.bg-white       { background: var(--white); }
.flex           { display: flex; }
.flex-col       { flex-direction: column; }
.items-center   { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2  { gap: 8px; }
.gap-4  { gap: 16px; }
.gap-6  { gap: 24px; }
.gap-8  { gap: 32px; }
.grid   { display: grid; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeIn     { from { opacity:0; }                        to { opacity:1; } }
@keyframes slideUp    { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes slideDown  { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes slideInRight { from { transform:translateX(100%); } to { transform:translateX(0); } }
@keyframes ticker     { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }
@keyframes shimmer    { 0% { background-position:-200% 0; } 100% { background-position:200% 0; } }
@keyframes bounce-subtle { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-6px); } }
@keyframes spin       { to { transform:rotate(360deg); } }
@keyframes scaleIn    { from { transform:scale(0.9); opacity:0; } to { transform:scale(1); opacity:1; } }
@keyframes checkmark  { 0% { stroke-dashoffset:60; } 100% { stroke-dashoffset:0; } }
@keyframes confetti-fall {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.animate-fade-in    { animation: fadeIn 0.5s ease-out; }
.animate-slide-up   { animation: slideUp 0.6s ease-out; }
.animate-slide-down { animation: slideDown 0.3s ease-out; }
.animate-ticker     { animation: ticker 25s linear infinite; }
.animate-bounce     { animation: bounce-subtle 2s ease-in-out infinite; }
.animate-scale-in   { animation: scaleIn 0.3s ease-out; }
.animate-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ─── ANNOUNCEMENT BAR ──────────────────────────────────── */
.announcement-bar {
  background: var(--primary);
  color: var(--white);
  height: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.announcement-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}
.announcement-track:hover { animation-play-state: paused; }
.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0 40px;
}

/* ─── HEADER ─────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  cursor: pointer;
}
.logo-main {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.05em;
}
.logo-sub {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 1px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--accent); }
.nav-link.active::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.icon-btn {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--foreground);
  transition: var(--transition);
  position: relative;
  font-size: 18px;
}
.icon-btn:hover { background: var(--secondary); color: var(--primary); }
.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hamburger-btn { display: none; }
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger-btn { display: flex; }
}

/* ─── MOBILE MENU ───────────────────────────────────────── */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 300px;
  height: 100vh;
  background: var(--primary);
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu-logo { color: var(--white); font-family: var(--font-heading); font-size: 24px; font-weight: 800; }
.mobile-close-btn { color: var(--white); font-size: 24px; padding: 4px; }
.mobile-nav { padding: 24px 0; flex: 1; }
.mobile-nav-link {
  display: block;
  padding: 14px 24px;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s;
}
.mobile-nav-link:hover { background: rgba(255,255,255,0.1); color: var(--accent); }
.mobile-menu-footer {
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-social {
  display: flex;
  gap: 16px;
}
.mobile-social a {
  color: rgba(255,255,255,0.7);
  font-size: 20px;
  transition: color 0.2s;
}
.mobile-social a:hover { color: var(--accent); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 110px);
  background: var(--secondary);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: calc(100vh - 110px);
  position: relative;
  z-index: 1;
}
.hero-content { padding: 60px 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212,175,55,0.12);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  border: 1px solid rgba(212,175,55,0.3);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--accent); }
.hero-subtitle {
  font-size: 16px;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 16px 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.35);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.hero-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}
.hero-trust-icon {
  width: 36px; height: 36px;
  background: rgba(30,42,23,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.hero-image-wrap {
  position: relative;
  height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-image-bg {
  position: absolute;
  bottom: 0;
  width: 90%;
  height: 85%;
  background: linear-gradient(to top, var(--primary) 0%, var(--primary-light) 60%, transparent 100%);
  border-radius: 300px 300px 0 0;
  opacity: 0.08;
}
.hero-img-placeholder {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--white) 100%);
  border-radius: 300px 300px 0 0;
  overflow: hidden;
}
.hero-img-placeholder .placeholder-text {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--muted);
  opacity: 0.5;
}
.hero-floating-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}
.hero-floating-badge.top-left {
  top: 60px; left: -20px;
  animation: bounce-subtle 3s ease-in-out infinite;
}
.hero-floating-badge.bottom-right {
  bottom: 80px; right: -20px;
  animation: bounce-subtle 3s ease-in-out infinite 1.5s;
}
.hfb-icon { font-size: 24px; }
.hfb-text { font-size: 12px; }
.hfb-text strong { display: block; font-weight: 700; color: var(--primary); font-size: 14px; }
.hfb-text span { color: var(--muted); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-cta { justify-content: center; }
  .hero-trust { grid-template-columns: 1fr 1fr; justify-items: start; max-width: 360px; margin: 0 auto; }
  .hero-image-wrap { height: 350px; order: -1; }
  .hero-img-placeholder { height: 320px; }
  .hero::before { width: 100%; clip-path: none; }
}

/* ─── TRUST BAR ──────────────────────────────────────────── */
.trust-bar {
  background: var(--primary);
  padding: 16px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.trust-item:last-child { border-right: none; }
.trust-item .trust-icon { font-size: 16px; }
@media (max-width: 768px) {
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); width: 50%; padding: 10px 16px; }
  .trust-item:last-child { border-bottom: none; }
}

/* ─── SECTION TITLE ──────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.03em;
}
.section-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 400;
}
.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent-dark);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.view-all-link:hover { color: var(--accent); border-color: var(--accent); }

/* ─── CATEGORIES ─────────────────────────────────────────── */
.categories-section { padding: 80px 0; background: var(--white); }
.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.category-card {
  position: relative;
  height: 450px;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.category-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}
.category-card:hover .category-card-bg { transform: scale(1.05); }
.category-coord { background: linear-gradient(135deg, #c9d4c0 0%, #8fa882 100%); }
.category-dress  { background: linear-gradient(135deg, #d4b89a 0%, #a07a5a 100%); }
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,42,23,0.85) 0%, rgba(30,42,23,0.2) 60%, transparent 100%);
  z-index: 1;
}
.category-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px;
  z-index: 2;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}
.category-card:hover .category-content { transform: translateY(0); }
.category-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.category-name {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.category-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}
.category-card:hover .category-tagline { opacity: 1; }
.category-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary);
  padding: 10px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease 0.15s;
}
.category-btn:hover { background: var(--accent); color: var(--white); }
.category-card:hover .category-btn { opacity: 1; transform: translateY(0); }
.category-count {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--white);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 2px;
  z-index: 2;
}
@media (max-width: 600px) {
  .categories-grid { grid-template-columns: 1fr; }
  .category-card { height: 300px; }
  .category-name { font-size: 28px; }
}

/* ─── PRODUCT CARD ───────────────────────────────────────── */
.products-section { padding: 80px 0; background: var(--secondary); }
.products-section.bg-white { background: var(--white); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-img-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--secondary);
}
.product-img-wrap img,
.product-img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-placeholder,
.product-card:hover img { transform: scale(1.08); }
.product-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-heading);
}
.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
  z-index: 1;
}
.badge-bestseller { background: var(--accent); color: var(--white); }
.badge-new        { background: var(--primary); color: var(--white); }
.product-wishlist {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
  z-index: 1;
  transition: var(--transition);
  opacity: 0;
}
.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist:hover { background: var(--error); color: var(--white); }
.product-wishlist.active { opacity: 1; color: var(--error); }
.product-add-cart {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--primary);
  color: var(--white);
  padding: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.product-add-cart:hover { background: var(--accent); }
.product-card:hover .product-add-cart { transform: translateY(0); }
.product-info { padding: 16px; }
.product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.stars { color: var(--accent); font-size: 12px; }
.rating-count { font-size: 12px; color: var(--muted); }
.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.price-current { font-size: 18px; font-weight: 700; color: var(--primary); }
.price-mrp { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.price-discount { font-size: 12px; font-weight: 600; color: var(--success); }

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonials-section { padding: 80px 0; background: var(--secondary); }
.testimonials-track-wrap {
  overflow: hidden;
  margin: 0 -20px;
  padding: 0 20px;
}
.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  min-width: 320px;
  max-width: 320px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  flex-shrink: 0;
}
.testimonial-stars { color: var(--accent); font-size: 16px; margin-bottom: 12px; }
.testimonial-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--foreground);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-heading);
  flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 600; color: var(--foreground); }
.author-meta { font-size: 12px; color: var(--muted); }
.verified-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(22,163,74,0.1);
  color: var(--success);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  margin-top: 4px;
}

/* ─── WHY SHOP ───────────────────────────────────────────── */
.why-shop-section { padding: 80px 0; background: var(--white); }
.why-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.why-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(212,175,55,0.12);
  transform: translateY(-4px);
}
.why-icon {
  width: 64px; height: 64px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
  transition: var(--transition);
}
.why-card:hover .why-icon { background: var(--primary); }
.why-title { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.why-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ─── NEWSLETTER ─────────────────────────────────────────── */
.newsletter-section {
  background: var(--primary);
  padding: 60px 0;
  text-align: center;
}
.newsletter-section h2 {
  font-size: clamp(22px, 3vw, 36px);
  color: var(--white);
  margin-bottom: 8px;
}
.newsletter-section p { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.newsletter-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  gap: 0;
}
.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-size: 14px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-radius: 2px 0 0 2px;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-input:focus { background: rgba(255,255,255,0.18); }
.newsletter-btn {
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0 2px 2px 0;
  transition: background 0.2s;
}
.newsletter-btn:hover { background: var(--accent-dark); }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--secondary); border-top: 1px solid var(--border); }
.footer-top { padding: 60px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand .footer-logo { font-family: var(--font-heading); font-size: 26px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.footer-brand .footer-logo-sub { font-size: 10px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 38px; height: 38px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}
.social-link:hover { background: var(--accent); transform: translateY(-3px); }
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}
.footer-link {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--accent-dark); }
.footer-payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.payment-icon {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.footer-track { margin-bottom: 20px; }
.footer-track p { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.footer-track-form { display: flex; gap: 0; }
.footer-track-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-right: none;
  font-size: 13px;
  border-radius: 2px 0 0 2px;
  background: var(--white);
}
.footer-track-btn {
  background: var(--primary);
  color: var(--white);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 0 2px 2px 0;
  transition: background 0.2s;
}
.footer-track-btn:hover { background: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright { font-size: 12px; color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: var(--muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--accent-dark); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── MODALS ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 3000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
@media (min-width: 600px) { .modal-overlay { align-items: center; } }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 460px;
  padding: 32px 28px 40px;
  transform: translateY(40px);
  transition: transform 0.3s ease;
  position: relative;
}
@media (min-width: 600px) { .modal { border-radius: var(--radius-lg); transform: scale(0.9); } }
.modal-overlay.open .modal { transform: translateY(0); }
@media (min-width: 600px) { .modal-overlay.open .modal { transform: scale(1); } }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--muted);
  border-radius: 50%;
  transition: var(--transition);
}
.modal-close:hover { background: var(--secondary); color: var(--foreground); }
.modal-title {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 6px;
}
.modal-subtitle { font-size: 13px; color: var(--muted); margin-bottom: 28px; }

/* OTP Modal */
.phone-input-wrap {
  display: flex;
  border: 2px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}
.phone-input-wrap:focus-within { border-color: var(--primary); }
.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--secondary);
  border-right: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
}
.phone-input {
  flex: 1;
  padding: 14px 16px;
  border: none;
  font-size: 16px;
  background: transparent;
}
.otp-inputs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}
.otp-input {
  width: 52px; height: 58px;
  border: 2px solid var(--border);
  border-radius: 8px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  transition: border-color 0.2s;
}
.otp-input:focus { border-color: var(--primary); outline: none; }
.otp-input.filled { border-color: var(--accent); background: rgba(212,175,55,0.05); }
.modal-btn {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
}
.modal-btn:hover { background: var(--accent); }
.modal-btn:disabled { background: var(--muted-light); cursor: not-allowed; }
.otp-resend {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.otp-resend button { color: var(--accent-dark); font-weight: 600; text-decoration: underline; }
.modal-step { display: none; }
.modal-step.active { display: block; }

/* ─── SEARCH MODAL ───────────────────────────────────────── */
.search-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.search-modal-overlay.open { opacity: 1; visibility: visible; }
.search-modal {
  background: var(--white);
  width: 100%;
  max-height: 500px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}
.search-modal-overlay.open .search-modal { transform: translateY(0); }
.search-bar-wrap {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.search-bar-icon { font-size: 20px; color: var(--muted); }
.search-bar-input {
  flex: 1;
  font-size: 18px;
  border: none;
  outline: none;
  color: var(--foreground);
}
.search-results { padding: 20px; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}
.search-result-item:hover { background: var(--secondary); }
.search-result-img {
  width: 48px; height: 48px;
  background: var(--secondary);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.search-result-info { flex: 1; }
.search-result-name { font-size: 14px; font-weight: 600; color: var(--foreground); }
.search-result-price { font-size: 13px; color: var(--accent-dark); font-weight: 600; }

/* ─── CART SIDEBAR ───────────────────────────────────────── */
.cart-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.cart-sidebar-overlay.open { opacity: 1; visibility: visible; }
.cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-sidebar-title { font-size: 18px; font-weight: 700; color: var(--primary); font-family: var(--font-heading); }
.cart-sidebar-close { font-size: 22px; color: var(--muted); padding: 4px; transition: color 0.2s; }
.cart-sidebar-close:hover { color: var(--error); }
.cart-sidebar-items { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.cart-item-img {
  width: 72px; height: 80px;
  background: var(--secondary);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  overflow: hidden;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--foreground); }
.cart-item-meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.cart-item-qty-wrap { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--foreground);
  transition: var(--transition);
}
.qty-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.qty-num { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-price { font-size: 15px; font-weight: 700; color: var(--primary); }
.cart-item-remove {
  font-size: 18px;
  color: var(--muted-light);
  padding: 4px;
  transition: color 0.2s;
}
.cart-item-remove:hover { color: var(--error); }
.cart-sidebar-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-coupon { display: flex; gap: 8px; margin-bottom: 16px; }
.cart-coupon-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
}
.cart-coupon-btn {
  background: var(--secondary-dark);
  color: var(--primary);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
}
.cart-coupon-btn:hover { background: var(--primary); color: var(--white); }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.cart-summary-row.total { font-size: 16px; font-weight: 700; color: var(--primary); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; }
.checkout-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-top: 16px;
  transition: var(--transition);
}
.checkout-btn:hover { background: var(--accent); }
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.cart-empty-icon { font-size: 60px; margin-bottom: 16px; opacity: 0.4; }
.cart-empty p { font-size: 15px; margin-bottom: 20px; }

/* ─── TOAST ──────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 20px; right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  max-width: 360px;
  animation: slideInRight 0.3s ease, fadeIn 0.3s ease;
  pointer-events: all;
  border-left: 4px solid var(--success);
}
.toast.error  { border-left-color: var(--error); }
.toast.warning { border-left-color: var(--warning); }
.toast.info   { border-left-color: var(--info); }
.toast-icon { font-size: 20px; flex-shrink: 0; }
.toast-msg { font-size: 13px; color: var(--foreground); flex: 1; }
.toast-close { font-size: 16px; color: var(--muted); padding: 2px; cursor: pointer; }
.toast-close:hover { color: var(--error); }

/* ─── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--primary);
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--white);
  margin-bottom: 10px;
}
.page-hero p { font-size: 15px; color: rgba(255,255,255,0.7); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  justify-content: center;
  margin-top: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--white); }

/* ─── FORMS ──────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--foreground); margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--foreground);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--primary); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-error { font-size: 12px; color: var(--error); margin-top: 4px; }
.address-type-btns { display: flex; gap: 10px; }
.type-btn {
  flex: 1;
  padding: 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: var(--transition);
}
.type-btn.active, .type-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(30,42,23,0.05); }

/* ─── CHECKOUT STEPS ─────────────────────────────────────── */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  gap: 0;
}
.step-item {
  display: flex;
  align-items: center;
}
.step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--border);
  color: var(--muted);
  background: var(--white);
  flex-shrink: 0;
  transition: var(--transition);
}
.step-item.active .step-circle { border-color: var(--primary); background: var(--primary); color: var(--white); }
.step-item.done .step-circle { border-color: var(--success); background: var(--success); color: var(--white); }
.step-label { font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 4px; text-align: center; }
.step-item.active .step-label { color: var(--primary); font-weight: 700; }
.step-item.done .step-label { color: var(--success); }
.step-col { display: flex; flex-direction: column; align-items: center; }
.step-line { width: 60px; height: 2px; background: var(--border); margin: 0 4px; }
.step-line.done { background: var(--success); }
@media (max-width: 480px) {
  .step-label { display: none; }
  .step-line { width: 32px; }
}

/* ─── ORDER SUCCESS ──────────────────────────────────────── */
.success-section { padding: 80px 0; background: var(--secondary); min-height: 100vh; }
.success-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; max-width: 720px; margin: 0 auto; }
.success-header { background: var(--success); padding: 40px 32px; text-align: center; color: var(--white); }
.success-check { width: 80px; height: 80px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 40px; }
.success-header h1 { font-size: 28px; margin-bottom: 4px; }
.success-body { padding: 32px; }
.success-order-id { background: var(--secondary); border-radius: var(--radius-sm); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.success-order-id .order-id-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.success-order-id .order-id-value { font-size: 20px; font-weight: 800; color: var(--primary); font-family: var(--font-heading); }
.success-timeline { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 32px; }
.success-step { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.success-step-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.success-step-icon.done { background: rgba(22,163,74,0.12); }
.success-step-icon.pending { background: var(--secondary); opacity: 0.5; }
.success-step-label { font-size: 11px; font-weight: 600; text-align: center; max-width: 70px; color: var(--muted); }
.success-step-label.done { color: var(--success); }
.success-step-line { width: 50px; height: 2px; background: var(--border); margin-top: -24px; }
.success-step-line.done { background: var(--success); }
.success-section-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 16px; }
.success-product-row { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.success-product-img { width: 60px; height: 68px; background: var(--secondary); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.success-price-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.success-price-row.total { font-size: 16px; font-weight: 700; color: var(--primary); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; }
.success-saved { background: rgba(22,163,74,0.08); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px; color: var(--success); font-weight: 600; text-align: center; margin-top: 8px; }
.help-row { display: flex; gap: 12px; flex-wrap: wrap; }
.help-card { flex: 1; min-width: 140px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; text-align: center; transition: var(--transition); }
.help-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.help-card-icon { font-size: 24px; margin-bottom: 8px; }
.help-card-title { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 2px; }
.help-card-sub { font-size: 11px; color: var(--muted); }

/* ─── TRACK ORDER ─────────────────────────────────────────── */
.track-section { padding: 80px 0; min-height: 80vh; }
.track-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 40px; max-width: 600px; margin: 0 auto 40px; }
.track-card h2 { font-size: 24px; color: var(--primary); margin-bottom: 6px; }
.track-card p { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.track-form { display: flex; gap: 12px; flex-wrap: wrap; }
.track-input { flex: 1; min-width: 200px; padding: 14px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; transition: border-color 0.2s; }
.track-input:focus { border-color: var(--primary); }
.track-btn { padding: 14px 28px; background: var(--primary); color: var(--white); font-size: 14px; font-weight: 700; border-radius: var(--radius-sm); transition: var(--transition); }
.track-btn:hover { background: var(--accent); }
.order-timeline { position: relative; padding-left: 32px; }
.order-timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -26px; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 3px solid var(--border);
  background: var(--white);
  transition: var(--transition);
}
.timeline-item.done .timeline-dot { border-color: var(--success); background: var(--success); }
.timeline-item.active .timeline-dot { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 0 4px rgba(30,42,23,0.15); }
.timeline-item.pending .timeline-dot { opacity: 0.4; }
.timeline-item-title { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.timeline-item.pending .timeline-item-title { color: var(--muted); }
.timeline-item-date { font-size: 12px; color: var(--muted); }

/* ─── ADMIN ──────────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}
.admin-main { flex: 1; margin-left: 260px; background: #f4f6f8; min-height: 100vh; }
.admin-logo { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-logo-main { font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: var(--white); }
.admin-logo-sub { font-size: 9px; letter-spacing: 0.2em; color: rgba(255,255,255,0.5); text-transform: uppercase; }
.admin-nav { padding: 16px 0; flex: 1; }
.admin-nav-section { padding: 12px 20px 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.15em; color: rgba(255,255,255,0.35); text-transform: uppercase; }
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.75);
  font-size: 13.5px;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-link:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.admin-nav-link.active { background: rgba(255,255,255,0.12); color: var(--white); border-left-color: var(--accent); }
.admin-nav-icon { font-size: 18px; width: 22px; text-align: center; }
.admin-nav-badge { margin-left: auto; background: var(--error); color: var(--white); font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 20px; }
.admin-sidebar-footer { padding: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar-footer p { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.admin-quick-search { display: flex; gap: 8px; }
.admin-search-input { flex: 1; padding: 8px 12px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 4px; color: var(--white); font-size: 12px; }
.admin-search-input::placeholder { color: rgba(255,255,255,0.4); }

.admin-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
}
.admin-header-title { font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: var(--primary); }
.admin-header-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.admin-header-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.admin-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.admin-badge.green { background: rgba(22,163,74,0.1); color: var(--success); }
.admin-badge.blue  { background: rgba(37,99,235,0.1); color: var(--info); }
.admin-badge.gold  { background: rgba(212,175,55,0.12); color: var(--accent-dark); }
.admin-badge.red   { background: rgba(220,38,38,0.1); color: var(--error); }

.admin-content { padding: 32px; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  cursor: pointer;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.stat-icon.blue    { background: rgba(37,99,235,0.1); }
.stat-icon.green   { background: rgba(22,163,74,0.1); }
.stat-icon.orange  { background: rgba(245,158,11,0.1); }
.stat-icon.teal    { background: rgba(20,184,166,0.1); }
.stat-icon.purple  { background: rgba(124,58,237,0.1); }
.stat-icon.red     { background: rgba(220,38,38,0.1); }
.stat-num { font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 2px; font-family: var(--font-heading); }
.stat-label { font-size: 12px; color: var(--muted); font-weight: 500; }

.admin-section { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: 24px; overflow: hidden; }
.admin-section-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.admin-section-title { font-size: 15px; font-weight: 700; color: var(--primary); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: var(--secondary); padding: 12px 16px; text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--border-light); font-size: 13.5px; color: var(--foreground); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--secondary); }
.admin-table .order-id { font-weight: 700; color: var(--primary); }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.status-pending  { background: rgba(245,158,11,0.12); color: #b45309; }
.status-packed   { background: rgba(37,99,235,0.1);   color: var(--info); }
.status-dispatched { background: rgba(249,115,22,0.1); color: #ea580c; }
.status-delivered  { background: rgba(22,163,74,0.1);  color: var(--success); }
.status-paid     { background: rgba(22,163,74,0.1);  color: var(--success); }
.status-failed   { background: rgba(220,38,38,0.1);  color: var(--error); }

.admin-action-flow { padding: 24px; }
.action-flow-steps { display: flex; flex-direction: column; gap: 12px; }
.action-step { display: flex; align-items: flex-start; gap: 14px; }
.action-step-num { width: 28px; height: 28px; background: var(--accent); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.action-step-text { font-size: 13px; color: var(--foreground); line-height: 1.5; }
.action-step-text strong { color: var(--primary); }

@media (max-width: 768px) {
  .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-content { padding: 16px; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
}

/* ─── MISC ───────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 24px 0; }
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.p-4  { padding: 16px; }
.p-6  { padding: 24px; }
.p-8  { padding: 32px; }
.w-full { width: 100%; }
.rounded { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.shadow { box-shadow: var(--shadow-md); }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
