/* Modern E-Commerce & WhatsApp Buy System CSS - Nordic Midnight Teal Palette */
:root {
  --primary: #2D4A53;
  --primary-hover: #132E35;
  --wa-green: #25d366;
  --wa-green-hover: #1ebc59;
  --wa-dark: #075e54;
  --wa-light: #dcf8c6;
  --teal-dark: #0D1F23;
  --teal-deep: #132E35;
  --teal-steel: #2D4A53;
  --slate-mid: #69818D;
  --slate-light: #AFB3B7;
  --slate-dark: #5A636A;
  --dark: #0D1F23;
  --dark-light: #132E35;
  --text-main: #0D1F23;
  --text-muted: #5A636A;
  --bg-page: #F4F7F8;
  --bg-card: #ffffff;
  --border-color: #E1E6E8;
  --shadow-sm: 0 1px 2px 0 rgb(13 31 35 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(13 31 35 / 0.1), 0 2px 4px -2px rgb(13 31 35 / 0.06);
  --shadow-lg: 0 10px 20px -3px rgb(13 31 35 / 0.12), 0 4px 6px -4px rgb(13 31 35 / 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: #EBF0F2;
  /* Precision Mini Cross (+) Grid + Ambient Lighting from Palette */
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(45, 74, 83, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 90% 40%, rgba(19, 46, 53, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(105, 129, 141, 0.08) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 12.5v7M12.5 16h7' stroke='%232D4A53' stroke-width='1.2' stroke-linecap='round' opacity='0.25'/%3E%3C/svg%3E");
  background-size: 100% 100%, 100% 100%, 100% 100%, 32px 32px;
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Background Glow Orbs */
.ambient-glow-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  will-change: transform;
}

.orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(45, 74, 83, 0.45) 0%, rgba(19, 46, 53, 0) 70%);
  top: -50px;
  left: -120px;
  animation: floatOrb1 18s ease-in-out infinite alternate;
}

.orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(105, 129, 141, 0.35) 0%, rgba(45, 74, 83, 0) 70%);
  top: 40%;
  right: -150px;
  animation: floatOrb2 22s ease-in-out infinite alternate;
}

.orb-3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(13, 31, 35, 0) 70%);
  bottom: -40px;
  left: 15%;
  animation: floatOrb3 20s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 90px) scale(1.15); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-90px, 70px) scale(1.2); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -80px) scale(1.1); }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Header & Navigation */
.site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(225, 230, 232, 0.8);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(13, 31, 35, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

/* Header Search Bar */
.header-search-wrap {
  position: relative;
  flex: 1;
  max-width: 440px;
  min-width: 200px;
  margin: 0 10px;
}

.header-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.header-search-box .search-icon {
  position: absolute;
  left: 14px;
  color: #69818D;
  pointer-events: none;
  transition: color 0.2s;
}

.header-search-input {
  width: 100%;
  height: 42px;
  padding: 0 38px 0 40px;
  background: #F0F4F6;
  border: 1.5px solid #D0DCE0;
  border-radius: 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0D1F23;
  outline: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.header-search-input:focus {
  background: #FFFFFF;
  border-color: #2D4A53;
  box-shadow: 0 0 0 4px rgba(45, 74, 83, 0.12), 0 4px 12px rgba(13, 31, 35, 0.08);
}

.header-search-input:focus ~ .search-icon {
  color: #2D4A53;
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  background: #D0DCE0;
  border: none;
  color: #2D4A53;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s;
}

.search-clear-btn:hover {
  background: #2D4A53;
  color: #fff;
}

/* Search Autocomplete Suggestions Dropdown */
.search-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E1E6E8;
  box-shadow: 0 20px 40px -10px rgba(13, 31, 35, 0.2);
  z-index: 1000;
  max-height: 380px;
  overflow-y: auto;
  padding: 8px;
  animation: qrPopIn 0.2s ease;
}

.search-suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #0D1F23;
  transition: background 0.15s ease;
}

.search-suggest-item:hover {
  background: #F0F4F6;
}

.search-suggest-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #E8EFF1;
  flex-shrink: 0;
}

