/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES (JES Food)
   ========================================================================== */

:root {
  /* Color Palette - Light Mode */
  --primary-color: #0a2e1c;
  /* Deep Forest Emerald */
  --primary-light: #12432a;
  --secondary-color: #d05d15;
  /* Warm Premium Terracotta */
  --secondary-light: #e26f25;
  --accent-color: #cca43b;
  /* Warm Accent Gold */
  --accent-light: #dcb348;
  --bg-color: #f9faf7;
  /* Clean organic soft cream */
  --card-bg: #ffffff;
  --text-main: #1b2420;
  /* Charcoal with a hint of forest green */
  --text-muted: #5e6b63;
  --border-color: #e9ece9;
  --shadow-color: rgba(10, 46, 28, 0.05);
  --overlay-bg: rgba(10, 46, 28, 0.45);
  --hero-overlay-bg: linear-gradient(135deg, rgba(10, 46, 28, 0.85) 0%, rgba(208, 93, 21, 0.4) 100%);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Playfair Display', serif;

  /* Layout & Transitions */
  --max-width: 1200px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Theme Overrides */
[data-theme="dark"] {
  --primary-color: #12432a;
  --primary-light: #1b5a3b;
  --secondary-color: #e26f25;
  --secondary-light: #f0833a;
  --accent-color: #dcb348;
  --accent-light: #e4be5b;
  --bg-color: #0b1410;
  /* Rich deep dark charcoal green */
  --card-bg: #111e18;
  --text-main: #f0f4f2;
  --text-muted: #9ab0a3;
  --border-color: #1a2a22;
  --shadow-color: rgba(0, 0, 0, 0.4);
  --overlay-bg: rgba(6, 15, 11, 0.7);
  --hero-overlay-bg: linear-gradient(135deg, rgba(6, 15, 11, 0.95) 0%, rgba(226, 111, 37, 0.4) 100%);
}

/* Base keyframes for animations */
@keyframes pulse-glow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(208, 93, 21, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(208, 93, 21, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(208, 93, 21, 0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -20;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: all var(--transition-fast);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
  border: 2px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* ==========================================================================
   REUSABLE COMPONENTS & UTILITIES
   ========================================================================== */

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

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--secondary-color);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 12px;
  text-transform: capitalize;
}

[data-theme="dark"] .section-title {
  color: var(--text-main);
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(20, 54, 37, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 54, 37, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(192, 90, 27, 0.2);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(192, 90, 27, 0.3);
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

[data-theme="dark"] .btn-outline {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

[data-theme="dark"] .btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* Scroll Animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal), padding var(--transition-normal);
  padding: 24px 0;
}

.header.sticky {
  background-color: rgba(251, 251, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 4px 20px var(--shadow-color);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .header.sticky {
  background-color: rgba(17, 27, 21, 0.85);
}

/* Transparent Header Overrides (For Dark Hero Image) */
.header:not(.sticky) .logo-text {
  color: #ffffff !important;
}

.header:not(.sticky) .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}

.header:not(.sticky) .nav-link:hover,
.header:not(.sticky) .nav-link.active {
  color: var(--accent-color) !important;
}

.header:not(.sticky) .icon-btn {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: none !important;
}

.header:not(.sticky) .icon-btn:hover {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

.header:not(.sticky) .user-nav-btn {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.header:not(.sticky) .user-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.25) !important;
}

.header:not(.sticky) .auth-nav-btn {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.header:not(.sticky) .auth-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.3) !important;
}

.header:not(.sticky) .menu-toggle i {
  color: #ffffff !important;
}

/* Sticky Header — enforce visible nav colors in light mode */
.header.sticky .nav-link {
  color: var(--primary-color);
}

.header.sticky .nav-link:hover {
  color: var(--secondary-color);
}

.header.sticky .nav-link.active {
  color: var(--secondary-color);
}

[data-theme="dark"] .header.sticky .nav-link {
  color: var(--text-main);
}

[data-theme="dark"] .header.sticky .nav-link:hover,
[data-theme="dark"] .header.sticky .nav-link.active {
  color: var(--accent-color);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
  transition: height var(--transition-normal), margin var(--transition-normal), transform var(--transition-fast);
}

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

.header .logo-img {
  height: 180px;
  margin-top: -65px;
  margin-bottom: -65px;
}

.header.sticky .logo-img {
  height: 120px;
  margin-top: -42px;
  margin-bottom: -42px;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background-color: var(--primary-color);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-family: var(--font-heading);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary-color);
}

[data-theme="dark"] .logo-text {
  color: #ffffff;
}

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

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

.mobile-only {
  display: none !important;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width var(--transition-fast);
}

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

.nav-link.active {
  color: var(--secondary-color);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--card-bg);
  border: 1.5px solid var(--border-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--shadow-color);
  font-size: 0.95rem;
}

.icon-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--secondary-color);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--card-bg);
  transition: transform var(--transition-fast);
}

