/* ==========================================================================
   Code Web Tools - Modern Theme Stylesheet
   Author: Web With Faysal (https://linktr.ee/webwithfaysal)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  --cwt-primary: #2563EB;
  --cwt-primary-hover: #1D4ED8;
  --cwt-primary-light: rgba(37, 99, 235, 0.1);
  --cwt-secondary: #7C3AED;
  --cwt-secondary-hover: #6D28D9;
  --cwt-secondary-light: rgba(124, 58, 237, 0.1);
  --cwt-dark: #0F172A;
  --cwt-dark-card: #1E293B;
  --cwt-text: #334155;
  --cwt-text-muted: #64748B;
  --cwt-bg: #F8FAFC;
  --cwt-card-bg: #FFFFFF;
  --cwt-border: #E2E8F0;
  --cwt-border-hover: #CBD5E1;
  --cwt-success: #16A34A;
  --cwt-warning: #F59E0B;
  --cwt-danger: #DC2626;
  
  --cwt-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --cwt-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --cwt-radius-sm: 8px;
  --cwt-radius-md: 14px;
  --cwt-radius-lg: 20px;
  --cwt-radius-xl: 28px;
  --cwt-radius-full: 9999px;
  
  --cwt-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --cwt-shadow-md: 0 4px 20px rgba(15, 23, 42, 0.07);
  --cwt-shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.1);
  --cwt-shadow-hover: 0 20px 40px rgba(37, 99, 235, 0.12);
  
  --cwt-container-width: 1240px;
  --cwt-header-height: 80px;
  --cwt-header-compact-height: 68px;
}

/* Dark Mode Theme Variables */
[data-theme="dark"] {
  --cwt-bg: #0B0F19;
  --cwt-card-bg: #131B2E;
  --cwt-dark-card: #0F172A;
  --cwt-text: #CBD5E1;
  --cwt-text-muted: #94A3B8;
  --cwt-border: #1E293B;
  --cwt-border-hover: #334155;
  --cwt-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --cwt-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --cwt-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: var(--cwt-font-sans);
  color: var(--cwt-text);
  background-color: var(--cwt-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: clip;
  width: 100%;
  position: relative;
  padding-bottom: 70px; /* Space for mobile bottom nav on small screens */
}

#page,
.cwt-site {
  overflow-x: clip;
  width: 100%;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

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

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: #F8FAFC;
}

a {
  color: var(--cwt-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--cwt-primary-hover);
}

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

.cwt-container {
  width: 100%;
  max-width: var(--cwt-container-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* --------------------------------------------------------------------------
   3. Buttons & Badges
   -------------------------------------------------------------------------- */
.cwt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--cwt-font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--cwt-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.cwt-btn-primary {
  background: linear-gradient(135deg, var(--cwt-primary) 0%, #1D4ED8 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.cwt-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.cwt-btn-secondary {
  background: var(--cwt-secondary);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.cwt-btn-secondary:hover {
  background: var(--cwt-secondary-hover);
  transform: translateY(-2px);
}

.cwt-btn-outline {
  background: transparent;
  border-color: var(--cwt-border);
  color: var(--cwt-dark) !important;
}

[data-theme="dark"] .cwt-btn-outline {
  color: #F8FAFC !important;
  border-color: var(--cwt-border);
}

.cwt-btn-outline:hover {
  border-color: var(--cwt-primary);
  color: var(--cwt-primary) !important;
  background: var(--cwt-primary-light);
}

.cwt-btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF !important;
}

.cwt-btn-outline-light:hover {
  background: #FFFFFF;
  color: var(--cwt-dark) !important;
}

.cwt-btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
  border-radius: var(--cwt-radius-md);
}

.cwt-btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 6px;
}

.cwt-btn-block {
  width: 100%;
}

.cwt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--cwt-radius-full);
}

.cwt-badge-sub {
  background: var(--cwt-primary-light);
  color: var(--cwt-primary);
}

.cwt-badge-sale {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
}

.cwt-badge-digital {
  background: #0F172A;
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.cwt-badge-ai {
  background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  color: #FFFFFF;
}

.cwt-badge-wp {
  background: #0073AA;
  color: #FFFFFF;
}

.cwt-badge-service {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   4. Header & Top Announcement Bar
   -------------------------------------------------------------------------- */
.cwt-announcement-bar {
  background: linear-gradient(90deg, #090D16 0%, #1E1B4B 50%, #090D16 100%);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1001;
}

.cwt-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cwt-announcement-link {
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cwt-ann-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38BDF8;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--cwt-radius-full);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.cwt-ann-pill svg {
  width: 12px;
  height: 12px;
}

.cwt-ann-text {
  font-size: 0.82rem;
  color: #E2E8F0;
  font-weight: 600;
}

.cwt-announcement-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.cwt-announcement-arrow svg {
  width: 13px;
  height: 13px;
  color: #38BDF8;
}

.cwt-announcement-link:hover .cwt-ann-text {
  color: #38BDF8;
}

.cwt-announcement-link:hover .cwt-announcement-arrow {
  transform: translateX(4px);
}

.cwt-announcement-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.cwt-announcement-close svg {
  width: 14px;
  height: 14px;
}

.cwt-announcement-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.cwt-site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cwt-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: var(--cwt-header-height);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

[data-theme="dark"] .cwt-site-header {
  background: rgba(11, 15, 25, 0.95) !important;
  border-bottom-color: var(--cwt-border);
}

.cwt-site-header.is-sticky-compact {
  height: var(--cwt-header-compact-height);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12) !important;
  border-bottom-color: rgba(56, 189, 248, 0.2) !important;
}

.cwt-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

.cwt-header-left-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Category Toggle Button (Icon Only) */
.cwt-category-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--cwt-radius-sm);
  background: var(--cwt-bg);
  border: 1px solid var(--cwt-border);
  color: var(--cwt-dark);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

[data-theme="dark"] .cwt-category-toggle-btn {
  background: var(--cwt-card-bg);
  color: #F8FAFC;
}

.cwt-category-toggle-btn:hover {
  background: var(--cwt-primary);
  border-color: var(--cwt-primary);
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cwt-cat-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cwt-cat-btn-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

@media (max-width: 640px) {
  .cwt-category-toggle-btn {
    width: 36px;
    height: 36px;
  }

  .cwt-cat-btn-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* Brand */
.cwt-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cwt-dark);
}

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

.cwt-brand-name {
  font-family: var(--cwt-font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  color: var(--cwt-dark);
}

[data-theme="dark"] .cwt-brand-name {
  color: #F8FAFC;
}

.cwt-brand-accent {
  color: var(--cwt-primary);
}

.cwt-brand-tagline {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cwt-text-muted);
  font-weight: 600;
}

/* Nav Menu */
.cwt-main-navigation {
  display: none;
}

@media (min-width: 1100px) {
  .cwt-main-navigation {
    display: block;
  }
}

.cwt-main-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.cwt-main-menu a {
  color: var(--cwt-text);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 0;
  position: relative;
}

.cwt-main-menu a:hover {
  color: var(--cwt-primary);
}

.cwt-main-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cwt-primary);
  transition: width 0.25s ease;
}

.cwt-main-menu a:hover::after {
  width: 100%;
}

/* Live Search Bar in Header */
.cwt-header-search-wrap {
  display: none;
  flex: 1;
  max-width: 320px;
  position: relative;
}

@media (min-width: 1200px) {
  .cwt-header-search-wrap {
    display: block;
  }
}

.cwt-live-search-form {
  position: relative;
  width: 100%;
}

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

.cwt-search-input {
  width: 100%;
  padding: 10px 14px 10px 42px;
  font-size: 0.88rem;
  border-radius: var(--cwt-radius-full);
  border: 1px solid var(--cwt-border);
  background: var(--cwt-bg);
  color: var(--cwt-text);
  outline: none;
  transition: all 0.2s ease;
}

.cwt-search-input:focus {
  border-color: var(--cwt-primary);
  background: var(--cwt-card-bg);
  box-shadow: 0 0 0 3px var(--cwt-primary-light);
}

.cwt-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-md);
  box-shadow: var(--cwt-shadow-lg);
  display: none;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1001;
}

.cwt-search-dropdown.active {
  display: block;
}

.cwt-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--cwt-border);
}

.cwt-search-item:hover {
  background: var(--cwt-primary-light);
}

.cwt-search-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.cwt-search-item-info {
  flex: 1;
}

.cwt-search-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cwt-dark);
}

.cwt-search-item-price {
  font-size: 0.8rem;
  color: var(--cwt-primary);
  font-weight: 700;
}

/* Header Action Icons */
.cwt-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Multi-Currency Switcher */
.cwt-currency-switcher {
  position: relative;
}

.cwt-currency-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  height: 42px;
  border-radius: var(--cwt-radius-sm);
  background: var(--cwt-bg);
  border: 1px solid var(--cwt-border);
  color: var(--cwt-dark);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cwt-currency-toggle:hover,
.cwt-currency-switcher.open .cwt-currency-toggle {
  border-color: var(--cwt-primary);
  color: var(--cwt-primary);
  background: var(--cwt-card-bg);
}

.cwt-curr-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.cwt-curr-caret {
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.cwt-curr-caret svg {
  width: 14px;
  height: 14px;
}

.cwt-currency-switcher.open .cwt-curr-caret {
  transform: rotate(180deg);
}

.cwt-currency-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-md);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  min-width: 220px;
  padding: 6px;
  display: none;
  z-index: 1050;
  animation: cwtFadeInDown 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cwt-currency-switcher.open .cwt-currency-dropdown {
  display: block;
}

.cwt-currency-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--cwt-radius-sm);
  background: transparent;
  border: none;
  color: var(--cwt-text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.cwt-currency-item:hover {
  background: var(--cwt-primary-light);
  color: var(--cwt-primary);
}

.cwt-currency-item.active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--cwt-primary);
  font-weight: 700;
}

.cwt-curr-check {
  margin-left: auto;
  display: flex;
  align-items: center;
  color: var(--cwt-primary);
}

.cwt-curr-check svg {
  width: 15px;
  height: 15px;
}

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

.cwt-action-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--cwt-radius-sm);
  background: var(--cwt-bg);
  border: 1px solid var(--cwt-border);
  color: var(--cwt-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

[data-theme="dark"] .cwt-action-btn {
  color: #F8FAFC;
  background: var(--cwt-card-bg);
}

.cwt-action-btn:hover {
  border-color: var(--cwt-primary);
  color: var(--cwt-primary);
  transform: translateY(-2px);
}

.cwt-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--cwt-primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cwt-theme-icon-dark {
  display: none;
}

[data-theme="dark"] .cwt-theme-icon-light {
  display: none;
}

[data-theme="dark"] .cwt-theme-icon-dark {
  display: block;
}

.cwt-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--cwt-radius-sm);
  background: var(--cwt-bg);
  border: 1px solid var(--cwt-border);
  color: var(--cwt-dark);
  cursor: pointer;
}

@media (min-width: 1100px) {
  .cwt-mobile-toggle {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   5. Off-Canvas Mobile Drawer
   -------------------------------------------------------------------------- */
.cwt-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.cwt-mobile-drawer.open {
  visibility: visible;
  opacity: 1;
}

.cwt-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
}

.cwt-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85%;
  background: var(--cwt-card-bg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.cwt-mobile-drawer.open .cwt-drawer-content {
  transform: translateX(0);
}

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

.cwt-drawer-close {
  background: none;
  border: none;
  color: var(--cwt-text);
  cursor: pointer;
}

.cwt-mobile-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.cwt-mobile-menu a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cwt-dark);
  display: block;
  padding: 6px 0;
}

[data-theme="dark"] .cwt-mobile-menu a {
  color: #F8FAFC;
}

.cwt-drawer-footer {
  margin-top: auto;
  padding-top: 20px;
}

/* --------------------------------------------------------------------------
   5b. Left-Side Category Drawer
   -------------------------------------------------------------------------- */
.cwt-category-drawer {
  position: fixed;
  inset: 0;
  z-index: 2100;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cwt-category-drawer.open {
  visibility: visible;
  opacity: 1;
}

.cwt-cat-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cwt-cat-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 360px;
  background: var(--cwt-card-bg);
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.25);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
  z-index: 1;
  border-right: 1px solid var(--cwt-border);
}

.cwt-category-drawer.open .cwt-cat-drawer-panel {
  transform: translateX(0);
}

.cwt-cat-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--cwt-border);
  background: var(--cwt-bg);
}

.cwt-cat-drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cwt-cat-drawer-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--cwt-radius-sm);
  background: var(--cwt-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.cwt-cat-drawer-badge svg {
  width: 18px;
  height: 18px;
}

.cwt-cat-drawer-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
  color: var(--cwt-dark);
}

[data-theme="dark"] .cwt-cat-drawer-title {
  color: #F8FAFC;
}

.cwt-cat-drawer-sub {
  font-size: 0.76rem;
  color: var(--cwt-text-muted);
}

