/* ============================================================
   HempHimal — Main Stylesheet
   Theme: Himalayan Hemp / Earthy Natural
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --green-dark:   #1e3a0f;
  --green:        #2d5016;
  --green-mid:    #3d6b1e;
  --green-light:  #4a7c1f;
  --green-pale:   #e8f0dc;
  --green-muted:  #c4d9a0;

  --earth-dark:   #5c3d1e;
  --earth:        #8b5e3c;
  --earth-light:  #c8956c;
  --earth-pale:   #f5ede3;

  --sand:         #e8d9c0;
  --sand-light:   #f5f0e8;
  --sand-dark:    #d4c4a0;

  --accent:       #c8783c;
  --accent-dark:  #a05a28;
  --accent-light: #e8a060;

  --text-dark:    #1a1a1a;
  --text:         #333333;
  --text-muted:   #666666;
  --text-light:   #999999;

  --white:        #ffffff;
  --border:       #e0d8cc;
  --border-light: #f0ebe0;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow:       0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.16);
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    32px;
  --transition:   .25s cubic-bezier(.4,0,.2,1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-light); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.25; color: var(--text-dark); }
h1 { font-size: clamp(2rem,4vw,3rem); }
h2 { font-size: clamp(1.5rem,3vw,2.2rem); }
h3 { font-size: clamp(1.2rem,2.5vw,1.6rem); }
h4 { font-size: 1.2rem; }
.section-title { text-align: center; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 3rem; font-size: 1.05rem; }
.section-title span { color: var(--green-light); }

/* ---------- Layout ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.col-2 { flex: 1 1 calc(50% - 12px); }
.col-3 { flex: 1 1 calc(33.333% - 16px); }
.col-4 { flex: 1 1 calc(25% - 18px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px; font-weight: 600;
  font-size: .9rem; letter-spacing: .5px; transition: all var(--transition);
  cursor: pointer; border: 2px solid transparent; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  color: var(--white); box-shadow: 0 4px 15px rgba(45,80,22,.3);
}
.btn-primary:hover {
  transform: translateY(-2px); box-shadow: 0 8px 25px rgba(45,80,22,.4);
  color: var(--white); background: linear-gradient(135deg, var(--green-mid), var(--green-light));
}
.btn-secondary {
  background: transparent; color: var(--green);
  border-color: var(--green);
}
.btn-secondary:hover { background: var(--green); color: var(--white); }
.btn-accent {
  background: linear-gradient(135deg, var(--earth-dark), var(--accent));
  color: var(--white); box-shadow: 0 4px 15px rgba(200,120,60,.3);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(200,120,60,.4); color: var(--white); }
.btn-white { background: var(--white); color: var(--green); }
.btn-white:hover { background: var(--green-pale); color: var(--green-dark); }
.btn-sm { padding: 9px 20px; font-size: .82rem; }
.btn-lg { padding: 17px 40px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-icon { padding: 11px; border-radius: 50%; width: 42px; height: 42px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; margin-bottom: 7px; font-size: .88rem; color: var(--text); }
.form-label .required { color: #e53e3e; margin-left: 3px; }
.form-control {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: .95rem; color: var(--text);
  background: var(--white); transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(74,124,31,.12); }
.form-control::placeholder { color: var(--text-light); }
.form-control.is-invalid { border-color: #e53e3e; }
.form-error { color: #e53e3e; font-size: .82rem; margin-top: 5px; display: flex; align-items: center; gap: 4px; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check input { width: 18px; height: 18px; accent-color: var(--green); cursor: pointer; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea.form-control { resize: vertical; min-height: 110px; }

/* ---------- Badge ---------- */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 50px; font-size: .75rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-info    { background: #dbeafe; color: #1e40af; }
.badge-primary { background: var(--green-pale); color: var(--green-dark); }
.badge-sale    { background: var(--accent); color: var(--white); font-size: .8rem; }

/* ---------- Alert / Flash ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; }
.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.alert-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }
.alert-warning { background: #fef3c7; color: #92400e; border-left: 4px solid #f59e0b; }
.alert-info    { background: #dbeafe; color: #1e40af; border-left: 4px solid #3b82f6; }

/* ---------- Header / Nav ---------- */
.topbar {
  background: var(--green-dark); color: var(--green-muted);
  font-size: .8rem; padding: 7px 0; text-align: center;
}
.topbar a { color: var(--green-muted); }
.topbar a:hover { color: var(--white); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-links { display: flex; gap: 20px; }

.header {
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 20px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 42px; height: 42px; }
.logo-text .brand { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--green-dark); line-height: 1; }
.logo-text .tagline { font-size: .7rem; color: var(--text-muted); letter-spacing: 1.5px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 500; color: var(--text);
  transition: all var(--transition); position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--green); background: var(--green-pale); }
.nav-link.active::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; background: var(--green); border-radius: 50%; }

