/* ==========================================================================
   PIXELCODE BD — MODERN LIGHT THEME (PEST CYAN & VIBRANT ORANGE)
   ========================================================================== */

:root {
  /* Brand Primary Accents */
  --pest: #00a896;
  --pest-light: #00d2d3;
  --pest-dark: #008174;
  --pest-rgb: 0, 168, 150;
  --pest-glow: rgba(0, 210, 211, 0.25);
  --pest-bg: #f0fdfa;
  --pest-border: #99f6e4;

  --orange: #ff6b35;
  --orange-hover: #ea580c;
  --orange-rgb: 255, 107, 53;
  --orange-glow: rgba(255, 107, 53, 0.25);
  --orange-bg: #fff7ed;
  --orange-border: #fed7aa;

  /* Brand Gradients */
  --gradient-brand: linear-gradient(135deg, #00b4b6 0%, #009688 45%, #ff6b35 100%);
  --gradient-btn: linear-gradient(135deg, #00b4b6 0%, #ff6b35 100%);
  --gradient-orange: linear-gradient(135deg, #ff6b35 0%, #f97316 100%);
  --gradient-pest: linear-gradient(135deg, #00d2d3 0%, #00a896 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);

  /* Premium Light Backgrounds */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-alt: #f8fafc;

  /* Crisp Light Borders */
  --border-glass: #e2e8f0;
  --border-input: #cbd5e1;
  --border-active: #00b4b6;
  --border-focus: #ff6b35;

  /* High-Contrast, Crystal-Clear Typography */
  --text-main: #0f172a;       /* Slate-900 (ultra-crisp headings & prices) */
  --text-body: #334155;       /* Slate-700 (primary readable body copy) */
  --text-muted: #475569;      /* Slate-600 (subtitles & labels) */
  --text-dim: #64748b;        /* Slate-500 (hints, timestamps) */
  --text-light: #94a3b8;      /* Slate-400 (placeholders) */

  /* Semantic Feedback Colors */
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --info: #0284c7;
  --info-bg: #f0f9ff;

  /* Soft Ambient Elevations */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-pest: 0 8px 25px rgba(0, 180, 182, 0.18);
  --shadow-orange: 0 8px 25px rgba(255, 107, 53, 0.2);

  /* Geometry */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* ==========================================================================
   RESET & GLOBAL TYPOGRAPHY
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-body);
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(0, 210, 211, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(255, 107, 53, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--pest);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--orange);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   DYNAMIC FORM CONTROLS & SELECT DROPDOWNS (REPLACES BORING STYLES)
   ========================================================================== */

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-label i {
  color: var(--pest);
  margin-right: 6px;
}

/* Dynamic Inputs & Textareas */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="search"],
input[type="tel"],
textarea {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text-main);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.form-control:hover,
input:hover,
textarea:hover {
  border-color: #94a3b8;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.form-control:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--pest);
  box-shadow: 0 0 0 4px rgba(0, 180, 182, 0.16), 0 2px 6px rgba(15, 23, 42, 0.05);
  background: #ffffff;
}

/* Dynamic Custom Styled Select Dropdowns */
.form-select,
select,
.lang-select,
.currency-select,
.filter-select,
.sort-select {
  width: 100%;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300a896' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-md);
  padding: 11px 40px 11px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-select:hover,
select:hover {
  border-color: var(--pest);
  background-color: #fafffe;
  box-shadow: 0 2px 8px rgba(0, 180, 182, 0.12);
}

.form-select:focus,
select:focus {
  outline: none;
  border-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ff6b35' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.18), 0 2px 6px rgba(15, 23, 42, 0.05);
  background-color: #ffffff;
}

/* Styled Input Groups with Icons */
.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-left {
  position: absolute;
  left: 16px;
  color: var(--text-dim);
  font-size: 15px;
  pointer-events: none;
  transition: color 0.2s ease;
}

.input-group input {
  padding-left: 44px;
}

.input-group input:focus + .input-icon-left,
.input-group:focus-within .input-icon-left {
  color: var(--pest);
}

/* Custom Checkboxes & Radio Badges */
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--pest);
  cursor: pointer;
}

/* Helper Text */
.form-hint {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   TOP UTILITY BAR (CLEAN LIGHT DESIGN)
   ========================================================================== */

.top-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-glass);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.currency-select, .lang-select {
  width: auto;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 5px 30px 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  background-size: 12px 12px;
  background-position: right 10px center;
  box-shadow: none;
}

.currency-select:hover, .lang-select:hover {
  background-color: #ffffff;
  border-color: var(--pest);
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION (LIGHT & CRISP)
   ========================================================================== */

.main-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  height: 44px;
  width: auto;
  border-radius: 50%;
  box-shadow: 0 2px 8px var(--pest-glow);
}

.brand-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.brand-text span {
  color: var(--orange);
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  color: var(--text-body);
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--pest);
  background: var(--pest-bg);
}

.nav-link.active {
  color: var(--pest);
  background: var(--pest-bg);
  font-weight: 700;
}

/* Dynamic Header Search */
.header-search {
  flex: 1;
  max-width: 360px;
  position: relative;
}

.header-search input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  background: var(--bg-subtle);
  border: 1.5px solid transparent;
  border-radius: 30px;
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: none;
  transition: all 0.25s ease;
}

.header-search input:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}

.header-search input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--pest);
  box-shadow: 0 0 0 4px rgba(0, 180, 182, 0.16);
}

.header-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: var(--pest-bg);
  border-color: var(--pest);
  color: var(--pest);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 180, 182, 0.15);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--orange);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px var(--orange-glow);
}

.btn-login {
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  transition: all 0.2s ease;
}

.btn-login:hover {
  background: var(--bg-subtle);
  color: var(--pest);
  border-color: var(--pest);
}

.btn-glow {
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff !important;
  background: var(--gradient-btn);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--orange-glow);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
  color: #ffffff !important;
}

/* ==========================================================================
   HERO SECTION (ELEGANT LIGHT AMBIENCE)
   ========================================================================== */

.hero-section {
  padding: 70px 0 50px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--pest-bg);
  border: 1px solid var(--pest-border);
  border-radius: 30px;
  color: var(--pest);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main);
}

.hero-title .gradient-text {
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-search-box {
  max-width: 660px;
  margin: 0 auto 40px;
  display: flex;
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 180, 182, 0.08);
  border-radius: 40px;
  padding: 6px;
  transition: all 0.25s ease;
}

.hero-search-box:focus-within {
  border-color: var(--pest);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(0, 180, 182, 0.16);
}

.hero-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 24px;
  color: var(--text-main);
  font-size: 15px;
  outline: none;
  box-shadow: none;
}

.hero-search-box input::placeholder {
  color: var(--text-light);
}

.hero-search-box button {
  padding: 12px 28px;
  border-radius: 30px;
  background: var(--gradient-btn);
  color: #ffffff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--orange-glow);
  transition: all 0.2s ease;
}

.hero-search-box button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.35);
}

/* ==========================================================================
   TOP-RATED SHOWCASE SLIDER (HERO DYNAMIC CAROUSEL)
   ========================================================================== */

.hero-slider-wrapper {
  max-width: 1080px;
  margin: 0 auto 36px;
  position: relative;
  text-align: left;
}

.hero-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 4px;
  flex-wrap: wrap;
  gap: 12px;
}

.slider-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.slider-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  background: #ffffff;
  border: 1px solid var(--border-glass);
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.3px;
}

.slider-hint {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.slider-controls-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  color: var(--text-main);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.slider-nav-btn:hover {
  background: var(--pest-bg);
  border-color: var(--pest);
  color: var(--pest);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px var(--pest-glow);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 4px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--border-input);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.slider-dot.active {
  width: 26px;
  background: var(--gradient-btn);
  border-radius: 4px;
}

/* Slider Track & Container */
.hero-slider-container {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 10px 40px rgba(0, 180, 182, 0.08);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-slider-container:hover {
  border-color: rgba(0, 180, 182, 0.5);
  box-shadow: var(--shadow-lg), 0 12px 45px rgba(0, 180, 182, 0.12);
}

.hero-slide {
  display: none;
  width: 100%;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

/* Showcase Card Grid */
.showcase-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 380px;
  align-items: stretch;
}

.showcase-visual {
  position: relative;
  overflow: hidden;
  background: #0f172a;
  min-height: 280px;
}

.showcase-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-img {
  transform: scale(1.04);
}

.showcase-floating-tags {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.showcase-badge-rating {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.showcase-badge-rating small {
  color: #94a3b8;
  font-weight: 500;
  font-size: 11px;
}

.showcase-badge-version {
  background: var(--gradient-btn);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 2px 8px var(--orange-glow);
}

/* Showcase Details Content */
.showcase-content {
  padding: 34px 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
}

.showcase-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12.5px;
}

.showcase-category {
  color: var(--pest);
  font-weight: 700;
  background: var(--pest-bg);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--pest-border);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.showcase-sales {
  color: var(--text-dim);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.showcase-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  margin: 6px 0 10px;
}

.showcase-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.showcase-title a:hover {
  color: var(--pest);
}

.showcase-summary {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.showcase-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.feature-tag {
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-body);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-glass);
  flex-wrap: wrap;
  gap: 14px;
}

.showcase-pricing .pricing-label {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.showcase-pricing .pricing-amount {
  font-size: 26px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.showcase-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-showcase-buy {
  background: var(--gradient-btn);
  color: #ffffff;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 4px 14px var(--orange-glow);
  transition: all 0.2s ease;
}

.btn-showcase-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.35);
  color: #ffffff;
}

.btn-showcase-demo {
  background: #ffffff;
  border: 1.5px solid var(--border-input);
  color: var(--text-main);
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-showcase-demo:hover {
  background: var(--bg-subtle);
  border-color: var(--pest);
  color: var(--pest);
}

@media (max-width: 992px) {
  .showcase-card {
    grid-template-columns: 1fr;
  }
  .showcase-visual {
    min-height: 240px;
    max-height: 260px;
  }
  .showcase-content {
    padding: 24px 22px 20px;
  }
  .showcase-title {
    font-size: 19px;
  }
}

@media (max-width: 640px) {
  .hero-slider-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .slider-controls-top {
    align-self: flex-end;
  }
  .showcase-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .showcase-actions {
    width: 100%;
  }
  .btn-showcase-buy, .btn-showcase-demo {
    flex: 1;
    justify-content: center;
    padding: 10px 14px;
    font-size: 13px;
  }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pest);
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}

.stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label {
  font-size: 12.5px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ==========================================================================
   CATEGORY CARDS (CLEAN WHITE CARDS WITH ACCENTS)
   ========================================================================== */

.section {
  padding: 60px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 45px;
  height: 3.5px;
  background: var(--gradient-btn);
  border-radius: 3px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-top: 10px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--pest);
  background: #ffffff;
  box-shadow: var(--shadow-md), 0 8px 20px rgba(0, 180, 182, 0.1);
}

.cat-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--pest-bg);
  border: 1px solid var(--pest-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--pest);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.category-card:hover .cat-icon-wrapper {
  background: var(--gradient-btn);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--orange-glow);
}

