/* CSS Document - Buhari Printer Design System */

:root {
  /* Colors */
  --amazon-dark: #0f172a;
  --amazon-nav-bg: #1e293b;
  --amazon-light-bg: #f1f5f9;
  --amazon-orange: #e6c800;
  --amazon-orange-hover: #15883b;
  --amazon-orange-dark: #053f14;
  --amazon-blue: #e6c800;
  --amazon-blue-light: #2ecc71;
  --amazon-blue-glow: rgba(11, 102, 35, 0.3);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-light: #ffffff;
  --border-color: #cbd5e1;
  --bg-card: #ffffff;
  --success-green: #e6c800;
  --discount-red: #e11d48;
  --amber-yellow: #eab308;
  --dark-hover: #334155;
  
  /* Shadows & Radius */
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08);
  --shadow-md: 0 4px 6px -1px rgba(15,23,42,0.1), 0 2px 4px -2px rgba(15,23,42,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(15,23,42,0.1), 0 4px 6px -4px rgba(15,23,42,0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-round: 9999px;
  
  /* Fonts */
  --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-title: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-price: 'Futura', 'Futura PT', 'Futura-Medium', 'Futura Std', 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--amazon-light-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.4;
}

a {
  color: #007185;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #c7511f;
  text-decoration: underline;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  outline: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* ----------------------------------------- */
/* TOP ANNOUNCEMENT BAR */
/* ----------------------------------------- */
.top-announcement {
  background-color: #27272a; /* Dark zinc gray */
  border-bottom: 2px solid #fff44f; /* Amber yellow border */
  color: #f4f4f5; /* Light gray text */
  padding: 8px 24px;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-title);
  position: relative;
  z-index: 1000;
}

.announcement-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.announcement-text {
  flex: 1;
  text-align: center;
}

.top-announcement strong {
  color: #fff44f; /* Highlight strong tags in yellow */
}

.close-announcement {
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff44f; /* Yellow close button */
  opacity: 0.8;
  transition: opacity 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.close-announcement:hover {
  opacity: 1;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-fluid {
  width: 100%;
  padding: 0 24px;
}

.section {
  padding: 40px 0;
  margin: 0;
}

.section-tight {
  padding: 24px 0;
  margin: 0;
}

/* Spacing Utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 8px; }
.pt-2 { padding-top: 16px; }
.pt-3 { padding-top: 24px; }
.pt-4 { padding-top: 32px; }
.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 8px; }
.pb-2 { padding-bottom: 16px; }
.pb-3 { padding-bottom: 24px; }
.pb-4 { padding-bottom: 32px; }
.px-0 { padding-left: 0; padding-right: 0; }
.px-1 { padding-left: 8px; padding-right: 8px; }
.px-2 { padding-left: 16px; padding-right: 16px; }
.px-3 { padding-left: 24px; padding-right: 24px; }
.px-4 { padding-left: 32px; padding-right: 32px; }
.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 8px; padding-bottom: 8px; }
.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.py-4 { padding-top: 32px; padding-bottom: 32px; }

/* Alignment Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }

/* Display Utilities */
.hidden { display: none !important; }
.block { display: block !important; }
.inline-block { display: inline-block !important; }

/* Width Utilities */
.w-full { width: 100%; }
.max-w-xs { max-width: 320px; }
.max-w-sm { max-width: 480px; }
.max-w-md { max-width: 768px; }
.max-w-lg { max-width: 1024px; }
.max-w-xl { max-width: 1280px; }
.max-w-2xl { max-width: 1400px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Position Utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }

/* Section Spacing */
.section + .section {
  margin-top: 40px;
}

.section-tight + .section-tight {
  margin-top: 24px;
}

/* Card spacing consistency */
.card + .card {
  margin-top: 16px;
}

/* Grid spacing */
.grid > * + * {
  margin-top: 20px;
}

.grid-gap-sm > * + * {
  margin-top: 12px;
}

.grid-gap-lg > * + * {
  margin-top: 28px;
}

/* List spacing */
.list > * + * {
  margin-top: 12px;
}

.list-gap-sm > * + * {
  margin-top: 8px;
}

.list-gap-lg > * + * {
  margin-top: 20px;
}

/* Card Components */
.card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

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

.card-body {
  padding: 24px;
}

.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 700;
  font-family: var(--font-title);
}

.card-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background-color: rgba(0, 0, 0, 0.01);
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-title);
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #e6c800 0%, #2ecc71 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(11, 102, 35, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 102, 35, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

.btn-outline:hover {
  background: var(--amazon-light-bg);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-round);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: rgba(11, 102, 35, 0.1);
  color: #e6c800;
}

.badge-success {
  background: rgba(234, 179, 8, 0.1);
  color: #ca8a04;
}

.badge-warning {
  background: rgba(234, 179, 8, 0.1);
  color: #ca8a04;
}

.badge-danger {
  background: rgba(225, 29, 72, 0.1);
  color: #e11d48;
}