/* Mega Dropdown */
.nav-item { position: relative; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 12px; min-width: 200px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all var(--transition); z-index: 999;
}
.dropdown-link { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--text); font-size: .88rem; transition: all var(--transition); }
.dropdown-link:hover { background: var(--green-pale); color: var(--green); }
.dropdown-link i { width: 20px; color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.header-search { position: relative; }
.search-trigger { padding: 9px 11px; border-radius: var(--radius-sm); transition: all var(--transition); color: var(--text-muted); font-size: 1rem; }
.search-trigger:hover { background: var(--green-pale); color: var(--green); }
.action-btn { position: relative; padding: 9px 11px; border-radius: var(--radius-sm); color: var(--text-muted); font-size: 1rem; transition: all var(--transition); }
.action-btn:hover { background: var(--green-pale); color: var(--green); }
.action-btn .badge-count {
  position: absolute; top: 4px; right: 4px;
  background: var(--accent); color: var(--white);
  font-size: .65rem; font-weight: 700; width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* Search Bar */
.search-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2000;
  background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
  padding: 20px; box-shadow: var(--shadow-lg);
  transform: translateY(-100%); transition: transform var(--transition);
}
.search-bar.open { transform: translateY(0); }
.search-inner { max-width: 700px; margin: 0 auto; position: relative; }
.search-input { width: 100%; padding: 16px 60px 16px 20px; border: 2px solid var(--green); border-radius: 50px; font-size: 1.05rem; outline: none; }
.search-submit { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: var(--green); color: var(--white); border: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.search-close { display: block; text-align: center; margin-top: 12px; color: var(--text-muted); font-size: .88rem; cursor: pointer; }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
  background: var(--white); z-index: 2001; box-shadow: var(--shadow-lg);
  overflow-y: auto; transition: right var(--transition);
}
.mobile-menu.open { right: 0; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 2000; display: none; }
.mobile-overlay.open { display: block; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border); }
.mobile-nav { padding: 16px; }
.mobile-nav-link { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--radius-sm); color: var(--text); font-size: .95rem; font-weight: 500; transition: all var(--transition); }
.mobile-nav-link:hover { background: var(--green-pale); color: var(--green); }
.mobile-nav-link i { width: 20px; text-align: center; color: var(--green); }

/* ---------- Hero Slider ---------- */
.hero { position: relative; overflow: hidden; height: min(85vh,680px); }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  background-size: cover; background-position: center;
  transition: opacity .8s ease, transform .8s ease;
  opacity: 0; pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 70%, transparent 100%); }
.hero-content { position: relative; z-index: 1; padding: 40px; max-width: 600px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); backdrop-filter: blur(10px); color: var(--white); padding: 6px 16px; border-radius: 50px; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; border: 1px solid rgba(255,255,255,.3); }
.hero-title { font-size: clamp(2rem,5vw,3.2rem); color: var(--white); margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero-subtitle { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 30px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: all var(--transition); }
.hero-dot.active { background: var(--white); width: 24px; border-radius: 4px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(255,255,255,.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.3); color: var(--white); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; transition: all var(--transition); }
.hero-arrow:hover { background: rgba(255,255,255,.3); transform: translateY(-50%) scale(1.05); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* ---------- Trust Bar ---------- */
.trust-bar { background: var(--green-dark); padding: 18px 0; }
.trust-items { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 10px 30px; color: var(--white); font-size: .88rem; border-right: 1px solid rgba(255,255,255,.15); flex: 1; min-width: 180px; justify-content: center; }
.trust-item:last-child { border-right: none; }
.trust-item i { font-size: 1.4rem; color: var(--green-muted); }
.trust-item strong { display: block; font-size: .95rem; }
.trust-item span { color: rgba(255,255,255,.65); font-size: .8rem; }

/* ---------- Category Cards ---------- */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.category-card {
  background: var(--white); border-radius: var(--radius);
  border: 2px solid var(--border); padding: 28px 16px;
  text-align: center; transition: all var(--transition);
  cursor: pointer; text-decoration: none; display: block;
}
.category-card:hover { border-color: var(--green-light); transform: translateY(-4px); box-shadow: var(--shadow); background: var(--green-pale); }
.category-card.active { border-color: var(--green); background: var(--green-pale); }
.cat-icon { width: 64px; height: 64px; background: var(--green-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 1.5rem; color: var(--green); transition: all var(--transition); }
.category-card:hover .cat-icon { background: var(--green); color: var(--white); }
.cat-name { font-weight: 700; font-size: .9rem; color: var(--text-dark); margin-bottom: 4px; }
.cat-count { font-size: .78rem; color: var(--text-muted); }

/* ---------- Product Cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  transition: all var(--transition); display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-muted); }
.product-image { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--sand-light); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; }
.product-actions { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(10px); transition: all var(--transition); }
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action-btn { width: 38px; height: 38px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: .9rem; box-shadow: var(--shadow-sm); transition: all var(--transition); cursor: pointer; border: none; }
.product-action-btn:hover { background: var(--green); color: var(--white); }
.product-action-btn.wishlisted { color: #ef4444; background: #fee2e2; }
.product-quick-add { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,.7)); padding: 30px 14px 14px; transform: translateY(100%); transition: transform var(--transition); }
.product-card:hover .product-quick-add { transform: translateY(0); }
.product-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-category { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.product-name { font-weight: 700; font-size: .95rem; color: var(--text-dark); margin-bottom: 10px; line-height: 1.4; flex: 1; }
.product-name a { color: inherit; }
.product-name a:hover { color: var(--green); }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.stars { color: #f59e0b; font-size: .8rem; }
.rating-count { font-size: .75rem; color: var(--text-muted); }
.product-price { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.price-sale { font-size: 1.15rem; font-weight: 800; color: var(--green-dark); }
.price-regular { font-size: 1.15rem; font-weight: 800; color: var(--text-dark); }
.price-original { font-size: .88rem; color: var(--text-muted); text-decoration: line-through; }
.product-footer { border-top: 1px solid var(--border-light); padding-top: 12px; }

/* ---------- Feature Section ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.feature-card { padding: 32px 24px; border-radius: var(--radius); text-align: center; background: var(--white); border: 1px solid var(--border); transition: all var(--transition); }
.feature-card:hover { border-color: var(--green-light); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--green-pale), var(--sand-light)); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.8rem; color: var(--green); }
.feature-card h4 { margin-bottom: 10px; color: var(--text-dark); }
.feature-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }

/* ---------- Testimonials ---------- */
.testimonials-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; transition: all var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow); border-color: var(--green-muted); }
.testimonial-card::before { content: '"'; position: absolute; top: 16px; right: 24px; font-size: 5rem; font-family: var(--font-heading); color: var(--green-pale); line-height: 1; }
.testimonial-text { color: var(--text); font-size: .95rem; line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--green-pale); display: flex; align-items: center; justify-content: center; color: var(--green); font-weight: 700; font-size: 1.1rem; }
.testimonial-name { font-weight: 700; font-size: .9rem; }
.testimonial-location { font-size: .78rem; color: var(--text-muted); }

