/* ============================================================
   XL SOLAR — Complete UI/UX Redesign
   Mobile-First, Modern E-Commerce Design System
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  --primary:        #F97316;
  --primary-dark:   #EA6B0A;
  --primary-light:  #FEF3E8;
  --secondary:      #1E3A5F;
  --accent:         #22C55E;
  --dark:           #0F172A;
  --gray-900:       #111827;
  --gray-800:       #1F2937;
  --gray-700:       #374151;
  --gray-600:       #4B5563;
  --gray-500:       #6B7280;
  --gray-400:       #9CA3AF;
  --gray-300:       #D1D5DB;
  --gray-200:       #E5E7EB;
  --gray-100:       #F3F4F6;
  --gray-50:        #F9FAFB;
  --white:          #FFFFFF;
  --danger:         #EF4444;
  --success:        #10B981;
  --info:           #3B82F6;

  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.06);
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.05);
  --shadow:    0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.16);

  --ease: .2s ease;
  --ease-med: .3s cubic-bezier(.4,0,.2,1);

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

  --header-h:     64px;
  --bnav-h:       60px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: var(--font); }

/* ============================================================
   3. PAGE WRAPPER
   ============================================================ */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: var(--bnav-h);
}
@media (min-width: 992px) { .page-wrapper { padding-bottom: 0; } }

/* ============================================================
   4. CONTAINERS
   ============================================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; width: 100%; }
.container-fluid { width: 100%; padding: 0 16px; }
@media (min-width: 576px)  { .container, .container-fluid { padding: 0 20px; } }
@media (min-width: 1200px) { .container-fluid { padding: 0 40px; } }

/* ============================================================
   5. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: var(--gray-900); }
p { color: var(--gray-600); }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .875rem;
  cursor: pointer;
  border: 2px solid transparent;
  min-height: 44px;
  transition: all var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn i { font-size: .875em; }

.btn-primary { background: var(--primary); color: var(--white) !important; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white) !important; }

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

.btn-outline-primary-2 { background: transparent; color: var(--primary) !important; border-color: var(--primary); }
.btn-outline-primary-2:hover { background: var(--primary); color: var(--white) !important; }

.btn-dark { background: var(--dark); color: var(--white) !important; border-color: var(--dark); }
.btn-dark:hover { background: var(--gray-800); color: var(--white) !important; }

.btn-outline-dark-3 { background: transparent; color: var(--gray-800) !important; border-color: var(--gray-300); }
.btn-outline-dark-3:hover { background: var(--gray-900); color: var(--white) !important; border-color: var(--gray-900); }

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

.btn-sm  { padding: 7px 16px; font-size: .8125rem; min-height: 36px; }
.btn-lg  { padding: 14px 32px; font-size: 1rem; min-height: 52px; }
.btn-block, .btn-full { width: 100%; }

.btn-more { gap: 8px; }

/* ============================================================
   7. HEADER
   ============================================================ */
/* ── HEADER — single row ─────────────────────────── */
.xls-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.07), 0 4px 24px rgba(0,0,0,.05);
}

/* Single row wrapper */
.xls-header-inner {
  display: flex; align-items: center;
  height: var(--header-h);
  padding: 0 16px; gap: 8px;
  max-width: 1440px; margin: 0 auto;
}
@media (min-width: 576px) { .xls-header-inner { padding: 0 24px; } }

/* Logo */
.xls-logo { flex-shrink: 0; display: flex; align-items: center; text-decoration: none; margin-right: 40px; }
.xls-logo img { height: 38px; width: auto; display: block; }

/* Hamburger (mobile only) */
.xls-hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; order: -1;
  cursor: pointer; padding: 11px 10px;
  border-radius: 10px; background: none; border: none; flex-shrink: 0;
  transition: background .2s;
}
.xls-hamburger:hover { background: var(--gray-100); }
.xls-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--gray-700); border-radius: 2px;
  transition: all .25s;
}
.xls-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.xls-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.xls-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Inline nav — hidden on mobile, flex on desktop */
.xls-nav { display: none; flex: 1; align-items: stretch; }
.xls-nav ul {
  display: flex; align-items: stretch;
  margin: 0; padding: 0; list-style: none; gap: 0; height: 100%;
}
.xls-nav ul li { display: flex; align-items: stretch; }
.xls-nav ul li a {
  display: flex; align-items: center;
  padding: 0 14px; height: var(--header-h);
  font-size: .875rem; font-weight: 600;
  color: var(--gray-600);
  border-bottom: 2.5px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap; text-decoration: none;
}
.xls-nav ul li a:hover  { color: var(--primary); border-bottom-color: var(--primary); }
.xls-nav ul li a.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 700; }

/* Action icons */
.xls-header-actions {
  display: flex; align-items: center; gap: 2px; flex-shrink: 0; margin-left: auto;
}

.xls-action-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  color: var(--gray-600); font-size: 1rem;
  transition: all .2s; text-decoration: none;
}
.xls-action-btn:hover { background: var(--primary-light); color: var(--primary); }

.xls-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--primary); color: #fff;
  border-radius: 999px; font-size: .5rem; font-weight: 800;
  min-width: 15px; height: 15px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; line-height: 1; border: 1.5px solid #fff;
}

