/* ==========================================================================
   Bihar Makhana - Complete Design System & Master Stylesheet
   Faithful 1:1 match with UI mockups
   ========================================================================== */

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

:root {
  --primary-dark: #0d381e;
  --primary-deep: #072513;
  --primary: #12572e;
  --primary-light: #1b7a42;
  --primary-accent: #2e8b57;
  --gold: #d4a34b;
  --gold-light: #f5deaa;
  --gold-dark: #aa7b2c;
  --cream-bg: #fbf9f4;
  --cream-card: #ffffff;
  --cream-surface: #f4f0e6;
  --text-main: #19271e;
  --text-muted: #5e7265;
  --text-light: #8e9e94;
  --border-color: #e5e0d3;
  --border-light: #ece8df;
  --danger: #d93838;
  --warning: #eab308;
  --success: #15803d;
  --info: #0284c7;
  --shadow-sm: 0 2px 6px rgba(13, 56, 30, 0.05);
  --shadow-md: 0 6px 18px rgba(13, 56, 30, 0.08);
  --shadow-lg: 0 12px 30px rgba(13, 56, 30, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --container-max: 1280px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream-bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-bar {
  background-color: #0b341c;
  color: #e2f0e7;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 400;
}

.top-bar-left span.divider {
  opacity: 0.3;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.top-bar-links a:hover {
  color: var(--gold-light);
}

.top-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-socials a {
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
}

.top-socials a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* ==========================================================================
   Main Header Navigation
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #2b3930;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

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

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

/* Dropdown Menu */
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  padding: 10px 0;
  list-style: none;
  border: 1px solid var(--border-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 100;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--text-main);
}

.dropdown-menu li a:hover {
  background-color: var(--cream-surface);
  color: var(--primary);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.nav-action-btn:hover {
  background-color: var(--cream-surface);
  color: var(--primary);
}

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

.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background-color: #f2f7f4;
  border: 1px solid #d4e5db;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
}

.user-pill img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================================================
   Hero Banners & Page Headers
   ========================================================================== */
.hero-banner {
  position: relative;
  min-height: 540px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.45) 55%, rgba(255, 255, 255, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 48px 0;
}

.hero-badge-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary-deep);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 20px;
  color: #3b4d42;
  margin-bottom: 28px;
}

.hero-features {
  display: flex;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.hero-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.hero-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid #2e7d32;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #14532d;
  background: rgba(255, 255, 255, 0.75);
}

.hero-feature-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

/* Common Page Banner */
.page-banner {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

.breadcrumb .sep {
  opacity: 0.5;
}

.page-banner-title {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 10px;
}

.page-banner-desc {
  font-size: 17px;
  color: #3f5145;
  margin-bottom: 24px;
}

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-dark);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 56, 30, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 56, 30, 0.35);
  color: #ffffff;
}

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

.btn-outline:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* Section Header Styling */
.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-tag {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

.section-leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  color: var(--primary-light);
}

.section-leaf-divider::before,
.section-leaf-divider::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--border-color);
}

/* ==========================================================================
   Trust Badges Bar
   ========================================================================== */
.trust-bar {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0f7f2;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.trust-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   Shop By Category (Circles)
   ========================================================================== */
.categories-section {
  padding: 70px 0;
}

.category-circles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  justify-items: center;
}

@media (max-width: 1024px) {
  .category-circles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 576px) {
  .category-circles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.category-circle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.category-circle-img-wrap {
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: #ffffff;
  padding: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

.category-circle-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-top: 14px;
  line-height: 1.3;
}

/* ==========================================================================
   Product Card Component
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

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

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #b91c1c;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  z-index: 2;
}

.product-badge.new {
  background: #dc2626;
}

.product-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #8a9990;
  z-index: 2;
  transition: all 0.2s ease;
}

.product-wishlist-btn:hover, .product-wishlist-btn.active {
  color: var(--danger);
  border-color: #fecaca;
  background: #fff5f5;
}

.product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
  background: #fbf9f4;
  border-radius: var(--radius-sm);
  padding: 8px;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.product-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 4px;
  line-height: 1.35;
  min-height: 40px;
}

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

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 10px;
}

.rating-stars {
  color: var(--warning);
  font-size: 13px;
  letter-spacing: 1px;
}

.rating-count {
  color: var(--text-muted);
  font-size: 12px;
}

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

.current-price {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary-deep);
}

.original-price {
  font-size: 14px;
  color: #9aa89f;
  text-decoration: line-through;
}

.btn-add-cart {
  width: 100%;
  background: #0d381e;
  color: #ffffff;
  padding: 10px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-add-cart:hover {
  background: var(--primary);
  box-shadow: 0 4px 10px rgba(13, 56, 30, 0.25);
}

/* ==========================================================================
   Superfood & Our Story Banner Strips
   ========================================================================== */
.superfood-strip {
  background: linear-gradient(90deg, #092e18 0%, #114c27 50%, #0d3b1e 100%);
  color: #ffffff;
  padding: 50px 0;
  margin: 50px 0;
  position: relative;
  overflow: hidden;
}

.superfood-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 30px;
}

.superfood-left h2 {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 24px;
}

.superfood-pills {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.superfood-pill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}

.superfood-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.superfood-center {
  display: flex;
  justify-content: center;
}

.superfood-center img {
  max-height: 280px;
  border-radius: 20px;
  object-fit: cover;
}

.superfood-right {
  text-align: right;
}

.superfood-quote {
  font-family: var(--font-serif);
  font-size: 34px;
  font-style: italic;
  color: #f7dfb0;
  line-height: 1.2;
}

/* Story Teaser Section */
.story-teaser {
  padding: 60px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.05fr 0.75fr;
  gap: 36px;
  align-items: center;
}

.story-img-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.story-img-col img {
  border: none;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.09));
  transition: transform 0.3s ease;
}