.cwt-cat-drawer-close {
  background: none;
  border: none;
  color: var(--cwt-text);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cwt-cat-drawer-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

/* Category Filter Search */
.cwt-cat-drawer-search {
  padding: 14px 20px;
  border-bottom: 1px solid var(--cwt-border);
  position: relative;
}

.cwt-cat-drawer-search input {
  width: 100%;
  height: 38px;
  padding: 8px 36px 8px 12px;
  border-radius: var(--cwt-radius-sm);
  border: 1px solid var(--cwt-border);
  background: var(--cwt-bg);
  color: var(--cwt-text);
  font-size: 0.85rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.cwt-cat-drawer-search input:focus {
  border-color: var(--cwt-primary);
  background: var(--cwt-card-bg);
}

.cwt-cat-search-icon {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cwt-text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.cwt-cat-search-icon svg {
  width: 15px;
  height: 15px;
}

/* Category Nav List */
.cwt-cat-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
}

.cwt-category-list-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cwt-category-nav-item {
  width: 100%;
}

.cwt-cat-item-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--cwt-radius-md);
  color: var(--cwt-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  background: transparent;
}

[data-theme="dark"] .cwt-cat-item-link {
  color: #F8FAFC;
}

.cwt-cat-item-link:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--cwt-primary);
  transform: translateX(4px);
}

.cwt-cat-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--cwt-bg);
  border: 1px solid var(--cwt-border);
  color: var(--cwt-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.cwt-cat-item-link:hover .cwt-cat-item-icon {
  background: var(--cwt-primary);
  border-color: var(--cwt-primary);
  color: #FFFFFF;
}

.cwt-cat-item-icon svg {
  width: 16px;
  height: 16px;
}

.cwt-cat-item-name {
  flex: 1;
}

.cwt-cat-item-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cwt-text-muted);
  background: var(--cwt-bg);
  padding: 2px 7px;
  border-radius: 9999px;
  border: 1px solid var(--cwt-border);
}

.cwt-cat-item-arrow {
  color: var(--cwt-text-muted);
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}

.cwt-cat-item-link:hover .cwt-cat-item-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--cwt-primary);
}

.cwt-cat-item-arrow svg {
  width: 14px;
  height: 14px;
}

.cwt-no-cats {
  padding: 20px;
  text-align: center;
  color: var(--cwt-text-muted);
  font-size: 0.88rem;
}

.cwt-cat-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--cwt-border);
  background: var(--cwt-bg);
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.cwt-hero-section {
  position: relative;
  padding: 24px 0 24px;
  overflow: hidden;
  background: radial-gradient(circle at 10% 15%, rgba(37, 99, 235, 0.07) 0%, transparent 45%),
              radial-gradient(circle at 90% 85%, rgba(124, 58, 237, 0.07) 0%, transparent 45%),
              radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
}

.cwt-hero-mesh-bg {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(37, 99, 235, 0.12) 1px, transparent 1px),
    radial-gradient(rgba(124, 58, 237, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
  opacity: 0.7;
  pointer-events: none;
}

.cwt-hero-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.35;
  animation: hero-glow-drift 8s ease-in-out infinite alternate;
}

.cwt-glow-1 {
  top: -100px;
  left: -60px;
  background: #2563EB;
}

.cwt-glow-2 {
  bottom: -100px;
  right: -60px;
  background: #7C3AED;
  animation-delay: 3s;
}

.cwt-glow-3 {
  top: 35%;
  left: 45%;
  width: 320px;
  height: 320px;
  background: #06B6D4;
  opacity: 0.2;
  animation-delay: 5s;
}

@keyframes hero-glow-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -15px) scale(1.06); }
  100% { transform: translate(-15px, 25px) scale(0.96); }
}

.cwt-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

@media (min-width: 992px) {
  .cwt-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
}

.cwt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 4px 12px;
  border-radius: var(--cwt-radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
  box-shadow: 0 3px 12px rgba(37, 99, 235, 0.08);
}

.cwt-badge-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulse-dot 2s infinite;
}

.cwt-hero-badge-pill {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.cwt-hero-title {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1.16;
  color: var(--cwt-dark);
}

@media (min-width: 768px) {
  .cwt-hero-title {
    font-size: 2.75rem;
    line-height: 1.14;
  }
}

.cwt-text-gradient {
  display: inline;
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 50%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cwt-hero-subtitle {
  font-size: 0.98rem;
  color: var(--cwt-text-muted);
  margin-bottom: 18px;
  max-width: 540px;
  line-height: 1.55;
}

/* Hero Search */
.cwt-hero-search-box {
  background: #FFFFFF;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid var(--cwt-border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  margin-bottom: 16px;
  max-width: 540px;
  transition: all 0.25s ease;
}

.cwt-hero-search-box:focus-within {
  border-color: var(--cwt-primary);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
}

.cwt-hero-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cwt-hero-search-icon {
  margin-left: 10px;
  color: var(--cwt-primary);
  display: flex;
  align-items: center;
}

.cwt-hero-search-icon svg {
  width: 18px;
  height: 18px;
}

.cwt-hero-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.92rem;
  color: var(--cwt-text);
  padding: 6px 4px;
}

.cwt-hero-search-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--cwt-radius-sm);
  font-weight: 700;
  font-size: 0.86rem;
}

.cwt-hero-search-submit svg {
  width: 14px;
  height: 14px;
}

.cwt-hero-popular-tags {
  margin-top: 6px;
  font-size: 0.74rem;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  padding: 2px 6px 0;
}

.cwt-tag-label {
  font-weight: 700;
  color: var(--cwt-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cwt-tag-label svg {
  width: 12px;
  height: 12px;
}

.cwt-hero-popular-tags a {
  background: var(--cwt-bg);
  padding: 3px 8px;
  border-radius: var(--cwt-radius-full);
  color: var(--cwt-text);
  border: 1px solid var(--cwt-border);
  font-weight: 500;
  transition: all 0.2s ease;
}

.cwt-hero-popular-tags a:hover {
  background: var(--cwt-primary-light);
  border-color: var(--cwt-primary);
  color: var(--cwt-primary);
  transform: translateY(-1px);
}

.cwt-hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.cwt-btn-glow {
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px 22px;
  font-size: 0.92rem;
}

.cwt-btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.4);
}

.cwt-btn-hero-sec {
  background: #FFFFFF;
  border: 1px solid var(--cwt-border);
  color: var(--cwt-dark);
  padding: 10px 20px;
  font-size: 0.92rem;
}

.cwt-btn-hero-sec:hover {
  background: var(--cwt-bg);
  border-color: var(--cwt-primary);
  color: var(--cwt-primary);
  transform: translateY(-2px);
}

.cwt-hero-metrics {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--cwt-border);
  flex-wrap: wrap;
}

.cwt-metric-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cwt-metric-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.cwt-metric-val {
  font-family: var(--cwt-font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cwt-dark);
  display: block;
  line-height: 1.2;
}

.cwt-metric-lbl {
  font-size: 0.7rem;
  color: var(--cwt-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cwt-metric-divider {
  width: 1px;
  height: 28px;
  background: var(--cwt-border);
}

/* Hero Tech IDE Showcase Visual */
.cwt-tech-card-container {
  position: relative;
  padding: 12px 6px;
}

.cwt-tech-main-card {
  background: #0F172A;
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.08);
  border: 1px solid #334155;
  overflow: hidden;
  color: #E2E8F0;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  position: relative;
}

.cwt-code-header {
  background: #1E293B;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #334155;
}

.cwt-code-dots {
  display: flex;
  gap: 6px;
}

.cwt-code-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.cwt-code-tabs {
  display: flex;
  gap: 6px;
}

.cwt-code-tab {
  font-size: 0.72rem;
  color: #64748B;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.cwt-code-tab.active {
  background: rgba(37, 99, 235, 0.2);
  color: #93C5FD;
  border: 1px solid rgba(59, 130, 246, 0.3);
  font-weight: 700;
}

.cwt-code-badge {
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
  letter-spacing: 0.4px;
}

.cwt-code-body {
  padding: 14px 16px;
  font-size: 0.76rem;
  line-height: 1.55;
  background: #0B1120;
}

.cwt-code-line.indent-1 {
  padding-left: 16px;
}

.cwt-syn-kw { color: #F43F5E; font-weight: bold; }
.cwt-syn-var { color: #38BDF8; }
.cwt-syn-fn { color: #A78BFA; }
.cwt-syn-str { color: #34D399; }
.cwt-syn-bool { color: #FBBF24; }
.cwt-code-comment { color: #64748B; font-style: italic; }

.cwt-code-cursor {
  display: inline-block;
  width: 6px;
  height: 13px;
  background: #38BDF8;
  vertical-align: middle;
  margin-left: 3px;
  animation: blink-cursor 1s infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.cwt-code-footer {
  background: #0F172A;
  padding: 7px 14px;
  border-top: 1px solid #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #94A3B8;
}

.cwt-status-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #34D399;
  font-weight: 600;
}

.pulse-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.cwt-status-speed {
  font-weight: 700;
  color: #FBBF24;
}

/* Floating Glass Cards */
.cwt-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 8px 14px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  animation: float-slow 4.5s ease-in-out infinite alternate;
}

.card-top-right {
  top: -6px;
  right: -10px;
}

.card-bottom-left {
  bottom: -12px;
  left: -12px;
  animation-delay: 1.5s;
}

.card-bottom-right {
  bottom: 36px;
  right: -14px;
  animation-delay: 2.5s;
}

@keyframes float-slow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.cwt-floating-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cwt-floating-icon svg {
  width: 16px;
  height: 16px;
}

.pulse-blue { background: #DBEAFE; color: #2563EB; }
.star-gold { background: #FEF3C7; color: #D97706; }
.gradient-purple { background: #F3E8FF; color: #7C3AED; }

.cwt-floating-title {
  font-family: var(--cwt-font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--cwt-dark);
  display: block;
}

.cwt-floating-sub {
  font-size: 0.68rem;
  color: var(--cwt-text-muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   7. Trust Features (4 Cards)
   -------------------------------------------------------------------------- */
.cwt-trust-section {
  padding: 16px 0 20px;
}

.cwt-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 576px) {
  .cwt-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .cwt-trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cwt-trust-card {
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--cwt-shadow-sm);
  transition: all 0.3s ease;
}

.cwt-trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cwt-shadow-md);
  border-color: var(--cwt-primary);
}

.cwt-trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cwt-trust-blue .cwt-trust-icon-box { background: rgba(37, 99, 235, 0.1); color: #2563EB; }
.cwt-trust-purple .cwt-trust-icon-box { background: rgba(124, 58, 237, 0.1); color: #7C3AED; }
.cwt-trust-green .cwt-trust-icon-box { background: rgba(22, 163, 74, 0.1); color: #16A34A; }
.cwt-trust-orange .cwt-trust-icon-box { background: rgba(245, 158, 11, 0.1); color: #D97706; }

.cwt-trust-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cwt-trust-desc {
  font-size: 0.82rem;
  color: var(--cwt-text-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   8. Section Standard Headers & Layouts
   -------------------------------------------------------------------------- */
.cwt-section {
  padding: 24px 0 32px;
}

.cwt-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cwt-section-header.text-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cwt-section-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-top: 6px;
}

.cwt-section-subtitle {
  font-size: 0.88rem;
  color: var(--cwt-text-muted);
  max-width: 580px;
  margin-top: 4px;
}

.cwt-section-link {
  font-family: var(--cwt-font-heading);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cwt-primary);
}

/* --------------------------------------------------------------------------
   9. Category Grid
   -------------------------------------------------------------------------- */
.cwt-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.cwt-cat-card {
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--cwt-shadow-sm);
}

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

.cwt-cat-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--cwt-primary-light);
  color: var(--cwt-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cwt-cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.cwt-cat-info {
  flex: 1;
}

.cwt-cat-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cwt-dark);
  margin-bottom: 2px;
}

[data-theme="dark"] .cwt-cat-name {
  color: #F8FAFC;
}

.cwt-cat-count {
  font-size: 0.78rem;
  color: var(--cwt-text-muted);
}

.cwt-cat-arrow {
  color: var(--cwt-text-muted);
  transition: transform 0.2s ease;
}

.cwt-cat-card:hover .cwt-cat-arrow {
  transform: translateX(4px);
  color: var(--cwt-primary);
}

/* --------------------------------------------------------------------------
   10. Flash Sale & Countdown
   -------------------------------------------------------------------------- */
.cwt-flash-sale-section {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.04) 0%, transparent 100%);
}

.cwt-flash-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
  border-radius: var(--cwt-radius-xl);
  padding: 36px 40px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.25);
  flex-wrap: wrap;
}

.cwt-flash-tag {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}

.cwt-flash-title {
  color: #FFFFFF;
  font-size: 2rem;
  font-weight: 800;
}

.cwt-flash-subtitle {
  color: #CBD5E1;
  font-size: 0.95rem;
  max-width: 500px;
  margin-top: 6px;
}

.cwt-countdown-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cwt-countdown-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 18px;
  text-align: center;
  min-width: 70px;
}

.cwt-time-val {
  font-family: var(--cwt-font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.cwt-time-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 0.5px;
}

.cwt-countdown-sep {
  font-size: 1.5rem;
  font-weight: 800;
  color: #EF4444;
}

/* --------------------------------------------------------------------------
   11. Web Tools Grid & Modal
   -------------------------------------------------------------------------- */
.cwt-web-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.cwt-tool-card {
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--cwt-shadow-sm);
  transition: all 0.3s ease;
}

.cwt-tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--cwt-primary);
  box-shadow: var(--cwt-shadow-md);
}

.cwt-tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cwt-tool-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cwt-secondary-light);
  color: var(--cwt-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cwt-tool-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--cwt-bg);
  border: 1px solid var(--cwt-border);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--cwt-text-muted);
}