/* Free Quote button (shows on desktop) */
.xls-quote-btn {
  display: none; align-items: center; gap: 6px;
  padding: 7px 15px; border-radius: 8px;
  background: var(--primary-light); color: var(--primary) !important;
  font-size: .8125rem; font-weight: 700;
  transition: all .2s; white-space: nowrap; text-decoration: none;
  margin-left: 4px;
}
.xls-quote-btn:hover { background: var(--primary); color: #fff !important; }
.xls-quote-btn span { display: none; }

/* Login / account pill */
.xls-user-link {
  display: none; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--primary); color: #fff !important;
  font-size: .8125rem; font-weight: 700;
  transition: all .2s; white-space: nowrap; text-decoration: none;
  margin-left: 4px;
}
.xls-user-link:hover {
  background: var(--primary-dark); color: #fff !important;
  box-shadow: 0 4px 14px rgba(249,115,22,.35);
}
.xls-user-link span { display: none; }
.xls-user-link i { font-size: .9rem; }

/* ── Desktop breakpoint ── */
@media (min-width: 992px) {
  .xls-hamburger        { display: none; }
  .xls-nav              { display: flex; }
  .xls-user-link        { display: flex; }
  .xls-user-link span   { display: inline; }
  .xls-quote-btn        { display: flex; }
  .xls-quote-btn span   { display: inline; }
  .xls-header-actions   { margin-left: 0; }
}

/* ============================================================
   8. MOBILE SLIDE MENU
   ============================================================ */
.xls-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.55);
  z-index: 1040;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.xls-overlay.open { display: block; }

.xls-slide-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  max-width: 85vw;
  background: var(--white);
  z-index: 1050;
  transform: translateX(-100%);
  transition: transform var(--ease-med);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.xls-slide-menu.open { transform: translateX(0); }

.xls-slide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
}
.xls-slide-head img { height: 34px; width: auto; }
.xls-slide-close {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  font-size: .9rem;
  transition: all var(--ease);
}
.xls-slide-close:hover { background: var(--gray-200); }

.xls-slide-search {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
}
.xls-slide-search form { display: flex; gap: 8px; }
.xls-slide-search input {
  flex: 1;
  height: 40px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: .875rem;
  outline: none;
  color: var(--gray-800);
}
.xls-slide-search input:focus { border-color: var(--primary); }
.xls-slide-search button {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--white);
  cursor: pointer;
  font-size: .875rem;
  flex-shrink: 0;
}

.xls-slide-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 8px;
}
.xls-slide-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: all var(--ease);
}
.xls-slide-nav li a i { width: 18px; text-align: center; color: var(--gray-500); font-size: .9rem; }
.xls-slide-nav li a:hover { background: var(--primary-light); color: var(--primary); }
.xls-slide-nav li a:hover i { color: var(--primary); }
.xls-slide-divider { height: 1px; background: var(--gray-100); margin: 6px 8px; }

.xls-slide-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  margin: 8px;
  margin-top: 0;
}
.xls-slide-user-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .9375rem;
  flex-shrink: 0;
}
.xls-slide-user-info strong { display: block; font-size: .9rem; color: var(--gray-900); }
.xls-slide-user-info span { font-size: .8125rem; color: var(--gray-600); }

.xls-slide-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--gray-100);
  flex-shrink: 0;
}
.xls-slide-social {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.xls-slide-social a {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: .8125rem;
  transition: all var(--ease);
}
.xls-slide-social a:hover { background: var(--primary); color: var(--white); }

/* ============================================================
   9. BOTTOM NAV (MOBILE)
   ============================================================ */
.xls-bnav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bnav-h);
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  z-index: 990;
  box-shadow: 0 -4px 24px rgba(0,0,0,.08);
}
.xls-bnav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--gray-500);
  font-size: .625rem;
  font-weight: 600;
  transition: color var(--ease);
  position: relative;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.xls-bnav a i { font-size: 1.125rem; }
.xls-bnav a.active, .xls-bnav a:hover { color: var(--primary); }
.xls-bnav a.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 0 0 4px 4px;
}
.xls-bnav-badge {
  position: absolute;
  top: 7px;
  right: calc(50% - 16px);
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: .5rem;
  font-weight: 800;
  min-width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
@media (min-width: 992px) { .xls-bnav { display: none; } }

/* ============================================================
   10. PRE-FOOTER CTA + FOOTER REDESIGN
   ============================================================ */

/* ── Pre-footer CTA strip ── */
.xls-prefooter {
  background: linear-gradient(135deg, #0f1f45 0%, #1a3a6b 50%, #0f1f45 100%);
  padding: 48px 0;
  border-top: 1px solid rgba(249,115,22,.2);
}
.xls-prefooter-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.xls-prefooter-text h2 {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 900; color: #fff; margin-bottom: 6px;
}
.xls-prefooter-text h2 span { color: #F97316; }
.xls-prefooter-text p { font-size: .9375rem; color: rgba(255,255,255,.65); margin: 0; }
.xls-prefooter-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.xls-pf-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: #F97316; color: #fff !important;
  border-radius: 9px; font-size: .9375rem; font-weight: 700;
  transition: all .22s; text-decoration: none;
  box-shadow: 0 4px 20px rgba(249,115,22,.35);
}
.xls-pf-btn-primary:hover { background: #ea6b0a; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(249,115,22,.45); color: #fff !important; }
.xls-pf-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: transparent; color: #fff !important;
  border: 2px solid rgba(255,255,255,.3); border-radius: 9px;
  font-size: .9375rem; font-weight: 700;
  transition: all .22s; text-decoration: none;
}
.xls-pf-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff !important; }

/* ── Footer main ── */
.xls-footer {
  background: #0B1120;
  color: rgba(255,255,255,.55);
  margin-top: 0;
}

/* Trust badges strip */
.xls-footer-trust {
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 22px 0;
  background: rgba(255,255,255,.025);
}
.xls-ft-grid {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px;
}
.xls-ft-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .8125rem; color: rgba(255,255,255,.5);
}
.xls-ft-item i {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(249,115,22,.12);
  display: flex; align-items: center; justify-content: center;
  color: #F97316; font-size: .9rem; flex-shrink: 0;
}
.xls-ft-item strong { color: #fff; display: block; font-size: .9375rem; }

/* Footer columns */
.xls-footer-body { padding: 52px 0 40px; }
.xls-footer-cols {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 991px) { .xls-footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 32px; } }
@media (max-width: 575px) { .xls-footer-cols { grid-template-columns: 1fr; gap: 24px; } }