.story-img-col img:hover {
  transform: scale(1.03);
}

.story-center-content .tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.story-center-content h2 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 16px;
  line-height: 1.25;
}

.story-center-content p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.story-perks-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-perk-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.story-perk-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eef7f2;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.story-perk-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-deep);
}

/* ==========================================================================
   Testimonials & Blog
   ========================================================================== */
.testimonials-section {
  padding: 60px 0;
  background: #f7f5ed;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--warning);
  font-size: 15px;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 20px;
  flex: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-deep);
}

.testimonial-city {
  font-size: 13px;
  color: var(--text-muted);
}

/* Blog Cards */
.blog-section {
  padding: 70px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.blog-img-wrap {
  height: 200px;
  overflow: hidden;
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.blog-content {
  padding: 22px;
}

.blog-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 12px;
  line-height: 1.35;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.blog-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ==========================================================================
   Newsletter Strip
   ========================================================================== */
.newsletter-strip {
  background: #eaf3ed;
  border-top: 1px solid #d3e5da;
  border-bottom: 1px solid #d3e5da;
  padding: 30px 0;
}

.newsletter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.newsletter-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.newsletter-info p {
  font-size: 14px;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  align-items: center;
  max-width: 500px;
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-pill);
  border: 1px solid #cbdcd2;
  padding: 4px 6px 4px 18px;
}

.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text-main);
  background: transparent;
}

.newsletter-form button {
  background: var(--primary-dark);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #082614;
  color: #c7dcd0;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 14px;
  color: #b1ccbe;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 3px;
}

.footer-brand p {
  font-size: 14px;
  margin: 16px 0 20px;
  color: #9ebba9;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s;
}

.footer-social-icons a:hover {
  background: var(--primary-accent);
  transform: translateY(-2px);
}

.app-badges {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.app-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 7px 14px;
  border-radius: 9px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.app-badge-btn:hover {
  background: #0c2b17;
  border-color: #f2dcaf;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.app-badge-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.app-badge-sub {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #cbd5d1;
}

.app-badge-main {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.footer-copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 13px;
  color: #8dafa0;
}

.footer-copyright-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Enhanced Floating WhatsApp Widget
   ========================================================================== */
.floating-whatsapp-container {
  position: fixed;
  bottom: 26px;
  right: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
}

/* Callout Pill (Left of the button) */
.whatsapp-callout-pill {
  background: #ffffff;
  color: #1a4d2c;
  padding: 8px 16px;
  border-radius: 24px;
  box-shadow: 0 6px 22px rgba(13, 56, 30, 0.14), 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(22, 101, 52, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transform-origin: right center;
  animation: wa-pill-appear 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.whatsapp-callout-pill:hover {
  transform: translateX(-4px);
  box-shadow: 0 8px 26px rgba(13, 56, 30, 0.22);
  border-color: #25d366;
}

.wa-callout-title {
  font-size: 13px;
  font-weight: 700;
  color: #0d381e;
  letter-spacing: 0.2px;
}

.wa-callout-status {
  font-size: 11px;
  color: #166534;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.wa-status-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 6px #25d366;
  animation: wa-beacon 1.8s infinite ease-in-out;
}

/* Main WhatsApp Round Button */
.floating-whatsapp {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(140deg, #32e875 0%, #25d366 50%, #179b4a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45), 0 3px 8px rgba(0, 0, 0, 0.14);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.6), 0 5px 12px rgba(0, 0, 0, 0.18);
  color: #ffffff;
}

.floating-whatsapp:active {
  transform: scale(0.95);
}

.floating-whatsapp .wa-btn-icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s ease;
}

.floating-whatsapp:hover .wa-btn-icon {
  transform: scale(1.05) rotate(-4deg);
}

/* Online Status Dot Badge (Top-Right on circle) */
.wa-status-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #22c55e;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

/* Ripple Radar Rings */
.wa-ripple-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.wa-ripple-ring.ring-1 {
  animation: wa-ripple-anim 2.4s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wa-ripple-ring.ring-2 {
  animation: wa-ripple-anim 2.4s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s;
}

@keyframes wa-ripple-anim {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    opacity: 0.35;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@keyframes wa-beacon {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

@keyframes wa-pill-appear {
  0% {
    opacity: 0;
    transform: translateX(15px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .floating-whatsapp-container {
    bottom: 20px;
    right: 16px;
    gap: 8px;
  }
  .floating-whatsapp {
    width: 52px;
    height: 52px;
  }
  .floating-whatsapp .wa-btn-icon {
    width: 28px;
    height: 28px;
  }
  .whatsapp-callout-pill {
    padding: 6px 12px;
  }
  .wa-callout-title {
    font-size: 12px;
  }
  .wa-callout-status {
    font-size: 10px;
  }
}

/* ==========================================================================
   Shop Page Layout (Filters + Grid)
   ========================================================================== */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  padding: 50px 0;
}

.filter-sidebar {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  align-self: start;
}

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

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

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

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}

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

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-main);
}

.filter-checkbox-label input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.price-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-slider {
  width: 100%;
  accent-color: var(--primary);
}

.shop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}

.shop-results-count {
  font-size: 14px;
  color: var(--text-muted);
}

.shop-sort-select {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s;
}

.page-link:hover, .page-link.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   Cart Page Layout
   ========================================================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 36px;
  padding: 50px 0;
}

.cart-items-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 24px;
}

.cart-table-head {
  display: grid;
  grid-template-columns: 3fr 1.2fr 1.5fr 1.2fr 0.5fr;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.cart-item-row {
  display: grid;
  grid-template-columns: 3fr 1.2fr 1.5fr 1.2fr 0.5fr;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-product-info {
  display: flex;
  gap: 16px;
  align-items: center;
}

.cart-product-img {
  width: 76px;
  height: 76px;
  background: #fbf9f4;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.cart-product-img img {
  max-height: 100%;
  object-fit: contain;
}

.cart-product-details h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.cart-product-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 2px 6px;
  background: #ffffff;
}

.qty-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

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

.qty-input {
  width: 34px;
  text-align: center;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  background: transparent;
  outline: none;
}

.btn-remove-item {
  background: none;
  border: none;
  cursor: pointer;
  color: #a0aec0;
  transition: color 0.2s;
}

.btn-remove-item:hover {
  color: var(--danger);
}

/* Order Summary Box */
.order-summary-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  align-self: start;
}

.order-summary-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 18px;
}

