/* ==========================================================================
   AMC Meat & Seafood - Master Design System & CSS Styling
   ========================================================================== */

:root {
  --primary: #D32F2F;
  --primary-hover: #B71C1C;
  --primary-light: #FFEBEE;
  --secondary: #0F172A;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --bg-light: #F8FAFC;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

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

/* ==========================================
   Layout Containers & Utilities
   ========================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

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

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-success { background: #E6F4EA; color: #137333; }
.badge-warning { background: #FEF7E0; color: #B06000; }
.badge-danger { background: #FCE8E6; color: #C5221F; }
.badge-info { background: #E8F0FE; color: #1A73E8; }
.badge-secondary { background: #E2E8F0; color: #475569; }

/* ==========================================
   Header & Navigation
   ========================================== */
.site-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar {
  background-color: var(--secondary);
  color: var(--white);
  padding: 6px 0;
  font-size: 13px;
}

.main-header {
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}
.logo-icon {
  background: var(--primary);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.search-box {
  flex: 1;
  max-width: 480px;
  position: relative;
  margin: 0 20px;
}
.search-box input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border-radius: 30px;
  border: 1.5px solid var(--border);
  background: var(--bg-light);
  outline: none;
  transition: all 0.2s;
}
.search-box input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(211,47,47,0.1);
}
.search-box .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

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

.header-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  position: relative;
}
.header-action-btn:hover {
  color: var(--primary);
}

.cart-count {
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  position: absolute;
  top: -6px;
  right: -10px;
}

/* Category Navigation Strip */
.cat-nav-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: visible;
  position: relative;
  z-index: 100;
}
.cat-nav-strip ul {
  display: flex;
  list-style: none;
  gap: 28px;
  padding: 12px 0;
}
.cat-nav-strip a {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}
.cat-nav-strip a:hover, .cat-nav-strip a.active {
  color: var(--primary);
}

/* Mobile Hamburger Menu Drawer */
.mobile-hamburger-btn {
  display: none !important;
  background: transparent;
  border: none;
  font-size: 22px;
  color: var(--text-dark);
  cursor: pointer;
  padding: 6px;
}

.mobile-drawer-overlay {
  display: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer-content {
  display: none;
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: #FFFFFF;
  z-index: 2001;
  box-shadow: 5px 0 25px rgba(0,0,0,0.2);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer-header {
  padding: 20px;
  background: #0F172A;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-body {
  padding: 16px;
  flex: 1;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list > li {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-list > li > a,
.mobile-nav-list > li > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  text-decoration: none;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
}

.mobile-sub-list {
  display: none;
  list-style: none;
  padding: 0 0 10px 16px;
  margin: 0;
  background: #F8FAFC;
  border-radius: 8px;
}

.mobile-sub-list.active {
  display: block;
}

.mobile-sub-list li a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
}

.mobile-sub-list li a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .mobile-hamburger-btn {
    display: block !important;
  }
  .mobile-drawer-overlay {
    display: none !important;
  }
  .mobile-drawer-overlay.active {
    display: block !important;
    opacity: 1;
  }
  .mobile-drawer-overlay.active .mobile-drawer-content {
    display: flex !important;
    left: 0;
  }
  .cat-nav-strip {
    display: none !important;
  }
}

/* ==========================================
   Hero Banners & Category Circle Grid
   ========================================== */
/* ==========================================
   Hero Image Slider (TenderCuts Ultra-Premium Style)
   ========================================== */
.hero-slider-container {
  width: 100%;
  margin: 10px 0 24px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  position: relative;
  background: #0F172A;
}

.hero-slider-swiper {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.hero-image-slide {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #0F172A;
}

.hero-image-slide img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.hero-image-slide:hover img {
  transform: scale(1.02);
}

.hero-slide-item {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 45%, #1E293B 100%);
  color: #FFFFFF;
  padding: 48px 56px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

/* Subtle background accent glow */
.hero-slide-item::before {
  content: '';
  position: absolute;
  top: -30%;
  right: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.25) 0%, rgba(15, 23, 42, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-slide-content {
  flex: 1;
  max-width: 620px;
  z-index: 2;
}

.hero-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225, 29, 72, 0.16);
  border: 1px solid rgba(225, 29, 72, 0.45);
  color: #FB7185;
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
}

.hero-slide-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.22;
  color: #FFFFFF !important;
  margin-bottom: 14px;
  letter-spacing: -0.6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-slide-subtitle {
  font-size: 16px;
  color: #CBD5E1 !important;
  margin-bottom: 26px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  color: #FFFFFF !important;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.45);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide-btn i {
  transition: transform 0.25s ease;
}

.hero-slide-btn:hover {
  background: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.6);
  color: #FFFFFF !important;
}

.hero-slide-btn:hover i {
  transform: translateX(5px);
}

.hero-slide-img-wrapper {
  flex: 0 0 420px;
  max-width: 420px;
  height: 270px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
  background: #1E293B;
}

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

.hero-slide-item:hover .hero-slide-img-wrapper img {
  transform: scale(1.06);
}

.floating-promo-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 3;
}