.cwt-tool-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.cwt-tool-desc {
  font-size: 0.80rem;
  color: var(--cwt-text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
  flex: 1;
}

.cwt-launch-tool-btn {
  width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  height: 40px !important;
  border-radius: var(--cwt-radius-sm, 10px) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.cwt-launch-tool-btn svg {
  flex-shrink: 0 !important;
  width: 16px !important;
  height: 16px !important;
}

/* Tool Modal */
.cwt-tool-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cwt-tool-modal-backdrop.active {
  display: flex;
}

.cwt-tool-modal-dialog {
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-lg);
  max-width: 600px;
  width: 100%;
  box-shadow: var(--cwt-shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
}

.cwt-tool-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--cwt-border);
  padding-bottom: 14px;
}

.cwt-tool-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cwt-text-muted);
}

.cwt-tool-modal-close:hover {
  color: var(--cwt-dark);
}

/* Web Tool Modal Interactive Elements */
.cwt-tool-ui {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cwt-tool-lead-p {
  font-size: 0.88rem;
  color: var(--cwt-text-muted);
  margin: 0 0 12px;
  line-height: 1.5;
}

.cwt-tool-input,
.cwt-tool-textarea,
.cwt-tool-select {
  width: 100% !important;
  padding: 10px 14px !important;
  border-radius: var(--cwt-radius-sm, 8px) !important;
  border: 1px solid var(--cwt-border) !important;
  background: var(--cwt-bg) !important;
  color: var(--cwt-text) !important;
  font-size: 0.9rem !important;
  font-family: inherit !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.cwt-tool-textarea.code-font,
.cwt-tool-input.code-font {
  font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
  font-size: 0.84rem !important;
}

.cwt-tool-input:focus,
.cwt-tool-textarea:focus,
.cwt-tool-select:focus {
  border-color: var(--cwt-primary) !important;
  box-shadow: 0 0 0 3px var(--cwt-primary-light) !important;
  background: var(--cwt-card-bg) !important;
}

.cwt-tool-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cwt-tool-dropzone {
  border: 2px dashed var(--cwt-border);
  border-radius: var(--cwt-radius-md);
  padding: 28px 20px;
  text-align: center;
  background: var(--cwt-bg);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cwt-tool-dropzone:hover {
  border-color: var(--cwt-primary);
  background: rgba(37, 99, 235, 0.04);
}

.cwt-tool-dropzone-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}

.cwt-tool-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  text-align: center;
}

.cwt-tool-stat-card {
  background: var(--cwt-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-sm);
  padding: 12px 10px;
}

.cwt-tool-stat-card .num {
  display: block;
  font-family: var(--cwt-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cwt-primary);
}

.cwt-tool-stat-card .lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--cwt-text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.cwt-color-harmony-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.cwt-color-swatch-box {
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  border: 1px solid var(--cwt-border);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cwt-color-swatch-box:hover {
  transform: translateY(-2px);
}

.cwt-color-preview-block {
  height: 48px;
  border-radius: 6px;
  margin-bottom: 6px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

.cwt-color-hex-tag {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
}

.cwt-social-preview-card {
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-md);
  overflow: hidden;
  background: var(--cwt-card-bg);
  box-shadow: var(--cwt-shadow-sm);
  margin-top: 12px;
}

.cwt-social-preview-img {
  width: 100%;
  height: 140px;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.85rem;
  object-fit: cover;
}

.cwt-social-preview-body {
  padding: 14px;
}

.cwt-social-preview-domain {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--cwt-text-muted);
  margin-bottom: 4px;
  display: block;
}

.cwt-social-preview-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cwt-dark);
  margin-bottom: 6px;
}

.cwt-social-preview-desc {
  font-size: 0.8rem;
  color: var(--cwt-text-muted);
  line-height: 1.4;
  margin: 0;
}

/* --------------------------------------------------------------------------
   12. AI Tools Pill Tabs
   -------------------------------------------------------------------------- */
.cwt-ai-pill-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 30px;
}

.cwt-pill-tab {
  white-space: nowrap;
  font-family: var(--cwt-font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--cwt-radius-full);
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  color: var(--cwt-text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cwt-pill-tab:hover,
.cwt-pill-tab.active {
  background: var(--cwt-dark);
  color: #FFFFFF;
  border-color: var(--cwt-dark);
}

[data-theme="dark"] .cwt-pill-tab.active {
  background: var(--cwt-primary);
  border-color: var(--cwt-primary);
}

/* --------------------------------------------------------------------------
   13. WordPress Resources Banner & Cards
   -------------------------------------------------------------------------- */
.cwt-wp-banner-card {
  background: radial-gradient(circle at 100% 0%, #0073AA 0%, #00223E 100%);
  border-radius: var(--cwt-radius-xl);
  padding: 44px;
  color: #FFFFFF;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 900px) {
  .cwt-wp-banner-card {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.cwt-wp-banner-content {
  position: relative;
  z-index: 2;
}

.cwt-wp-banner-card .cwt-section-title {
  color: #FFFFFF;
  margin-top: 12px;
}

.cwt-wp-banner-card .cwt-section-subtitle {
  color: #BAE6FD;
  margin-bottom: 24px;
}

.cwt-btn-wp-cta {
  background: #FFFFFF;
  color: #0073AA !important;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
}

.cwt-btn-wp-cta span {
  white-space: nowrap !important;
  word-break: keep-all !important;
}

.cwt-btn-wp-cta svg {
  flex-shrink: 0 !important;
  width: 16px !important;
  height: 16px !important;
}

.cwt-btn-wp-cta:hover {
  background: #F0F9FF;
  color: #005177 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Right WordPress SVG Visual */
.cwt-wp-banner-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.cwt-wp-emblem-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cwt-wp-emblem-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.45) 0%, rgba(0, 115, 170, 0.2) 60%, transparent 80%);
  filter: blur(25px);
  pointer-events: none;
  animation: pulse-dot 4s infinite alternate;
}

.cwt-wp-svg-box {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 0 30px rgba(255, 255, 255, 0.15);
  transition: transform 0.4s ease;
}

.cwt-wp-svg-box:hover {
  transform: scale(1.06) rotate(5deg);
}

.cwt-wp-main-svg {
  width: 90px;
  height: 90px;
  color: #FFFFFF;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.cwt-wp-floating-pill {
  position: absolute;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--cwt-radius-full);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  animation: float-slow 4s ease-in-out infinite alternate;
}

.cwt-wp-floating-pill.pill-top {
  top: -5px;
  right: -10px;
}

.cwt-wp-floating-pill.pill-bottom {
  bottom: -5px;
  left: -10px;
  animation-delay: 2s;
}

.cwt-wp-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.cwt-wp-card {
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  box-shadow: var(--cwt-shadow-sm);
  transition: all 0.3s ease;
}

.cwt-wp-card:hover {
  transform: translateY(-4px);
  border-color: #0073AA;
  box-shadow: var(--cwt-shadow-md);
}

.cwt-wp-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 115, 170, 0.1);
  color: #0073AA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cwt-wp-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #0073AA;
  letter-spacing: 0.5px;
}

.cwt-wp-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 4px 0;
}

.cwt-wp-card-desc {
  font-size: 0.82rem;
  color: var(--cwt-text-muted);
}

/* --------------------------------------------------------------------------
   14. Developer Resources (Dark Tech Card Grid)
   -------------------------------------------------------------------------- */
.cwt-developer-section {
  background: linear-gradient(135deg, #090D16 0%, #0F172A 60%, #1E1B4B 100%);
  color: #CBD5E1;
  border-radius: 0;
  margin: 50px 0;
  padding: 60px 0;
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  border-left: none;
  border-right: none;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
}

.cwt-developer-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cwt-dev-header-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cwt-dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38BDF8;
  padding: 5px 14px;
  border-radius: var(--cwt-radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cwt-dev-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
}

.cwt-dev-title {
  color: #FFFFFF;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.cwt-dev-subtitle {
  color: #94A3B8;
  max-width: 580px;
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.cwt-btn-dev-cta {
  background: linear-gradient(135deg, #2563EB, #38BDF8);
  color: #FFFFFF !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--cwt-radius-sm);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  transition: all 0.25s ease;
}

.cwt-btn-dev-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.4);
}

.cwt-dev-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 2;
}

.cwt-dev-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.cwt-dev-card:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.12);
}

.cwt-dev-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cwt-dev-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cwt-dev-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.cwt-dev-chip {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid;
  letter-spacing: 0.3px;
}

.cwt-dev-card-name {
  color: #F8FAFC;
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.cwt-dev-card-desc {
  color: #94A3B8;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.cwt-dev-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cwt-dev-explore-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748B;
  transition: color 0.2s ease;
}

.cwt-dev-card:hover .cwt-dev-explore-text {
  color: #38BDF8;
}

.cwt-dev-icon-arrow {
  color: #475569;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.cwt-dev-icon-arrow svg {
  width: 14px;
  height: 14px;
}

.cwt-dev-card:hover .cwt-dev-icon-arrow {
  color: #38BDF8;
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   15. Services (Web With Faysal)
   -------------------------------------------------------------------------- */
.cwt-services-banner {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #4338CA 100%);
  border-radius: var(--cwt-radius-xl);
  padding: 36px 32px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.cwt-badge-service {
  font-size: 0.72rem;
  padding: 3px 10px;
}

.cwt-services-heading {
  color: #FFFFFF;
  font-size: 1.55rem;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 6px;
  line-height: 1.3;
}

.cwt-services-subtext {
  color: #C7D2FE;
  font-size: 0.84rem;
  line-height: 1.5;
  max-width: 540px;
  margin-top: 6px;
}

.cwt-services-banner-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cwt-services-banner-cta .cwt-btn {
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px 18px;
  height: 42px;
  border-radius: 10px;
}

.cwt-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.cwt-service-card {
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-md);
  padding: 20px;
  box-shadow: var(--cwt-shadow-sm);
  transition: all 0.3s ease;
}

.cwt-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--cwt-secondary);
  box-shadow: var(--cwt-shadow-md);
}

.cwt-service-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--cwt-secondary-light);
  color: var(--cwt-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.cwt-service-icon-box svg {
  width: 20px;
  height: 20px;
}

.cwt-service-title {
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.cwt-service-desc {
  font-size: 0.78rem;
  color: var(--cwt-text-muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   16. Testimonials
   -------------------------------------------------------------------------- */
.cwt-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.cwt-testimonial-card {
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-lg);
  padding: 32px;
  box-shadow: var(--cwt-shadow-sm);
  display: flex;
  flex-direction: column;
}

.cwt-testimonial-stars {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  margin-bottom: 16px;
}

.cwt-testimonial-quote {
  font-size: 0.95rem;
  color: var(--cwt-text);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
  font-style: italic;
}

.cwt-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cwt-avatar-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cwt-primary) 0%, var(--cwt-secondary) 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.cwt-author-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.cwt-author-role {
  font-size: 0.78rem;
  color: var(--cwt-text-muted);
}

/* --------------------------------------------------------------------------
   17. Ultra-Modern VIP Hub Newsletter Card
   -------------------------------------------------------------------------- */
.cwt-nl-box {
  position: relative;
  background: linear-gradient(135deg, #090E1A 0%, #0F172A 50%, #1E1B4B 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--cwt-radius-xl, 24px);
  padding: 44px 40px;
  color: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cwt-nl-aurora-glow {
  position: absolute;
  top: -100px;
  left: -50px;
  width: 450px;
  height: 350px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(124, 58, 237, 0.2) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  border-radius: 50%;
}

.cwt-nl-pattern-mesh {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
}

.cwt-nl-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cwt-nl-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38BDF8;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.cwt-nl-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
}

.cwt-nl-heading {
  color: #FFFFFF;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.cwt-nl-lead {
  color: #94A3B8;
  font-size: 0.90rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.cwt-nl-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cwt-nl-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #E2E8F0;
  font-size: 0.84rem;
  font-weight: 600;
}

.cwt-nl-perk-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cwt-nl-perk-icon svg {
  width: 12px;
  height: 12px;
}

/* Right Form Card */
.cwt-nl-form-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--cwt-radius-lg, 18px);
  padding: 26px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.cwt-nl-form-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.cwt-nl-form-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cwt-nl-form-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.cwt-nl-form-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.cwt-nl-form-sub {
  color: #94A3B8;
  font-size: 0.75rem;
  margin: 2px 0 0;
}

.cwt-nl-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cwt-nl-field {
  width: 100%;
  height: 42px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9px;
  padding: 0 14px;
  color: #FFFFFF;
  font-size: 0.85rem;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.cwt-nl-field:focus {
  border-color: #38BDF8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  background: #0F172A;
}

.cwt-nl-field::placeholder {
  color: #64748B;
}

.cwt-nl-btn-submit {
  width: 100%;
  height: 42px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 0.86rem !important;
  border-radius: 9px !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4) !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.cwt-nl-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.6) !important;
}

.cwt-nl-social-proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cwt-nl-avatars {
  display: flex;
  align-items: center;
}

.cwt-nl-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1E293B;
  border: 2px solid #0F172A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-left: -5px;
}

