/* ============================================================
   ASLI ZAIQA — Premium UI Redesign
   #1a4a2e  deep forest green (primary)
   #c9a84c  rich gold (accent)
   #0f2d1a  dark bg
   #f5f0e8  warm cream (text)
   #1f5a36  surface
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --green:       #1a4a2e;
  --green-dark:  #0f2d1a;
  --green-mid:   #163d26;
  --green-light: #1f5a36;
  --green-hover: #245c37;
  --gold:        #c9a84c;
  --gold-light:  #e0c06a;
  --gold-pale:   #f0d98a;
  --cream:       #f5f0e8;
  --cream-dim:   #c8b99a;
  --border:      rgba(201,168,76,.22);
  --border-soft: rgba(201,168,76,.1);
  --shadow-sm:   0 2px 12px rgba(0,0,0,.3);
  --shadow-md:   0 6px 28px rgba(0,0,0,.4);
  --shadow-gold: 0 8px 32px rgba(201,168,76,.2);
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;
  --transition:  .25s cubic-bezier(.4,0,.2,1);
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--green-dark);
  color: var(--cream);
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.urdu { font-family: 'Noto Nastaliq Urdu', serif; direction: rtl; }

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--green-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(15,45,26,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2.5px solid var(--gold);
  box-shadow: 0 0 10px rgba(201,168,76,.45);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
}
.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-en {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .5px;
}
.nav-logo-ur {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: .75rem;
  color: var(--cream-dim);
  direction: rtl;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  flex: 1;
}

.nav-link {
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-size: .92rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-link:hover { background: var(--border-soft); color: var(--gold); }
.nav-link.active { color: var(--gold); background: var(--border-soft); }

/* Right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}

/* Cart icon */
.nav-cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  background: var(--border-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: background var(--transition), border-color var(--transition);
}
.nav-cart-btn:hover { background: var(--border); border-color: var(--gold); color: var(--gold); }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: var(--green-dark);
  font-size: .65rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--green-dark);
}

/* Auth buttons */
.btn-nav-login {
  padding: .45rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--cream-dim);
  font-size: .88rem;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-nav-login:hover { border-color: var(--gold); color: var(--gold); }

.btn-nav-register {
  padding: .45rem 1.1rem;
  background: var(--gold);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--green-dark);
  font-size: .88rem;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}
.btn-nav-register:hover { background: var(--gold-light); transform: translateY(-1px); }

/* User dropdown */
.nav-dropdown { position: relative; }
.nav-user-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .85rem;
  background: var(--border-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.nav-user-btn:hover { border-color: var(--gold); color: var(--gold); }
.nav-user-avatar {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--green-dark);
}
.nav-chevron { font-size: .7rem; transition: transform var(--transition); }
.nav-dropdown:hover .nav-chevron { transform: rotate(180deg); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 180px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li { list-style: none; }
.dropdown-link, .dropdown-logout {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1rem;
  color: var(--cream);
  font-size: .88rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: background var(--transition);
}
.dropdown-link:hover, .dropdown-logout:hover {
  background: var(--border-soft);
  color: var(--gold);
}
.dropdown-divider { height: 1px; background: var(--border); margin: .3rem 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  background: rgba(10,28,16,.97);
  backdrop-filter: blur(20px);
  z-index: 998;
  padding: 1.5rem;
  flex-direction: column;
  gap: .5rem;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--transition);
}
.mobile-nav-link:hover { background: var(--border-soft); color: var(--gold); }
.mobile-nav-divider { height: 1px; background: var(--border); margin: .5rem 0; }

/* ================================================================
   FLASH / TOAST
================================================================ */
.flash-container {
  position: fixed;
  top: 80px;
  right: 1.25rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-width: 360px;
  width: calc(100vw - 2.5rem);
}

.flash {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  animation: toastSlide .3s ease;
  backdrop-filter: blur(12px);
}
.flash-icon { font-size: 1.2rem; flex-shrink: 0; }
.flash-msg { flex: 1; }
.flash-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  opacity: .6;
  padding: 0 .2rem;
  color: inherit;
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.flash-close:hover { opacity: 1; }

.flash-success {
  background: rgba(26,74,46,.95);
  border: 1px solid rgba(76,175,80,.4);
  color: #a5d6a7;
}
.flash-error {
  background: rgba(60,20,20,.95);
  border: 1px solid rgba(244,67,54,.4);
  color: #ef9a9a;
}

