:root {
  --primary-green: #2D3A1E;
  --primary-green-light: #3A4D2A;
  --primary-green-dark: #1F2915;
  --accent-gold: #C9A86C;
  --accent-gold-light: #D4BA85;
  --accent-gold-dark: #A8894F;
  --white: #FFFFFF;
  --cream: #F8F5EF;
  --cream-dark: #EDE8DF;
  --text-dark: #1A1A1A;
  --text-muted: #6B6B6B;
  --success: #28A745;
  --danger: #DC3545;
  --warning: #FFC107;
  --shadow: 0 4px 20px rgba(45, 58, 30, 0.12);
  --shadow-lg: 0 10px 40px rgba(45, 58, 30, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 5%;
  background: rgba(45, 58, 30, 0.95);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
.navbar.scrolled { padding: 0.5rem 5%; box-shadow: var(--shadow-lg); }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo img { height: 44px; width: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent-gold); }
.nav-logo span { font-size: 1.25rem; font-weight: 700; color: var(--white); letter-spacing: 0.5px; }
.nav-logo span small { display: block; font-size: 0.6rem; color: var(--accent-gold); letter-spacing: 3px; text-transform: uppercase; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-gold); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  width: 0; height: 2px;
  background: var(--accent-gold);
  transition: var(--transition);
  transform: translateX(-50%);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-actions .icon-btn {
  position: relative;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
}
.nav-actions .icon-btn:hover { color: var(--accent-gold); transform: scale(1.1); }
.cart-badge {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--accent-gold);
  color: var(--primary-green-dark);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: var(--primary-green-dark);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,108,0.4); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--accent-gold);
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-secondary:hover { background: var(--accent-gold); color: var(--primary-green-dark); }
.btn-outline {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-outline:hover { background: var(--primary-green); color: var(--white); }
.btn-small { padding: 0.4rem 1rem; font-size: 0.85rem; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* ========== SCROLL ANIMATIONS ========== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
.scroll-reveal-left { opacity: 0; transform: translateX(-60px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.scroll-reveal-left.visible { opacity: 1; transform: translateX(0); }
.scroll-reveal-right { opacity: 0; transform: translateX(60px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.scroll-reveal-right.visible { opacity: 1; transform: translateX(0); }
.scroll-reveal-scale { opacity: 0; transform: scale(0.85); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.scroll-reveal-scale.visible { opacity: 1; transform: scale(1); }
.scroll-reveal-delay-1 { transition-delay: 0.1s; }
.scroll-reveal-delay-2 { transition-delay: 0.2s; }
.scroll-reveal-delay-3 { transition-delay: 0.3s; }
.scroll-reveal-delay-4 { transition-delay: 0.4s; }

/* ========== HERO SECTIONS ========== */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 5% 4rem;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 25 L55 30 L35 35 L30 55 L25 35 L5 30 L25 25 Z' fill='none' stroke='%23C9A86C' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.page-hero .hero-content { position: relative; z-index: 2; max-width: 700px; }
.page-hero h1 { font-size: 3rem; color: var(--white); margin-bottom: 0.75rem; font-weight: 800; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.hero-breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem; color: var(--accent-gold); font-size: 0.9rem; }
.hero-breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.hero-breadcrumb a:hover { color: var(--accent-gold); }

/* ========== FOOTER ========== */
.footer {
  background: var(--primary-green-dark);
  color: rgba(255,255,255,0.8);
  padding: 1.5rem 5% 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 60px; border-radius: 50%; border: 2px solid var(--accent-gold); margin-bottom: 1rem; }
.footer-brand h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-socials { display: flex; gap: 1rem; margin-top: 1.25rem; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--accent-gold); color: var(--primary-green-dark); transform: translateY(-3px); }
.footer h4 { color: var(--accent-gold); font-size: 1rem; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent-gold); padding-left: 5px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.9rem; }
.footer-contact li i { color: var(--accent-gold); margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
--radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 5%;
  background: rgba(45, 58, 30, 0.95);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
.navbar.scrolled { padding: 0.5rem 5%; box-shadow: var(--shadow-lg); }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo img { height: 44px; width: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent-gold); }
.nav-logo span { font-size: 1.25rem; font-weight: 700; color: var(--white); letter-spacing: 0.5px; }
.nav-logo span small { display: block; font-size: 0.6rem; color: var(--accent-gold); letter-spacing: 3px; text-transform: uppercase; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-gold); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  width: 0; height: 2px;
  background: var(--accent-gold);
  transition: var(--transition);
  transform: translateX(-50%);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-actions .icon-btn {
  position: relative;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
}
.nav-actions .icon-btn:hover { color: var(--accent-gold); transform: scale(1.1); }
.cart-badge {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--accent-gold);
  color: var(--primary-green-dark);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: var(--primary-green-dark);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,108,0.4); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--accent-gold);
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-secondary:hover { background: var(--accent-gold); color: var(--primary-green-dark); }
.btn-outline {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-outline:hover { background: var(--primary-green); color: var(--white); }
.btn-small { padding: 0.4rem 1rem; font-size: 0.85rem; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* ========== SCROLL ANIMATIONS ========== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
.scroll-reveal-left { opacity: 0; transform: translateX(-60px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.scroll-reveal-left.visible { opacity: 1; transform: translateX(0); }
.scroll-reveal-right { opacity: 0; transform: translateX(60px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.scroll-reveal-right.visible { opacity: 1; transform: translateX(0); }
.scroll-reveal-scale { opacity: 0; transform: scale(0.85); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.scroll-reveal-scale.visible { opacity: 1; transform: scale(1); }
.scroll-reveal-delay-1 { transition-delay: 0.1s; }
.scroll-reveal-delay-2 { transition-delay: 0.2s; }
.scroll-reveal-delay-3 { transition-delay: 0.3s; }
.scroll-reveal-delay-4 { transition-delay: 0.4s; }

/* ========== HERO SECTIONS ========== */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 5% 4rem;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 25 L55 30 L35 35 L30 55 L25 35 L5 30 L25 25 Z' fill='none' stroke='%23C9A86C' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.page-hero .hero-content { position: relative; z-index: 2; max-width: 700px; }
.page-hero h1 { font-size: 3rem; color: var(--white); margin-bottom: 0.75rem; font-weight: 800; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.hero-breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem; color: var(--accent-gold); font-size: 0.9rem; }
.hero-breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.hero-breadcrumb a:hover { color: var(--accent-gold); }

/* ========== FOOTER ========== */
.footer {
  background: var(--primary-green-dark);
  color: rgba(255,255,255,0.8);
  padding: 1.5rem 5% 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 60px; border-radius: 50%; border: 2px solid var(--accent-gold); margin-bottom: 1rem; }
.footer-brand h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-socials { display: flex; gap: 1rem; margin-top: 1.25rem; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--accent-gold); color: var(--primary-green-dark); transform: translateY(-3px); }
.footer h4 { color: var(--accent-gold); font-size: 1rem; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent-gold); padding-left: 5px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.9rem; }
.footer-contact li i { color: var(--accent-gold); margin-top: 3px; }
.footer-contact a { color: inherit; text-decoration: none; transition: var(--transition); }
.footer-contact a:hover { color: var(--accent-gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ========== PRODUCT CARDS ========== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card .product-img {
  height: 220px;
  background: linear-gradient(135deg, var(--cream), var(--cream-dark));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card .product-img img { width: 70%; height: 70%; object-fit: contain; transition: var(--transition); }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent-gold);
  color: var(--primary-green-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
}
.product-wishlist {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.product-wishlist:hover, .product-wishlist.active { color: var(--danger); background: #FFF0F0; }
.product-info { padding: 1.25rem; }
.product-info .category { font-size: 0.75rem; color: var(--accent-gold-dark); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.product-info h3 { font-size: 1rem; margin: 0.4rem 0; color: var(--text-dark); line-height: 1.4; }
.product-info .rating { color: var(--warning); font-size: 0.85rem; margin-bottom: 0.5rem; }
.product-info .rating span { color: var(--text-muted); font-size: 0.8rem; margin-left: 0.3rem; }
.product-price { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.product-price .current { font-size: 1.15rem; font-weight: 700; color: var(--primary-green); }
.product-price .original { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; }
.product-actions { display: flex; gap: 0.5rem; }
.product-actions .btn-add {
  flex: 1;
  background: var(--primary-green);
  color: var(--white);
  border: none;
  padding: 0.65rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.product-actions .btn-add:hover { background: var(--primary-green-light); }
.product-actions .btn-view {
  height: 42px;
  background: var(--cream);
  border: none;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0 1rem;
  cursor: pointer;
  color: var(--primary-green);
  transition: var(--transition);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}
.product-actions .btn-view:hover { background: var(--accent-gold); color: var(--primary-green-dark); }
.product-actions .btn-view.icon-only { width: 42px; padding: 0; }

/* ========== PRODUCT CARD LINK (whole card clickable) ========== */
.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-card-link:hover .product-card {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.product-card-link:focus-visible .product-card {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* ========== SECTIONS ========== */
.section { padding: 5rem 5%; }
#products { padding-bottom: 0 !important; }
#products > .section-header { margin-bottom: 0 !important; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 3rem; }
.section-header .subtitle { color: var(--accent-gold-dark); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; }
.section-header h2 { font-size: 2.4rem; color: var(--primary-green); margin: 0.5rem 0; font-weight: 800; }
.section-header p { color: var(--text-muted); font-size: 1rem; }

/* ========== USER NAV DROPDOWN ========== */
.auth-area { position: relative; display: flex; align-items: center; }
.auth-area .user-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-green-dark);
  font-weight: 700; font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  transition: var(--transition);
  user-select: none;
}
.auth-area .user-avatar:hover { transform: scale(1.06); border-color: var(--white); box-shadow: 0 4px 12px rgba(201,168,108,0.45); }
.user-dropdown {
  position: absolute; top: calc(100% + 0.6rem); right: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 0.5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1100;
  border: 1px solid var(--cream-dark);
}
.user-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown .ud-header {
  padding: 0.85rem 1rem 0.75rem;
  border-bottom: 1px solid var(--cream-dark);
  display: flex; flex-direction: column; gap: 0.2rem;
}
.user-dropdown .ud-header strong { color: var(--primary-green); font-size: 0.95rem; font-weight: 700; }
.user-dropdown .ud-header small { color: var(--text-muted); font-size: 0.76rem; word-break: break-all; }
.user-dropdown .ud-divider { height: 1px; background: var(--cream-dark); margin: 0.4rem 0; }
.user-dropdown .ud-item {
  display: flex; align-items: center; gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 1rem;
  background: transparent; border: none;
  font-family: inherit; font-size: 0.9rem;
  color: var(--text-dark);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}
.user-dropdown .ud-item:hover { background: var(--cream); }
.user-dropdown .ud-item i { color: var(--accent-gold-dark); width: 18px; text-align: center; font-size: 0.95rem; }
.user-dropdown .ud-signout:hover { background: rgba(220,53,69,0.08); }

/* ========== USER NAV DROPDOWN — caret, focus, signout polish ========== */
/* Tiny caret next to avatar that rotates 180° when the dropdown is open,
   signaling to first-time users that the circle has a menu attached. */
.auth-area .user-caret {
  color: rgba(255,255,255,0.85);
  font-size: 0.7rem;
  margin-left: 0.25rem;
  transition: transform 0.18s ease;
}
.auth-area.open .user-caret { transform: rotate(180deg); color: var(--accent-gold); }
/* Gold focus ring on dropdown items to match the site's focus aesthetic */
.user-dropdown .ud-item:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: -2px;
  background: var(--cream);
}
/* Sign Out: muted default color, only red on hover (less alarming by default) */
.user-dropdown .ud-signout,
.user-dropdown .ud-signout i { color: var(--text-muted); }
.user-dropdown .ud-signout:hover,
.user-dropdown .ud-signout:hover i { color: var(--danger); }
/* Signed-out state (Sign In) — tint slightly to differentiate from cart icon */
.icon-btn-signin { color: rgba(255,255,255,0.9); }
.icon-btn-signin:hover { color: var(--accent-gold); }

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary-green); flex-direction: column; padding: 1rem 5%; gap: 1rem; }
  .nav-links.active { display: flex; }
  .mobile-menu-btn { display: block; }
  .page-hero h1 { font-size: 2.2rem; }
  .section-header h2 { font-size: 1.8rem; }
}
@media (max-width: 576px) {
  /* 2 products side-by-side on mobile */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .product-info { padding: 0.75rem; }
  .product-actions { gap: 0.35rem; }
  .product-actions .btn-add { font-size: 0.7rem; padding: 0.45rem 0.5rem; }
  .product-actions .btn-buy-now { font-size: 0.7rem; padding: 0.45rem 0.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .page-hero h1 { font-size: 1.8rem; }
  .section { padding: 3rem 5%; }
  #products { padding-bottom: 0 !important; }
  #products > .section-header { margin-bottom: 0 !important; }
  .section-header h2 { font-size: 1.5rem; }
  /* Dropdown would overflow off the right edge on narrow viewports */
  .user-dropdown { right: -0.75rem; min-width: 220px; max-width: calc(100vw - 2rem); }
}

/* ========== FORMS ========== */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(201,168,108,0.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-error { color: var(--danger); font-size: 0.8rem; margin-top: 0.3rem; }

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; transition: opacity 0.3s;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 500px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 2rem;
  transform: translateY(20px);
  transition: transform 0.3s;
  box-shadow: var(--shadow-lg);
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.modal-header h3 { font-size: 1.3rem; color: var(--primary-green); }
.modal-close { background: none; border: none; font-size: 1.5rem; color: var(--text-muted); cursor: pointer; }

/* ========== TOAST ========== */
.toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 3000; display: flex; flex-direction: column; gap: 0.75rem; }
.toast {
  background: var(--primary-green);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 0.75rem;
  animation: toastIn 0.4s ease forwards;
  min-width: 280px;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.warning { background: var(--warning); color: var(--text-dark); }
@keyframes toastIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.toast.hide { animation: toastOut 0.4s ease forwards; }
@keyframes toastOut { to { transform: translateX(120%); opacity: 0; } }

/* ========== ADMIN LAYOUT ========== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px;
  background: var(--primary-green-dark);
  color: var(--white);
  position: fixed; left: 0; top: 0; bottom: 0;
  padding: 1.5rem;
  display: flex; flex-direction: column;
  z-index: 1000;
}
.admin-sidebar .brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2.5rem; }
.admin-sidebar .brand img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--accent-gold); }
.admin-sidebar .brand span { font-weight: 700; font-size: 1.1rem; }
.admin-sidebar .brand span small { display: block; font-size: 0.6rem; color: var(--accent-gold); text-transform: uppercase; letter-spacing: 2px; }
.admin-nav { list-style: none; flex: 1; }
.admin-nav li { margin-bottom: 0.5rem; }
.admin-nav a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(201,168,108,0.15); color: var(--accent-gold); }
.admin-nav a i { font-size: 1.1rem; width: 24px; text-align: center; }
.admin-main { flex: 1; margin-left: 260px; padding: 2rem; background: var(--cream); min-height: 100vh; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.admin-header h1 { font-size: 1.6rem; color: var(--primary-green); }
.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 1rem;
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); }
.stat-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.stat-icon.green { background: rgba(40,167,69,0.1); color: var(--success); }
.stat-icon.gold { background: rgba(201,168,108,0.15); color: var(--accent-gold-dark); }
.stat-icon.blue { background: rgba(0,123,255,0.1); color: #007BFF; }
.stat-icon.purple { background: rgba(111,66,193,0.1); color: #6F42C1; }
.stat-info h4 { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; margin-bottom: 0.25rem; }
.stat-info p { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.stat-info small { font-size: 0.8rem; }
.stat-info small.up { color: var(--success); }
.stat-info small.down { color: var(--danger); }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; padding: 1rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); border-bottom: 2px solid var(--cream-dark); font-weight: 600; }
.data-table td { padding: 1rem; border-bottom: 1px solid var(--cream-dark); font-size: 0.9rem; }
.data-table tr:hover { background: rgba(201,168,108,0.04); }
.data-table .product-cell { display: flex; align-items: center; gap: 0.75rem; }
.data-table .product-cell img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--cream); }
.status-badge { padding: 0.35rem 0.75rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.status-badge.pending { background: #FFF3CD; color: #856404; }
.status-badge.paid { background: #D4EDDA; color: #155724; }
.status-badge.delivered { background: #CCE5FF; color: #004085; }
.status-badge.cancelled { background: #F8D7DA; color: #721C24; }

@media (max-width: 992px) {
  .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .stats-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ========== PAYMENT METHODS ========== */
.payment-methods { display: flex; flex-direction: column; gap: 0.75rem; }
.payment-method {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.payment-method:hover { border-color: var(--accent-gold); }
.payment-method.selected { border-color: var(--primary-green); background: rgba(45,58,30,0.03); }
.payment-method input { width: 20px; height: 20px; accent-color: var(--primary-green); }
.payment-method .pm-icon { font-size: 1.5rem; width: 40px; text-align: center; }
.payment-method .pm-info h4 { font-size: 0.95rem; color: var(--text-dark); }
.payment-method .pm-info p { font-size: 0.8rem; color: var(--text-muted); }

/* ========== CART PAGE ========== */
.cart-page { padding: 7rem 5% 4rem; max-width: 1200px; margin: 0 auto; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; }
.cart-items { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.cart-item { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--cream-dark); }
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 80px; height: 80px; border-radius: var(--radius); object-fit: cover; background: var(--cream); }
.cart-item-details { flex: 1; }
.cart-item-details h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.cart-item-details p { font-size: 0.8rem; color: var(--text-muted); }
.cart-item-price { font-weight: 700; color: var(--primary-green); }
.cart-item-qty { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.cart-item-qty button {
  width: 28px; height: 28px;
  border: 1px solid var(--cream-dark);
  background: var(--white);
  border-radius: 6px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.cart-item-qty button:hover { background: var(--cream); }
.cart-item-qty span { font-weight: 600; min-width: 24px; text-align: center; }
.cart-item-remove { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 1.1rem; transition: var(--transition); }
.cart-item-remove:hover { transform: scale(1.2); }
.cart-summary { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); height: fit-content; position: sticky; top: 100px; }
.cart-summary h3 { margin-bottom: 1.25rem; font-size: 1.1rem; color: var(--primary-green); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 0.75rem; font-size: 0.9rem; }
.summary-row.total { border-top: 2px solid var(--cream-dark); padding-top: 0.75rem; margin-top: 0.75rem; font-weight: 700; font-size: 1.1rem; color: var(--primary-green); }
.cart-empty { text-align: center; padding: 4rem 2rem; }
.cart-empty i { font-size: 4rem; color: var(--cream-dark); margin-bottom: 1rem; }
.cart-empty h3 { color: var(--primary-green); margin-bottom: 0.5rem; }
.cart-empty p { color: var(--text-muted); margin-bottom: 1.5rem; }

@media (max-width: 768px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

/* ========== CHECKOUT ========== */
.checkout-page { padding: 7rem 5% 4rem; max-width: 900px; margin: 0 auto; }
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; }
.checkout-form { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.checkout-form h3 { margin-bottom: 1.5rem; color: var(--primary-green); font-size: 1.2rem; display: flex; align-items: center; gap: 0.5rem; }
.checkout-form h3 .step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-green); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 700; }
.order-review { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); height: fit-content; position: sticky; top: 100px; }
.order-review h3 { margin-bottom: 1.25rem; color: var(--primary-green); font-size: 1.1rem; }
.order-item { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--cream-dark); font-size: 0.9rem; }
.order-item:last-child { border-bottom: none; }
.order-item span:first-child { color: var(--text-muted); }
.order-item span:last-child { font-weight: 600; }

@media (max-width: 768px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .order-review { position: static; }
}

/* ========== LOGIN / AUTH ========== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 60%, #1a1508 100%);
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 25 L55 30 L35 35 L30 55 L25 35 L5 30 L25 25 Z' fill='none' stroke='%23C9A86C' stroke-opacity='0.08' stroke-width='1'/%3E%3C/svg%3E");
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%; max-width: 440px;
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 2;
}
.auth-card .logo-wrap { text-align: center; margin-bottom: 1.5rem; }
.auth-card .logo-wrap img { width: 70px; border-radius: 50%; border: 3px solid var(--accent-gold); margin-bottom: 0.75rem; }
.auth-card .logo-wrap h2 { color: var(--primary-green); font-size: 1.5rem; }
.auth-card .logo-wrap p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.25rem; }
.auth-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.auth-tab {
  flex: 1;
  padding: 0.75rem;
  border: none;
  background: var(--cream);
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}
.auth-tab.active { background: var(--primary-green); color: var(--white); }
.auth-form { display: none; }
.auth-form.active { display: block; }
.auth-alt { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-muted); }
.auth-alt a { color: var(--accent-gold-dark); font-weight: 600; cursor: pointer; }

/* ========== LOADER ========== */
.loader-overlay { position: fixed; inset: 0; background: rgba(255,255,255,0.9); z-index: 5000; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 1rem; }
.loader-overlay.active { display: flex; }
.spinner { width: 48px; height: 48px; border: 4px solid var(--cream-dark); border-top-color: var(--accent-gold); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
  border-radius: var(--radius);
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(201,168,108,0.15); color: var(--accent-gold); }
.admin-nav a i { font-size: 1.1rem; width: 24px; text-align: center; }
.admin-main { flex: 1; margin-left: 260px; padding: 2rem; background: var(--cream); min-height: 100vh; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.admin-header h1 { font-size: 1.6rem; color: var(--primary-green); }
.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 1rem;
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); }
.stat-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.stat-icon.green { background: rgba(40,167,69,0.1); color: var(--success); }
.stat-icon.gold { background: rgba(201,168,108,0.15); color: var(--accent-gold-dark); }
.stat-icon.blue { background: rgba(0,123,255,0.1); color: #007BFF; }
.stat-icon.purple { background: rgba(111,66,193,0.1); color: #6F42C1; }
.stat-info h4 { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; margin-bottom: 0.25rem; }
.stat-info p { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.stat-info small { font-size: 0.8rem; }
.stat-info small.up { color: var(--success); }
.stat-info small.down { color: var(--danger); }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; padding: 1rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); border-bottom: 2px solid var(--cream-dark); font-weight: 600; }
.data-table td { padding: 1rem; border-bottom: 1px solid var(--cream-dark); font-size: 0.9rem; }
.data-table tr:hover { background: rgba(201,168,108,0.04); }
.data-table .product-cell { display: flex; align-items: center; gap: 0.75rem; }
.data-table .product-cell img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--cream); }
.status-badge { padding: 0.35rem 0.75rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.status-badge.pending { background: #FFF3CD; color: #856404; }
.status-badge.paid { background: #D4EDDA; color: #155724; }
.status-badge.delivered { background: #CCE5FF; color: #004085; }
.status-badge.cancelled { background: #F8D7DA; color: #721C24; }

@media (max-width: 992px) {
  .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .stats-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ========== PAYMENT METHODS ========== */
.payment-methods { display: flex; flex-direction: column; gap: 0.75rem; }
.payment-method {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.payment-method:hover { border-color: var(--accent-gold); }
.payment-method.selected { border-color: var(--primary-green); background: rgba(45,58,30,0.03); }
.payment-method input { width: 20px; height: 20px; accent-color: var(--primary-green); }
.payment-method .pm-icon { font-size: 1.5rem; width: 40px; text-align: center; }
.payment-method .pm-info h4 { font-size: 0.95rem; color: var(--text-dark); }
.payment-method .pm-info p { font-size: 0.8rem; color: var(--text-muted); }

/* ========== CART PAGE ========== */
.cart-page { padding: 7rem 5% 4rem; max-width: 1200px; margin: 0 auto; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; }
.cart-items { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.cart-item { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--cream-dark); }
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 80px; height: 80px; border-radius: var(--radius); object-fit: cover; background: var(--cream); }
.cart-item-details { flex: 1; }
.cart-item-details h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.cart-item-details p { font-size: 0.8rem; color: var(--text-muted); }
.cart-item-price { font-weight: 700; color: var(--primary-green); }
.cart-item-qty { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.cart-item-qty button {
  width: 28px; height: 28px;
  border: 1px solid var(--cream-dark);
  background: var(--white);
  border-radius: 6px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.cart-item-qty button:hover { background: var(--cream); }
.cart-item-qty span { font-weight: 600; min-width: 24px; text-align: center; }
.cart-item-remove { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 1.1rem; transition: var(--transition); }
.cart-item-remove:hover { transform: scale(1.2); }
.cart-summary { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); height: fit-content; position: sticky; top: 100px; }
.cart-summary h3 { margin-bottom: 1.25rem; font-size: 1.1rem; color: var(--primary-green); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 0.75rem; font-size: 0.9rem; }
.summary-row.total { border-top: 2px solid var(--cream-dark); padding-top: 0.75rem; margin-top: 0.75rem; font-weight: 700; font-size: 1.1rem; color: var(--primary-green); }
.cart-empty { text-align: center; padding: 4rem 2rem; }
.cart-empty i { font-size: 4rem; color: var(--cream-dark); margin-bottom: 1rem; }
.cart-empty h3 { color: var(--primary-green); margin-bottom: 0.5rem; }
.cart-empty p { color: var(--text-muted); margin-bottom: 1.5rem; }

@media (max-width: 768px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

/* ========== CHECKOUT ========== */
.checkout-page { padding: 7rem 5% 4rem; max-width: 900px; margin: 0 auto; }
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; }
.checkout-form { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.checkout-form h3 { margin-bottom: 1.5rem; color: var(--primary-green); font-size: 1.2rem; display: flex; align-items: center; gap: 0.5rem; }
.checkout-form h3 .step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-green); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 700; }
.order-review { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); height: fit-content; position: sticky; top: 100px; }
.order-review h3 { margin-bottom: 1.25rem; color: var(--primary-green); font-size: 1.1rem; }
.order-item { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--cream-dark); font-size: 0.9rem; }
.order-item:last-child { border-bottom: none; }
.order-item span:first-child { color: var(--text-muted); }
.order-item span:last-child { font-weight: 600; }

@media (max-width: 768px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .order-review { position: static; }
}

/* ========== LOGIN / AUTH ========== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 60%, #1a1508 100%);
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 25 L55 30 L35 35 L30 55 L25 35 L5 30 L25 25 Z' fill='none' stroke='%23C9A86C' stroke-opacity='0.08' stroke-width='1'/%3E%3C/svg%3E");
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%; max-width: 440px;
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 2;
}
.auth-card .logo-wrap { text-align: center; margin-bottom: 1.5rem; }
.auth-card .logo-wrap img { width: 70px; border-radius: 50%; border: 3px solid var(--accent-gold); margin-bottom: 0.75rem; }
.auth-card .logo-wrap h2 { color: var(--primary-green); font-size: 1.5rem; }
.auth-card .logo-wrap p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.25rem; }
.auth-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.auth-tab {
  flex: 1;
  padding: 0.75rem;
  border: none;
  background: var(--cream);
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}
.auth-tab.active { background: var(--primary-green); color: var(--white); }
.auth-form { display: none; }
.auth-form.active { display: block; }
.auth-alt { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-muted); }
.auth-alt a { color: var(--accent-gold-dark); font-weight: 600; cursor: pointer; }

/* ========== LOADER ========== */
.loader-overlay { position: fixed; inset: 0; background: rgba(255,255,255,0.9); z-index: 5000; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 1rem; }
.loader-overlay.active { display: flex; }
.spinner { width: 48px; height: 48px; border: 4px solid var(--cream-dark); border-top-color: var(--accent-gold); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light)); z-index: 9999; width: 0%; transition: width 0.1s; }

/* ========== LOGGED IN HEADER BUTTON POLISH ========== */
.nav-actions .icon-btn.logged-in-btn {
  padding: 0;
  display: inline-flex;
  align-items: center;
  align-self: center;
}

/* ========== DESIGNER LINK ========== */
.designer-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1.5px solid transparent;
  transition: var(--transition);
}
.designer-link:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}
