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

:root {
  --primary-blue: #041e42;
  --primary-red: #e31837;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #eaeaea;
  --transition: all 0.3s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
  position: relative;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img, svg, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-blue); }
.text-red { color: var(--primary-red); }

.bg-blue { background-color: var(--primary-blue); color: white; }
.bg-red { background-color: var(--primary-red); color: white; }
.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
  text-align: center;
}

.btn-red {
  background-color: var(--primary-red);
  color: white;
}

.btn-red:hover {
  background-color: #c4142f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(227, 24, 55, 0.3);
}

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

.btn-outline-blue:hover {
  background-color: var(--primary-blue);
  color: white;
}

.btn-blue {
  background-color: var(--primary-blue);
  color: white;
}

.btn-blue:hover {
  background-color: #03142c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(4, 30, 66, 0.3);
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title.with-lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.section-title.with-lines::before,
.section-title.with-lines::after {
  content: '';
  height: 1px;
  background-color: #d1d5db; /* Light gray line */
  flex-grow: 1;
  max-width: 200px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 48px;
}

/* Topbar */
.topbar {
  background-color: #f1f1f1;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

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

/* Navbar */
.navbar {
  background-color: var(--bg-white);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 24px;
  color: var(--primary-blue);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary-red);
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: inline-block;
  flex-shrink: 0;
}

.footer .logo-img,
footer .logo-img {
  background: #ffffff;
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.logo-icon {
  display: none;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-whatsapp {
  background-color: #25D366;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-whatsapp:hover {
  background-color: #20b858;
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary-blue);
  cursor: pointer;
}

/* Footer */
.footer {
  background-color: var(--bg-white);
  padding: 64px 0 24px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--primary-blue);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-desc {
  color: var(--text-light);
  font-size: 14px;
  margin-top: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-light);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary-red);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 14px;
}

.footer-contact-item i {
  color: var(--primary-red);
  margin-top: 4px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background-color: #f1f1f1;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-blue);
}