.cat-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.cat-count {
  font-size: 12.5px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ==========================================================================
   PRODUCT CARDS (VISERLAB STYLE - CRISP WHITE & ELEVATED)
   ========================================================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 26px;
}

.product-card {
  background: #ffffff;
  border: 1.5px solid var(--border-glass); /* কার্ডের চারপাশে প্রফেশনাল চিকন বর্ডার */
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--pest); /* হভার করলে পেস্ট কালার বর্ডার শো করবে */
  box-shadow: var(--shadow-lg), 0 10px 25px rgba(0, 180, 182, 0.12);
}

.product-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-glass); /* থাম্বনেইল ও বডির মাঝে নিখুঁত সেপারেশন লাইন */
}

.product-card:hover .product-thumb-wrapper img {
  transform: scale(1.05);
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  border: 1px solid var(--border-glass);
  color: var(--pest);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  max-width: calc(100% - 100px); /* Version badge-er sathe overlap prevent korar jonno */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}

.product-version {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--orange);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 6px var(--orange-glow);
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 12px;
  color: var(--pest);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-title {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a {
  color: var(--text-main);
}

.product-title a:hover {
  color: var(--pest);
}

.product-summary {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--warning);
  font-weight: 600;
}

.product-rating span {
  color: var(--text-dim);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.product-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-preview {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-preview:hover {
  background: #ffffff;
  border-color: var(--pest);
  color: var(--pest);
}

.btn-cart-add {
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  background: var(--gradient-btn);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px var(--orange-glow);
  transition: all 0.2s ease;
}

.btn-cart-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.35);
}

/* Social Auth Buttons (High Contrast & Clean Alignment) */
.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  background: #ffffff;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-sm);
  color: var(--text-main) !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.btn-social:hover {
  background: #f8fafc;
  border-color: var(--pest);
  color: var(--pest) !important;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.btn-social i {
  font-size: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (VISERLAB 6-TABS & STICKY BUY SIDEBAR)
   ========================================================================== */

.detail-header {
  padding: 40px 0 30px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-glass);
}

.detail-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.detail-breadcrumbs a {
  color: var(--text-muted);
}

.detail-breadcrumbs a:hover {
  color: var(--pest);
}

.detail-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.3;
}

.detail-badges {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-muted);
}

.detail-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-layout {
  display: flex;
  gap: 28px;
  padding: 36px 0 80px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.detail-main-content {
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 368px);
  box-sizing: border-box;
}

.detail-sidebar {
  width: 340px;
  flex: 0 0 340px;
  min-width: 0;
  max-width: 340px;
  box-sizing: border-box;
}

/* Detail Main Tabs */
.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border-glass);
  margin-bottom: 28px;
  gap: 6px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--pest-border) transparent;
  -webkit-overflow-scrolling: touch;
}

.tabs-nav::-webkit-scrollbar {
  height: 4px;
}

.tabs-nav::-webkit-scrollbar-thumb {
  background: var(--pest-border);
  border-radius: 4px;
}

.tab-btn {
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-btn:hover {
  color: var(--pest);
}

.tab-btn.active {
  color: var(--pest);
  font-weight: 700;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-btn);
  border-radius: 3px 3px 0 0;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.detail-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.rich-content {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.8;
}

.rich-content h3, .rich-content h4 {
  color: var(--text-main);
  margin: 24px 0 12px;
}

.rich-content ul, .rich-content ol {
  margin: 12px 0 20px 24px;
}

.rich-content li {
  margin-bottom: 8px;
}

.rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 16px 0;
}

.rich-content table {
  max-width: 100%;
  width: 100%;
  overflow-x: auto;
  display: block;
}

.rich-content pre, .rich-content code {
  max-width: 100%;
  overflow-x: auto;
  word-break: break-word;
}

/* Screenshots Gallery Grid */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.screenshot-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border-glass);
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.screenshot-item:hover {
  border-color: var(--pest);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.screenshot-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.screenshot-item:hover img {
  transform: scale(1.05);
}

/* Video Responsive Player */
.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Sticky Buy Card (Right Sidebar) */
.sticky-buy-box {
  position: sticky;
  top: 96px;
}

.buy-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.license-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.license-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.license-label:hover {
  background: #ffffff;
  border-color: #94a3b8;
}

.license-label:has(input:checked) {
  border-color: var(--pest);
  background: var(--pest-bg);
  box-shadow: 0 0 0 3px rgba(0, 180, 182, 0.15);
}

.license-radio-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.license-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
}

.buy-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-buy-now {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--gradient-btn);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--orange-glow);
  text-align: center;
  transition: all 0.2s ease;
}

.btn-buy-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
  color: #ffffff;
}

.btn-add-cart-outline {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border-input);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-add-cart-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--pest);
  color: var(--pest);
}

.demo-buttons-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}

.btn-demo-link {
  flex: 1;
  min-width: 0;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  background: var(--pest-bg);
  border: 1px solid var(--pest-border);
  color: var(--pest);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  box-sizing: border-box;
  overflow: hidden;
}

.btn-demo-link:hover {
  background: var(--pest);
  color: #ffffff;
  border-color: var(--pest);
}

/* Attributes Table */
.attributes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 16px;
}

.attributes-table tr {
  border-bottom: 1px solid var(--border-glass);
}

.attributes-table td {
  padding: 11px 0;
}

.attr-name {
  color: var(--text-muted);
  width: 45%;
}

.attr-val {
  color: var(--text-main);
  font-weight: 600;
}

/* ==========================================================================
   CART & CHECKOUT (LIGHT THEME & DYNAMIC FIELDS)
   ========================================================================== */

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.cart-table th {
  padding: 14px 18px;
  text-align: left;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-glass);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cart-table td {
  padding: 18px;
  border-bottom: 1px solid var(--border-glass);
  font-size: 14px;
  color: var(--text-main);
}

.cart-product-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-thumb {
  width: 70px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-glass);
}

.coupon-box {
  display: flex;
  gap: 10px;
  max-width: 400px;
}

.coupon-box input {
  flex: 1;
}

/* Gateway selector */
.gateways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.gateway-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1.5px solid var(--border-input);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.gateway-card:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.gateway-card:has(input:checked) {
  border-color: var(--pest);
  background: var(--pest-bg);
  box-shadow: 0 0 0 3px rgba(0, 180, 182, 0.16);
}

.gateway-icon {
  font-size: 26px;
  margin-bottom: 8px;
  color: var(--pest);
}

.gateway-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.payment-instructions-box {
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 24px;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.06);
}

.payment-instructions-box h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.payment-instructions-content {
  font-size: 14px;
  color: #1e293b !important;
  line-height: 1.8;
  margin-bottom: 18px;
}

.payment-instructions-content strong {
  color: #0f172a;
}

.payment-number-badge {
  display: inline-block;
  color: #0f172a !important;
  font-size: 15px;
  font-weight: 800;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  padding: 2px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Checkout Responsive Grid & Cards */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 32px;
  align-items: start;
  width: 100%;
}

.checkout-container {
  padding: 40px 20px 80px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group-full {
  grid-column: 1 / -1;
  margin-bottom: 16px;
}

.sticky-order-review {
  position: sticky;
  top: 96px;
}

.order-review-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-pest);
}

@media (max-width: 992px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sticky-order-review {
    position: static;
  }
}

@media (max-width: 640px) {
  .checkout-container {
    padding: 20px 14px 60px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .payment-instructions-box {
    padding: 16px;
  }
  .order-review-card {
    padding: 20px 16px;
  }
}

/* ==========================================================================
   CUSTOMER DASHBOARD & INVOICE CONTRAST FIXES (FIXED GRAY/DARK TEXT ISSUES)
   ========================================================================== */

.user-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
}

