/* Agri Scientist Lab - Premium CSS Design System */

/* CSS Reset & Variables */
:root {
  --primary: #2A7F4A;
  --primary-dark: #1E5C33;
  --secondary: #97D321;
  --secondary-light: #F4FBE7;
  --dark: #1F2937;
  --dark-light: #4B5563;
  --light: #F9FAFB;
  --white: #FFFFFF;
  
  --bg-green-soft: #F4FAF6;
  --border-color: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-premium: 0 20px 40px rgba(42, 127, 74, 0.08);
  
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-headings: 'Outfit', sans-serif;
  --header-height: 116px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-green-soft);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--dark);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  gap: 8px;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(42, 127, 74, 0.3);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background-color: var(--light);
  border-color: var(--dark-light);
}

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

.btn-danger:hover {
  background-color: #DC2626;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-block {
  width: 100%;
}

.primary-color {
  color: var(--primary) !important;
}

/* Layout Header (Glassmorphic) */
#main-header {
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 127, 74, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  height: 80px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  cursor: pointer;
}

.header-logo {
  height: 48px;
  object-fit: contain;
}

/* Desktop Navigation */
.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-item {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 16px;
  color: var(--dark-light);
  position: relative;
  padding: 8px 0;
}

.nav-item:hover, .nav-item.active {
  color: var(--primary);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2.5px;
  background-color: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: var(--light);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2px 4px 2px 14px;
  max-width: 260px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--dark);
  width: 100%;
}

.search-box button {
  background-color: var(--primary);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.search-box button:hover {
  background-color: var(--primary-dark);
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--dark);
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background-color: var(--light);
  color: var(--primary);
}

.lang-btn {
  width: auto !important;
  padding: 0 8px;
  gap: 4px;
}

.badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: var(--secondary);
  color: #1B5E20;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.admin-btn {
  font-size: 16px;
  width: auto;
  height: auto;
  border-radius: 8px;
  padding: 6px 12px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  gap: 6px;
  font-family: var(--font-headings);
}

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

/* Mobile Nav Menu Toggle */
.mobile-only {
  display: none;
}

.mobile-nav-panel {
  display: block;
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
  color: var(--dark-light);
}

.mobile-nav-item.active, .mobile-nav-item:hover {
  color: var(--primary);
}

/* Main Display Container */
main#app-content {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height) - 300px);
}

/* Drawer UI (Cart & Wishlist) */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 420px;
  max-width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 1200;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer.active {
  right: 0;
}

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

.drawer-header h3 {
  font-size: 20px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--dark-light);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background-color: var(--light);
  color: #EF4444;
}

.drawer-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
}

.drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background-color: var(--light);
}

/* Shipping Progress Bar */
.shipping-progress-container {
  padding: 12px 24px 0 24px;
}

.shipping-text {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark-light);
}

.shipping-text span {
  color: var(--primary);
  font-weight: 700;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background-color: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transition: width 0.4s ease;
}

/* Drawer Cart/Wishlist items */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--dark-light);
  gap: 16px;
}

.empty-state i {
  font-size: 48px;
  color: var(--border-color);
}

.drawer-item {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.drawer-item-img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  background-color: var(--light);
  padding: 4px;
  object-fit: contain;
  border: 1px solid var(--border-color);
}

.drawer-item-details {
  flex-grow: 1;
}

.drawer-item-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.drawer-item-price {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
}

.drawer-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.qty-btn:hover {
  background-color: var(--light);
}

.qty-val {
  font-size: 13px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.remove-item-btn {
  background: none;
  border: none;
  color: #EF4444;
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.remove-item-btn:hover {
  text-decoration: underline;
}

.subtotal-row, .total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.tax-row, .shipping-row {
  color: var(--dark-light);
  font-size: 13px;
}

.total-row {
  font-size: 18px;
  font-weight: 800;
  border-top: 1px dashed var(--border-color);
  padding-top: 12px;
  margin-top: 12px;
  margin-bottom: 20px;
}

/* Modals General (Checkout, QuickView) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--dark-light);
  z-index: 10;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background-color: #FEE2E2;
  color: #EF4444;
}

.modal-body {
  padding: 32px;
}

/* HOME PAGE STYLING */

/* Hero Banner Slider */
.hero-slider {
  height: 500px;
  background-color: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(27, 94, 32, 0.9) 30%, rgba(27, 94, 32, 0.4) 100%);
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  color: var(--white);
}

.slide-content h2 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.slide-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #E8F5E9;
  max-width: 600px;
}

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

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-dot.active {
  background-color: var(--secondary);
  transform: scale(1.25);
  width: 24px;
  border-radius: 6px;
}