/* Brand column */
.xls-footer-logo {
  height: 40px; width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px; display: block;
}
.xls-footer-tagline {
  font-size: .8125rem; line-height: 1.75;
  color: rgba(255,255,255,.45); margin-bottom: 20px;
}

/* Contact items */
.xls-footer-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.xls-fcontact-row {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: .8125rem; color: rgba(255,255,255,.45);
  text-decoration: none; transition: color .2s;
}
a.xls-fcontact-row:hover { color: #F97316; }
.xls-fcontact-row i {
  color: #F97316; font-size: .75rem;
  width: 14px; margin-top: 2px; flex-shrink: 0;
}

/* Social icons */
.xls-footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.xls-fsocial-btn {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: .8rem;
  transition: all .2s; text-decoration: none;
}
.xls-fsocial-btn:hover { background: #F97316; border-color: #F97316; color: #fff; transform: translateY(-2px); }

/* Link columns */
.xls-fcol-head {
  font-size: .6875rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
  color: #fff; margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.xls-fcol-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.xls-fcol-list li a {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 0; font-size: .8125rem;
  color: rgba(255,255,255,.45); text-decoration: none;
  transition: color .2s, padding-left .2s;
}
.xls-fcol-list li a i { font-size: .5rem; color: #F97316; transition: transform .2s; }
.xls-fcol-list li a:hover { color: #F97316; padding-left: 4px; }
.xls-fcol-list li a:hover i { transform: translateX(2px); }

/* Bottom bar */
.xls-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 0;
  background: rgba(0,0,0,.2);
}
.xls-footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.xls-footer-copy {
  font-size: .775rem; color: rgba(255,255,255,.35);
  margin: 0;
}
.xls-footer-copy strong { color: rgba(255,255,255,.55); font-weight: 600; }
.xls-footer-made {
  font-size: .775rem; color: rgba(255,255,255,.28);
  margin: 0;
}

/* ============================================================
   11. HOMEPAGE HERO
   ============================================================ */
.xls-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 60%, #0D2137 100%);
  color: var(--white);
  padding: 52px 0 40px;
  position: relative;
  overflow: hidden;
}
.xls-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(249,115,22,.12) 0%, transparent 60%);
  pointer-events: none;
}
.xls-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249,115,22,.18);
  color: #FDBA74;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.xls-hero-title {
  font-size: clamp(1.6rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 14px;
}
.xls-hero-title .hl { color: var(--primary); }
.xls-hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.7;
}
.xls-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.xls-hero-img { text-align: center; margin-top: 32px; }
.xls-hero-img img { max-height: 280px; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.3)); }

@media (min-width: 768px) {
  .xls-hero { padding: 80px 0; }
  .xls-hero-img { margin-top: 0; }
  .xls-hero-img img { max-height: 360px; }
}

/* ============================================================
   12. SECTIONS
   ============================================================ */
.xls-section { padding: 52px 0; }
.xls-section-sm { padding: 36px 0; }
.xls-section-alt { background: var(--gray-50); }

.xls-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.xls-section-title {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 800;
  color: var(--gray-900);
  position: relative;
}
.xls-section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 8px;
}
.xls-view-all {
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.xls-view-all:hover { color: var(--primary-dark); }

/* ============================================================
   13. PRODUCT GRID LAYOUT
   ============================================================ */
.xls-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 576px)  { .xls-product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 768px)  { .xls-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px)  { .xls-product-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (min-width: 1200px) { .xls-product-grid { grid-template-columns: repeat(5, 1fr); } }

/* ============================================================
   13b. PRODUCT CARDS
   ============================================================ */
.product {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: box-shadow .25s, transform .25s;
  position: relative;
}
.product:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.product-media {
  position: relative;
  overflow: hidden;
  background: var(--gray-50);
  aspect-ratio: 1 / 1;
  display: block;
}
.product-media img.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.product:hover .product-image { transform: scale(1.06); }

.product-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  z-index: 2;
}
.label-sale  { background: var(--danger);  color: var(--white); }
.label-new   { background: var(--accent);  color: var(--white); }
.label-top   { background: var(--primary); color: var(--white); }