.cwt-nl-avatar:first-child {
  margin-left: 0;
}

.cwt-nl-proof-text {
  text-align: right;
  font-size: 0.72rem;
  color: #94A3B8;
  line-height: 1.2;
}

.cwt-nl-stars {
  color: #F59E0B;
  font-size: 0.68rem;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
  width: 14px;
  height: 14px;
  color: #38BDF8;
}

.cwt-nl-tag-dot {
  color: #475569;
}

/* --------------------------------------------------------------------------
   18. Modern Developer Blog Magazine Design & Layout
   -------------------------------------------------------------------------- */
#blog,
.cwt-homepage-blog-section {
  scroll-margin-top: 90px;
}

.cwt-blog-page {
  padding: 40px 0 80px;
}

/* Blog Hero Header */
.cwt-blog-hero-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 48px;
}

.cwt-blog-hero-badge {
  margin-bottom: 12px;
}

.cwt-blog-main-title {
  font-family: var(--cwt-font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--cwt-dark);
  margin-bottom: 12px;
  line-height: 1.15;
}

[data-theme="dark"] .cwt-blog-main-title {
  color: #F8FAFC;
}

.cwt-blog-main-subtitle {
  font-size: 1.05rem;
  color: var(--cwt-text-muted);
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

/* Category Filter Pills (Single Line) */
.cwt-blog-pills-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 6px 8px;
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-full);
  max-width: 100%;
  width: fit-content;
  margin: 0 auto;
  box-shadow: var(--cwt-shadow-sm);
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  -webkit-overflow-scrolling: touch;
}

.cwt-blog-pills-bar::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.cwt-blog-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--cwt-radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cwt-text);
  background: transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.cwt-blog-pill:hover {
  color: var(--cwt-primary);
  background: var(--cwt-primary-light);
}

.cwt-blog-pill.active {
  background: var(--cwt-primary);
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.cwt-blog-pill .cwt-pill-count {
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 9999px;
  background: var(--cwt-bg);
  color: var(--cwt-text-muted);
  font-weight: 700;
}

.cwt-blog-pill.active .cwt-pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.cwt-blog-pill svg {
  width: 13px;
  height: 13px;
}

/* Blog Grid (Strict 4 Columns) */
.cwt-blog-grid,
.cwt-homepage-blog-section .cwt-blog-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin-bottom: 50px;
  width: 100% !important;
}

@media (max-width: 1200px) {
  .cwt-blog-grid,
  .cwt-homepage-blog-section .cwt-blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (max-width: 900px) {
  .cwt-blog-grid,
  .cwt-homepage-blog-section .cwt-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 576px) {
  .cwt-blog-grid,
  .cwt-homepage-blog-section .cwt-blog-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* Blog Card */
.cwt-blog-card {
  background: #FFFFFF;
  border: 1px solid var(--cwt-border);
  border-radius: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.cwt-blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.1);
}

.cwt-blog-thumb-wrap {
  position: relative;
  aspect-ratio: 333 / 170 !important;
  overflow: hidden;
  background: #0B1120;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cwt-blog-thumb-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cwt-blog-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 auto !important;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cwt-blog-card:hover .cwt-blog-thumb {
  transform: scale(1.06);
}

.cwt-blog-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cwt-text-muted);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.cwt-blog-cat-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #60A5FA;
  border: 1px solid rgba(96, 165, 250, 0.3);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cwt-blog-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cwt-blog-meta-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--cwt-text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.cwt-blog-date-icon {
  font-size: 0.8rem;
}

.cwt-blog-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.38;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.76em;
}

.cwt-blog-card-title a {
  color: var(--cwt-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cwt-blog-card-title a:hover {
  color: var(--cwt-primary);
}

.cwt-blog-excerpt {
  font-size: 0.86rem;
  color: var(--cwt-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cwt-blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--cwt-border);
  gap: 10px;
  margin-top: auto;
}

.cwt-blog-author-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cwt-author-avatar-mini img {
  border-radius: 50%;
  display: block;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--cwt-primary);
}

.cwt-author-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cwt-dark);
}

.cwt-read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--cwt-font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--cwt-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.cwt-read-more-link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.cwt-read-more-link:hover {
  color: var(--cwt-primary-hover);
}

.cwt-read-more-link:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Hero Featured Post Card (High Impact Magazine Feature)
   -------------------------------------------------------------------------- */
.cwt-blog-card-featured {
  grid-column: 1 / -1;
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: 0 !important;
  box-shadow: var(--cwt-shadow-md);
  margin-bottom: 10px;
}

.cwt-blog-featured-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  align-items: stretch;
}

@media (max-width: 900px) {
  .cwt-blog-featured-inner {
    grid-template-columns: 1fr;
  }
}

.cwt-blog-card-featured .cwt-blog-thumb-wrap {
  aspect-ratio: 16 / 10;
  height: 100%;
}

.cwt-blog-card-featured .cwt-blog-body {
  padding: 36px 32px;
  justify-content: center;
}

.cwt-featured-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.cwt-blog-card-featured .cwt-blog-card-title {
  font-size: 1.65rem;
  margin-bottom: 14px;
}

.cwt-blog-card-featured .cwt-blog-excerpt {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.cwt-author-info-text {
  display: flex;
  flex-direction: column;
}

.cwt-author-info-text .cwt-blog-date {
  font-size: 0.72rem;
  color: var(--cwt-text-muted);
}

/* No Posts Card */
.cwt-no-posts-card {
  background: var(--cwt-card-bg);
  border: 1px dashed var(--cwt-border);
  border-radius: var(--cwt-radius-lg);
  padding: 60px 24px;
  text-align: center;
  max-width: 540px;
  margin: 0 auto 50px;
}

.cwt-no-post-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--cwt-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.cwt-no-post-icon svg {
  width: 28px;
  height: 28px;
}

/* Newsletter Community Box */
.cwt-blog-newsletter-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--cwt-radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 60px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  flex-wrap: wrap;
}

.cwt-newsletter-content {
  max-width: 580px;
}

.cwt-newsletter-content h3 {
  color: #FFFFFF;
  font-size: 1.45rem;
  font-weight: 800;
  margin: 10px 0 8px;
}

.cwt-newsletter-content p {
  color: #94A3B8;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .cwt-blog-newsletter-card {
    padding: 30px 24px;
  }
}

/* --------------------------------------------------------------------------
   19. Footer & Mobile Bottom Navigation
   -------------------------------------------------------------------------- */
.cwt-site-footer {
  background: #090D16;
  color: #94A3B8;
  border-top: 1px solid #1E293B;
  padding: 64px 0 28px;
  position: relative;
  overflow: hidden;
}

.cwt-site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 200px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cwt-footer-widgets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

@media (min-width: 640px) {
  .cwt-footer-widgets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cwt-footer-widgets-grid {
    grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr;
    gap: 30px;
  }
}

.cwt-footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 6px;
}

.cwt-brand-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.cwt-brand-icon-box svg {
  width: 18px;
  height: 18px;
}

.cwt-footer-brand-col .cwt-brand-name {
  color: #F8FAFC;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.cwt-footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 14px 0 18px;
  color: #94A3B8;
}

.cwt-footer-trust-mini {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cwt-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid #1E293B;
  color: #CBD5E1;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--cwt-radius-full);
}

.cwt-trust-pill svg {
  width: 13px;
  height: 13px;
  color: #38BDF8;
}

.cwt-footer-title {
  color: #F8FAFC;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cwt-footer-title-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 6px #38BDF8;
}

.cwt-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cwt-footer-links a {
  color: #94A3B8;
  font-size: 0.86rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.cwt-footer-links a:hover {
  color: #38BDF8;
  transform: translateX(4px);
}

.cwt-footer-subtext {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 14px;
}

.cwt-footer-btn-linktree {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: var(--cwt-radius-sm);
  margin-bottom: 14px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.cwt-footer-btn-linktree:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.cwt-footer-btn-linktree svg {
  width: 14px;
  height: 14px;
}

.cwt-footer-badges-wrap {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cwt-service-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid #1E293B;
  color: #CBD5E1;
  padding: 3px 8px;
  border-radius: 6px;
}

.cwt-footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.84rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cwt-footer-copyright a {
  color: #F8FAFC;
  font-weight: 700;
  text-decoration: none;
}

.cwt-footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34D399;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--cwt-radius-full);
}

.cwt-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  animation: pulse-dot 2s infinite;
}

.cwt-author-link {
  color: #38BDF8;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cwt-author-link:hover {
  color: #7DD3FC;
}

/* Fixed Mobile Bottom Navigation Bar */
.cwt-mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--cwt-card-bg);
  border-top: 1px solid var(--cwt-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

@media (min-width: 992px) {
  .cwt-mobile-bottom-nav {
    display: none;
  }
}

.cwt-mob-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--cwt-text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  gap: 2px;
  position: relative;
}

.cwt-mob-nav-item.active,
.cwt-mob-nav-item:hover {
  color: var(--cwt-primary);
}

.cwt-mob-cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--cwt-primary);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cwt-back-to-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--cwt-primary);
  color: #FFFFFF;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--cwt-shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

@media (min-width: 992px) {
  .cwt-back-to-top {
    bottom: 30px;
  }
}

.cwt-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.cwt-back-to-top:hover {
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   Global Breadcrumbs Navigation Bar (Below Header)
   -------------------------------------------------------------------------- */
.cwt-breadcrumbs {
  background: var(--cwt-bg);
  border-bottom: 1px solid var(--cwt-border);
  padding: 13px 0;
  margin-bottom: 30px;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

[data-theme="dark"] .cwt-breadcrumbs {
  background: rgba(15, 23, 42, 0.45);
}

.cwt-breadcrumbs-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cwt-breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cwt-text-muted);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cwt-breadcrumb-home .cwt-bc-icon {
  width: 15px;
  height: 15px;
  color: var(--cwt-primary);
}

.cwt-breadcrumb-link:hover {
  color: var(--cwt-primary);
  text-decoration: none;
}

.cwt-breadcrumb-separator {
  color: var(--cwt-border);
  font-weight: 400;
  font-size: 0.82rem;
  user-select: none;
}

[data-theme="dark"] .cwt-breadcrumb-separator {
  color: rgba(255, 255, 255, 0.2);
}

.cwt-breadcrumb-current {
  color: var(--cwt-dark);
  font-weight: 700;
}

[data-theme="dark"] .cwt-breadcrumb-current {
  color: #F8FAFC;
}

/* --------------------------------------------------------------------------
   21. Instant Cart Toast Notification & Badge Pulse
   -------------------------------------------------------------------------- */
.cwt-cart-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  z-index: 9999;
  transform: translateY(120px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 380px;
  border-left: 4px solid #10B981;
}

.cwt-cart-toast.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.cwt-toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cwt-toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.cwt-toast-content strong {
  font-size: 0.88rem;
  color: var(--cwt-dark);
  font-weight: 700;
}

[data-theme="dark"] .cwt-toast-content strong {
  color: #F8FAFC;
}

.cwt-toast-content span {
  font-size: 0.78rem;
  color: var(--cwt-text-muted);
}

.cwt-toast-btn {
  background: var(--cwt-primary);
  color: #FFFFFF !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.cwt-toast-btn:hover {
  background: var(--cwt-secondary);
  transform: translateY(-1px);
}

.cwt-toast-close {
  background: transparent;
  border: none;
  color: var(--cwt-text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.cwt-toast-close:hover {
  color: var(--cwt-danger);
}

.pulse-anim {
  animation: cwtBadgePulse 0.6s ease;
}

@keyframes cwtBadgePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

@media (max-width: 576px) {
  .cwt-cart-toast {
    bottom: 20px;
    right: 16px;
    left: 16px;
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   22. Deals & Flash Sales Dedicated Page
   -------------------------------------------------------------------------- */
.cwt-deals-page {
  padding: 40px 0 80px;
}

.cwt-deals-hero-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 48px;
}

.cwt-deals-hero-badge {
  margin-bottom: 12px;
}

.cwt-deals-main-title {
  font-family: var(--cwt-font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--cwt-dark);
  margin-bottom: 12px;
  line-height: 1.15;
}

[data-theme="dark"] .cwt-deals-main-title {
  color: #F8FAFC;
}

.cwt-deals-main-subtitle {
  font-size: 1.05rem;
  color: var(--cwt-text-muted);
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 680px;
}

.cwt-deals-countdown-box {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 14px 28px;
  background: #FFFFFF;
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-full);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  flex-wrap: wrap;
  justify-content: center;
}

.cwt-deals-countdown-box .cwt-countdown-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #EF4444;
}

.cwt-deals-countdown-box .cwt-countdown-label svg {
  width: 18px;
  height: 18px;
}

.cwt-deals-countdown-box .cwt-countdown-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 8px 14px;
  text-align: center;
  min-width: 58px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.cwt-deals-countdown-box .cwt-time-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
}

.cwt-deals-countdown-box .cwt-time-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748B;
  margin-top: 3px;
}