/* Cart badge pop animation */
@keyframes badge-pop {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.5);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

.cart-count.badge-pop {
  animation: badge-pop 0.3s ease;
}

/* Wishlist badge in nav */
.wishlist-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #e53e3e;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--card-bg);
}

.menu-toggle {
  display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background-image: var(--hero-overlay-bg), url('assets/images/hero-bg.jpg?v=2');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff;
  padding-top: 130px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 750px;
  z-index: 10;
  background: rgba(10, 46, 28, 0.45);
  padding: 48px;
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  animation: float 6s ease-in-out infinite;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(204, 164, 59, 0.15);
  border: 1.5px solid var(--accent-color);
  color: var(--accent-color);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-title span {
  color: var(--accent-color);
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  text-shadow: none;
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 36px;
  line-height: 1.6;
  opacity: 0.95;
  color: #e5e8e5;
  max-width: 650px;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  opacity: 0.75;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2.5s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-10px) translateX(-50%);
  }

  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-img-box {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(10, 46, 28, 0.08);
  border: 4px solid var(--card-bg);
}

.about-img-box img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-img-box:hover img {
  transform: scale(1.04);
}

.about-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #ffffff;
  padding: 20px 28px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 15px 30px rgba(10, 46, 28, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  max-width: 190px;
}

.about-badge-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-color);
  display: block;
  line-height: 1;
}

.about-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.about-info-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.25;
}

[data-theme="dark"] .about-info-title {
  color: var(--text-main);
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.about-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.about-feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(204, 164, 59, 0.12);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.about-feat-item:hover .about-feat-icon {
  transform: translateY(-3px) scale(1.05);
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.about-feat-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary-color);
}

[data-theme="dark"] .about-feat-title {
  color: var(--text-main);
}

.about-feat-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   PRODUCTS SECTION
   ========================================================================== */

.products-section {
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.search-filter-wrapper {
  max-width: 550px;
  margin: 0 auto 48px auto;
  display: flex;
  gap: 12px;
  position: relative;
}

.search-input-container {
  position: relative;
  flex: 1;
}

.search-input-container i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  transition: color var(--transition-fast);
  pointer-events: none;
}

#product-search-input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  border-radius: 50px;
  border: 1.5px solid var(--border-color);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--card-bg);
  color: var(--text-main);
  outline: none;
  box-shadow: 0 6px 15px var(--shadow-color);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#product-search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 6px 24px rgba(10, 46, 28, 0.08);
}

#product-search-input:focus~i {
  color: var(--primary-color);
}

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

.product-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(10, 46, 28, 0.08);
  border-color: rgba(204, 164, 59, 0.4);
}

.product-img-box {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: #f0f3f1;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: #ffffff;
  padding: 5px 11px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50px;
  letter-spacing: 0.5px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Wishlist Heart Button on Product Cards */
.wish-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 6;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.wish-btn:hover {
  background-color: #fff1f2;
  color: #e53e3e;
  transform: scale(1.12);
}

.wish-btn.wishlisted {
  background-color: #fff1f2;
  color: #e53e3e;
}

@keyframes heart-pop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.35);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

[data-theme="dark"] .wish-btn {
  background-color: rgba(24, 38, 30, 0.88);
  color: var(--text-muted);
}

[data-theme="dark"] .wish-btn:hover,
[data-theme="dark"] .wish-btn.wishlisted {
  background-color: rgba(229, 62, 62, 0.15);
  color: #fc8181;
}