/* Category grid section */
.section-title-wrapper {
  max-width: 1200px;
  margin: 60px auto 30px auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.section-title-wrapper h2 {
  font-size: 28px;
  position: relative;
  padding-bottom: 8px;
}

.section-title-wrapper h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.categories-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-card i {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 12px;
}

.category-card h3 {
  font-size: 15px;
  font-weight: 700;
}

/* Feature grid products */
.products-container {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 24px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Product Card Styling */
.product-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(42, 127, 74, 0.2);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--secondary);
  color: #1B5E20;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 5;
  box-shadow: var(--shadow-sm);
}

.product-card-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(255,255,255,0.9);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark-light);
  font-size: 16px;
  z-index: 5;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.product-card-wishlist:hover {
  background-color: var(--white);
  color: #EF4444;
  transform: scale(1.1);
}

.product-card-wishlist.active {
  color: #EF4444;
}

.product-card-img-wrapper {
  height: 220px;
  background-color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

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

.product-card-quickview {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  background-color: rgba(42, 127, 74, 0.95);
  color: var(--white);
  border: none;
  padding: 10px 0;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  z-index: 4;
  transition: bottom 0.3s ease;
}

.product-card:hover .product-card-quickview {
  bottom: 0;
}

.product-card-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.product-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}

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

.rating-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #FBBF24;
  font-size: 12px;
  margin-bottom: 12px;
}

.rating-stars span {
  color: var(--dark-light);
  font-size: 12px;
  margin-left: 4px;
  font-weight: 500;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.product-price-wrapper {
  display: flex;
  flex-direction: column;
}

.original-price {
  font-size: 12px;
  text-decoration: line-through;
  color: var(--dark-light);
}

.sale-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
}

.add-to-cart-btn {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
}

.add-to-cart-btn.out-of-stock {
  background-color: var(--border-color);
  color: var(--dark-light);
  cursor: not-allowed;
}

/* Quick View Detail Layout */
.product-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.details-img-area {
  background-color: var(--light);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.details-img-area img {
  max-width: 100%;
  max-height: 350px;
  object-fit: contain;
}

.details-info-area h2 {
  font-size: 26px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.details-info-area .category-label {
  display: inline-block;
  background-color: var(--secondary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.details-price-row {
  margin: 16px 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.details-price-row .sale-price {
  font-size: 28px;
}

.details-price-row .original-price {
  font-size: 16px;
}

.details-stock-status {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stock-in {
  color: var(--primary);
}

.stock-low {
  color: #F59E0B;
}

.stock-out {
  color: #EF4444;
}

.details-desc {
  color: var(--dark-light);
  font-size: 14px;
  margin-bottom: 24px;
}

.details-tabs {
  margin-bottom: 24px;
}

.tab-headers {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
  gap: 20px;
}

.tab-btn {
  background: none;
  border: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--dark-light);
  cursor: pointer;
  padding-bottom: 8px;
  position: relative;
}

.tab-btn.active {
  color: var(--primary);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 1.5px;
}

.tab-content-panel {
  display: none;
  font-size: 13.5px;
  color: var(--dark-light);
  white-space: pre-line;
}

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

.details-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  height: 48px;
  background-color: var(--white);
}

.qty-selector button {
  width: 40px;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.qty-selector button:hover {
  background-color: var(--light);
}

.qty-selector input {
  width: 48px;
  height: 100%;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  outline: none;
}

/* SHOP CATALOG VIEW */
.shop-view-grid {
  max-width: 1400px;
  margin: 40px auto 80px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  max-width: 1200px;
  margin: 40px auto 80px auto;
  padding: 0 24px;
}

/* Sidebar filter */
.filter-sidebar {
  background-color: var(--white);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-color);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.filter-group {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-light);
}

.category-filter-item:hover, .category-filter-item.active {
  color: var(--primary);
  font-weight: 700;
}

.price-range-inputs {
  display: flex;
  gap: 12px;
}

.price-range-inputs input {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  font-size: 13px;
  outline: none;
}

.price-range-inputs input:focus {
  border-color: var(--primary);
}

.shop-main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  background-color: var(--white);
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.shop-main-header h1 {
  font-size: 22px;
}

.shop-sort-select {
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  outline: none;
  font-weight: 600;
  font-size: 14px;
}

.shop-sort-select:focus {
  border-color: var(--primary);
}

/* CHECKOUT FRAME & INTERACTIVES */
.checkout-container {
  max-width: 800px;
  margin: 0 auto;
}

.checkout-steps-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.step-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--border-color);
  font-weight: 600;
}

.step-nav-item.active {
  color: var(--primary);
}

.step-nav-item.completed {
  color: var(--secondary);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  background-color: var(--white);
}

.step-nav-item.active .step-number {
  background-color: var(--primary);
  color: var(--white);
}

.step-nav-item.completed .step-number {
  background-color: var(--secondary);
  color: #1B5E20;
}

.step-nav-line {
  flex-grow: 1;
  height: 2px;
  background-color: var(--border-color);
  margin: 0 16px;
  transform: translateY(-12px);
}

.step-nav-item.completed + .step-nav-line {
  background-color: var(--secondary);
}

.checkout-frame {
  display: none;
}

.checkout-frame.active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.col-12 { grid-column: span 12; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-light);
}

.form-group input, .form-group textarea {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  outline: none;
  font-family: inherit;
  font-size: 14px;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea {
  height: 100px;
  resize: vertical;
}

.checkout-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.flex-center {
  justify-content: center;
  gap: 16px;
}

/* Payment Selectors */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.payment-option input {
  display: none;
}

.payment-option-card {
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  transition: all 0.2s ease;
}

.payment-option-card i {
  font-size: 24px;
  color: var(--dark-light);
}

.payment-option-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.payment-option-card p {
  font-size: 11px;
  color: var(--dark-light);
  line-height: 1.3;
}

.payment-option input:checked + .payment-option-card {
  border-color: var(--primary);
  background-color: var(--secondary-light);
}

.payment-option input:checked + .payment-option-card i {
  color: var(--primary);
}

.payment-simulator-area {
  background-color: var(--light);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border-color);
}

.upi-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.qr-placeholder {
  background-color: var(--white);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  color: var(--dark);
}

.card-inputs-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

/* Invoice Printing Layout */
.success-header {
  text-align: center;
  margin-bottom: 24px;
}

.success-icon {
  font-size: 48px;
  color: var(--secondary);
  margin-bottom: 8px;
}

.invoice-box {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  background-color: var(--white);
  font-family: monospace;
  font-size: 13px;
  color: #333;
}

.invoice-header {
  text-align: center;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.invoice-header h4 {
  font-size: 18px;
  font-family: monospace;
}

.invoice-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.invoice-divider {
  border-top: 1px dashed var(--border-color);
  margin: 12px 0;
}

.invoice-total {
  font-weight: 700;
  font-size: 15px;
}

/* ABOUT US, VISION, MISSION */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}

.about-hero h1 {
  color: var(--white);
  font-size: 40px;
  margin-bottom: 12px;
}

.about-hero p {
  font-size: 18px;
  color: #E8F5E9;
  max-width: 600px;
  margin: 0 auto;
}

.about-content-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 24px;
}