.free-shipping-progress {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 20px;
}

.free-shipping-text {
  font-size: 13px;
  font-weight: 600;
  color: #166534;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.progress-bar-bg {
  width: 100%;
  height: 7px;
  background: #dcfce7;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: #22c55e;
  border-radius: 10px;
  transition: width 0.3s ease;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 16px;
  font-size: 14px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.summary-row.total {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-deep);
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.coupon-form {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}

.coupon-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
}

.coupon-btn {
  padding: 10px 18px;
  background: var(--primary-dark);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.payment-gateways-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  opacity: 0.8;
}

/* Cross-Sell Strip */
.cross-sell-section {
  padding: 40px 0 60px;
}

/* ==========================================================================
   User Dashboard Layout
   ========================================================================== */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  padding: 50px 0;
}

.dashboard-sidebar {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 0;
  align-self: start;
}

.dashboard-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.dashboard-menu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.dashboard-menu-link:hover, .dashboard-menu-link.active {
  color: var(--primary);
  background: #f2f8f4;
  border-left-color: var(--primary);
}

.dashboard-welcome-banner {
  background: linear-gradient(90deg, #f0f7f2 0%, #e3efe7 100%);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d0e4d7;
}

.dashboard-welcome-banner h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

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

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.stat-icon.green { background: #dcfce7; color: #15803d; }
.stat-icon.red { background: #fee2e2; color: #b91c1c; }
.stat-icon.yellow { background: #fef3c7; color: #b45309; }
.stat-icon.blue { background: #e0f2fe; color: #0369a1; }

.stat-info .title {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.stat-info .number {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-deep);
}

.stat-info .link {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.dashboard-sections-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.dash-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.dash-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dash-box-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-deep);
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}

.status-badge.delivered { background: #dcfce7; color: #166534; }
.status-badge.shipped { background: #e0f2fe; color: #075985; }
.status-badge.processing { background: #fef3c7; color: #92400e; }
.status-badge.cancelled { background: #fee2e2; color: #991b1b; }

/* Dashboard Tables */
.dash-table {
  width: 100%;
  border-collapse: collapse;
}

.dash-table th {
  text-align: left;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-light);
}

.dash-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-main);
}

/* ==========================================================================
   User Dashboard Tab Panes & Modules
   ========================================================================== */
.dashboard-tab-pane {
  display: none;
}

.dashboard-tab-pane.active {
  display: block;
  animation: fadeInTab 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Order Filter Bar */
.order-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.order-filter-btn {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.order-filter-btn:hover, .order-filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(22, 101, 52, 0.2);
}

/* Enhanced Order Cards */
.order-card-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.order-card-box:hover {
  box-shadow: 0 8px 24px rgba(13, 56, 30, 0.08);
}

.order-card-top {
  background: #faf8f2;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 12px;
}

.order-card-body {
  padding: 20px;
}

.order-item-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f1eee7;
  gap: 16px;
}

.order-item-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.order-item-line:first-child {
  padding-top: 0;
}

.order-card-foot {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Delivery Tracking Stepper */
.tracking-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 36px 0 24px;
}

.tracking-stepper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 30px;
  right: 30px;
  height: 4px;
  background: #e5e7eb;
  z-index: 1;
}

.tracking-progress-bar {
  position: absolute;
  top: 20px;
  left: 30px;
  height: 4px;
  background: #166534;
  z-index: 2;
  transition: width 0.6s ease;
}

.stepper-step {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 90px;
}

.stepper-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #9ca3af;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.stepper-step.completed .stepper-circle {
  background: #166534;
  border-color: #166534;
  color: #ffffff;
}

.stepper-step.active .stepper-circle {
  background: #ffffff;
  border-color: #166534;
  color: #166534;
  box-shadow: 0 0 0 4px rgba(22, 101, 52, 0.2);
}

.stepper-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 2px;
}

.stepper-time {
  font-size: 11px;
  color: var(--text-muted);
}

/* Wishlist Grid */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .wishlist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wishlist-grid {
    grid-template-columns: 1fr;
  }
}

.wishlist-item-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wishlist-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(13, 56, 30, 0.1);
}

.wishlist-del-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, transform 0.2s;
}

.wishlist-del-btn:hover {
  background: #dc2626;
  color: #ffffff;
  transform: scale(1.1);
}

/* Reviews List */
.review-item-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.star-rating-display {
  color: #f59e0b;
  font-size: 14px;
  display: inline-flex;
  gap: 2px;
}