/* ---------- Newsletter ---------- */
.newsletter-section { background: linear-gradient(135deg, var(--green-dark) 0%, var(--earth-dark) 100%); padding: 70px 0; position: relative; overflow: hidden; }
.newsletter-section::before { content: '🌿'; position: absolute; font-size: 15rem; opacity: .04; right: -40px; bottom: -40px; line-height: 1; }
.newsletter-content { text-align: center; max-width: 560px; margin: 0 auto; }
.newsletter-content h2 { color: var(--white); margin-bottom: 12px; }
.newsletter-content p { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.newsletter-input { flex: 1; min-width: 250px; padding: 14px 20px; border-radius: 50px; border: 2px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: var(--white); font-size: .95rem; outline: none; backdrop-filter: blur(10px); }
.newsletter-input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-input:focus { border-color: rgba(255,255,255,.5); }

/* ---------- Footer ---------- */
.footer { background: var(--green-dark); color: rgba(255,255,255,.75); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-logo .brand { color: var(--white); font-size: 1.5rem; font-family: var(--font-heading); }
.footer-logo .tagline { color: var(--green-muted); font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; }
.footer-about { font-size: .88rem; line-height: 1.8; margin: 16px 0; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); font-size: .9rem; transition: all var(--transition); }
.social-btn:hover { background: var(--green-light); color: var(--white); transform: translateY(-3px); }
.footer-heading { color: var(--white); font-size: .85rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: .88rem; }
.footer-contact-item i { color: var(--green-muted); margin-top: 3px; width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
.footer-payments { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.payment-icon { background: rgba(255,255,255,.1); border-radius: 4px; padding: 4px 10px; font-size: .78rem; color: rgba(255,255,255,.7); font-weight: 600; }
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; background: #25d366; color: var(--white); width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: all var(--transition); animation: pulse-wa 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); }
@keyframes pulse-wa { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,.4)} 50%{box-shadow:0 4px 30px rgba(37,211,102,.7)} }

/* ---------- Scroll to top ---------- */
.scroll-top { position: fixed; bottom: 88px; right: 24px; z-index: 998; background: var(--green); color: var(--white); width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: all var(--transition); opacity: 0; pointer-events: none; cursor: pointer; border: none; }
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--green-dark); transform: translateY(-3px); }

/* ---------- Breadcrumb ---------- */
.breadcrumb-wrap { background: var(--sand-light); border-bottom: 1px solid var(--border); padding: 14px 0; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; list-style: none; }
.breadcrumb-item { font-size: .84rem; color: var(--text-muted); }
.breadcrumb-item a { color: var(--green); }
.breadcrumb-item::after { content: '/'; margin-left: 8px; color: var(--text-light); }
.breadcrumb-item:last-child::after { display: none; }
.breadcrumb-item.active { color: var(--text); font-weight: 600; }