.user-sidebar-card a, 
.user-sidebar-card span, 
.user-sidebar-card p {
  color: var(--text-body);
}

.user-stat-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-main);
}

/* Invoice and Purchase List High-Contrast Text Fixes */
.invoice-container, 
.purchases-list-item,
.purchase-card,
.recent-downloads-card,
[class*="download"],
[class*="invoice"] {
  color: var(--text-main);
}

/* Fix for dark backgrounds or low contrast badges inside invoice/purchases */
.badge, span[class*="code"], td code, .purchase-code-badge {
  color: var(--text-main) !important;
  font-weight: 700;
}

/* Specific fix for invoice brand text and license code contrast */
.invoice-header-brand, .brand-text-invoice, .license-code-box, .purchase-item-box {
  color: var(--text-main) !important;
  background-color: #f8fafc;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* ==========================================================================
   FLOATING LIVE CHAT WIDGET (MODERN LIGHT POPUP)
   ========================================================================== */

.live-chat-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 6px 20px var(--pest-glow);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-chat-bubble:hover {
  transform: scale(1.08);
}

.chat-drawer {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 360px;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(15, 23, 42, 0.12);
  display: none;
  flex-direction: column;
  z-index: 9998;
  overflow: hidden;
}

.chat-drawer.open {
  display: flex;
}

.chat-header {
  padding: 16px 20px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--pest);
}

.chat-messages {
  padding: 16px;
  height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fafbfc;
}

.chat-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  max-width: 85%;
}

.msg-agent {
  background: var(--pest-bg);
  border: 1px solid var(--pest-border);
  color: var(--text-main);
  align-self: flex-start;
}

.msg-user {
  background: var(--gradient-btn);
  color: #ffffff;
  align-self: flex-end;
}

.chat-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border-glass);
  background: #ffffff;
  display: flex;
  gap: 8px;
}

.chat-footer input {
  flex: 1;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 13px;
  outline: none;
}

.chat-footer button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-btn);
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* ==========================================================================
   FOOTER (CLEAN LIGHT DESIGN)
   ========================================================================== */

.main-footer {
  background: #f1f5f9;
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin: 16px 0;
  max-width: 320px;
  color: var(--text-muted);
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 16px;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--pest);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ==========================================================================
   MOBILE OFF-CANVAS NAVIGATION & HAMBURGER
   ========================================================================== */

.mobile-menu-toggle {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  font-size: 18px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: var(--pest-bg);
  color: var(--pest);
  border-color: var(--pest);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -6px 0 25px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-glass);
}

.mobile-drawer-close {
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: #fecaca;
}

.mobile-drawer-search {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-glass);
  background: var(--bg-subtle);
}

.mobile-drawer-search form {
  position: relative;
  display: flex;
  align-items: center;
}

.mobile-drawer-search i.fa-search {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  font-size: 14px;
}

.mobile-drawer-search input {
  width: 100%;
  padding: 10px 42px 10px 38px;
  background: #ffffff;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-main);
  outline: none;
}

.mobile-drawer-search input:focus {
  border-color: var(--pest);
}

.mobile-drawer-search button {
  position: absolute;
  right: 6px;
  background: var(--gradient-btn);
  border: none;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
}

.mobile-drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-group-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-nav-item i {
  width: 20px;
  text-align: center;
  color: var(--pest);
  font-size: 15px;
}

.mobile-nav-item:hover {
  background: var(--pest-bg);
  color: var(--pest);
}

.mobile-nav-item.text-danger {
  color: var(--danger);
}
.mobile-nav-item.text-danger i {
  color: var(--danger);
}

.mobile-selectors-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-select-wrap label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.mobile-select {
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-input);
  background: #ffffff;
  font-size: 13px;
  color: var(--text-main);
}

.mobile-contact-box {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-glass);
}

.mobile-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: #25d366;
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: opacity 0.2s ease;
}
.mobile-wa-btn:hover {
  opacity: 0.92;
}

/* ==========================================================================
   RESPONSIVE COMPONENT LAYOUTS
   ========================================================================== */

.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.user-dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
}

.products-filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: center;
}

@media (max-width: 992px) {
  .products-filter-bar {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .products-filter-bar > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .products-filter-bar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }
  .products-filter-bar button {
    width: 100%;
    justify-content: center;
  }
}

/* Base Body Overflow Guard */

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP -> TABLET -> MOBILE)
   ========================================================================== */

@media (max-width: 1024px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .user-dashboard-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .detail-layout {
    flex-direction: column;
    gap: 28px;
  }
  .detail-main-content {
    max-width: 100%;
    width: 100%;
  }
  .detail-sidebar {
    width: 100%;
    max-width: 100%;
    flex: none;
  }
  .sticky-buy-box {
    position: static;
  }
  .hero-stats {
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .header-search {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .d-none-mobile {
    display: none !important;
  }
  .top-bar-left span:first-child {
    display: none;
  }
  .top-bar {
    font-size: 11.5px;
    padding: 6px 0;
  }
  .header-inner {
    padding: 10px 0;
  }
  .brand-logo img {
    height: 34px;
  }
  .brand-text {
    font-size: 16px;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 14.5px;
    margin-bottom: 24px;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .chat-drawer {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 86px;
    max-height: 75vh;
  }
  .cart-table th, .cart-table td {
    padding: 12px 10px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }
  .hero-pill {
    font-size: 11px;
    padding: 6px 12px;
  }
  .stat-item {
    width: 100%;
    justify-content: flex-start;
  }
  .hero-stats {
    gap: 16px;
  }
  .gateways-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .gateway-card {
    padding: 12px 8px;
  }
  .gateway-icon {
    font-size: 22px;
  }
  .gateway-name {
    font-size: 12px;
  }
  .mobile-selectors-row {
    grid-template-columns: 1fr;
  }
  .action-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}/* ==========================================================================
   PIXELCODE BD — MODERN LIGHT THEME (PEST CYAN & VIBRANT ORANGE)
   ========================================================================== */

:root {
  /* Brand Primary Accents */
  --pest: #00a896;
  --pest-light: #00d2d3;
  --pest-dark: #008174;
  --pest-rgb: 0, 168, 150;
  --pest-glow: rgba(0, 210, 211, 0.25);
  --pest-bg: #f0fdfa;
  --pest-border: #99f6e4;

  --orange: #ff6b35;
  --orange-hover: #ea580c;
  --orange-rgb: 255, 107, 53;
  --orange-glow: rgba(255, 107, 53, 0.25);
  --orange-bg: #fff7ed;
  --orange-border: #fed7aa;

  /* Brand Gradients */
  --gradient-brand: linear-gradient(135deg, #00b4b6 0%, #009688 45%, #ff6b35 100%);
  --gradient-btn: linear-gradient(135deg, #00b4b6 0%, #ff6b35 100%);
  --gradient-orange: linear-gradient(135deg, #ff6b35 0%, #f97316 100%);
  --gradient-pest: linear-gradient(135deg, #00d2d3 0%, #00a896 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);

  /* Premium Light Backgrounds */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-alt: #f8fafc;

  /* Crisp Light Borders */
  --border-glass: #e2e8f0;
  --border-input: #cbd5e1;
  --border-active: #00b4b6;
  --border-focus: #ff6b35;

  /* High-Contrast, Crystal-Clear Typography */
  --text-main: #0f172a;       /* Slate-900 (ultra-crisp headings & prices) */
  --text-body: #334155;       /* Slate-700 (primary readable body copy) */
  --text-muted: #475569;      /* Slate-600 (subtitles & labels) */
  --text-dim: #64748b;        /* Slate-500 (hints, timestamps) */
  --text-light: #94a3b8;      /* Slate-400 (placeholders) */

  /* Semantic Feedback Colors */
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --info: #0284c7;
  --info-bg: #f0f9ff;

  /* Soft Ambient Elevations */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-pest: 0 8px 25px rgba(0, 180, 182, 0.18);
  --shadow-orange: 0 8px 25px rgba(255, 107, 53, 0.2);

  /* Geometry */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* ==========================================================================
   RESET & GLOBAL TYPOGRAPHY
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-body);
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(0, 210, 211, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(255, 107, 53, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--pest);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--orange);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   DYNAMIC FORM CONTROLS & SELECT DROPDOWNS (REPLACES BORING STYLES)
   ========================================================================== */

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-label i {
  color: var(--pest);
  margin-right: 6px;
}

/* Dynamic Inputs & Textareas */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="search"],
input[type="tel"],
textarea {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text-main);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.form-control:hover,
input:hover,
textarea:hover {
  border-color: #94a3b8;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.form-control:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--pest);
  box-shadow: 0 0 0 4px rgba(0, 180, 182, 0.16), 0 2px 6px rgba(15, 23, 42, 0.05);
  background: #ffffff;
}

/* Dynamic Custom Styled Select Dropdowns */
.form-select,
select,
.lang-select,
.currency-select,
.filter-select,
.sort-select {
  width: 100%;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300a896' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-md);
  padding: 11px 40px 11px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-select:hover,
select:hover {
  border-color: var(--pest);
  background-color: #fafffe;
  box-shadow: 0 2px 8px rgba(0, 180, 182, 0.12);
}

.form-select:focus,
select:focus {
  outline: none;
  border-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ff6b35' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.18), 0 2px 6px rgba(15, 23, 42, 0.05);
  background-color: #ffffff;
}

/* Styled Input Groups with Icons */
.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-left {
  position: absolute;
  left: 16px;
  color: var(--text-dim);
  font-size: 15px;
  pointer-events: none;
  transition: color 0.2s ease;
}

.input-group input {
  padding-left: 44px;
}

.input-group input:focus + .input-icon-left,
.input-group:focus-within .input-icon-left {
  color: var(--pest);
}

/* Custom Checkboxes & Radio Badges */
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--pest);
  cursor: pointer;
}

/* Helper Text */
.form-hint {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   TOP UTILITY BAR (CLEAN LIGHT DESIGN)
   ========================================================================== */

.top-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-glass);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.currency-select, .lang-select {
  width: auto;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 5px 30px 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  background-size: 12px 12px;
  background-position: right 10px center;
  box-shadow: none;
}

.currency-select:hover, .lang-select:hover {
  background-color: #ffffff;
  border-color: var(--pest);
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION (LIGHT & CRISP)
   ========================================================================== */

.main-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  height: 44px;
  width: auto;
  border-radius: 50%;
  box-shadow: 0 2px 8px var(--pest-glow);
}

.brand-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.brand-text span {
  color: var(--orange);
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  color: var(--text-body);
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--pest);
  background: var(--pest-bg);
}

.nav-link.active {
  color: var(--pest);
  background: var(--pest-bg);
  font-weight: 700;
}

/* Dynamic Header Search */
.header-search {
  flex: 1;
  max-width: 360px;
  position: relative;
}

.header-search input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  background: var(--bg-subtle);
  border: 1.5px solid transparent;
  border-radius: 30px;
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: none;
  transition: all 0.25s ease;
}

.header-search input:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}

.header-search input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--pest);
  box-shadow: 0 0 0 4px rgba(0, 180, 182, 0.16);
}

