/* 
  Azad Book Depot - Premium White Theme & E-commerce System
  Visual additions: 3D Isometric Card transforms, Section themes, Mascot animation,
                     social feed corners, admin dashboards, and gold glitter emboss effects.
*/

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

:root {
  /* Brand Theme: White & Royal Blue */
  --primary: #0f172a;         /* Deep Navy Slate */
  --primary-light: #1e293b;   /* Slate 800 */
  --primary-accent: #2563eb;  /* Royal Blue - Trust, Shopify feel */
  --primary-accent-hover: #1d4ed8;
  --secondary: #d97706;       /* Gold/Warm Orange for Gifting */
  --secondary-light: #fef3c7; /* Soft Gold BG */
  --accent-orange: #f97316;   /* Alert/Highlight Orange */
  --accent-green: #16a34a;    /* WhatsApp Green */
  --accent-green-dark: #15803d;
  
  /* Backgrounds (Crisp White Theme) */
  --bg-pure: #ffffff;
  --bg-soft: #f8fafc;         /* Slate 50 */
  --bg-card: #ffffff;
  --bg-border: #e2e8f0;       /* Slate 200 */
  --bg-input: #ffffff;
  
  /* Text Colors */
  --text-dark: #0f172a;       /* Slate 900 */
  --text-medium: #475569;     /* Slate 600 */
  --text-muted: #64748b;      /* Slate 500 */
  --text-light: #ffffff;
  
  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-soft);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

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

button {
  font-family: var(--font-body);
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* Scrollbar styles */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-soft);
}
::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--primary-accent);
}

.badge-gold {
  background-color: rgba(217, 119, 6, 0.08);
  color: var(--secondary);
}

.badge-green {
  background-color: rgba(22, 163, 74, 0.08);
  color: var(--accent-green);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-medium);
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition-normal);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--primary-accent);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background-color: var(--secondary);
  color: white;
}

.btn-gold:hover {
  background-color: #b45309;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: var(--accent-green);
  color: white;
}

.btn-whatsapp:hover {
  background-color: var(--accent-green-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 1px solid var(--border-medium);
  color: var(--text-medium);
  background-color: transparent;
}

.btn-outline:hover {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
  background-color: rgba(37, 99, 235, 0.03);
}

.btn-white {
  background-color: var(--bg-pure);
  color: var(--primary);
  border: 1px solid var(--border-light);
}

.btn-white:hover {
  background-color: var(--bg-soft);
  box-shadow: var(--shadow-md);
}

/* Sticky Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  padding: 0.2rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
}

.logo span {
  color: var(--primary-accent);
}

.logo-icon {
  background-color: var(--primary-accent);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-medium);
  padding: 0.5rem 0;
}

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

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-ctas .btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Floating Cart Trigger Button in Header */
.cart-header-trigger {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  color: var(--primary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cart-header-trigger:hover {
  background: var(--primary-accent);
  color: white;
  border-color: var(--primary-accent);
}

.cart-count-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: var(--accent-orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

/* Embossed Glitter Effect Header Text styling */
.glitter-text-emboss {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #b45309 0%, #d97706 20%, #fbbf24 40%, #fef3c7 50%, #fbbf24 60%, #d97706 80%, #b45309 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glitter-shine 5s linear infinite;
  filter: drop-shadow(2px 2px 0px rgba(15, 23, 42, 0.95))
          drop-shadow(-1px -1px 0px rgba(255, 255, 255, 0.6));
  position: relative;
}

@keyframes glitter-shine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* 3D Animated Mascot "Booky" Styling */
.mascot-container {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: fit-content;
}

.mascot-svg-wrap {
  width: 60px;
  height: 60px;
  animation: mascot-bob 3s ease-in-out infinite;
}

.mascot-bubble {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  max-width: 400px;
  line-height: 1.4;
}

.mascot-bubble::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: var(--bg-soft);
  border-left: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

@keyframes mascot-bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-6px) rotate(2deg); }
}

/* 3D Isometric Tilt Cards System (preserve-3d) */
.isometric-card-wrapper {
  perspective: 1000px;
}

.isometric-card {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.1, 0.8, 0.2, 1), box-shadow 0.4s;
}

