@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Brand Identity Colors (Derived from LA MART Logo) */
  --brand-green: #009A49;        /* Signature Brand Green - 10% Accent */
  --brand-green-hover: #00823E;  /* Darker shade for hover states */
  --brand-green-light: #EBF7EE;  /* Light mint tint for badges and highlights */
  --brand-green-border: #C8E8D1; /* Subtle border for active elements */

  --brand-slate: #1A2E22;        /* Deep Charcoal / Slate - 30% Structure & Text */
  --text-primary: #1A2E22;       /* Primary headings and important text */
  --text-muted: #4A5B50;         /* Secondary descriptive text */
  --text-subtle: #75867C;        /* Timestamps, tags, footnotes */

  --bg-page: #F4F9F5;            /* Ultra-light Mint canvas - 60% Dominant */
  --bg-surface: #FFFFFF;         /* Pure White card and modal backgrounds */
  --border-subtle: #E2ECE5;      /* Clean structural divider borders */
  --border-light: #EEF4F0;       /* Ultra-soft internal card dividers */

  --shadow-subtle: 0 1px 3px rgba(26, 46, 34, 0.05), 0 1px 2px rgba(26, 46, 34, 0.03);
  --shadow-card: 0 2px 8px rgba(26, 46, 34, 0.04), 0 1px 2px rgba(26, 46, 34, 0.02);
  --shadow-card-hover: 0 10px 24px rgba(26, 46, 34, 0.08), 0 2px 6px rgba(26, 46, 34, 0.03);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F0F4F1;
}
::-webkit-scrollbar-thumb {
  background: #C4D6C9;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9FBDA7;
}

/* Premium Rounded Product Card */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
}
.product-card:hover {
  border-color: var(--brand-green-border);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.product-image-box {
  background-color: #F8FAF8;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
  border-bottom: 1px solid var(--border-light);
}
.product-image-box img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-image-box img {
  transform: scale(1.04);
}

/* Variant Selector Chips */
.variant-chip {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: #FFFFFF;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.variant-chip:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}
.variant-chip.active {
  background-color: var(--brand-green-light);
  border-color: var(--brand-green);
  color: var(--brand-green);
  font-weight: 600;
}

/* Primary Action Buttons */
.btn-primary {
  background-color: var(--brand-green);
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 9px;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 154, 73, 0.2);
}
.btn-primary:hover {
  background-color: var(--brand-green-hover);
  box-shadow: 0 3px 8px rgba(0, 154, 73, 0.3);
}

.btn-secondary {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 600;
  border-radius: 9px;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
  background-color: var(--brand-green-light);
}

/* Category Nav Underline indicator */
.nav-category-link {
  position: relative;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-category-link:hover, .nav-category-link.active {
  color: var(--brand-green);
  font-weight: 600;
}
.nav-category-link.active::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--brand-green);
  border-radius: 2px;
}

/* Category Quick Card */
.category-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
}
.category-card:hover {
  border-color: var(--brand-green-border);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.category-card:hover img {
  transform: scale(1.06);
}

/* Modal and Drawer transitions */
.modal-backdrop {
  background-color: rgba(26, 46, 34, 0.6);
  backdrop-filter: blur(3px);
}

/* Hero Slider Carousel */
.hero-slider-slide {
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-slider-slide.hidden-slide {
  display: none;
  opacity: 0;
  transform: translateX(10px);
}
.hero-slider-slide.active-slide {
  display: grid;
  opacity: 1;
  transform: translateX(0);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #D1DCD5;
  transition: all 0.25s ease;
  cursor: pointer;
}
.slider-dot.active {
  width: 24px;
  border-radius: 4px;
  background-color: var(--brand-green);
}

/* Mobile Nav Padding */
@media (max-width: 768px) {
  body {
    padding-bottom: 68px;
  }
}