/* Rewards Coupons Grid */
.coupon-card-box {
  background: #ffffff;
  border: 1.5px dashed #dfb967;
  border-radius: var(--radius-md);
  padding: 18px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #fdfbf7 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.coupon-code-pill {
  font-family: monospace;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  background: #fbf5e6;
  color: #92400e;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #f3dcaf;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Address Cards */
.address-card-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.address-card-box.is-default {
  border: 2px solid var(--primary);
  background: #fafdfb;
}

.badge-default {
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Auth Pages (Login & Register)
   ========================================================================== */
.auth-page {
  min-height: calc(100vh - 160px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.auth-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.auth-left {
  padding: 48px;
  background: #f6faf7;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-left h1 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1.2;
  margin-bottom: 16px;
}

.auth-left p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
}

.auth-right {
  padding: 48px;
  background: #ffffff;
}

.auth-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(18, 87, 46, 0.12);
}

.password-wrap {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
}

.auth-social-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  color: var(--text-light);
  font-size: 13px;
}

.auth-social-divider::before, .auth-social-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.social-auth-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.social-auth-btn:hover {
  background: #f8fafc;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-section {
  padding: 60px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Alerts & Feedback
   ========================================================================== */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}

.alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   Modal Dialogs (Search, Address, Order)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 500px;
  width: 100%;
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .superfood-grid { grid-template-columns: 1fr; text-align: center; }
  .superfood-right { text-align: center; }
  .story-grid { grid-template-columns: 1fr; }
  .dashboard-stats-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-sections-grid { grid-template-columns: 1fr; }
  .auth-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr; }
  .dashboard-stats-grid { grid-template-columns: 1fr; }
  .top-bar-left { display: none; }
  .cart-table-head { display: none; }
  .cart-item-row { grid-template-columns: 1fr; gap: 12px; }
  .faq-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Product Details Page Styles (1:1 Ratio Guaranteed)
   ========================================================================== */
.product-details-page {
  background-color: var(--cream-bg);
  min-height: 80vh;
}

.product-breadcrumb-bar {
  background: #f4f0e6;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  font-size: 13.5px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
}

.breadcrumb-nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.breadcrumb-nav a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #a8b3ac;
  font-size: 12px;
  display: flex;
  align-items: center;
}

.breadcrumb-current {
  color: var(--text-main);
  font-weight: 600;
}

/* Showcase Section */
.product-showcase-section {
  padding: 40px 0 60px;
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

/* Gallery Column */
.product-gallery-col {
  position: sticky;
  top: 90px;
}

.product-main-visual {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.product-pill-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #b91c1c;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  z-index: 5;
}

.product-pill-badge.new {
  background: #dc2626;
}

.product-visual-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fbf9f4;
  border-radius: var(--radius-sm);
}

.product-detail-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-main-visual:hover .product-detail-img {
  transform: scale(1.06);
}

/* Trust Pillars Strip */
.product-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.trust-item i {
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 12.5px;
  color: var(--primary-deep);
  line-height: 1.2;
}

.trust-item span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

/* Info Column */
.product-info-col {
  display: flex;
  flex-direction: column;
}

.product-header-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.product-category-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(18, 87, 46, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.product-suta-badge {
  font-size: 12px;
  font-weight: 700;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.product-bestseller-badge {
  font-size: 12px;
  font-weight: 700;
  color: #b91c1c;
  background: #fee2e2;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.product-detail-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 8px;
}

.product-detail-subtitle {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Rating Row */
.product-detail-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
  font-size: 13.5px;
}

.product-detail-rating .stars-group {
  color: var(--gold);
  display: flex;
  gap: 2px;
  font-size: 14px;
}

.product-detail-rating .rating-num {
  font-weight: 700;
  color: var(--text-main);
}

.product-detail-rating .rating-divider {
  color: #cbd5e1;
}

.product-detail-rating .rating-reviews-link {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #166534;
  font-size: 12px;
  font-weight: 600;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* Price Box */
.product-price-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
}

.price-current {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-deep);
  font-family: var(--font-sans);
}

.price-mrp {
  font-size: 18px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

.price-save {
  background: #dcfce7;
  color: #15803d;
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.price-tax-note {
  width: 100%;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Dietary Tags */
.dietary-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.dietary-pill {
  font-size: 12px;
  font-weight: 600;
  color: #1e3a29;
  background: #eef7f0;
  border: 1px solid #d3ebd8;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dietary-pill i {
  color: #16a34a;
  font-size: 10px;
}

/* Flavour Variant Chips */
.variant-selector-block {
  margin-bottom: 22px;
}

.variant-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-main);
  margin-bottom: 10px;
}

.flavour-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.flavour-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.flavour-chip img {
  width: 24px;
  height: 24px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.flavour-chip:hover {
  border-color: var(--primary);
  background: #f7faf8;
}

.flavour-chip.active {
  border-color: var(--primary);
  background: rgba(18, 87, 46, 0.08);
  color: var(--primary-deep);
  box-shadow: 0 0 0 2px rgba(18, 87, 46, 0.2);
}

/* Product Details Variation Chips */
.spec-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.spec-choice-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 8px;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.spec-choice-chip:hover {
  border-color: #166534;
  background: #f0fdf4;
  color: #166534;
  transform: translateY(-1px);
}

.spec-choice-chip.active {
  border-color: #166534;
  background: #ecfdf5;
  color: #065f46;
  box-shadow: 0 0 0 2px rgba(22, 101, 52, 0.2);
}

.spec-choice-chip i {
  font-size: 12px;
  color: #166534;
}

.spec-choice-chip.active i {
  color: #059669;
}

/* Suta Grade Card */
.suta-grade-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fbf9f4;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 24px;
}

.suta-icon-wrap {
  font-size: 20px;
  color: var(--gold);
  margin-top: 2px;
}

.suta-text strong {
  display: block;
  font-size: 13.5px;
  color: var(--primary-deep);
  margin-bottom: 3px;
}

.suta-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Quantity & Action Buttons */
.product-buy-form {
  margin-bottom: 24px;
}

.quantity-action-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.quantity-picker {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  background: none;
  border: none;
  width: 38px;
  height: 38px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-deep);
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: #f1f5f9;
}

.quantity-picker input {
  width: 44px;
  height: 38px;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  background: transparent;
}

.stock-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #15803d;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.product-buttons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn-product-cart,
.btn-product-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-sans);
}

.btn-product-cart {
  background: var(--primary-dark);
  color: #ffffff;
}

.btn-product-cart:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 56, 30, 0.25);
}

.btn-product-buy {
  background: #d97706;
  color: #ffffff;
}

.btn-product-buy:hover {
  background: #b45309;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.3);
}