/* ----------------------------------------- */
/* MAIN HEADER */
/* ----------------------------------------- */
.main-header {
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-light);
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Premium Branding Logo */
.brand-logo-container {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.brand-logo-container:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: scale(1.02);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.brand-logo-icon {
  background: linear-gradient(135deg, #e6c800 0%, #2ecc71 100%);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(46, 204, 113, 0.35);
}

.brand-logo-icon i {
  color: #fff;
  width: 18px;
  height: 18px;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1.5px; /* Premium letter spacing */
  background: linear-gradient(135deg, #ffffff 40%, #d4d4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.6rem;
  font-weight: 500;
  color: #2ecc71; /* Emerald green accent */
  letter-spacing: 3px; /* Extended tracking */
  text-transform: uppercase;
  margin-top: 1px;
  line-height: 1;
}

/* Premium Delivery Pill */
.delivery-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.delivery-container:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.header-icon {
  width: 18px;
  height: 18px;
  color: #2ecc71; /* Emerald icon tint */
}

.delivery-info {
  display: flex;
  flex-direction: column;
}

.delivery-info .line-one {
  font-size: 0.7rem;
  color: #a1a1aa;
}

.delivery-info .line-two {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f4f4f5;
}

/* Luxury Dark Search Bar */
.search-container {
  flex-grow: 1;
  display: flex;
  height: 40px;
  border-radius: 20px; /* Modern roundness */
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.search-container:focus-within {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.search-dropdown-wrapper {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 16px;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.search-dropdown-wrapper:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.search-category-select {
  appearance: none;
  background: transparent;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  padding-right: 15px;
  outline: none;
  cursor: pointer;
  color: #cbd5e1;
}

.dropdown-chevron {
  width: 12px;
  height: 12px;
  position: absolute;
  right: 10px;
  pointer-events: none;
  color: #94a3b8;
}

.search-input {
  flex-grow: 1;
  border: none;
  padding: 0 16px;
  font-size: 0.85rem;
  outline: none;
  background: transparent;
  color: #ffffff;
}

.search-input::placeholder {
  color: #64748b; /* Muted slate placeholder */
}

.search-submit-btn {
  background: linear-gradient(135deg, #e6c800 0%, #2ecc71 100%);
  color: #ffffff;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.search-submit-btn:hover {
  background: linear-gradient(135deg, #15883b 0%, #2ecc71 100%);
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.3);
}

.search-submit-btn i {
  width: 18px;
  height: 18px;
  color: #ffffff;
}

/* Premium Autocomplete Dropdown - Dark Style */
.search-suggestions {
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  background-color: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 101;
  display: none;
  max-height: 300px;
  overflow-y: auto;
}

.suggestion-item {
  display: flex;
  align-items: center;
  padding: 11px 18px;
  font-size: 0.85rem;
  color: #cbd5e1;
  cursor: pointer;
  gap: 12px;
  transition: background 0.15s ease;
}

.suggestion-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.suggestion-item i {
  width: 14px;
  height: 14px;
  color: #94a3b8;
}

/* Right Side Actions Layout */
.header-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-workspace-toggle-btn {
  background: linear-gradient(135deg, rgba(11, 102, 35, 0.18) 0%, rgba(46, 204, 113, 0.18) 100%);
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: #2ecc71;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.admin-workspace-toggle-btn:hover {
  background: linear-gradient(135deg, #e6c800 0%, #2ecc71 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 14px rgba(46, 204, 113, 0.4);
  transform: translateY(-1px);
}

.admin-workspace-toggle-btn.active-admin-mode {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(225, 29, 72, 0.4) !important;
}

.nav-item {
  padding: 6px 12px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  color: var(--text-light);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.nav-item-dropdown {
  padding: 6px 12px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item-dropdown:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.nav-item .line-one,
.nav-item-dropdown .line-one {
  font-size: 0.7rem;
  color: #a1a1aa;
}

.nav-item .line-two,
.nav-item-dropdown .line-two {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f4f4f5;
}

.lang-selector {
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.caret-icon {
  width: 10px;
  height: 10px;
  color: #a1a1aa;
}

.orders-link {
  justify-content: center;
}

/* Premium Shopping Cart Toggler */
.cart-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(11, 102, 35, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(46, 204, 113, 0.25);
  border-radius: 12px;
  user-select: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-container:hover {
  background: linear-gradient(135deg, rgba(11, 102, 35, 0.2) 0%, rgba(46, 204, 113, 0.2) 100%);
  border-color: #2ecc71;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.15);
}

.cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-icon-wrapper i {
  width: 22px;
  height: 22px;
  color: #f4f4f5;
}

.cart-count {
  position: absolute;
  left: 14px;
  top: -12px;
  background-color: #e11d48; /* Premium notification red */
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0;
  border-radius: var(--radius-round);
  min-width: 20px;
  height: 20px;
  line-height: 16px;
  text-align: center;
  border: 2px solid #090d16; /* Dark background outline mapping */
}

.cart-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f4f4f5;
}

/* ----------------------------------------- */
/* SUB NAVIGATION BAR */
/* ----------------------------------------- */
.sub-nav-bar {
  background: rgba(15, 23, 42, 0.9); /* Dark slate with blur */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: 42px; /* Slightly taller for breathing room */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: var(--text-light);
  font-size: 0.85rem;
  position: sticky;
  top: 70px; /* Offsets sticky position below header which is 70px */
  z-index: 998;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sub-nav-left, .sub-nav-right {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 8px;
}

.menu-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.menu-toggle-btn i {
  width: 16px;
  height: 16px;
}

.sub-nav-links {
  display: flex;
  list-style: none;
  height: 100%;
  align-items: center;
  gap: 6px;
}

.sub-nav-links li, .sub-nav-links-right li {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link-item {
  color: var(--text-light);
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  text-decoration: none;
  transform: translateY(-1px);
}

.promo-cashback {
  background: linear-gradient(90deg, rgba(11, 102, 35, 0.15) 0%, rgba(46, 204, 113, 0.15) 100%);
  padding: 5px 14px;
  border-radius: var(--radius-round);
  font-size: 0.8rem;
  font-weight: 500;
  margin-right: 15px;
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: #e2e8f0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.promo-highlight {
  color: #fff44f; /* Vibrant yellow */
  font-weight: 700;
}

.sub-nav-links-right {
  display: flex;
  list-style: none;
  height: 100%;
  align-items: center;
  gap: 8px;
}

.sub-nav-links-right .nav-item-dropdown {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.sub-nav-links-right .nav-item-dropdown:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* ----------------------------------------- */
/* SIDEBAR OVERLAY & MENU */
/* ----------------------------------------- */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1002;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-menu {
  position: fixed;
  top: 0;
  left: -365px;
  width: 350px;
  height: 100%;
  background-color: #fff;
  z-index: 1003;
  box-shadow: 5px 0 15px rgba(0,0,0,0.3);
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.sidebar-menu.active {
  left: 0;
}

.sidebar-header {
  background-color: var(--amazon-nav-bg);
  color: #fff;
  padding: 16px 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.user-avatar-icon {
  width: 28px;
  height: 28px;
}

.sidebar-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-title);
}

.sidebar-close-btn {
  position: absolute;
  right: -45px;
  top: 15px;
  color: #fff;
  font-size: 2.5rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.sidebar-close-btn:hover {
  opacity: 1;
}

.sidebar-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px 30px;
}

.sidebar-section {
  border-bottom: 1px solid #eaeded;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.sidebar-section:last-child {
  border: none;
}

.sidebar-section h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  font-family: var(--font-title);
  letter-spacing: 0.5px;
}

.sidebar-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-section ul li a {
  color: #333;
  font-size: 0.9rem;
  display: block;
}

.sidebar-section ul li a:hover {
  color: var(--amazon-orange-dark);
  text-decoration: none;
}

/* ----------------------------------------- */
/* MINI-CART SIDE PREVIEW */
/* ----------------------------------------- */
.cart-preview-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1002;
}

.cart-preview-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-preview-panel {
  position: fixed;
  top: 0;
  right: -365px;
  width: 350px;
  height: 100%;
  background-color: #fff;
  z-index: 1003;
  box-shadow: -5px 0 15px rgba(0,0,0,0.3);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-preview-panel.active {
  right: 0;
}

.cart-preview-header {
  background-color: var(--amazon-dark);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-preview-header h3 {
  font-size: 1.1rem;
  font-family: var(--font-title);
}

.cart-close-btn {
  color: #fff;
  font-size: 1.5rem;
}

.cart-preview-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  color: var(--text-secondary);
  gap: 12px;
}

.shop-now-btn {
  background-color: var(--amazon-orange);
  color: var(--amazon-dark);
  padding: 10px 20px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid #a88734;
}

.shop-now-btn:hover {
  background-color: var(--amazon-orange-hover);
  text-decoration: none;
}

.cart-item-row {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #eaeded;
  padding-bottom: 12px;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background-color: #f9f9f9;
  border-radius: var(--radius-sm);
  padding: 4px;
}

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

.cart-item-title {
  font-size: 0.85rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.cart-item-qty-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.qty-pill {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  background-color: #f0f2f2;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.qty-btn:hover {
  background-color: #e3e6e6;
}

.qty-val {
  padding: 0 8px;
  font-weight: 500;
}

.cart-item-price {
  font-weight: 700;
  color: var(--text-primary);
}

.cart-preview-footer {
  padding: 20px;
  border-top: 1px solid #eaeded;
  background-color: #fcfcfc;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.checkout-btn {
  width: 100%;
  background: linear-gradient(to bottom, #f7dfa5, #f0c14b);
  border: 1px solid #a88734;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #111;
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
  transition: background 0.2s;
}

.checkout-btn:hover {
  background: linear-gradient(to bottom, #f5d78e, #eeb933);
}

/* ----------------------------------------- */
/* HERO CAROUSEL */
/* ----------------------------------------- */
.hero-carousel-container {
  height: 380px;
  position: relative;
  overflow: hidden;
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  display: flex;
  justify-content: space-between;
  padding: 40px 8%;
  color: #fff;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 50%;
  z-index: 10;
}

.promo-badge {
  background-color: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-round);
  width: fit-content;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-family: var(--font-title);
  letter-spacing: 0.5px;
}

.promo-badge.amber {
  background-color: var(--amazon-orange);
  border-color: var(--amazon-orange-hover);
  color: var(--amazon-dark);
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  font-family: var(--font-title);
}

.hero-cta-btn {
  background-color: var(--amazon-orange);
  color: var(--amazon-dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-round);
  width: fit-content;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
  transition: all 0.2s ease;
}

.hero-cta-btn:hover {
  background-color: var(--amazon-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

.hero-footnote {
  display: flex;
  gap: 16px;
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Hero Graphic & Cardboard Box */
.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  position: relative;
}

.amazon-box-wrapper {
  perspective: 800px;
}

.cardboard-box {
  width: 180px;
  height: 180px;
  background-color: #dcb384;
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateX(15deg) rotateY(-15deg);
  border: 1px solid #c89c6b;
}

.cardboard-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 100%;
  background-color: #232f3e;
  opacity: 0.15;
}

.box-flap-left {
  position: absolute;
  top: -15px;
  left: 5px;
  width: 80px;
  height: 30px;
  background-color: #d1a575;
  transform: rotateX(-45deg);
  border: 1px solid #c89c6b;
  border-radius: 2px;
}

.box-flap-right {
  position: absolute;
  top: -15px;
  right: 5px;
  width: 80px;
  height: 30px;
  background-color: #d1a575;
  transform: rotateX(-45deg);
  border: 1px solid #c89c6b;
  border-radius: 2px;
}

.box-face {
  position: absolute;
  bottom: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.smile-svg {
  transform: scale(0.9);
}

.bulk-saving-badge {
  background-color: var(--discount-red);
  color: #fff;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(204, 12, 57, 0.4);
  animation: pulse 2s infinite;
}

.bulk-saving-badge .percent {
  font-size: 2rem;
  font-weight: 700;
}

.bulk-saving-badge .label {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Control buttons */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  width: 48px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.2s;
  z-index: 12;
}

.carousel-control:hover {
  background-color: rgba(255,255,255,0.3);
  width: 55px;
}

.carousel-control.prev {
  left: 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.carousel-control.next {
  right: 0;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.carousel-control i {
  width: 24px;
  height: 24px;
}

/* ----------------------------------------- */
/* OVERLAY DASHBOARD CARDS ROW */
/* ----------------------------------------- */
.dashboard-cards-section {
  margin: 20px auto 0 auto;
  position: relative;
  z-index: 10;
  padding: 0 4%;
  max-width: 1480px;
  display: flex;
  align-items: center;
}

.dashboard-cards-container {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  width: 100%;
  padding: 10px 5px 25px 5px;
  scroll-behavior: smooth;
}

/* Hide scrollbar of card slider */
.dashboard-cards-container::-webkit-scrollbar {
  display: none;
}

.dash-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 280px;
  flex: 1 0 280px;
  height: 280px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid #fff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.dash-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 113, 227, 0.15);
}

.dash-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-family: var(--font-title);
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.card-action-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: #007185;
  margin-top: auto;
  align-self: flex-start;
}

.card-action-link:hover {
  color: #c7511f;
}

/* Card 1: Summary Specifics */
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 16px;
  column-gap: 12px;
}

.summary-item {
  display: flex;
  flex-direction: column;
}

.summary-item.border-top {
  border-top: 1px solid #eaeded;
  padding-top: 12px;
}

.summary-item.text-right {
  align-items: flex-end;
}

.summary-val {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.summary-val.highlight-num {
  font-size: 1.6rem;
  color: var(--amazon-blue);
  line-height: 1;
}

.summary-val.text-date {
  font-size: 1.2rem;
  color: #111;
  font-family: var(--font-title);
}

.summary-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Card 2: Rejoin Prime Specifics */
.prime-details-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prime-logo-box {
  background-color: var(--amazon-blue);
  color: #fff;
  width: 70px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.prime-logo-box .prime-txt {
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
}

/* Card 3: Business Savings Specifics */
.savings-amount-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.savings-card .savings-val {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--success-green);
  line-height: 1;
}

.savings-card .savings-lbl {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.savings-visual {
  height: 8px;
  background-color: #eaeded;
  border-radius: var(--radius-round);
  margin: 16px 0;
  overflow: hidden;
  position: relative;
}

.savings-visual .bar-progress {
  height: 100%;
  background: linear-gradient(to right, var(--success-green), #4cd137);
  border-radius: var(--radius-round);
}

/* Card 4: Bills Specifics */
.bills-content-wrapper {
  display: flex;
  gap: 12px;
  align-items: center;
}

.bills-icon-container {
  background-color: #f0f8ff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #e0f0ff;
}

.mobile-bill-icon {
  position: relative;
  color: var(--amazon-blue);
}

.mobile-bill-icon i {
  width: 24px;
  height: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--discount-red);
  border-radius: 50%;
  position: absolute;
  top: -2px;
  right: -2px;
  border: 1.5px solid #fff;
}

/* Card 5: Business Essentials Specifics */
.essentials-content-wrapper {
  display: flex;
  gap: 12px;
  align-items: center;
}

.essentials-icon {
  background-color: #fff0e5;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #ffd8be;
}

.essential-circle {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--amazon-orange-dark);
  text-transform: uppercase;
}

/* Card Slider Buttons */
.dash-slider-btn {
  background-color: #ffffff;
  color: #0f1111;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
  position: absolute;
  z-index: 25;
}

.dash-slider-btn:hover {
  background-color: #f7fafa;
  transform: scale(1.05);
}

.dash-slider-btn.prev {
  left: 1%;
}

.dash-slider-btn.next {
  right: 1%;
}

/* ----------------------------------------- */
/* PRODUCT GRIDS SECTION */
/* ----------------------------------------- */
.products-section {
  padding: 0 4%;
  margin: 0 auto 40px auto;
  position: relative;
  z-index: 20;
  max-width: 1480px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* Clipart Item styling */
.clipart-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.clipart-item:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(11, 102, 35, 0.2) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  background-color: #ffffff !important;
}

.clipart-item:hover .clipart-icon-frame {
  transform: scale(1.08);
}

.clipart-icon-frame {
  transition: transform 0.3s ease;
}

.product-grid-box {
  background-color: var(--bg-card);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-grid-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(11, 102, 35, 0.15);
}

.product-grid-box h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: var(--font-title);
  color: var(--text-primary);
}

/* 2x2 Grid Layout */
.grid-layout-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
  flex-grow: 1;
}

.product-grid-item {
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.product-grid-item:hover .prod-title {
  color: #e6c800;
  text-decoration: none;
}

.img-frame {
  height: 110px;
  background-color: #f8fafc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-grid-item:hover .img-frame {
  border-color: rgba(11, 102, 35, 0.1);
  background-color: #f1f5f9;
}

.prod-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-grid-item:hover .prod-img {
  transform: scale(1.05);
}

.prod-title {
  font-size: 0.8rem;
  color: var(--text-primary);
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  margin-bottom: 4px;
}

.prod-title.bold {
  font-weight: 500;
  font-size: 0.85rem;
}

/* Price Line Formatting */
.prod-price-line {
  display: flex;
  align-items: flex-start;
  margin-top: auto;
}

.price-symbol {
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 1px;
}

.price-whole {
  font-size: 1rem;
  font-weight: 700;
}

.price-fraction {
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 1px;
}

.original-price {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-decoration: line-through;
  margin-left: 6px;
  align-self: center;
}

.see-more-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e6c800;
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.see-more-link:hover {
  color: #2ecc71;
  transform: translateX(4px);
}

/* Category grid specific icons */
.square-bg {
  background-color: #f0f2f2 !important;
  border-radius: var(--radius-md) !important;
}

.category-icon {
  width: 32px;
  height: 32px;
  color: var(--amazon-blue);
}

.category-icon.text-amber {
  color: var(--amazon-orange-dark);
}

.item-viewed-info {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Vertical recommendation list (Box 3) */
.vertical-recommendations-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.list-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s;
  cursor: pointer;
}

.list-item:hover {
  background-color: #f7f9f9;
}

.list-item-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background-color: #f8f8f8;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.list-item-details {
  display: flex;
  flex-direction: column;
}

.item-name {
  font-size: 0.8rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #007185;
}

.rating-stars {
  font-size: 0.75rem;
  color: #ff9900;
  margin: 1px 0;
}

.item-price {
  font-size: 0.85rem;
  font-weight: 700;
}

/* Deal tag specifically */
.deal-badge-active {
  position: relative;
}

.deal-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  background-color: var(--discount-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  z-index: 10;
}

/* Hover Add-to-cart button in grids */
.quick-add-btn {
  position: absolute;
  bottom: -45px;
  right: 8px;
  background: linear-gradient(135deg, #e6c800 0%, #2ecc71 100%) !important;
  color: #ffffff !important;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(11, 102, 35, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  border: none;
  cursor: pointer;
  z-index: 15;
}

.quick-add-btn:hover {
  transform: scale(1.15) rotate(15deg) !important;
  box-shadow: 0 6px 14px rgba(11, 102, 35, 0.45);
}

.quick-add-btn i {
  width: 14px;
  height: 14px;
}

.img-frame:hover .quick-add-btn {
  bottom: 8px;
  opacity: 1;
}

/* ----------------------------------------- */
/* PREMIUM FOOTER */
/* ----------------------------------------- */
.amazon-footer {
  background-color: var(--amazon-dark);
  color: #fff;
  margin-top: 40px;
}

.back-to-top {
  background-color: #37475a;
  text-align: center;
  padding: 15px 0;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.back-to-top:hover {
  background-color: #485769;
}

.footer-links-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--font-title);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.footer-col ul li a {
  color: #ddd;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #3a4553;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background-color: #1a222d;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
}

.text-white {
  color: #fff;
}

.text-orange {
  color: var(--amazon-orange);
}

.footer-copyright {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
}

/* ----------------------------------------- */
/* MODALS (GLASSMORPHISM DETAILS) */
/* ----------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 17, 17, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 2000;
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 550px;
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255,255,255,0.8);
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 1.75rem;
  color: var(--text-secondary);
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-primary);
}

.prime-modal-header, .savings-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.prime-badge {
  background-color: var(--amazon-blue);
  color: #fff;
  font-weight: 700;
  font-style: italic;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.header-savings-icon {
  width: 28px;
  height: 28px;
}

.text-green {
  color: var(--success-green);
}

.modal-box h2 {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-title);
}

.prime-modal-body, .savings-modal-body {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 24px;
  line-height: 1.5;
}

.promo-box {
  background-color: #f0f8ff;
  border: 1px solid #d0e8ff;
  padding: 16px;
  border-radius: var(--radius-md);
  margin: 16px 0;
}

.promo-box h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--amazon-blue);
}

.promo-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-selector-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.plan-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.plan-card:hover {
  border-color: var(--amazon-blue);
  background-color: #fafafa;
}

.plan-card.active {
  border-color: var(--amazon-blue);
  background-color: #f4f9ff;
  box-shadow: 0 0 0 1px var(--amazon-blue);
}

.plan-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.plan-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--amazon-blue);
  margin-bottom: 8px;
}

.plan-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-secondary);
}

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

.prime-modal-footer, .savings-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid #eaeded;
  padding-top: 20px;
}

.btn-cancel {
  padding: 10px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.btn-cancel:hover {
  background-color: #f7f7f7;
}

.btn-confirm {
  background-color: var(--amazon-orange);
  color: var(--amazon-dark);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
  border: 1px solid #a88734;
}

.btn-confirm:hover {
  background-color: var(--amazon-orange-hover);
}

/* Savings Detail Modal Specific */
.total-saved-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f4faf4;
  border: 1px solid #d4ebd4;
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.total-saved-stat .amt {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--success-green);
  line-height: 1;
}

.total-saved-stat .lbl {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

.savings-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eaeded;
  padding-bottom: 10px;
}

.breakdown-item:last-child {
  border: none;
}

.modal-footnote {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 16px;
  text-align: center;
}

/* Product Detail Modal Specific */
.product-detail-box {
  max-width: 700px;
}

.product-modal-body {
  display: flex;
  gap: 24px;
}

.product-detail-img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  background-color: #fdfdfd;
  border-radius: var(--radius-md);
  padding: 10px;
  border: 1px solid #eee;
}

.product-detail-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-detail-info h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.product-detail-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 12px 0;
}

.product-detail-price .original {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: line-through;
  margin-left: 10px;
}

.product-detail-specs {
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 20px;
}

.product-detail-specs li {
  margin-bottom: 6px;
}

.product-detail-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.btn-add-cart-large {
  flex-grow: 1;
  background: linear-gradient(to bottom, #f7dfa5, #f0c14b);
  border: 1px solid #a88734;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.btn-add-cart-large:hover {
  background: linear-gradient(to bottom, #f5d78e, #eeb933);
}

/* ----------------------------------------- */
/* PRODUCT EXPLORER SECTION & FILTER SYSTEM */
/* ----------------------------------------- */
.explorer-section {
  padding: 0 4%;
  margin: 30px auto;
  max-width: 1480px;
}

.explorer-container {
  display: block;
}

/* Sidebar Filters */
.filter-sidebar {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  padding: 20px;
  position: sticky;
  top: 110px; /* Offset for sticky headers */
}

.filter-sidebar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-title);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--amazon-blue);
  padding-bottom: 8px;
}

.filter-group {
  margin-bottom: 20px;
  border-bottom: 1px solid #eaeded;
  padding-bottom: 16px;
}

.filter-group:last-of-type {
  border-bottom: none;
}

.filter-group h4 {
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-title);
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

.filter-checkbox-label, .filter-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.filter-checkbox-label input, .filter-radio-label input {
  width: 15px;
  height: 15px;
  cursor: pointer;
  accent-color: var(--amazon-blue);
}

.filter-checkbox-label span, .filter-radio-label span {
  transition: color 0.15s;
}

.filter-checkbox-label:hover span, .filter-radio-label:hover span {
  color: var(--text-primary);
}

.clear-filters-btn {
  width: 100%;
  background-color: #f7f9f9;
  border: 1px solid var(--border-color);
  padding: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  margin-top: 10px;
  transition: background-color 0.2s;
}

.clear-filters-btn:hover {
  background-color: #e3e6e6;
}

/* Results Area */
.results-display-area {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  padding: 24px;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #eaeded;
  padding-bottom: 16px;
}

.results-count {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.sort-selector-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.sort-select {
  background-color: #f0f2f2;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

.sort-select:hover {
  background-color: #e3e6e6;
}

.explorer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* Explorer Grid Item Card Styling */
.explorer-card {
  border: 1px solid #e2e2e2;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  position: relative;
}

.explorer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--amazon-blue-light);
}

.explorer-card .img-frame {
  height: 140px;
  background-color: #fff;
  border: none;
  margin-bottom: 12px;
}

.explorer-card .prod-title {
  font-size: 0.85rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 52px;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #007185;
}

.explorer-card:hover .prod-title {
  color: #c7511f;
  text-decoration: underline;
}

.explorer-rating {
  font-size: 0.8rem;
  color: var(--amber-yellow);
  margin-bottom: 8px;
}

.explorer-card .prod-price-line {
  margin-top: auto;
}

.explorer-card .price-whole {
  font-size: 1.25rem;
}

.explorer-card .original-price {
  font-size: 0.8rem;
}

/* Category Label Tag on Cards */
.card-category-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.65rem;
  text-transform: uppercase;
  background-color: #f0f2f2;
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: 700;
}

/* Responsiveness for Explorer */
@media (max-width: 900px) {
  .explorer-container {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    position: static;
  }
}

/* ----------------------------------------- */
/* RESPONSIVENESS AND TABLET BREAKPOINTS */
/* ----------------------------------------- */
@media (max-width: 1200px) {
  .products-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .main-header {
    height: auto;
    flex-wrap: wrap;
    padding: 10px;
  }
  
  .search-container {
    order: 4;
    width: 100%;
    margin-top: 8px;
  }
  
  .hero-carousel-container {
    height: 320px;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-graphic {
    display: none;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-section {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  
  .explorer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .product-grid-box {
    padding: 12px !important;
  }

  .product-grid-box h2 {
    font-size: 1rem !important;
    margin-bottom: 12px !important;
  }

  .product-grid-item, .explorer-card {
    padding: 10px !important;
  }

  .product-grid-item .img-frame, .explorer-card .img-frame {
    height: 120px !important;
  }

  .product-grid-item img, .explorer-card img {
    max-height: 100px !important;
  }

  .prod-title, .explorer-card .prod-title {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    margin-top: 8px !important;
    height: 32px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .prod-price-line {
    margin-top: 6px !important;
  }

  .price-whole {
    font-size: 1rem !important;
  }

  .original-price {
    font-size: 0.65rem !important;
    display: block !important;
    margin-left: 0 !important;
    margin-top: 2px !important;
  }
  
  .sub-nav-links {
    display: none;
  }
  
  .promo-cashback {
    display: none;
  }
  
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------- */
/* VIEW PANEL SWITCHING */
/* ----------------------------------------- */
.view-panel {
  display: none;
}

.view-panel.active-view {
  display: block;
}

/* Header Admin Toggle Button */
.admin-workspace-toggle-btn {
  background-color: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
}

.admin-workspace-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #2ecc71;
  color: #2ecc71;
}

.admin-workspace-toggle-btn.active-admin-mode {
  background-color: #e6c800;
  border-color: #2ecc71;
  box-shadow: 0 0 0 1px #2ecc71;
  color: #fff;
}

/* ----------------------------------------- */
/* ADMIN WORKSPACE CONTAINER */
/* ----------------------------------------- */
#adminWorkspaceView.active-view {
  display: block;
}

.admin-layout-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 99px); /* Subtracted header height + subnav */
  background-color: #f8fafc;
}

/* Admin Sidebar */
.admin-sidebar {
  background-color: #0f172a;
  border-right: 1px solid #1e293b;
  display: flex;
  flex-direction: column;
  color: #f1f5f9;
}

.admin-brand-header {
  padding: 24px;
  border-bottom: 1px solid #1e293b;
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-header-icon {
  width: 28px;
  height: 28px;
  color: #2ecc71;
}

.admin-brand-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-title);
  letter-spacing: 0.5px;
}

.admin-brand-header span {
  font-size: 0.75rem;
  color: #64748b;
  display: block;
}

.admin-sidebar-menu-list {
  list-style: none;
  padding: 16px 0;
}

.admin-sidebar-menu-list li {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: #94a3b8;
  transition: all 0.15s ease;
  position: relative;
}

.admin-sidebar-menu-list li i {
  width: 18px;
  height: 18px;
}

.admin-sidebar-menu-list li:hover {
  color: #f1f5f9;
  background-color: #1e293b;
}

.admin-sidebar-menu-list li.active-admin-tab {
  color: #ffffff;
  background-color: #1e293b;
  font-weight: 600;
}

.admin-sidebar-menu-list li.active-admin-tab::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: #2ecc71;
}

.admin-order-badge {
  background-color: #e11d48;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-round);
  margin-left: auto;
}

.exit-admin-nav-item {
  margin-top: 40px;
  border-top: 1px dashed #1e293b;
  padding-top: 20px !important;
}

.exit-admin-nav-item:hover {
  color: #ef4444 !important;
}

/* Admin Main Panel */
.admin-main-panel {
  padding: 30px;
  overflow-y: auto;
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active-tab-content {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

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

.admin-tab-header {
  margin-bottom: 24px;
}

.admin-tab-header h2, .admin-tab-header-flex h2 {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-title);
  color: #0f172a;
}

.admin-tab-header span, .admin-tab-header-flex span {
  font-size: 0.85rem;
  color: #64748b;
}

.admin-tab-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

/* Metrics widgets */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.metric-widget-card {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.widget-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.widget-icon-box i {
  width: 22px;
  height: 22px;
}

.bg-mint {
  background-color: #e6f4ea;
  color: #e6c800;
}

.bg-purple {
  background-color: #f3e8ff;
  color: #9b59b6;
}

.bg-amber {
  background-color: #fef3c7;
  color: #ca8a04;
}

.widget-info-block {
  display: flex;
  flex-direction: column;
}

.widget-info-block .lbl {
  font-size: 0.8rem;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.widget-info-block .val {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2px;
  font-family: var(--font-title);
}

/* Charts Grid */
.admin-charts-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.admin-chart-box {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.admin-chart-box h3 {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-title);
  color: #0f172a;
  margin-bottom: 20px;
}

.svg-chart-container {
  height: 220px;
  width: 100%;
}

.chart-bar-hover {
  transition: opacity 0.2s;
  cursor: pointer;
}

.chart-bar-hover:hover {
  opacity: 0.85;
}

/* Alert List in Analytics */
.admin-alert-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.alert-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  line-height: 1.4;
  border-left: 4px solid transparent;
}

.alert-item i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-item div {
  display: flex;
  flex-direction: column;
}

.alert-item div strong {
  font-weight: 600;
  color: #0f172a;
}

.alert-item div span {
  color: #475569;
  margin-top: 2px;
}

.alert-item.warning {
  background-color: #fffbeb;
  border-color: #eab308;
  color: #ca8a04;
}

.alert-item.info {
  background-color: #eff6ff;
  border-color: #3b82f6;
  color: #2563eb;
}

.alert-item.success {
  background-color: #f0fdf4;
  border-color: #eab308;
  color: #ca8a04;
}

/* Inventory Tab */
.btn-add-product {
  background-color: #e6c800;
  color: #fff;
  border: 1px solid #053f14;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.15s;
}

.btn-add-product:hover {
  background-color: #15883b;
}

.btn-add-product i {
  width: 18px;
  height: 18px;
}

.admin-table-wrapper {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

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

.admin-table th {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 20px;
  font-weight: 600;
  color: #475569;
  font-family: var(--font-title);
}

.admin-table td {
  border-bottom: 1px solid #f1f5f9;
  padding: 12px 20px;
  color: #0f172a;
  vertical-align: middle;
}

.admin-table tbody tr:hover {
  background-color: #f8fafc;
}

/* Product list specifics */
.table-product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-prod-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background-color: #f8fafc;
  padding: 2px;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}

.table-prod-name {
  font-weight: 600;
  color: #0f172a;
}

.stock-indicator {
  font-weight: 600;
}

.stock-indicator.in-stock {
  color: #e6c800;
}

.stock-indicator.low-stock {
  color: #ca8a04;
}

.stock-indicator.out-of-stock {
  color: #ef4444;
}

/* Action Buttons inside Table */
.btn-action-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.15s;
  margin-right: 4px;
  background-color: #fff;
}

.btn-action-icon:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}

.btn-action-icon.btn-delete:hover {
  border-color: #fee2e2;
  background-color: #fef2f2;
  color: #ef4444;
}

.btn-action-icon i {
  width: 16px;
  height: 16px;
}

/* Order Status Tags */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-round);
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge.status-pending {
  background-color: #f1f5f9;
  color: #475569;
}

.status-badge.status-printing {
  background-color: #eff6ff;
  color: #2563eb;
}

.status-badge.status-quality {
  background-color: #fff7ed;
  color: #ea580c;
}

.status-badge.status-shipped {
  background-color: #f0fdf4;
  color: #ca8a04;
}

/* Status dropdown selector inside orders queue */
.status-select-admin {
  background-color: #fff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  font-size: 0.8rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
}

.status-select-admin:focus {
  border-color: #2ecc71;
}

/* ----------------------------------------- */
/* ADD PRODUCT FORM & CONTROLS */
/* ----------------------------------------- */
.add-product-modal-box {
  max-width: 580px !important;
}

.form-group-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-control {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-control-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.form-control label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.form-control input, .form-control select, .form-control textarea {
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.85rem;
  outline: none;
  font-family: inherit;
  background-color: #fff;
  color: #0f172a;
}

.form-control input:focus, .form-control select:focus, .form-control textarea:focus {
  border-color: #e6c800;
  box-shadow: 0 0 0 2px rgba(11, 102, 35, 0.1);
}

.form-control textarea {
  resize: vertical;
}

/* Responsiveness for Admin Grid */
@media (max-width: 1050px) {
  .admin-layout-container {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    height: auto;
    border-right: none;
    border-bottom: 1px solid #1e293b;
  }
  .admin-sidebar-menu-list {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
  }
  .admin-sidebar-menu-list li {
    padding: 10px 16px;
  }
  .admin-sidebar-menu-list li.active-admin-tab::before {
    height: 3px;
    width: 100%;
    bottom: 0;
    top: auto;
    left: 0;
  }
  .admin-metrics-grid {
    grid-template-columns: 1fr;
  }
  .admin-charts-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom Combo Button Dropdown Styles */
.combo-button-container {
  position: relative;
  display: inline-block;
}

.dropdown-menu-list {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: #121212;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  min-width: 200px;
  padding: 6px 0;
  transform-origin: top right;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.dropdown-menu-list.active {
  display: block;
}

.dropdown-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #e4e4e7;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-menu-item:hover {
  background-color: rgba(11, 102, 35, 0.15);
  color: #2ecc71;
}

.dropdown-menu-item i {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.dropdown-menu-item:hover i {
  transform: scale(1.1);
}

/* Commercial & Retail Portal Styles */
#commercialView {
  font-family: 'Inter', sans-serif;
  background-color: #0f172a;
}

#commercialView .main-header {
  border-bottom: 2px solid #3b82f6 !important;
}

.commercial-banner-card {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.commercial-banner-card::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  right: -50px;
  top: -50px;
  z-index: 1;
  pointer-events: none;
  transition: all 0.5s ease;
}

.commercial-banner-card::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, transparent 70%);
  left: -30px;
  bottom: -30px;
  z-index: 1;
  pointer-events: none;
  transition: all 0.5s ease;
}

.commercial-banner-card:hover {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.25), 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.commercial-banner-card:hover::after {
  transform: scale(1.2) translate(-20px, 20px);
}

.commercial-badge {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.1);
}

.commercial-banner-card h2 {
  color: #fff;
  margin: 0 0 8px 0;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.commercial-banner-card p {
  color: #94a3b8;
  margin: 0;
  font-size: 0.95rem;
  max-width: 650px;
  line-height: 1.5;
}

.comm-banner-btn {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  color: #111827;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  z-index: 2;
}

.comm-banner-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: all 0.6s ease;
}

.comm-banner-btn:hover::before {
  left: 100%;
}

.comm-banner-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(234, 179, 8, 0.6), 0 0 15px rgba(234, 179, 8, 0.4);
  background: linear-gradient(135deg, #fff44f 0%, #eab308 100%);
}

@media (max-width: 768px) {
  .commercial-banner-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }
  .comm-banner-btn {
    width: 100%;
    justify-content: center;
  }
}

.comm-intro-banner {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Commercial Product Cards */
.comm-prod-card {
  background: linear-gradient(135deg, #1e293b 0%, #111827 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.comm-prod-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(59, 130, 246, 0.15);
}

.comm-icon-frame {
  height: 160px;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0.3) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.comm-icon-frame i {
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
  transition: transform 0.3s ease;
}

.comm-prod-card:hover .comm-icon-frame i {
  transform: scale(1.1) rotate(2deg);
}

.comm-prod-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.comm-prod-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 16px;
  flex-grow: 1;
}

.comm-price-box {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 14px;
}

.comm-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.comm-price-row.incl-gst {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 6px;
  margin-top: 6px;
}

.comm-price-row .price-val {
  font-weight: 700;
  font-family: monospace;
}

.comm-price-row.incl-gst .price-val {
  color: #eab308;
  font-size: 1.05rem;
}

.comm-btn-config {
  width: 100%;
  background-color: #3b82f6;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.comm-btn-config:hover {
  background-color: #2563eb;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Configurator Form controls */
.config-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.config-group label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 600;
}

.config-group select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #121212;
  color: #fff;
  font-size: 0.9rem;
}

}

/* Website Polish: Glow Effects, Custom Scrollbars, and Micro-animations */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(234, 179, 8, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(234, 179, 8, 0);
  }
}

.commercial-banner-card button {
  animation: pulseGlow 2s infinite;
}

/* Scrollbar polish for modern slate aesthetics */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 2px solid #0f172a;
}
::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}

/* Neon card overlays */
.comm-prod-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: inset 0 0 15px rgba(59, 130, 246, 0);
  transition: box-shadow 0.3s ease;
  pointer-events: none;
}
.comm-prod-card:hover::after {
  box-shadow: inset 0 0 15px rgba(59, 130, 246, 0.15);
}

/* Reports & Period Filter Buttons */
.btn-report-filter {
  transition: all 0.2s ease;
}
.btn-report-filter:hover {
  background-color: #333 !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}
.btn-report-filter.active {
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.2);
}

/* Admin Sidebar Active States Polish */
.admin-sidebar-menu-list li {
  transition: background-color 0.2s, color 0.2s;
}

/* Print Stylesheet for Reports */
@media print {
  body * {
    visibility: hidden !important;
  }
  #admin-reports, #admin-reports * {
    visibility: visible !important;
  }
  #admin-reports {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    color: #000000 !important;
  }
  #admin-reports .admin-tab-header button,
  #admin-reports .btn-report-filter,
  #admin-reports div[style*="background-color:#1e1e1e"] {
    display: none !important;
  }
  #admin-reports .metric-widget-card,
  #admin-reports .admin-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    color: #0f172a !important;
  }
  #admin-reports svg line {
    stroke: #e2e8f0 !important;
  }
  #admin-reports svg text {
    fill: #475569 !important;
  }
  #admin-reports svg path {
    stroke: #2563eb !important;
  }
  #admin-reports table {
    color: #0f172a !important;
  }
  #admin-reports table tr {
    border-bottom: 1px solid #e2e8f0 !important;
  }
  #admin-reports th, #admin-reports td {
    color: #0f172a !important;
  }
  #admin-reports h2, #admin-reports h3, #admin-reports span, #admin-reports strong {
    color: #0f172a !important;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==========================================
   MOBILE VIEW & RESPONSIVE LAYOUT ENHANCEMENTS
   ========================================== */