.about-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.about-card h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-card p {
  color: var(--dark-light);
  margin-bottom: 16px;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.vision-card, .mission-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
}

.vision-card i, .mission-card i {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 16px;
  background-color: var(--bg-green-soft);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vision-card h3, .mission-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

/* BLOGS VIEW */
.blogs-header {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}

.blogs-header h1 {
  color: var(--white);
  font-size: 36px;
}

.blogs-grid-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 24px;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

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

.blog-card-img-wrapper {
  height: 200px;
  overflow: hidden;
  background-color: var(--light);
}

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

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

.blog-card-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: 12px;
  color: var(--dark-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card-title {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.blog-card-summary {
  color: var(--dark-light);
  font-size: 14px;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.blog-card-readmore {
  margin-top: auto;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.blog-card-readmore:hover {
  color: var(--primary-dark);
}

/* Single Blog Page */
.single-blog-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 24px;
}

.single-blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.single-blog-header h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.single-blog-meta {
  display: flex;
  gap: 24px;
  color: var(--dark-light);
  font-size: 14px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.single-blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-blog-cover {
  width: 100%;
  max-height: 400px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}

.single-blog-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--dark);
}

.single-blog-content h3 {
  font-size: 22px;
  margin: 32px 0 16px 0;
}

.single-blog-content p {
  margin-bottom: 20px;
}

.single-blog-content ul, .single-blog-content ol {
  margin-left: 24px;
  margin-bottom: 20px;
}

.single-blog-content li {
  margin-bottom: 8px;
}

/* POLICIES TABS VIEW */
.policies-container {
  max-width: 1100px;
  margin: 40px auto 80px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}

.policies-sidebar {
  background-color: var(--white);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border-color);
  height: fit-content;
}

.policies-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--dark-light);
  cursor: pointer;
  margin-bottom: 6px;
  transition: all 0.2s ease;
}

.policies-nav-item:last-child {
  margin-bottom: 0;
}

.policies-nav-item:hover, .policies-nav-item.active {
  background-color: var(--secondary-light);
  color: var(--primary-dark);
}

.policies-content-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.policies-content-panel {
  display: none;
}

.policies-content-panel.active {
  display: block;
}

.policies-content-panel h2 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
}

.policies-content-panel h3 {
  font-size: 16px;
  margin: 24px 0 12px 0;
}

.policies-content-panel p {
  color: var(--dark-light);
  margin-bottom: 16px;
  font-size: 14.5px;
}

/* ADMIN PORTAL */

/* Admin Login view */
.admin-login-wrapper {
  max-width: 420px;
  margin: 100px auto;
  padding: 0 24px;
}

.admin-login-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  text-align: center;
}

.admin-login-card h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.admin-login-card p {
  color: var(--dark-light);
  font-size: 14px;
  margin-bottom: 24px;
}