/* Pincode Box */
.pincode-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.pincode-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

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

.pincode-input-group input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.pincode-input-group button {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.2s;
}

.pincode-input-group button:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.pincode-result {
  font-size: 12px;
  margin-top: 8px;
}

/* Tabs Section */
.product-tabs-section {
  padding: 50px 0 60px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.tabs-nav-bar {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  gap: 10px;
  margin-bottom: 35px;
  overflow-x: auto;
}

.tab-nav-btn {
  background: none;
  border: none;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: all 0.2s;
  white-space: nowrap;
}

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

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

.tab-nav-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-prose h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.tab-prose p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.features-grid-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.feature-mini-card {
  background: var(--cream-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.feature-mini-card i {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.feature-mini-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 6px;
}

.feature-mini-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Nutrition Layout */
.nutrition-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.nutrition-table th {
  background: #f4f0e6;
  padding: 10px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-deep);
  border-bottom: 2px solid var(--border-color);
}

.nutrition-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13.5px;
  color: var(--text-main);
}

.nutrition-badge-box {
  background: #fbf9f4;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dietary-icon-badge i {
  font-size: 40px;
  color: #16a34a;
  margin-bottom: 12px;
  display: inline-block;
}

.dietary-icon-badge h4 {
  font-size: 18px;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.dietary-icon-badge p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Culinary Grid */
.culinary-ideas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.culinary-card {
  background: #fbf9f4;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}

.culinary-card i {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 12px;
  display: inline-block;
}

.culinary-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.culinary-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Reviews Block */
.reviews-header-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 24px;
  background: var(--cream-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 30px;
  align-items: center;
}

.reviews-summary-card {
  text-align: center;
  border-right: 1px solid var(--border-color);
  padding-right: 20px;
}

.big-rating-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.stars-gold {
  color: var(--gold);
  font-size: 16px;
  margin: 6px 0;
}

.reviews-summary-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.reviews-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.rating-bar-row span:first-child { width: 45px; }
.rating-bar-row span:last-child { width: 35px; text-align: right; }

.bar-track {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 10px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #dcfce7;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.review-author-row strong {
  display: block;
  font-size: 14px;
  color: var(--primary-deep);
}

.review-location {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
}

.review-stars {
  margin-left: auto;
  color: var(--gold);
  font-size: 13px;
}

.review-comment {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 6px;
}

.review-date {
  font-size: 11px;
  color: var(--text-light);
}

/* Related Products Section */
.related-products-section {
  padding: 60px 0 80px;
  background: var(--cream-bg);
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .product-showcase-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .product-gallery-col {
    position: static;
  }
  .nutrition-layout {
    grid-template-columns: 1fr;
  }
  .features-grid-mini,
  .culinary-ideas-grid {
    grid-template-columns: 1fr;
  }
  .reviews-header-block {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .reviews-summary-card {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 16px;
  }
}

@media (max-width: 640px) {
  .product-detail-title {
    font-size: 26px;
  }
  .product-buttons-row {
    grid-template-columns: 1fr;
  }
  .product-trust-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BLOG & JOURNAL STYLES (1:1 PIXEL-PERFECT WITH ui/blog-page-ui.png & ui/blog-details-ui.png)
   ========================================================================== */

/* --------------------------------------------------------------------------
   BLOG LISTING PAGE (blog.php)
   -------------------------------------------------------------------------- */
.blog-mockup-page {
  background-color: #fdfcf9;
}

/* 1. Hero Banner */
.blog-ui-hero {
  position: relative;
  background-color: #faf7f0;
  background-image: url('../images/blogs/blog-hero-art-clean.png');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  padding: 55px 0 50px;
  border-bottom: 1px solid #ede8de;
}

.blog-hero-inner {
  position: relative;
  z-index: 2;
}

.blog-hero-text-col {
  max-width: 480px;
}

.blog-hero-tag {
  font-size: 13px;
  font-weight: 700;
  color: #a47b36;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.blog-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.16;
  color: #112d1f;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}

.blog-hero-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #4a4a4a;
  margin: 0 0 22px;
}

.blog-hero-brand-sign {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: #0d381e;
  font-size: 16px;
  font-weight: 600;
}

.blog-hero-brand-sign i {
  color: #0d381e;
  font-size: 18px;
}

/* 2. Category Circular Icon Filter Strip */
.blog-cat-strip {
  padding: 36px 0 28px;
  background: #fdfcf9;
}

.blog-cat-icon-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.cat-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  transition: transform 0.2s ease;
  width: 90px;
  text-align: center;
}

.cat-circle-item:hover {
  transform: translateY(-3px);
}

.cat-icon-bubble {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #f1ede4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d381e;
  font-size: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.cat-name-label {
  font-size: 13px;
  font-weight: 600;
  color: #444444;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.cat-circle-item:hover .cat-name-label {
  color: #0d381e;
}

.cat-circle-item.active .cat-icon-bubble {
  background: #0d381e;
  color: #ffffff;
  border-color: #0d381e;
  box-shadow: 0 6px 18px rgba(13, 56, 30, 0.25);
}

.cat-circle-item.active .cat-name-label {
  color: #0d381e;
  font-weight: 700;
}

/* 3. Articles Grid Section */
.blog-ui-cards-section {
  padding: 10px 0 60px;
}

.blog-ui-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-ui-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #ede8de;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-ui-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
  border-color: #dfd8cb;
}

.blog-card-media-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f2efe9;
}

.blog-card-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.blog-ui-card:hover .blog-card-media-wrap img {
  transform: scale(1.04);
}

.blog-card-body-wrap {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-badge-wrapper {
  margin-bottom: 12px;
}

.category-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.pill-health {
  background: #daf0e3;
  color: #156338;
}

.pill-recipes {
  background: #feede2;
  color: #bc5a1a;
}

.pill-farmers {
  background: #eef4dc;
  color: #4e6d1e;
}

.pill-sustainability {
  background: #daf0e3;
  color: #156338;
}

.pill-guide {
  background: #fbe7e4;
  color: #a84534;
}

.pill-updates {
  background: #e2f0fb;
  color: #1968a3;
}

.pill-default {
  background: #ede8de;
  color: #333333;
}

.blog-ui-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.38;
  color: #112d1f;
  margin: 0 0 10px;
}

.blog-ui-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-ui-card-title a:hover {
  color: #a47b36;
}

.blog-ui-card-excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: #666666;
  margin: 0 0 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-ui-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f2ede4;
  padding-top: 14px;
  font-size: 12.5px;
  color: #777777;
}

.footer-meta-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-meta-left span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-meta-left i {
  font-size: 12px;
  color: #888888;
}

.blog-ui-readmore {
  font-weight: 700;
  color: #0d381e;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.blog-ui-readmore:hover {
  color: #a47b36;
  gap: 7px;
}

/* 4. "Stay in the Loop" Newsletter Banner */
.blog-loop-section {
  padding: 0 0 60px;
}

.blog-loop-banner {
  position: relative;
  background: #dbe7dd;
  border-radius: 16px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 56, 30, 0.08);
}

.blog-loop-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  height: 100%;
  background: url('../images/blogs/nl-leaf-left.png') no-repeat left center / contain;
  pointer-events: none;
}