.cwt-deals-countdown-box .cwt-countdown-sep {
  font-size: 1.2rem;
  font-weight: 800;
  color: #EF4444;
}

.cwt-deals-trust-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--cwt-border);
}

@media (max-width: 860px) {
  .cwt-deals-trust-banner {
    grid-template-columns: 1fr;
  }
}

.cwt-deals-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-md);
}

.cwt-deals-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--cwt-radius-md);
  background: rgba(37, 99, 235, 0.08);
  color: var(--cwt-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cwt-deals-trust-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--cwt-dark);
}

[data-theme="dark"] .cwt-deals-trust-info h4 {
  color: #F8FAFC;
}

.cwt-deals-trust-info p {
  font-size: 0.82rem;
  color: var(--cwt-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   23. Dynamic Header Wishlist Badge & Wishlist Page Styling
   -------------------------------------------------------------------------- */
.cwt-wishlist-btn {
  position: relative;
}

.cwt-wishlist-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  line-height: 1;
}

.cwt-badge-bump {
  animation: cwt-bump 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cwt-bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.cwt-wishlist-page {
  padding: 50px 0 90px;
}

.cwt-wishlist-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.cwt-wishlist-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  position: static;
  border: none;
  box-shadow: none;
}

.cwt-wishlist-badge svg {
  width: 14px;
  height: 14px;
}

.cwt-wishlist-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--cwt-dark);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.cwt-wishlist-subtitle {
  font-size: 0.98rem;
  color: var(--cwt-text-muted);
  line-height: 1.55;
}

.cwt-wishlist-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: 12px;
  margin-top: 28px;
  box-shadow: var(--cwt-shadow-sm);
  flex-wrap: wrap;
  gap: 12px;
}

.cwt-wishlist-summary {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cwt-dark);
}

.cwt-wishlist-btn-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cwt-wishlist-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 16px;
  color: var(--cwt-text-muted);
}

.cwt-wishlist-empty {
  text-align: center;
  padding: 70px 24px;
  background: var(--cwt-card-bg);
  border: 2px dashed var(--cwt-border);
  border-radius: 20px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--cwt-shadow-sm);
}

.cwt-empty-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.cwt-empty-icon-wrap svg {
  width: 36px;
  height: 36px;
}

.cwt-empty-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cwt-dark);
  margin-bottom: 10px;
}