.product-badge.promo {
  background-color: var(--secondary-color);
}

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

.product-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

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

[data-theme="dark"] .product-price {
  color: var(--accent-color);
}

.add-to-cart-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(20, 54, 37, 0.05);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  border: none;
  outline: none;
  cursor: pointer;
}

.add-to-cart-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: scale(1.1);
}

[data-theme="dark"] .add-to-cart-btn {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent-color);
}

[data-theme="dark"] .add-to-cart-btn:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */

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

.why-card {
  background-color: var(--card-bg);
  padding: 40px 30px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 25px var(--shadow-color);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--shadow-color);
}

.why-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(192, 90, 27, 0.08);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
  transition: transform var(--transition-normal);
}

.why-card:hover .why-icon-box {
  transform: rotateY(180deg);
}

.why-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   DELIVERY SECTION
   ========================================================================== */

.delivery-section {
  background-color: var(--primary-color);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.delivery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(204, 164, 59, 0.15), transparent 60%);
  pointer-events: none;
}

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

.delivery-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.delivery-title span {
  color: var(--accent-color);
}

.delivery-text {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

.delivery-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.deliv-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.deliv-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 4px;
}

.deliv-step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.deliv-step-desc {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Shipping Visual - Simulated Globe/Map */
.delivery-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-container {
  width: 100%;
  max-width: 450px;
  height: 450px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle, rgba(204, 164, 59, 0.05) 0%, transparent 70%);
}

.map-grid-pattern {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.08);
  animation: spin 60s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.delivery-globe-center {
  width: 140px;
  height: 140px;
  background-color: var(--accent-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 0 40px rgba(204, 164, 59, 0.4);
  z-index: 5;
}

.delivery-globe-center span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.map-node {
  position: absolute;
  background-color: var(--secondary-color);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 15px var(--secondary-color);
  z-index: 6;
}

.map-node::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--secondary-color);
  animation: pulse-glow-ring 2s cubic-bezier(0.25, 0, 0, 1) infinite;
}

@keyframes pulse-glow-ring {
  0% {
    transform: scale(0.4);
    opacity: 1;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.flight-path-line {
  stroke-dasharray: 6, 4;
  animation: dash 1.5s linear infinite;
}

.node-london {
  top: 20%;
  left: 45%;
}

.node-houston {
  top: 35%;
  left: 15%;
}

.node-toronto {
  top: 25%;
  left: 22%;
}

.node-lagos {
  top: 60%;
  left: 50%;
  background-color: var(--accent-color);
  box-shadow: 0 0 20px var(--accent-color);
}

.node-lagos::after {
  border-color: var(--accent-color);
}

.node-dubai {
  top: 40%;
  left: 70%;
}

.node-johannesburg {
  top: 80%;
  left: 55%;
}

/* Curved flight paths */
.flight-path {
  position: absolute;
  border: 1.5px dashed rgba(255, 255, 255, 0.25);
  border-bottom: none;
  border-left: none;
  border-radius: 0 100% 0 0;
  transform-origin: 0 100%;
}

.path-lagos-london {
  width: 120px;
  height: 180px;
  bottom: 40%;
  left: 48%;
  transform: rotate(-10deg);
}

.path-lagos-houston {
  width: 200px;
  height: 120px;
  bottom: 40%;
  right: 50%;
  transform: rotate(190deg);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

/* Slider viewport — clips overflow */
.testimonial-slider {
  position: relative;
  overflow: hidden;
  padding: 16px 0 60px;
  /* horizontal padding to make room for the arrow buttons */
  margin: 0 -8px;
}

/* Slides track — flex row that slides via translateX */
.tslider-track {
  display: flex;
  gap: 28px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  align-items: stretch;
  padding: 8px 8px 4px;
}

/* Each individual slide card */
.tslider-slide {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 0;
}

/* Prev / Next Arrow Buttons */
.tslider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 10;
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  color: var(--primary-color);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--shadow-color);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.tslider-btn:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-60%) scale(1.08);
  box-shadow: 0 8px 24px rgba(10, 46, 28, 0.18);
}

.tslider-prev {
  left: 4px;
}

.tslider-next {
  right: 4px;
}

.tslider-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Dot Indicators */
.tslider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
}