.blog-loop-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 100%;
  background: url('../images/blogs/nl-makhana-right.png') no-repeat right center / contain;
  pointer-events: none;
}

.loop-text-block {
  position: relative;
  z-index: 2;
  margin-left: 90px;
}

.loop-form-block {
  position: relative;
  z-index: 2;
  margin-right: 70px;
}

.loop-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #0d381e;
  margin: 0 0 6px;
}

.loop-desc {
  font-size: 14px;
  color: #355341;
  margin: 0;
}

.loop-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.loop-input-inner {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 30px;
  padding: 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 320px;
  height: 46px;
}

.loop-input-inner i {
  color: #888888;
  font-size: 14px;
  margin-right: 10px;
}

.loop-input-inner input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13.5px;
  width: 100%;
  color: #333333;
}

.loop-btn-subscribe {
  background: #0d381e;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 0 28px;
  height: 46px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.loop-btn-subscribe:hover {
  background: #165630;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   BLOG DETAILS PAGE (blog-details.php)
   -------------------------------------------------------------------------- */
.blog-detail-mockup-page {
  background-color: #fdfcf9;
}

/* 1. Panoramic Header Banner */
.blog-detail-hero-banner {
  position: relative;
  background-color: #fbf9f4;
  background-image: url('../images/blogs/blog-details-header-art-clean.png');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  min-height: 220px;
  padding: 40px 0 36px;
  border-bottom: 1px solid #ede8de;
}

.blog-detail-hero-text {
  max-width: 640px;
}

.blog-detail-breadcrumbs {
  font-size: 13px;
  color: #666666;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-detail-breadcrumbs a {
  color: #666666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-detail-breadcrumbs a:hover {
  color: #0d381e;
}

.bc-sep {
  color: #aaaaaa;
  font-size: 11px;
}

.bc-active {
  color: #111111;
  font-weight: 600;
}

.blog-detail-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.22;
  color: #112d1f;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}

.blog-detail-sublead {
  font-size: 15px;
  color: #555555;
  margin: 0 0 16px;
  line-height: 1.5;
}

.blog-detail-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: #666666;
}

.meta-elem {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-elem i {
  color: #0d381e;
  font-size: 13px;
}

/* 2. Main 2-Column Article & Sidebar Body */
.blog-detail-main-layout {
  display: grid;
  grid-template-columns: 50px 1fr 340px;
  gap: 36px;
  padding: 45px 0 80px;
  align-items: start;
}

/* Left Floating Share Toolbar (Sticky) */
.blog-share-floating-bar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.share-floating-label {
  font-size: 12px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 2px;
}

.share-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e2ddd3;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444444;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.share-circle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.share-fb:hover {
  color: #1877f2;
  border-color: #1877f2;
}

.share-tw:hover {
  color: #000000;
  border-color: #000000;
}

.share-li:hover {
  color: #0a66c2;
  border-color: #0a66c2;
}

.share-cp:hover {
  color: #0d381e;
  border-color: #0d381e;
}

/* Author Byline at Start of Article */
.article-author-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8faf7;
  border: 1px solid #e2ece4;
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 28px;
}

.author-byline-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: block;
}

.author-byline-info {
  flex: 1;
  min-width: 0;
}

.author-byline-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14.5px;
  margin-bottom: 4px;
}

.author-byline-label {
  color: #64748b;
  font-size: 13px;
}

.author-byline-name {
  font-weight: 700;
  color: #0d381e;
  font-size: 15px;
}

.verified-author-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eef7f2;
  color: #166534;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid #bbf7d0;
}

.verified-author-badge i {
  font-size: 11px;
}

.author-byline-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
  flex-wrap: wrap;
}

.author-byline-sub i {
  color: #16a34a;
  margin-right: 2px;
}

.byline-dot {
  color: #cbd5e1;
}

/* Dedicated About The Author Profile Card (At End of Article) */
.article-author-bio-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: #fbfdfa;
  border: 1.5px solid #dcf0e2;
  border-radius: 18px;
  padding: 26px 28px;
  margin: 36px 0 32px;
  box-shadow: 0 4px 18px rgba(13, 56, 30, 0.04);
}

.author-bio-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.author-bio-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  display: block;
}

.author-check-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: #16a34a;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border: 2px solid #ffffff;
}

.author-bio-content {
  flex: 1;
  min-width: 0;
}

.author-bio-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 800;
  color: #166534;
  margin-bottom: 4px;
}