.admin-login-card form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-login-error {
  background-color: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #DC2626;
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

/* Admin Dashboard view */
.admin-dashboard-container {
  max-width: 1400px;
  margin: 40px auto 80px auto;
  padding: 0 24px;
}

.admin-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.admin-dashboard-header h1 {
  font-size: 28px;
}

.admin-nav-tabs {
  display: flex;
  gap: 16px;
}

.admin-tab-btn {
  background: none;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--dark-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  background-color: var(--light);
}

.admin-tab-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.metric-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-info h3 {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--dark-light);
  margin-bottom: 6px;
  font-weight: 700;
}

.metric-info p {
  font-size: 24px;
  font-weight: 800;
}

.metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: var(--bg-green-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.metric-card.warning-card .metric-icon {
  background-color: #FEE2E2;
  color: #EF4444;
}

.admin-panels {
  background-color: var(--white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.admin-panel-content {
  display: none;
}

.admin-panel-content.active {
  display: block;
}

.panel-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.panel-header-row h2 {
  font-size: 20px;
}

/* Admin Grids & Tables */
.admin-table-wrapper {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.admin-table th, .admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  background-color: var(--light);
  font-weight: 700;
  color: var(--dark-light);
}

.admin-table tr:hover {
  background-color: var(--bg-green-soft);
}

.table-actions {
  display: flex;
  gap: 8px;
}

.table-action-btn {
  background: none;
  border: 1px solid var(--border-color);
  width: 30px;
  height: 30px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--dark-light);
  transition: all 0.2s ease;
}

.table-action-btn:hover {
  background-color: var(--light);
  color: var(--primary);
  border-color: var(--primary);
}

.table-action-btn.delete-btn:hover {
  color: #EF4444;
  border-color: #EF4444;
  background-color: #FEE2E2;
}

.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-pending { background-color: #FEF3C7; color: #D97706; }
.status-paid { background-color: #D1FAE5; color: #059669; }
.status-shipped { background-color: #DBEAFE; color: #2563EB; }
.status-delivered { background-color: #D1FAE5; color: #059669; }

.order-items-summary {
  font-size: 12px;
  color: var(--dark-light);
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Toast Notifications styling */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background-color: var(--white);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.toast.active {
  transform: translateX(0);
}

.toast-success {
  border-left-color: var(--primary);
}

.toast-info {
  border-left-color: #3b82f6;
}

.toast-error {
  border-left-color: #ef4444;
}

.toast i {
  font-size: 18px;
}

.toast-success i { color: var(--primary); }
.toast-info i { color: #3b82f6; }
.toast-error i { color: #ef4444; }

.toast-content {
  font-size: 13.5px;
  font-weight: 600;
}

/* Footer styling */
#main-footer {
  background-color: #122C1A; /* Deep dark green */
  color: #E8F5E9;
  padding: 60px 0 0 0;
  margin-top: 80px;
  border-top: 4px solid var(--secondary);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 50px 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
}

.footer-widget h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 1.5px;
}

/* Top Bar styling */
.top-bar {
  background-color: #122C1A; /* Deep dark forest green */
  color: #E8F5E9;
  font-size: 13px;
  height: 36px;
  border-bottom: 1.5px solid rgba(151, 211, 33, 0.2);
}

.top-bar-container {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-social {
  display: flex;
  gap: 16px;
}

.top-bar-social a {
  color: #A5D6A7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  width: 24px;
  height: 24px;
}

.top-bar-social a:hover {
  color: var(--secondary);
}

.top-bar-info {
  display: flex;
  gap: 16px;
  align-items: center;
}

.top-bar-info a {
  color: #A5D6A7;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.top-bar-info a:hover {
  color: var(--secondary);
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.15);
}

.top-bar-bulk-notice {
  color: var(--secondary); /* themed green #97D321 */
  font-weight: 700;
  margin-right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: pulse-notice 2s infinite alternate;
}

@keyframes pulse-notice {
  0% { opacity: 0.85; }
  100% { opacity: 1; filter: drop-shadow(0 0 2px var(--secondary)); }
}

@media (max-width: 992px) {
  .top-bar-bulk-notice {
    display: none;
  }
}

/* Contact Us Page styles */
.contact-details-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#contact-us-form textarea {
  resize: vertical;
  min-height: 120px;
}

.footer-about .footer-logo {
  height: 50px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1); /* makes the dark logo white so it stands out on green background */
}

.footer-about p {
  font-size: 14px;
  line-height: 1.6;
  color: #A5D6A7;
  margin-bottom: 20px;
}

.msme-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(151, 211, 33, 0.15);
  color: var(--secondary);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(151, 211, 33, 0.3);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: #A5D6A7;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 6px;
}

.footer-newsletter p {
  font-size: 14px;
  color: #A5D6A7;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 4px;
}

.newsletter-form input {
  flex-grow: 1;
  background: none;
  border: none;
  outline: none;
  padding: 10px 14px;
  color: var(--white);
  font-size: 14px;
  width: 100%;
}

.newsletter-form input::placeholder {
  color: #81C784;
}

.newsletter-form button {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.newsletter-form button:hover {
  background-color: var(--primary-dark);
  color: var(--secondary);
}

.newsletter-status {
  font-size: 12px;
  margin-top: 8px;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #0E2214; /* Slightly darker than upper footer */
  padding: 24px 0;
}

.footer-bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #81C784;
}

.payment-gateways {
  display: flex;
  gap: 16px;
  font-size: 20px;
  color: #A5D6A7;
}

.payment-gateways i:hover {
  color: var(--secondary);
}

/* Mobile responsive styles */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .shop-view-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-sidebar {
    position: static;
    margin-bottom: 24px;
  }
  
  .policies-container {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-container {
    justify-content: center;
    padding: 0 12px;
  }
  
  .top-bar-social {
    display: none;
  }
  
  .top-bar-info {
    font-size: 11.5px;
    gap: 8px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .desktop-nav {
    display: none;
  }
  
  .mobile-only {
    display: flex;
  }
  
  .desktop-only {
    display: none;
  }
  
  .slide-content h2 {
    font-size: 32px;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blogs-grid {
    grid-template-columns: 1fr;
  }
  
  .product-details-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .admin-nav-tabs {
    flex-wrap: wrap;
  }
  
  .header-actions .search-box {
    display: none;
  }
  
  .header-container {
    padding: 0 16px;
    height: 70px;
  }
  
  .header-logo {
    height: 38px;
  }
  
  .header-actions {
    gap: 8px;
  }
  
  .action-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  
  #wishlist-toggle-btn,
  #lang-switch-btn {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .header-actions .search-box {
    display: none;
  }
  
  .admin-metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }

  .col-6, .col-4 {
    grid-column: span 12;
  }
}

/* About Founder Page Styles */
.founder-view-container {
  max-width: 1100px;
  margin: 50px auto 100px auto;
  padding: 0 24px;
}

.founder-intro-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 45px;
}

.founder-profile-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.founder-avatar-box {
  width: 120px;
  height: 120px;
  background-color: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: var(--primary);
  font-size: 56px;
  border: 3px solid var(--secondary);
}

.founder-profile-card h2 {
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--dark);
}

.founder-title {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.founder-subtitle {
  color: var(--dark-light);
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 24px;
}

.founder-contact-info {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  font-size: 13px;
}

.founder-contact-info .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark-light);
}

.founder-contact-info .contact-item i {
  color: var(--primary);
  width: 16px;
}

.founder-contact-info .contact-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.founder-contact-info .contact-item a:hover {
  text-decoration: underline;
}

.founder-bio-text {
  background-color: var(--white);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.founder-bio-text h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 16px;
}

.founder-bio-text p {
  color: var(--dark-light);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.founder-credentials-badge {
  display: flex;
  gap: 16px;
  background-color: var(--light);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  margin-top: 24px;
}

.founder-credentials-badge .badge-icon {
  font-size: 28px;
  color: var(--primary);
  margin-top: 2px;
}

.founder-credentials-badge strong {
  font-size: 14px;
  color: var(--dark);
  display: block;
  margin-bottom: 4px;
}

.founder-credentials-badge p {
  font-size: 12.5px;
  line-height: 1.4;
  margin-bottom: 0;
  color: var(--dark-light);
}

.founder-highlight-card {
  border-left: 6px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.founder-highlight-card .highlight-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--secondary-light);
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.founder-highlight-card .highlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.founder-highlight-card h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
}

.founder-highlight-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--dark-light);
  margin-bottom: 20px;
}