@keyframes toastSlide {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Lato', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-align: center;
  line-height: 1.4;
}
.btn:active { transform: scale(.97); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--green-dark);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(201,168,76,.3);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--green-dark);
}

.btn-ghost {
  background: var(--border-soft);
  border-color: var(--border);
  color: var(--cream);
}
.btn-ghost:hover { background: var(--border); border-color: var(--gold); color: var(--gold); }

.btn-danger {
  background: rgba(220,53,69,.15);
  border-color: rgba(220,53,69,.4);
  color: #ff6b6b;
}
.btn-danger:hover { background: rgba(220,53,69,.3); border-color: #ff6b6b; }

.btn-lg { padding: .9rem 2.25rem; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: .4rem .9rem; font-size: .82rem; }
.btn-xs { padding: .25rem .6rem; font-size: .75rem; }
.btn-full { width: 100%; }
.btn-disabled { background: rgba(255,255,255,.08); border-color: transparent; color: rgba(255,255,255,.3); cursor: not-allowed; box-shadow: none; }
.btn-disabled:hover { background: rgba(255,255,255,.08); color: rgba(255,255,255,.3); border-color: transparent; transform: none; }

/* ================================================================
   LAYOUT HELPERS
================================================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 1.5rem; }
.section-sm { padding: 3rem 1.5rem; }

.section-head { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,.1);
  border: 1px solid var(--border);
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: .9rem;
}
.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: .6rem;
}
.section-sub { color: var(--cream-dim); font-size: 1rem; }
.gold-bar {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--green-dark);
}

/* Multi-layer background */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201,168,76,.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(26,74,46,.6) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(26,74,46,.4) 0%, transparent 60%);
}

/* Geometric grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Ornate corner decorations */
.hero-corner {
  position: absolute;
  width: 180px;
  height: 180px;
  border-color: rgba(201,168,76,.2);
  border-style: solid;
}
.hero-corner-tl { top: 30px; left: 30px; border-width: 2px 0 0 2px; border-radius: 4px 0 0 0; }
.hero-corner-tr { top: 30px; right: 30px; border-width: 2px 2px 0 0; border-radius: 0 4px 0 0; }
.hero-corner-bl { bottom: 30px; left: 30px; border-width: 0 0 2px 2px; border-radius: 0 0 0 4px; }
.hero-corner-br { bottom: 30px; right: 30px; border-width: 0 2px 2px 0; border-radius: 0 0 4px 0; }

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 400px; height: 400px;
  background: rgba(201,168,76,.06);
  top: -100px; right: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  background: rgba(26,74,46,.5);
  bottom: -80px; left: -80px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(201,168,76,.1);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: .4rem 1.1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  animation: fadeUp .8s ease both;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.7)} }

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.05;
  margin-bottom: .4rem;
  animation: fadeUp .8s .15s ease both;
  background: linear-gradient(135deg, var(--gold) 30%, var(--gold-pale) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 20px rgba(201,168,76,.3));
}

.hero-urdu {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: rgba(201,168,76,.75);
  direction: rtl;
  margin-bottom: 1.2rem;
  animation: fadeUp .8s .25s ease both;
}

.hero-tagline {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  color: var(--cream-dim);
  font-weight: 300;
  letter-spacing: 1.5px;
  margin-bottom: .5rem;
  animation: fadeUp .8s .35s ease both;
}

.hero-sub {
  font-size: .9rem;
  color: rgba(200,185,154,.55);
  margin-bottom: 2.5rem;
  animation: fadeUp .8s .45s ease both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp .8s .55s ease both;
  margin-bottom: 3rem;
}

/* Stat strip */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  animation: fadeUp .8s .65s ease both;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label { font-size: .72rem; color: var(--cream-dim); text-transform: uppercase; letter-spacing: 1px; margin-top: .2rem; }
.hero-stat-sep { width: 1px; background: var(--border); align-self: stretch; margin: .2rem 0; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  opacity: .45;
  animation: fadeUp 1s .8s ease both;
}
.hero-scroll span { font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 1.6s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   MARQUEE / TICKER
================================================================ */
.marquee-bar {
  background: var(--green-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: .65rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  animation: marqueeScroll 28s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.marquee-item .dot { color: var(--gold); font-size: 1rem; }
@keyframes marqueeScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ================================================================
   PRODUCT CARDS
================================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.75rem;
}
.products-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.product-card {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201,168,76,.5);
}

/* Image wrapper */
.pc-img {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--green-mid);
  flex-shrink: 0;
}
.pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .pc-img img { transform: scale(1.08); }