/* Swiper Pagination & Navigation Customization */
.hero-slider-swiper .swiper-pagination {
  bottom: 18px !important;
}

.hero-slider-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transition: all 0.3s ease;
  border-radius: 10px;
}

.hero-slider-swiper .swiper-pagination-bullet-active {
  width: 32px;
  background: #E11D48;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(225, 29, 72, 0.6);
}

.hero-slider-swiper .swiper-button-next,
.hero-slider-swiper .swiper-button-prev {
  width: 48px;
  height: 48px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero-slider-swiper .swiper-button-next:after,
.hero-slider-swiper .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.hero-slider-swiper .swiper-button-next:hover,
.hero-slider-swiper .swiper-button-prev:hover {
  background: #E11D48;
  border-color: #E11D48;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.5);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-image-slide img {
    height: 200px;
    object-fit: cover;
  }
  .hero-slide-item {
    flex-direction: column;
    padding: 32px 24px 48px;
    min-height: auto;
    text-align: center;
  }
  .hero-slide-content {
    max-width: 100%;
  }
  .hero-slide-title {
    font-size: 28px;
  }
  .hero-slide-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .hero-slide-img-wrapper {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    height: 200px;
  }
}

.hero-banner {
  display: none;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-title a {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.cat-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 10px;
  object-fit: cover;
  background: var(--primary-light);
}
.cat-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}

/* ==========================================
   Product Cards & Grid
   ========================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: #CBD5E1;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}

.product-img-wrapper {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
  background: #F1F5F9;
}
.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card:hover .product-img-wrapper img {
  transform: scale(1.05);
}

.product-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
  line-height: 1.3;
}
.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 38px;
}

.product-weight {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}

.product-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.price-box {
  display: flex;
  flex-direction: column;
}
.selling-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
}
.mrp-price {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.qty-control {
  display: flex;
  align-items: center;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  background: transparent;
  border: none;
  color: white;
  width: 30px;
  height: 32px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}
.qty-btn:hover { background: rgba(0,0,0,0.15); }
.qty-num {
  padding: 0 8px;
  font-weight: 700;
  font-size: 14px;
}

/* ==========================================
   Cart Page & Drawer
   ========================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  margin: 30px 0;
}

.cart-table-card, .summary-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-row:last-child { border-bottom: none; }

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.bill-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-dark);
}
.bill-row.total {
  font-size: 18px;
  font-weight: 800;
  border-top: 2px solid var(--border);
  padding-top: 12px;
  margin-top: 12px;
}

/* ==========================================
   Checkout Page
   ========================================== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
  margin: 30px 0;
}

.checkout-step {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 20px;
}
.step-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-number {
  background: var(--primary);
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.address-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.address-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.payment-option {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.payment-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

/* ==========================================
   Admin Dashboard Layout
   ========================================== */