.author-bio-name {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #0d381e;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.author-verified-tag {
  font-size: 11px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  background: #eef7f2;
  color: #166534;
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid #bbf7d0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.author-bio-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 14px;
}

.author-bio-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eef2ed;
  padding-top: 12px;
  font-size: 12.5px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 10px;
}

.author-social-icons {
  display: flex;
  gap: 10px;
}

.author-social-icons a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef4f0;
  color: #0d381e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}

.author-social-icons a:hover {
  background: #0d381e;
  color: #ffffff;
}

/* Sidebar Author Widget */
.sidebar-author-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.sidebar-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.sidebar-author-name {
  font-weight: 700;
  font-size: 14.5px;
  color: #0d381e;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-author-role {
  font-size: 12px;
  color: #64748b;
}

.sidebar-author-bio {
  font-size: 12.5px;
  line-height: 1.5;
  color: #475569;
  margin: 0;
}

/* Center Article Content Column */
.blog-detail-content-col {
  min-width: 0;
}

.article-rich-text {
  font-size: 15.5px;
  line-height: 1.75;
  color: #333333;
}

.article-rich-text p {
  margin: 0 0 20px;
}

.article-rich-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #112d1f;
  margin: 32px 0 12px;
}

.article-inner-banner {
  margin: 26px 0 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.article-inner-banner img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* Read Full Benefits Button */
.article-cta-btn-wrap {
  margin: 30px 0 28px;
}

.btn-read-full-benefits {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0d381e;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-read-full-benefits:hover {
  background: #165630;
  transform: translateY(-2px);
}

/* Quote Ribbon Banner */
.article-quote-ribbon {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #edf4ee;
  border-radius: 40px;
  padding: 14px 26px;
  margin: 24px 0 30px;
}

.article-quote-ribbon i {
  color: #0d381e;
  font-size: 20px;
  flex-shrink: 0;
}

.article-quote-ribbon p {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: #174227;
  margin: 0;
  font-weight: 600;
}

/* Tags Strip */
.article-tags-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 35px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ede8de;
}

.tags-head-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #333333;
  margin-right: 4px;
}

.tag-link-pill {
  font-size: 12.5px;
  color: #555555;
  background: #f2eee6;
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tag-link-pill:hover {
  background: #0d381e;
  color: #ffffff;
}

/* Prev / Next Article Card */
.blog-prev-next-nav {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  border: 1px solid #ede8de;
  border-radius: 12px;
  background: #ffffff;
  padding: 18px 20px;
  gap: 16px;
}

.pn-divider-line {
  background: #ede8de;
  height: 100%;
  width: 1px;
}

.prev-next-box {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.prev-next-box:hover {
  opacity: 0.8;
}

.prev-next-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f2eee6;
}

.prev-next-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prev-next-arrow {
  color: #888888;
  font-size: 16px;
}

.pn-sub {
  font-size: 11px;
  text-transform: uppercase;
  color: #888888;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 2px;
}

.pn-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #112d1f;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Right Sidebar Column */
.blog-detail-sidebar-col {
  min-width: 0;
}

.sidebar-widget-card {
  background: #ffffff;
  border: 1px solid #ede8de;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 26px;
}

.widget-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 1px solid #f2eee6;
  padding-bottom: 12px;
}

.widget-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  color: #112d1f;
  margin: 0 0 14px;
}

.widget-header-row .widget-main-title {
  margin: 0;
}

.widget-viewall-link {
  font-size: 12.5px;
  font-weight: 700;
  color: #0d381e;
  text-decoration: none;
}

.widget-viewall-link:hover {
  text-decoration: underline;
}

/* Widget 1: Related Articles List */
.widget-articles-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.widget-article-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.wa-thumb {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f2eee6;
}

.wa-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.widget-article-item:hover .wa-thumb img {
  transform: scale(1.06);
}

.wa-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #112d1f;
  line-height: 1.35;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.widget-article-item:hover .wa-title {
  color: #a47b36;
}

.wa-meta {
  display: flex;
  gap: 10px;
  font-size: 11.5px;
  color: #888888;
}

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

.wa-meta i {
  font-size: 11px;
}

/* Widget 2: Categories List */
.widget-cats-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-cats-list li {
  margin-bottom: 6px;
}

.widget-cats-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13.5px;
  color: #444444;
  font-weight: 600;
  transition: all 0.2s ease;
}

.widget-cats-list li a:hover {
  background: #f6f3eb;
  color: #0d381e;
}

.widget-cats-list li.active a {
  background: #e6efe8;
  color: #0d381e;
  font-weight: 700;
}

.cat-link-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cat-link-left i {
  font-size: 15px;
  color: #0d381e;
}

.cat-count-badge {
  font-size: 12.5px;
  color: #666666;
}

/* Widget 3: Subscribe to Our Blog */
.widget-subscribe-blog {
  background: #e7f0e8;
  border-color: #d1e3d3;
}

.subscribe-blog-head {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.subscribe-mail-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0d381e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.subscribe-head-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0d381e;
  margin: 0 0 4px;
}

.subscribe-head-text p {
  font-size: 12.5px;
  color: #41614c;
  margin: 0;
  line-height: 1.45;
}

.subscribe-input-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 8px;
  padding: 0 12px;
  border: 1px solid #ccdcd0;
  height: 42px;
  margin-bottom: 10px;
}

.subscribe-input-wrap i {
  color: #888888;
  font-size: 14px;
  margin-right: 8px;
}

.subscribe-input-wrap input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 13px;
  color: #333333;
  background: transparent;
}

.btn-widget-subscribe {
  width: 100%;
  height: 42px;
  background: #0d381e;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-widget-subscribe:hover {
  background: #165630;
}

/* Widget 4: Farmer Promo Card */
.widget-farmer-promo {
  padding: 0;
  border: none;
  overflow: hidden;
  border-radius: 14px;
}