.social-icon:hover {
  background-color: var(--primary-blue);
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-light);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* Common Layout Elements */
.hero {
  position: relative;
  background-color: var(--primary-blue);
  color: white;
  padding: 100px 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background-color: var(--primary-red);
  color: white;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  border-radius: 2px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Responsive & Mobile Drawer */
@media (max-width: 992px) {
  .nav-links, .nav-whatsapp, .topbar {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--primary-blue);
    font-size: 20px;
    transition: var(--transition);
  }

  .mobile-menu-btn:active {
    transform: scale(0.92);
    background: #e2e8f0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero h1 {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .section-padding {
    padding: 40px 0 !important;
  }

  /* Universal Mobile Grid Uncollapsing: Convert all 2-col/3-col/4-col inline grids into clean vertical stacks */
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1.5fr"],
  div[style*="grid-template-columns: 1.5fr 1fr"],
  div[style*="grid-template-columns: 2fr 1fr"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(4, 1fr)"],
  div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Form Grids on Mobile */
  form div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  form > div {
    margin-bottom: 4px;
  }

  /* Mobile Typography Hierarchy */
  h1 {
    font-size: clamp(24px, 5.5vw, 30px) !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
    letter-spacing: -0.3px !important;
  }

  h2, .section-title {
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
  }

  .section-subtitle {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 28px !important;
  }

  h3 {
    font-size: 17px !important;
    line-height: 1.3 !important;
  }

  p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }

  /* Hero Section Mobile Polish */
  .hero {
    padding: 60px 0 40px !important;
  }

  .hero h1 {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }

  .hero p {
    font-size: 14px !important;
    margin-bottom: 24px !important;
  }

  /* Hero Search and Button Stacks */
  div[style*="display: flex; gap: 12px; max-width: 760px"] {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  div[style*="display: flex; gap: 12px; max-width: 760px"] > div,
  div[style*="display: flex; gap: 12px; max-width: 760px"] button,
  div[style*="display: flex; gap: 12px; max-width: 760px"] .btn {
    width: 100% !important;
    flex: 1 1 auto !important;
    height: 46px !important;
    justify-content: center !important;
  }

  /* Category Header Stacks on Mobile */
  .container > div[id] > div[style*="display: flex; justify-content: space-between"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
  }

  .container > div[id] > div[style*="display: flex; justify-content: space-between"] button {
    width: 100% !important;
    text-align: center !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
  }

  /* Contact & Services Cards Mobile Polish */
  div[style*="padding: 24px"],
  div[style*="padding: 32px"],
  div[style*="padding: 48px 32px"],
  div[style*="padding: 64px"] {
    padding: 20px 16px !important;
  }

  /* Map iframe on Mobile */
  iframe {
    height: 220px !important;
    border-radius: 10px !important;
    width: 100% !important;
  }

  /* Stats Bar on About page */
  div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    text-align: center !important;
  }

  /* Footer Mobile Layout */
  .footer {
    padding: 40px 0 20px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  
  .footer-bottom {
    flex-direction: column !important;
    gap: 14px !important;
    text-align: center !important;
    padding-top: 18px !important;
  }

  /* Clean up all buttons on mobile */
  .btn {
    padding: 10px 20px !important;
    font-size: 13.5px !important;
    border-radius: 8px !important;
  }

  input, textarea, select, button {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ========================================================
   Catalog Product Card & Image Enhancements
   ======================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.product-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.product-card.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(4, 30, 66, 0.12);
  border-color: rgba(227, 24, 55, 0.3);
}

/* Category Expand Wrappers - Hidden on Desktop */
.cat-expand-wrap {
  display: none;
}

.catalog-img-wrap {
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

@media (max-width: 640px) {
  .catalog-img-wrap {
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
}

.catalog-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
}

.product-card:hover .catalog-img-wrap img {
  transform: scale(1.08);
}

.img-zoom-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(4, 30, 66, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.25s ease;
  pointer-events: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
}

.product-card:hover .img-zoom-hint,
.catalog-img-wrap:focus .img-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .img-zoom-hint {
    top: 6px !important;
    right: 6px !important;
    bottom: auto !important;
    background: rgba(255, 255, 255, 0.94) !important;
    color: var(--primary-blue) !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    opacity: 0.95 !important;
    transform: none !important;
  }
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #f1f5f9;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(4, 30, 66, 0.2);
}

.badge-cat {
  color: var(--primary-red);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  background: #fff0f2;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.badge-stock {
  color: #16a34a;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-card-quote {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-blue);
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  transition: all 0.2s ease;
}

.btn-card-quote:hover {
  color: var(--primary-red);
}

/* ========================================================
   Meesho / Flipkart Mobile E-Commerce Layout System
   ======================================================== */
@media (max-width: 768px) {
  /* Sticky Category Pill Bar */
  div[style*="position: sticky; top: 72px"] {
    top: 56px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    padding: 0 !important;
  }

  div[style*="position: sticky; top: 72px"] > .container {
    padding: 8px 12px !important;
    gap: 6px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .cat-pill {
    font-size: 11px !important;
    padding: 5px 12px !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    font-weight: 600 !important;
  }

  .cat-pill.active {
    background: var(--primary-blue) !important;
    color: #ffffff !important;
    border-color: var(--primary-blue) !important;
    box-shadow: 0 2px 8px rgba(4, 30, 66, 0.25) !important;
  }

  /* Catalog Section Headings on Mobile */
  .container > div[id] {
    margin-bottom: 36px !important;
    scroll-margin-top: 115px !important;
  }

  .container > div[id] > div[style*="display: flex; justify-content: space-between"] {
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #f1f5f9 !important;
  }

  .container > div[id] h3 {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--primary-blue) !important;
    margin-bottom: 2px !important;
    gap: 8px !important;
  }

  .container > div[id] p {
    font-size: 11.5px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
  }

  /* Hide redundant category quote button on mobile, card buttons are instant */
  .container > div[id] button.btn-outline-blue {
    display: none !important;
  }

  /* Clean 2-Column Product Grid (Meesho / Flipkart style) */
  .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .product-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

  .product-card:active {
    transform: scale(0.98) !important;
  }

  .catalog-img-wrap {
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

  .catalog-img-wrap img {
    max-height: 116px !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }

  .product-card > div[style*="padding: 18px"] {
    padding: 10px 10px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    background: #ffffff !important;
  }

  .badge-cat {
    font-size: 9px !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    background: #fff0f2 !important;
    color: var(--primary-red) !important;
  }

  .badge-stock {
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #16a34a !important;
  }

  .product-card h4 {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 5px 0 4px !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 34px !important;
  }

  .product-card p {
    font-size: 11px !important;
    color: #64748b !important;
    margin-bottom: 8px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.35 !important;
  }

  .product-card div[style*="border-top: 1px solid"] {
    margin-top: auto !important;
    padding-top: 8px !important;
    border-top: 1px dashed #e2e8f0 !important;
  }

  /* High-Contrast E-Commerce Quote Button */
  .btn-card-quote {
    background: #e31837 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 7px 10px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 100% !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(227, 24, 55, 0.25) !important;
    cursor: pointer !important;
  }

  .btn-card-quote i {
    color: #ffffff !important;
    font-size: 10px !important;
  }

  .btn-card-quote:active {
    background: #b7122b !important;
    transform: scale(0.96) !important;
  }

  /* Mobile Smart Category Expand / Collapse System */
  .cat-card-overflow {
    display: none !important;
  }

  .products-grid.is-expanded .cat-card-overflow {
    display: flex !important;
    animation: cardFadeSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes cardFadeSlideUp {
    from {
      opacity: 0;
      transform: translateY(16px) scale(0.96);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .cat-expand-wrap {
    display: flex !important;
    justify-content: center;
    margin-top: 12px;
    margin-bottom: 6px;
    width: 100%;
  }

  .btn-cat-expand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: var(--primary-blue);
    border: 1.5px solid #cbd5e1;
    padding: 9px 20px;
    border-radius: 24px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    -webkit-tap-highlight-color: transparent;
    width: 100%;
    max-width: 300px;
  }

  .btn-cat-expand i {
    color: var(--primary-red);
    font-size: 11px;
    transition: transform 0.25s ease;
  }

  .btn-cat-expand:active {
    transform: scale(0.96);
    background: #f8fafc;
  }

  .btn-cat-expand.active {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: var(--primary-red);
  }

  /* Features Bar (Trust Strip on Home) */
  .features-bar {
    padding: 16px 0 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  .features-bar .container > div {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .features-bar .container > div > div {
    flex-direction: column !important;
    text-align: center !important;
    gap: 4px !important;
    padding: 6px 4px !important;
  }

  .features-bar .container > div > div i {
    font-size: 18px !important;
  }

  .features-bar .container > div > div h4 {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }

  .features-bar .container > div > div p {
    font-size: 9.5px !important;
    color: #64748b !important;
    display: none !important; /* Keep mobile minimalist */
  }

  /* Services & B2B Cards Mobile Styling */
  .service-card,
  section.section-padding .container > div > div[style*="border: 1px solid"] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 18px 14px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  }

  /* About Us Stats 2x2 Grid */
  .stats-bar,
  section.hero + div[style*="background-color: #02122b"] {
    padding: 24px 0 !important;
  }

  section.hero + div[style*="background-color: #02122b"] .container > div {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px 12px !important;
    text-align: center !important;
  }

  /* Contact Action Tiles on Mobile */
  .contact-info-list > div,
  div[style*="display: flex; flex-direction: column; gap: 16px;"] > div {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 14px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  }
}

/* ========================================================
   Product Photo Lightbox Modal (Full High-Res Viewer)
   ======================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 12, 28, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.lightbox-container {
  background: #ffffff;
  border-radius: 16px;
  max-width: 820px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-modal.active .lightbox-container {
  transform: scale(1);
}

.lightbox-header {
  padding: 14px 20px;
  background: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lightbox-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  overflow: hidden;
}

.lightbox-cat-badge {
  background: var(--primary-red);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lightbox-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.lightbox-close-btn:hover {
  background: var(--primary-red);
}

.lightbox-image-stage {
  background: #0f172a;
  min-height: 280px;
  max-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 16px;
}

.lightbox-image-stage img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transition: transform 0.25s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary-blue);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 5;
}

.lightbox-nav-btn:hover {
  background: #ffffff;
  color: var(--primary-red);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-prev { left: 14px; }
.lightbox-nav-next { right: 14px; }

.lightbox-details {
  padding: 18px 22px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.lightbox-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.lightbox-counter {
  font-size: 12px;
  color: #94a3b8;
  margin-left: auto;
  font-weight: 600;
}

@media (max-width: 600px) {
  .lightbox-container {
    max-height: 95vh;
  }
  .lightbox-image-stage {
    max-height: 42vh;
    min-height: 200px;
    padding: 10px;
  }
  .lightbox-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .lightbox-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .lightbox-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .lightbox-counter {
    margin-left: 0;
    text-align: center;
  }
}

/* ========================================================
   App-Like Mobile Navigation & UX System
   ======================================================== */

/* Mobile Bottom Navigation Bar (Thumb Zone) */
.mobile-app-bar {
  display: none;
}

@media (max-width: 992px) {
  /* Mobile App Top Header */
  .navbar {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  }

  .navbar .container {
    padding: 0 16px;
  }

  .logo {
    font-size: 20px;
    gap: 8px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-app-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr 50px 1fr 1fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    height: calc(58px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08);
    z-index: 9990;
    align-items: center;
    justify-items: center;
    padding: 0 2px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    overflow: hidden !important;
    touch-action: none;
  }

  .app-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 10.5px;
    font-weight: 600;
    gap: 2px;
    text-decoration: none;
    width: 100%;
    height: 100%;
    min-width: 0;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    border: none;
    background: transparent;
    position: relative;
    padding: 4px 1px;
  }

  .app-bar-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10.5px;
    letter-spacing: -0.2px;
    line-height: 1;
    max-width: 100%;
  }

  .app-bar-item i {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .app-bar-item.active {
    color: var(--primary-red);
  }

  .app-bar-item.active i {
    transform: translateY(-1px) scale(1.12);
  }

  .app-bar-item.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 12px;
    height: 2.5px;
    background: var(--primary-red);
    border-radius: 2px;
  }

  .app-bar-item:active {
    transform: scale(0.92);
  }

  .app-bar-center-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e31837 0%, #b7122b 100%);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(227, 24, 55, 0.45);
    margin: -16px auto 0;
    border: 3px solid #ffffff;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0;
    min-width: 44px;
    box-sizing: border-box;
  }

  .app-bar-center-btn:active {
    transform: scale(0.88);
  }

  .app-bar-center-btn i {
    font-size: 18px;
    color: #ffffff;
  }
}

/* ========================================================
   App-Like Slide-Out Mobile Drawer (Side Sheet)
   ======================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 30, 66, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 86vw;
  height: 100%;
  background: #ffffff;
  z-index: 10001;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.drawer-close-btn {
  background: white;
  border: 1px solid #e2e8f0;
  font-size: 18px;
  color: #64748b;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.drawer-close-btn:hover, .drawer-close-btn:active {
  background: #fee2e2;
  color: var(--primary-red);
  border-color: #fecaca;
}

.drawer-body {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-blue);
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.drawer-nav-link i {
  font-size: 17px;
  width: 24px;
  color: #64748b;
  transition: color 0.2s ease;
}

.drawer-nav-link:hover, .drawer-nav-link.active {
  background: #f1f5f9;
  color: var(--primary-red);
}

.drawer-nav-link.active i {
  color: var(--primary-red);
}

.drawer-nav-link:active {
  transform: scale(0.98);
}

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

/* ========================================================
   Floating Action Buttons
   ======================================================== */
.floating-actions-container {
  position: fixed;
  right: 20px;
  bottom: 84px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9980;
}

@media (min-width: 769px) {
  .floating-actions-container {
    bottom: 24px;
  }
}

.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.fab-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.fab-btn:active {
  transform: scale(0.95);
}

.fab-whatsapp {
  background: #25D366;
}

.fab-estimator {
  background: var(--primary-blue);
}

.fab-tooltip {
  position: absolute;
  right: 60px;
  background: rgba(4, 30, 66, 0.95);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s ease;
}

.fab-btn:hover .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ========================================================
   Interactive Modals & Native Mobile Bottom Sheets
   ======================================================== */
.app-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 30, 66, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

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

.app-modal-dialog {
  background: white;
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.app-modal.active .app-modal-dialog {
  transform: translateY(0) scale(1);
}

/* Native Mobile Bottom Sheet on Small Screens */
@media (max-width: 768px) {
  .app-modal {
    align-items: flex-end;
    padding: 0;
  }

  .app-modal-dialog {
    border-radius: 24px 24px 0 0;
    max-width: 100%;
    max-height: 88vh;
    transform: translateY(100%);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
    margin: 0;
  }

  .app-modal.active .app-modal-dialog {
    transform: translateY(0);
  }

  .app-modal-header {
    position: relative;
    padding-top: 20px;
    border-radius: 24px 24px 0 0;
  }

  /* Native Bottom Sheet Drag Handle Bar */
  .app-modal-header::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
  }
}

.app-modal-header {
  padding: 18px 22px;
  background: var(--primary-blue);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-modal-header h3 {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.app-modal-close:hover, .app-modal-close:active {
  background: var(--primary-red);
}

.app-modal-body {
  padding: 22px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
  background: #f8fafc;
  -webkit-appearance: none;
}

@media (max-width: 768px) {
  .form-control {
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
    padding: 12px 14px;
  }
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(4, 30, 66, 0.1);
}

.btn-preset {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-blue);
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-preset:hover, .btn-preset:active {
  background: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
  transform: translateY(-1px);
}

.calc-result-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  display: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.calc-result-box.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.calc-result-title {
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 12px;
  font-size: 13px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
}

.calc-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dark);
  padding: 6px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.calc-result-item:last-child {
  border-bottom: none;
}

.calc-result-item span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
}

.calc-result-item strong {
  color: var(--primary-blue);
  font-weight: 700;
}

/* Tactile touch styles & Micro-interactions */
.btn, .social-icon, .topbar-item, .nav-whatsapp, .cat-pill, .product-card, .btn-card-quote {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn:active, .product-card:active {
  transform: scale(0.98);
}




/* =======================================================
   Category Navigation with Smooth Scroll Buttons (< and >)
   ======================================================= */
.cat-nav-wrapper {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 72px;
  z-index: 50;
  box-shadow: 0 4px 14px rgba(4, 30, 66, 0.04);
}

.cat-nav-inner {
  display: flex;
  align-items: center;
  position: relative;
  padding: 8px 16px;
  gap: 8px;
}

.cat-nav-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px;
  flex: 1;
}

.cat-nav-track::-webkit-scrollbar {
  display: none;
}

.cat-nav-scroll-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  z-index: 2;
}

.cat-nav-scroll-btn:hover {
  background: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
  transform: scale(1.08);
}

.cat-nav-scroll-btn:active {
  transform: scale(0.95);
}

/* =======================================================
   Category Header Accordion Toggle
   ======================================================= */
.category-header-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 14px 16px;
  margin: -10px -14px 20px -14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  user-select: none;
}

.category-header-toggle:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.cat-toggle-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-blue);
  background: #f1f5f9;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.category-header-toggle:hover .cat-toggle-indicator {
  background: #fee2e2;
  color: var(--primary-red);
  border-color: #fca5a5;
}