.tslider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-fast), transform var(--transition-fast), width var(--transition-fast);
  flex-shrink: 0;
}

.tslider-dot.active {
  background: var(--primary-color);
  width: 26px;
  border-radius: 4px;
  transform: none;
}

[data-theme="dark"] .tslider-dot.active {
  background: var(--accent-color);
}

/* ========== Responsive: 2 slides on tablet ========== */
@media (max-width: 900px) {
  .tslider-slide {
    flex: 0 0 calc(50% - 14px);
  }
}

/* ========== Responsive: 1 slide on mobile ========== */
@media (max-width: 600px) {
  .tslider-slide {
    flex: 0 0 calc(100% - 16px);
  }

  .tslider-btn {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
}

.testimonial-card {
  background-color: var(--card-bg);
  padding: 40px 30px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 25px var(--shadow-color);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(10, 46, 28, 0.08);
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 15px;
  right: 25px;
  font-family: var(--font-accent);
  font-size: 5.5rem;
  color: rgba(204, 164, 59, 0.12);
  /* Warm accent quote mark */
  line-height: 1;
}

[data-theme="dark"] .testimonial-card::before {
  color: rgba(204, 164, 59, 0.06);
}

.testimonial-stars {
  color: var(--accent-color);
  font-size: 1rem;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(204, 164, 59, 0.2);
}

[data-theme="dark"] .user-avatar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(10, 46, 28, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.user-info-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
}

[data-theme="dark"] .user-info-name {
  color: var(--text-main);
}

.user-info-location {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CALL-TO-ACTION (CTA) SECTION
   ========================================================================== */

.cta-section {
  background-color: rgba(192, 90, 27, 0.05);
  position: relative;
}

.cta-box {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  padding: 60px 40px;
  box-shadow: 0 20px 50px var(--shadow-color);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-image: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 16px;
}

[data-theme="dark"] .cta-title {
  color: #ffffff;
}

.cta-desc {
  max-width: 600px;
  margin: 0 auto 32px;
  color: var(--text-muted);
}

.cta-channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.cta-channel-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 250px;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.cta-channel-card:hover {
  transform: translateY(-4px);
  border-color: var(--secondary-color);
  box-shadow: 0 12px 24px rgba(10, 46, 28, 0.08);
}

.cta-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--card-bg);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 10px var(--shadow-color);
}

.cta-channel-info {
  text-align: left;
}

.cta-channel-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-channel-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background-color: #061e12;
  color: #a3b0a8;
  padding: 80px 0 30px;
  border-top: 1px solid #0b2e1c;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand .logo-text {
  color: #ffffff;
}

.footer-brand .logo-icon {
  background-color: var(--accent-color);
  color: #061e12;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(204, 164, 59, 0.3);
}

.footer-title {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
}

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

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer-info-icon {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid #14231b;
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* ==========================================================================
   CART DRAWER & FLOATING ACTIONS
   ========================================================================== */

.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: #25d366;
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-fast);
  animation: fab-enter 0.6s ease 1s both;
  overflow: visible;
}

@keyframes fab-enter {
  from {
    opacity: 0;
    transform: scale(0.4) rotate(-20deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

/* WhatsApp FAB Tooltip */
.fab-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background-color: #1a1a1a;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.fab-tooltip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #1a1a1a;
}

.floating-whatsapp:hover .fab-tooltip {
  opacity: 1;
}

/* Back-to-Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 98px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(20, 54, 37, 0.3);
  z-index: 998;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color var(--transition-fast);
  pointer-events: none;
}

.back-to-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(192, 90, 27, 0.3);
}

/* Cart Overlay Drawer */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--overlay-bg);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(4px);
  transition: opacity var(--transition-normal);
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(450px, 100vw);
  height: 100vh;
  background-color: var(--card-bg);
  box-shadow: -10px 0 40px var(--shadow-color);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
}

.cart-overlay.open .cart-drawer {
  right: 0;
}

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

.cart-header-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-close-btn {
  font-size: 1.5rem;
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.cart-close-btn:hover {
  background-color: var(--border-color);
}

.cart-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.cart-items-list {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


/* Empty Cart State */
.cart-empty-state {
  text-align: center;
  margin: auto;
  color: var(--text-muted);
}

.cart-empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--border-color);
}

.cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--border-radius-sm);
  object-fit: cover;
  background-color: var(--bg-color);
}

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

.cart-item-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.cart-item-price {
  color: var(--secondary-color);
  font-size: 0.9rem;
  font-weight: 700;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--card-bg);
}

.qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  color: var(--text-main);
  background-color: var(--border-color);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

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

.qty-number {
  font-size: 0.9rem;
  font-weight: 700;
  width: 32px;
  text-align: center;
  color: var(--text-main);
}

.cart-item-remove {
  color: #dc2626;
  font-size: 1.1rem;
  padding: 4px;
}

.cart-item-remove:hover {
  transform: scale(1.1);
}

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

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.cart-summary-label {
  font-weight: 600;
  color: var(--text-muted);
}

.cart-summary-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-color);
}

[data-theme="dark"] .cart-summary-value {
  color: var(--accent-color);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.checkout-input {
  width: 100%;
  padding: 12px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 0.9rem;
  background-color: var(--card-bg);
  color: var(--text-main);
}

.checkout-input:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.checkout-input.valid {
  border-color: #2e7d32 !important;
  background-color: rgba(46, 125, 50, 0.02) !important;
}

.checkout-input.invalid {
  border-color: #dc2626 !important;
  background-color: rgba(220, 38, 38, 0.02) !important;
}

.checkout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-weight: 700;
}

/* ==========================================================================
   RESPONSIVE STYLING (MOBILE-FIRST)
   ========================================================================== */

@media (max-width: 992px) {
  .mobile-only {
    display: block !important;
  }

  .header {
    padding: 16px 0;
  }

  .menu-toggle {
    display: flex;
    font-size: 1.5rem;
    color: var(--text-main);
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--card-bg);
    box-shadow: -10px 0 30px var(--shadow-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right var(--transition-normal);
    z-index: 1000;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
  }

  .nav-actions {
    gap: 8px;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-box img {
    height: 350px;
  }

  .delivery-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .delivery-visual {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
  }

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

@media (max-width: 768px) {

  .auth-btn-text,
  .user-btn-text,
  .user-btn-chevron {
    display: none !important;
  }

  .nav-actions {
    gap: 4px;
    flex-wrap: nowrap;
    overflow: visible;
  }

  /* Always keep menu toggle visible — give it priority */
  .menu-toggle {
    order: 10;
    flex-shrink: 0;
  }

  .auth-nav-btn,
  .user-nav-btn {
    padding: 0 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    justify-content: center !important;
    border: 1.5px solid var(--border-color) !important;
    background-color: var(--card-bg) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 2px 6px var(--shadow-color) !important;
  }

  .auth-nav-btn:hover,
  .user-nav-btn:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
  }

  .hero {
    background-attachment: scroll;
    /* fixes mobile background rendering bugs */
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-content {
    padding: 24px;
    border-radius: var(--border-radius-md);
  }

  .hero-title {
    font-size: 2.25rem;
    letter-spacing: -1px;
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 12px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .about-badge {
    bottom: -10px;
    right: -10px;
    padding: 16px;
    max-width: 140px;
  }

  .about-badge-number {
    font-size: 2rem;
  }

  .cta-box {
    padding: 40px 20px;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .cta-channel-card {
    min-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   AUTH MODAL (Login / Register)
   ========================================================================== */

.auth-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 14, 0.55);
  backdrop-filter: blur(6px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal-overlay.open {
  display: flex;
}

.auth-modal {
  background: var(--card-bg);
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  position: relative;
  animation: auth-slide-in 0.3s ease;
}

@keyframes auth-slide-in {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  z-index: 10;
  background: var(--card-bg);
}

.auth-modal-close:hover {
  background: var(--border-color);
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
}

.auth-tab-btn {
  flex: 1;
  padding: 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  text-align: center;
}

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

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

.auth-tab-content {
  display: none;
  padding: 28px;
}

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

.auth-form-group {
  margin-bottom: 16px;
}

.auth-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg-color);
  color: var(--text-main);
  transition: border-color var(--transition-fast);
}

.auth-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--card-bg);
}

.auth-error {
  color: #dc2626;
  font-size: 0.83rem;
  margin-top: 10px;
  padding: 8px 12px;
  background: #fef2f2;
  border-radius: 6px;
  display: none;
}

.auth-success {
  color: #2e7d32;
  font-size: 0.83rem;
  margin-top: 10px;
  padding: 8px 12px;
  background: #f0fdf4;
  border-radius: 6px;
  display: none;
}

.auth-divider {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin: 12px 0;
}

/* ==========================================================================
   USER NAV BUTTON & DROPDOWN
   ========================================================================== */

.user-nav-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 50px;
  border: 1.5px solid var(--border-color);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--card-bg);
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}