@media (max-width: 768px) {
  /* Header Nav-Right elements cleanup */
  .main-header {
    justify-content: space-between;
    gap: 10px;
    padding: 0 12px !important;
  }
  
  .header-nav-right {
    gap: 6px !important;
  }
  
  .admin-workspace-toggle-btn {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
    border-radius: 12px !important;
  }

  .header-nav-right .cart-label,
  .header-nav-right .combo-button-container .account-info,
  .header-nav-right .account-selector .account-info {
    display: none !important;
  }
  
  .header-nav-right .account-selector {
    padding: 6px 8px !important;
    gap: 0 !important;
  }
  
  /* User Avatar SVG icon on mobile */
  .header-nav-right .account-selector::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 2px;
  }
  
  .header-nav-right .combo-button-container .nav-item-dropdown {
    padding: 6px 8px !important;
    gap: 0 !important;
  }
  
  /* Settings Sliders SVG icon on mobile */
  .header-nav-right .combo-button-container .nav-item-dropdown::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='21' x2='4' y2='14'/%3E%3Cline x1='4' y1='10' x2='4' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12' y2='3'/%3E%3Cline x1='20' y1='21' x2='20' y2='16'/%3E%3Cline x1='20' y1='12' x2='20' y2='3'/%3E%3Cline x1='2' y1='14' x2='6' y2='14'/%3E%3Cline x1='10' y1='8' x2='14' y2='8'/%3E%3Cline x1='18' y1='16' x2='22' y2='16'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 2px;
  }

  /* Replace Production Text with Printer SVG icon on mobile */
  .header-nav-right .orders-link {
    padding: 6px 8px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .header-nav-right .orders-link .line-one,
  .header-nav-right .orders-link .line-two {
    display: none !important;
  }
  .header-nav-right .orders-link::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 6 2 18 2 18 9'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
  }
}