/* ---------- Shop Sidebar ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.sidebar { position: sticky; top: 90px; }
.sidebar-widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.sidebar-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--green-pale); display: flex; justify-content: space-between; align-items: center; }
.filter-option { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; cursor: pointer; }
.filter-option label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .88rem; }
.filter-count { font-size: .75rem; color: var(--text-muted); background: var(--sand-light); padding: 2px 8px; border-radius: 50px; }
.price-range { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.price-range input[type=number] { width: 90px; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .85rem; }
.range-slider { width: 100%; accent-color: var(--green); }
.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.color-swatch { width: 28px; height: 28px; border-radius: 50%; cursor: pointer; border: 3px solid transparent; box-shadow: 0 0 0 1px var(--border); transition: all var(--transition); }
.color-swatch:hover, .color-swatch.active { border-color: var(--green); box-shadow: 0 0 0 2px var(--green); }

/* ---------- Product Detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-gallery { position: sticky; top: 90px; }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--sand-light); aspect-ratio: 1; margin-bottom: 12px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumb { width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--sand-light); transition: all var(--transition); }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--green); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info { }
.product-detail-category { font-size: .78rem; color: var(--green); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.product-detail-title { font-size: clamp(1.5rem,3vw,2rem); margin-bottom: 14px; }
.product-detail-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; font-size: .85rem; color: var(--text-muted); }
.product-detail-price { margin-bottom: 22px; }
.product-detail-price .price-sale { font-size: 1.8rem; }
.product-detail-price .price-regular { font-size: 1.8rem; }
.product-detail-price .price-original { font-size: 1rem; }
.discount-tag { background: var(--accent); color: var(--white); padding: 4px 12px; border-radius: 50px; font-size: .8rem; font-weight: 700; }
.variant-label { font-weight: 700; font-size: .88rem; margin-bottom: 10px; color: var(--text); }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.variant-btn { padding: 8px 18px; border: 2px solid var(--border); border-radius: 50px; font-size: .85rem; cursor: pointer; transition: all var(--transition); background: var(--white); color: var(--text); }
.variant-btn:hover { border-color: var(--green-light); color: var(--green); }
.variant-btn.active { border-color: var(--green); background: var(--green-pale); color: var(--green-dark); font-weight: 700; }
.qty-control { display: flex; align-items: center; gap: 0; border: 2px solid var(--border); border-radius: 50px; overflow: hidden; width: fit-content; }
.qty-btn { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; transition: all var(--transition); background: var(--white); border: none; }
.qty-btn:hover { background: var(--green-pale); color: var(--green); }
.qty-input { width: 54px; height: 42px; border: none; border-left: 2px solid var(--border); border-right: 2px solid var(--border); text-align: center; font-size: 1rem; font-weight: 700; outline: none; }
.product-detail-actions { display: flex; gap: 12px; margin: 24px 0; flex-wrap: wrap; }
.product-detail-actions .btn { flex: 1; min-width: 160px; }
.product-highlights { background: var(--green-pale); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.highlight-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .88rem; }
.highlight-item i { color: var(--green); width: 16px; }
.product-tabs { margin-top: 30px; }
.tabs-nav { display: flex; border-bottom: 2px solid var(--border); gap: 0; }
.tab-btn { padding: 12px 20px; font-size: .9rem; font-weight: 600; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; transition: all var(--transition); background: none; border-top: none; border-left: none; border-right: none; }
.tab-btn.active { color: var(--green); border-bottom-color: var(--green); }
.tab-content { display: none; padding: 24px 0; }
.tab-content.active { display: block; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cart-table { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-table table { width: 100%; border-collapse: collapse; }
.cart-table th { background: var(--sand-light); padding: 14px 18px; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); text-align: left; }
.cart-table td { padding: 16px 18px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-product-img { width: 72px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; background: var(--sand-light); flex-shrink: 0; }
.cart-product-name { font-weight: 700; font-size: .9rem; }
.cart-product-variant { font-size: .78rem; color: var(--text-muted); }
.cart-remove { color: #ef4444; background: none; border: none; cursor: pointer; font-size: .85rem; margin-top: 6px; }
.order-summary { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: sticky; top: 90px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: .9rem; }
.summary-row.total { border-top: 2px solid var(--border); padding-top: 14px; font-size: 1.1rem; font-weight: 800; color: var(--text-dark); }
.summary-row.discount { color: var(--green); }
.coupon-form { display: flex; gap: 8px; margin: 14px 0; }
.coupon-form input { flex: 1; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.checkout-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.checkout-section-title { font-size: 1rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--green-pale); color: var(--text-dark); display: flex; align-items: center; gap: 10px; }
.checkout-section-title i { color: var(--green); }
.payment-option { border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px; cursor: pointer; display: flex; align-items: center; gap: 14px; margin-bottom: 12px; transition: all var(--transition); }
.payment-option:hover { border-color: var(--green-light); }
.payment-option.selected { border-color: var(--green); background: var(--green-pale); }
.payment-option input { accent-color: var(--green); }

/* ---------- Dashboard ---------- */
.dashboard-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.dashboard-nav { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: sticky; top: 90px; }
.dashboard-nav-link { display: flex; align-items: center; gap: 12px; padding: 14px 20px; color: var(--text); font-size: .9rem; transition: all var(--transition); border-left: 3px solid transparent; }
.dashboard-nav-link:hover { background: var(--green-pale); color: var(--green); }
.dashboard-nav-link.active { background: var(--green-pale); color: var(--green); border-left-color: var(--green); font-weight: 600; }
.dashboard-nav-link i { width: 18px; }
.dashboard-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; align-items: center; gap: 16px; }
.stat-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.stat-icon.green { background: var(--green-pale); color: var(--green); }
.stat-icon.earth { background: var(--earth-pale); color: var(--earth); }
.stat-icon.blue { background: #dbeafe; color: #2563eb; }
.stat-icon.orange { background: #ffedd5; color: #ea580c; }
.stat-num { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); }
.stat-label { font-size: .82rem; color: var(--text-muted); }
.order-status-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 50px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.status-pending        { background: #fef3c7; color: #92400e; }
.status-confirmed      { background: #dbeafe; color: #1e40af; }
.status-processing     { background: #ede9fe; color: #6d28d9; }
.status-shipped        { background: #d1fae5; color: #065f46; }
.status-out_for_delivery{ background: #dcfce7; color: #166534; }
.status-delivered      { background: #d1fae5; color: #065f46; }
.status-cancelled      { background: #fee2e2; color: #991b1b; }
.status-returned       { background: #f3f4f6; color: #374151; }
.status-refunded       { background: #f3f4f6; color: #374151; }

/* ---------- Admin ---------- */
.admin-sidebar { width: 260px; background: var(--green-dark); min-height: 100vh; position: fixed; left: 0; top: 0; z-index: 100; transition: transform var(--transition); }
.admin-content { margin-left: 260px; min-height: 100vh; background: #f8f9fa; }
.admin-topbar { background: var(--white); border-bottom: 1px solid var(--border); padding: 14px 28px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-sm); }
.admin-sidebar-logo { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-nav-link { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: rgba(255,255,255,.7); font-size: .88rem; transition: all var(--transition); }
.admin-nav-link:hover, .admin-nav-link.active { color: var(--white); background: rgba(255,255,255,.1); }
.admin-nav-link i { width: 18px; }
.admin-nav-section { padding: 12px 20px 6px; font-size: .72rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.35); }
.admin-page { padding: 28px; }
.admin-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.admin-card-header { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.admin-card-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); display: flex; align-items: center; gap: 8px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: var(--sand-light); padding: 12px 16px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--text-muted); text-align: left; white-space: nowrap; }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--border-light); font-size: .88rem; vertical-align: middle; }
.admin-table tr:hover td { background: var(--sand-light); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-stat { background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--border); border-top: 4px solid var(--green); }
.admin-stat-num { font-size: 2rem; font-weight: 800; color: var(--text-dark); }
.admin-stat-label { font-size: .82rem; color: var(--text-muted); margin-top: 4px; }
.admin-stat-change { font-size: .8rem; font-weight: 600; margin-top: 8px; }
.admin-stat-change.up { color: #10b981; }
.admin-stat-change.down { color: #ef4444; }

/* ---------- Toast Notification ---------- */
.toast-container { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { background: var(--text-dark); color: var(--white); padding: 14px 22px; border-radius: 50px; font-size: .88rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; animation: toastIn .3s ease; white-space: nowrap; max-width: 90vw; }
.toast.success { background: var(--green-dark); }
.toast.error { background: #991b1b; }
.toast.warning { background: #92400e; }
@keyframes toastIn { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ---------- Loading ---------- */
.loading-overlay { position: fixed; inset: 0; background: rgba(255,255,255,.85); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.loader { width: 44px; height: 44px; border: 4px solid var(--green-pale); border-top-color: var(--green); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--border) 25%, var(--sand) 50%, var(--border) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}
.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}.mb-4{margin-bottom:32px}
.gap-1{gap:8px}.gap-2{gap:16px}.gap-3{gap:24px}
.d-flex{display:flex}.align-center{align-items:center}.justify-between{justify-content:space-between}
.w-100{width:100%}.hidden{display:none!important}
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 3.5rem; color: var(--text-light); margin-bottom: 16px; }
.empty-state h3 { color: var(--text-muted); margin-bottom: 10px; }
.empty-state p { color: var(--text-light); margin-bottom: 20px; }
.page-header { background: linear-gradient(135deg, var(--green-dark), var(--earth-dark)); padding: 56px 0; text-align: center; position: relative; overflow: hidden; }
.page-header::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%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.page-header h1 { color: var(--white); position: relative; }
.page-header p { color: rgba(255,255,255,.75); position: relative; margin-top: 10px; }

/* ============================================================
   HempHimal — Complete Mobile-First Responsive CSS
   Tested breakpoints: 320px · 375px · 414px · 768px · 1024px
   ROOT FIXES:
   - Trust bar overflow on narrow screens
   - Products grid single-column on phones
   - Hero height/overflow on mobile
   - Button overflow in hero
   - Categories grid on 320px
   - Admin sidebar scroll (see admin-sidebar.php)
   ============================================================ */

/* ---------- Base mobile reset -------------------------------- */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { overflow-x: hidden; }
a, button, [role="button"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Container — safe on 320px ----------------------- */
.container    { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.container-sm { max-width: 900px;  margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) {
  .container    { padding: 0 20px; }
  .container-sm { padding: 0 20px; }
}
@media (min-width: 1024px) {
  .container    { padding: 0 24px; }
  .container-sm { padding: 0 24px; }
}

/* ---------- Forms — prevent iOS zoom on focus -------------- */
.form-control { font-size: 16px !important; }
@media (min-width: 768px) { .form-control { font-size: .95rem !important; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: 300px;
  max-height: 680px;
}
@media (min-width: 768px)  { .hero { min-height: 460px; } }
@media (min-width: 1024px) { .hero { min-height: 580px; max-height: 680px; } }

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  transition: opacity .8s ease;
  opacity: 0;
  pointer-events: none;
  /* Ensure minimum height on mobile even without background image */
  min-height: 300px;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
}
/* Fallback bg so hero never looks broken without an image */
.hero-slide:not([style*="background-image"]) {
  background: linear-gradient(135deg, #1e3a0f, #4a7c1f);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 32px 16px;
  width: 100%;
  max-width: 600px;
}
@media (min-width: 640px) { .hero-content { padding: 40px 24px; } }
@media (min-width: 1024px) { .hero-content { padding: 60px 40px; } }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,.25);
}

.hero-title {
  font-size: clamp(1.35rem, 5.5vw, 3rem);
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
  line-height: 1.2;
}
.hero-subtitle {
  color: rgba(255,255,255,.88);
  font-size: clamp(.82rem, 2.5vw, 1.05rem);
  margin-bottom: 24px;
  line-height: 1.65;
  /* Limit to 3 lines on mobile to avoid overflow */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero-subtitle { -webkit-line-clamp: unset; overflow: visible; }
}

/* Hero actions: stack on narrow, row on wider */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-actions .btn {
  flex: 1;
  min-width: 130px;
  max-width: 200px;
  justify-content: center;
  white-space: nowrap;
}
@media (max-width: 400px) {
  .hero-actions .btn {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Hero controls */
.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: all .25s;
}
.hero-dot.active { background: #fff; width: 20px; border-radius: 4px; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s;
  width: 38px; height: 38px;
  font-size: .9rem;
}
@media (min-width: 768px) { .hero-arrow { width: 48px; height: 48px; font-size: 1rem; } }
.hero-arrow:hover { background: rgba(255,255,255,.32); }
.hero-prev { left: 10px; }
.hero-next { right: 10px; }
@media (max-width: 360px) {
  .hero-prev { left: 4px; }
  .hero-next { right: 4px; }
}

/* ============================================================
   TRUST BAR
   Flex-wrap so items wrap cleanly on narrow screens instead
   of overflowing. min-width removed — was the overflow cause.
   ============================================================ */
.trust-bar { background: var(--green-dark, #2d5016); padding: 14px 0; }
.trust-items {
  display: grid;
  /* 2 columns on mobile, up to 5 on desktop */
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 640px)  { .trust-items { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .trust-items { grid-template-columns: repeat(5, 1fr); } }

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #fff;
  font-size: .8rem;
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  /* NO min-width — this was the overflow root cause */
}
.trust-item:nth-child(2n) { border-right: none; }
@media (min-width: 640px)  {
  .trust-item { padding: 12px 16px; }
  .trust-item:nth-child(2n)  { border-right: 1px solid rgba(255,255,255,.1); }
  .trust-item:nth-child(3n)  { border-right: none; }
}
@media (min-width: 900px) {
  .trust-item:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.1); }
  .trust-item:last-child     { border-right: none; }
  .trust-item:nth-child(n)   { border-bottom: none; }
}
.trust-item i { font-size: 1.2rem; color: var(--green-muted, #c4d9a0); flex-shrink: 0; }
.trust-item strong { display: block; font-size: .85rem; line-height: 1.2; }
.trust-item span   { color: rgba(255,255,255,.6); font-size: .72rem; display: block; margin-top: 1px; }
/* Hide detail text on very small screens */
@media (max-width: 420px) { .trust-item span { display: none; } }

/* ============================================================
   CATEGORIES GRID
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 3-col on mobile */
  gap: 10px;
}
@media (min-width: 480px)  { .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 768px)  { .categories-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .categories-grid { grid-template-columns: repeat(6, 1fr); gap: 20px; } }

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  border-radius: 10px;
  border: 2px solid var(--border, #e0d8cc);
  text-decoration: none;
  background: #fff;
  transition: all .22s ease;
  overflow: hidden;
  cursor: pointer;
}
@media (min-width: 768px) { .category-card { padding: 24px 14px; border-radius: 12px; } }
.category-card:hover { border-color: var(--green-light, #4a7c1f); transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.1); background: var(--green-pale, #e8f0dc); }
.cat-icon {
  width: 44px; height: 44px;
  background: var(--green-pale, #e8f0dc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--green, #2d5016);
  margin-bottom: 8px;
  transition: all .22s;
  flex-shrink: 0;
}
@media (min-width: 768px) { .cat-icon { width: 58px; height: 58px; font-size: 1.4rem; margin-bottom: 12px; } }
.category-card:hover .cat-icon { background: var(--green, #2d5016); color: #fff; }
.cat-name { font-weight: 700; font-size: .72rem; color: var(--text-dark, #1a1a1a); text-align: center; line-height: 1.3; }
@media (min-width: 768px) { .cat-name { font-size: .85rem; } }
.cat-count { font-size: .65rem; color: var(--text-muted, #666); margin-top: 2px; }

/* ============================================================
   PRODUCTS GRID
   2 columns from 320px → wider as screen grows
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* 2-col minimum */
  gap: 10px;
}
@media (min-width: 640px)  { .products-grid { gap: 14px; } }
@media (min-width: 768px)  { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 900px)  { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .products-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }

.product-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border, #e0d8cc);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
@media (min-width: 768px) { .product-card { border-radius: 12px; } }
@media (hover: hover) {
  .product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,.12); border-color: var(--green-muted, #c4d9a0); }
}
.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--sand-light, #f5f0e8);
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; display: block; }
@media (hover: hover) { .product-card:hover .product-image img { transform: scale(1.05); } }

/* On mobile: quick-add always visible (no hover needed) */
.product-quick-add {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  padding: 24px 10px 10px;
}
@media (hover: hover) {
  /* Desktop: reveal on hover */
  .product-quick-add { transform: translateY(100%); transition: transform .22s ease; }
  .product-card:hover .product-quick-add { transform: translateY(0); }
}
.product-quick-add .btn {
  font-size: .72rem;
  padding: 7px 10px;
  width: 100%;
  justify-content: center;
}
@media (min-width: 640px) { .product-quick-add .btn { font-size: .78rem; padding: 9px 12px; } }

/* Hide action buttons (wishlist/eye) on touch devices — use quick-add instead */
.product-actions {
  position: absolute;
  top: 8px; right: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media (hover: none) { .product-actions { display: none; } }
@media (hover: hover) {
  .product-actions { opacity: 0; transform: translateX(8px); transition: all .22s; }
  .product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
}

.product-info {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .product-info { padding: 14px 16px; } }
.product-category { font-size: .65rem; color: var(--text-muted, #666); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
@media (min-width: 768px) { .product-category { font-size: .72rem; margin-bottom: 6px; } }
.product-name { font-weight: 700; font-size: .8rem; color: var(--text-dark, #1a1a1a); margin-bottom: 6px; line-height: 1.35; flex: 1; }
@media (min-width: 640px) { .product-name { font-size: .88rem; } }
@media (min-width: 768px) { .product-name { font-size: .93rem; margin-bottom: 8px; } }
.product-name a { color: inherit; text-decoration: none; }

.product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.stars { color: #f59e0b; font-size: .7rem; }
@media (min-width: 640px) { .stars { font-size: .78rem; } }
.rating-count { font-size: .65rem; color: var(--text-muted, #666); }

.product-price { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.price-sale    { font-size: .95rem; font-weight: 800; color: var(--green-dark, #1e3a0f); }
.price-regular { font-size: .95rem; font-weight: 800; color: var(--text-dark, #1a1a1a); }
.price-original{ font-size: .75rem; color: var(--text-muted, #666); text-decoration: line-through; }
@media (min-width: 768px) {
  .price-sale { font-size: 1.1rem; }
  .price-regular { font-size: 1.1rem; }
}

.product-footer { border-top: 1px solid var(--border-light, #f0ebe0); padding-top: 9px; }
.product-footer .btn { font-size: .75rem; padding: 8px 10px; }
@media (min-width: 640px) { .product-footer .btn { font-size: .82rem; padding: 9px 14px; } }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.feature-card { padding: 20px 16px; border-radius: 10px; text-align: center; background: #fff; border: 1px solid var(--border, #e0d8cc); transition: all .22s; }
@media (min-width: 768px) { .feature-card { padding: 28px 20px; } }
.feature-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--green-pale, #e8f0dc); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 1.4rem; color: var(--green, #2d5016); }
.feature-card h4 { margin-bottom: 8px; font-size: .95rem; }
.feature-card p { color: var(--text-muted, #666); font-size: .84rem; line-height: 1.65; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) { .testimonials-wrap { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-wrap { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section { padding: 48px 0; }
@media (min-width: 768px) { .newsletter-section { padding: 72px 0; } }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
@media (min-width: 520px) { .newsletter-form { flex-direction: row; justify-content: center; } }
.newsletter-input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .95rem;
  outline: none;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-input:focus { border-color: rgba(255,255,255,.55); }

/* ============================================================
   HEADER
   ============================================================ */
.topbar { background: var(--green-dark, #1e3a0f); padding: 6px 0; }
.topbar-inner { display: flex; justify-content: center; align-items: center; gap: 16px; font-size: .75rem; color: rgba(255,255,255,.8); flex-wrap: wrap; }
.topbar-links { display: flex; gap: 14px; }
.topbar-links a { color: rgba(255,255,255,.75); text-decoration: none; }
@media (max-width: 600px) { .topbar-links { display: none; } }

.header {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light, #f0ebe0);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
  transition: transform .28s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
}
@media (min-width: 768px) { .header-inner { padding: 14px 20px; } }
.header-inner .nav { display: none; }
@media (min-width: 900px) { .header-inner .nav { display: flex; align-items: center; gap: 2px; } }

.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 36px; height: 36px; }
@media (min-width: 768px) { .logo-icon { width: 42px; height: 42px; } }
.logo-text .brand { font-family: var(--font-heading, serif); font-size: 1.25rem; font-weight: 800; color: var(--green-dark, #1e3a0f); line-height: 1; }
@media (min-width: 768px) { .logo-text .brand { font-size: 1.5rem; } }
.logo-text .tagline { font-size: .62rem; color: var(--text-muted, #666); letter-spacing: 1.5px; text-transform: uppercase; display: none; }
@media (min-width: 480px) { .logo-text .tagline { display: block; } }

.header-actions { display: flex; align-items: center; gap: 2px; }
.action-btn {
  position: relative;
  padding: 8px 9px;
  border-radius: 8px;
  color: var(--text-muted, #666);
  font-size: .95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, color .18s;
  min-width: 38px; min-height: 38px;
}
.action-btn:hover { background: var(--green-pale, #e8f0dc); color: var(--green, #2d5016); }
.badge-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--accent, #c8783c);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hamburger { display: flex; flex-direction: column; gap: 4px; padding: 8px; cursor: pointer; border: none; background: none; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text, #333); border-radius: 2px; transition: all .22s; }
@media (min-width: 900px) { .hamburger { display: none; } }

/* Login button in header — show on desktop only */
.header-signin-btn { display: none; }
@media (min-width: 640px) { .header-signin-btn { display: inline-flex; } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section    { padding: 44px 0; }
.section-sm { padding: 28px 0; }
@media (min-width: 768px) { .section { padding: 64px 0; } .section-sm { padding: 40px 0; } }
@media (min-width: 1024px){ .section { padding: 80px 0; } }

.section-title { text-align: center; margin-bottom: .5rem; font-size: clamp(1.4rem, 4vw, 2.2rem); }
.section-subtitle { text-align: center; color: var(--text-muted, #666); margin-bottom: 2rem; font-size: clamp(.85rem, 2vw, 1.05rem); padding: 0 8px; }
@media (min-width: 768px) { .section-subtitle { margin-bottom: 2.8rem; } }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header { background: linear-gradient(135deg, var(--green-dark, #1e3a0f), var(--earth-dark, #5c3d1e)); padding: 36px 0; text-align: center; position: relative; overflow: hidden; }
@media (min-width: 768px) { .page-header { padding: 56px 0; } }
.page-header h1 { color: #fff; font-size: clamp(1.4rem, 4.5vw, 2.4rem); }
.page-header p { color: rgba(255,255,255,.75); font-size: clamp(.82rem, 2vw, 1rem); margin-top: 8px; padding: 0 16px; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-wrap { background: var(--sand-light, #f5f0e8); border-bottom: 1px solid var(--border, #e0d8cc); padding: 11px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.breadcrumb { display: flex; align-items: center; flex-wrap: nowrap; gap: 2px; list-style: none; white-space: nowrap; font-size: .78rem; }
.breadcrumb-item { color: var(--text-muted, #666); }
.breadcrumb-item a { color: var(--green, #2d5016); }
.breadcrumb-item::after { content: '/'; margin: 0 6px; color: var(--text-light, #999); }
.breadcrumb-item:last-child::after { display: none; }
.breadcrumb-item.active { color: var(--text, #333); font-weight: 600; }

/* ============================================================
   SHOP LAYOUT & SIDEBAR
   ============================================================ */
.shop-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 250px 1fr; } }
.sidebar { display: none; }
@media (min-width: 1024px) { .sidebar { display: block; position: sticky; top: 80px; } }
/* Mobile: sidebar as drawer */
.sidebar.mobile-open {
  display: block !important;
  position: fixed;
  top: 0; left: 0;
  width: min(85vw, 300px);
  height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 900;
  background: #fff;
  box-shadow: 4px 0 20px rgba(0,0,0,.2);
  padding: 20px;
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-detail { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .product-detail { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (min-width: 1024px) { .product-detail { gap: 48px; } }
.product-gallery { }
@media (min-width: 768px) { .product-gallery { position: sticky; top: 90px; } }
.gallery-main { border-radius: 10px; overflow: hidden; background: var(--sand-light, #f5f0e8); aspect-ratio: 1/1; margin-bottom: 10px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumb { width: 64px; height: 64px; border-radius: 7px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--sand-light, #f5f0e8); transition: all .2s; flex-shrink: 0; }
@media (min-width: 768px) { .gallery-thumb { width: 74px; height: 74px; } }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--green, #2d5016); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.product-detail-title { font-size: clamp(1.35rem, 3.5vw, 2rem); margin-bottom: 12px; }
.product-detail-price { margin-bottom: 18px; }
.product-detail-price .price-sale    { font-size: clamp(1.3rem, 4vw, 1.75rem); }
.product-detail-price .price-regular { font-size: clamp(1.3rem, 4vw, 1.75rem); }

.product-detail-actions { display: flex; gap: 10px; margin: 20px 0; flex-wrap: wrap; }
.product-detail-actions .btn { flex: 1; min-width: 130px; }
@media (max-width: 400px) { .product-detail-actions .btn { flex: 1 1 100%; min-width: 100%; } }

/* ============================================================
   CART
   ============================================================ */
.cart-layout { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1fr 340px; } }
.cart-table { background: #fff; border: 1px solid var(--border, #e0d8cc); border-radius: 12px; overflow: hidden; }
.cart-table table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.cart-table th { background: var(--sand-light, #f5f0e8); padding: 10px 12px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--text-muted, #666); text-align: left; white-space: nowrap; }
.cart-table td { padding: 12px; border-bottom: 1px solid var(--border-light, #f0ebe0); vertical-align: middle; }
/* Hide qty column on very small screens */
@media (max-width: 380px) {
  .cart-qty-col { display: none; }
}
.cart-product { display: flex; align-items: center; gap: 10px; }
.cart-product-img { width: 60px; height: 60px; border-radius: 7px; object-fit: cover; background: var(--sand-light, #f5f0e8); flex-shrink: 0; }
@media (max-width: 500px) { .cart-product-img { width: 46px; height: 46px; } }
.cart-product-name { font-weight: 700; font-size: .84rem; }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-layout { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .checkout-layout { grid-template-columns: 1.4fr 1fr; } }

/* ============================================================
   USER DASHBOARD
   ============================================================ */
.dashboard-layout { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 900px) { .dashboard-layout { grid-template-columns: 220px 1fr; } }
.dashboard-nav { background: #fff; border: 1px solid var(--border, #e0d8cc); border-radius: 12px; overflow: hidden; }
@media (min-width: 900px) { .dashboard-nav { position: sticky; top: 90px; } }
.dashboard-nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 18px;
  color: var(--text, #333);
  font-size: .88rem;
  text-decoration: none;
  transition: all .18s;
  border-left: 3px solid transparent;
  min-height: 46px;
}
.dashboard-nav-link:hover { background: var(--green-pale, #e8f0dc); color: var(--green, #2d5016); }
.dashboard-nav-link.active { background: var(--green-pale, #e8f0dc); color: var(--green, #2d5016); border-left-color: var(--green, #2d5016); font-weight: 700; }

/* ============================================================
   FORM ROWS — never break layout on mobile
   ============================================================ */
.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 540px) { .form-row { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ============================================================
   TABS
   ============================================================ */
.tabs-nav { display: flex; border-bottom: 2px solid var(--border, #e0d8cc); gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn { padding: 10px 14px; font-size: .82rem; font-weight: 600; color: var(--text-muted, #666); border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; background: none; white-space: nowrap; transition: all .18s; flex-shrink: 0; min-height: 42px; }
.tab-btn.active { color: var(--green, #2d5016); border-bottom-color: var(--green, #2d5016); }
@media (min-width: 640px) { .tab-btn { font-size: .88rem; padding: 12px 18px; } }

/* ============================================================
   ORDER STATUS BADGES
   ============================================================ */
.order-status-badge { display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:50px;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.4px;white-space:nowrap; }
.status-pending         { background:#fef3c7;color:#92400e; }
.status-confirmed       { background:#dbeafe;color:#1e40af; }
.status-processing      { background:#ede9fe;color:#6d28d9; }
.status-shipped         { background:#d1fae5;color:#065f46; }
.status-out_for_delivery{ background:#dcfce7;color:#166534; }
.status-delivered       { background:#d1fae5;color:#065f46; }
.status-cancelled       { background:#fee2e2;color:#991b1b; }
.status-returned        { background:#f3f4f6;color:#374151; }
.status-refunded        { background:#f3f4f6;color:#374151; }

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.whatsapp-float { position:fixed;bottom:20px;right:20px;z-index:990;background:#25d366;color:#fff;width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.4rem;box-shadow:0 4px 16px rgba(37,211,102,.45);transition:all .22s;text-decoration:none; }
.whatsapp-float:hover { transform:scale(1.08);color:#fff; }
.scroll-top { position:fixed;bottom:82px;right:20px;z-index:989;background:var(--green, #2d5016);color:#fff;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 12px rgba(0,0,0,.2);transition:all .22s;opacity:0;pointer-events:none;cursor:pointer;border:none; }
.scroll-top.show { opacity:1;pointer-events:auto; }

/* Footer */
.footer { background:var(--green-dark, #2d5016);color:rgba(255,255,255,.78);padding:48px 0 0; }
@media (min-width: 768px) { .footer { padding: 60px 0 0; } }
.footer-grid { display:grid;grid-template-columns:1fr;gap:28px;margin-bottom:32px; }
@media (min-width: 640px)  { .footer-grid { grid-template-columns:repeat(2,1fr); } }
@media (min-width: 900px)  { .footer-grid { grid-template-columns:1.5fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns:1.5fr 1fr 1fr 1.2fr; } }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1);padding:16px 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;font-size:.78rem; }

/* Empty state */
.empty-state { text-align:center;padding:50px 16px; }
.empty-state i { font-size:3rem;color:var(--text-light, #999);margin-bottom:14px;display:block; }
.empty-state h3 { color:var(--text-muted, #666);margin-bottom:8px; }
.empty-state p { color:var(--text-light, #999);margin-bottom:18px;font-size:.9rem; }

/* Alert */
.alert { padding:12px 16px;border-radius:8px;margin-bottom:16px;display:flex;align-items:flex-start;gap:10px;font-size:.88rem; }
.alert-success { background:#d1fae5;color:#065f46;border-left:4px solid #10b981; }
.alert-error   { background:#fee2e2;color:#991b1b;border-left:4px solid #ef4444; }
.alert-warning { background:#fef3c7;color:#92400e;border-left:4px solid #f59e0b; }
.alert-info    { background:#dbeafe;color:#1e40af;border-left:4px solid #3b82f6; }

/* Divider */
.divider { border:none;border-top:1px solid var(--border, #e0d8cc);margin:20px 0; }

/* Print */
@media print {
  .header,.footer,.whatsapp-float,.scroll-top,.admin-sidebar-wrap,.admin-topbar { display:none!important; }
  .admin-content { margin-left:0!important; }
}