.founder-highlight-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.founder-highlight-card ul li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--dark-light);
  align-items: flex-start;
}

.founder-highlight-card ul li i {
  color: var(--primary);
  margin-top: 3px;
}

.highlight-stats-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: var(--light);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.highlight-stats-box .stat-unit {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.highlight-stats-box .stat-unit .number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.highlight-stats-box .stat-unit .label {
  font-size: 11px;
  color: var(--dark-light);
  font-weight: 600;
  text-transform: uppercase;
}

.founder-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.founder-metrics-grid .metric-box {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
}

.founder-metrics-grid .metric-box:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.founder-metrics-grid .metric-box i {
  font-size: 24px;
  color: var(--primary);
}

.founder-metrics-grid .metric-box .metric-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
}

.founder-metrics-grid .metric-box .metric-label {
  font-size: 12.5px;
  color: var(--dark-light);
  font-weight: 600;
}

.timeline-wrapper {
  overflow-x: auto;
}

.timeline-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.timeline-table th {
  padding: 12px 16px;
  background-color: var(--light);
  font-weight: 700;
  font-size: 13px;
  color: var(--dark);
  text-transform: uppercase;
  border-bottom: 2px solid var(--border-color);
}

.timeline-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 13.5px;
  vertical-align: top;
}

.timeline-table tr:hover td {
  background-color: var(--light-light);
}