.search-suggest-info {
  flex: 1;
  min-width: 0;
}

.search-suggest-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0D1F23;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggest-meta {
  font-size: 0.78rem;
  color: #69818D;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.search-suggest-price {
  font-weight: 800;
  color: #2D4A53;
}

.search-suggest-cat {
  background: #E8EFF1;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

.search-suggest-footer {
  padding: 10px 12px;
  text-align: center;
  border-top: 1px solid #E1E6E8;
  font-size: 0.82rem;
  font-weight: 750;
  color: #2D4A53;
  cursor: pointer;
  border-radius: 8px;
}

.search-suggest-footer:hover {
  background: #E8EFF1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #132E35, #2D4A53);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(19, 46, 53, 0.3);
}

/* Pure DharmAshok Brand Name Wordmark Typography */
.brand-wordmark-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  user-select: none;
  transition: transform 0.2s ease;
}

.brand-wordmark-link:hover .brand-wordmark {
  transform: translateY(-1px);
}

.brand-text-wrap {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}

.b-letter-cherry {
  color: #D90429; /* Cherry Red */
  font-weight: 900;
  font-size: 1.62rem;
  letter-spacing: -0.5px;
}

.b-letter-a {
  position: relative;
  display: inline-block;
  margin: 0 1px;
}

.b-letter-a::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 4px;
  border-top: 2.2px solid #D90429;
  border-radius: 6px 6px 0 0;
}

.b-letter-dark {
  color: #0D1F23; /* Nordic Deep Dark */
  font-weight: 800;
  font-size: 1.38rem;
}

/* Subtle Architectural Framing Accent Lines */
.wordmark-notch {
  position: absolute;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background: #2D4A53;
  border-radius: 2px;
}

.notch-left {
  left: 0;
}

.notch-right {
  right: 0;
}

.wordmark-line {
  position: absolute;
  height: 2px;
  background: #2D4A53;
  border-radius: 2px;
}

/* Over & under Dharm */
.line-top-left {
  top: 0;
  left: 0;
  width: 42%;
}

.line-bottom-left {
  bottom: 0;
  left: 0;
  width: 42%;
}

/* Over & under Ashok */
.line-top-right {
  top: 0;
  right: 0;
  width: 42%;
}

.line-bottom-right {
  bottom: 0;
  right: 0;
  width: 42%;
}

.logo-badge {
  background: #E8EFF1;
  color: #2D4A53;
  border: 1px solid #D0DCE0;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.wa-nav-link {
  color: #16a34a;
}

.wa-nav-link:hover {
  color: #15803d;
}

.wa-indicator-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E8EFF1;
  color: var(--dark);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 650;
  font-size: 0.9rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
}

.cart-btn:hover {
  background: #D9E3E6;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(13, 31, 35, 0.05);
}

.cart-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Sleek Admin Icon Button */
.admin-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F4F7F8;
  border: 1px solid var(--border-color);
  color: #5A636A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.admin-icon-btn:hover {
  background: #0D1F23;
  color: #ffffff;
  border-color: #0D1F23;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 31, 35, 0.25);
}

/* Sub-Navbar Horizontal Category Bar (Flipkart / Blinkit Style) */
.subnav-category-bar {
  background: #ffffff;
  border-bottom: 1px solid #E1E6E8;
  position: sticky;
  top: 70px;
  z-index: 90;
  box-shadow: 0 2px 10px rgba(13, 31, 35, 0.03);
}

.subnav-category-scroll {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 4px 0;
}

.subnav-category-scroll::-webkit-scrollbar {
  display: none;
}

.subnav-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 6px 14px 10px;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
  cursor: pointer;
}

.subnav-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F4F7F8;
  border: 1px solid #E1E6E8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(13, 31, 35, 0.04);
}

.subnav-cat-item:hover .subnav-icon-wrap {
  background: #E8EFF1;
  transform: translateY(-2px);
  border-color: #2D4A53;
}

.subnav-cat-item.active .subnav-icon-wrap {
  background: #E0F2FE;
  border-color: #0284C7;
  color: #0284C7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.subnav-icon-wrap.icon-all {
  color: #0284C7;
}