.cwt-empty-desc {
  font-size: 0.92rem;
  color: var(--cwt-text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* --------------------------------------------------------------------------
   24. Universal Pagination System (Blog, Shop, Deals, Search, Archives)
   -------------------------------------------------------------------------- */
.cwt-pagination,
.navigation.pagination,
.woocommerce-pagination {
  margin: 40px auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.cwt-pagination .screen-reader-text,
.navigation.pagination .screen-reader-text {
  display: none !important;
}

.cwt-pagination .nav-links,
.navigation.pagination .nav-links,
.woocommerce-pagination ul.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.woocommerce-pagination ul.page-numbers li {
  list-style: none !important;
  display: inline-flex;
  margin: 0 !important;
  padding: 0 !important;
}

.cwt-pagination .page-numbers,
.navigation.pagination .nav-links .page-numbers,
.woocommerce-pagination .page-numbers,
.woocommerce-pagination ul.page-numbers li .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  font-family: var(--cwt-font-heading);
  font-size: 0.90rem;
  font-weight: 700;
  color: #1E293B;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .cwt-pagination .page-numbers,
[data-theme="dark"] .navigation.pagination .nav-links .page-numbers,
[data-theme="dark"] .woocommerce-pagination .page-numbers,
[data-theme="dark"] .woocommerce-pagination ul.page-numbers li .page-numbers {
  background: #1E293B;
  border-color: #334155;
  color: #F8FAFC;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.cwt-pagination .page-numbers:hover,
.navigation.pagination .nav-links a.page-numbers:hover,
.woocommerce-pagination a.page-numbers:hover {
  color: #2563EB;
  border-color: #2563EB;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

[data-theme="dark"] .cwt-pagination .page-numbers:hover,
[data-theme="dark"] .navigation.pagination .nav-links a.page-numbers:hover,
[data-theme="dark"] .woocommerce-pagination a.page-numbers:hover {
  color: #38BDF8;
  border-color: #38BDF8;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
}

.cwt-pagination .page-numbers.current,
.navigation.pagination .nav-links .page-numbers.current,
.woocommerce-pagination .page-numbers.current,
.woocommerce-pagination ul.page-numbers li .page-numbers.current {
  background: #2563EB !important;
  color: #FFFFFF !important;
  border-color: #2563EB !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
  pointer-events: none;
}

.cwt-pagination .page-numbers.dots,
.navigation.pagination .nav-links .page-numbers.dots,
.woocommerce-pagination .page-numbers.dots {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #94A3B8 !important;
  font-weight: 800;
  pointer-events: none;
  min-width: 24px;
}

.cwt-pagination .page-numbers.prev,
.cwt-pagination .page-numbers.next,
.navigation.pagination .nav-links .prev,
.navigation.pagination .nav-links .next,
.woocommerce-pagination .prev,
.woocommerce-pagination .next {
  padding: 0 16px;
  font-weight: 700;
  font-size: 0.84rem;
}

.cwt-pagination .page-numbers.prev:hover,
.woocommerce-pagination .prev:hover {
  transform: translateX(-2px) translateY(-1px);
}

.cwt-pagination .page-numbers.next:hover,
.woocommerce-pagination .next:hover {
  transform: translateX(2px) translateY(-1px);
}

/* --------------------------------------------------------------------------
   25. Master Responsive Engine (Mobile, Tablet, Laptop & Large Screens)
   -------------------------------------------------------------------------- */

/* Large Laptops & Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
  .cwt-container {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }
  .cwt-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .cwt-dev-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets & Small Laptops (max-width: 991px) */
@media (max-width: 991px) {
  .cwt-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  .cwt-header-nav {
    display: none;
  }
  .cwt-mobile-toggle {
    display: none !important;
  }
  .cwt-hero-section {
    padding: 32px 0 36px;
    width: 100%;
    overflow: hidden;
  }
  .cwt-hero-section .cwt-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .cwt-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .cwt-hero-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .cwt-hero-title {
    font-size: clamp(1.85rem, 4.5vw, 2.5rem);
    width: 100%;
    max-width: 100%;
  }
  .cwt-hero-subtitle {
    width: 100% !important;
    max-width: 100% !important;
  }
  .cwt-hero-search-box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .cwt-hero-buttons {
    width: 100% !important;
    max-width: 100% !important;
  }
  .cwt-hero-visual {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .cwt-tech-card-container {
    width: 100% !important;
    max-width: 100% !important;
  }
  .cwt-floating-card,
  .cwt-card-version-tag,
  .cwt-product-card .cwt-card-version-tag,
  .cwt-rating-wrap,
  .cwt-product-card .cwt-rating-wrap,
  .cwt-product-card .star-rating,
  .cwt-product-card .woocommerce-product-rating,
  .cwt-card-overlay-actions {
    display: none !important;
  }
  .cwt-trust-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .cwt-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .cwt-web-tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .cwt-dev-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .cwt-wp-resource-grid {
    grid-template-columns: 1fr;
  }
  .cwt-wp-resource-visual {
    display: none;
  }
  .cwt-blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .cwt-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .cwt-shop-layout {
    grid-template-columns: 1fr;
  }
  .cwt-checkout-layout {
    grid-template-columns: 1fr;
  }
  .cwt-deals-trust-banner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large Mobile & Phablets (max-width: 767px) */
@media (max-width: 767px) {
  .cwt-top-announcement-bar {
    padding: 8px 12px;
  }
  .cwt-top-announcement-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .cwt-hero-section {
    padding: 28px 0 32px;
  }
  .cwt-hero-section .cwt-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .cwt-hero-badge {
    font-size: 0.72rem;
    padding: 3px 10px;
    margin-bottom: 12px;
    line-height: 1.35;
  }
  .cwt-hero-title {
    font-size: clamp(1.6rem, 6.5vw, 2.1rem);
    line-height: 1.22;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
  }
  .cwt-hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .cwt-hero-search-box {
    padding: 4px 6px;
    border-radius: 12px;
    margin-bottom: 14px;
    width: 100% !important;
  }
  .cwt-hero-search-form {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
  }
  .cwt-hero-search-input {
    width: 100%;
    padding: 8px 6px;
    font-size: 0.86rem;
    min-width: 0;
    flex: 1;
  }
  .cwt-hero-search-submit {
    padding: 8px 14px;
    font-size: 0.82rem;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .cwt-hero-buttons {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    gap: 10px;
    margin-top: 14px;
  }
  .cwt-hero-buttons .cwt-btn {
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 12px;
    box-sizing: border-box;
    text-align: center;
  }
  /* Subtle Section Padding on Mobile */
  .cwt-section {
    padding: 22px 0 !important;
  }
  .cwt-section-header {
    margin-bottom: 16px !important;
    gap: 8px !important;
  }
  .cwt-section-title {
    font-size: 1.25rem !important;
    margin-top: 4px !important;
  }
  .cwt-section-subtitle {
    font-size: 0.78rem !important;
    margin-top: 4px !important;
    line-height: 1.45 !important;
  }
  .cwt-hero-section {
    padding: 22px 0 24px !important;
  }
  .cwt-trust-features-section {
    padding: 16px 0 !important;
  }
  .cwt-trust-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cwt-flash-sale-section {
    padding: 18px 0 !important;
  }
  .cwt-featured-products-section {
    padding: 22px 0 !important;
  }
  .cwt-web-tools-section {
    padding: 22px 0 !important;
  }
  .cwt-wordpress-section {
    padding: 20px 0 !important;
  }
  .cwt-services-section {
    padding: 20px 0 !important;
  }
  .cwt-blog-section {
    padding: 22px 0 !important;
  }
  .cwt-newsletter-section {
    padding: 18px 0 !important;
  }
  .cwt-flash-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 26px 18px;
    border-radius: 18px;
    width: 100%;
    box-sizing: border-box;
  }
  .cwt-flash-info {
    width: 100%;
    text-align: center;
  }
  .cwt-flash-tag {
    margin-bottom: 8px;
  }
  .cwt-flash-title {
    font-size: 1.45rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }
  .cwt-flash-subtitle {
    font-size: 0.85rem;
    line-height: 1.45;
    margin: 0 auto;
    max-width: 100%;
  }
  .cwt-countdown-wrap {
    width: 100%;
    justify-content: center;
    gap: 5px;
    flex-wrap: nowrap;
  }
  .cwt-countdown-box {
    padding: 8px 6px;
    min-width: 48px;
    flex: 1;
    max-width: 68px;
    border-radius: 10px;
  }
  .cwt-time-val {
    font-size: 1.2rem;
    font-weight: 800;
  }
  .cwt-time-lbl {
    font-size: 0.6rem;
  }
  .cwt-countdown-sep {
    font-size: 1.1rem;
    font-weight: 800;
  }
  .cwt-products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cwt-product-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .cwt-product-price {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    width: 100% !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
  }
  .cwt-product-price del {
    font-size: 0.82rem !important;
  }
  .cwt-product-price ins {
    font-size: 1.05rem !important;
  }
  .cwt-product-cart-wrap {
    width: 100% !important;
    display: block !important;
  }
  .cwt-product-cart-wrap .cwt-ajax-cart-btn,
  .cwt-product-cart-wrap a.button,
  .cwt-product-card .add_to_cart_button {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  /* Web Tools Mobile Optimization */
  .cwt-web-tools-section {
    padding: 36px 0 40px;
  }
  .cwt-web-tools-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
  }
  .cwt-tool-card {
    padding: 18px 16px;
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
  }
  .cwt-tool-card-top {
    margin-bottom: 12px;
  }
  .cwt-tool-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }
  .cwt-tool-icon-wrap svg {
    width: 18px;
    height: 18px;
  }
  .cwt-tool-badge {
    font-size: 0.68rem;
    padding: 2px 6px;
  }
  .cwt-tool-title {
    font-size: 0.94rem;
    margin-bottom: 5px;
  }
  .cwt-tool-desc {
    font-size: 0.76rem;
    line-height: 1.4;
    margin-bottom: 14px;
  }
  .cwt-launch-tool-btn {
    width: 100% !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 0.80rem !important;
    font-weight: 700 !important;
    border-radius: 9px !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
  }
  .cwt-launch-tool-btn svg {
    flex-shrink: 0 !important;
    width: 15px !important;
    height: 15px !important;
  }
  .cwt-tool-modal-backdrop {
    padding: 12px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .cwt-tool-modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 88vh !important;
    padding: 20px 16px !important;
    border-radius: 16px !important;
    margin: 0 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
  }
  .cwt-tool-modal-header {
    margin-bottom: 14px !important;
    padding-bottom: 10px !important;
  }
  .cwt-tool-modal-title {
    font-size: 1.15rem !important;
  }
  .cwt-tool-ui {
    gap: 12px !important;
  }
  .cwt-tool-input,
  .cwt-tool-textarea,
  .cwt-tool-select {
    font-size: 0.86rem !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .cwt-tool-actions-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
  .cwt-tool-actions-row .cwt-btn {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    justify-content: center !important;
    height: 38px !important;
    padding: 0 8px !important;
    font-size: 0.80rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
  .cwt-tool-dropzone {
    padding: 18px 12px !important;
  }
  .cwt-tool-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .cwt-color-harmony-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .cwt-ai-pill-tabs {
    gap: 8px !important;
    padding-bottom: 12px !important;
  }
  .cwt-pill-tab {
    padding: 6px 14px !important;
    font-size: 0.8rem !important;
  }
  /* Compact WordPress Ecosystem Mobile */
  .cwt-wordpress-section {
    padding: 28px 0 32px !important;
  }
  .cwt-wp-banner-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
    margin-bottom: 14px !important;
    gap: 16px !important;
    grid-template-columns: 1fr !important;
  }
  .cwt-wp-banner-card .cwt-section-title {
    font-size: 1.25rem !important;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
  }
  .cwt-wp-banner-card .cwt-section-subtitle {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    margin-bottom: 16px !important;
  }
  .cwt-btn-wp-cta {
    width: 100% !important;
    height: 40px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    justify-content: center !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }
  .cwt-btn-wp-cta span {
    white-space: nowrap !important;
    word-break: keep-all !important;
  }
  .cwt-btn-wp-cta svg {
    flex-shrink: 0 !important;
    width: 14px !important;
    height: 14px !important;
  }
  .cwt-wp-banner-visual {
    padding: 0 !important;
    margin-top: -6px !important;
  }
  .cwt-wp-emblem-wrap {
    padding: 6px 0 !important;
  }
  .cwt-wp-svg-box {
    width: 76px !important;
    height: 76px !important;
  }
  .cwt-wp-main-svg {
    width: 46px !important;
    height: 46px !important;
  }
  .cwt-wp-floating-pill {
    display: none !important;
  }
  .cwt-wp-emblem-glow {
    width: 110px !important;
    height: 110px !important;
  }
  .cwt-wp-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .cwt-wp-card {
    padding: 12px 10px !important;
    border-radius: 12px !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: flex-start !important;
  }
  .cwt-wp-card-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
  }
  .cwt-wp-card-icon svg {
    width: 16px !important;
    height: 16px !important;
  }
  .cwt-wp-card-tag {
    font-size: 0.62rem !important;
  }
  .cwt-wp-card-title {
    font-size: 0.82rem !important;
    margin-bottom: 2px !important;
    line-height: 1.25 !important;
  }
  .cwt-wp-card-desc {
    display: none !important;
  }
  /* Compact Services Section Mobile */
  .cwt-services-section {
    padding: 28px 0 32px !important;
  }
  .cwt-services-banner {
    padding: 20px 16px !important;
    border-radius: 16px !important;
    margin-bottom: 16px !important;
    gap: 16px !important;
  }
  .cwt-badge-service {
    font-size: 0.68rem !important;
    padding: 2px 8px !important;
  }
  .cwt-services-heading {
    font-size: 1.22rem !important;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
  }
  .cwt-services-subtext {
    font-size: 0.76rem !important;
    line-height: 1.45 !important;
    margin-top: 4px !important;
    margin-bottom: 14px !important;
  }
  .cwt-services-banner-cta {
    width: 100% !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .cwt-services-banner-cta .cwt-btn {
    width: 100% !important;
    height: 38px !important;
    font-size: 0.80rem !important;
    justify-content: center !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
  }
  .cwt-services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .cwt-service-card {
    padding: 14px 12px !important;
    border-radius: 12px !important;
  }
  .cwt-service-icon-box {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    margin-bottom: 10px !important;
  }
  .cwt-service-icon-box svg {
    width: 16px !important;
    height: 16px !important;
  }
  .cwt-service-title {
    font-size: 0.82rem !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
  }
  .cwt-service-desc {
    font-size: 0.70rem !important;
    line-height: 1.35 !important;
  }
  .cwt-dev-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cwt-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* Ultra-Modern VIP Hub Newsletter Mobile */
  .cwt-newsletter-section {
    padding: 22px 0 28px !important;
  }
  .cwt-nl-box {
    padding: 22px 16px !important;
    border-radius: 18px !important;
  }
  .cwt-nl-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .cwt-nl-pill {
    font-size: 0.64rem !important;
    padding: 3px 10px !important;
    margin-bottom: 8px !important;
  }
  .cwt-nl-heading {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }
  .cwt-nl-lead {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
  }
  .cwt-nl-perks {
    gap: 6px !important;
  }
  .cwt-nl-perk-item {
    font-size: 0.78rem !important;
    gap: 8px !important;
  }
  .cwt-nl-form-card {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }
  .cwt-nl-form-header {
    gap: 10px !important;
    margin-bottom: 14px !important;
  }
  .cwt-nl-form-icon-wrap {
    width: 32px !important;
    height: 32px !important;
  }
  .cwt-nl-form-icon-wrap svg {
    width: 16px !important;
    height: 16px !important;
  }
  .cwt-nl-form-title {
    font-size: 0.95rem !important;
  }
  .cwt-nl-form-sub {
    font-size: 0.70rem !important;
  }
  .cwt-nl-field {
    height: 38px !important;
    font-size: 0.80rem !important;
    padding: 0 12px !important;
  }
  .cwt-nl-btn-submit {
    height: 40px !important;
    font-size: 0.82rem !important;
  }
  .cwt-nl-social-proof {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 12px !important;
    padding-top: 10px !important;
  }
  .cwt-nl-avatar {
    width: 20px !important;
    height: 20px !important;
    font-size: 9px !important;
    margin-left: -4px !important;
  }
  .cwt-nl-proof-text {
    font-size: 0.68rem !important;
  }
  .cwt-nl-stars {
    font-size: 0.62rem !important;
  }
  .cwt-newsletter-inputs {
    gap: 6px !important;
  }
  .cwt-newsletter-inputs input,
  .cwt-form-input {
    width: 100% !important;
    height: 36px !important;
    font-size: 0.75rem !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
  .cwt-nl-submit,
  .cwt-newsletter-form button {
    width: 100% !important;
    height: 36px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    justify-content: center !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
  }
  .cwt-newsletter-trust-tags {
    margin-top: 8px !important;
    font-size: 0.58rem !important;
    gap: 4px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  .cwt-nl-tag {
    font-size: 0.58rem !important;
  }
  .cwt-nl-tag svg {
    width: 10px !important;
    height: 10px !important;
  }
  .cwt-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cwt-footer-bottom-inner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .cwt-shop-hero-banner {
    padding: 28px 18px;
    border-radius: 16px;
  }
  .cwt-shop-title {
    font-size: 1.7rem;
  }
  .cwt-deals-trust-banner {
    grid-template-columns: 1fr;
  }
}

/* Extra Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .cwt-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  .cwt-header-actions {
    gap: 6px;
  }
  .cwt-action-btn {
    width: 36px;
    height: 36px;
  }
  .cwt-currency-toggle {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
  .cwt-hero-title {
    font-size: 1.5rem;
  }
  .cwt-section-title {
    font-size: 1.45rem;
  }
  .cwt-countdown-box {
    padding: 6px 8px;
    min-width: 46px;
  }
  .cwt-time-val {
    font-size: 1.15rem;
  }
  .cwt-time-lbl {
    font-size: 0.6rem;
  }
  .cwt-product-footer,
  .cwt-card-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .cwt-product-price {
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    width: 100% !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    margin-bottom: 2px !important;
  }
  .cwt-product-price del {
    font-size: 0.78rem !important;
  }
  .cwt-product-price ins {
    font-size: 0.98rem !important;
  }
  .cwt-product-cart-wrap {
    width: 100% !important;
    display: block !important;
  }
  .cwt-product-cart-wrap .cwt-ajax-cart-btn,
  .cwt-product-cart-wrap a.button,
  .cwt-product-card .add_to_cart_button,
  .cwt-card-btn-buy {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .cwt-pagination,
  .navigation.pagination,
  .woocommerce-pagination {
    margin: 28px auto 14px !important;
  }
  .cwt-pagination .nav-links,
  .navigation.pagination .nav-links,
  .woocommerce-pagination ul.page-numbers {
    gap: 6px !important;
    padding: 0 !important;
  }
  .cwt-pagination .page-numbers,
  .navigation.pagination .nav-links .page-numbers,
  .woocommerce-pagination .page-numbers,
  .woocommerce-pagination ul.page-numbers li .page-numbers {
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 10px !important;
    font-size: 0.82rem !important;
    border-radius: 7px !important;
  }
  .cwt-pagination .page-numbers.prev,
  .cwt-pagination .page-numbers.next,
  .woocommerce-pagination .prev,
  .woocommerce-pagination .next {
    padding: 0 12px !important;
    font-size: 0.76rem !important;
  }
}

/* --------------------------------------------------------------------------
   26. Dedicated Mobile Header & Navigation System
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .cwt-site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    height: 64px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
  }
  [data-theme="dark"] .cwt-site-header {
    background: rgba(11, 15, 25, 0.96) !important;
  }
  .cwt-header-inner {
    height: 100%;
    gap: 10px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .cwt-header-search-wrap {
    display: none !important;
  }
  .cwt-main-navigation {
    display: none !important;
  }
  .cwt-header-left-wrap {
    gap: 8px;
    flex-shrink: 1;
    min-width: 0;
  }
  .cwt-brand-text {
    min-width: 0;
  }
  .cwt-brand-name {
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cwt-brand-tagline {
    display: none;
  }
  .cwt-category-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .cwt-cat-btn-icon svg {
    width: 18px;
    height: 18px;
  }
  .cwt-header-actions {
    gap: 6px;
    flex-shrink: 0;
  }
  .cwt-currency-toggle {
    height: 36px;
    padding: 4px 8px;
    font-size: 0.76rem;
    gap: 4px;
    border-radius: 8px;
  }
  .cwt-curr-flag {
    font-size: 0.95rem;
  }
  .cwt-action-btn,
  .cwt-mobile-toggle {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px;
    padding: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .cwt-action-btn svg,
  .cwt-mobile-toggle svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 767px) {
  .cwt-announcement-bar {
    padding: 6px 0;
  }
  .cwt-announcement-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 0 12px;
  }
  .cwt-announcement-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
  }
  .cwt-ann-pill {
    padding: 2px 6px;
    font-size: 0.65rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .cwt-ann-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.74rem;
  }
  .cwt-announcement-arrow {
    display: none;
  }
  .cwt-announcement-close {
    width: 22px;
    height: 22px;
    padding: 0;
    flex-shrink: 0;
  }
}

@media (max-width: 420px) {
  .cwt-header-inner {
    gap: 6px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .cwt-header-left-wrap {
    gap: 6px;
  }
  .cwt-brand-name {
    font-size: 0.95rem;
  }
  .cwt-currency-toggle .cwt-curr-code {
    display: none;
  }
  .cwt-header-actions {
    gap: 4px;
  }
  .cwt-action-btn,
  .cwt-mobile-toggle,
  .cwt-category-toggle-btn {
    width: 34px !important;
    height: 34px !important;
  }
}

/* ==========================================================================
   404 ERROR PAGE STYLES - ULTRA MODERN SAAS & DIGITAL MARKETPLACE
   ========================================================================== */
.cwt-404-page-section {
  position: relative;
  padding: 60px 0 90px;
  overflow: hidden;
  background: var(--cwt-bg);
  min-height: calc(100vh - 200px);
}

/* Ambient Glowing Background Orbs & Tech Mesh Grid */
.cwt-404-mesh-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 70%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .cwt-404-mesh-bg {
  background-image: 
    linear-gradient(to right, rgba(56, 189, 248, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.07) 1px, transparent 1px);
}

.cwt-404-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.cwt-404-glow-orb.orb-1 {
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 350px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(124, 58, 237, 0.12) 100%);
}

.cwt-404-glow-orb.orb-2 {
  top: 30%;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
}

.cwt-404-glow-orb.orb-3 {
  top: 40%;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, transparent 70%);
}

/* Main 404 Hero Card */
.cwt-404-hero-card {
  position: relative;
  z-index: 1;
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-xl);
  padding: 50px 36px 46px;
  text-align: center;
  box-shadow: var(--cwt-shadow-lg);
  max-width: 900px;
  margin: 0 auto 50px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

[data-theme="dark"] .cwt-404-hero-card {
  background: rgba(19, 27, 46, 0.85);
  border-color: rgba(56, 189, 248, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Badge Pill */
.cwt-404-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--cwt-primary);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--cwt-radius-full);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

[data-theme="dark"] .cwt-404-badge-pill {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38BDF8;
}

.cwt-404-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 10px #EF4444;
  animation: cwtPulseDot 1.5s infinite;
}

@keyframes cwtPulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* 404 Large Numeric & Hologram Centerpiece */
.cwt-404-visual-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.cwt-404-large-num {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--cwt-font-heading);
  font-size: 7.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  user-select: none;
}

.cwt-404-large-num .num-digit {
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 50%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 20px rgba(37, 99, 235, 0.25));
}

[data-theme="dark"] .cwt-404-large-num .num-digit {
  background: linear-gradient(135deg, #38BDF8 0%, #818CF8 50%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 30px rgba(56, 189, 248, 0.4));
}

.cwt-404-center-icon-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cwt-404-radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(37, 99, 235, 0.35);
  animation: cwtRotateRadar 18s linear infinite;
}

.cwt-404-radar-ring.ring-1 {
  width: 100px;
  height: 100px;
  border-color: rgba(37, 99, 235, 0.4);
}

.cwt-404-radar-ring.ring-2 {
  width: 80px;
  height: 80px;
  border-color: rgba(124, 58, 237, 0.4);
  animation-direction: reverse;
  animation-duration: 12s;
}

.cwt-404-radar-ring.ring-3 {
  width: 60px;
  height: 60px;
  border-color: rgba(236, 72, 153, 0.4);
}

[data-theme="dark"] .cwt-404-radar-ring {
  border-color: rgba(56, 189, 248, 0.5);
}

@keyframes cwtRotateRadar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cwt-404-icon-center {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--cwt-primary) 0%, var(--cwt-secondary) 100%);
  color: #FFFFFF;
  border-radius: var(--cwt-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  z-index: 2;
  animation: cwtFloatCode 3s ease-in-out infinite alternate;
}

.cwt-404-icon-center svg {
  width: 28px;
  height: 28px;
}

@keyframes cwtFloatCode {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-6px) scale(1.04); }
}

/* Terminal Pill */
.cwt-404-terminal-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #090D16;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--cwt-radius-full);
  padding: 6px 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  max-width: 90%;
  overflow: hidden;
}

