/* ==========================================================================
   CHARITY WORLD MARKETING & FOUNDATION – MODERN DESIGN SYSTEM
   Theme:
     Rich Crimson / Wine:   #710605 / #8B0000 / #A81316
     Dark Burgundy / Wine:  #3D0406 / #4A0507
     Dark Oxblood:          #1E0203 / #250302
     Midnight Oxblood/Black:#0C0002 / #140201
     Luxury Emblem Gold:    #D4AF37 / #FFD700
     Light Background:      #FAF5F5 (Warm Pearl Cream)
     White:                 #FFFFFF
     Text:                  #1E1214
   ========================================================================== */

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

:root {
    /* Primary Action & Brand Red (Deep Crimson / Burgundy) */
    --cwm-orange: #8B0000;
    --cwm-orange-hover: #A81316;
    --cwm-orange-light: #B91C1C;
    --cwm-orange-soft: rgba(139, 0, 0, 0.10);
    --cwm-orange-glow: rgba(139, 0, 0, 0.35);
    --cwm-primary: #8B0000;
    --cwm-primary-hover: #A81316;
    --cwm-primary-light: #B91C1C;
    --cwm-primary-soft: rgba(139, 0, 0, 0.10);
    --cwm-primary-glow: 0 6px 20px rgba(139, 0, 0, 0.40);
    /* Logo Theme Colors: Metallic Gold & Neon Glow */
    --cwm-gold: #D4AF37;
    --cwm-gold-light: #FDE047;
    --cwm-gold-dark: #B45309;
    --cwm-gold-soft: rgba(212, 175, 55, 0.15);
    --cwm-gold-glow: 0 4px 18px rgba(212, 175, 55, 0.42);
    --cwm-gradient-gold: linear-gradient(135deg, #FFDE59 0%, #D4AF37 50%, #B8860B 100%);
    --cwm-gradient-metallic-gold: linear-gradient(135deg, #FFE082 0%, #D4AF37 50%, #B8860B 100%);
    /* Logo Shopping Cart Neon Accents */
    --cwm-neon-pink: #FF2E93;
    --cwm-neon-pink-soft: rgba(255, 46, 147, 0.12);
    --cwm-neon-pink-glow: 0 4px 16px rgba(255, 46, 147, 0.35);
    --cwm-neon-cyan: #06B6D4;
    --cwm-neon-green: #10B981;
    /* Deep Wine, Burgundy & Midnight Oxblood/Black */
    --cwm-navy: #3D0406;
    --cwm-navy-hover: #5A0609;
    --cwm-dark-navy: #1E0203;
    --cwm-darker-navy: #0C0002;
    --cwm-navy-soft: rgba(61, 4, 6, 0.08);
    --cwm-light-bg: #FAF5F5;
    --cwm-light-card: #FFFFFF;
    --cwm-white: #FFFFFF;
    --cwm-text: #1E1214;
    --cwm-text-muted: #6B5558;
    --cwm-text-light: #9B8588;
    --cwm-border: #EEDDDE;
    --cwm-border-light: #F7EEEE;
    --cwm-success: #10B981;
    --cwm-success-soft: rgba(16, 185, 129, 0.12);
    --cwm-warning: #F59E0B;
    --cwm-warning-soft: rgba(245, 158, 11, 0.12);
    --cwm-danger: #EF4444;
    --cwm-danger-soft: rgba(239, 68, 68, 0.12);
    --cwm-info: #0284C7;
    --cwm-info-soft: rgba(2, 132, 199, 0.12);
    --cwm-gradient-orange: linear-gradient(135deg, #710605 0%, #991B1B 100%);
    --cwm-gradient-primary: linear-gradient(135deg, #710605 0%, #991B1B 100%);
    --cwm-gradient-navy: linear-gradient(135deg, #200102 0%, #370305 50%, #4E0608 100%);
    --cwm-gradient-hero: linear-gradient(125deg, #012422 0%, #024945 55%, #036661 100%);
    --cwm-gradient-card: linear-gradient(180deg, #FFFFFF 0%, #FAF5F5 100%);
    --cwm-gradient-wine: linear-gradient(135deg, #150102 0%, #380305 50%, #5A0507 100%);
    --cwm-shadow-sm: 0 2px 8px rgba(12, 0, 2, 0.05);
    --cwm-shadow-md: 0 8px 24px -4px rgba(12, 0, 2, 0.10);
    --cwm-shadow-lg: 0 16px 36px -6px rgba(12, 0, 2, 0.16);
    --cwm-shadow-orange: 0 8px 20px -3px rgba(113, 6, 5, 0.40);
    --cwm-radius-sm: 8px;
    --cwm-radius-md: 12px;
    --cwm-radius-lg: 18px;
    --cwm-radius-xl: 24px;
    --cwm-radius-pill: 9999px;
    --cwm-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --cwm-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   BASE & TYPOGRAPHY
   ========================================================================== */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--cwm-font-body);
  background-color: var(--cwm-light-bg);
  color: var(--cwm-text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--cwm-font-heading);
  font-weight: 700;
  color: var(--cwm-navy);
  letter-spacing: -0.02em;
}

a {
  color: var(--cwm-orange);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
a:hover {
  color: var(--cwm-orange-hover);
}

.text-navy {
  color: var(--cwm-navy, #3D0406) !important;
}
.bg-navy {
  background-color: var(--cwm-navy, #3D0406) !important;
}
.border-navy {
  border-color: var(--cwm-navy, #3D0406) !important;
}

/* Color & Size Badge Visibility */
.color-btn {
  border: 1.5px solid #CBD5E1 !important;
  background-color: #FFFFFF !important;
  color: #1E293B !important;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}
.color-btn .color-label {
  color: #1E293B !important;
  font-weight: 600 !important;
}
.color-btn:hover {
  border-color: var(--cwm-primary, #8B0000) !important;
  color: var(--cwm-primary, #8B0000) !important;
  transform: translateY(-1px);
}
.color-btn.active-color {
  border-color: var(--cwm-primary, #8B0000) !important;
  background-color: #FFF5F5 !important;
  color: var(--cwm-primary, #8B0000) !important;
  box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.25) !important;
}
.color-btn.active-color .color-label {
  color: var(--cwm-primary, #8B0000) !important;
  font-weight: 700 !important;
}
#selectedColorNameBadge,
#qaSelectedColorBadge,
#selectedSizeNameBadge,
#qaSelectedSizeBadge,
#selectedPaymentBadge {
  background-color: #F1F5F9 !important;
  color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 0.35rem 0.65rem !important;
}

/* User Profile Dropdown in Sticky Header */
.cwm-user-dropdown .dropdown-toggle::after {
  display: none;
}
.btn-cwm-user-pill {
  background: rgba(139, 0, 0, 0.05);
  border: 1.5px solid rgba(139, 0, 0, 0.22);
  border-radius: 9999px;
  padding: 0.3rem 0.75rem;
  transition: all 0.2s ease;
  color: var(--cwm-navy, #3D0406) !important;
  text-decoration: none !important;
}
.btn-cwm-user-pill:hover,
.btn-cwm-user-pill:focus,
.btn-cwm-user-pill[aria-expanded="true"] {
  background: rgba(139, 0, 0, 0.10);
  border-color: var(--cwm-primary, #8B0000);
  box-shadow: 0 2px 10px rgba(139, 0, 0, 0.15);
}
.cwm-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cwm-gradient-orange);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(139, 0, 0, 0.3);
}
.cwm-user-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cwm-navy, #3D0406);
  line-height: 1.1;
}
.cwm-user-role {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cwm-dropdown-menu {
  min-width: 230px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
  margin-top: 0.5rem !important;
}
.cwm-dropdown-menu .dropdown-item {
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.15s ease;
  border-radius: 8px;
  margin: 2px 6px;
  width: calc(100% - 12px);
}
.cwm-dropdown-menu .dropdown-item:hover {
  background-color: rgba(139, 0, 0, 0.08);
  color: var(--cwm-primary, #8B0000) !important;
  transform: translateX(3px);
}

@media (max-width: 1399.98px) {
  .cwm-header-menu {
    gap: 0.5rem !important;
  }
  .cwm-nav-link {
    font-size: 0.82rem;
    padding: 0.35rem 0.45rem !important;
  }
  .cwm-nav-cart-link {
    font-size: 1.15rem !important;
    padding: 0.35rem 0.45rem !important;
  }
}
@media (max-width: 1199.98px) {
  .cwm-header-menu {
    gap: 0.22rem !important;
  }
  .cwm-nav-link {
    font-size: 0.74rem !important;
    padding: 0.25rem 0.32rem !important;
    letter-spacing: 0.01em;
  }
  .cwm-nav-cart-link {
    font-size: 1.05rem !important;
    padding: 0.25rem 0.32rem !important;
  }
  .btn-cwm-user-pill {
    padding: 0.2rem 0.45rem !important;
  }
  .cwm-user-avatar {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.72rem !important;
  }
  .cwm-user-name {
    font-size: 0.72rem !important;
    max-width: 75px !important;
  }
  .cwm-user-role {
    font-size: 0.6rem !important;
  }
  .cwm-brand img {
    height: 42px;
    width: 42px;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-cwm-primary {
  background: var(--cwm-gradient-orange);
  color: #FFFFFF !important;
  font-family: var(--cwm-font-heading);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--cwm-radius-pill);
  border: none;
  box-shadow: var(--cwm-shadow-orange);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}
.btn-cwm-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -2px rgba(255, 140, 0, 0.45);
  color: #FFFFFF !important;
}

.btn-cwm-navy {
  background: var(--cwm-navy);
  color: #FFFFFF !important;
  font-family: var(--cwm-font-heading);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--cwm-radius-pill);
  border: 1px solid var(--cwm-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: var(--cwm-shadow-sm);
  text-decoration: none;
  cursor: pointer;
}
.btn-cwm-navy:hover {
  background: var(--cwm-dark-navy);
  transform: translateY(-2px);
  box-shadow: var(--cwm-shadow-md);
  color: #FFFFFF !important;
}

.btn-cwm-outline-orange {
  background: transparent;
  color: var(--cwm-orange) !important;
  font-family: var(--cwm-font-heading);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--cwm-radius-pill);
  border: 2px solid var(--cwm-orange);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn-cwm-outline-orange:hover {
  background: var(--cwm-orange);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: var(--cwm-shadow-orange);
}

.btn-cwm-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF !important;
  font-family: var(--cwm-font-heading);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--cwm-radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-cwm-gold {
  background: var(--cwm-gradient-metallic-gold);
  color: #0C0002 !important;
  font-family: var(--cwm-font-heading);
  font-weight: 700;
  padding: 0.75rem 1.7rem;
  border-radius: var(--cwm-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}
.btn-cwm-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.6);
  color: #0C0002 !important;
}

/* ==========================================================================
   ATTRACTIVE VIEW & VIEW-DETAILS BUTTONS (Equal Visual Impact to Add to Cart)
   ========================================================================== */
.btn-cwm-view,
.btn-cwm-details {
  background: linear-gradient(135deg, #0A2540 0%, #001326 100%);
  color: #FFFFFF !important;
  font-family: var(--cwm-font-heading);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--cwm-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 31, 63, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-cwm-view::after,
.btn-cwm-details::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transition: left 0.6s ease;
}

.btn-cwm-view:hover::after,
.btn-cwm-details:hover::after {
  left: 100%;
}

.btn-cwm-view:hover,
.btn-cwm-details:hover {
  background: linear-gradient(135deg, #133E68 0%, #08213D 100%);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -2px rgba(0, 31, 63, 0.45);
  border-color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

.btn-cwm-view:active,
.btn-cwm-details:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.25);
}

.btn-cwm-view i,
.btn-cwm-details i {
  font-size: 0.95em;
  color: #FBBF24; /* Warm Gold Eye Accent */
  transition: transform 0.2s ease;
}

.btn-cwm-view:hover i,
.btn-cwm-details:hover i {
  transform: scale(1.2);
  color: #FCD34D;
}

/* Outline Alternative */
.btn-cwm-view-outline,
.btn-cwm-outline-navy {
  background: #FFFFFF;
  color: var(--cwm-navy) !important;
  font-family: var(--cwm-font-heading);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--cwm-radius-pill);
  border: 2px solid var(--cwm-navy);
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-cwm-view-outline:hover,
.btn-cwm-outline-navy:hover {
  background: var(--cwm-navy);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 31, 63, 0.3);
  text-decoration: none;
}

.btn-cwm-view-outline:hover i,
.btn-cwm-outline-navy:hover i {
  color: #FBBF24 !important;
}

/* Symmetric Button Sizing on Product Cards */
.btn-cwm-view.btn-sm,
.btn-cwm-details.btn-sm,
.btn-cwm-view-outline.btn-sm {
  padding: 0.48rem 0.95rem !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  border-radius: var(--cwm-radius-pill) !important;
  line-height: 1.4 !important;
}

.btn-cwm-primary.btn-sm {
  padding: 0.48rem 0.95rem !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  border-radius: var(--cwm-radius-pill) !important;
  line-height: 1.4 !important;
}

.btn-cwm-pill-category {
  background: #F8FAFC;
  color: #334155 !important;
  border: 1px solid #E2E8F0;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-cwm-pill-category:hover {
  background: var(--cwm-navy);
  color: #FFFFFF !important;
  border-color: var(--cwm-navy);
}

.cwm-text-gold-gradient {
  background: var(--cwm-gradient-metallic-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.cwm-badge-deal {
  background: rgba(212, 175, 55, 0.16);
  color: #D4AF37;
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.4rem 1rem;
  border-radius: var(--cwm-radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.02em;
}

.cwm-badge-neon-pink {
  background: rgba(255, 46, 147, 0.12);
  color: var(--cwm-neon-pink);
  border: 1px solid rgba(255, 46, 147, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: var(--cwm-radius-pill);
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   ECOMMERCE LANDING PAGE COMPONENTS
   ========================================================================== */
.cwm-usp-card {
  background: #FFFFFF;
  border: 1px solid var(--cwm-border);
  border-radius: var(--cwm-radius-md);
  padding: 1.25rem 1rem;
  transition: all 0.25s ease;
  height: 100%;
}
.cwm-usp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cwm-shadow-md);
  border-color: var(--cwm-gold);
}
.cwm-usp-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.cwm-category-tile {
  background: #FFFFFF;
  border-radius: var(--cwm-radius-lg);
  border: 1px solid var(--cwm-border);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  display: block;
}
.cwm-category-tile:hover {
  transform: translateY(-5px);
  border-color: var(--cwm-gold);
  box-shadow: 0 12px 28px -4px rgba(0, 45, 92, 0.12);
}
.cwm-category-tile img {
  height: 160px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cwm-category-tile:hover img {
  transform: scale(1.08);
}

.cwm-product-ecom-card {
  background: #FFFFFF;
  border: 1px solid var(--cwm-border);
  border-radius: var(--cwm-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.cwm-product-ecom-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -6px rgba(0, 45, 92, 0.12);
  border-color: rgba(212, 175, 55, 0.6);
}
.cwm-product-ecom-imgwrap {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cwm-product-ecom-imgwrap img {
  max-height: 90%;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.cwm-product-ecom-card:hover .cwm-product-ecom-imgwrap img {
  transform: scale(1.06);
}

.cwm-discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cwm-neon-pink);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--cwm-radius-pill);
  box-shadow: 0 3px 8px rgba(255, 46, 147, 0.4);
  letter-spacing: 0.04em;
  z-index: 2;
}

.cwm-bv-pill {
  background: rgba(212, 175, 55, 0.12);
  color: #B45309;
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.cwm-countdown-pill {
  background: #1E0203;
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #FFD700;
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cwm-sm {
  padding: 0.45rem 1rem !important;
  font-size: 0.875rem !important;
}

.btn-cwm-lg {
  padding: 0.95rem 2.2rem !important;
  font-size: 1.05rem !important;
}

/* ==========================================================================
   CARDS & CONTAINERS
   ========================================================================== */
.cwm-card {
  background: var(--cwm-white);
  border: 1px solid var(--cwm-border);
  border-radius: var(--cwm-radius-lg);
  box-shadow: var(--cwm-shadow-md);
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.cwm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cwm-shadow-lg);
  border-color: rgba(255, 140, 0, 0.3);
}

.cwm-card-flat {
  background: var(--cwm-white);
  border: 1px solid var(--cwm-border);
  border-radius: var(--cwm-radius-md);
  padding: 1.5rem;
}

.cwm-stat-card {
  background: var(--cwm-white);
  border-radius: var(--cwm-radius-lg);
  border: 1px solid var(--cwm-border);
  box-shadow: var(--cwm-shadow-sm);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
}
.cwm-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cwm-shadow-md);
  border-color: var(--cwm-orange);
}

.cwm-stat-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--cwm-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.cwm-stat-icon.orange {
  background: var(--cwm-orange-soft);
  color: var(--cwm-orange);
}
.cwm-stat-icon.navy {
  background: var(--cwm-navy-soft);
  color: var(--cwm-navy);
}
.cwm-stat-icon.green {
  background: var(--cwm-success-soft);
  color: var(--cwm-success);
}
.cwm-stat-icon.blue {
  background: var(--cwm-info-soft);
  color: var(--cwm-info);
}

/* ==========================================================================
   BADGES & PILLS
   ========================================================================== */
.cwm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--cwm-radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.cwm-badge-orange {
  background: var(--cwm-orange-soft);
  color: var(--cwm-orange);
  border: 1px solid rgba(255, 140, 0, 0.25);
}
.cwm-badge-navy {
  background: var(--cwm-navy-soft);
  color: var(--cwm-navy);
  border: 1px solid rgba(0, 45, 92, 0.2);
}
.cwm-badge-success {
  background: var(--cwm-success-soft);
  color: var(--cwm-success);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.cwm-badge-warning {
  background: var(--cwm-warning-soft);
  color: #D97706;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.cwm-badge-danger {
  background: var(--cwm-danger-soft);
  color: var(--cwm-danger);
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.cwm-badge-info {
  background: var(--cwm-info-soft);
  color: var(--cwm-info);
  border: 1px solid rgba(2, 132, 199, 0.25);
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.cwm-form-label {
  font-family: var(--cwm-font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--cwm-navy);
  margin-bottom: 0.4rem;
  display: block;
}

.cwm-input {
  width: 100%;
  padding: 0.75rem 1.1rem;
  font-family: var(--cwm-font-body);
  font-size: 0.95rem;
  color: var(--cwm-text);
  background: #FFFFFF;
  border: 1.5px solid var(--cwm-border);
  border-radius: var(--cwm-radius-md);
  transition: all 0.2s ease;
  outline: none;
}
.cwm-input:focus {
  border-color: var(--cwm-orange);
  box-shadow: 0 0 0 4px var(--cwm-orange-soft);
}
.cwm-input::placeholder {
  color: var(--cwm-text-light);
}

.cwm-input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.cwm-input-icon {
  position: absolute;
  left: 1.1rem;
  color: var(--cwm-text-light);
  font-size: 1rem;
  pointer-events: none;
}
.cwm-input-with-icon {
  padding-left: 2.85rem !important;
}

/* ==========================================================================
   TABLES
   ========================================================================== */
.cwm-table-card {
  background: var(--cwm-white);
  border: 1px solid var(--cwm-border);
  border-radius: var(--cwm-radius-lg);
  box-shadow: var(--cwm-shadow-sm);
  overflow: hidden;
}
.cwm-table-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--cwm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.cwm-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}
.cwm-table th {
  background: #F8FAFC;
  color: var(--cwm-navy);
  font-family: var(--cwm-font-heading);
  font-weight: 700;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--cwm-border);
  white-space: nowrap;
}
.cwm-table td {
  padding: 1rem 1.25rem;
  color: var(--cwm-text);
  font-size: 0.925rem;
  border-bottom: 1px solid var(--cwm-border-light);
  vertical-align: middle;
}
.cwm-table tbody tr {
  transition: background-color 0.15s ease;
}
.cwm-table tbody tr:hover {
  background-color: #F8FAFC;
}
.cwm-table tbody tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   PUBLIC HEADER & NAVIGATION
   ========================================================================== */
.cwm-topbar {
  background: var(--cwm-darker-navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap !important;
  overflow: hidden;
}
.cwm-topbar * {
  white-space: nowrap !important;
}
.cwm-topbar .cwm-topbar-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap !important;
  flex-shrink: 0;
}
.cwm-topbar a {
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap !important;
  flex-shrink: 0;
}
.cwm-topbar a:hover {
  color: var(--cwm-orange-light);
}

.cwm-navbar {
  background: var(--cwm-white);
  box-shadow: 0 4px 20px rgba(0, 45, 92, 0.07);
  position: sticky;
  top: 0;
  z-index: 1020;
  transition: all 0.3s ease;
  padding: 0.65rem 0;
}
.cwm-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none !important;
}
.cwm-brand img {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.45);
  border: 2px solid rgba(212, 175, 55, 0.7);
  transition: transform 0.25s ease;
}
.cwm-brand:hover img {
  transform: scale(1.06);
}
.cwm-brand-text {
  display: flex;
  flex-direction: column;
}
.cwm-brand-title {
  font-family: var(--cwm-font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--cwm-navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.cwm-brand-title span {
  color: var(--cwm-orange);
}
.cwm-brand-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cwm-text-muted);
  font-weight: 600;
}

.cwm-nav-link {
  font-family: var(--cwm-font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--cwm-navy) !important;
  padding: 0.5rem 0.65rem !important;
  transition: color 0.2s ease, transform 0.15s ease;
  text-decoration: none !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.cwm-nav-link:hover,
.cwm-nav-link.active {
  color: var(--cwm-orange) !important;
  background: transparent !important;
}

.cwm-nav-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cwm-navy) !important;
  font-size: 1.25rem;
  padding: 0.4rem 0.55rem !important;
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: none !important;
}
.cwm-nav-cart-link:hover,
.cwm-nav-cart-link.active {
  color: var(--cwm-orange) !important;
  transform: scale(1.08);
}
.cwm-nav-cart-badge {
  position: absolute;
  top: -2px;
  right: -5px;
  background: var(--cwm-orange);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  line-height: 17px;
  border-radius: 50%;
  text-align: center;
  padding: 0 3px;
  box-shadow: 0 2px 5px rgba(255, 140, 0, 0.4);
}

.cwm-dropdown-menu {
  border: 1px solid var(--cwm-border);
  border-radius: var(--cwm-radius-md);
  box-shadow: var(--cwm-shadow-lg);
  padding: 0.5rem;
  min-width: 220px;
}
.cwm-dropdown-item {
  font-family: var(--cwm-font-heading);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--cwm-navy);
  padding: 0.6rem 1rem;
  border-radius: var(--cwm-radius-sm);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.2s ease;
}
.cwm-dropdown-item:hover {
  background: var(--cwm-orange-soft);
  color: var(--cwm-orange);
}

/* Cart pill in nav */
.cwm-cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #F1F5F9;
  color: var(--cwm-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  text-decoration: none !important;
}
.cwm-cart-btn:hover {
  background: var(--cwm-orange-soft);
  color: var(--cwm-orange);
}
.cwm-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--cwm-orange);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(255, 140, 0, 0.4);
}

/* ==========================================================================
   PUBLIC HERO SECTION
   ========================================================================== */
.cwm-hero {
  background: var(--cwm-gradient-hero);
  color: #FFFFFF;
  padding: 5rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}
.cwm-hero::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--cwm-light-bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.cwm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(139, 0, 0, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--cwm-radius-pill);
  color: #FFD700;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.cwm-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}
.cwm-hero-title .highlight {
  color: #D4AF37;
  background: var(--cwm-gradient-metallic-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cwm-hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin-bottom: 2.25rem;
  font-weight: 400;
}

/* ==========================================================================
   SECTION HEADINGS & HIGHLIGHTS
   ========================================================================== */
.cwm-section-tag {
  display: inline-block;
  font-family: var(--cwm-font-heading);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--cwm-orange);
  background: var(--cwm-orange-soft);
  padding: 0.35rem 0.95rem;
  border-radius: var(--cwm-radius-pill);
  margin-bottom: 0.75rem;
}
.cwm-section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--cwm-navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cwm-section-lead {
  font-size: 1.05rem;
  color: var(--cwm-text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */
.cwm-product-card {
  background: #FFFFFF;
  border-radius: var(--cwm-radius-lg);
  border: 1px solid var(--cwm-border);
  box-shadow: var(--cwm-shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cwm-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cwm-shadow-md);
  border-color: rgba(255, 140, 0, 0.3);
}
.cwm-product-img-wrapper {
  position: relative;
  padding-top: 75%;
  background: #F8FAFC;
  overflow: hidden;
}
.cwm-product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cwm-product-card:hover .cwm-product-img {
  transform: scale(1.06);
}
.cwm-product-discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cwm-orange);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--cwm-radius-pill);
  box-shadow: 0 2px 8px rgba(255, 140, 0, 0.4);
}
.cwm-product-bv-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--cwm-navy);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--cwm-radius-pill);
}
.cwm-product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.cwm-product-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cwm-navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.cwm-product-price {
  font-family: var(--cwm-font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--cwm-orange);
}
.cwm-product-mrp {
  font-size: 0.875rem;
  color: var(--cwm-text-light);
  text-decoration: line-through;
  margin-left: 0.5rem;
}

/* ==========================================================================
   PUBLIC FOOTER
   ========================================================================== */
.cwm-footer {
  background: var(--cwm-darker-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 4.5rem 0 2rem 0;
  border-top: 4px solid var(--cwm-orange);
  position: relative;
}
.cwm-footer h5 {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.cwm-footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--cwm-orange);
}
.cwm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cwm-footer-links li {
  margin-bottom: 0.65rem;
}
.cwm-footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.cwm-footer-links a:hover {
  color: var(--cwm-orange);
  transform: translateX(4px);
}
.cwm-footer-bottom {
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

/* ==========================================================================
   PORTAL (USER & ADMIN) SIDEBAR & LAYOUT
   ========================================================================== */
.portal-wrapper {
  display: flex;
  min-height: 100vh;
  background-color: var(--cwm-light-bg);
}

.portal-sidebar {
  width: 270px;
  background: #370305 !important;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  transition: all 0.3s ease;
  box-shadow: 2px 0 16px rgba(55, 3, 5, 0.35) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
  overflow-y: auto;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
}
.portal-sidebar.collapsed {
  width: 80px;
}

.portal-brand {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #370305 !important;
  border-bottom: 2px solid var(--cwm-gold) !important;
  text-decoration: none !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
}
.portal-brand img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
  border: 2px solid rgba(212, 175, 55, 0.6);
}
.portal-brand-title {
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
}
.portal-brand-title span {
  color: var(--cwm-orange);
}
.portal-brand-role {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #D4AF37;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.portal-nav {
  list-style: none;
  padding: 1rem 0.75rem;
  margin: 0;
  flex-grow: 1;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
}
.portal-nav-heading {
  font-size: 0.66rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.75px !important;
  color: #64748B !important;
  padding: 0.75rem 1rem 0.35rem 1rem;
  font-weight: 800 !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
}
.portal-nav-item {
  margin-bottom: 0.25rem;
}
.portal-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.9rem;
  border-radius: 6px !important;
  color: #94a3b8 !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  border-left: 2px solid transparent !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
.portal-nav-link i {
  font-size: 0.95rem !important;
  width: 20px;
  text-align: center;
  color: var(--cwm-gold) !important;
  transition: all 0.2s ease;
}
.portal-nav-link:hover {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #FFFFFF !important;
  border-left-color: var(--cwm-gold) !important;
  font-weight: 600 !important;
}
.portal-nav-link:hover i {
  color: var(--cwm-gold) !important;
}
.portal-nav-link.active {
  background: rgba(245, 158, 11, 0.16) !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  border-left: 2px solid var(--cwm-gold) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}
.portal-nav-link.active i {
  color: var(--cwm-gold) !important;
}

.portal-main {
  margin-left: 270px;
  flex-grow: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.3s ease;
}
.portal-main.collapsed {
  margin-left: 80px;
}

.portal-topbar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--cwm-border);
  padding: 0.85rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.portal-content {
  padding: 1.75rem;
  flex-grow: 1;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM (MOBILE, TABLET, DESKTOP)
   ========================================================================== */

/* Overflow Protection Across All Viewports */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
}

/* --- TABLETS & MOBILE (< 992px) --- */
@media (max-width: 991.98px) {
  .cwm-hero {
    padding: 3.5rem 0 4.5rem 0;
  }
  .cwm-hero::after {
    height: 40px;
    bottom: -20px;
  }
  .cwm-navbar {
    padding: 0.5rem 0;
  }
  .cwm-brand img {
    height: 46px;
    width: 46px;
  }
  .cwm-section-title {
    font-size: 1.85rem;
  }
  .cwm-category-tile img {
    height: 130px;
  }
  .cwm-product-ecom-imgwrap {
    height: 180px;
  }
  .sticky-top {
    position: static !important;
  }
  .portal-sidebar {
    transform: translateX(-100%);
  }
  .portal-sidebar.show {
    transform: translateX(0);
  }
  .portal-main {
    margin-left: 0 !important;
  }
}

/* --- MOBILE PHONES (< 768px) --- */
@media (max-width: 767.98px) {
  .cwm-hero {
    padding: 2.75rem 0 3.5rem 0;
    text-align: center;
  }
  .cwm-hero-lead {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
  }
  .cwm-hero-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }
  .cwm-hero .d-flex.flex-wrap {
    justify-content: center;
  }
  .cwm-hero .btn-cwm-lg {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.4rem !important;
    font-size: 0.95rem !important;
  }
  .cwm-hero .row.g-3.pt-3 {
    justify-content: center;
  }

  /* Category Filter Touch-Scroll Row */
  .cwm-category-scroll-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .cwm-category-scroll-pills::-webkit-scrollbar {
    display: none;
  }
  .cwm-category-scroll-pills .btn {
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  /* Compact Product Cards on Mobile */
  .cwm-product-card,
  .cwm-product-ecom-card {
    border-radius: var(--cwm-radius-md);
  }
  .cwm-product-body,
  .cwm-product-ecom-card .p-3 {
    padding: 0.85rem !important;
  }
  .cwm-product-title,
  .cwm-product-ecom-card h6 {
    font-size: 0.88rem !important;
  }
  .cwm-product-price {
    font-size: 1.05rem !important;
  }
  .cwm-product-ecom-imgwrap {
    height: 150px;
  }

  /* Product Card Buttons on Mobile */
  .btn-cwm-view.btn-sm,
  .btn-cwm-details.btn-sm,
  .btn-cwm-primary.btn-sm {
    padding: 0.42rem 0.65rem !important;
    font-size: 0.78rem !important;
  }

  /* Cart Mobile Card Transformation */
  .cwm-table-card .table-responsive {
    overflow: visible;
  }
  .cwm-table thead {
    display: none;
  }
  .cwm-table,
  .cwm-table tbody,
  .cwm-table tr,
  .cwm-table td {
    display: block;
    width: 100%;
  }
  .cwm-table tbody tr {
    margin-bottom: 1rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 0.85rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    position: relative;
  }
  .cwm-table td.cart-col-product {
    padding: 0 0 0.75rem 0 !important;
    border-bottom: 1px dashed #E2E8F0 !important;
  }
  .cwm-table td.cart-col-price,
  .cwm-table td.cart-col-qty,
  .cwm-table td.cart-col-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0 !important;
    border: none !important;
    font-size: 0.9rem;
  }
  .cwm-table td.cart-col-price::before,
  .cwm-table td.cart-col-qty::before,
  .cwm-table td.cart-col-total::before {
    content: attr(data-label);
    font-weight: 600;
    color: #64748B;
    font-size: 0.82rem;
  }
  .cwm-table td.cart-col-action {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto;
    padding: 0 !important;
    border: none !important;
  }

  /* Product Details on Mobile */
  #mainProductImg {
    max-height: 280px !important;
  }
  .cwm-product-description {
    font-size: 0.88rem;
  }

  /* Footer on Mobile */
  .cwm-footer {
    padding: 3rem 0 1.5rem 0;
    text-align: center;
  }
  .cwm-footer h5::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .cwm-footer .d-flex.gap-2.mt-4 {
    justify-content: center;
  }
  .cwm-footer-links {
    margin-bottom: 1.5rem;
  }
  .cwm-footer-links a {
    justify-content: center;
  }
}

/* --- SMALL MOBILE PHONES (< 480px) --- */
@media (max-width: 479.98px) {
  .cwm-brand img {
    height: 38px;
    width: 38px;
  }
  .cwm-hero-title {
    font-size: 1.5rem;
  }
  .cwm-section-title {
    font-size: 1.45rem;
  }
  .cwm-badge-deal,
  .cwm-badge-neon-pink {
    font-size: 0.72rem;
    padding: 0.25rem 0.55rem;
  }
  .cwm-countdown-pill {
    font-size: 0.8rem;
    padding: 0.25rem 0.45rem;
  }
  .btn-cwm-view.btn-sm,
  .btn-cwm-details.btn-sm,
  .btn-cwm-primary.btn-sm {
    font-size: 0.74rem !important;
    padding: 0.38rem 0.5rem !important;
  }
}

/* ==========================================================================
   PRODUCT DETAILS DESCRIPTION
   ========================================================================== */
.cwm-product-description {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #475569;
}
.cwm-product-description p {
  margin-bottom: 0.65rem;
}
.cwm-product-description p:last-child {
  margin-bottom: 0;
}
.cwm-product-description strong,
.cwm-product-description b {
  color: var(--cwm-navy);
  font-weight: 700;
}
.cwm-product-description ul,
.cwm-product-description ol {
  padding-left: 1.5rem;
  margin-bottom: 0.85rem;
}
.cwm-product-description li {
  margin-bottom: 0.35rem;
}