.header-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: var(--pest-bg);
  border-color: var(--pest);
  color: var(--pest);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 180, 182, 0.15);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--orange);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px var(--orange-glow);
}

.btn-login {
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  transition: all 0.2s ease;
}

.btn-login:hover {
  background: var(--bg-subtle);
  color: var(--pest);
  border-color: var(--pest);
}

.btn-glow {
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff !important;
  background: var(--gradient-btn);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--orange-glow);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
  color: #ffffff !important;
}

/* ==========================================================================
   HERO SECTION (ELEGANT LIGHT AMBIENCE)
   ========================================================================== */

.hero-section {
  padding: 70px 0 50px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--pest-bg);
  border: 1px solid var(--pest-border);
  border-radius: 30px;
  color: var(--pest);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main);
}

.hero-title .gradient-text {
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-search-box {
  max-width: 660px;
  margin: 0 auto 40px;
  display: flex;
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 180, 182, 0.08);
  border-radius: 40px;
  padding: 6px;
  transition: all 0.25s ease;
}

.hero-search-box:focus-within {
  border-color: var(--pest);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(0, 180, 182, 0.16);
}

.hero-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 24px;
  color: var(--text-main);
  font-size: 15px;
  outline: none;
  box-shadow: none;
}

.hero-search-box input::placeholder {
  color: var(--text-light);
}

.hero-search-box button {
  padding: 12px 28px;
  border-radius: 30px;
  background: var(--gradient-btn);
  color: #ffffff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--orange-glow);
  transition: all 0.2s ease;
}

.hero-search-box button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.35);
}

/* ==========================================================================
   TOP-RATED SHOWCASE SLIDER (HERO DYNAMIC CAROUSEL)
   ========================================================================== */

.hero-slider-wrapper {
  max-width: 1080px;
  margin: 0 auto 36px;
  position: relative;
  text-align: left;
}

.hero-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 4px;
  flex-wrap: wrap;
  gap: 12px;
}

.slider-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.slider-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  background: #ffffff;
  border: 1px solid var(--border-glass);
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.3px;
}

.slider-hint {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.slider-controls-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  color: var(--text-main);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.slider-nav-btn:hover {
  background: var(--pest-bg);
  border-color: var(--pest);
  color: var(--pest);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px var(--pest-glow);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 4px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--border-input);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.slider-dot.active {
  width: 26px;
  background: var(--gradient-btn);
  border-radius: 4px;
}

/* Slider Track & Container */
.hero-slider-container {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 10px 40px rgba(0, 180, 182, 0.08);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-slider-container:hover {
  border-color: rgba(0, 180, 182, 0.5);
  box-shadow: var(--shadow-lg), 0 12px 45px rgba(0, 180, 182, 0.12);
}

.hero-slide {
  display: none;
  width: 100%;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

/* Showcase Card Grid */
.showcase-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 380px;
  align-items: stretch;
}

.showcase-visual {
  position: relative;
  overflow: hidden;
  background: #0f172a;
  min-height: 280px;
}

.showcase-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-img {
  transform: scale(1.04);
}

.showcase-floating-tags {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.showcase-badge-rating {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.showcase-badge-rating small {
  color: #94a3b8;
  font-weight: 500;
  font-size: 11px;
}

.showcase-badge-version {
  background: var(--gradient-btn);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 2px 8px var(--orange-glow);
}

/* Showcase Details Content */
.showcase-content {
  padding: 34px 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
}

.showcase-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12.5px;
}

.showcase-category {
  color: var(--pest);
  font-weight: 700;
  background: var(--pest-bg);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--pest-border);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.showcase-sales {
  color: var(--text-dim);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.showcase-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  margin: 6px 0 10px;
}

.showcase-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.showcase-title a:hover {
  color: var(--pest);
}

.showcase-summary {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.showcase-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.feature-tag {
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-body);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-glass);
  flex-wrap: wrap;
  gap: 14px;
}

.showcase-pricing .pricing-label {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.showcase-pricing .pricing-amount {
  font-size: 26px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.showcase-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-showcase-buy {
  background: var(--gradient-btn);
  color: #ffffff;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 4px 14px var(--orange-glow);
  transition: all 0.2s ease;
}

.btn-showcase-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.35);
  color: #ffffff;
}

.btn-showcase-demo {
  background: #ffffff;
  border: 1.5px solid var(--border-input);
  color: var(--text-main);
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-showcase-demo:hover {
  background: var(--bg-subtle);
  border-color: var(--pest);
  color: var(--pest);
}

@media (max-width: 992px) {
  .showcase-card {
    grid-template-columns: 1fr;
  }
  .showcase-visual {
    min-height: 240px;
    max-height: 260px;
  }
  .showcase-content {
    padding: 24px 22px 20px;
  }
  .showcase-title {
    font-size: 19px;
  }
}

@media (max-width: 640px) {
  .hero-slider-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .slider-controls-top {
    align-self: flex-end;
  }
  .showcase-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .showcase-actions {
    width: 100%;
  }
  .btn-showcase-buy, .btn-showcase-demo {
    flex: 1;
    justify-content: center;
    padding: 10px 14px;
    font-size: 13px;
  }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pest);
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}

.stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label {
  font-size: 12.5px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ==========================================================================
   CATEGORY CARDS (CLEAN WHITE CARDS WITH ACCENTS)
   ========================================================================== */

.section {
  padding: 60px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 45px;
  height: 3.5px;
  background: var(--gradient-btn);
  border-radius: 3px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-top: 10px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--pest);
  background: #ffffff;
  box-shadow: var(--shadow-md), 0 8px 20px rgba(0, 180, 182, 0.1);
}

.cat-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--pest-bg);
  border: 1px solid var(--pest-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--pest);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.category-card:hover .cat-icon-wrapper {
  background: var(--gradient-btn);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--orange-glow);
}

.cat-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.cat-count {
  font-size: 12.5px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ==========================================================================
   PRODUCT CARDS (VISERLAB STYLE - CRISP WHITE & ELEVATED)
   ========================================================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 26px;
}

.product-card {
  background: #ffffff;
  border: 1.5px solid var(--border-glass); /* কার্ডের চারপাশে প্রফেশনাল চিকন বর্ডার */
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--pest); /* হভার করলে পেস্ট কালার বর্ডার শো করবে */
  box-shadow: var(--shadow-lg), 0 10px 25px rgba(0, 180, 182, 0.12);
}

.product-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-glass); /* থাম্বনেইল ও বডির মাঝে নিখুঁত সেপারেশন লাইন */
}

.product-card:hover .product-thumb-wrapper img {
  transform: scale(1.05);
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  border: 1px solid var(--border-glass);
  color: var(--pest);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  max-width: calc(100% - 100px); /* Version badge-er sathe overlap prevent korar jonno */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}

.product-version {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--orange);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 6px var(--orange-glow);
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 12px;
  color: var(--pest);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-title {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a {
  color: var(--text-main);
}

.product-title a:hover {
  color: var(--pest);
}

.product-summary {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--warning);
  font-weight: 600;
}

.product-rating span {
  color: var(--text-dim);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.product-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-preview {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-preview:hover {
  background: #ffffff;
  border-color: var(--pest);
  color: var(--pest);
}

.btn-cart-add {
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  background: var(--gradient-btn);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px var(--orange-glow);
  transition: all 0.2s ease;
}

.btn-cart-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.35);
}