.cat-toggle-indicator i {
  transition: transform 0.3s ease;
}

.category-section-block.is-collapsed .cat-toggle-indicator i {
  transform: rotate(-90deg);
}

.category-section-block.is-collapsed .products-grid {
  display: none !important;
}

.category-section-block.is-collapsed .category-header-toggle {
  margin-bottom: 0;
  border-bottom: 1px solid #e2e8f0;
}

/* Pure white proportional cards with no gray border/background */
.product-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  border-color: rgba(227, 24, 55, 0.35) !important;
  box-shadow: 0 10px 24px rgba(4, 30, 66, 0.09) !important;
}

.catalog-img-wrap {
  background: #ffffff !important;
  border-bottom: 1px solid #f8fafc !important;
}

.catalog-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #ffffff;
  transition: transform 0.3s ease;
}


/* =======================================================
   E-Commerce Catalog Layout & Sidebar Filter Styling
   ======================================================= */
.catalog-container-fluid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.catalog-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

/* Left Sidebar */
.catalog-sidebar {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
  box-shadow: 0 4px 16px rgba(4, 30, 66, 0.03);
}

.catalog-sidebar::-webkit-scrollbar {
  width: 6px;
}
.catalog-sidebar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
}

.sidebar-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--primary-blue);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.sidebar-count-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-red);
  background: #fee2e2;
  padding: 2px 8px;
  border-radius: 12px;
}