/* Placeholder */
.pc-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--green-mid), var(--green));
}
.pc-emoji { font-size: 4.5rem; line-height: 1; filter: drop-shadow(0 4px 12px rgba(0,0,0,.3)); }
.pc-cat-label { font-size: .72rem; color: var(--cream-dim); text-transform: uppercase; letter-spacing: 1px; }

/* Badges */
.pc-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.badge {
  padding: .25rem .6rem;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: inline-block;
}
.badge-featured { background: var(--gold); color: var(--green-dark); }
.badge-out { background: rgba(220,53,69,.85); color: #fff; backdrop-filter: blur(4px); }
.badge-low { background: rgba(255,152,0,.85); color: #fff; backdrop-filter: blur(4px); }
.badge-new { background: rgba(76,175,80,.85); color: #fff; }

/* Quick add hover overlay */
.pc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,28,16,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  backdrop-filter: blur(2px);
}
.product-card:hover .pc-overlay { opacity: 1; }
.pc-overlay-btns { display: flex; flex-direction: column; gap: .6rem; width: 75%; }

/* Body */
.pc-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }

.pc-category {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: .4rem;
}
.pc-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: .2rem;
  line-height: 1.3;
}
.pc-urdu {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: .92rem;
  color: rgba(201,168,76,.7);
  direction: rtl;
  margin-bottom: .5rem;
}
.pc-desc {
  font-size: .82rem;
  color: var(--cream-dim);
  line-height: 1.5;
  margin-bottom: .85rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: .75rem;
}
.pc-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
}
.pc-unit { font-size: .72rem; color: var(--cream-dim); font-weight: 400; }

/* ================================================================
   SECTION BACKGROUNDS
================================================================ */
.bg-surface { background: var(--green-mid); }
.bg-surface2 { background: var(--green); }
.bg-dark { background: var(--green-dark); }

/* ================================================================
   WHY SECTION
================================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.why-card:hover { transform: translateY(-5px); border-color: rgba(201,168,76,.4); box-shadow: var(--shadow-gold); }
.why-card:hover::before { opacity: 1; }
.why-icon-wrap {
  width: 70px;
  height: 70px;
  background: rgba(201,168,76,.1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
  transition: background var(--transition), transform var(--transition);
}
.why-card:hover .why-icon-wrap { background: rgba(201,168,76,.2); transform: scale(1.1); }
.why-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gold); margin-bottom: .6rem; }
.why-card p { color: var(--cream-dim); font-size: .88rem; line-height: 1.7; }

/* ================================================================
   TESTIMONIALS
================================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,.35); }
.testimonial-quote {
  font-size: 3.5rem;
  color: var(--gold);
  opacity: .2;
  line-height: .8;
  font-family: serif;
  margin-bottom: .5rem;
  display: block;
}
.testimonial-stars { color: var(--gold); margin-bottom: .75rem; letter-spacing: 2px; }
.testimonial-text {
  color: var(--cream-dim);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-size: .92rem;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  color: var(--green-dark);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .9rem; }
.testimonial-city { font-size: .78rem; color: var(--cream-dim); }

/* ================================================================
   CTA BANNER
================================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 50%, var(--green) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(201,168,76,.06) 0%, transparent 70%);
}
.cta-band h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold);
  margin-bottom: .75rem;
  position: relative;
}
.cta-band p { color: var(--cream-dim); margin-bottom: 1.75rem; font-size: 1rem; position: relative; }
.cta-band .btn { position: relative; }

/* ================================================================
   PAGE HERO (sub-pages)
================================================================ */
.page-hero {
  background: var(--green-mid);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(201,168,76,.05) 0%, transparent 60%);
}
.page-hero-content { position: relative; }
.page-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--gold);
  margin-bottom: .5rem;
}
.page-sub { color: var(--cream-dim); }
.breadcrumb { font-size: .8rem; color: var(--cream-dim); margin-bottom: .75rem; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 .4rem; opacity: .5; }

/* ================================================================
   CATEGORY FILTERS (Products page)
================================================================ */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
  background: var(--green-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .6rem;
}
.filter-pill {
  padding: .5rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: .82rem;
  font-weight: 700;
  color: var(--cream-dim);
  transition: all var(--transition);
  background: transparent;
}
.filter-pill:hover { color: var(--gold); border-color: var(--border); }
.filter-pill.active {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
  box-shadow: 0 2px 10px rgba(201,168,76,.3);
}