.product-action-vertical {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.btn-product-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: .875rem;
  transition: all var(--ease);
  border: 1px solid var(--gray-200);
}
.btn-product-icon:hover, .btn-product-icon.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-product-icon span { display: none; }
.btn-expandable span { display: none; }

.product-action {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  transform: translateY(100%);
  transition: transform .25s ease;
  z-index: 2;
}
.product:hover .product-action { transform: translateY(0); }

.btn-product.btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 12px;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  font-weight: 700;
  gap: 6px;
  transition: background var(--ease);
  border: none;
}
.btn-product.btn-cart:hover { background: var(--primary-dark); color: var(--white) !important; }
.btn-product.btn-cart.bg-danger { background: var(--danger) !important; font-size: .75rem; }
.btn-product.btn-cart.bg-danger:hover { background: #dc2626 !important; }
.btn-product.btn-cart span { pointer-events: none; }

.product-body { padding: 12px 14px 14px; }
.product-cat { font-size: .72rem; color: var(--gray-400); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.product-cat a { color: inherit; }
.product-cat a:hover { color: var(--primary); }
.product-title { font-size: .9rem; font-weight: 600; color: var(--gray-800); margin-bottom: 8px; line-height: 1.4; }
.product-title a { color: inherit; }
.product-title a:hover { color: var(--primary); }
.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.product-price .new-price { color: var(--primary); font-weight: 700; }
.product-price .old-price,
.product-price del {
  font-size: .8125rem;
  color: var(--gray-400);
  font-weight: 400;
  text-decoration: line-through;
}

/* Always show cart btn on mobile */
@media (max-width: 767px) {
  .product-action { transform: translateY(0) !important; position: static; padding: 0 10px 10px; }
  .product-title { font-size: .8125rem; }
  .product-price { font-size: .875rem; }
  .product-body { padding: 8px 10px 10px; }
}

/* ============================================================
   14. OWL CAROUSEL OVERRIDES
   ============================================================ */
.owl-carousel .owl-item { padding: 4px; }
.owl-dots { margin-top: 16px !important; text-align: center; }
.owl-dots .owl-dot span {
  background: var(--gray-300) !important;
  width: 8px !important; height: 8px !important;
  border-radius: 50% !important;
  transition: all var(--ease) !important;
  margin: 4px !important;
}
.owl-dots .owl-dot.active span {
  background: var(--primary) !important;
  width: 22px !important;
  border-radius: 4px !important;
}
/* Generic owl nav — circular pill buttons */
.owl-nav { display: flex; gap: 8px; justify-content: center; margin-top: 20px !important; }
.owl-nav button {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: var(--white) !important;
  border: 1.5px solid var(--gray-200) !important;
  color: var(--gray-600) !important;
  font-size: .9rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.06) !important;
}
.owl-nav button:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(249,115,22,.28) !important;
}
.owl-nav button.disabled,
.owl-nav button[disabled] {
  opacity: .38 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* ============================================================
   15. BANNER / TRENDING
   ============================================================ */
.trending {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  margin: 0 16px;
}
@media (min-width: 576px) { .trending { margin: 0 20px; } }
@media (min-width: 1200px) { .trending { margin: 0 40px; } }

.banner.banner-big { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.banner-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  text-align: center;
  background: rgba(0,0,0,.38);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.banner-subtitle {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 700;
  color: #FDBA74 !important;
  margin-bottom: 6px;
}
.banner-title {
  font-size: clamp(1.25rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--white) !important;
  margin-bottom: 16px;
  line-height: 1.2;
}
.banner-content p { color: rgba(255,255,255,.8) !important; margin-bottom: 20px; }

/* ============================================================
   16. ICON BOXES (FEATURES)
   ============================================================ */
.icon-box-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  text-align: left;
  height: 100%;
  transition: box-shadow var(--ease), transform var(--ease);
}
.icon-box-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.icon-box-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-box-title { font-size: .9375rem; font-weight: 700; color: var(--gray-800); margin: 0 0 4px; }
.icon-box-content p { font-size: .8125rem; color: var(--gray-500); margin: 0; }

/* ============================================================
   17. PAGE HEADER + BREADCRUMB
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 36px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
}
.page-header .container { position: relative; z-index: 1; }
.page-title {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 800;
  color: var(--white);
  margin: 0;
}
.page-title span { display: block; font-size: .8125rem; font-weight: 500; color: rgba(255,255,255,.55); margin-top: 4px; }

.breadcrumb-nav {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}
.breadcrumb-nav .container-fluid { padding-top: 12px; padding-bottom: 12px; }
.breadcrumb {
  margin: 0;
  padding: 0;
  background: none;
  font-size: .8125rem;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.breadcrumb-item a { color: var(--primary); }
.breadcrumb-item.active { color: var(--gray-500); }
.breadcrumb-item + .breadcrumb-item::before { content: '/'; color: var(--gray-300); padding: 0 4px; }
.breadcrumb-item + .breadcrumb-item { padding-left: 0; }

/* ============================================================
   18. FORMS
   ============================================================ */
.form-control {
  display: block;
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
  font-family: var(--font);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249,115,22,.1);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { height: auto; min-height: 100px; resize: vertical; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

/* ============================================================
   19. AUTH PAGES
   ============================================================ */
.xls-auth-wrap {
  min-height: calc(100vh - var(--header-h));
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
}
.xls-auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 480px) { .xls-auth-card { padding: 28px 20px; border-radius: var(--radius-lg); } }

.xls-auth-logo { text-align: center; margin-bottom: 24px; }
.xls-auth-logo img { height: 46px; width: auto; margin: 0 auto 12px; }
.xls-auth-title { font-size: 1.375rem; font-weight: 800; color: var(--gray-900); text-align: center; margin-bottom: 4px; }
.xls-auth-sub { font-size: .875rem; color: var(--gray-500); text-align: center; margin-bottom: 28px; }

.xls-auth-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--ease);
  min-height: 50px;
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.xls-auth-submit:hover { background: var(--primary-dark); }
.xls-auth-submit i { font-size: .9rem; }