/* Social Auth Buttons (High Contrast & Clean Alignment) */
.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  background: #ffffff;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-sm);
  color: var(--text-main) !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.btn-social:hover {
  background: #f8fafc;
  border-color: var(--pest);
  color: var(--pest) !important;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.btn-social i {
  font-size: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (VISERLAB 6-TABS & STICKY BUY SIDEBAR)
   ========================================================================== */

.detail-header {
  padding: 40px 0 30px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-glass);
}

.detail-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.detail-breadcrumbs a {
  color: var(--text-muted);
}

.detail-breadcrumbs a:hover {
  color: var(--pest);
}

.detail-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.3;
}

.detail-badges {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-muted);
}

.detail-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-layout {
  display: flex;
  gap: 28px;
  padding: 36px 0 80px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.detail-main-content {
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 368px);
  box-sizing: border-box;
}

.detail-sidebar {
  width: 340px;
  flex: 0 0 340px;
  min-width: 0;
  max-width: 340px;
  box-sizing: border-box;
}

/* Detail Main Tabs */
.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border-glass);
  margin-bottom: 28px;
  gap: 6px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--pest-border) transparent;
  -webkit-overflow-scrolling: touch;
}

.tabs-nav::-webkit-scrollbar {
  height: 4px;
}

.tabs-nav::-webkit-scrollbar-thumb {
  background: var(--pest-border);
  border-radius: 4px;
}

.tab-btn {
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-btn:hover {
  color: var(--pest);
}

.tab-btn.active {
  color: var(--pest);
  font-weight: 700;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-btn);
  border-radius: 3px 3px 0 0;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.detail-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.rich-content {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.8;
}

.rich-content h3, .rich-content h4 {
  color: var(--text-main);
  margin: 24px 0 12px;
}

.rich-content ul, .rich-content ol {
  margin: 12px 0 20px 24px;
}

.rich-content li {
  margin-bottom: 8px;
}

.rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 16px 0;
}

.rich-content table {
  max-width: 100%;
  width: 100%;
  overflow-x: auto;
  display: block;
}

.rich-content pre, .rich-content code {
  max-width: 100%;
  overflow-x: auto;
  word-break: break-word;
}

/* Screenshots Gallery Grid */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.screenshot-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border-glass);
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.screenshot-item:hover {
  border-color: var(--pest);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.screenshot-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.screenshot-item:hover img {
  transform: scale(1.05);
}

/* Video Responsive Player */
.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Sticky Buy Card (Right Sidebar) */
.sticky-buy-box {
  position: sticky;
  top: 96px;
}

.buy-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.license-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.license-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.license-label:hover {
  background: #ffffff;
  border-color: #94a3b8;
}

.license-label:has(input:checked) {
  border-color: var(--pest);
  background: var(--pest-bg);
  box-shadow: 0 0 0 3px rgba(0, 180, 182, 0.15);
}

.license-radio-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.license-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
}

.buy-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-buy-now {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--gradient-btn);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--orange-glow);
  text-align: center;
  transition: all 0.2s ease;
}

.btn-buy-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
  color: #ffffff;
}

.btn-add-cart-outline {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border-input);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-add-cart-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--pest);
  color: var(--pest);
}

.demo-buttons-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}

.btn-demo-link {
  flex: 1;
  min-width: 0;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  background: var(--pest-bg);
  border: 1px solid var(--pest-border);
  color: var(--pest);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  box-sizing: border-box;
  overflow: hidden;
}

.btn-demo-link:hover {
  background: var(--pest);
  color: #ffffff;
  border-color: var(--pest);
}

/* Attributes Table */
.attributes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 16px;
}

.attributes-table tr {
  border-bottom: 1px solid var(--border-glass);
}

.attributes-table td {
  padding: 11px 0;
}

.attr-name {
  color: var(--text-muted);
  width: 45%;
}

.attr-val {
  color: var(--text-main);
  font-weight: 600;
}

/* ==========================================================================
   CART & CHECKOUT (LIGHT THEME & DYNAMIC FIELDS)
   ========================================================================== */

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.cart-table th {
  padding: 14px 18px;
  text-align: left;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-glass);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cart-table td {
  padding: 18px;
  border-bottom: 1px solid var(--border-glass);
  font-size: 14px;
  color: var(--text-main);
}

.cart-product-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-thumb {
  width: 70px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-glass);
}

.coupon-box {
  display: flex;
  gap: 10px;
  max-width: 400px;
}

.coupon-box input {
  flex: 1;
}

/* Gateway selector */
.gateways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.gateway-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1.5px solid var(--border-input);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.gateway-card:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.gateway-card:has(input:checked) {
  border-color: var(--pest);
  background: var(--pest-bg);
  box-shadow: 0 0 0 3px rgba(0, 180, 182, 0.16);
}

.gateway-icon {
  font-size: 26px;
  margin-bottom: 8px;
  color: var(--pest);
}

.gateway-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.payment-instructions-box {
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 24px;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.06);
}

.payment-instructions-box h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.payment-instructions-content {
  font-size: 14px;
  color: #1e293b !important;
  line-height: 1.8;
  margin-bottom: 18px;
}

.payment-instructions-content strong {
  color: #0f172a;
}

.payment-number-badge {
  display: inline-block;
  color: #0f172a !important;
  font-size: 15px;
  font-weight: 800;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  padding: 2px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Checkout Responsive Grid & Cards */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 32px;
  align-items: start;
  width: 100%;
}

.checkout-container {
  padding: 40px 20px 80px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group-full {
  grid-column: 1 / -1;
  margin-bottom: 16px;
}

.sticky-order-review {
  position: sticky;
  top: 96px;
}

.order-review-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-pest);
}

@media (max-width: 992px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sticky-order-review {
    position: static;
  }
}

@media (max-width: 640px) {
  .checkout-container {
    padding: 20px 14px 60px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .payment-instructions-box {
    padding: 16px;
  }
  .order-review-card {
    padding: 20px 16px;
  }
}

/* ==========================================================================
   CUSTOMER DASHBOARD & INVOICE CONTRAST FIXES (FIXED GRAY/DARK TEXT ISSUES)
   ========================================================================== */

.user-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
}

.user-sidebar-card a, 
.user-sidebar-card span, 
.user-sidebar-card p {
  color: var(--text-body);
}

.user-stat-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-main);
}

/* Invoice and Purchase List High-Contrast Text Fixes */
.invoice-container, 
.purchases-list-item,
.purchase-card,
.recent-downloads-card,
[class*="download"],
[class*="invoice"] {
  color: var(--text-main);
}

/* Fix for dark backgrounds or low contrast badges inside invoice/purchases */
.badge, span[class*="code"], td code, .purchase-code-badge {
  color: var(--text-main) !important;
  font-weight: 700;
}

/* Specific fix for invoice brand text and license code contrast */
.invoice-header-brand, .brand-text-invoice, .license-code-box, .purchase-item-box {
  color: var(--text-main) !important;
  background-color: #f8fafc;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* ==========================================================================
   FLOATING LIVE CHAT WIDGET (MODERN LIGHT POPUP)
   ========================================================================== */

.live-chat-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 6px 20px var(--pest-glow);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-chat-bubble:hover {
  transform: scale(1.08);
}

.chat-drawer {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 360px;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(15, 23, 42, 0.12);
  display: none;
  flex-direction: column;
  z-index: 9998;
  overflow: hidden;
}

.chat-drawer.open {
  display: flex;
}

.chat-header {
  padding: 16px 20px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--pest);
}

.chat-messages {
  padding: 16px;
  height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fafbfc;
}

.chat-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  max-width: 85%;
}

.msg-agent {
  background: var(--pest-bg);
  border: 1px solid var(--pest-border);
  color: var(--text-main);
  align-self: flex-start;
}

.msg-user {
  background: var(--gradient-btn);
  color: #ffffff;
  align-self: flex-end;
}

.chat-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border-glass);
  background: #ffffff;
  display: flex;
  gap: 8px;
}

.chat-footer input {
  flex: 1;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 13px;
  outline: none;
}

.chat-footer button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-btn);
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* ==========================================================================
   FOOTER (CLEAN LIGHT DESIGN)
   ========================================================================== */

.main-footer {
  background: #f1f5f9;
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin: 16px 0;
  max-width: 320px;
  color: var(--text-muted);
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 16px;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--pest);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ==========================================================================
   MOBILE OFF-CANVAS NAVIGATION & HAMBURGER
   ========================================================================== */

.mobile-menu-toggle {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  font-size: 18px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: var(--pest-bg);
  color: var(--pest);
  border-color: var(--pest);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -6px 0 25px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-glass);
}

.mobile-drawer-close {
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: #fecaca;
}

.mobile-drawer-search {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-glass);
  background: var(--bg-subtle);
}

.mobile-drawer-search form {
  position: relative;
  display: flex;
  align-items: center;
}

.mobile-drawer-search i.fa-search {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  font-size: 14px;
}

.mobile-drawer-search input {
  width: 100%;
  padding: 10px 42px 10px 38px;
  background: #ffffff;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-main);
  outline: none;
}

.mobile-drawer-search input:focus {
  border-color: var(--pest);
}

.mobile-drawer-search button {
  position: absolute;
  right: 6px;
  background: var(--gradient-btn);
  border: none;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
}

.mobile-drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-group-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-nav-item i {
  width: 20px;
  text-align: center;
  color: var(--pest);
  font-size: 15px;
}