.widget-farmer-promo a img {
  width: 100%;
  display: block;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.widget-farmer-promo a:hover img {
  transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS (1:1 FIDELITY FOR ALL SCREENS)
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .blog-ui-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-detail-main-layout {
    grid-template-columns: 1fr 320px;
  }
  .blog-share-floating-bar {
    display: none;
  }
}

@media (max-width: 860px) {
  .blog-detail-main-layout {
    grid-template-columns: 1fr;
  }
  .blog-detail-sidebar-col {
    margin-top: 20px;
  }
  .blog-hero-title {
    font-size: 36px;
  }
  .blog-detail-headline {
    font-size: 32px;
  }
  .blog-loop-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }
  .loop-input-wrap {
    width: 100%;
    flex-direction: column;
  }
  .loop-input-inner {
    width: 100%;
  }
  .loop-btn-subscribe {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .blog-ui-grid {
    grid-template-columns: 1fr;
  }
  .blog-cat-icon-row {
    gap: 16px;
  }
  .cat-circle-item {
    width: 75px;
  }
  .cat-icon-bubble {
    width: 52px;
    height: 52px;
    font-size: 17px;
  }
  .cat-name-label {
    font-size: 11.5px;
  }
  .blog-hero-title {
    font-size: 28px;
  }
  .blog-prev-next-nav {
    grid-template-columns: 1fr;
  }
  .pn-divider-line {
    display: none;
  }
}

/* ==========================================================================
   GLOBAL SEARCH MODAL & LIVE AUTOCOMPLETE
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
  overflow-y: auto;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-modal-container {
  width: 100%;
  max-width: 680px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06);
  padding: 28px;
  transform: translateY(-20px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-overlay.show .search-modal-container {
  transform: translateY(0) scale(1);
}

.search-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.search-modal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #15803d;
  background: #dcfce7;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.search-modal-title {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 24px;
  color: var(--primary-deep, #14532d);
  margin: 0;
}

.modal-close-btn {
  background: #f1f5f9;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: rotate(90deg);
}

.search-form-wrap {
  margin-bottom: 18px;
}

.search-input-box {
  display: flex;
  align-items: center;
  position: relative;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 4px 6px 4px 16px;
  transition: all 0.2s ease;
}

.search-input-box:focus-within {
  background: #ffffff;
  border-color: #15803d;
  box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.12);
}

.search-input-icon {
  color: #94a3b8;
  display: flex;
  align-items: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.search-modal-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: #1e293b;
  padding: 10px 0;
  outline: none;
  font-family: inherit;
}

.search-modal-input::placeholder {
  color: #94a3b8;
  font-size: 14.5px;
}

.search-clear-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 10px;
  line-height: 1;
  transition: color 0.2s;
}

.search-clear-btn:hover {
  color: #334155;
}

.search-submit-btn {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
}

.search-submit-btn:hover {
  background: linear-gradient(135deg, #166534 0%, #14532d 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(21, 128, 61, 0.35);
}

/* Trending Searches */
.trending-tags-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.trending-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  margin-right: 4px;
}

.trending-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.trending-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.trending-tag:hover {
  background: #dcfce7;
  color: #15803d;
  border-color: #86efac;
  transform: translateY(-1px);
}

/* Live Instant Results */
.live-results-container {
  margin-top: 20px;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
  max-height: 420px;
  overflow-y: auto;
}

.live-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.live-results-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.live-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.live-result-item:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.live-result-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: contain;
  background: #f8fafc;
  padding: 4px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.live-result-meta {
  flex: 1;
  min-width: 0;
}

.live-result-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-result-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
}

.live-flavour-badge {
  background: #fef3c7;
  color: #92400e;
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 600;
}

.live-cat-badge {
  color: #64748b;
}

.live-result-pricing {
  text-align: right;
  flex-shrink: 0;
}

.live-price-current {
  font-size: 15px;
  font-weight: 700;
  color: #15803d;
  display: block;
}

.live-price-original {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
}

.live-view-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  margin-top: 14px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #15803d;
  text-decoration: none;
  transition: all 0.2s ease;
}

.live-view-all-btn:hover {
  background: #dcfce7;
  border-color: #86efac;
}

.live-empty-state {
  text-align: center;
  padding: 30px 15px;
  color: #64748b;
}

.live-empty-state svg {
  margin-bottom: 10px;
  color: #94a3b8;
}

.live-empty-state p {
  font-size: 14px;
  margin-bottom: 12px;
}

/* ==========================================================================
   SHOP PAGE SPECIFIC SEARCH STYLES
   ========================================================================== */
.shop-search-sidebar-box {
  position: relative;
  margin-bottom: 18px;
}

.shop-search-sidebar-box input {
  width: 100%;
  padding: 10px 38px 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13.5px;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.shop-search-sidebar-box input:focus {
  border-color: #15803d;
  outline: none;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.1);
}

.shop-search-sidebar-box button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.shop-search-sidebar-box button:hover {
  color: #15803d;
}

.shop-active-search-bar {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-active-search-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: #166534;
}

.shop-active-search-tag {
  background: #ffffff;
  border: 1px solid #86efac;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
  color: #14532d;
}

.shop-clear-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.shop-clear-search-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #ef4444;
}

.shop-no-results-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 48px 24px;
  text-align: center;
  grid-column: 1 / -1;
  width: 100%;
}

.shop-no-results-card h3 {
  font-size: 20px;
  color: #0f172a;
  margin: 14px 0 8px;
}

.shop-no-results-card p {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .modal-overlay {
    padding: 40px 14px;
  }
  .search-modal-container {
    padding: 20px 16px;
  }
  .search-modal-title {
    font-size: 20px;
  }
  .search-input-box {
    padding: 3px 4px 3px 12px;
  }
  .search-submit-btn {
    padding: 8px 14px;
    font-size: 13.5px;
  }
}