.user-nav-btn.visible {
  display: flex;
}

.user-nav-btn .user-avatar-mini {
  width: 26px;
  height: 26px;
  background: var(--primary-color);
  color: var(--accent-color);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-nav-btn:hover {
  background: var(--bg-color);
}

.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 8px 24px var(--shadow-color);
  min-width: 180px;
  z-index: 1200;
  overflow: hidden;
}

.user-dropdown.open {
  display: block;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-main);
  cursor: pointer;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
}

.user-dropdown-item:hover {
  background: var(--bg-color);
}

.user-dropdown-item.danger {
  color: #dc2626;
}

.user-dropdown-divider {
  height: 1px;
  background: var(--border-color);
}

.auth-nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--secondary-color);
  border: 1.5px solid var(--secondary-color);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.auth-nav-btn:hover {
  background-color: #a44812;
  border-color: #a44812;
  transform: translateY(-1px);
}

/* ==========================================================================
   SHIPPING FEE ROW (Cart Drawer)
   ========================================================================== */

.shipping-fee-row {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px dashed var(--border-color);
  margin-top: 8px;
  font-size: 0.88rem;
}

.shipping-fee-row.visible {
  display: flex;
}

.shipping-fee-label {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.shipping-fee-value {
  font-weight: 700;
  color: var(--secondary-color);
}

.shipping-delivery-estimate {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   BANK TRANSFER PAYMENT PANEL (Cart Drawer)
   ========================================================================== */

.bank-transfer-panel {
  background: linear-gradient(135deg, rgba(10, 46, 28, 0.05) 0%, rgba(204, 164, 59, 0.08) 100%);
  border: 1px solid rgba(10, 46, 28, 0.12);
  border-radius: var(--border-radius-md);
  padding: 14px;
  margin-top: 4px;
  margin-bottom: 0;
  display: none;
}

[data-theme="dark"] .bank-transfer-panel {
  background: linear-gradient(135deg, rgba(18, 67, 42, 0.2) 0%, rgba(204, 164, 59, 0.1) 100%);
  border-color: rgba(255, 255, 255, 0.07);
}

.bank-transfer-panel.visible {
  display: block;
  animation: slideDownFade 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bank-transfer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.bank-transfer-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}

[data-theme="dark"] .bank-transfer-title {
  color: var(--accent-color);
}

.bank-transfer-badge {
  font-size: 0.68rem;
  font-weight: 700;
  background-color: var(--accent-color);
  color: #fff;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

.bank-transfer-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-color);
  font-style: italic;
}

.bank-account-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.bank-account-card:last-child {
  margin-bottom: 0;
}

.bank-account-card:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 2px 10px var(--shadow-color);
}

.bank-account-card.copied {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.bank-account-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.bank-logo-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.gtbank-logo {
  background-color: rgba(208, 93, 21, 0.12);
  color: #d05d15;
}

[data-theme="dark"] .gtbank-logo {
  background-color: rgba(226, 111, 37, 0.18);
  color: var(--secondary-color);
}

.opay-logo {
  background-color: rgba(10, 46, 28, 0.1);
  color: var(--primary-color);
}

[data-theme="dark"] .opay-logo {
  background-color: rgba(18, 67, 42, 0.3);
  color: var(--accent-color);
}

.bank-account-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.bank-name {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bank-account-number {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background-color: transparent;
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-body);
}

.copy-btn:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
  transform: scale(1.03);
}

.copy-btn.copied {
  background-color: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

/* ==========================================================================
   MY ORDERS MODAL
   ========================================================================== */

.my-orders-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 14, 0.55);
  backdrop-filter: blur(6px);
  z-index: 3100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.my-orders-overlay.open {
  display: flex;
}

