/* ==========================================================================
   Naturals & Nuts - Premium Dry Fruits & Healthy Snacks Design System
   ========================================================================== */

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

:root {
  --primary-color: #2E5A36;        /* Deep Forest Organic Green */
  --primary-hover: #224328;
  --secondary-color: #C8963E;      /* Royal Warm Gold */
  --secondary-hover: #ab7f30;
  --accent-color: #E89835;         /* Soft Amber Gold */
  --dark-color: #2B1810;           /* Espresso Dark */
  --body-bg: #FDFBF7;              /* Clean Warm Off-White */
  --card-bg: #FFFFFF;
  --text-primary: #2B1810;
  --text-muted: #6C757D;
  --border-color: #EAE6DF;
  --shadow-sm: 0 4px 15px rgba(43, 24, 16, 0.04);
  --shadow-md: 0 8px 30px rgba(43, 24, 16, 0.08);
  --shadow-lg: 0 15px 45px rgba(43, 24, 16, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--body-bg);
  color: var(--text-primary);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--dark-color);
}

/* Glassmorphism & Navbar */
.navbar-custom {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  z-index: 1050;
}

.brand-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo span {
  color: var(--secondary-color);
}

.nav-link-custom {
  font-weight: 600;
  color: var(--dark-color);
  padding: 8px 12px !important;
  font-size: 0.94rem;
  white-space: nowrap !important;
  transition: color 0.2s ease;
}

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

.icon-badge-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #F4F1EA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-color);
  transition: all 0.2s ease;
}

.icon-badge-btn:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

.icon-badge-btn .badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--secondary-color);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #FDFBF7 0%, #F5EFE6 100%);
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(46, 90, 54, 0.08);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-top: 15px;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--secondary-color);
  position: relative;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #554A43;
  margin-bottom: 30px;
  max-width: 540px;
}

.btn-primary-custom {
  background-color: var(--primary-color);
  color: #ffffff;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 8px 20px rgba(46, 90, 54, 0.25);
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(46, 90, 54, 0.35);
}

.btn-secondary-custom {
  background-color: transparent;
  color: var(--dark-color);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 30px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background-color: var(--dark-color);
  color: #ffffff;
  border-color: var(--dark-color);
  transform: translateY(-2px);
}

.hero-image-wrapper {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Category Cards */
.category-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  text-decoration: none;
  display: block;
  height: 100%;
}

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

.category-img-box {
  width: 110px;
  height: 110px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: #F8F5EE;
  padding: 6px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.03);
}

.category-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.category-card:hover .category-img-box img {
  transform: scale(1.1);
}

.category-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 4px;
}

.category-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Product Cards */
.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46, 90, 54, 0.2);
}

.product-badge-group {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 5;
}

.product-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-sale {
  background: var(--secondary-color);
  color: #fff;
}

.badge-featured {
  background: var(--primary-color);
  color: #fff;
}

.wishlist-btn-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  transition: all 0.2s ease;
  z-index: 5;
}

.wishlist-btn-overlay:hover, .wishlist-btn-overlay.active {
  background: #fff;
  color: #dc3545;
  transform: scale(1.1);
}

.product-thumb-box {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #FDFBF7;
}

.product-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.product-category {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.product-title a {
  color: var(--dark-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.product-rating {
  font-size: 0.85rem;
  color: #FFB800;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.product-rating span {
  color: var(--text-muted);
  font-weight: 500;
}

.variant-selector-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.variant-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: #F9F8F5;
  color: var(--dark-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.variant-pill.active, .variant-pill:hover {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #fff;
}

.product-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
  margin-top: auto;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
}

.price-original {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.btn-add-cart {
  width: 100%;
  background: #F4F1EA;
  color: var(--dark-color);
  font-weight: 700;
  padding: 10px;
  border-radius: 10px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-add-cart:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Why Choose Us Feature Cards */
.feature-box {
  background: var(--card-bg);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(200, 150, 62, 0.12);
  color: var(--secondary-color);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* Promo Banner Section */
.promo-banner {
  background: linear-gradient(135deg, #2E5A36 0%, #1D3A23 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.coupon-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px dashed rgba(255, 255, 255, 0.5);
  padding: 8px 18px;
  border-radius: 30px;
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Footer Styling */
.footer-section {
  background: #1C1511;
  color: #B5AEA8;
  padding-top: 70px;
  padding-bottom: 30px;
  font-size: 0.92rem;
}

.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #B5AEA8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding-top: 25px;
}

/* Toast Alerts */
.toast-container-custom {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
}