.xls-auth-foot {
  text-align: center;
  margin-top: 18px;
  font-size: .875rem;
  color: var(--gray-600);
}
.xls-auth-foot a { color: var(--primary); font-weight: 600; }
.xls-auth-foot a:hover { color: var(--primary-dark); }

.xls-forgot { font-size: .8125rem; color: var(--gray-500); text-align: right; margin-top: 4px; display: block; transition: color var(--ease); }
.xls-forgot:hover { color: var(--primary); }

/* Password toggle */
.xls-pw-wrap { position: relative; }
.xls-pw-wrap .form-control { padding-right: 44px; }
.xls-pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  font-size: .9rem;
  padding: 4px;
  transition: color var(--ease);
}
.xls-pw-toggle:hover { color: var(--gray-700); }

/* ============================================================
   20. DASHBOARD (HOME.PHP)
   ============================================================ */
.xls-dash-greeting {
  background: linear-gradient(135deg, var(--secondary) 0%, #0D2137 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.xls-dash-greeting::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(249,115,22,.15);
}
.xls-dash-greeting h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
  position: relative;
}
.xls-dash-greeting p { color: rgba(255,255,255,.7); margin: 0; font-size: .9rem; position: relative; }

.xls-wallet {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.xls-wallet::after {
  content: '₹';
  position: absolute;
  right: -8px; bottom: -20px;
  font-size: 100px;
  font-weight: 900;
  opacity: .1;
  color: var(--white);
  line-height: 1;
}
.xls-wallet-label { font-size: .8125rem; color: rgba(255,255,255,.75); margin-bottom: 6px; }
.xls-wallet-amount { font-size: 1.875rem; font-weight: 800; color: var(--white); }
.xls-wallet-icon { font-size: 2.5rem; opacity: .8; position: relative; }

.xls-dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 576px) { .xls-dash-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .xls-dash-grid { grid-template-columns: repeat(4, 1fr); } }

.xls-dash-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-100);
  padding: 20px 14px;
  text-align: center;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.xls-dash-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.xls-dash-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.375rem;
  margin-bottom: 4px;
}
.xls-dash-card-img { height: 48px; width: auto; object-fit: contain; }
.xls-dash-card-title { font-size: .9375rem; font-weight: 700; color: var(--gray-800); }
.xls-dash-card-desc { font-size: .8125rem; color: var(--gray-500); line-height: 1.4; }

/* Legacy dashboard card compat */
.home-box-link { text-decoration: none; }
.home-box {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-100);
  padding: 20px 14px;
  text-align: center;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
}
.home-box:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.box-column-1 { display: flex; align-items: center; justify-content: center; min-height: 56px; }
.box-column-1 img { height: 48px; width: auto; object-fit: contain; }
.box-column-2 { text-align: center; }
.box-title { font-size: .9375rem; font-weight: 700; color: var(--gray-800); margin: 0 0 4px; }
.box-description { font-size: .8125rem; color: var(--gray-500); margin: 0; }

/* ============================================================
   21. TABLES (ORDERS, INVOICES)
   ============================================================ */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; }
.table th {
  background: var(--gray-50);
  font-size: .75rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 12px 16px;
  border-bottom: 2px solid var(--gray-200);
  white-space: nowrap;
}
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  font-size: .9rem;
  color: var(--gray-700);
  vertical-align: middle;
}
.table tbody tr:hover td { background: var(--gray-50); }
.table tbody tr:last-child td { border-bottom: none; }

/* ============================================================
   22. CART & CHECKOUT
   ============================================================ */
.cart-empty {
  text-align: center;
  padding: 64px 20px;
}
.cart-empty i { font-size: 4rem; color: var(--gray-300); margin-bottom: 16px; }
.cart-empty h3 { font-size: 1.25rem; color: var(--gray-600); font-weight: 600; margin-bottom: 8px; }
.cart-empty p { color: var(--gray-400); margin-bottom: 24px; }