.my-orders-modal {
  background: var(--card-bg);
  border-radius: 20px;
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  animation: auth-slide-in 0.3s ease;
}

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

.my-orders-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.my-orders-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-history-card {
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.order-history-header {
  background: var(--bg-color);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.order-history-id {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-color);
}

.order-history-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.order-history-items {
  padding: 12px 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}

.order-history-footer {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-history-total {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-color);
}

.order-status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-pending {
  background: #fff8e1;
  color: #b78103;
}

.status-processing {
  background: #e3f2fd;
  color: #1565c0;
}

.status-shipped {
  background: #f3e5f5;
  color: #7b1fa2;
}

.status-completed {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-cancelled {
  background: #ffebee;
  color: #c62828;
}

.my-orders-empty {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}

.my-orders-empty i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  color: var(--border-color);
}

/* Search Input Styling */
#product-search-input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 4px 12px var(--shadow-color);
}

/* Shimmer loading skeleton */
@keyframes shimmer {
  0% {
    background-position: -600px 0;
  }

  100% {
    background-position: 600px 0;
  }
}

.product-card-skeleton {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.skeleton-img {
  height: 240px;
  background: linear-gradient(90deg, var(--border-color) 25%, rgba(255, 255, 255, 0.15) 50%, var(--border-color) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.5s infinite linear;
}

.skeleton-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-line {
  border-radius: 6px;
  background: linear-gradient(90deg, var(--border-color) 25%, rgba(255, 255, 255, 0.15) 50%, var(--border-color) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.5s infinite linear;
}

.skeleton-line.title {
  height: 22px;
  width: 75%;
}

.skeleton-line.desc {
  height: 14px;
  width: 90%;
}

.skeleton-line.desc2 {
  height: 14px;
  width: 65%;
}

.skeleton-line.price {
  height: 20px;
  width: 45%;
  margin-top: 8px;
}

[data-theme="dark"] .skeleton-img,
[data-theme="dark"] .skeleton-line {
  background: linear-gradient(90deg, var(--border-color) 25%, rgba(255, 255, 255, 0.04) 50%, var(--border-color) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.5s infinite linear;
}

/* Wishlist card highlight effect */
@keyframes wishlist-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.4);
  }

  60% {
    box-shadow: 0 0 0 12px rgba(229, 62, 62, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(229, 62, 62, 0);
  }
}

.product-card.wishlist-highlight {
  border-color: rgba(229, 62, 62, 0.5);
  animation: wishlist-ring 0.8s ease 2;
}

/* Improved mobile auth modal */
@media (max-width: 480px) {
  .auth-modal {
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    animation: auth-slide-up 0.3s ease;
  }

  @keyframes auth-slide-up {
    from {
      transform: translateY(100%);
    }

    to {
      transform: translateY(0);
    }
  }

  .auth-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .auth-tab-content {
    padding: 20px;
  }

  /* Better back-to-top on mobile */
  .back-to-top-btn {
    bottom: 88px;
    right: 16px;
  }

  .floating-whatsapp {
    bottom: 20px;
    left: 16px;
  }
}

/* ==========================================================================
   HERO TRUST STATS BAR
   ========================================================================== */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 36px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--border-radius-md);
  padding: 16px 28px;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 0;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 24px;
  gap: 2px;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.5px;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .hero-stats {
    justify-content: center;
    padding: 12px 16px;
    gap: 0;
  }

  .hero-stat-item {
    padding: 4px 14px;
  }

  .hero-stat-number {
    font-size: 1.2rem;
  }

  .hero-stat-label {
    font-size: 0.65rem;
  }

  .hero-stat-divider {
    height: 28px;
  }
}

/* ==========================================================================
   PRODUCT CATEGORY FILTER TABS
   ========================================================================== */
.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 28px;
  padding: 6px;
  background: var(--card-bg);
  border-radius: 50px;
  border: 1px solid var(--border-color);
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 2px 12px var(--shadow-color);
}

.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border: none;
  border-radius: 50px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.cat-tab:hover {
  color: var(--primary-color);
  background: rgba(10, 46, 28, 0.06);
}