.mobile-nav-item:hover {
  background: var(--pest-bg);
  color: var(--pest);
}

.mobile-nav-item.text-danger {
  color: var(--danger);
}
.mobile-nav-item.text-danger i {
  color: var(--danger);
}

.mobile-selectors-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-select-wrap label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.mobile-select {
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-input);
  background: #ffffff;
  font-size: 13px;
  color: var(--text-main);
}

.mobile-contact-box {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-glass);
}

.mobile-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: #25d366;
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: opacity 0.2s ease;
}
.mobile-wa-btn:hover {
  opacity: 0.92;
}

/* ==========================================================================
   RESPONSIVE COMPONENT LAYOUTS
   ========================================================================== */

.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.user-dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
}

.products-filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: center;
}

@media (max-width: 992px) {
  .products-filter-bar {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .products-filter-bar > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .products-filter-bar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }
  .products-filter-bar button {
    width: 100%;
    justify-content: center;
  }
}

/* Base Body Overflow Guard */

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP -> TABLET -> MOBILE)
   ========================================================================== */

@media (max-width: 1024px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .user-dashboard-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .detail-layout {
    flex-direction: column;
    gap: 28px;
  }
  .detail-main-content {
    max-width: 100%;
    width: 100%;
  }
  .detail-sidebar {
    width: 100%;
    max-width: 100%;
    flex: none;
  }
  .sticky-buy-box {
    position: static;
  }
  .hero-stats {
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .header-search {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .d-none-mobile {
    display: none !important;
  }
  .top-bar-left span:first-child {
    display: none;
  }
  .top-bar {
    font-size: 11.5px;
    padding: 6px 0;
  }
  .header-inner {
    padding: 10px 0;
  }
  .brand-logo img {
    height: 34px;
  }
  .brand-text {
    font-size: 16px;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 14.5px;
    margin-bottom: 24px;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .chat-drawer {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 86px;
    max-height: 75vh;
  }
  .cart-table th, .cart-table td {
    padding: 12px 10px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }
  .hero-pill {
    font-size: 11px;
    padding: 6px 12px;
  }
  .stat-item {
    width: 100%;
    justify-content: flex-start;
  }
  .hero-stats {
    gap: 16px;
  }
  .gateways-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .gateway-card {
    padding: 12px 8px;
  }
  .gateway-icon {
    font-size: 22px;
  }
  .gateway-name {
    font-size: 12px;
  }
  .mobile-selectors-row {
    grid-template-columns: 1fr;
  }
  .action-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}/* ==========================================================================
   PIXELCODE BD — MODERN LIGHT THEME (PEST CYAN & VIBRANT ORANGE)
   ========================================================================== */

:root {
  /* Brand Primary Accents */
  --pest: #00a896;
  --pest-light: #00d2d3;
  --pest-dark: #008174;
  --pest-rgb: 0, 168, 150;
  --pest-glow: rgba(0, 210, 211, 0.25);
  --pest-bg: #f0fdfa;
  --pest-border: #99f6e4;

  --orange: #ff6b35;
  --orange-hover: #ea580c;
  --orange-rgb: 255, 107, 53;
  --orange-glow: rgba(255, 107, 53, 0.25);
  --orange-bg: #fff7ed;
  --orange-border: #fed7aa;

  /* Brand Gradients */
  --gradient-brand: linear-gradient(135deg, #00b4b6 0%, #009688 45%, #ff6b35 100%);
  --gradient-btn: linear-gradient(135deg, #00b4b6 0%, #ff6b35 100%);
  --gradient-orange: linear-gradient(135deg, #ff6b35 0%, #f97316 100%);
  --gradient-pest: linear-gradient(135deg, #00d2d3 0%, #00a896 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);

  /* Premium Light Backgrounds */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-alt: #f8fafc;

  /* Crisp Light Borders */
  --border-glass: #e2e8f0;
  --border-input: #cbd5e1;
  --border-active: #00b4b6;
  --border-focus: #ff6b35;

  /* High-Contrast, Crystal-Clear Typography */
  --text-main: #0f172a;       /* Slate-900 (ultra-crisp headings & prices) */
  --text-body: #334155;       /* Slate-700 (primary readable body copy) */
  --text-muted: #475569;      /* Slate-600 (subtitles & labels) */
  --text-dim: #64748b;        /* Slate-500 (hints, timestamps) */
  --text-light: #94a3b8;      /* Slate-400 (placeholders) */

  /* Semantic Feedback Colors */
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --info: #0284c7;
  --info-bg: #f0f9ff;

  /* Soft Ambient Elevations */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-pest: 0 8px 25px rgba(0, 180, 182, 0.18);
  --shadow-orange: 0 8px 25px rgba(255, 107, 53, 0.2);

  /* Geometry */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* ==========================================================================
   RESET & GLOBAL TYPOGRAPHY
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-body);
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(0, 210, 211, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(255, 107, 53, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--pest);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--orange);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   DYNAMIC FORM CONTROLS & SELECT DROPDOWNS (REPLACES BORING STYLES)
   ========================================================================== */

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-label i {
  color: var(--pest);
  margin-right: 6px;
}

/* Dynamic Inputs & Textareas */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="search"],
input[type="tel"],
textarea {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text-main);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.form-control:hover,
input:hover,
textarea:hover {
  border-color: #94a3b8;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.form-control:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--pest);
  box-shadow: 0 0 0 4px rgba(0, 180, 182, 0.16), 0 2px 6px rgba(15, 23, 42, 0.05);
  background: #ffffff;
}

/* Dynamic Custom Styled Select Dropdowns */
.form-select,
select,
.lang-select,
.currency-select,
.filter-select,
.sort-select {
  width: 100%;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300a896' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-md);
  padding: 11px 40px 11px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-select:hover,
select:hover {
  border-color: var(--pest);
  background-color: #fafffe;
  box-shadow: 0 2px 8px rgba(0, 180, 182, 0.12);
}

.form-select:focus,
select:focus {
  outline: none;
  border-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ff6b35' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.18), 0 2px 6px rgba(15, 23, 42, 0.05);
  background-color: #ffffff;
}

/* Styled Input Groups with Icons */
.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-left {
  position: absolute;
  left: 16px;
  color: var(--text-dim);
  font-size: 15px;
  pointer-events: none;
  transition: color 0.2s ease;
}

.input-group input {
  padding-left: 44px;
}

.input-group input:focus + .input-icon-left,
.input-group:focus-within .input-icon-left {
  color: var(--pest);
}

/* Custom Checkboxes & Radio Badges */
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--pest);
  cursor: pointer;
}

/* Helper Text */
.form-hint {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   TOP UTILITY BAR (CLEAN LIGHT DESIGN)
   ========================================================================== */

.top-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-glass);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.currency-select, .lang-select {
  width: auto;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 5px 30px 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  background-size: 12px 12px;
  background-position: right 10px center;
  box-shadow: none;
}

.currency-select:hover, .lang-select:hover {
  background-color: #ffffff;
  border-color: var(--pest);
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION (LIGHT & CRISP)
   ========================================================================== */

.main-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  height: 44px;
  width: auto;
  border-radius: 50%;
  box-shadow: 0 2px 8px var(--pest-glow);
}

.brand-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.brand-text span {
  color: var(--orange);
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  color: var(--text-body);
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--pest);
  background: var(--pest-bg);
}

.nav-link.active {
  color: var(--pest);
  background: var(--pest-bg);
  font-weight: 700;
}

/* Dynamic Header Search */
.header-search {
  flex: 1;
  max-width: 360px;
  position: relative;
}

.header-search input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  background: var(--bg-subtle);
  border: 1.5px solid transparent;
  border-radius: 30px;
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: none;
  transition: all 0.25s ease;
}

.header-search input:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}

.header-search input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--pest);
  box-shadow: 0 0 0 4px rgba(0, 180, 182, 0.16);
}

.header-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: var(--pest-bg);
  border-color: var(--pest);
  color: var(--pest);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 180, 182, 0.15);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--orange);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px var(--orange-glow);
}

.btn-login {
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  transition: all 0.2s ease;
}

.btn-login:hover {
  background: var(--bg-subtle);
  color: var(--pest);
  border-color: var(--pest);
}

.btn-glow {
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff !important;
  background: var(--gradient-btn);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--orange-glow);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
  color: #ffffff !important;
}

/* ==========================================================================
   HERO SECTION (ELEGANT LIGHT AMBIENCE)
   ========================================================================== */

.hero-section {
  padding: 70px 0 50px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--pest-bg);
  border: 1px solid var(--pest-border);
  border-radius: 30px;
  color: var(--pest);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main);
}

.hero-title .gradient-text {
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-search-box {
  max-width: 660px;
  margin: 0 auto 40px;
  display: flex;
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 180, 182, 0.08);
  border-radius: 40px;
  padding: 6px;
  transition: all 0.25s ease;
}

.hero-search-box:focus-within {
  border-color: var(--pest);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(0, 180, 182, 0.16);
}

.hero-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 24px;
  color: var(--text-main);
  font-size: 15px;
  outline: none;
  box-shadow: none;
}

.hero-search-box input::placeholder {
  color: var(--text-light);
}

.hero-search-box button {
  padding: 12px 28px;
  border-radius: 30px;
  background: var(--gradient-btn);
  color: #ffffff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--orange-glow);
  transition: all 0.2s ease;
}