/* ============================================================
   23. ALERTS
   ============================================================ */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 16px;
  border: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-success  { background: #dcfce7; color: #15803d; }
.alert-danger   { background: #fee2e2; color: #b91c1c; }
.alert-warning  { background: #fef9c3; color: #92400e; }
.alert-info     { background: #dbeafe; color: #1d4ed8; }

/* ============================================================
   24. TOOLBOX (PRODUCTS PAGE SORT/FILTER BAR)
   ============================================================ */
.toolbox {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.toolbox-left, .toolbox-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbox-item select {
  height: 38px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  font-size: .8125rem;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  outline: none;
  font-family: var(--font);
}
.toolbox-item select:focus { border-color: var(--primary); }
.toolbox-info { font-size: .8125rem; color: var(--gray-500); }

/* NoUiSlider overrides */
.noUi-horizontal { height: 4px !important; }
.noUi-connect { background: var(--primary) !important; }
.noUi-handle {
  width: 16px !important; height: 16px !important;
  border-radius: 50% !important;
  background: var(--primary) !important;
  border: 2px solid var(--white) !important;
  box-shadow: var(--shadow-sm) !important;
  right: -8px !important; top: -7px !important;
  cursor: grab !important;
}
.noUi-handle::before, .noUi-handle::after { display: none !important; }

/* Price filter button */
.filter-price-action .btn {
  background: var(--primary);
  color: var(--white) !important;
  border: none;
  padding: 7px 18px;
}

/* ============================================================
   25. INSTAGRAM / GALLERY GRID
   ============================================================ */
.instagram-feed {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.instagram-feed img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.instagram-feed:hover img { transform: scale(1.08); }

/* ============================================================
   26. SCROLL-TO-TOP
   ============================================================ */
#scroll-top {
  position: fixed;
  bottom: calc(var(--bnav-h) + 14px);
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  z-index: 980;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all var(--ease);
}
#scroll-top.visible { opacity: 1; visibility: visible; }
#scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
@media (min-width: 992px) { #scroll-top { bottom: 24px; } }

/* ============================================================
   27. PRODUCT SLIDER / SALE SECTION (HOMEPAGE)
   ============================================================ */
.xls-sale-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--danger);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Fade-in animation for page load */
.xls-fadein { animation: xlsFadeIn .4s ease both; }
@keyframes xlsFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   28. SLIDER (HOMEPAGE INTRO)
   ============================================================ */
.intro-slider { position: relative; background: var(--dark); }
.intro-slide {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.intro-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,.78) 0%, rgba(15,23,42,.32) 60%, transparent 100%);
  z-index: 1;
}
.intro-content {
  position: relative;
  z-index: 2;
  padding: 48px 20px 48px;
  max-width: 600px;
}
@media (min-width: 768px) { .intro-slide { min-height: 440px; } }
@media (min-width: 992px) { .intro-slide { min-height: 520px; } }
.intro-subtitle {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 700;
  color: #FDBA74;
  margin-bottom: 10px;
  display: block;
}
.intro-title {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 16px;
}
.intro-title em { color: var(--primary); font-style: normal; }
.intro-text { color: rgba(255,255,255,.7); font-size: .9375rem; margin-bottom: 28px; }

/* Owl nav buttons for slider */
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.12) !important;
  border-radius: var(--radius-full) !important;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--ease) !important;
}
.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
  background: var(--primary) !important;
}

/* ============================================================
   29. MISC UTILITY
   ============================================================ */
.text-primary  { color: var(--primary)  !important; }
.text-success  { color: var(--accent)   !important; }
.text-danger   { color: var(--danger)   !important; }
.text-muted    { color: var(--gray-500) !important; }
.text-white    { color: var(--white)    !important; }
.text-center   { text-align: center; }
.text-dark     { color: var(--gray-900) !important; }
.text-info     { color: var(--info)     !important; }

.bg-primary    { background: var(--primary) !important; }
.bg-success    { background: var(--accent)  !important; }
.bg-danger     { background: var(--danger)  !important; }
.bg-white      { background: var(--white)   !important; }
.bg-light      { background: var(--gray-50) !important; }