/* Search bar on products */
.products-toolbar {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.search-box {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: .65rem 1rem .65rem 2.75rem;
  background: var(--green-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-size: .9rem;
  transition: border-color var(--transition);
}
.search-box input:focus { outline: none; border-color: var(--gold); }
.search-box input::placeholder { color: var(--cream-dim); opacity: .5; }
.search-icon {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cream-dim);
  font-size: .9rem;
  pointer-events: none;
}
.products-count { font-size: .82rem; color: var(--cream-dim); white-space: nowrap; }

/* ================================================================
   PRODUCT DETAIL
================================================================ */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
  align-items: start;
}

.detail-img-wrap {
  position: sticky;
  top: 90px;
}
.detail-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--green-mid);
  aspect-ratio: 1;
}
.detail-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.detail-img-main:hover img { transform: scale(1.04); }
.detail-img-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--green-mid), var(--green));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  font-size: 6rem;
}

.detail-tag { margin-bottom: .75rem; }
.detail-name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: .25rem;
}
.detail-urdu {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 1.4rem;
  color: var(--gold);
  direction: rtl;
  margin-bottom: 1rem;
}
.detail-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: .4rem;
}
.detail-price small { font-size: .9rem; color: var(--cream-dim); font-weight: 400; }

.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .85rem;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.stock-pill-in { background: rgba(76,175,80,.15); border: 1px solid rgba(76,175,80,.3); color: #81c784; }
.stock-pill-out { background: rgba(244,67,54,.15); border: 1px solid rgba(244,67,54,.3); color: #ef9a9a; }

.detail-desc-box {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.25rem;
  color: var(--cream-dim);
  font-size: .9rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.qty-label { font-size: .88rem; font-weight: 600; color: var(--cream-dim); }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--green-mid);
}
.qty-btn {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
  transition: background var(--transition);
}
.qty-btn:hover { background: rgba(201,168,76,.15); }
.qty-input {
  width: 52px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--cream);
  font-size: 1rem;
  font-weight: 700;
}
.qty-input:focus { outline: none; }
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.detail-actions { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.info-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .75rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: .75rem;
  color: var(--cream-dim);
  background: rgba(255,255,255,.03);
}

/* ================================================================
   CART
================================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}

.cart-table-wrap {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cart-table-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr 40px;
  padding: .85rem 1.5rem;
  background: var(--green-mid);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cream-dim);
  gap: 1rem;
}
.cart-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr 40px;
  padding: 1.1rem 1.5rem;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid var(--border-soft);
  transition: background var(--transition);
}
.cart-row:hover { background: rgba(255,255,255,.02); }

.cart-product { display: flex; align-items: center; gap: 1rem; }
.cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-thumb-ph {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--green-mid);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.cart-product-name { font-weight: 700; font-size: .9rem; color: var(--cream); margin-bottom: .15rem; }
.cart-product-urdu { font-family: 'Noto Nastaliq Urdu', serif; font-size: .8rem; color: var(--gold); opacity: .7; direction: rtl; }
.cart-product-unit { font-size: .72rem; color: var(--cream-dim); }

.cart-price-cell { font-weight: 600; color: var(--cream-dim); font-size: .9rem; }
.cart-subtotal-cell { font-weight: 800; color: var(--gold); font-size: .95rem; }

/* inline qty stepper */
.cart-qty-form { display: inline-flex; }
.cart-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--green-mid);
}
.cart-stepper button {
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1rem;
  transition: background var(--transition);
}
.cart-stepper button:hover { background: rgba(201,168,76,.15); }
.cart-stepper span { min-width: 32px; text-align: center; font-weight: 700; font-size: .88rem; }