.hero-search-box button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.35);
}

/* ==========================================================================
   TOP-RATED SHOWCASE SLIDER (HERO DYNAMIC CAROUSEL)
   ========================================================================== */

.hero-slider-wrapper {
  max-width: 1080px;
  margin: 0 auto 36px;
  position: relative;
  text-align: left;
}

.hero-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 4px;
  flex-wrap: wrap;
  gap: 12px;
}

.slider-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.slider-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  background: #ffffff;
  border: 1px solid var(--border-glass);
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.3px;
}

.slider-hint {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.slider-controls-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  color: var(--text-main);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.slider-nav-btn:hover {
  background: var(--pest-bg);
  border-color: var(--pest);
  color: var(--pest);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px var(--pest-glow);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 4px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--border-input);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.slider-dot.active {
  width: 26px;
  background: var(--gradient-btn);
  border-radius: 4px;
}

/* Slider Track & Container */
.hero-slider-container {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 10px 40px rgba(0, 180, 182, 0.08);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-slider-container:hover {
  border-color: rgba(0, 180, 182, 0.5);
  box-shadow: var(--shadow-lg), 0 12px 45px rgba(0, 180, 182, 0.12);
}

.hero-slide {
  display: none;
  width: 100%;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

/* Showcase Card Grid */
.showcase-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 380px;
  align-items: stretch;
}

.showcase-visual {
  position: relative;
  overflow: hidden;
  background: #0f172a;
  min-height: 280px;
}

.showcase-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-img {
  transform: scale(1.04);
}

.showcase-floating-tags {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.showcase-badge-rating {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.showcase-badge-rating small {
  color: #94a3b8;
  font-weight: 500;
  font-size: 11px;
}

.showcase-badge-version {
  background: var(--gradient-btn);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 2px 8px var(--orange-glow);
}

/* Showcase Details Content */
.showcase-content {
  padding: 34px 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
}

.showcase-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12.5px;
}

.showcase-category {
  color: var(--pest);
  font-weight: 700;
  background: var(--pest-bg);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--pest-border);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.showcase-sales {
  color: var(--text-dim);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.showcase-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  margin: 6px 0 10px;
}

.showcase-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.showcase-title a:hover {
  color: var(--pest);
}

.showcase-summary {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.showcase-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.feature-tag {
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-body);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-glass);
  flex-wrap: wrap;
  gap: 14px;
}

.showcase-pricing .pricing-label {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.showcase-pricing .pricing-amount {
  font-size: 26px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.showcase-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-showcase-buy {
  background: var(--gradient-btn);
  color: #ffffff;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 4px 14px var(--orange-glow);
  transition: all 0.2s ease;
}

.btn-showcase-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.35);
  color: #ffffff;
}

.btn-showcase-demo {
  background: #ffffff;
  border: 1.5px solid var(--border-input);
  color: var(--text-main);
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-showcase-demo:hover {
  background: var(--bg-subtle);
  border-color: var(--pest);
  color: var(--pest);
}

@media (max-width: 992px) {
  .showcase-card {
    grid-template-columns: 1fr;
  }
  .showcase-visual {
    min-height: 240px;
    max-height: 260px;
  }
  .showcase-content {
    padding: 24px 22px 20px;
  }
  .showcase-title {
    font-size: 19px;
  }
}

@media (max-width: 640px) {
  .hero-slider-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .slider-controls-top {
    align-self: flex-end;
  }
  .showcase-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .showcase-actions {
    width: 100%;
  }
  .btn-showcase-buy, .btn-showcase-demo {
    flex: 1;
    justify-content: center;
    padding: 10px 14px;
    font-size: 13px;
  }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pest);
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}

.stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label {
  font-size: 12.5px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ==========================================================================
   CATEGORY CARDS (CLEAN WHITE CARDS WITH ACCENTS)
   ========================================================================== */

.section {
  padding: 60px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 45px;
  height: 3.5px;
  background: var(--gradient-btn);
  border-radius: 3px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-top: 10px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--pest);
  background: #ffffff;
  box-shadow: var(--shadow-md), 0 8px 20px rgba(0, 180, 182, 0.1);
}

.cat-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--pest-bg);
  border: 1px solid var(--pest-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--pest);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.category-card:hover .cat-icon-wrapper {
  background: var(--gradient-btn);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--orange-glow);
}

.cat-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.cat-count {
  font-size: 12.5px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ==========================================================================
   PRODUCT CARDS (VISERLAB STYLE - CRISP WHITE & ELEVATED)
   ========================================================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 26px;
}

.product-card {
  background: #ffffff;
  border: 1.5px solid var(--border-glass); /* কার্ডের চারপাশে প্রফেশনাল চিকন বর্ডার */
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--pest); /* হভার করলে পেস্ট কালার বর্ডার শো করবে */
  box-shadow: var(--shadow-lg), 0 10px 25px rgba(0, 180, 182, 0.12);
}

.product-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-glass); /* থাম্বনেইল ও বডির মাঝে নিখুঁত সেপারেশন লাইন */
}

.product-card:hover .product-thumb-wrapper img {
  transform: scale(1.05);
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  border: 1px solid var(--border-glass);
  color: var(--pest);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  max-width: calc(100% - 100px); /* Version badge-er sathe overlap prevent korar jonno */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}

.product-version {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--orange);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 6px var(--orange-glow);
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 12px;
  color: var(--pest);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-title {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a {
  color: var(--text-main);
}

.product-title a:hover {
  color: var(--pest);
}

.product-summary {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--warning);
  font-weight: 600;
}

.product-rating span {
  color: var(--text-dim);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.product-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-preview {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-preview:hover {
  background: #ffffff;
  border-color: var(--pest);
  color: var(--pest);
}

.btn-cart-add {
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  background: var(--gradient-btn);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px var(--orange-glow);
  transition: all 0.2s ease;
}

.btn-cart-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.35);
}

/* Social Auth Buttons (High Contrast & Clean Alignment) */
.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  background: #ffffff;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-sm);
  color: var(--text-main) !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.btn-social:hover {
  background: #f8fafc;
  border-color: var(--pest);
  color: var(--pest) !important;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.btn-social i {
  font-size: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (VISERLAB 6-TABS & STICKY BUY SIDEBAR)
   ========================================================================== */

.detail-header {
  padding: 40px 0 30px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-glass);
}

.detail-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.detail-breadcrumbs a {
  color: var(--text-muted);
}

.detail-breadcrumbs a:hover {
  color: var(--pest);
}

.detail-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.3;
}

.detail-badges {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-muted);
}

.detail-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-layout {
  display: flex;
  gap: 28px;
  padding: 36px 0 80px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.detail-main-content {
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 368px);
  box-sizing: border-box;
}

.detail-sidebar {
  width: 340px;
  flex: 0 0 340px;
  min-width: 0;
  max-width: 340px;
  box-sizing: border-box;
}

/* Detail Main Tabs */
.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border-glass);
  margin-bottom: 28px;
  gap: 6px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--pest-border) transparent;
  -webkit-overflow-scrolling: touch;
}

.tabs-nav::-webkit-scrollbar {
  height: 4px;
}

.tabs-nav::-webkit-scrollbar-thumb {
  background: var(--pest-border);
  border-radius: 4px;
}

.tab-btn {
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-btn:hover {
  color: var(--pest);
}

.tab-btn.active {
  color: var(--pest);
  font-weight: 700;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-btn);
  border-radius: 3px 3px 0 0;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.detail-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.rich-content {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.8;
}

.rich-content h3, .rich-content h4 {
  color: var(--text-main);
  margin: 24px 0 12px;
}

.rich-content ul, .rich-content ol {
  margin: 12px 0 20px 24px;
}

.rich-content li {
  margin-bottom: 8px;
}

.rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 16px 0;
}

.rich-content table {
  max-width: 100%;
  width: 100%;
  overflow-x: auto;
  display: block;
}

.rich-content pre, .rich-content code {
  max-width: 100%;
  overflow-x: auto;
  word-break: break-word;
}

/* Screenshots Gallery Grid */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.screenshot-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border-glass);
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.screenshot-item:hover {
  border-color: var(--pest);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.screenshot-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.screenshot-item:hover img {
  transform: scale(1.05);
}

/* Video Responsive Player */
.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Sticky Buy Card (Right Sidebar) */
.sticky-buy-box {
  position: sticky;
  top: 96px;
}

.buy-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.license-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.license-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.license-label:hover {
  background: #ffffff;
  border-color: #94a3b8;
}

.license-label:has(input:checked) {
  border-color: var(--pest);
  background: var(--pest-bg);
  box-shadow: 0 0 0 3px rgba(0, 180, 182, 0.15);
}

.license-radio-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.license-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
}

.buy-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-buy-now {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--gradient-btn);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--orange-glow);
  text-align: center;
  transition: all 0.2s ease;
}

.btn-buy-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
  color: #ffffff;
}

.btn-add-cart-outline {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border-input);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-add-cart-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--pest);
  color: var(--pest);
}

.demo-buttons-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}

.btn-demo-link {
  flex: 1;
  min-width: 0;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  background: var(--pest-bg);
  border: 1px solid var(--pest-border);
  color: var(--pest);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  box-sizing: border-box;
  overflow: hidden;
}

.btn-demo-link:hover {
  background: var(--pest);
  color: #ffffff;
  border-color: var(--pest);
}