.btn-reset-filters {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-red);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}

.btn-reset-filters:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* Collapsible Filter Accordions with ^ / v chevrons */
.filter-accordion {
  border-bottom: 1px solid #f1f5f9;
  padding: 14px 0;
}

.filter-accordion:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-header-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  user-select: none;
}

.filter-header-btn:hover {
  color: var(--primary-red);
}

.filter-chevron {
  font-size: 12px;
  color: #64748b;
  transition: transform 0.25s ease;
}

.filter-accordion.is-collapsed .filter-chevron {
  transform: rotate(-180deg);
}

.filter-accordion.is-collapsed .filter-body {
  display: none;
}

.filter-body {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
  user-select: none;
  font-size: 13px;
  color: #334155;
}

.filter-option-item:hover {
  background: #f8fafc;
  color: var(--primary-blue);
}

.filter-option-item.active {
  background: #eff6ff;
  color: var(--primary-blue);
  font-weight: 700;
}

.filter-option-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex: 1;
}

.filter-option-label input[type="radio"],
.filter-option-label input[type="checkbox"] {
  accent-color: var(--primary-red);
  cursor: pointer;
}

.filter-item-count {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 10px;
}

.filter-option-item.active .filter-item-count {
  background: #dbeafe;
  color: var(--primary-blue);
}