.cart-remove-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: none;
  border: 1px solid rgba(244,67,54,.3);
  color: rgba(244,67,54,.7);
  font-size: .85rem;
  transition: all var(--transition);
}
.cart-remove-btn:hover { background: rgba(244,67,54,.15); color: #ff6b6b; border-color: #ff6b6b; }

/* Summary card */
.cart-summary {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 90px;
}
.cart-summary-head {
  padding: 1.1rem 1.5rem;
  background: var(--green-mid);
  border-bottom: 1px solid var(--border);
  font-family: 'Cinzel Decorative', serif;
  font-size: .95rem;
  color: var(--gold);
}
.cart-summary-body { padding: 1.25rem 1.5rem; }
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 0;
  font-size: .9rem;
  border-bottom: 1px solid var(--border-soft);
}
.summary-line:last-child { border-bottom: none; }
.summary-total {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold);
  padding-top: .85rem;
  margin-top: .25rem;
  border-top: 2px solid var(--border);
}
.summary-free { color: #81c784; font-weight: 700; font-size: .82rem; }
.cod-badge {
  background: rgba(201,168,76,.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .65rem 1rem;
  text-align: center;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.cart-summary-foot { padding: 0 1.5rem 1.25rem; display: flex; flex-direction: column; gap: .6rem; }

/* ================================================================
   CHECKOUT
================================================================ */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
.form-card {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.form-card-head {
  padding: 1rem 1.5rem;
  background: var(--green-mid);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  color: var(--gold);
  font-size: .92rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.form-card-body { padding: 1.5rem; }
.checkout-summary {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 90px;
}
.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border-soft);
  gap: 1rem;
}
.checkout-item:last-child { border-bottom: none; }
.co-item-name { font-weight: 600; font-size: .88rem; }
.co-item-urdu { font-family: 'Noto Nastaliq Urdu', serif; font-size: .78rem; color: var(--gold); opacity: .7; direction: rtl; }
.co-item-qty { font-size: .75rem; color: var(--cream-dim); }
.co-item-price { font-weight: 700; white-space: nowrap; font-size: .9rem; color: var(--gold); }

.payment-option {
  display: flex;
  align-items: start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(201,168,76,.05);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
}
.payment-option-icon { font-size: 1.5rem; flex-shrink: 0; }
.payment-option strong { display: block; margin-bottom: .2rem; }
.payment-option p { font-size: .82rem; color: var(--cream-dim); margin: 0; }

/* ================================================================
   FORMS
================================================================ */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--cream-dim);
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--green-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-family: 'Lato', sans-serif;
  font-size: .92rem;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(201,168,76,.04);
  box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}
.form-control::placeholder { color: rgba(200,185,154,.35); }
.form-control.readonly { opacity: .5; cursor: not-allowed; }
textarea.form-control { resize: vertical; min-height: 90px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-divider {
  position: relative;
  text-align: center;
  padding: 1rem 0;
}
.form-divider::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}
.form-divider span {
  position: relative;
  background: var(--green-light);
  padding: 0 .75rem;
  font-size: .78rem;
  color: var(--cream-dim);
}

/* ================================================================
   AUTH PAGES
================================================================ */
.auth-wrap {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,.05) 0%, transparent 60%), var(--green-dark);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.auth-card-wide { max-width: 640px; }
.auth-card-head {
  padding: 2rem 2rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--green-mid);
}
.auth-logo { font-family: 'Cinzel Decorative', serif; font-size: 1.4rem; color: var(--gold); }
.auth-logo-ur { font-family: 'Noto Nastaliq Urdu', serif; font-size: .9rem; color: var(--cream-dim); direction: rtl; margin-top: .2rem; }
.auth-card-body { padding: 1.75rem 2rem; }
.auth-card-body h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .25rem; }
.auth-sub { color: var(--cream-dim); font-size: .88rem; margin-bottom: 1.75rem; }
.auth-switch { text-align: center; margin-top: 1.25rem; font-size: .88rem; color: var(--cream-dim); }

/* ================================================================
   ORDERS
================================================================ */
.orders-wrap { overflow-x: auto; }
.orders-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.orders-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cream-dim);
  background: var(--green-mid);
  border-bottom: 1px solid var(--border);
}
.orders-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-soft);
  font-size: .88rem;
}
.orders-table tr:last-child td { border-bottom: none; }
.orders-table tr:hover td { background: rgba(255,255,255,.02); }