.cwt-term-dots {
  display: flex;
  gap: 5px;
}

.cwt-term-dots .term-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.cwt-term-dots .dot-red { background: #EF4444; }
.cwt-term-dots .dot-yellow { background: #F59E0B; }
.cwt-term-dots .dot-green { background: #10B981; }

.cwt-term-code {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.78rem;
  color: #E2E8F0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cwt-term-comment {
  color: #64748B;
  font-style: italic;
}

/* Typography */
.cwt-404-heading {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--cwt-dark);
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.cwt-404-heading .cwt-text-gradient {
  display: block;
  font-size: 1.9rem;
  background: linear-gradient(135deg, var(--cwt-primary) 0%, var(--cwt-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 4px;
}

[data-theme="dark"] .cwt-404-heading {
  color: #F8FAFC;
}

[data-theme="dark"] .cwt-404-heading .cwt-text-gradient {
  background: linear-gradient(135deg, #38BDF8 0%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cwt-404-subtext {
  color: var(--cwt-text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto 28px;
}

/* Live Search Box on 404 */
.cwt-404-search-wrapper {
  max-width: 580px;
  margin: 0 auto 30px;
}

.cwt-404-search-form {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--cwt-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-full);
  padding: 5px 6px 5px 44px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

[data-theme="dark"] .cwt-404-search-form {
  background: rgba(15, 23, 42, 0.9);
  border-color: var(--cwt-border);
}

.cwt-404-search-form:focus-within {
  border-color: var(--cwt-primary);
  box-shadow: 0 0 0 4px var(--cwt-primary-light);
  background: var(--cwt-card-bg);
}

.cwt-404-search-icon {
  position: absolute;
  left: 16px;
  color: var(--cwt-text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.cwt-404-search-icon svg {
  width: 18px;
  height: 18px;
}

.cwt-404-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.92rem;
  color: var(--cwt-text);
  padding: 8px 10px;
  width: 100%;
}

.cwt-404-search-btn {
  padding: 10px 20px !important;
  font-size: 0.88rem !important;
  border-radius: var(--cwt-radius-full) !important;
  white-space: nowrap;
}

/* Action Buttons */
.cwt-404-action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cwt-btn-glow {
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4) !important;
}

.cwt-btn-glow:hover {
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.55) !important;
}

/* 3-Column Shortcuts Grid */
.cwt-404-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.cwt-404-shortcut-card {
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-lg);
  padding: 26px 22px;
  box-shadow: var(--cwt-shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cwt-404-shortcut-card:hover {
  transform: translateY(-4px);
  border-color: var(--cwt-primary);
  box-shadow: var(--cwt-shadow-hover);
}

.cwt-shortcut-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cwt-border);
}

.cwt-shortcut-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--cwt-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cwt-shortcut-icon-box.icon-purple {
  background: rgba(124, 58, 237, 0.12);
  color: var(--cwt-secondary);
}

.cwt-shortcut-icon-box.icon-blue {
  background: rgba(37, 99, 235, 0.12);
  color: var(--cwt-primary);
}

.cwt-shortcut-icon-box.icon-green {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
}

.cwt-shortcut-icon-box svg {
  width: 22px;
  height: 22px;
}

.cwt-shortcut-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: var(--cwt-dark);
}

[data-theme="dark"] .cwt-shortcut-title {
  color: #F8FAFC;
}

.cwt-shortcut-sub {
  font-size: 0.76rem;
  color: var(--cwt-text-muted);
  font-weight: 600;
  display: block;
}

.cwt-shortcut-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cwt-shortcut-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--cwt-radius-sm);
  background: var(--cwt-bg);
  border: 1px solid var(--cwt-border);
  color: var(--cwt-text);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

[data-theme="dark"] .cwt-shortcut-link-item {
  background: rgba(15, 23, 42, 0.6);
}

.cwt-shortcut-link-item span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cwt-shortcut-link-item span svg {
  color: var(--cwt-primary);
  flex-shrink: 0;
}

.cwt-shortcut-link-item svg:last-child {
  width: 14px;
  height: 14px;
  color: var(--cwt-text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.cwt-shortcut-link-item:hover {
  background: var(--cwt-primary-light);
  border-color: var(--cwt-primary);
  color: var(--cwt-primary);
  transform: translateX(3px);
}

.cwt-shortcut-link-item:hover svg:last-child {
  transform: translateX(2px);
  color: var(--cwt-primary);
}

/* Recommended Products on 404 */
.cwt-404-recommended-section {
  position: relative;
  z-index: 1;
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-xl);
  padding: 36px 30px;
  box-shadow: var(--cwt-shadow-sm);
}

.cwt-404-rec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cwt-border);
}

.cwt-404-rec-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 4px 0 0 0;
  color: var(--cwt-dark);
}

[data-theme="dark"] .cwt-404-rec-title {
  color: #F8FAFC;
}

/* 404 Responsive Queries */
@media (max-width: 991px) {
  .cwt-404-shortcuts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cwt-404-large-num {
    font-size: 5.5rem;
  }
  .cwt-404-center-icon-wrap {
    width: 80px;
    height: 80px;
  }
  .cwt-404-radar-ring.ring-1 {
    width: 80px;
    height: 80px;
  }
  .cwt-404-radar-ring.ring-2 {
    width: 65px;
    height: 65px;
  }
  .cwt-404-radar-ring.ring-3 {
    width: 50px;
    height: 50px;
  }
  .cwt-404-heading {
    font-size: 1.85rem;
  }
  .cwt-404-heading .cwt-text-gradient {
    font-size: 1.5rem;
  }
  .cwt-404-hero-card {
    padding: 36px 20px 30px;
  }
}

@media (max-width: 640px) {
  .cwt-404-page-section {
    padding: 30px 0 60px;
  }
  .cwt-404-large-num {
    font-size: 4rem;
  }
  .cwt-404-center-icon-wrap {
    width: 60px;
    height: 60px;
  }
  .cwt-404-icon-center {
    width: 40px;
    height: 40px;
  }
  .cwt-404-icon-center svg {
    width: 20px;
    height: 20px;
  }
  .cwt-404-radar-ring.ring-1 {
    width: 60px;
    height: 60px;
  }
  .cwt-404-radar-ring.ring-2 {
    width: 48px;
    height: 48px;
  }
  .cwt-404-radar-ring.ring-3 {
    width: 38px;
    height: 38px;
  }
  .cwt-404-search-form {
    flex-direction: column;
    padding: 10px 14px 10px 40px;
    border-radius: var(--cwt-radius-md);
    gap: 10px;
  }
  .cwt-404-search-icon {
    top: 22px;
  }
  .cwt-404-search-btn {
    width: 100% !important;
    justify-content: center;
  }
  .cwt-404-action-buttons .cwt-btn {
    width: 100%;
  }
  .cwt-404-rec-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ==========================================================================
   SUPPORT & HELP DESK SYSTEM STYLES (FLOATING WIDGET & DEDICATED PAGE)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Floating Support Launcher & Popover Widget
   -------------------------------------------------------------------------- */
.cwt-floating-support-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1999;
}

@media (max-width: 768px) {
  .cwt-floating-support-wrap {
    bottom: 80px; /* Above mobile bottom bar */
    right: 16px;
  }
}

.cwt-support-launcher-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  border: none;
  padding: 12px 20px 12px 16px;
  border-radius: var(--cwt-radius-full);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cwt-support-launcher-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.55);
}

.cwt-support-pulse-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: var(--cwt-radius-full);
  border: 2px solid rgba(37, 99, 235, 0.6);
  animation: cwtSupportPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes cwtSupportPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.cwt-support-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  flex-shrink: 0;
}

.cwt-launcher-icon-open,
.cwt-launcher-icon-close {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.cwt-launcher-icon-close {
  display: none;
}

.cwt-floating-support-wrap.is-open .cwt-launcher-icon-open {
  display: none;
}

.cwt-floating-support-wrap.is-open .cwt-launcher-icon-close {
  display: flex;
}

.cwt-floating-support-wrap.is-open .cwt-support-launcher-btn {
  background: #0F172A;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cwt-support-badge-label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

@media (max-width: 480px) {
  .cwt-support-badge-label {
    display: none;
  }
  .cwt-support-launcher-btn {
    padding: 14px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    justify-content: center;
  }
  .cwt-support-status-dot {
    position: absolute;
    top: 4px;
    right: 4px;
  }
}

/* Popover Modal Card */
.cwt-support-popover {
  position: absolute;
  bottom: calc(100% + 16px);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .cwt-support-popover {
  background: rgba(19, 27, 46, 0.96);
  border-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.cwt-floating-support-wrap.is-open .cwt-support-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.cwt-support-popover-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
  border-bottom: 1px solid var(--cwt-border);
}

.cwt-support-avatar-box {
  position: relative;
}

.cwt-support-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--cwt-radius-md);
  background: linear-gradient(135deg, var(--cwt-primary) 0%, var(--cwt-secondary) 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cwt-avatar-online-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid var(--cwt-card-bg);
}

.cwt-support-header-info {
  flex: 1;
}

.cwt-support-agent-title {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 2px 0;
  color: var(--cwt-dark);
}

[data-theme="dark"] .cwt-support-agent-title {
  color: #F8FAFC;
}

.cwt-support-agent-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--cwt-text-muted);
  font-weight: 600;
}

.cwt-green-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
}