/* Right Main Products Area */
.catalog-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.catalog-topbar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 14px 20px;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(4, 30, 66, 0.02);
}

.topbar-results-info {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.topbar-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-blue);
  margin: 0;
}

.topbar-count {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-filter-trigger {
  display: none;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--primary-blue);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.sort-select-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #475569;
}

.sort-select {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  background: #ffffff;
  outline: none;
  cursor: pointer;
}

.sort-select:focus {
  border-color: var(--primary-blue);
}

/* Active Filter Badges Bar */
.active-filters-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 4px;
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--primary-blue);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
}

.active-filter-tag button {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  font-size: 12px;
  line-height: 1;
}

.active-filter-tag button:hover {
  color: var(--primary-red);
}

/* Products Grid in E-Commerce View */
.catalog-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (min-width: 1280px) {
  .catalog-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product Card - Equal Proportional Seamless White Inside */
.product-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 24, 55, 0.4) !important;
  box-shadow: 0 12px 24px rgba(4, 30, 66, 0.09) !important;
}

.catalog-img-wrap {
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.catalog-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #ffffff;
  transition: transform 0.3s ease;
}

.product-card:hover .catalog-img-wrap img {
  transform: scale(1.05);
}

/* Mobile Filter Drawer */
@media (max-width: 991px) {
  .catalog-layout-grid {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    max-height: 100vh;
    z-index: 99999;
    border-radius: 0;
    box-shadow: 4px 0 24px rgba(0,0,0,0.25);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .catalog-sidebar.is-open {
    transform: translateX(0);
  }

  .mobile-filter-trigger {
    display: inline-flex;
  }

  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .catalog-products-grid {
    grid-template-columns: 1fr;
  }
}

.mobile-filter-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 30, 66, 0.6);
  z-index: 99998;
  backdrop-filter: blur(4px);
}