/* ================================================================
   ORDER DETAIL / STATUS TIMELINE
================================================================ */
.od-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}
.detail-section {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.ds-head {
  padding: .9rem 1.5rem;
  background: var(--green-mid);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: .88rem;
  color: var(--gold);
}
.ds-body { padding: 1.25rem 1.5rem; }

.order-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.order-item-row:last-child { border-bottom: none; }
.oi-img { width: 52px; height: 52px; border-radius: var(--radius-sm); object-fit: cover; border: 1px solid var(--border); flex-shrink: 0; }
.oi-ph { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--green-mid); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.oi-info { flex: 1; }
.oi-name { font-weight: 700; font-size: .9rem; }
.oi-urdu { font-family: 'Noto Nastaliq Urdu', serif; font-size: .78rem; color: var(--gold); opacity: .7; direction: rtl; }
.oi-qty { font-size: .78rem; color: var(--cream-dim); margin-top: .15rem; }
.oi-price { text-align: right; }
.oi-unit-price { font-size: .75rem; color: var(--cream-dim); }
.oi-subtotal { font-weight: 800; color: var(--gold); font-size: .95rem; }
.order-total-row { display: flex; justify-content: space-between; padding: 1rem 0 0; font-weight: 800; color: var(--gold); font-size: 1.05rem; border-top: 2px solid var(--border); margin-top: .5rem; }

/* Timeline */
.status-timeline { display: flex; padding: .75rem 0; overflow-x: auto; gap: 0; }
.tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 80px;
  position: relative;
  gap: .4rem;
}
.tl-step::before {
  content: '';
  position: absolute;
  top: 10px;
  left: calc(-50% + 10px);
  right: calc(50% + 10px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.tl-step:first-child::before { display: none; }
.tl-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-mid);
  border: 2px solid var(--border);
  z-index: 1;
  transition: all var(--transition);
}
.tl-label { font-size: .68rem; color: var(--cream-dim); text-transform: capitalize; text-align: center; }
.tl-step.done .tl-dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 10px rgba(201,168,76,.4); }
.tl-step.done::before { background: var(--gold); }
.tl-step.done .tl-label { color: var(--gold); font-weight: 700; }
.tl-step.cancelled .tl-dot { background: #ef5350; border-color: #ef5350; }

/* ================================================================
   STATUS BADGES
================================================================ */
.status-badge {
  display: inline-block;
  padding: .28rem .7rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: capitalize;
}
.sb-pending   { background: rgba(255,152,0,.15);  color: #ffb74d; border: 1px solid rgba(255,152,0,.3); }
.sb-confirmed { background: rgba(33,150,243,.15); color: #64b5f6; border: 1px solid rgba(33,150,243,.3); }
.sb-processing{ background: rgba(156,39,176,.15); color: #ce93d8; border: 1px solid rgba(156,39,176,.3); }
.sb-shipped   { background: rgba(76,175,80,.15);  color: #81c784; border: 1px solid rgba(76,175,80,.3); }
.sb-delivered { background: rgba(76,175,80,.2);   color: #a5d6a7; border: 1px solid rgba(76,175,80,.4); font-weight: 800; }
.sb-cancelled { background: rgba(244,67,54,.15);  color: #ef9a9a; border: 1px solid rgba(244,67,54,.3); }

/* ================================================================
   CONTACT
================================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: flex-start;
}
.contact-info-item:last-child { border-bottom: none; }
.ci-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: .1rem; }
.ci-label { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--cream-dim); margin-bottom: .2rem; }
.ci-value { font-size: .92rem; color: var(--cream); }
.ci-value a { color: var(--cream); }
.ci-value a:hover { color: var(--gold); }
.contact-social { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }

/* ================================================================
   PROFILE
================================================================ */
.profile-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.profile-head {
  padding: 2rem;
  background: var(--green-mid);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.profile-avatar {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  flex-shrink: 0;
}
.profile-info h3 { font-size: 1.1rem; font-weight: 700; }
.profile-info p { font-size: .82rem; color: var(--cream-dim); }
.profile-body { padding: 1.75rem; }
.profile-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ================================================================
   EMPTY STATE
================================================================ */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
}
.empty-icon { font-size: 4.5rem; margin-bottom: 1.25rem; opacity: .6; }
.empty-state h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: .5rem; }
.empty-state p { color: var(--cream-dim); margin-bottom: 1.75rem; }

/* ================================================================
   ERROR PAGE
================================================================ */
.error-wrap {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}
.error-card {
  text-align: center;
  max-width: 480px;
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
}
.error-icon { font-size: 4rem; margin-bottom: 1rem; }
.error-card h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.error-card p { color: var(--cream-dim); margin-bottom: 1.75rem; }

/* ================================================================
   WHATSAPP FLOAT + CHAT
================================================================ */
.float-actions {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .65rem;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.float-btn:hover { transform: scale(1.1); }
.float-whatsapp { background: #25d366; color: #fff; }
.float-chat { background: var(--gold); color: var(--green-dark); }

/* Chat widget */
.chat-widget {
  position: fixed;
  bottom: 7.5rem;
  right: 1.5rem;
  width: 330px;
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  z-index: 901;
  overflow: hidden;
  display: none;
  flex-direction: column;
  max-height: 470px;
  animation: chatOpen .25s ease;
}
@keyframes chatOpen {
  from { opacity: 0; transform: translateY(20px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-widget-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.1rem;
  background: var(--green);
  border-bottom: 1px solid var(--border);
}
.chat-head-avatar {
  width: 34px;
  height: 34px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--green-dark);
  font-weight: 700;
  flex-shrink: 0;
}
.chat-head-info { flex: 1; }
.chat-head-title { font-weight: 700; font-size: .88rem; color: var(--cream); }
.chat-head-status { font-size: .7rem; color: #81c784; }
.chat-close-btn { background: none; border: none; color: var(--cream-dim); font-size: 1.2rem; padding: .2rem; }
.chat-close-btn:hover { color: var(--cream); }

.chat-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .5rem; min-height: 180px; }
.chat-typing { padding: .25rem 1rem .4rem; font-size: .75rem; color: var(--cream-dim); font-style: italic; }
.chat-foot {
  display: flex;
  gap: .5rem;
  padding: .75rem;
  border-top: 1px solid var(--border);
  background: var(--green-mid);
}
.chat-foot input {
  flex: 1;
  padding: .5rem .85rem;
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-size: .88rem;
  transition: border-color var(--transition);
}
.chat-foot input:focus { outline: none; border-color: var(--gold); }
.chat-foot button {
  padding: .5rem 1rem;
  background: var(--gold);
  color: var(--green-dark);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .82rem;
}
.chat-msg {
  max-width: 85%;
  padding: .55rem .85rem;
  border-radius: 12px;
  font-size: .86rem;
  word-break: break-word;
  line-height: 1.5;
}
.chat-msg.customer { align-self: flex-end; background: var(--gold); color: var(--green-dark); border-radius: 12px 12px 2px 12px; }
.chat-msg.admin { align-self: flex-start; background: var(--green-mid); border: 1px solid var(--border); border-radius: 12px 12px 12px 2px; }
.btn-chat-start { width:100%; padding:.55rem 1rem; background:var(--gold); color:var(--green-dark); border:none; border-radius:var(--radius-sm); font-weight:700; cursor:pointer; transition:background var(--transition); }
.btn-chat-start:hover { background:var(--gold-light); }

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
  background: var(--green-mid);
  border-top: 1px solid var(--border);
}
.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-brand-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: .3rem;
}
.footer-brand-ur {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: .9rem;
  color: rgba(201,168,76,.6);
  direction: rtl;
  margin-bottom: .75rem;
}
.footer-tagline { font-size: .82rem; color: var(--gold); opacity: .7; margin-bottom: .75rem; }
.footer-about { font-size: .85rem; color: var(--cream-dim); line-height: 1.7; }
.footer-col h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.footer-links a { font-size: .85rem; color: var(--cream-dim); transition: color var(--transition), padding var(--transition); display: block; }
.footer-links a:hover { color: var(--gold); padding-left: .3rem; }
.footer-contact-list { display: flex; flex-direction: column; gap: .6rem; }
.footer-contact-item { display: flex; gap: .6rem; font-size: .85rem; color: var(--cream-dim); align-items: flex-start; }
.footer-contact-item a { color: var(--cream-dim); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-social { display: flex; gap: .5rem; margin-top: 1.1rem; flex-wrap: wrap; }
.footer-social a {
  padding: .3rem .7rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .75rem;
  color: var(--cream-dim);
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.05); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; color: rgba(200,185,154,.45); }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
  .detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .detail-img-wrap { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .od-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
  .nav-inner { gap: 1rem; }

  .cart-table-head { display: none; }
  .cart-row { grid-template-columns: 1fr; gap: .5rem; }
  .cart-table-wrap { border-radius: var(--radius); }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-sep { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .chat-widget { width: calc(100vw - 2rem); right: 1rem; }
  .float-actions { right: 1rem; bottom: 1rem; }
}

/* ── Reviews ──────────────────────────────────────────── */
.reviews-section { margin-top: 3.5rem; }
.reviews-layout { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; }
@media (max-width: 860px) { .reviews-layout { grid-template-columns: 1fr; } }

.review-card { background: var(--green-mid); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.review-card-head { background: var(--border-soft); padding: .75rem 1.25rem; font-weight: 700; color: var(--gold); font-size: .9rem; }
.review-card .form-control { background: rgba(255,255,255,.06); border-color: var(--border); color: var(--cream); }
.review-card form { padding: 1.25rem; }
.review-empty { color: var(--cream-dim); padding: 1.5rem; text-align: center; background: var(--green-mid); border-radius: var(--radius); border: 1px solid var(--border); }

.star-picker { display: flex; gap: .2rem; margin-bottom: .2rem; cursor: pointer; }
.star-pick { font-size: 1.8rem; color: rgba(255,255,255,.15); transition: color .15s; }
.star-pick.active { color: #f5b301; }

.review-item { background: var(--green-mid); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin-bottom: .75rem; }
.review-item-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.review-avatar { width: 36px; height: 36px; background: var(--gold); color: var(--green-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; flex-shrink: 0; }
.review-name { font-weight: 700; color: var(--cream); font-size: .9rem; }
.review-date { font-size: .75rem; color: var(--cream-dim); }
.review-stars-sm { margin-left: auto; font-size: .9rem; }
.review-text { color: var(--cream-dim); font-size: .88rem; line-height: 1.55; }
.detail-rating-strip { display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem; background: var(--border-soft); border-radius: var(--radius-sm); margin-top: .75rem; }
.stars-display { font-size: 1rem; }

/* ── Wishlist button ──────────────────────────────────── */
.wishlist-btn { min-width: 48px; padding: 0; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.wishlist-btn.wishlisted { border-color: #e53e3e; background: rgba(229,57,53,.1); }

/* ── Lightbox / image zoom ────────────────────────────── */
.detail-img-main { position: relative; cursor: zoom-in; }
.zoom-hint { position: absolute; bottom: .5rem; right: .5rem; background: rgba(0,0,0,.55); color: #fff; font-size: .7rem; padding: .25rem .5rem; border-radius: 4px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.detail-img-main:hover .zoom-hint { opacity: 1; }

.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 10000; align-items: center; justify-content: center; cursor: zoom-out; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; box-shadow: 0 8px 40px rgba(0,0,0,.6); }
.lightbox-close { position: absolute; top: 1rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2.5rem; cursor: pointer; line-height: 1; opacity: .7; transition: opacity .2s; }
.lightbox-close:hover { opacity: 1; }

/* ── Filter controls ──────────────────────────────────── */
.filter-select { background: var(--green-mid); border: 1px solid var(--border); color: var(--cream); padding: .45rem .8rem; border-radius: var(--radius-sm); font-size: .85rem; cursor: pointer; }
.filter-select:focus { outline: none; border-color: var(--gold); }
.stock-toggle { display: flex; align-items: center; gap: .4rem; color: var(--cream-dim); font-size: .85rem; cursor: pointer; white-space: nowrap; }
.stock-toggle input { accent-color: var(--gold); width: 15px; height: 15px; }

/* ── Coupon input ─────────────────────────────────────── */
.form-control.readonly { opacity: .65; cursor: default; }

/* ── Order success banner ─────────────────────────────── */
.order-success-banner { background: linear-gradient(135deg, rgba(26,74,46,.8), rgba(15,45,26,.9)); border: 1px solid var(--gold); border-radius: var(--radius); padding: 2rem; text-align: center; margin-bottom: 2rem; }

/* ── WhatsApp button ──────────────────────────────────── */
.btn-whatsapp { background: #25d366; color: #fff; font-weight: 700; display: inline-flex; align-items: center; padding: .6rem 1.2rem; border-radius: var(--radius-sm); transition: background .2s; }
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; }

/* ── Summary discount line ────────────────────────────── */
.summary-line { display: flex; justify-content: space-between; align-items: center; padding: .35rem 0; font-size: .92rem; color: var(--cream-dim); }

/* ── WhatsApp order divider ───────────────────────────── */
.wa-order-divider { display:flex;align-items:center;gap:.75rem;margin:.9rem 0; }
.wa-order-divider span { color:var(--cream-dim);font-size:.78rem;white-space:nowrap; }
.wa-order-divider::before,.wa-order-divider::after { content:'';flex:1;height:1px;background:var(--border); }

/* ── Pagination ───────────────────────────────────────── */
.pagination { display:flex;justify-content:center;align-items:center;gap:.4rem;margin:2.5rem 0 1rem;flex-wrap:wrap; }
.page-btn { display:inline-flex;align-items:center;justify-content:center;min-width:2.2rem;height:2.2rem;padding:0 .7rem;border-radius:var(--radius-sm);border:1px solid var(--border);color:var(--cream-dim);font-size:.88rem;text-decoration:none;transition:all .2s; }
.page-btn:hover { border-color:var(--gold);color:var(--gold); }
.page-btn.active { background:var(--gold);color:var(--dark);border-color:var(--gold);font-weight:700; }