.fw-bold { font-weight: 700; }
.d-none  { display: none !important; }
.d-flex  { display: flex; }
.d-block { display: block; }
.w-100   { width: 100%; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: .75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 1.25rem !important; }
.mb-7 { margin-bottom: 2rem !important; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.ml-2 { margin-left: .5rem; }
.ml-3 { margin-left: .75rem; }
.ml-4 { margin-left: 1rem; }
.ml-5 { margin-left: 1.25rem; }
.pt-8 { padding-top: 2rem; }
.pb-8 { padding-bottom: 2rem; }
.pt-md-12 { padding-top: 3rem; }
.pb-md-12 { padding-bottom: 3rem; }
.pt-lg-17 { padding-top: 4.25rem; }
.pb-lg-17 { padding-bottom: 4.25rem; }
.p-0 { padding: 0 !important; }
.img-fluid { max-width: 100%; height: auto; }
.anchor-tag { color: var(--primary); text-decoration: underline; }

.mobile-hide { display: none !important; }
@media (min-width: 992px) { .mobile-hide { display: initial !important; } }

/* Row / Col compat */
.row { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.row > * { padding: 0 8px; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }
.col-6  { width: 50%; flex: 0 0 50%; }
.col-12 { width: 100%; flex: 0 0 100%; }
@media (min-width: 576px) {
  .col-sm-4  { width: 33.3333%; flex: 0 0 33.3333%; }
  .col-sm-6  { width: 50%;      flex: 0 0 50%; }
  .col-sm-12 { width: 100%;     flex: 0 0 100%; }
}
@media (min-width: 768px) {
  .col-md-4  { width: 33.3333%; flex: 0 0 33.3333%; }
  .col-md-6  { width: 50%;      flex: 0 0 50%; }
  .col-md-12 { width: 100%;     flex: 0 0 100%; }
}
@media (min-width: 992px) {
  .col-lg-2  { width: 16.6667%; flex: 0 0 16.6667%; }
  .col-lg-3  { width: 25%;      flex: 0 0 25%; }
  .col-lg-4  { width: 33.3333%; flex: 0 0 33.3333%; }
  .col-lg-6  { width: 50%;      flex: 0 0 50%; }
  .col-lg-9  { width: 75%;      flex: 0 0 75%; }
  .col-lg-12 { width: 100%;     flex: 0 0 100%; }
  .d-md-block { display: block !important; }
  .d-lg-block { display: block !important; }
  .d-none { display: none !important; }
}
@media (min-width: 768px) {
  .d-md-block { display: block !important; }
}

/* ============================================================
   30. MOBILE QUICK-FIX FOR HIDDEN ELEMENTS
   ============================================================ */

/* ============================================================
   31. PROFILE PAGE
   ============================================================ */
.xls-profile-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
}
.xls-profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
}
.xls-avatar {
  width: 60px; height: 60px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.5rem; font-weight: 700;
  flex-shrink: 0;
}
.xls-profile-name { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.xls-profile-id { font-size: .8125rem; color: var(--gray-500); }

/* ============================================================
   32. CONTACT PAGE
   ============================================================ */
.xls-contact-info-card {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.xls-contact-info-card h3 { color: var(--white); margin-bottom: 20px; }
.xls-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.xls-contact-item-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(249,115,22,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: .9375rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.xls-contact-item-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); margin-bottom: 4px; font-weight: 600; }
.xls-contact-item-value { font-size: .9375rem; color: var(--white); }

/* ============================================================
   33. ORDER DETAIL / INVOICE
   ============================================================ */
.xls-invoice-header {
  background: var(--primary);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.xls-invoice-header img { height: 36px; filter: brightness(0) invert(1); }
.xls-invoice-no { font-size: 1.125rem; font-weight: 700; }

/* ============================================================
   34. SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal.from-left  { transform: translateX(-32px); }
.reveal.from-right { transform: translateX(32px); }
.reveal.from-scale { transform: scale(.93); }
.reveal.visible    { opacity: 1; transform: none; }

.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1);
}
.stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
.stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:.1s; }
.stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:.18s; }
.stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:.26s; }
.stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:.34s; }
.stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:.42s; }

/* ============================================================
   35. HERO SLIDER ANIMATIONS
   ============================================================ */
@keyframes xlsFadeInLeft {
  from { opacity:0; transform:translateX(-32px); }
  to   { opacity:1; transform:translateX(0); }
}
@keyframes xlsFadeInUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes xlsGlow {
  0%,100% { opacity:.5; transform:scale(1); }
  50%      { opacity:.85; transform:scale(1.18); }
}

.owl-item.active .intro-subtitle    { animation: xlsFadeInLeft .6s ease .1s both; }
.owl-item.active .intro-title       { animation: xlsFadeInLeft .65s ease .25s both; }
.owl-item.active .intro-text        { animation: xlsFadeInLeft .65s ease .38s both; }
.owl-item.active .intro-content .btn { animation: xlsFadeInUp .55s ease .52s both; }

.intro-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 40%, rgba(249,115,22,.18) 0%, transparent 55%);
  z-index: 1; pointer-events: none;
}

/* ── Owl animateOut: fadeOut (needed for hero slider cross-fade) ── */
@keyframes fadeOut {
  from { opacity:1; }
  to   { opacity:0; }
}
.fadeOut { animation-name:fadeOut; animation-duration:.7s; }

/* ── Hero progress bar ── */
#hero-progress {
  height: 3px;
  background: rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
}
#hero-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #F97316, #FBBF24);
  width: 0;
}

/* ============================================================
   36. SECTION BADGE + CENTERED HEAD
   ============================================================ */
.xls-section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-light); color: var(--primary);
  padding: 5px 14px; border-radius: var(--radius-full);
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 10px;
}
.xls-section-center {
  text-align: center;
  margin-bottom: 44px;
}
.xls-section-center .xls-section-title::after { margin: 10px auto 0; }
.xls-section-center p {
  font-size: .9375rem; color: var(--gray-500);
  max-width: 520px; margin: 12px auto 0; line-height: 1.65;
}

/* ============================================================
   37. WHY XL SOLAR
   ============================================================ */
.xls-why { padding: 68px 0; background: var(--white); }
.xls-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) { .xls-why-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.xls-why-card {
  text-align: center;
  padding: 32px 20px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.xls-why-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(249,115,22,.13);
  transform: translateY(-6px);
}
.xls-why-icon {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.75rem;
  transition: background .3s, color .3s;
}
.xls-why-card:hover .xls-why-icon { background: var(--primary); color: var(--white); }
.xls-why-card h4 { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.xls-why-card p  { font-size: .8125rem; color: var(--gray-500); line-height: 1.65; margin: 0; }

/* ============================================================
   38. STATS / COUNTER
   ============================================================ */
.xls-stats {
  padding: 72px 0;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 60%, #0D2137 100%);
  position: relative; overflow: hidden;
}
.xls-stats::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(249,115,22,.22) 0%, transparent 60%);
  pointer-events: none;
}
.xls-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 16px;
  position: relative; z-index: 1;
}
@media (min-width: 768px) { .xls-stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0; } }