.mobile-filter-backdrop.is-open {
  display: block;
}


/* =======================================================
   E-Commerce Catalog Layout & Sidebar Filter Styling
   ======================================================= */
.catalog-container-fluid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.catalog-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

/* Left Sidebar */
.catalog-sidebar {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
  box-shadow: 0 4px 16px rgba(4, 30, 66, 0.03);
}

.catalog-sidebar::-webkit-scrollbar {
  width: 6px;
}
.catalog-sidebar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
}

.sidebar-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--primary-blue);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  line-height: 1.2;
}

.sidebar-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-top: 3px;
  display: block;
  letter-spacing: 0.2px;
}

.btn-reset-filters {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-red);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}

.btn-reset-filters:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.sidebar-close-btn {
  display: none;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s ease;
}

.sidebar-close-btn:hover {
  background: #fee2e2;
  color: var(--primary-red);
}

@media (max-width: 991px) {
  .sidebar-close-btn {
    display: flex;
  }
}


/* Collapsible Filter Accordions with ^ / v chevrons */
.filter-accordion {
  border-bottom: 1px solid #f1f5f9;
  padding: 14px 0;
}

.filter-accordion:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-header-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  user-select: none;
}

.filter-header-btn:hover {
  color: var(--primary-red);
}

.filter-chevron {
  font-size: 12px;
  color: #64748b;
  transition: transform 0.25s ease;
}