.cwt-support-popover-close {
  background: transparent;
  border: none;
  color: var(--cwt-text-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cwt-support-popover-close:hover {
  background: var(--cwt-border);
  color: var(--cwt-dark);
}

/* SLA Bar */
.cwt-support-sla-bar {
  background: rgba(37, 99, 235, 0.06);
  padding: 6px 18px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cwt-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--cwt-border);
}

[data-theme="dark"] .cwt-support-sla-bar {
  background: rgba(56, 189, 248, 0.08);
  color: #38BDF8;
}

/* Tabs Nav */
.cwt-support-tabs-nav {
  display: flex;
  padding: 8px 14px;
  gap: 6px;
  background: var(--cwt-bg);
  border-bottom: 1px solid var(--cwt-border);
}

.cwt-support-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--cwt-radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cwt-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cwt-support-tab-btn svg {
  width: 14px;
  height: 14px;
}

.cwt-support-tab-btn:hover {
  color: var(--cwt-dark);
  background: rgba(0, 0, 0, 0.04);
}

.cwt-support-tab-btn.active {
  background: var(--cwt-card-bg);
  border-color: var(--cwt-border);
  color: var(--cwt-primary);
  box-shadow: var(--cwt-shadow-sm);
}

[data-theme="dark"] .cwt-support-tab-btn.active {
  background: #1E293B;
  color: #38BDF8;
}

/* Tab Content */
.cwt-support-tab-content {
  display: none;
  padding: 18px 20px;
  max-height: 400px;
  overflow-y: auto;
}

.cwt-support-tab-content.active {
  display: block;
}

.cwt-support-lead-p {
  font-size: 0.82rem;
  color: var(--cwt-text-muted);
  margin: 0 0 14px 0;
  line-height: 1.5;
}

/* Direct Channels */
.cwt-support-channel-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cwt-support-channel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--cwt-radius-md);
  border: 1px solid var(--cwt-border);
  background: var(--cwt-bg);
  color: var(--cwt-text);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cwt-support-channel-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--cwt-shadow-sm);
}

.cwt-support-channel-item.ch-whatsapp:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.06);
}

.cwt-support-channel-item.ch-telegram:hover {
  border-color: #229ED9;
  background: rgba(34, 158, 217, 0.06);
}

.cwt-support-channel-item.ch-email:hover {
  border-color: var(--cwt-primary);
  background: var(--cwt-primary-light);
}

.cwt-ch-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--cwt-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cwt-ch-icon-wrap.icon-wa {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
}

.cwt-ch-icon-wrap.icon-tg {
  background: rgba(34, 158, 217, 0.15);
  color: #229ED9;
}

.cwt-ch-icon-wrap.icon-email {
  background: rgba(37, 99, 235, 0.12);
  color: var(--cwt-primary);
}

.cwt-ch-info {
  flex: 1;
  min-width: 0;
}

.cwt-ch-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cwt-dark);
  display: block;
  margin-bottom: 2px;
}

[data-theme="dark"] .cwt-ch-name {
  color: #F8FAFC;
}

.cwt-ch-desc {
  font-size: 0.74rem;
  color: var(--cwt-text-muted);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cwt-ch-arrow {
  color: var(--cwt-text-muted);
  display: flex;
  transition: transform 0.2s ease;
}

.cwt-ch-arrow svg {
  width: 14px;
  height: 14px;
}

.cwt-support-channel-item:hover .cwt-ch-arrow {
  transform: translateX(3px);
  color: var(--cwt-primary);
}

.cwt-support-hours-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--cwt-text-muted);
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--cwt-border);
}

/* Quick Ticket Form in Popover */
.cwt-support-quick-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cwt-support-input,
.cwt-support-select,
.cwt-support-textarea {
  width: 100%;
  padding: 8px 12px;
  background: var(--cwt-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-sm);
  font-size: 0.82rem;
  color: var(--cwt-text);
  outline: none;
  box-sizing: border-box;
}

.cwt-support-input:focus,
.cwt-support-select:focus,
.cwt-support-textarea:focus {
  border-color: var(--cwt-primary);
  box-shadow: 0 0 0 3px var(--cwt-primary-light);
  background: var(--cwt-card-bg);
}

.cwt-support-form-status {
  padding: 10px 14px;
  border-radius: var(--cwt-radius-sm);
  font-size: 0.8rem;
  line-height: 1.4;
}

.cwt-support-form-status.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
}

.cwt-support-form-status.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #EF4444;
}

/* Quick FAQs in Popover */
.cwt-quick-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cwt-faq-item {
  background: var(--cwt-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.cwt-faq-item.active {
  border-color: var(--cwt-primary);
}

.cwt-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: transparent;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cwt-dark);
  text-align: left;
  cursor: pointer;
}

[data-theme="dark"] .cwt-faq-question {
  color: #F8FAFC;
}

.cwt-faq-question svg {
  width: 14px;
  height: 14px;
  color: var(--cwt-text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.cwt-faq-item.active .cwt-faq-question svg {
  transform: rotate(90deg);
  color: var(--cwt-primary);
}

.cwt-faq-answer {
  display: none;
  padding: 0 12px 12px;
  font-size: 0.78rem;
  color: var(--cwt-text-muted);
  line-height: 1.5;
}

.cwt-faq-item.active .cwt-faq-answer {
  display: block;
}

.cwt-faq-answer p {
  margin: 0;
}

.cwt-support-popover-footer {
  padding: 10px 16px;
  background: var(--cwt-bg);
  border-top: 1px solid var(--cwt-border);
  text-align: center;
}

.cwt-help-desk-link {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cwt-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.cwt-help-desk-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   2. Dedicated Support & Help Page (page-support.php)
   -------------------------------------------------------------------------- */
.cwt-support-page-section {
  padding-bottom: 80px;
}

.cwt-support-hero {
  padding: 50px 0 40px;
  text-align: center;
  position: relative;
}

.cwt-support-hero-card {
  max-width: 820px;
  margin: 0 auto;
}

.cwt-support-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--cwt-primary);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--cwt-radius-full);
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.cwt-support-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: cwtPulseDot 1.5s infinite;
}

.cwt-support-hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  margin: 0 0 14px 0;
  color: var(--cwt-dark);
  letter-spacing: -0.5px;
}

[data-theme="dark"] .cwt-support-hero-title {
  color: #F8FAFC;
}

.cwt-support-hero-sub {
  font-size: 1.05rem;
  color: var(--cwt-text-muted);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 30px;
}

.cwt-support-hero-search {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
}

.cwt-support-hero-search input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: var(--cwt-radius-full);
  border: 1px solid var(--cwt-border);
  background: var(--cwt-card-bg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
  color: var(--cwt-text);
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.cwt-support-hero-search input:focus {
  border-color: var(--cwt-primary);
  box-shadow: 0 0 0 4px var(--cwt-primary-light);
}

.cwt-hero-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cwt-text-muted);
  display: flex;
}

.cwt-hero-search-icon svg {
  width: 18px;
  height: 18px;
}

/* 4-Card Channels Grid */
.cwt-support-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.cwt-channel-card {
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--cwt-text);
  box-shadow: var(--cwt-shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cwt-channel-card.card-wa:hover { border-color: #25D366; }
.cwt-channel-card.card-tg:hover { border-color: #229ED9; }
.cwt-channel-card.card-email:hover { border-color: var(--cwt-primary); }
.cwt-channel-card.card-dev:hover { border-color: var(--cwt-secondary); }

.cwt-channel-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--cwt-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cwt-channel-icon-box.icon-wa { background: rgba(37, 211, 102, 0.12); color: #25D366; }
.cwt-channel-icon-box.icon-tg { background: rgba(34, 158, 217, 0.12); color: #229ED9; }
.cwt-channel-icon-box.icon-email { background: rgba(37, 99, 235, 0.12); color: var(--cwt-primary); }
.cwt-channel-icon-box.icon-dev { background: rgba(124, 58, 237, 0.12); color: var(--cwt-secondary); }

.cwt-channel-title {
  font-size: 1.08rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: var(--cwt-dark);
}

[data-theme="dark"] .cwt-channel-title {
  color: #F8FAFC;
}

.cwt-channel-desc {
  font-size: 0.84rem;
  color: var(--cwt-text-muted);
  line-height: 1.5;
  margin: 0 0 16px 0;
  flex: 1;
}

.cwt-channel-action {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--cwt-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.cwt-channel-card:hover .cwt-channel-action {
  text-decoration: underline;
}

/* Support Main 2-Column Layout */
.cwt-support-main-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
}

.cwt-support-card {
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-xl);
  padding: 32px;
  box-shadow: var(--cwt-shadow-sm);
}

/* Desk Switcher Tabs */
.cwt-desk-tab-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cwt-border);
}

.cwt-desk-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--cwt-radius-full);
  border: 1px solid var(--cwt-border);
  background: var(--cwt-bg);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cwt-text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.cwt-desk-tab-btn.active {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  border-color: #1D4ED8;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.cwt-desk-tab-pane {
  display: none;
}

.cwt-desk-tab-pane.active {
  display: block;
}

.cwt-pane-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 6px 0;
  color: var(--cwt-dark);
}

[data-theme="dark"] .cwt-pane-title {
  color: #F8FAFC;
}

.cwt-pane-sub {
  font-size: 0.88rem;
  color: var(--cwt-text-muted);
  margin: 0 0 24px 0;
  line-height: 1.5;
}

/* Form Styles */
.cwt-ticket-form,
.cwt-tracker-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cwt-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.cwt-form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cwt-dark);
}

[data-theme="dark"] .cwt-form-group label {
  color: #F8FAFC;
}

.cwt-form-input,
.cwt-form-select,
.cwt-form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--cwt-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-sm);
  font-size: 0.9rem;
  color: var(--cwt-text);
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.cwt-form-input:focus,
.cwt-form-select:focus,
.cwt-form-textarea:focus {
  border-color: var(--cwt-primary);
  box-shadow: 0 0 0 3px var(--cwt-primary-light);
  background: var(--cwt-card-bg);
}

.cwt-ticket-status-box {
  padding: 14px 18px;
  border-radius: var(--cwt-radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
}

.cwt-ticket-status-box.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #065F46;
}

[data-theme="dark"] .cwt-ticket-status-box.success {
  color: #34D399;
}

.cwt-ticket-status-box.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #991B1B;
}

[data-theme="dark"] .cwt-ticket-status-box.error {
  color: #F87171;
}

/* Tracker Result Card */
.cwt-tracker-result-card {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--cwt-radius-md);
  border: 1px solid var(--cwt-border);
  background: var(--cwt-bg);
}

.cwt-track-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cwt-border);
}

.cwt-track-id-badge {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cwt-primary);
}

.cwt-track-status-pill {
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cwt-track-status-pill.open { background: #FEE2E2; color: #DC2626; }
.cwt-track-status-pill.in-progress { background: #FEF3C7; color: #D97706; }
.cwt-track-status-pill.resolved { background: #DCFCE7; color: #15803D; }
.cwt-track-status-pill.closed { background: #F1F5F9; color: #64748B; }

.cwt-track-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: var(--cwt-text-muted);
}

.cwt-track-notes-box {
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* SLA Guarantee Card (Right Column) */
.cwt-sla-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-lg);
  padding: 24px;
  margin-bottom: 30px;
}

.cwt-sla-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cwt-sla-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--cwt-radius-sm);
  background: var(--cwt-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cwt-sla-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 2px 0;
  color: var(--cwt-dark);
}

[data-theme="dark"] .cwt-sla-title {
  color: #F8FAFC;
}

.cwt-sla-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cwt-primary);
}

.cwt-sla-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cwt-sla-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cwt-text);
}

.cwt-sla-list li svg {
  color: #10B981;
  flex-shrink: 0;
}

/* Full FAQ List on Support Page */
.cwt-faq-header {
  margin-bottom: 20px;
}

.cwt-faq-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 8px 0 0 0;
  color: var(--cwt-dark);
}

[data-theme="dark"] .cwt-faq-title {
  color: #F8FAFC;
}

.cwt-full-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cwt-faq-card {
  background: var(--cwt-card-bg);
  border: 1px solid var(--cwt-border);
  border-radius: var(--cwt-radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.cwt-faq-card.active {
  border-color: var(--cwt-primary);
  box-shadow: var(--cwt-shadow-sm);
}

.cwt-faq-card-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cwt-dark);
  text-align: left;
  cursor: pointer;
}

[data-theme="dark"] .cwt-faq-card-head {
  color: #F8FAFC;
}

.cwt-faq-num {
  font-family: monospace;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--cwt-primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.cwt-faq-q-text {
  flex: 1;
}

.cwt-faq-chevron {
  color: var(--cwt-text-muted);
  display: flex;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.cwt-faq-card.active .cwt-faq-chevron {
  transform: rotate(90deg);
  color: var(--cwt-primary);
}

.cwt-faq-card-body {
  display: none;
  padding: 0 20px 18px 56px;
  font-size: 0.88rem;
  color: var(--cwt-text-muted);
  line-height: 1.6;
}

.cwt-faq-card.active .cwt-faq-card-body {
  display: block;
}

.cwt-faq-card-body p {
  margin: 0;
}

/* Responsive Queries for Support Desk */
@media (max-width: 1024px) {
  .cwt-support-channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cwt-support-main-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cwt-support-channels-grid {
    grid-template-columns: 1fr;
  }
  .cwt-support-hero-title {
    font-size: 1.85rem;
  }
  .cwt-form-grid-2 {
    grid-template-columns: 1fr;
  }
  .cwt-support-card {
    padding: 20px 16px;
  }
  .cwt-faq-card-body {
    padding-left: 20px;
  }
}