/* Attributes Table */
.attributes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 16px;
}

.attributes-table tr {
  border-bottom: 1px solid var(--border-glass);
}

.attributes-table td {
  padding: 11px 0;
}

.attr-name {
  color: var(--text-muted);
  width: 45%;
}

.attr-val {
  color: var(--text-main);
  font-weight: 600;
}

/* ==========================================================================
   CART & CHECKOUT (LIGHT THEME & DYNAMIC FIELDS)
   ========================================================================== */

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.cart-table th {
  padding: 14px 18px;
  text-align: left;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-glass);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cart-table td {
  padding: 18px;
  border-bottom: 1px solid var(--border-glass);
  font-size: 14px;
  color: var(--text-main);
}

.cart-product-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-thumb {
  width: 70px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-glass);
}

.coupon-box {
  display: flex;
  gap: 10px;
  max-width: 400px;
}

.coupon-box input {
  flex: 1;
}

/* Gateway selector */
.gateways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.gateway-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1.5px solid var(--border-input);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.gateway-card:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.gateway-card:has(input:checked) {
  border-color: var(--pest);
  background: var(--pest-bg);
  box-shadow: 0 0 0 3px rgba(0, 180, 182, 0.16);
}

.gateway-icon {
  font-size: 26px;
  margin-bottom: 8px;
  color: var(--pest);
}

.gateway-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.payment-instructions-box {
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 24px;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.06);
}

.payment-instructions-box h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.payment-instructions-content {
  font-size: 14px;
  color: #1e293b !important;
  line-height: 1.8;
  margin-bottom: 18px;
}

.payment-instructions-content strong {
  color: #0f172a;
}

.payment-number-badge {
  display: inline-block;
  color: #0f172a !important;
  font-size: 15px;
  font-weight: 800;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  padding: 2px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Checkout Responsive Grid & Cards */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 32px;
  align-items: start;
  width: 100%;
}

.checkout-container {
  padding: 40px 20px 80px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group-full {
  grid-column: 1 / -1;
  margin-bottom: 16px;
}

.sticky-order-review {
  position: sticky;
  top: 96px;
}

.order-review-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-pest);
}

@media (max-width: 992px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sticky-order-review {
    position: static;
  }
}

@media (max-width: 640px) {
  .checkout-container {
    padding: 20px 14px 60px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .payment-instructions-box {
    padding: 16px;
  }
  .order-review-card {
    padding: 20px 16px;
  }
}

/* ==========================================================================
   CUSTOMER DASHBOARD & INVOICE CONTRAST FIXES (FIXED GRAY/DARK TEXT ISSUES)
   ========================================================================== */

.user-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
}

.user-sidebar-card a, 
.user-sidebar-card span, 
.user-sidebar-card p {
  color: var(--text-body);
}

.user-stat-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-main);
}

/* Invoice and Purchase List High-Contrast Text Fixes */
.invoice-container, 
.purchases-list-item,
.purchase-card,
.recent-downloads-card,
[class*="download"],
[class*="invoice"] {
  color: var(--text-main);
}

/* Fix for dark backgrounds or low contrast badges inside invoice/purchases */
.badge, span[class*="code"], td code, .purchase-code-badge {
  color: var(--text-main) !important;
  font-weight: 700;
}

/* Specific fix for invoice brand text and license code contrast */
.invoice-header-brand, .brand-text-invoice, .license-code-box, .purchase-item-box {
  color: var(--text-main) !important;
  background-color: #f8fafc;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* ==========================================================================
   FLOATING LIVE CHAT WIDGET (MODERN LIGHT POPUP)
   ========================================================================== */

.live-chat-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 6px 20px var(--pest-glow);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-chat-bubble:hover {
  transform: scale(1.08);
}

.chat-drawer {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 360px;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(15, 23, 42, 0.12);
  display: none;
  flex-direction: column;
  z-index: 9998;
  overflow: hidden;
}

.chat-drawer.open {
  display: flex;
}

.chat-header {
  padding: 16px 20px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--pest);
}

.chat-messages {
  padding: 16px;
  height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fafbfc;
}

.chat-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  max-width: 85%;
}

.msg-agent {
  background: var(--pest-bg);
  border: 1px solid var(--pest-border);
  color: var(--text-main);
  align-self: flex-start;
}

.msg-user {
  background: var(--gradient-btn);
  color: #ffffff;
  align-self: flex-end;
}

.chat-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border-glass);
  background: #ffffff;
  display: flex;
  gap: 8px;
}

.chat-footer input {
  flex: 1;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 13px;
  outline: none;
}

.chat-footer button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-btn);
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* ==========================================================================
   FOOTER (CLEAN LIGHT DESIGN)
   ========================================================================== */

.main-footer {
  background: #f1f5f9;
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin: 16px 0;
  max-width: 320px;
  color: var(--text-muted);
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 16px;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--pest);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ==========================================================================
   MOBILE OFF-CANVAS NAVIGATION & HAMBURGER
   ========================================================================== */

.mobile-menu-toggle {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  font-size: 18px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: var(--pest-bg);
  color: var(--pest);
  border-color: var(--pest);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -6px 0 25px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-glass);
}

.mobile-drawer-close {
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: #fecaca;
}

.mobile-drawer-search {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-glass);
  background: var(--bg-subtle);
}

.mobile-drawer-search form {
  position: relative;
  display: flex;
  align-items: center;
}

.mobile-drawer-search i.fa-search {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  font-size: 14px;
}

.mobile-drawer-search input {
  width: 100%;
  padding: 10px 42px 10px 38px;
  background: #ffffff;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-main);
  outline: none;
}

.mobile-drawer-search input:focus {
  border-color: var(--pest);
}

.mobile-drawer-search button {
  position: absolute;
  right: 6px;
  background: var(--gradient-btn);
  border: none;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
}

.mobile-drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-group-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-nav-item i {
  width: 20px;
  text-align: center;
  color: var(--pest);
  font-size: 15px;
}

.mobile-nav-item:hover {
  background: var(--pest-bg);
  color: var(--pest);
}

.mobile-nav-item.text-danger {
  color: var(--danger);
}
.mobile-nav-item.text-danger i {
  color: var(--danger);
}

.mobile-selectors-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-select-wrap label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.mobile-select {
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-input);
  background: #ffffff;
  font-size: 13px;
  color: var(--text-main);
}

.mobile-contact-box {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-glass);
}

.mobile-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: #25d366;
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: opacity 0.2s ease;
}
.mobile-wa-btn:hover {
  opacity: 0.92;
}

/* ==========================================================================
   RESPONSIVE COMPONENT LAYOUTS
   ========================================================================== */

.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.user-dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
}

.products-filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: center;
}

@media (max-width: 992px) {
  .products-filter-bar {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .products-filter-bar > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .products-filter-bar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }
  .products-filter-bar button {
    width: 100%;
    justify-content: center;
  }
}

/* Base Body Overflow Guard */

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP -> TABLET -> MOBILE)
   ========================================================================== */

@media (max-width: 1024px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .user-dashboard-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .detail-layout {
    flex-direction: column;
    gap: 28px;
  }
  .detail-main-content {
    max-width: 100%;
    width: 100%;
  }
  .detail-sidebar {
    width: 100%;
    max-width: 100%;
    flex: none;
  }
  .sticky-buy-box {
    position: static;
  }
  .hero-stats {
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .header-search {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .d-none-mobile {
    display: none !important;
  }
  .top-bar-left span:first-child {
    display: none;
  }
  .top-bar {
    font-size: 11.5px;
    padding: 6px 0;
  }
  .header-inner {
    padding: 10px 0;
  }
  .brand-logo img {
    height: 34px;
  }
  .brand-text {
    font-size: 16px;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 14.5px;
    margin-bottom: 24px;
  }
 .products-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .chat-drawer {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 86px;
    max-height: 75vh;
  }
  .cart-table th, .cart-table td {
    padding: 12px 10px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }
  .hero-pill {
    font-size: 11px;
    padding: 6px 12px;
  }
  .stat-item {
    width: 100%;
    justify-content: flex-start;
  }
  .hero-stats {
    gap: 16px;
  }
  .gateways-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .gateway-card {
    padding: 12px 8px;
  }
  .gateway-icon {
    font-size: 22px;
  }
  .gateway-name {
    font-size: 12px;
  }
  .mobile-selectors-row {
    grid-template-columns: 1fr;
  }
  .action-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}
/* ==========================================================================
   MOBILE HEADER OVERFLOW & OVERLAP FIX
   ========================================================================== */
@media (max-width: 768px) {
  /* Top bar layout stack fix for mobile */
  .top-bar-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding: 4px 0;
  }
  
  .top-bar-left, 
  .top-bar-right {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Prevent header action badges from overlapping */
  .header-actions {
    gap: 8px;
  }

  .action-btn {
    width: 38px;
    height: 38px;
  }

  .badge-count {
    width: 18px;
    height: 18px;
    font-size: 10px;
    top: -3px;
    right: -3px;
  }

  /* Hide redundant elements if they overflow mobile header */
  .top-bar {
    display: none; /* মোবাইল ভিউতে অতিরিক্ত টপ বার লুকিয়ে হেডার পরিষ্কার রাখার জন্য (প্রয়োজন না হলে এটি রিমোভ করতে পারেন) */
  }
}