.subnav-emoji-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.subnav-cat-name {
  font-size: 0.82rem;
  font-weight: 750;
  color: #5A636A;
  transition: color 0.2s ease;
  letter-spacing: -0.2px;
}

.subnav-cat-item:hover .subnav-cat-name {
  color: #0D1F23;
}

.subnav-cat-item.active .subnav-cat-name {
  color: #0284C7;
  font-weight: 800;
}

.subnav-indicator {
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 3.5px;
  background: #0284C7;
  border-radius: 3px 3px 0 0;
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.subnav-cat-item.active .subnav-indicator {
  opacity: 1;
  transform: scaleX(1);
}

/* Banner / Hero - Midnight Teal Gradient */
.hero-banner {
  background: radial-gradient(circle at 85% 30%, #2D4A53 0%, #132E35 55%, #0D1F23 100%);
  color: #ffffff;
  padding: 50px 0 60px;
  border-radius: 24px;
  margin: 24px auto 44px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(13, 31, 35, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(45, 74, 83, 0.35) 0%, rgba(45, 74, 83, 0) 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 580px;
}

.hero-text h1 {
  font-size: 2.35rem;
  font-weight: 850;
  line-height: 1.22;
  letter-spacing: -0.6px;
  margin-bottom: 20px;
  color: #ffffff;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #2dd4bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-delivery-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  max-width: 580px;
}

.delivery-highlight-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.25s ease;
}

.delivery-highlight-card:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
}

.delivery-highlight-card.free-zone {
  border-left: 4px solid #22c55e;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.12);
}

.delivery-highlight-card.extended-zone {
  border-left: 4px solid #f59e0b;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.12);
}

.dh-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dh-icon-green {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.dh-icon-amber {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.dh-text-box {
  flex-grow: 1;
}

.dh-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 750;
  color: #ffffff;
  margin-bottom: 2px;
}

.dh-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.dh-badge-green {
  background: #22c55e;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.35);
}

.dh-badge-amber {
  background: #f59e0b;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.dh-subtitle {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.hero-wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #4ade80;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 1.8s infinite ease-in-out;
}

.hero-actions-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-actions-wrap .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-actions-wrap .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-highlights {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 600;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
}

/* Hero Right Side: Animated Blob & Floating Badges */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  width: 100%;
}

.hero-blob-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Large Animated Egg / Blob Morphing Container */
.hero-blob-card {
  width: 420px;
  height: 390px;
  max-width: 100%;
  position: relative;
  z-index: 2;
  border: 6px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.55), 0 0 50px rgba(37, 99, 235, 0.35);
  overflow: hidden;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morphBlob 9s ease-in-out infinite alternate, floatHero 6s ease-in-out infinite;
  transition: all 0.3s ease;
}

.hero-blob-inner {
  width: 100%;
  height: 100%;
  position: relative;
  background: #1e293b;
}

.hero-blob-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-blob-card:hover .hero-blob-img {
  transform: scale(1.15);
}

.hero-blob-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(15,23,42,0.4) 100%);
  pointer-events: none;
}

/* Floating Glassmorphic Badges */
.floating-badge {
  position: absolute;
  z-index: 10;
  background: #ffffff;
  color: #0f172a;
  padding: 10px 18px;
  border-radius: 16px;
  box-shadow: 0 18px 36px -6px rgba(0, 0, 0, 0.32), 0 6px 14px -2px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  user-select: none;
}

.floating-badge:hover {
  transform: scale(1.06) translateY(-4px) !important;
  box-shadow: 0 22px 44px -6px rgba(0, 0, 0, 0.4);
}

.badge-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-gold {
  background: #fef3c7;
  color: #d97706;
}

.icon-green {
  background: #dcfce7;
  color: #16a34a;
}

.badge-pct {
  font-size: 1.2rem;
  font-weight: 850;
}

.icon-blue {
  background: #e0e7ff;
  color: #4338ca;
}