.filter-accordion.is-collapsed .filter-chevron {
  transform: rotate(-180deg);
}

.filter-accordion.is-collapsed .filter-body {
  display: none;
}

.filter-body {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
  user-select: none;
  font-size: 13px;
  color: #334155;
}

.filter-option-item:hover {
  background: #f8fafc;
  color: var(--primary-blue);
}

.filter-option-item.active {
  background: #eff6ff;
  color: var(--primary-blue);
  font-weight: 700;
}

.filter-option-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex: 1;
}

.filter-option-label input[type="radio"],
.filter-option-label input[type="checkbox"] {
  accent-color: var(--primary-red);
  cursor: pointer;
}

.filter-item-count {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 10px;
}

.filter-option-item.active .filter-item-count {
  background: #dbeafe;
  color: var(--primary-blue);
}

/* Right Main Products Area */
.catalog-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.catalog-topbar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 14px 20px;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(4, 30, 66, 0.02);
}

.topbar-results-info {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.topbar-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-blue);
  margin: 0;
}

.topbar-count {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-filter-trigger {
  display: none;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--primary-blue);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.sort-select-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #475569;
}

.sort-select {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  background: #ffffff;
  outline: none;
  cursor: pointer;
}

.sort-select:focus {
  border-color: var(--primary-blue);
}

/* Active Filter Badges Bar */
.active-filters-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 4px;
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--primary-blue);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
}

.active-filter-tag button {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  font-size: 12px;
  line-height: 1;
}

.active-filter-tag button:hover {
  color: var(--primary-red);
}