.admin-layout {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 250px;
  background: var(--secondary);
  color: white;
  padding: 20px;
  flex-shrink: 0;
}
.admin-sidebar .brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 30px;
}
.admin-nav-list {
  list-style: none;
}
.admin-nav-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #94A3B8;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 4px;
}
.admin-nav-list a:hover, .admin-nav-list a.active {
  background: rgba(255,255,255,0.1);
  color: white;
}

.admin-main {
  flex: 1;
  padding: 30px;
  background: var(--bg-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.stat-card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stat-val {
  font-size: 28px;
  font-weight: 800;
  margin-top: 6px;
}

/* Data Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.data-table th, .data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.data-table th {
  background: #F1F5F9;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-detail-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mobile-search-row {
  display: none;
  width: 100%;
  padding-top: 10px;
}
.mobile-search-row .search-box {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: white;
  width: 90%;
  max-width: 500px;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

/* Footer */
.site-footer {
  background: var(--secondary);
  color: #94A3B8;
  padding: 50px 0 20px;
  margin-top: auto;
}
.site-footer h4 { color: white; margin-bottom: 16px; font-size: 16px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--primary); }

/* Responsive adjustments for Mobile & Tablets */
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  
  .top-bar {
    font-size: 11px;
    padding: 6px 0;
  }
  .top-bar .flex.justify-between {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }

  .main-header {
    padding: 10px 0;
  }
  .main-header .container {
    flex-wrap: wrap;
    gap: 8px;
  }

  .logo {
    font-size: 18px;
    gap: 6px;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  #locationSelectBtn {
    padding: 4px 8px;
    font-size: 11px;
  }

  .header-actions {
    gap: 10px;
  }
  .header-action-btn span {
    display: none;
  }

  .search-box.desktop-search {
    display: none;
  }
  .mobile-search-row {
    display: block;
  }

  .cat-nav-strip {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .cat-nav-strip::-webkit-scrollbar {
    display: none;
  }
  .cat-nav-strip ul {
    gap: 16px;
    padding: 10px 0;
    font-size: 13px;
  }

  .hero-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
    margin: 16px 0;
  }
  .hero-content h1 {
    font-size: 22px;
  }
  .hero-content p {
    font-size: 13px;
  }

  .category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
  }
  .cat-card {
    padding: 10px 4px;
  }
  .cat-img {
    width: 52px;
    height: 52px;
    margin-bottom: 6px;
  }
  .cat-name {
    font-size: 11px;
    line-height: 1.2;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
  }
  .product-card {
    padding: 10px;
  }
  .product-badge {
    top: 6px;
    left: 6px;
    font-size: 9px;
    padding: 2px 5px;
  }
  .product-img-wrapper {
    height: 125px;
    margin-bottom: 8px;
  }
  .product-title {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .product-desc {
    font-size: 11px;
    height: 32px;
    margin-bottom: 8px;
  }
  .product-weight {
    font-size: 10px;
    padding: 2px 6px;
    margin-bottom: 8px;
  }
  .selling-price {
    font-size: 15px;
  }
  .mrp-price {
    font-size: 10px;
  }
  .qty-btn {
    width: 24px;
    height: 28px;
    font-size: 14px;
  }
  .qty-num {
    padding: 0 4px;
    font-size: 12px;
  }

  .product-detail-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }
  .product-detail-card div:first-child > div:first-child {
    height: 240px !important;
  }

  .cart-layout, .checkout-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 16px 0;
  }

  .cart-table-card, .summary-card, .checkout-step {
    padding: 16px;
  }

  .cart-item-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 0;
  }
  .cart-item-row > div:last-child {
    justify-content: space-between;
    width: 100%;
  }

  .modal-content {
    width: 94%;
    padding: 16px;
  }

  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .cat-img {
    width: 44px;
    height: 44px;
  }
  .cat-name {
    font-size: 10px;
  }

  .responsive-grid-stack {
    grid-template-columns: 1fr !important;
  }
}