.isometric-card:hover {
  transform: rotateX(8deg) rotateY(-8deg) translateZ(12px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
  border-color: var(--primary-accent);
}

.isometric-card .prod-emoji, 
.isometric-card .cat-box-icon,
.isometric-card .category-icon-box {
  transform: translateZ(25px);
  transition: transform 0.4s;
  display: inline-block;
}

/* Custom Distinct Section Themes */

/* 1. The World of Books Theme (Academic Paper look) */
.theme-world-books {
  background-color: #fbfbf8;
  background-image: radial-gradient(#d3c7b5 0.5px, transparent 0.5px);
  background-size: 20px 20px;
  border-top: 1px solid #e5dec9;
  border-bottom: 1px solid #e5dec9;
}

.theme-world-books .section-title {
  font-family: 'Outfit', serif;
  color: #3f392f;
  text-shadow: 1px 1px 0px white;
}

.theme-world-books .badge {
  background-color: #e5dec9;
  color: #5c5343;
  border: 1px solid #d4cbb3;
}

/* 2. Stationery Corner Theme (Creative Sketch Grid look) */
.theme-stationery-corner {
  background-color: #f0f7ff;
  background-image: linear-gradient(0deg, transparent 24%, rgba(37, 99, 235, 0.03) 25%, rgba(37, 99, 235, 0.03) 26%, transparent 27%, transparent 74%, rgba(37, 99, 235, 0.03) 75%, rgba(37, 99, 235, 0.03) 76%, transparent 77%), 
                    linear-gradient(90deg, transparent 24%, rgba(37, 99, 235, 0.03) 25%, rgba(37, 99, 235, 0.03) 26%, transparent 27%, transparent 74%, rgba(37, 99, 235, 0.03) 75%, rgba(37, 99, 235, 0.03) 76%, transparent 77%);
  background-size: 30px 30px;
  border-top: 1px solid #dbeafe;
  border-bottom: 1px solid #dbeafe;
}

.theme-stationery-corner .section-title {
  color: #1e3a8a;
}

/* 3. The Gift Arena Theme (Festive Celebrations Warm gradient look) */
.theme-gift-arena {
  background: linear-gradient(135deg, #fffaf0 0%, #fff7ed 100%);
  border-top: 1px solid #fed7aa;
  border-bottom: 1px solid #fed7aa;
}

.theme-gift-arena .section-title {
  color: #7c2d12;
}

.theme-gift-arena .badge {
  background-color: #ffedd5;
  color: #ea580c;
  border: 1px solid #fed7aa;
}

/* 4. Sports Zone Theme (Active Grid Mesh look) */
.theme-sports-zone {
  background-color: #f8fafc;
  background-image: linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 15px 15px;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
}

.theme-sports-zone .section-title {
  color: #0f172a;
}

/* Hero Section (White Theme) */
.hero {
  background-color: var(--bg-pure);
  color: var(--text-dark);
  padding: 8.5rem 0 5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-rating-badge span.stars {
  color: #fbbf24;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  font-weight: 800;
}

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

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-microcopy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-microcopy svg {
  fill: currentColor;
  flex-shrink: 0;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-card {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-floating-badge {
  position: absolute;
  background-color: var(--bg-pure);
  color: var(--primary);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.15rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border-light);
  z-index: 3;
}

.hero-badge-1 {
  bottom: 20px;
  left: -20px;
}

.hero-badge-2 {
  top: 20px;
  right: -20px;
}

.hero-floating-badge .icon {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--primary-accent);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.hero-floating-badge .details h4 {
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-floating-badge .details p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.hero-badges-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-medium);
}

/* 5-Slide Banner Carousel (Highlights & Offers) styling */
.banner-carousel {
  position: relative;
  width: 100%;
  height: 400px;
  margin-top: 72px; /* Sits below header */
  overflow: hidden;
  background-color: var(--bg-soft);
  border-bottom: 1px solid var(--border-light);
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}

.carousel-overlay {
  position: relative;
  z-index: 3;
  color: white;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  text-align: left;
}

.carousel-slide-tag {
  background-color: var(--primary-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.carousel-slide-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 600px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.carousel-slide-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
  max-width: 500px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.carousel-control-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-control-btn:hover {
  background-color: var(--primary-accent);
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background-color: white;
  width: 24px;
}

/* Distributor Strip Section (Scrolling logos look) */
.distributor-strip {
  background-color: var(--bg-soft);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.distributor-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.distributor-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.distributor-logos-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.dist-tag {
  background-color: var(--bg-pure);
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-medium);
}

/* About Section */
.about {
  background-color: var(--bg-pure);
}

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

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-headline {
  font-size: 2.25rem;
  font-weight: 800;
}

.about-para {
  color: var(--text-medium);
  font-size: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.about-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feat-icon {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--primary-accent);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: bold;
}

.about-feat-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.about-feat-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-gallery-img {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  border: 1px solid var(--border-light);
  position: relative;
}

.about-gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.about-gallery-img:hover img {
  transform: scale(1.03);
}

.about-gallery-img span.tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid var(--border-light);
}

/* B2B Supplies / Wholesale Statistics (High Persuasion) */
.b2b-stats {
  background-color: var(--bg-soft);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.b2b-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.b2b-card {
  background-color: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.b2b-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-accent);
}

.b2b-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-accent);
  font-family: var(--font-heading);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.b2b-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

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

.gem-notice-panel {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.gem-logo {
  background-color: var(--primary-accent);
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
}

.gem-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 0.15rem;
}

.gem-text p {
  font-size: 0.85rem;
  color: #1e3a8a;
}

/* Shopify-style Direct Sell Shop Section */
.online-shop {
  background-color: var(--bg-pure);
}

.shop-filters-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.25rem;
}

.shop-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.shop-tab-btn {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
  background-color: var(--bg-soft);
  color: var(--text-medium);
  transition: var(--transition-fast);
}

.shop-tab-btn.active, .shop-tab-btn:hover {
  background-color: var(--primary-accent);
  color: white;
  border-color: var(--primary-accent);
}

.shop-search {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.shop-search-input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
}

.shop-search-input:focus {
  border-color: var(--primary-accent);
}

.shop-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background-color: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.product-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.prod-img-box {
  width: 100%;
  aspect-ratio: 1.1;
  background-color: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.prod-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

.prod-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.prod-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  height: 2.4em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.prod-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.prod-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.prod-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  font-family: var(--font-heading);
}

.prod-buy-btn {
  background-color: var(--primary-accent);
  color: white;
  border-radius: var(--radius-xs);
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.prod-buy-btn:hover {
  background-color: var(--primary-accent-hover);
}

/* Category Grid Overhaul (14 Categories) */
.categories {
  background-color: var(--bg-soft);
}

.categories-grid-14 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.cat-box-card {
  background-color: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.cat-box-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-accent);
}

.cat-box-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.cat-box-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.cat-box-subs {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.cat-box-cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
}

.cat-box-cta svg {
  fill: currentColor;
}

/* Double Locations toggle and styling updates */
.contact-tabs-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid var(--border-light);
  background-color: var(--bg-pure);
  color: var(--text-medium);
  transition: var(--transition-normal);
}

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

.tab-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--secondary-light);
  background: var(--primary);
  box-shadow: var(--shadow-md);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--bg-pure);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--primary-accent);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-details h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.contact-details p {
  font-size: 0.88rem;
  color: var(--text-medium);
}