.year-badge {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  display: inline-block;
  box-shadow: var(--shadow-sm);
}

/* Founder page responsiveness */
@media (max-width: 900px) {
  .founder-intro-row {
    grid-template-columns: 1fr;
  }
  .founder-profile-card {
    position: static;
  }
  .founder-highlight-card .highlight-grid {
    grid-template-columns: 1fr;
  }
  .founder-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Navigation Dropdown Sub-menu Styles */
.desktop-nav ul li.dropdown {
  position: relative;
}

.desktop-nav .dropdown-toggle i {
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.desktop-nav li.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.desktop-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-premium);
  min-width: 170px;
  z-index: 100;
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Glassmorphism drop effect pointer */
.desktop-nav .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--white);
  border-left: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
}

.desktop-nav li.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.desktop-nav .dropdown-menu li {
  width: 100%;
  margin: 0;
}

.desktop-nav .dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.desktop-nav .dropdown-menu li a:hover {
  background-color: var(--light);
  color: var(--primary);
  padding-left: 24px;
}

/* Mobile Submenu styles */
.mobile-dropdown {
  display: block;
  width: 100%;
}

.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-arrow {
  transition: transform 0.3s ease;
}

.mobile-submenu {
  margin-top: 4px;
  margin-bottom: 8px;
  border-left: 2px solid var(--primary-light);
}

.mobile-submenu li a {
  padding: 10px 16px;
  font-size: 14px;
}

.mobile-dropdown-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Single Product Detail View Styles */
.single-product-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px 24px;
}

.single-product-container .details-img-area {
  background-color: var(--white);
  border-radius: 16px;
  min-height: 480px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.single-product-container .details-img-area:hover {
  box-shadow: var(--shadow-md);
}

.single-product-container .details-img-area img {
  max-height: 400px;
  transition: transform 0.5s ease;
}

.single-product-container .details-img-area:hover img {
  transform: scale(1.03);
}

/* Packet Size Variant Selectors */
.size-selector-wrap {
  margin-bottom: 24px;
}

.size-selector-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-light);
  display: block;
  margin-bottom: 8px;
}

.size-pills {
  display: flex;
  gap: 12px;
}

.size-pill {
  padding: 10px 18px;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--white);
  color: var(--dark-light);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.size-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--light);
}

.size-pill.active {
  border-color: var(--primary);
  background-color: var(--secondary-light);
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

/* Image zoom adjustments */
.details-img-area {
  overflow: hidden !important;
  position: relative;
  transition: border-color 0.3s ease;
}

.details-img-area img {
  transition: transform 0.1s ease-out; /* Snappy tracking for relative coordinates pan zoom */
}

/* CHECKOUT GRID & SUMMARY SIDEBAR */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: start;
  margin-top: 20px;
}

.checkout-frames {
  min-width: 0; /* Prevents flex/grid blowouts */
}

.checkout-modal-box {
  max-width: 1100px;
}

.checkout-summary-sidebar {
  background-color: var(--light);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border-color);
  position: sticky;
  top: 0;
}

.checkout-summary-title {
  font-size: 18px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--dark);
  border-bottom: 2px solid var(--secondary-light);
  padding-bottom: 10px;
}

.checkout-summary-items {
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 5px;
}

.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-summary-item-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.checkout-summary-item-info {
  flex-grow: 1;
}

.checkout-summary-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
  line-height: 1.2;
}

.checkout-summary-item-meta {
  font-size: 11px;
  color: var(--dark-light);
}

.checkout-summary-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.checkout-summary-divider {
  border-top: 1px solid var(--border-color);
  margin: 16px 0;
}

/* Coupon Widget */
.coupon-widget {
  margin-bottom: 10px;
}

.coupon-input-group {
  display: flex;
  gap: 8px;
}

.coupon-input-group input {
  flex-grow: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 13px;
  text-transform: uppercase;
}

.coupon-input-group input:focus {
  border-color: var(--primary);
  outline: none;
}

.coupon-status-msg {
  font-size: 12px;
  margin-top: 6px;
  font-weight: 600;
}

.coupon-status-msg.success {
  color: var(--primary);
}

.coupon-status-msg.error {
  color: #c62828;
}

.active-coupon-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--secondary-light);
  border: 1px dashed var(--primary);
  color: #1b5e20;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.active-coupon-badge button {
  background: none;
  border: none;
  color: #c62828;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.active-coupon-badge button:hover {
  text-decoration: underline;
}

/* Pricing lines */
.checkout-summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--dark-light);
}

.checkout-summary-line.total {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.checkout-summary-line.discount-line {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
}

/* HOME PAGE ABOUT & FOUNDER & BLOG SECTIONS */
.home-about-section {
  background: linear-gradient(135deg, var(--bg-green-soft) 0%, #E8F5E9 100%);
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.home-about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.home-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--secondary-light);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  margin-bottom: 16px;
  border: 1px solid rgba(42, 127, 74, 0.15);
}

.home-about-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--dark);
}