.badge-text-group {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.badge-sub {
  font-size: 0.76rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.2;
}

/* Badge Positioning & Individual Floating Animations */
.badge-top-left {
  top: 25px;
  left: -20px;
  animation: floatBadge1 4.5s ease-in-out infinite;
}

.badge-bottom-left {
  bottom: 40px;
  left: -28px;
  animation: floatBadge2 5.5s ease-in-out infinite 0.8s;
}

.badge-bottom-right {
  bottom: 25px;
  right: -20px;
  animation: floatBadge3 5s ease-in-out infinite 0.4s;
}

/* Keyframes for Morphing, Floating, and Pulsing */
@keyframes morphBlob {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 40% 60% 60% 40% / 50% 60% 40% 50%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  75% {
    border-radius: 65% 35% 40% 60% / 40% 50% 50% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

@keyframes floatHero {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes floatBadge1 {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes floatBadge2 {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes floatBadge3 {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(1.35);
  }
}

/* Product Catalog & Category Tabs */
.catalog-section {
  margin-bottom: 70px;
}

.catalog-header-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.catalog-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ea580c;
  background: #ffedd5;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 850;
  color: var(--dark);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* Category Filter Tabs */
.category-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #E8EFF1;
  padding: 5px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.cat-tab-btn {
  border: none;
  background: transparent;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cat-tab-btn:hover {
  color: var(--dark);
}

.cat-tab-btn.active {
  background: #ffffff;
  color: var(--dark);
  box-shadow: 0 4px 12px rgba(13, 31, 35, 0.08);
}

.cat-tab-count {
  font-size: 0.75rem;
  background: #D9E3E6;
  color: #2D4A53;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-weight: 800;
}

.cat-tab-btn.active .cat-tab-count {
  background: #2D4A53;
  color: #ffffff;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

/* Concept 1: Next-Gen Interactive Tech Card (3D Elevated Glass Card) */
.product-card.tech-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 22px;
  border: 1px solid rgba(225, 230, 232, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(13, 31, 35, 0.07), 0 8px 10px -6px rgba(13, 31, 35, 0.04);
}

.product-card.tech-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 25px 45px -10px rgba(13, 31, 35, 0.16), 0 0 30px rgba(45, 74, 83, 0.12);
  border-color: #AFB3B7;
}

/* Image section */
.product-thumb {
  position: relative;
  height: 240px;
  background: #F4F7F8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-link {
  width: 100%;
  height: 100%;
  display: block;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card.tech-card:hover .product-card-img {
  transform: scale(1.08);
}

/* Floating Top Badges */
.thumb-top-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-discount-badge {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.3px;
}

.thumb-actions-top {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-wishlist-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #5A636A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 10px rgba(13, 31, 35, 0.08);
}

.btn-wishlist-toggle:hover {
  transform: scale(1.12);
  color: #ef4444;
  background: #ffffff;
}

.btn-wishlist-toggle.active {
  color: #ef4444;
  background: #fee2e2;
  border-color: #fca5a5;
}

.btn-wishlist-toggle.active svg {
  fill: #ef4444;
}

/* Floating Bottom Rating */
.thumb-rating-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 750;
  color: #0D1F23;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 10px rgba(13, 31, 35, 0.06);
}

.rating-cnt {
  color: #69818D;
  font-weight: 500;
}

/* Card Body */
.card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.card-category-pill {
  font-size: 0.75rem;
  font-weight: 750;
  color: #2D4A53;
  background: #E8EFF1;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.card-stock-pill {
  font-size: 0.73rem;
  font-weight: 650;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 5px;
}

.stock-dot {
  width: 6px;
  height: 6px;
  background-color: #22c55e;
  border-radius: 50%;
}

.card-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #0D1F23;
  line-height: 1.35;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.card-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.card-title a:hover {
  color: #2D4A53;
}

/* Interactive Variant Swatches */
.card-swatches-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  background: #F4F7F8;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.swatches-label {
  font-size: 0.75rem;
  color: #5A636A;
  font-weight: 600;
}

.swatches-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-swatch-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 1px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-swatch-dot:hover {
  transform: scale(1.15);
}

.card-swatch-dot.active {
  border-color: #2D4A53;
  transform: scale(1.12);
}

.swatch-color-fill {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

.active-variant-label {
  font-size: 0.75rem;
  font-weight: 750;
  color: #132E35;
  margin-left: auto;
}

.card-sku-pill {
  font-size: 0.75rem;
  color: #69818D;
  margin-bottom: 14px;
  font-weight: 600;
}

/* Pricing Section */
.card-pricing-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 16px;
  padding-top: 10px;
  border-top: 1px dashed #E1E6E8;
}

.price-main-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.card-price-amount {
  font-size: 1.38rem;
  font-weight: 850;
  color: #0D1F23;
  letter-spacing: -0.4px;
}

.card-mrp-amount {
  font-size: 0.9rem;
  color: #69818D;
  text-decoration: line-through;
  font-weight: 600;
}

.save-pill {
  font-size: 0.72rem;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Smart Action Buttons (Side-by-Side) */
.card-smart-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-wa-smart-buy {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 750;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-wa-smart-buy:hover {
  background: linear-gradient(135deg, #1ebc59 0%, #075e54 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

.btn-quick-cart {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E8EFF1;
  color: #2D4A53;
  border: 1.5px solid #D0DCE0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-quick-cart:hover {
  background: #2D4A53;
  color: #ffffff;
  border-color: #2D4A53;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(45, 74, 83, 0.25);
}

.btn-quick-cart.added {
  background: #16a34a !important;
  color: #ffffff !important;
  border-color: #16a34a !important;
  transform: scale(1.08);
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-dark {
  background-color: var(--dark);
  color: #ffffff;
}

.btn-dark:hover {
  background-color: var(--dark-light);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

/* Highly visible WhatsApp Button */
.btn-whatsapp {
  background-color: var(--wa-green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-whatsapp:hover {
  background-color: var(--wa-green-hover);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

.btn-whatsapp:active {
  transform: translateY(0);
}

.btn-whatsapp-cart {
  background-color: #128c7e;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(18, 140, 126, 0.4);
  font-size: 1rem;
  padding: 14px 22px;
}

.btn-whatsapp-cart:hover {
  background-color: #075e54;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

/* Product Detail Page */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 32px auto 60px;
  background: var(--bg-card);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.product-gallery-main {
  background: #f8fafc;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 440px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-badge {
  display: inline-block;
  background: #e0e7ff;
  color: #3730a3;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.detail-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 8px;
}

.detail-sku {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.detail-price-box {
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
}

.detail-compare-price {
  font-size: 1.1rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.detail-save-badge {
  background: #dcfce7;
  color: #166534;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

/* Variant Selector */
.option-group {
  margin-bottom: 20px;
}

.option-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.variant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-chip {
  padding: 8px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.variant-chip:hover {
  border-color: #94a3b8;
}

.variant-chip.active {
  border-color: var(--primary);
  background-color: #eff6ff;
  color: var(--primary);
}

/* Quantity Control */
.quantity-box {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #fff;
}

.qty-btn {
  background: none;
  border: none;
  padding: 8px 14px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--dark);
}

.qty-btn:hover {
  background: #f1f5f9;
}

.qty-input {
  width: 44px;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.qty-input:focus {
  outline: none;
}

/* Detail Buttons Row */
.product-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.cta-row-standard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wa-cta-box {
  background: #f0fdf4;
  border: 2px dashed #86efac;
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
}

.wa-cta-subtitle {
  font-size: 0.8rem;
  color: #166534;
  margin-top: 6px;
  font-weight: 600;
}

/* Customer Details WhatsApp Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.2);
  overflow: hidden;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  background: #075e54;
  color: #ffffff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
}

.modal-close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 24px;
}

.modal-summary-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.modal-summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.modal-summary-total {
  border-top: 1px dashed var(--border-color);
  padding-top: 6px;
  margin-top: 6px;
  font-weight: 800;
  color: var(--dark);
  font-size: 1rem;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-label .required {
  color: #ef4444;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.modal-footer {
  padding: 16px 24px;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-security-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* Cart Page */
.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin: 32px auto 60px;
}

.cart-items-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-row:last-child {
  border-bottom: none;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #f1f5f9;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-weight: 800;
  font-size: 1.1rem;
}

.cart-summary-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px;
  height: fit-content;
}

.cart-summary-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.summary-total-row {
  border-top: 2px solid var(--border-color);
  padding-top: 14px;
  margin-top: 14px;
  font-weight: 800;
  font-size: 1.25rem;
}

.cart-action-separator {
  text-align: center;
  margin: 14px 0;
  position: relative;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
}

.cart-action-separator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
  z-index: 1;
}

.cart-action-separator span {
  background: #fff;
  position: relative;
  z-index: 2;
  padding: 0 10px;
}

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: capitalize;
}

.badge-new { background: #dbeafe; color: #1e40af; }
.badge-contacted { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: #e0e7ff; color: #3730a3; }
.badge-payment-pending { background: #ffedd5; color: #9a3412; }
.badge-paid { background: #dcfce7; color: #166534; }
.badge-processing { background: #f3e8ff; color: #6b21a8; }
.badge-completed { background: #ccfbf1; color: #115e59; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }

/* Admin Panel Styles */
.admin-navbar {
  background: #0f172a;
  color: #fff;
  padding: 14px 0;
}

.admin-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.admin-nav-link {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.admin-nav-link:hover, .admin-nav-link.active {
  color: #fff;
  background: #1e293b;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 16px;
}

.admin-table th {
  background: #f8fafc;
  text-align: left;
  padding: 12px 16px;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover {
  background: #f8fafc;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.stat-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE STYLES (Mobile, Tablet, Laptop, Desktop)
   ========================================================================== */

/* 1. Large Screens & Desktops (> 1024px) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
}

/* 2. Tablets & Small Laptops (769px - 1024px) */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
  }
  .hero-text {
    max-width: 100%;
  }
  .hero-blob-stage {
    width: 320px;
    height: 320px;
  }
  .hero-blob-card {
    width: 275px;
    height: 275px;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .checkout-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
  }
}

/* 3. Tablets & Mobile (< 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }

  /* --- Top Header & Navbar --- */
  .site-header {
    padding: 6px 0 8px;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .header-inner {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .brand-wordmark-link {
    order: 1;
    max-width: calc(100% - 110px);
    gap: 8px;
  }
  .brand-wordmark {
    padding: 4px 8px;
  }
  .brand-text-wrap {
    font-size: clamp(1.05rem, 4.2vw, 1.35rem);
  }
  .b-letter-cherry {
    font-size: clamp(1.2rem, 5vw, 1.55rem);
  }
  .b-letter-dark {
    font-size: clamp(0.98rem, 4vw, 1.28rem);
  }
  .nav-links {
    display: none; /* Keep mobile header clean and focused */
  }
  .header-actions {
    order: 2;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .cart-btn {
    min-height: 38px;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
  }
  .admin-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .header-search-wrap {
    order: 3;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    margin: 4px 0 0 0;
  }
  .header-search-input {
    height: 40px;
    font-size: 0.88rem;
    padding: 0 38px 0 38px;
    border-radius: 20px;
  }
  .search-autocomplete-dropdown {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    box-sizing: border-box;
    max-height: 320px;
  }

  /* --- Subnav Category Strip (Mobile Slider) --- */
  .subnav-category-bar {
    position: relative;
    top: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E1E6E8;
    padding: 4px 0 6px;
    z-index: 900;
  }
  .subnav-category-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 6px;
  }
  .subnav-category-scroll::-webkit-scrollbar {
    display: none;
  }
  .subnav-cat-item {
    flex-shrink: 0;
    min-width: 68px;
    text-align: center;
    scroll-snap-align: start;
    padding: 4px 6px;
    touch-action: pan-x;
  }
  .subnav-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin: 0 auto 4px;
  }
  .subnav-emoji-icon {
    font-size: 1.25rem;
  }
  .subnav-cat-name {
    font-size: 0.74rem;
    font-weight: 750;
    white-space: nowrap;
  }

  /* --- Hero Banner & 3D Visual Section --- */
  .hero-banner {
    padding: 20px 14px 24px;
    border-radius: 18px;
    margin: 12px auto 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .hero-content {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-align: left;
  }
  .hero-text {
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
  }
  .hero-text h1 {
    font-size: clamp(1.4rem, 5.2vw, 1.95rem);
    line-height: 1.24;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
    word-break: break-word;
  }
  .hero-delivery-grid {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
  }
  .delivery-highlight-card {
    padding: 10px 12px;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
  }
  .hero-actions-wrap {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 8px;
    margin-bottom: 14px;
  }
  .hero-actions-wrap .btn {
    flex: 1;
    min-width: 0;
    font-size: 0.82rem;
    padding: 10px 8px;
    justify-content: center;
    border-radius: 10px;
  }
  .hero-blob-stage {
    width: min(290px, 85vw);
    height: min(290px, 85vw);
    margin: 0 auto;
    position: relative;
  }
  .hero-blob-card {
    width: min(250px, 72vw);
    height: min(250px, 72vw);
  }
  .floating-badge {
    padding: 6px 10px;
    border-radius: 12px;
    max-width: 82%;
  }

  /* --- Product Catalog Grid --- */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-thumb {
    height: 170px;
  }
  .card-body {
    padding: 12px;
  }
  .card-title {
    font-size: 0.88rem;
    line-height: 1.3;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
  }
  .card-price-amount {
    font-size: 1.15rem;
  }
  .card-smart-actions {
    gap: 6px;
  }
  .btn-wa-smart-buy {
    font-size: 0.78rem;
    padding: 8px 6px;
    min-height: 38px;
    border-radius: 10px;
    gap: 4px;
  }
  .btn-quick-cart {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  /* --- Product Detail, Cart & Checkout --- */
  .product-detail-layout {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 20px;
    border-radius: 16px;
  }
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cart-item-row {
    padding: 12px;
    gap: 12px;
  }
  .cart-item-img {
    width: 65px;
    height: 65px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .admin-navbar .container {
    flex-direction: column;
    height: auto;
    padding: 10px 14px;
    gap: 10px;
  }
  .admin-nav-links {
    overflow-x: auto;
    width: 100%;
    white-space: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .admin-nav-links::-webkit-scrollbar {
    display: none;
  }

  /* --- WhatsApp Modal on Mobile --- */
  .modal-overlay {
    padding: 12px;
    align-items: center;
    justify-content: center;
  }
  .modal-card {
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    border-radius: 20px;
  }
  .modal-header {
    padding: 14px 18px;
  }
  .modal-body {
    padding: 16px;
    max-height: calc(90vh - 130px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .modal-footer {
    padding: 14px 16px;
  }

  /* --- Footer on Mobile --- */
  .site-footer {
    padding: 24px 0 20px;
  }
  .site-footer .container {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    align-items: center;
  }
  .site-footer div[style*="display:flex"] {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .site-footer div[style*="align-items:flex-end"] {
    align-items: center !important;
  }
}

/* 4. Small Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  .logo-badge {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-thumb {
    height: 150px;
  }
  .card-body {
    padding: 10px;
  }
  .card-discount-badge, .thumb-rating-pill {
    font-size: 0.68rem;
    padding: 2px 6px;
  }
  .hero-blob-stage {
    width: 260px;
    height: 260px;
  }
  .hero-blob-card {
    width: 225px;
    height: 225px;
  }
}

/* 5. Ultra-Small Phones (<= 360px) */
@media (max-width: 360px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .product-thumb {
    height: 200px;
  }
  .hero-actions-wrap {
    flex-direction: column;
  }
  .hero-actions-wrap .btn {
    width: 100%;
  }
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.25); }
  28% { transform: scale(1); }
  42% { transform: scale(1.25); }
  70% { transform: scale(1); }
}

/* QR Code Zoom & Lightbox Styles */
#btn-open-qr-zoom {
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#btn-open-qr-zoom:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(95, 37, 159, 0.35) !important;
  border-color: #9333ea !important;
}

#btn-open-qr-zoom:active {
  transform: scale(0.96);
}

@keyframes qrPopIn {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