.contact-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.contact-map-panel {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  background-color: var(--bg-pure);
  min-height: 400px;
}

.map-wrapper {
  width: 100%;
  height: 100%;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Reviews and Visitor counter styling */
.reviews {
  background-color: var(--bg-soft);
}

.reviews-summary-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.reviews-summary-card {
  background-color: var(--bg-pure);
  border-radius: var(--radius-md);
  padding: 1.25rem 2.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.summary-score h3 {
  font-size: 2.5rem;
  color: var(--primary-accent);
}

.summary-score p {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.summary-info .stars {
  color: #fbbf24;
}

.summary-info .count {
  font-size: 0.85rem;
  font-weight: 700;
}

.visitor-counter-card {
  background-color: var(--bg-pure);
  border-radius: var(--radius-md);
  padding: 1.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.visitor-counter-card .counter-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.visitor-counter-card .counter-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-accent);
  line-height: 1.1;
  font-family: var(--font-heading);
}

.visitor-counter-card .counter-sub {
  font-size: 0.75rem;
  color: var(--accent-green);
  font-weight: 700;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background-color: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-stars {
  color: #fbbf24;
}

.review-text {
  font-style: italic;
  font-size: 0.95rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--primary-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* E-commerce Admin Dashboard Stock panel (10,000 virtual items) styling */
.admin-link-btn {
  font-size: 0.75rem !important;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  display: inline-block;
  margin-top: 1rem;
}

.admin-dashboard-panel {
  background-color: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  margin-top: 4rem;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background-color: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
}

.admin-stat-card h4 {
  font-size: 1.85rem;
  color: var(--primary-accent);
  font-family: var(--font-heading);
}

.admin-stat-card p {
  font-size: 0.78rem;
  color: var(--text-medium);
  font-weight: 700;
}

.admin-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.admin-search {
  position: relative;
  flex-grow: 1;
  max-width: 400px;
}

.admin-csv-upload-box {
  border: 2px dashed var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  background-color: var(--bg-soft);
  cursor: pointer;
  transition: var(--transition-fast);
}

.admin-csv-upload-box:hover {
  background-color: #eff6ff;
  border-color: var(--primary-accent);
}

.admin-csv-upload-box p {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-medium);
}

.admin-table-container {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.admin-table th {
  background-color: var(--bg-soft);
  color: var(--text-dark);
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.admin-table tr:hover {
  background-color: var(--bg-soft);
}

.admin-input-small {
  width: 70px;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-medium);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
}

.admin-select-status {
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-medium);
  font-size: 0.8rem;
}

.admin-pagination-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-page-btn {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  font-weight: bold;
  background-color: white;
  cursor: pointer;
}

.admin-page-btn:hover {
  background-color: var(--bg-soft);
}

.admin-page-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Custom Social Corner Feed Widget style */
.social-corner-section {
  background-color: var(--bg-pure);
  border-bottom: 1px solid var(--border-light);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.social-feed-card {
  background-color: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.social-card-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.15rem;
}

.sc-facebook { background-color: #1877f2; }
.sc-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.sc-youtube { background-color: #ff0000; }

.social-profile-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
}

.social-profile-info p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.social-feed-body {
  padding: 1.25rem;
  flex-grow: 1;
}

.social-post-text {
  font-size: 0.88rem;
  color: var(--text-medium);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.social-post-media-mock {
  width: 100%;
  aspect-ratio: 1.6;
  background-color: var(--bg-soft);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.social-post-media-mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-stats {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.social-visit-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-accent);
}

/* Google Photos Sync Gallery section */
.google-photos-section {
  background-color: var(--bg-soft);
}

.photos-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4338ca;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.photos-sync-badge span.dot {
  width: 8px;
  height: 8px;
  background-color: #4f46e5;
  border-radius: var(--radius-full);
  animation: pulse-badge 2s infinite;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  background-color: var(--bg-soft);
  border: 1px solid var(--border-light);
  cursor: pointer;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 19, 41, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-overlay span {
  background-color: var(--bg-pure);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  transform: translateY(10px);
  transition: var(--transition-normal);
}

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

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-card:hover .gallery-overlay span {
  transform: translateY(0);
}

/* Store Gallery */
.gallery {
  background-color: var(--bg-pure);
}

/* Shopify style Cart Drawer Panel (Sliding Sidebar) */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4);
  z-index: 1999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.active {
  display: block;
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  max-width: 100%;
  height: 100%;
  background-color: var(--bg-pure);
  z-index: 2000;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.active {
  right: 0;
}

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

.cart-drawer-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.cart-drawer-close {
  font-size: 1.75rem;
  color: var(--text-medium);
  cursor: pointer;
}

.cart-drawer-items {
  flex-grow: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.cart-item-emoji {
  width: 44px;
  height: 44px;
  background-color: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

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

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.cart-item-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-accent);
}

.cart-item-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.qty-btn {
  background-color: var(--bg-soft);
  width: 24px;
  height: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-val {
  padding: 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.cart-item-remove {
  color: var(--accent-orange);
  font-size: 0.8rem;
  cursor: pointer;
  font-weight: 600;
}

.cart-drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60%;
  color: var(--text-muted);
}

.cart-drawer-empty span.emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-soft);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.cart-summary-total {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-dark);
}

.cart-checkout-btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* E-commerce Checkout Modal Window */
.checkout-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  z-index: 3000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

.checkout-modal.active {
  display: flex;
  opacity: 1;
}

.checkout-card {
  width: 100%;
  max-width: 650px;
  background-color: var(--bg-pure);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.checkout-header {
  padding: 1.25rem 1.5rem;
  background-color: var(--primary);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-close {
  color: rgba(255,255,255,0.7);
  font-size: 1.75rem;
  cursor: pointer;
}

.checkout-body {
  padding: 1.5rem;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.checkout-form-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkout-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.checkout-form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-medium);
}

.checkout-input {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-medium);
  font-family: var(--font-body);
  font-size: 0.88rem;
}

.checkout-shipping-selector {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.shipping-opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.checkout-summary-col {
  background-color: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: fit-content;
}

.checkout-summary-title {
  font-size: 0.95rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.summary-list-items {
  max-height: 120px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.summary-item-line {
  display: flex;
  justify-content: space-between;
}

.checkout-calc-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-medium);
}

.checkout-total-line {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
  border-top: 1px solid var(--border-medium);
  padding-top: 0.5rem;
}

/* Razorpay Sandbox Payment Interface (High-Fidelity) */
.razorpay-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.7);
  z-index: 4000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.razorpay-modal.active {
  display: flex;
  opacity: 1;
}

.razorpay-widget {
  width: 375px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #2b3940;
}

.razorpay-widget-header {
  background-color: #0c212c; /* razorpay dark */
  color: white;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rp-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rp-header-left .rp-logo {
  color: #3399FF;
  font-weight: 800;
  font-size: 1.2rem;
}

.rp-merchant-info h4 {
  font-size: 0.9rem;
  color: white;
}

.rp-merchant-info p {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}

.rp-amount-badge {
  text-align: right;
}

.rp-amount-badge h3 {
  font-size: 1.1rem;
  color: #ffffff;
}

.rp-amount-badge p {
  font-size: 0.65rem;
  color: #00ea90; /* razorpay green success accent */
  font-weight: bold;
}

.razorpay-body {
  padding: 1.25rem;
  background-color: #f6f8f9;
}

.rp-secure-badge {
  background-color: #eefdf7;
  border: 1px solid #c2f5df;
  padding: 0.5rem;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  color: #0b8253;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
}

.rp-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rp-method-card {
  background: white;
  border: 1px solid #e1e6eb;
  border-radius: var(--radius-xs);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.rp-method-card:hover {
  border-color: #3399FF;
  background-color: #fafdff;
}

.rp-method-icon {
  font-size: 1.25rem;
}

.rp-method-text h5 {
  font-size: 0.85rem;
  font-weight: 700;
}

.rp-method-text p {
  font-size: 0.72rem;
  color: #7d8b94;
}

.rp-submit-btn {
  width: 100%;
  background-color: #3399FF;
  color: white;
  border-radius: var(--radius-xs);
  padding: 0.85rem;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  margin-top: 1.5rem;
  box-shadow: 0 4px 6px rgba(51, 153, 255, 0.2);
}

.rp-submit-btn:hover {
  background-color: #1a82eb;
}

/* Success Receipt Screen inside Checkout Modal */
.success-receipt {
  text-align: center;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.success-icon {
  width: 72px;
  height: 72px;
  background-color: rgba(22, 163, 74, 0.1);
  color: var(--accent-green);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  animation: scale-up 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scale-up {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-receipt h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.success-receipt p {
  font-size: 0.9rem;
  color: var(--text-medium);
  max-width: 400px;
}

.receipt-details-card {
  background-color: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  width: 100%;
  max-width: 400px;
  text-align: left;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.receipt-line {
  display: flex;
  justify-content: space-between;
}

.receipt-bold {
  font-weight: 700;
  color: var(--text-dark);
}

/* Footer Section */
.footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
}

.footer-logo span {
  color: var(--primary-accent);
}

.footer-copy {
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: white;
}

/* Mobile Sticky CTAs */
.mobile-sticky-ctas {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  display: none;
  grid-template-columns: 1fr 1fr;
  padding: 0.75rem 1rem;
  gap: 0.75rem;
  z-index: 999;
}

.mobile-sticky-ctas .btn {
  padding: 0.75rem;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 10px;
  font-weight: 600;
  font-size: 1rem;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-microcopy {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  
  .categories-grid-14 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .b2b-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: var(--bg-pure);
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    gap: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-ctas {
    display: none;
  }
  
  .categories-grid-14 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .b2b-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  body {
    padding-bottom: 60px;
  }
  
  .mobile-sticky-ctas {
    display: grid;
  }
  
  .ai-chat-widget {
    bottom: 75px;
    right: 15px;
  }
  
  .chat-window {
    width: 300px;
    height: 380px;
  }
  
  .checkout-body {
    grid-template-columns: 1fr;
  }
  
  .banner-carousel {
    height: 300px;
  }
  
  .carousel-slide-title {
    font-size: 1.85rem;
  }
  
  .carousel-slide-desc {
    font-size: 0.95rem;
  }
  
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .social-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .categories-grid-14 {
    grid-template-columns: 1fr;
  }
  
  .b2b-grid {
    grid-template-columns: 1fr;
  }
  
  .shop-grid {
    grid-template-columns: 1fr;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp Floating Agent Widget & AI Chat Widget Offset Overrides */
.ai-chat-widget {
  right: 85px !important;
}
@media (max-width: 768px) {
  .ai-chat-widget {
    right: 80px !important;
    bottom: 75px !important;
  }
}

.wa-agent-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-family: var(--font-body);
}

@media (max-width: 768px) {
  .wa-agent-widget {
    bottom: 75px;
    right: 15px;
  }
}

.wa-agent-toggle-btn {
  background-color: #25d366;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: var(--transition-normal);
  position: relative;
}

.wa-agent-toggle-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.wa-agent-toggle-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.wa-agent-pulse {
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background-color: #00ea90;
  border: 2px solid white;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 234, 144, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 234, 144, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 234, 144, 0); }
}

.wa-agent-panel {
  position: absolute;
  bottom: 65px;
  right: 0;
  width: 320px;
  background-color: var(--bg-pure);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: none;
  flex-direction: column;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1001;
}

.wa-agent-panel.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.wa-agent-header {
  background-color: #075e54; /* WA Dark Green */
  color: white;
  padding: 1.25rem;
}

.wa-agent-header h4 {
  color: white;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.wa-agent-header p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

.wa-agent-body {
  padding: 1rem;
  background-color: #efeae2; /* WA Chat BG */
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 300px;
  overflow-y: auto;
}

.wa-agent-card {
  background-color: white;
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border-left: 3px solid #25d366;
  text-align: left;
}

.wa-agent-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--primary-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
}

.wa-agent-info {
  flex-grow: 1;
}

.wa-agent-info h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.wa-agent-info p {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.wa-agent-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #16a34a;
}

.wa-agent-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #25d366;
  border-radius: 50%;
  display: inline-block;
}

.wa-agent-chat-btn {
  background-color: #25d366;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.wa-agent-chat-btn:hover {
  transform: scale(1.08);
  background-color: #20ba5a;
}
