/* ============================================
   DELRUTH ALLIED VENTURE - Main Stylesheet
   Pure HTML/CSS/JS - cPanel Optimized
   ============================================ */

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

/* CSS Variables */
:root {
  --sage: #7E8F7C;
  --forest: #4A5A3F;
  --sage-light: #E8F0E5;
  --cream: #F9F7F2;
  --earth: #5C4A3D;
  --muted: #8B7D6B;
  --warm-grey: #A39888;
  --soil: #6B5B4F;
  --amber: #C4943A;
  --amber-light: #F5EDE0;
  --amber-dark: #A07830;
  --white: #FFFFFF;
  --border: #D8D0C6;
  --border-light: #E8E0D6;
  --error: #C0392B;
  --success: #4A7C59;
  --shadow: 0 2px 12px rgba(92, 74, 61, 0.08);
  --shadow-hover: 0 4px 24px rgba(92, 74, 61, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 50%;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--earth);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container { padding: 0 24px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 48px; }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--cream);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.site-header.scrolled {
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.site-header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--earth);
  line-height: 1;
}

.logo-tag {
  font-size: 8px;
  font-weight: 500;
  color: var(--sage);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--earth);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--sage);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sage);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-actions a,
.header-actions button {
  color: var(--earth);
  position: relative;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.header-actions a:hover,
.header-actions button:hover {
  color: var(--forest);
}

.header-actions svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.badge {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--sage);
  color: white;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: block;
  color: var(--earth);
}

@media (min-width: 1024px) {
  .mobile-menu-btn,
  .hide-desktop {
    display: none !important;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: calc(100dvh - 80px);
  overflow: hidden;
  background: var(--forest);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 6s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(74,90,63,0.85) 0%, rgba(74,90,63,0.5) 50%, rgba(74,90,63,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content.center {
  align-items: center;
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 600px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-pills {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.hero-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.05);
}

.hero-nav.prev { left: 24px; }
.hero-nav.next { right: 24px; }

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: var(--sage);
  transform: scale(1.3);
}

@media (min-width: 768px) {
  .hero-title { font-size: 48px; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--amber);
  color: white;
}

.btn-primary:hover {
  background: var(--amber-dark);
  transform: scale(1.02);
}

.btn-sage {
  background: var(--sage);
  color: white;
  padding: 10px 24px;
}

.btn-sage:hover {
  background: var(--forest);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--earth);
  background: white;
}

.btn-outline:hover {
  background: var(--sage-light);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

.btn-danger {
  background: var(--error);
  color: white;
}

.btn-danger:hover {
  background: #a93226;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-body {
  padding: 16px;
}

.card-title {
  font-weight: 500;
  font-size: 14px;
  color: var(--earth);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title:hover {
  color: var(--sage);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 60px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--earth);
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.link-arrow {
  font-size: 14px;
  color: var(--sage);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* ============================================
   GRID
   ============================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-6 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-6 { grid-template-columns: repeat(6, 1fr); }
}

/* ============================================
   PRODUCTS
   ============================================ */
.price {
  font-weight: 700;
  font-size: 14px;
  color: var(--amber);
}

.price-old {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 6px;
}

.stars {
  display: flex;
  gap: 2px;
  margin-top: 4px;
}

.star {
  width: 12px;
  height: 12px;
}

.star.filled {
  color: var(--sage);
  fill: var(--sage);
}

.star.empty {
  color: var(--border-light);
}

.review-count {
  font-size: 10px;
  color: var(--muted);
  margin-left: 4px;
}

.unit {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.badge-new {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--forest);
  color: white;
  font-size: 10px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.badge-sale {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--amber);
  color: white;
  font-size: 10px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--soil);
  color: white;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer-logo .logo-name { color: white; }
.footer-logo .logo-tag { color: var(--sage-light); }

.footer-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.footer-social:hover {
  background: var(--sage);
  transform: scale(1.1);
}

.footer-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-contact {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 2;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; }
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   CART DRAWER
   ============================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: white;
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
}

.cart-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.cart-close {
  color: var(--earth);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.cart-empty {
  text-align: center;
  padding: 48px 0;
}

.cart-empty p {
  color: var(--muted);
  margin-bottom: 16px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cream);
  flex-shrink: 0;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--earth);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-unit {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  margin-top: 2px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.qty-control button {
  padding: 4px 8px;
  color: var(--earth);
  font-size: 14px;
}

.qty-control button:hover {
  background: var(--sage-light);
}

.qty-control span {
  font-size: 13px;
  font-weight: 500;
  min-width: 24px;
  text-align: center;
}

.cart-remove {
  color: var(--error);
  padding: 4px;
}

.cart-remove:hover {
  color: #a93226;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border-light);
  background: var(--cream);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cart-total span:first-child {
  font-weight: 500;
  color: var(--earth);
}

.cart-total span:last-child {
  font-weight: 700;
  color: var(--earth);
}

.cart-note {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--earth);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: white;
  font-size: 14px;
  color: var(--earth);
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(126,143,124,0.15);
}

.form-textarea {
  height: auto;
  padding: 10px 14px;
  resize: vertical;
}

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--forest);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  border-left: 4px solid var(--sage);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  z-index: 3000;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--forest);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  padding: 32px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  align-self: flex-end;
  color: white;
  margin-bottom: 40px;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: white;
  padding: 12px 0;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--earth);
}