.xls-stat { text-align: center; position: relative; }
@media (min-width: 768px) {
  .xls-stat + .xls-stat::before {
    content: ''; position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 56px; background: rgba(255,255,255,.12);
  }
}
.xls-stat-icon { font-size: 1.75rem; color: var(--primary); margin-bottom: 12px; display: block; }
.xls-stat-num {
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  font-weight: 900; color: var(--white);
  line-height: 1; margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.xls-stat-num .sfx { color: var(--primary); }
.xls-stat-lbl { font-size: .875rem; color: rgba(255,255,255,.58); font-weight: 500; }

/* ============================================================
   39. HOW IT WORKS
   ============================================================ */
.xls-steps { padding: 72px 0; background: var(--gray-50); }
.xls-steps-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .xls-steps-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px; position: relative;
  }
  .xls-steps-inner::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(33.333% / 2 + 20px);
    right: calc(33.333% / 2 + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  }
}

.xls-step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  text-align: center;
  border: 1.5px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  position: relative; z-index: 1;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.xls-step-card:hover {
  border-color: var(--primary);
  box-shadow: 0 14px 48px rgba(249,115,22,.12);
  transform: translateY(-6px);
}
.xls-step-num {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--primary); color: var(--white);
  font-size: 1.25rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(249,115,22,.4);
}
.xls-step-icon { font-size: 2rem; color: var(--primary); margin-bottom: 14px; display: block; }
.xls-step-card h4 { font-size: 1.0625rem; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.xls-step-card p  { font-size: .875rem; color: var(--gray-500); line-height: 1.65; margin: 0; }

/* ============================================================
   40. TESTIMONIALS
   ============================================================ */
.xls-testi { padding: 72px 0; background: var(--white); }
.xls-testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) { .xls-testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .xls-testi-grid { grid-template-columns: repeat(3, 1fr); } }

.xls-testi-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, box-shadow .3s, transform .3s;
  display: flex; flex-direction: column;
}
.xls-testi-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(249,115,22,.1);
  transform: translateY(-4px);
}
.xls-testi-stars { display: flex; gap: 3px; color: #FBBF24; font-size: .9rem; margin-bottom: 14px; }
.xls-testi-text {
  font-size: .9375rem; color: var(--gray-700);
  line-height: 1.72; font-style: italic;
  flex: 1; margin-bottom: 20px;
  padding-left: 22px; position: relative;
}
.xls-testi-text::before {
  content: '\201C';
  position: absolute; left: 0; top: -6px;
  font-size: 2.5rem; color: var(--primary);
  font-style: normal; line-height: 1; font-weight: 900;
}
.xls-testi-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--gray-100);
}
.xls-testi-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: .9375rem; font-weight: 700; flex-shrink: 0;
}
.xls-testi-info strong { display: block; font-size: .9rem; font-weight: 700; color: var(--gray-800); }
.xls-testi-info span  { font-size: .8rem; color: var(--gray-400); }

/* ============================================================
   41. CTA SECTION
   ============================================================ */
.xls-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #EA5B0C 50%, #C2410C 100%);
  text-align: center;
  position: relative; overflow: hidden;
}
.xls-cta::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255,255,255,.08); pointer-events: none;
}
.xls-cta::after {
  content: '';
  position: absolute; bottom: -100px; left: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.05); pointer-events: none;
}
.xls-cta-inner { position: relative; z-index: 1; }
.xls-cta-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.2); color: var(--white);
  padding: 5px 16px; border-radius: var(--radius-full);
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px;
}
.xls-cta h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800; color: var(--white);
  line-height: 1.2; margin-bottom: 14px;
}
.xls-cta-sub {
  font-size: 1rem; color: rgba(255,255,255,.85);
  margin-bottom: 36px; max-width: 500px;
  margin-left: auto; margin-right: auto; line-height: 1.65;
}
.xls-cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.btn-cta-primary {
  background: var(--white); color: var(--primary) !important;
  border: 2px solid var(--white);
  padding: 13px 30px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .9375rem;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 50px; transition: all .25s;
}
.btn-cta-primary:hover { background: transparent; color: var(--white) !important; }

.btn-cta-outline {
  background: transparent; color: var(--white) !important;
  border: 2px solid rgba(255,255,255,.5);
  padding: 13px 30px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .9375rem;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 50px; transition: all .25s;
}
.btn-cta-outline:hover { border-color: var(--white); background: rgba(255,255,255,.12); }

/* ============================================================
   42. PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  padding: 8px 0;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  text-decoration: none;
  transition: border-color .18s, color .18s, background .18s;
  line-height: 1;
  box-shadow: var(--shadow-xs);
}
.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.pagination span.current {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 3px 10px rgba(249,115,22,.3);
}
.pagination span.disabled {
  color: var(--gray-300);
  cursor: default;
  border-color: var(--gray-100);
  background: var(--gray-50);
  box-shadow: none;
}
.pagination a i,
.pagination span i { font-size: .75rem; }