.home-about-content p {
  color: var(--dark-light);
  margin-bottom: 16px;
  font-size: 15.5px;
}

.home-about-image {
  display: flex;
  justify-content: center;
}

.home-about-logo-wrapper {
  background-color: var(--white);
  padding: 30px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  transition: all 0.3s ease;
}

.home-about-logo-wrapper:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.home-about-logo-wrapper img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

/* Home Founder Section */
.home-founder-section {
  background-color: var(--white);
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.home-founder-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.home-founder-content h2 {
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--dark);
}

.home-founder-name {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 8px;
}

.home-founder-title-badge {
  display: inline-block;
  font-weight: 700;
  color: var(--dark-light);
  margin-bottom: 16px;
  font-size: 14px;
}

.home-founder-content p {
  color: var(--dark-light);
  margin-bottom: 16px;
  font-size: 15.5px;
}

.home-founder-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.home-founder-avatar-box {
  width: 180px;
  height: 180px;
  background-color: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 80px;
  border: 4px solid var(--secondary);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.home-founder-avatar-box:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

.home-founder-patent-badge {
  background-color: var(--primary);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.home-blogs-section {
  padding-bottom: 60px;
}

/* Home Page Media Queries */
@media (max-width: 768px) {
  .home-about-container {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
    text-align: center;
    align-items: center;
  }
  
  .home-about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .home-founder-container {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
    text-align: center;
    align-items: center;
  }
  
  .home-founder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Storefront Product details thumbnail gallery styles */
.detail-gallery-thumbnails {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 12px;
}

.detail-thumbnail {
  width: 72px;
  height: 72px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.detail-thumbnail:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.detail-thumbnail.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.detail-thumbnail img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* WYSIWYG Blog Editor */
.wysiwyg-editor-container {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--white);
  margin-top: 8px;
  display: flex;
  flex-direction: column;
}

.wysiwyg-toolbar {
  background-color: var(--light);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.wysiwyg-btn {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark-light);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  min-height: 32px;
}

.wysiwyg-btn:hover {
  background-color: var(--bg-green-soft);
  color: var(--primary);
  border-color: var(--primary);
}

.wysiwyg-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.wysiwyg-content {
  padding: 16px 20px;
  min-height: 300px;
  max-height: 500px;
  overflow-y: auto;
  outline: none;
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark);
}

.wysiwyg-content[placeholder]:empty:before {
  content: attr(placeholder);
  color: #a0aec0;
  cursor: text;
}

.wysiwyg-content h2 {
  font-size: 20px;
  margin: 18px 0 10px 0;
  color: var(--dark);
}

.wysiwyg-content h3 {
  font-size: 17px;
  margin: 16px 0 8px 0;
  color: var(--dark);
}

.wysiwyg-content p {
  margin-bottom: 12px;
}

.wysiwyg-content ul, .wysiwyg-content ol {
  margin-left: 20px;
  margin-bottom: 12px;
}

.wysiwyg-content li {
  margin-bottom: 4px;
}

/* User Profile Portal Styling */
.profile-container {
  display: flex;
  gap: 30px;
  padding: 40px 24px;
  margin-top: 20px;
}

.profile-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.profile-user-card {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.profile-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--secondary-light);
  color: var(--primary);
  font-size: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 2px solid var(--border-color);
}

.profile-username {
  font-size: 18px;
  margin-bottom: 4px;
}

.profile-useremail {
  font-size: 12px;
  color: var(--dark-light);
}

.profile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-light);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.profile-nav-btn:hover {
  background: var(--light);
  color: var(--primary);
}

.profile-nav-btn.active {
  background: var(--primary);
  color: var(--white);
}

.profile-content-area {
  flex-grow: 1;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  min-height: 500px;
}

.profile-welcome-banner {
  background: linear-gradient(135deg, var(--primary), #1B5E20);
  padding: 30px;
  border-radius: 12px;
  color: var(--white);
  text-align: left;
  margin-bottom: 24px;
}

.profile-welcome-banner h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.profile-welcome-banner p {
  color: #C8E6C9;
  font-size: 14px;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.profile-stat-card {
  background: var(--light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.profile-stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--secondary-light);
  color: var(--primary);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-stat-card .stat-details h4 {
  font-size: 24px;
  margin: 0;
  line-height: 1;
}

.profile-stat-card .stat-details p {
  margin: 4px 0 0 0;
  font-size: 12px;
  color: var(--dark-light);
}

.profile-recent-activity {
  text-align: left;
}

.profile-recent-activity h3 {
  font-size: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.activity-card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.activity-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 8px;
  flex-shrink: 0;
}

.activity-text {
  font-size: 13px;
  color: var(--dark-light);
}

/* Order Tracking Stepper Styling */
.tracking-stepper-card {
  background: var(--light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 24px;
}

.tracking-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.step-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  position: relative;
  width: 100px;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--dark-light);
  transition: all 0.3s ease;
}

.step-title {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark-light);
  text-align: center;
}

.step-col.active .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 0 12px rgba(42, 127, 74, 0.3);
}