/* Products Grid in E-Commerce View */
.catalog-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (min-width: 1280px) {
  .catalog-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product Card - Equal Proportional Seamless White Inside */
.product-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 24, 55, 0.4) !important;
  box-shadow: 0 12px 24px rgba(4, 30, 66, 0.09) !important;
}

.catalog-img-wrap {
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.catalog-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #ffffff;
  transition: transform 0.3s ease;
}

.product-card:hover .catalog-img-wrap img {
  transform: scale(1.05);
}

/* Mobile Filter Drawer */
@media (max-width: 991px) {
  .catalog-layout-grid {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    max-height: 100vh;
    z-index: 99999;
    border-radius: 0;
    box-shadow: 4px 0 24px rgba(0,0,0,0.25);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .catalog-sidebar.is-open {
    transform: translateX(0);
  }

  .mobile-filter-trigger {
    display: inline-flex;
  }

  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
}

/* Meesho-style 2-Column Mobile Grid Model */
@media (max-width: 768px) {
  .catalog-container-fluid {
    padding: 14px 10px 60px !important;
  }

  .catalog-topbar-controls {
    padding: 10px 12px !important;
    gap: 8px !important;
  }

  .topbar-title {
    font-size: 15px !important;
  }

  .topbar-count {
    font-size: 11px !important;
  }

  .mobile-filter-trigger {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }

  .sort-select {
    padding: 4px 6px !important;
    font-size: 12px !important;
  }

  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .product-card {
    border-radius: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  }

  .catalog-img-wrap {
    height: 135px !important;
    padding: 10px !important;
  }

  .catalog-img-wrap img {
    max-height: 100% !important;
  }

  .img-zoom-hint {
    display: none !important;
  }

  .product-card > div:last-child {
    padding: 10px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .product-card h4 {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 32px !important;
  }

  .product-card p {
    font-size: 11px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
    color: #64748b !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .badge-cat {
    font-size: 9px !important;
    padding: 2px 5px !important;
    font-weight: 700 !important;
  }

  .badge-stock {
    font-size: 9px !important;
    font-weight: 600 !important;
  }

  .product-card > div:last-child > div:last-child {
    padding-top: 8px !important;
    margin-top: auto !important;
  }

  .btn-card-quote {
    padding: 6px 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    justify-content: center !important;
    text-align: center !important;
    border-radius: 4px !important;
  }
}

@media (max-width: 360px) {
  .catalog-products-grid {
    gap: 6px !important;
  }

  .catalog-img-wrap {
    height: 120px !important;
    padding: 6px !important;
  }

  .product-card > div:last-child {
    padding: 8px !important;
  }

  .product-card h4 {
    font-size: 12px !important;
    height: 30px !important;
  }
}

.mobile-filter-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 30, 66, 0.6);
  z-index: 99998;
  backdrop-filter: blur(4px);
}

.mobile-filter-backdrop.is-open {
  display: block;
}


/* =======================================================
   AEO & SEO Interactive FAQ Section
   ======================================================= */
.faq-section-wrapper {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 60px 0;
}

.faq-header-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.faq-header-badge {
  display: inline-block;
  background: #fee2e2;
  color: var(--primary-red);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.faq-header-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 12px;
  line-height: 1.25;
}

.faq-header-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.faq-grid-layout {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-accordion-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-accordion-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(4, 30, 66, 0.04);
}

.faq-trigger-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-blue);
  text-align: left;
  cursor: pointer;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-trigger-btn:hover {
  color: var(--primary-red);
}

.faq-trigger-chevron {
  font-size: 12px;
  color: #64748b;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-accordion-item.is-open .faq-trigger-chevron {
  transform: rotate(180deg);
  color: var(--primary-red);
}

.faq-content-panel {
  display: none;
  padding: 0 22px 18px;
  font-size: 13px;
  color: #475569;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.faq-accordion-item.is-open .faq-content-panel {
  display: block;
}