.breadcrumb span:last-child {
  color: var(--earth);
}

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.product-detail {
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
  }
}

.product-gallery {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--earth);
  margin-bottom: 8px;
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--amber);
}

.product-price .old {
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 400;
}

.product-desc {
  font-size: 14px;
  color: var(--earth);
  line-height: 1.7;
  margin: 16px 0;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  margin-top: 16px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}

.trust-badge svg {
  color: var(--sage);
  flex-shrink: 0;
}

/* ============================================
   TABS
   ============================================ */
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.tab-btn {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.tab-btn.active {
  color: var(--sage);
  border-bottom-color: var(--sage);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ============================================
   REVIEW
   ============================================ */
.review-card {
  background: var(--cream);
  padding: 16px;
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.review-name {
  font-weight: 500;
  font-size: 14px;
  color: var(--forest);
}

.review-verified {
  font-size: 10px;
  color: var(--success);
  background: var(--sage-light);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.review-text {
  font-size: 13px;
  color: var(--earth);
  line-height: 1.6;
}

/* ============================================
   FILTER SIDEBAR
   ============================================ */
.filter-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .filter-sidebar {
    display: block;
    width: 240px;
    flex-shrink: 0;
  }
}

.filter-section {
  margin-bottom: 24px;
}

.filter-title {
  font-weight: 500;
  font-size: 14px;
  color: var(--earth);
  margin-bottom: 12px;
}

.filter-option {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.filter-option:hover,
.filter-option.active {
  color: var(--sage);
  font-weight: 500;
}

/* ============================================
   CHECKOUT
   ============================================ */
.checkout-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .checkout-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.checkout-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px;
}

.checkout-card h3 {
  font-weight: 500;
  color: var(--earth);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.order-item:last-child {
  border-bottom: none;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}

.order-summary-row.total {
  font-weight: 700;
  font-size: 16px;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-top: 8px;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-layout {
  display: grid;
  gap: 24px;
}

@media (min-width: 1024px) {
  .dashboard-layout {
    grid-template-columns: 260px 1fr;
  }
}

.dashboard-sidebar {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 20px;
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.dashboard-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
  font-size: 14px;
}

.dashboard-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--earth);
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
  background: var(--sage-light);
  color: var(--forest);
  font-weight: 500;
}

.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 20px;
  box-shadow: var(--shadow);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 12px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--earth);
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ============================================
   TABLE
   ============================================ */
.data-table {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--cream);
  font-weight: 500;
  color: var(--earth);
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--earth);
}

.data-table tr:hover td {
  background: rgba(249,247,242,0.5);
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 500;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-confirmed { background: #dbeafe; color: #1e40af; }
.status-processing { background: #f3e8ff; color: #6b21a8; }
.status-shipped { background: #e0e7ff; color: #3730a3; }
.status-delivered { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

/* ============================================
   ADMIN
   ============================================ */
.admin-layout {
  display: flex;
  min-height: 100dvh;
}

.admin-sidebar {
  width: 260px;
  background: var(--forest);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
  position: fixed;
  inset: 0;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.admin-sidebar.open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .admin-sidebar {
    position: static;
    transform: none;
  }
}

.admin-sidebar .logo-name {
  color: white;
}

.admin-sidebar .logo-tag {
  color: var(--sage-light);
}

.admin-nav {
  flex: 1;
  margin-top: 32px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(126,143,124,0.2);
  color: white;
}

.admin-nav a.active {
  border-left: 3px solid var(--sage);
}

.admin-main {
  flex: 1;
  min-width: 0;
}

.admin-header {
  height: 64px;
  background: white;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
}

.admin-content {
  padding: 24px;
}

/* ============================================
   LOGIN
   ============================================ */
.login-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--forest) 0%, var(--sage) 100%);
  padding: 24px;
}

.login-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.login-card .logo {
  align-items: center;
  margin-bottom: 32px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--earth);
  text-align: left;
}

.faq-question:hover {
  background: var(--cream);
}

.faq-question svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-question.open svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  display: none;
}

.faq-answer.open {
  display: block;
}

/* ============================================
   UTILITIES
   ============================================ */
.bg-white { background: white; }
.bg-cream { background: var(--cream); }
.bg-sage-light { background: var(--sage-light); }
.text-center { text-align: center; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.gap-4 { gap: 16px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.flex-1 { flex: 1; }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-light);
  border-top-color: var(--sage);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Marquee */
.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   RESPONSIVE HELPERS
   ============================================ */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
  .section-title { font-size: 24px; }
}

@media (min-width: 768px) {
  .section { padding: 80px 0; }
}