.step-col.active .step-title {
  color: var(--primary);
}

.step-line {
  flex-grow: 1;
  height: 4px;
  background-color: var(--border-color);
  z-index: 1;
  margin: 0 -25px;
  margin-top: -22px;
  transition: all 0.3s ease;
}

.step-line.active {
  background-color: var(--primary);
}

/* User Account Page Layout Responsiveness */
@media (max-width: 992px) {
  .profile-container {
    flex-direction: column;
  }
  .profile-sidebar {
    width: 100%;
  }
  .profile-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .profile-stats-grid {
    grid-template-columns: 1fr;
  }
  .tracking-stepper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding-left: 20px;
  }
  .tracking-stepper .step-line {
    display: none;
  }
  .step-col {
    flex-direction: row;
    width: 100%;
    gap: 16px;
    text-align: left;
  }
  .step-title {
    margin: 0;
  }
}

/* ====================================================
   ADMIN SIDEBAR & RESPONSIVENESS OVERRIDES
   ==================================================== */

/* Layout Framework */
.admin-dashboard-layout {
  display: flex;
  min-height: 100vh;
  background-color: var(--light);
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

/* Sidebar styling */
.admin-sidebar {
  width: 280px;
  background-color: var(--white);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-sidebar-brand {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
}

.admin-sidebar-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.admin-sidebar-brand h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark-dark);
  margin: 0;
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

.admin-sidebar-brand p {
  font-size: 11px;
  color: var(--dark-light);
  margin: 3px 0 0 0;
}

.admin-sidebar-nav {
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
  overflow-y: auto;
}

.admin-sidebar-nav .admin-tab-btn {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: none;
  background: transparent;
  border-radius: 8px;
  justify-content: flex-start;
  color: var(--dark-light);
  font-weight: 600;
  transition: all 0.2s ease;
}

.admin-sidebar-nav .admin-tab-btn i {
  width: 20px;
  font-size: 15px;
  text-align: center;
}

.admin-sidebar-nav .admin-tab-btn:hover {
  background-color: var(--light);
  color: var(--primary);
}

.admin-sidebar-nav .admin-tab-btn.active {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(42, 127, 74, 0.15);
}

.admin-sidebar-nav .admin-logout-btn-nav {
  margin-top: auto;
  border: 1px solid #fee2e2;
  background-color: #fff5f5;
  color: #ef4444 !important;
}

.admin-sidebar-nav .admin-logout-btn-nav:hover {
  background-color: #fef2f2;
  color: #dc2626 !important;
  border-color: #fca5a5;
}

/* Main Dashboard Panel Body content */
.admin-main-content {
  flex-grow: 1;
  margin-left: 280px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background-color: var(--light);
}

/* Mobile top bar (hidden on desktop screens) */
.admin-mobile-header {
  display: none;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 20px;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 900;
  width: 100%;
}

.admin-mobile-header h2 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  color: var(--dark-dark);
}

.admin-mobile-header button {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--dark-dark);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.admin-mobile-header button:active {
  transform: scale(0.9);
}

#admin-mobile-logout-btn {
  color: #ef4444;
}

/* Responsive Overrides */
@media (max-width: 1200px) {
  .admin-sidebar {
    width: 250px;
  }
  .admin-main-content {
    margin-left: 250px;
    padding: 30px;
  }
}

@media (max-width: 992px) {
  .admin-sidebar {
    transform: translateX(-100%);
    width: 260px;
    box-shadow: none;
  }
  
  .admin-sidebar.active {
    transform: translateX(0);
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
  }
  
  .admin-main-content {
    margin-left: 0;
    padding: 24px;
  }
  
  .admin-mobile-header {
    display: flex;
  }
}

@media (max-width: 768px) {
  .admin-main-content {
    padding: 16px;
  }
  
  .admin-panels {
    padding: 20px;
  }
  
  .panel-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .panel-header-row button {
    width: 100%;
  }
}

/* ====================================================
   GALLERY PAGE STYLING
   ==================================================== */
.gallery-card-item {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.gallery-card-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.gallery-card-media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--light);
}

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

.gallery-card-item:hover .gallery-card-media img {
  transform: scale(1.08);
}

.gallery-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 127, 74, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card-item:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-zoom-icon {
  width: 48px;
  height: 48px;
  background-color: var(--white);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
  transform: translateY(15px);
  transition: transform 0.3s ease;
}

.gallery-card-item:hover .gallery-card-zoom-icon {
  transform: translateY(0);
}

.gallery-card-details {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.gallery-card-details h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.gallery-card-details p {
  font-size: 13px;
  color: var(--dark-light);
  line-height: 1.5;
  margin: 0;
}

/* Screen Reader / SEO Only Helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