.cat-tab.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(10, 46, 28, 0.25);
}

.cat-tab i {
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .category-tabs {
    border-radius: var(--border-radius-md);
    padding: 8px;
    gap: 6px;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .cat-tab {
    padding: 8px 16px;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   MAP NODE LABELS
   ========================================================================== */
.map-node-wrap {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  pointer-events: auto;
}

/* Override positions to match original node positions */
.node-wrap-lagos {
  top: 245px;
  left: 210px;
}

.node-wrap-london {
  top: 68px;
  left: 187px;
}

.node-wrap-houston {
  top: 132px;
  left: 52px;
}

.node-wrap-toronto {
  top: 87px;
  left: 84px;
}

.node-wrap-dubai {
  top: 155px;
  left: 300px;
}

.node-wrap-johannesburg {
  top: 335px;
  left: 232px;
}

/* Detach node from wrapper since it's inside wrap now */
.map-node-wrap .map-node {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  flex-shrink: 0;
}

.map-node-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-color);
  text-align: center;
  background: rgba(10, 46, 28, 0.75);
  border: 1px solid rgba(204, 164, 59, 0.3);
  border-radius: 6px;
  padding: 2px 7px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   ABOUT BADGE - MOBILE CLIP FIX
   ========================================================================== */
.about-img-box {
  overflow: visible !important;
}

@media (max-width: 640px) {
  .about-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 16px;
    align-self: flex-end;
    border-radius: var(--border-radius-md);
  }

  .about-media {
    overflow: visible;
  }
}

/* ==========================================================================
   QUICK-VIEW PRODUCT MODAL
   ========================================================================== */
.quick-view-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.quick-view-overlay.open {
  opacity: 1;
  visibility: visible;
}

.quick-view-modal {
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  max-width: 780px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  transform: scale(0.93) translateY(24px);
  transition: transform var(--transition-normal);
}

.quick-view-overlay.open .quick-view-modal {
  transform: scale(1) translateY(0);
}

.quick-view-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(10, 46, 28, 0.08);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.quick-view-close:hover {
  background: var(--primary-color);
  color: #fff;
  transform: rotate(90deg);
}

.quick-view-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.quick-view-img-wrap {
  position: relative;
  border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  min-height: 280px;
  background: var(--bg-color);
}

.quick-view-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.quick-view-modal:hover .quick-view-img {
  transform: scale(1.04);
}

.quick-view-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}

.quick-view-info {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.quick-view-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
}

.quick-view-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-view-price {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--secondary-color);
}

.quick-view-forex {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 3px 10px;
  border-radius: 50px;
}

.quick-view-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.quick-view-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.quick-view-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 50px;
}

.quick-view-meta i {
  color: var(--primary-color);
}

.quick-view-add-btn {
  width: 100%;
  margin-top: 4px;
  padding: 14px;
  font-size: 1rem;
}

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

  .quick-view-img-wrap {
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    aspect-ratio: 16/9;
    min-height: 200px;
  }

  .quick-view-info {
    padding: 24px 20px;
    gap: 12px;
  }

  .quick-view-title {
    font-size: 1.3rem;
  }

  .quick-view-price {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   END OF STYLESHEET
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* ==========================================================================
   PRODUCT CARD - QUICK VIEW BUTTON
   ========================================================================== */
.quick-view-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(10, 46, 28, 0.88);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
  z-index: 4;
}

.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   PRODUCT CARD - FOREX PRICE HINT
   ========================================================================== */
.product-forex-hint {
  display: block;
  font-size: 0.73rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 1px;
  opacity: 0.8;
}

/* ==========================================================================
   SMALL PHONES (≤430px) — Keep hamburger always visible
   ========================================================================== */
@media (max-width: 430px) {

  /* Hide lower-priority nav icons to give hamburger room */
  #search-nav-btn,
  #wishlist-nav-btn {
    display: none !important;
  }

  .header .container {
    padding: 0 14px;
  }

  .nav-actions {
    gap: 3px;
  }

  /* Tighten icon button size slightly */
  .icon-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }

  .auth-nav-btn,
  .user-nav-btn {
    width: 36px !important;
    height: 36px !important;
  }
}