@media (max-width: 1050px) {
  /* Admin Navigation Bar Carousel styling */
  .admin-sidebar {
    padding: 0 !important;
  }
  .admin-sidebar-menu-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 8px !important;
    padding: 12px !important;
    scrollbar-width: none !important; /* Hide scrollbar Firefox */
  }
  .admin-sidebar-menu-list::-webkit-scrollbar {
    display: none !important; /* Hide scrollbar Chrome/Safari */
  }
  .admin-sidebar-menu-list li {
    flex-shrink: 0 !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
    margin-bottom: 0 !important;
    font-size: 0.8rem !important;
  }
  .admin-sidebar-menu-list li.active-admin-tab {
    background-color: #e6c800 !important;
    color: #ffffff !important;
  }
  .admin-sidebar-menu-list li.active-admin-tab::before {
    display: none !important; /* Disable vertical indicator */
  }
  
  /* Quick stats grid wraps on tablets */
  .admin-metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 600px) {
  /* Product explorer filter sidebar cleanups */
  .explorer-container {
    padding: 0 10px !important;
  }
  .product-configurator-card {
    padding: 16px !important;
  }
}

/* WhatsApp Floating Widget Styles */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 2px 5px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-floating-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5), 0 3px 8px rgba(0,0,0,0.15);
}

.whatsapp-badge-pulse {
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background-color: #ef4444;
  border: 2px solid #fff;
  border-radius: 50%;
  animation: whatsappPulse 1.8s infinite;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.whatsapp-chat-box {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 330px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  border: 1px solid rgba(0,0,0,0.08);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  animation: whatsappSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  font-family: var(--font-main), 'Inter', sans-serif;
}

@keyframes whatsappSlideUp {
  from {
    transform: translateY(20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.whatsapp-chat-header {
  background-color: #075e54;
  color: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.whatsapp-avatar-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.whatsapp-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background-color: #eab308;
  border: 1.5px solid #075e54;
  border-radius: 50%;
  animation: statusBlink 1.5s infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.whatsapp-close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 0 4px;
}

.whatsapp-close-btn:hover {
  color: #fff;
}

.whatsapp-chat-body {
  background-color: #e5ddd5;
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
  background-repeat: repeat;
  padding: 16px;
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.whatsapp-bubble {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.4;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.whatsapp-bubble.recipient {
  background-color: #fff;
  align-self: flex-start;
  border-top-left-radius: 0;
}

.whatsapp-bubble-sender {
  font-weight: 700;
  font-size: 0.7rem;
  color: #e6c800;
  margin-bottom: 2px;
}

.whatsapp-bubble-time {
  display: none !important;
}

.whatsapp-chat-footer {
  padding: 10px 12px;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.whatsapp-input {
  flex-grow: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  background-color: #fff;
  color: #333;
}

.whatsapp-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #075e54;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.whatsapp-send-btn:hover {
  background-color: #128c7e;
}



