/* ==========================================================================
   ITTEHAD CORPORATION — OFFICIAL DESIGN SYSTEM & STYLESHEET
   Brand: High-Performance Sportswear Manufacturer & Exporter (Sialkot, Pakistan)
   Aesthetic: Dark Industrial, Motorsport Performance, Precision Manufacturing
   ========================================================================== */

:root {
  --bg-primary: #050505;
  --bg-card: #101214;
  --bg-surface: #181B1E;
  --bg-card-hover: #1e2226;
  --red-accent: #ED1C24;
  --red-bright: #FF2028;
  --red-glow: rgba(237, 28, 36, 0.4);
  --text-white: #FFFFFF;
  --text-muted: #B8B8B8;
  --text-dim: #7E848B;
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-red: rgba(237, 28, 36, 0.35);
  --font-display: 'Barlow Condensed', 'Bebas Neue', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --maxw: 1280px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg-primary);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button, input, textarea, select { font-family: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 90px 0; position: relative; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-white);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.08;
  margin: 0 0 16px;
}
h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 900; }
h2 { font-size: clamp(30px, 4.2vw, 48px); }
h3 { font-size: clamp(22px, 3vw, 32px); }
h4 { font-size: 20px; }
h5 { font-size: 16px; }

p { margin: 0 0 18px; }
.lead { font-size: 18px; color: var(--text-muted); line-height: 1.7; }
.text-red { color: var(--red-accent) !important; }
.text-white { color: var(--text-white) !important; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--red-accent);
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-white);
  cursor: pointer;
  transition: var(--transition);
}
.btn:hover {
  background: var(--bg-surface);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--red-accent);
  border-color: var(--red-accent);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(237, 28, 36, 0.35);
}
.btn-primary:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  color: #FFFFFF;
  box-shadow: 0 6px 28px rgba(237, 28, 36, 0.55);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
}
.btn-outline-red {
  border-color: var(--red-accent);
  color: var(--red-accent);
}
.btn-outline-red:hover {
  background: var(--red-accent);
  color: #FFFFFF;
}

/* ==========================================================================
   GLOBAL HEADER (TWO-LEVEL)
   ========================================================================== */
.top-bar {
  background: #090B0D;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: var(--text-dim);
  padding: 8px 0;
}
.top-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.top-bar-left span.divider { opacity: 0.3; }
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-right a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
}
.top-bar-right a:hover { color: var(--red-accent); }
.top-bar-socials { display: flex; gap: 14px; align-items: center; }
.top-bar-socials a svg { width: 14px; height: 14px; fill: currentColor; }

header.site {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 12, 14, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}
header.site.scrolled {
  background: rgba(5, 5, 5, 0.98);
  box-shadow: 0 8px 30px rgba(0,0,0,0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
}
.navlinks > a, .navlinks .dropdown-trigger {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-white);
  padding: 6px 0;
  position: relative;
  cursor: pointer;
}
.navlinks > a:hover, .navlinks > a.active, .navlinks .dropdown-trigger:hover, .navlinks .dropdown.open .dropdown-trigger {
  color: var(--red-accent);
}
.navlinks > a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red-accent);
}

/* Dropdown Mega Menu */
.nav-item.dropdown {
  position: relative;
}
.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.drop-arrow { font-size: 11px; transition: transform 0.25s ease; }
.nav-item.dropdown:hover .drop-arrow, .nav-item.dropdown.open .drop-arrow {
  transform: rotate(180deg);
  color: var(--red-accent);
}
.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 880px;
  background: #0D0F12;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  padding: 26px 30px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 1100;
}
.nav-item.dropdown:hover .mega-menu, .nav-item.dropdown.open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.mega-col .mega-cat-title {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-white);
  border-bottom: 2px solid var(--red-accent);
  padding-bottom: 6px;
  margin-bottom: 12px;
}
.mega-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mega-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  display: block;
  padding: 3px 0;
  transition: var(--transition);
}
.mega-links a:hover {
  color: var(--red-accent);
  transform: translateX(4px);
}
.mega-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* Nav Actions Right */
.navcta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-white);
  font-weight: 700;
  font-size: 14.5px;
}
.nav-phone:hover { color: var(--red-accent); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #090B0D;
  border-top: 1px solid var(--border-subtle);
  padding: 16px 24px 28px;
  max-height: 85vh;
  overflow-y: auto;
}
.mobile-menu a {
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-white);
}
.mobile-acc-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  cursor: pointer;
}
.mobile-acc-btn span { font-size: 20px; color: var(--red-accent); }
.mobile-acc-content {
  display: none;
  padding: 12px 0 16px 16px;
  flex-direction: column;
  gap: 16px;
}
.mobile-acc-content.open { display: flex; }
.mobile-cat-group b {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--red-accent);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.mobile-cat-group a {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: none;
  font-family: var(--font-body);
  text-transform: none;
}

@media (max-width: 980px) {
  .top-bar { display: none; }
  .navlinks, .navcta .nav-phone { display: none; }
  .hamburger { display: flex; }
  body.menu-open .mobile-menu { display: flex; }
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero-full {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-primary);
  background-size: cover;
  background-position: center;
  padding: 120px 0 80px;
}
.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,0.7) 0%, rgba(5,5,5,0.85) 60%, #050505 100%),
              radial-gradient(circle at 80% 30%, rgba(237, 28, 36, 0.25) 0%, transparent 60%);
  z-index: 1;
}
.hero-full .wrap { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 760px; }
.hero-content p { font-size: 18px; color: #D1D5DB; margin-bottom: 32px; max-width: 620px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 28px 32px;
  background: rgba(16, 18, 20, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}
.stat-item {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--red-accent);
  padding-left: 16px;
}
.stat-item:first-child { border-left: none; padding-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 6px;
}

@media (max-width: 980px) {
  .stats-bar { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 600px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item { border-left: none; }
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.sec-head p { max-width: 540px; margin: 0; }

/* Product Categories Grid (4 Large Cards) */
.cat-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat-card-modern {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.cat-card-modern img.bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: 0;
}
.cat-card-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,0.2) 0%, rgba(5,5,5,0.85) 75%, #050505 100%);
  z-index: 1;
  transition: var(--transition);
}
.cat-card-modern:hover {
  transform: translateY(-8px);
  border-color: var(--border-red);
  box-shadow: 0 16px 40px rgba(237, 28, 36, 0.2);
}
.cat-card-modern:hover img.bg-img { transform: scale(1.08); }
.cat-card-content {
  position: relative;
  z-index: 2;
  padding: 24px;
}
.cat-card-content h3 {
  font-size: 26px;
  margin-bottom: 6px;
  color: var(--text-white);
}
.cat-card-list {
  font-size: 13px;
  color: #D1D5DB;
  margin-bottom: 16px;
  line-height: 1.5;
}
.cat-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--red-accent);
  text-transform: uppercase;
}
.cat-card-link span { transition: transform 0.2s ease; }
.cat-card-modern:hover .cat-card-link span { transform: translateX(6px); }

@media (max-width: 980px) { .cat-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-cards-grid { grid-template-columns: 1fr; } }

/* Services 6-Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-red);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(237, 28, 36, 0.12);
  color: var(--red-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.service-card h4 { font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 14px; margin: 0; color: var(--text-muted); }

@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FABRIC ENGINEERING (7 CARDS)
   ========================================================================== */
.fabrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.fabric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.fabric-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-red);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.7);
}
.fabric-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #000;
}
.fabric-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.fabric-card:hover .fabric-thumb img { transform: scale(1.08); }
.fabric-body { padding: 20px; flex: 1; }
.fabric-body h4 { font-size: 18px; margin-bottom: 6px; }
.fabric-body p { font-size: 13px; color: var(--text-muted); margin: 0; }

@media (max-width: 980px) { .fabrics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .fabrics-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   MANUFACTURING PROCESS (8-STEP HORIZONTAL CONNECTED TIMELINE)
   ========================================================================== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  position: relative;
  margin-top: 30px;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 22px 14px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.process-step::after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red-accent);
  font-size: 16px;
  font-weight: 900;
  z-index: 3;
}
.process-step:last-child::after { display: none; }
.process-step:hover {
  border-color: var(--red-accent);
  background: var(--bg-surface);
  transform: translateY(-4px);
}
.step-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--red-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.step-desc { font-size: 11.5px; color: var(--text-dim); line-height: 1.4; margin: 0; }

@media (max-width: 1080px) {
  .process-timeline { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .process-step::after { display: none; }
}
@media (max-width: 600px) {
  .process-timeline { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FEATURED PRODUCTS & PRODUCT CATALOG
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-red);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}
.product-thumb {
  aspect-ratio: 1/1;
  background: #08090A;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cat {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-accent);
  margin-bottom: 6px;
}
.product-title {
  font-size: 18px;
  margin-bottom: 12px;
  flex: 1;
}
.product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 16px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
}
.product-card:hover .product-btn {
  background: var(--red-accent);
  color: #FFFFFF;
}

@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .product-grid { grid-template-columns: 1fr; } }

/* Filter Chips */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--red-accent);
  border-color: var(--red-accent);
  color: #FFFFFF;
}

/* ==========================================================================
   OEM / ODM SPLIT SECTION
   ========================================================================== */
.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.split-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0 36px;
}
.split-feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.split-feat-item span.dot {
  width: 8px;
  height: 8px;
  background: var(--red-accent);
  border-radius: 2px;
}
.split-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

@media (max-width: 860px) {
  .split-layout { grid-template-columns: 1fr; gap: 36px; }
  .split-features { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PRODUCTION GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5,5,5,0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0.85;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox-modal.active { display: flex; }
.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 32px;
  color: #FFFFFF;
  background: none;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   GLOBAL EXPORT & WORLD MAP SECTION
   ========================================================================== */
.global-export-section {
  background: #080A0C;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.map-container {
  position: relative;
  width: 100%;
  aspect-ratio: 2/1;
  max-height: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 36px 0;
  border: 1px solid var(--border-subtle);
  background: #0a0c0e;
}
.map-container img, .map-container svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.export-regions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.region-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-white);
}
.region-chip span { width: 6px; height: 6px; background: var(--red-accent); border-radius: 50%; }

/* ==========================================================================
   GLOBAL FOOTER (ALWAYS VISIBLE, 5 COLUMNS)
   ========================================================================== */
footer.site {
  background: #050608;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 30px;
  color: var(--text-muted);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  margin-bottom: 60px;
}
.foot-col h5 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-white);
  border-bottom: 2px solid var(--red-accent);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 20px;
}
.foot-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-links a { font-size: 14px; color: var(--text-muted); }
.foot-links a:hover { color: var(--red-accent); transform: translateX(4px); }

.foot-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  align-items: flex-start;
}
.foot-contact-item span.icon { color: var(--red-accent); font-size: 16px; }

.foot-map-preview {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16/9;
  background: #000;
}
.foot-map-preview img, .foot-map-preview svg { width: 100%; height: 100%; object-fit: cover; }

.foot-socials { display: flex; gap: 14px; margin-top: 18px; }
.foot-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: var(--transition);
}
.foot-social-link:hover {
  background: var(--red-accent);
  border-color: var(--red-accent);
  transform: translateY(-3px);
}
.foot-social-link svg { width: 15px; height: 15px; fill: currentColor; }

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   FORMS & QUOTATION (GET A QUOTE / CONTACT)
   ========================================================================== */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-white);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 14px 18px;
  background: #0E1013;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 14.5px;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--red-accent);
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.2);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.file-upload-box {
  border: 2px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: var(--transition);
}
.file-upload-box:hover {
  border-color: var(--red-accent);
  background: rgba(237, 28, 36, 0.05);
}
.file-upload-box span.title {
  display: block;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}
.file-upload-box span.meta {
  font-size: 12px;
  color: var(--text-dim);
}

/* FAQ Accordion */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.faq-question:hover { color: var(--red-accent); }
.faq-icon { font-size: 22px; color: var(--red-accent); transition: transform 0.25s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.active .faq-answer { display: block; }

/* Size Tables */
.size-table-container {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin: 28px 0;
  background: var(--bg-card);
}
table.size-table-custom {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: center;
}
table.size-table-custom th, table.size-table-custom td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}
table.size-table-custom th {
  background: #090B0D;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-white);
}
table.size-table-custom tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}
table.size-table-custom td:first-child, table.size-table-custom th:first-child {
  text-align: left;
  font-weight: 800;
  color: var(--red-accent);
}

/* Floating WhatsApp & Back-To-Top */
.floating-widgets {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2000;
}
.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: var(--transition);
}
.float-whatsapp {
  background: #25D366;
  color: #FFFFFF;
}
.float-whatsapp:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6); }
.float-whatsapp svg { width: 28px; height: 28px; fill: currentColor; }
.float-top {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-size: 18px;
  display: none;
}
.float-top.visible { display: flex; }
.float-top:hover {
  background: var(--red-accent);
  border-color: var(--red-accent);
  transform: translateY(-4px);
}

/* ==========================================================================
   HERO BANNER & SLIDER STYLES (100% FULL-WIDTH EDGE-TO-EDGE, ZERO GAPS)
   ========================================================================== */
.hero-slider-section {
  width: 100%;
  max-width: 100vw;
  position: relative;
  overflow: hidden;
  background: #000000;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--border-subtle);
  user-select: none;
}

/* Dynamic High-Speed Light Sweep Transition Effect */
.hero-slider-sweep-effect {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 18;
  background: linear-gradient(105deg, transparent 15%, rgba(237, 28, 36, 0.5) 45%, rgba(255, 255, 255, 0.8) 50%, rgba(237, 28, 36, 0.5) 55%, transparent 85%);
  transform: translateX(-100%);
  opacity: 0;
}

.hero-slider-sweep-effect.sweep-active {
  animation: heroSweepFlash 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroSweepFlash {
  0% { transform: translateX(-100%) skewX(-15deg); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateX(100%) skewX(-15deg); opacity: 0; }
}

.hero-slider-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-slide-pane {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide-link {
  display: block;
  width: 100%;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
}

.hero-slide-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1983 / 793;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  transform: scale(1);
  transition: filter 0.4s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Punchy Dynamic Entrance Effect on Every Slide Change */
.hero-slide-pane.active .hero-slide-img {
  animation: heroSlideZoomIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroSlideZoomIn {
  0% {
    transform: scale(1.07);
    filter: brightness(1.28) contrast(1.08);
  }
  100% {
    transform: scale(1);
    filter: brightness(1) contrast(1);
  }
}

/* Arrow Navigation Buttons */
.hero-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 12, 15, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 20;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

.hero-arrow-btn:hover {
  background: var(--red-accent);
  border-color: var(--red-accent);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(237, 28, 36, 0.65);
}

/* Modern Timeline Pill Navigation */
.hero-slider-nav {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 20;
  max-width: 92%;
  background: rgba(8, 10, 12, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.hero-nav-pill {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.hero-nav-pill:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pill-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.pill-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #A0A5AA;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.pill-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.pill-progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--red-accent);
  box-shadow: 0 0 8px var(--red-accent);
}

.hero-nav-pill.active {
  background: rgba(237, 28, 36, 0.18);
}

.hero-nav-pill.active .pill-badge {
  color: var(--red-accent);
}

.hero-nav-pill.active .pill-text {
  color: #FFFFFF;
}

.hero-nav-pill.active .pill-progress-bar {
  animation: heroPillProgress 2.6s linear forwards;
}

@keyframes heroPillProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

@media (max-width: 900px) {
  .hero-nav-pill .pill-text { display: none; }
  .hero-nav-pill { padding: 6px 10px; }
  .hero-slider-nav { bottom: 14px; padding: 6px 10px; gap: 8px; }
  .hero-arrow-btn { width: 40px; height: 40px; font-size: 24px; }
  .hero-arrow-prev { left: 12px; }
  .hero-arrow-next { right: 12px; }
}

@media (max-width: 500px) {
  .hero-slider-nav { bottom: 10px; gap: 6px; padding: 4px 8px; }
  .hero-nav-pill { padding: 4px 6px; }
  .pill-badge { font-size: 10px; }
  .hero-arrow-btn { display: none; }
}

/* ==========================================================================
   SHOP BY CATEGORY (EXPANDED WIDE CONTAINER & ENLARGED BANNER CARDS)
   ========================================================================== */
.cat-wide-container {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 28px;
}

.cat-cards-grid-wide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.cat-card-visual {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--bg-card);
  aspect-ratio: 1 / 1;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.65);
}

.cat-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-card-visual:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: var(--red-accent);
  box-shadow: 0 22px 50px rgba(237, 28, 36, 0.38), 0 0 22px rgba(237, 28, 36, 0.22);
}

.cat-card-visual:hover img {
  transform: scale(1.05);
}

@media (max-width: 1100px) {
  .cat-cards-grid-wide {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .cat-wide-container {
    padding: 0 16px;
  }
  .cat-cards-grid-wide {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   SINGLE PRODUCT DETAIL PAGE (PDP) COMPLETE STYLES
   ========================================================================== */
.pdp-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: flex-start;
}
.pdp-gallery-wrap {
  position: sticky;
  top: 100px;
}
.pdp-main-thumb {
  background: #090B0D;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}
.pdp-main-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.pdp-main-thumb:hover img {
  transform: scale(1.04);
}
.pdp-thumbs-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.pdp-thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: #0E1013;
  border: 1px solid var(--border-subtle);
  padding: 6px;
  cursor: pointer;
  transition: var(--transition);
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pdp-thumb:hover, .pdp-thumb.active {
  border-color: var(--red-accent);
  box-shadow: 0 0 12px rgba(237, 28, 36, 0.4);
  transform: translateY(-2px);
}
.pdp-info-wrap {
  display: flex;
  flex-direction: column;
}
.pdp-badges-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.pdp-pill {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(237, 28, 36, 0.12);
  color: var(--red-accent);
  border: 1px solid rgba(237, 28, 36, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
}
.pdp-pill-feat {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  border-color: var(--border-subtle);
}
.pdp-sku {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.size-chips-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.size-chip {
  min-width: 46px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}
.size-chip:hover, .size-chip.active {
  background: var(--red-accent);
  border-color: var(--red-accent);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(237, 28, 36, 0.4);
}
@media (max-width: 900px) {
  .pdp-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pdp-gallery-wrap {
    position: static;
  }
}

/* ==========================================================================
   MULTI-LEVEL CATALOG & PRODUCT DETAIL SYSTEM (MOCKUP COMPLIANT)
   ========================================================================== */

/* ---- Catalog Page Layout (Mockup media_1790817411247.jpg) ---- */
.catalog-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.catalog-hero-pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.catalog-discipline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: #111315;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  cursor: pointer;
  transition: var(--transition);
}
.catalog-discipline-pill:hover,
.catalog-discipline-pill.active {
  background: var(--red-accent);
  border-color: var(--red-accent);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(237, 28, 36, 0.45);
  transform: translateY(-2px);
}
.catalog-hero-action-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #090B0D;
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
}
.catalog-hero-action-box img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.catalog-hero-action-box:hover img {
  transform: scale(1.04);
}
.catalog-hero-action-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.catalog-hero-action-badge b {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Catalog Body Split (Sidebar + 5-Col Grid) */
.catalog-layout-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}
.catalog-sidebar {
  background: #0B0D0F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: 90px;
}
.sidebar-section {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sidebar-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.sidebar-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-cat-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 7px 10px;
  border-radius: 4px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.sidebar-cat-btn:hover,
.sidebar-cat-btn.active {
  background: rgba(237, 28, 36, 0.12);
  color: #FFFFFF;
  font-weight: 600;
  padding-left: 14px;
}
.sidebar-cat-btn.active::before {
  content: "■ ";
  color: var(--red-accent);
  margin-right: 4px;
}
.sidebar-count {
  font-size: 11.5px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 999px;
}

/* Checkbox Filters */
.filter-checkbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 0;
  user-select: none;
}
.filter-checkbox-item:hover {
  color: var(--text-white);
}
.filter-checkbox-item input[type="checkbox"] {
  accent-color: var(--red-accent);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

/* Catalog Top Toolbar */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #0B0D0F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.catalog-search-form {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 440px;
  position: relative;
}
.catalog-search-form input {
  width: 100%;
  padding: 10px 48px 10px 16px;
  border-radius: var(--radius-sm);
  background: #111315;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 13.5px;
}
.catalog-search-form input:focus {
  outline: none;
  border-color: var(--red-accent);
}
.catalog-search-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  background: var(--red-accent);
  border: none;
  color: #FFFFFF;
  width: 38px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}
.catalog-search-btn:hover {
  background: var(--red-bright);
}

/* 5-Column Product Cards Grid (Mockup media_1790817411247.jpg) */
.catalog-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
@media (max-width: 1400px) {
  .catalog-grid-5 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1100px) {
  .catalog-layout-wrap { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .catalog-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .catalog-hero-grid { grid-template-columns: 1fr; }
  .catalog-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .catalog-grid-5 { grid-template-columns: 1fr; }
}

/* Product Card V2 (Mockup media_1790817411247.jpg) */
.card-v2 {
  background: #101214;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.card-v2:hover {
  border-color: var(--red-accent);
  box-shadow: 0 8px 26px rgba(237, 28, 36, 0.25);
  transform: translateY(-4px);
}
/* White/light-gray high contrast inner card for real product photos */
.card-v2-thumb-box {
  background: #FFFFFF;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
}
.card-v2-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.card-v2:hover .card-v2-thumb-box img {
  transform: scale(1.06);
}
.card-v2-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red-accent);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.card-v2-sub {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red-accent);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.card-v2-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 6px;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-v2-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-v2-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-dim);
}
.card-v2-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  background: var(--red-accent);
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.card-v2-btn:hover {
  background: var(--red-bright);
  box-shadow: 0 4px 16px rgba(237, 28, 36, 0.45);
}

/* ---- PDP Design System (Mockup media_1790817574335.jpg) ---- */
.pdp-hero-action {
  background: linear-gradient(180deg, #0E1013 0%, #050505 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.pdp-hero-action-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  opacity: 0.22;
  object-fit: cover;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, black);
  -webkit-mask-image: linear-gradient(to right, transparent, black);
}
.pdp-action-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 992px) {
  .pdp-action-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Gallery with Vertical Thumbnails (Mockup media_1790817574335.jpg) */
.pdp-gallery-collage {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pdp-gallery-split {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: start;
}
@media (max-width: 600px) {
  .pdp-gallery-split {
    grid-template-columns: 64px 1fr !important;
    gap: 10px !important;
  }
  .pdp-v-thumbs {
    flex-direction: column !important;
    order: 1 !important;
    gap: 8px !important;
  }
  .pdp-main-stage {
    order: 2 !important;
    padding: 12px !important;
    aspect-ratio: 1 / 1 !important;
  }
  .pdp-alt-angles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .pdp-alt-card img {
    height: 90px !important;
  }
}
.pdp-v-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pdp-v-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: #101214;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-v-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pdp-v-thumb:hover,
.pdp-v-thumb.active {
  border-color: var(--red-accent);
  box-shadow: 0 0 14px rgba(237, 28, 36, 0.45);
}

.pdp-main-stage {
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}
.pdp-main-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.pdp-main-stage:hover img {
  transform: scale(1.08);
}
.pdp-stage-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(6px);
  color: var(--red-accent);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(237, 28, 36, 0.4);
}

/* 4 Alternate Angle Detail Cards Below Main Image */
.pdp-alt-angles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pdp-alt-card {
  background: #101214;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.pdp-alt-card:hover {
  border-color: var(--red-accent);
  transform: translateY(-2px);
}
.pdp-alt-card-thumb {
  background: #FFFFFF;
  border-radius: 4px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  overflow: hidden;
  margin-bottom: 6px;
}
.pdp-alt-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pdp-alt-card span {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
}

/* Right Column Product Details */
.pdp-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 12px 0 16px;
}
.pdp-price-cur {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--red-accent);
}
.pdp-price-orig {
  font-size: 18px;
  color: var(--text-dim);
  text-decoration: line-through;
}
.pdp-price-off {
  background: rgba(237, 28, 36, 0.15);
  color: var(--red-accent);
  border: 1px solid rgba(237, 28, 36, 0.35);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}
.pdp-checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin: 20px 0 24px;
  padding: 16px;
  background: #0B0D0F;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
@media (max-width: 560px) {
  .pdp-checklist-grid { grid-template-columns: 1fr; }
}
.pdp-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.pdp-check-item span {
  color: var(--red-accent);
  font-weight: 900;
}

/* Color Swatches */
.pdp-colors-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.pdp-color-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: var(--transition);
  position: relative;
}
.pdp-color-dot:hover,
.pdp-color-dot.active {
  outline-color: var(--red-accent);
  transform: scale(1.12);
}

/* Quantity & Dual Action CTAs */
.pdp-qty-action-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 24px 0;
  flex-wrap: wrap;
}
.pdp-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #111315;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.pdp-qty-btn {
  background: transparent;
  border: none;
  color: var(--text-white);
  width: 42px;
  height: 48px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.pdp-qty-btn:hover {
  background: var(--red-accent);
}
.pdp-qty-val {
  width: 50px;
  height: 48px;
  background: transparent;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}
.pdp-quick-batch {
  display: flex;
  gap: 6px;
  align-items: center;
}
.pdp-batch-chip {
  padding: 6px 12px;
  background: #111315;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition);
}
.pdp-batch-chip:hover,
.pdp-batch-chip.active {
  background: rgba(237, 28, 36, 0.15);
  border-color: var(--red-accent);
  color: #FFFFFF;
}

/* Trust Service Icons */
.pdp-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
}
@media (max-width: 600px) {
  .pdp-trust-bar { grid-template-columns: repeat(2, 1fr); }
}
.pdp-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pdp-trust-icon {
  font-size: 22px;
}
.pdp-trust-text b {
  display: block;
  font-size: 12.5px;
  color: var(--text-white);
  line-height: 1.2;
}
.pdp-trust-text span {
  font-size: 11px;
  color: var(--text-dim);
}

/* Product Benefits Strip */
.pdp-benefits-strip {
  background: #0B0D0F;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  margin: 50px 0;
}
.pdp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  text-align: center;
}
@media (max-width: 900px) {
  .pdp-benefits-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .pdp-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
.pdp-benefit-card {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: #101214;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.pdp-benefit-icon {
  font-size: 26px;
  margin-bottom: 8px;
}
.pdp-benefit-card h5 {
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text-white);
}
.pdp-benefit-card p {
  font-size: 11.5px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.4;
}

/* Tabbed Section */
.pdp-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
  margin-bottom: 30px;
}
.pdp-tab-trigger {
  padding: 12px 24px;
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.pdp-tab-trigger:hover {
  color: var(--text-white);
}
.pdp-tab-trigger.active {
  color: var(--red-accent);
}
.pdp-tab-trigger.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red-accent);
}
.pdp-tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}
.pdp-tab-content.active {
  display: block;
}

/* Fabric Callout Card (Mockup media_1790817574335.jpg) */
.pdp-fabric-callout {
  background: linear-gradient(135deg, #181B1F 0%, #0B0D0F 100%);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--red-accent);
  border-radius: var(--radius-md);
  padding: 30px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}
@media (max-width: 768px) {
  .pdp-fabric-callout { grid-template-columns: 1fr; }
}

/* Inquiry Drawer */
.inquiry-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.inquiry-drawer.open {
  visibility: visible;
  opacity: 1;
}
.inquiry-drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}
.inquiry-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: #0B0D0F;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.inquiry-drawer.open .inquiry-drawer-panel {
  transform: translateX(0);
}
.inquiry-drawer-header {
  padding: 20px 24px;
  background: #111315;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.inquiry-drawer-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  transition: var(--transition);
}
.inquiry-drawer-close:hover {
  color: var(--red-accent);
}
.inquiry-drawer-body {
  padding: 24px;
  flex: 1;
}
.inquiry-item-card {
  display: flex;
  gap: 14px;
  background: #111315;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 12px;
  align-items: center;
}
.inquiry-item-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #FFFFFF;
  border-radius: 4px;
  padding: 4px;
}
.inquiry-item-details {
  flex: 1;
}
.inquiry-item-details h5 {
  font-size: 14px;
  margin-bottom: 2px;
  color: #FFFFFF;
}
.inquiry-item-details span {
  font-size: 12px;
  color: var(--text-dim);
}
.inquiry-item-remove {
  background: transparent;
  border: none;
  color: #7E848B;
  cursor: pointer;
  font-size: 16px;
  padding: 6px;
}
.inquiry-item-remove:hover {
  color: var(--red-accent);
}


/* ==========================================================================
   THEME SYSTEM: DARK (DEFAULT) & LIGHT MODE
   User requirement: "night and light mode bi add ker da website ma light mode see website ki background white ho jani chahiya"
   ========================================================================== */
[data-theme="light"] {
  --bg-primary: #FFFFFF;
  --bg-card: #F5F7FA;
  --bg-surface: #E9ECEF;
  --bg-card-hover: #E2E6EA;
  --text-white: #111315;
  --text-muted: #3F4448;
  --text-dim: #606870;
  --border-subtle: rgba(0, 0, 0, 0.12);
  --border-red: rgba(237, 28, 36, 0.5);
}

[data-theme="light"] body {
  background-color: #FFFFFF !important;
  color: #3F4448 !important;
}

[data-theme="light"] header.site {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] header.site .navlinks a {
  color: #111315 !important;
}

[data-theme="light"] header.site .navlinks a:hover,
[data-theme="light"] header.site .navlinks a.active {
  color: var(--red-accent) !important;
}

[data-theme="light"] .mega-menu {
  background: #FFFFFF !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14) !important;
}

[data-theme="light"] .mega-links a {
  color: #3F4448 !important;
}

[data-theme="light"] .mega-links a:hover {
  color: var(--red-accent) !important;
}

[data-theme="light"] .card-v2 {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .card-v2:hover {
  border-color: var(--red-accent) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .card-v2-thumb-box {
  background: #F8F9FA !important;
}

[data-theme="light"] .catalog-sidebar,
[data-theme="light"] .catalog-toolbar {
  background: #F8F9FA !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .catalog-discipline-pill {
  background: #FFFFFF !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
  color: #111315 !important;
}

[data-theme="light"] .catalog-discipline-pill.active,
[data-theme="light"] .catalog-discipline-pill:hover {
  background: var(--red-accent) !important;
  color: #FFFFFF !important;
}

[data-theme="light"] .catalog-search-form input,
[data-theme="light"] #catalogSort {
  background: #FFFFFF !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
  color: #111315 !important;
}

[data-theme="light"] .service-card,
[data-theme="light"] .fabric-card,
[data-theme="light"] .process-step,
[data-theme="light"] .inquiry-cart-table {
  background: #FFFFFF !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-white);
  cursor: pointer;
  transition: var(--transition);
  font-size: 17px;
  line-height: 1;
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
  color: #111315;
}

.theme-toggle-btn:hover {
  background: var(--red-accent) !important;
  border-color: var(--red-accent) !important;
  color: #FFFFFF !important;
  transform: rotate(20deg);
}

/* Navigation Inquiry Cart Button & Badge */
.nav-inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(237, 28, 36, 0.14);
  border: 1px solid var(--border-red);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: var(--transition);
}

[data-theme="light"] .nav-inquiry-btn {
  color: #111315;
  background: rgba(237, 28, 36, 0.09);
}

.nav-inquiry-btn:hover {
  background: var(--red-accent);
  color: #FFFFFF;
}

.inquiry-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red-accent);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

/* ==========================================================================
   4-COLUMN PRODUCT GRID (User requirement: "products page ker 1 line ma 4 image show ho")
   Strictly 4 products per row on Desktop
   ========================================================================== */
.catalog-grid-4,
.catalog-grid-5 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
}

@media (max-width: 1200px) {
  .catalog-grid-4,
  .catalog-grid-5 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 860px) {
  .catalog-grid-4,
  .catalog-grid-5 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}

@media (max-width: 520px) {
  .catalog-grid-4,
  .catalog-grid-5 {
    grid-template-columns: 1fr !important;
  }
}


/* ==========================================================================
   REFINED HEADER LAYOUT: CENTERED NAV & 3-ELEMENT MOBILE BAR
   User Requirements:
   1. "header bar ma 📞 +92 333 8606097 remove number remove"
   2. "products dropdawn center ma kera aur jab is per click kera to ya auto nechay ho jay"
   3. "night and light mode off ker da"
   4. "mobile phone view ma center ma logo aur 1 side ma 3 line aur 1 side ma basket ka button show ho"
   ========================================================================== */

/* Disable Light Mode Overrides */
[data-theme="light"],
body[data-theme="light"] {
  --bg-primary: #050505 !important;
  --bg-card: #101214 !important;
  --bg-surface: #181B1E !important;
  --bg-card-hover: #1e2226 !important;
  --text-white: #FFFFFF !important;
  --text-muted: #B8B8B8 !important;
  --text-dim: #7E848B !important;
  --border-subtle: rgba(255, 255, 255, 0.12) !important;
  background-color: #050505 !important;
  color: #B8B8B8 !important;
}

/* Centered Header Navigation Bar */
.header-nav-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  padding: 14px 24px !important;
}

.header-brand {
  display: flex !important;
  align-items: center !important;
  z-index: 2 !important;
}

.header-brand img {
  height: 48px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Desktop Centered Nav Links */
.header-navlinks {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 24px !important;
  flex: 1 !important;
}

.header-navcta {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  z-index: 2 !important;
}

/* Mega Menu Click & Hover Support */
.nav-item.dropdown {
  position: relative;
}

.nav-item.dropdown.is-active .mega-menu,
.nav-item.dropdown:hover .mega-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

/* Basket / Inquiry Cart Button */
.header-basket-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  background: rgba(237, 28, 36, 0.15) !important;
  border: 1px solid var(--border-red) !important;
  color: #FFFFFF !important;
  font-family: var(--font-display) !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  transition: var(--transition) !important;
}

.header-basket-btn:hover {
  background: var(--red-accent) !important;
  color: #FFFFFF !important;
}

/* Mobile 3-Element Bar */
@media (max-width: 980px) {
  .header-nav-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 18px !important;
    position: relative !important;
  }

  /* 1. Left: 3-line Hamburger */
  .mobile-only-btn {
    display: flex !important;
    order: 1 !important;
    margin: 0 !important;
    z-index: 10 !important;
  }

  /* 2. Center: Logo */
  .header-brand {
    order: 2 !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    z-index: 5 !important;
  }

  .header-brand img {
    height: 40px !important;
  }

  /* 3. Right: Basket Button */
  .header-navcta {
    order: 3 !important;
    margin: 0 !important;
    z-index: 10 !important;
  }

  .desktop-only-btn {
    display: none !important;
  }

  .header-basket-btn .basket-text {
    display: none !important;
  }

  .header-basket-btn {
    padding: 7px 10px !important;
  }

  .header-navlinks {
    display: none !important;
  }
}


/* ==========================================================================
   REFINED HEADER, CENTERED CATEGORIES & MOBILE 3-BAR SYSTEM
   ========================================================== */
.header-brand img {
  height: 75px !important;
  width: auto !important;
  object-fit: contain !important;
  transition: transform 0.2s ease;
}
.header-brand img:hover {
  transform: scale(1.03);
}

.foot-brand-logo img {
  height: 72px !important;
  width: auto !important;
  object-fit: contain !important;
}

.header-basket-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  background: rgba(237, 28, 36, 0.15) !important;
  border: 1px solid var(--border-red) !important;
  color: #FFFFFF !important;
}

.header-basket-btn .basket-text {
  display: none !important;
}

.cat-cards-grid {
  justify-content: center !important;
  margin: 0 auto !important;
  max-width: 1200px !important;
}

.cat-card-visual {
  margin: 0 auto !important;
  width: 100% !important;
}

@media (max-width: 980px) {
  .header-nav-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 18px !important;
    position: relative !important;
  }
  .mobile-only-btn {
    display: flex !important;
    order: 1 !important;
    margin: 0 !important;
    z-index: 10 !important;
  }
  .header-brand {
    order: 2 !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    z-index: 5 !important;
  }
  .header-brand img {
    height: 52px !important;
  }
  .header-navcta {
    order: 3 !important;
    margin: 0 !important;
    z-index: 10 !important;
  }
  .desktop-only-btn {
    display: none !important;
  }
  .header-basket-btn .basket-text {
    display: none !important;
  }
  .header-basket-btn {
    padding: 7px 10px !important;
  }
  .header-navlinks {
    display: none !important;
  }
}


/* ==========================================================================
   INTERACTIVE HERO SLIDER, SCREENSAVER & PDP ENHANCEMENTS
   ========================================================================== */

/* 1. Website Opening Screensaver / Splash Screen */
.site-screensaver {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  animation: siteScreensaverFadeAuto 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
}

@keyframes siteScreensaverFadeAuto {
  0% {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  60% {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  95% {
    opacity: 0;
    visibility: visible;
    pointer-events: none;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none;
  }
}

.site-screensaver.dismissed {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

.screensaver-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(237, 28, 36, 0.22) 0%, rgba(5, 5, 5, 0.98) 72%);
}

.screensaver-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.screensaver-logo-box {
  position: relative;
  margin-bottom: 24px;
  animation: logoScreensaverPulse 2.2s ease-in-out infinite;
}

.screensaver-logo {
  height: 96px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(237, 28, 36, 0.55));
}

.screensaver-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.8vw, 44px);
  color: #FFFFFF;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.screensaver-tagline {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--red-accent);
  letter-spacing: 0.16em;
  font-weight: 700;
  margin: 0 0 6px;
}

.screensaver-location {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
}

.screensaver-progress-wrap {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  overflow: hidden;
  margin: 26px 0 12px;
}

.screensaver-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ED1C24, #FF4D55);
  box-shadow: 0 0 12px #ED1C24;
  animation: screensaverFill 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.screensaver-skip-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes logoScreensaverPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 22px rgba(237, 28, 36, 0.45)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 38px rgba(237, 28, 36, 0.75)); }
}

@keyframes screensaverFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* 3. PDP Main Stage Interactive Zoom Effect */
.pdp-main-stage {
  cursor: crosshair !important;
  overflow: hidden !important;
  position: relative !important;
}

.pdp-main-stage img {
  transform-origin: center center;
  transition: transform 0.15s ease-out !important;
  will-change: transform, transform-origin;
}

/* 4. PDP Color Swatches Multi-Select Styling */
.pdp-color-dot {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  position: relative !important;
  cursor: pointer !important;
  border: 2px solid rgba(255, 255, 255, 0.25) !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.pdp-color-dot:hover {
  transform: scale(1.15) !important;
}

.pdp-color-dot.active {
  border-color: var(--red-accent) !important;
  box-shadow: 0 0 12px rgba(237, 28, 36, 0.6) !important;
  transform: scale(1.1) !important;
}

/* 5. Products Catalog Cards Clickable State */
.card-v2 {
  cursor: pointer !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.card-v2:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(237, 28, 36, 0.5) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(237, 28, 36, 0.25) !important;
}


/* ==========================================================================
   FACTORY INFRASTRUCTURE UNITS SLIDER (DESKTOP 3x2 GRID, MOBILE 1-BY-1 CAROUSEL)
   ========================================================================== */
.factory-units-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.factory-units-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.factory-slider-dots {
  display: none;
}

@media (max-width: 992px) {
  .factory-units-slider {
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    padding: 6px 0 16px !important;
  }
  .factory-units-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    width: 100% !important;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
    will-change: transform;
  }
  .factory-units-track > * {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  .factory-slider-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 20px !important;
  }
  .f-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.28) !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
  }
  .f-dot.active {
    width: 24px !important;
    border-radius: 99px !important;
    background: var(--red-accent) !important;
    box-shadow: 0 0 10px rgba(237, 28, 36, 0.7) !important;
  }
}


/* ==========================================================================
   CPANEL DEPLOYMENT & MOBILE RESPONSIVENESS OVERHAUL
   ========================================================================== */

/* 1. Global Viewport Fit & Horizontal Scroll Prevention */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Responsive Checkout / Inquiry Page Grid */
.inquiry-page-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 36px;
  align-items: start;
  width: 100%;
}

.inquiry-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  position: sticky;
  top: 90px;
}

.inquiry-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.inquiry-cart-table {
  width: 100%;
  border-collapse: collapse;
}

.inquiry-cart-table th,
.inquiry-cart-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.inquiry-cart-table th {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 992px) {
  .inquiry-page-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .inquiry-form-card {
    position: static !important;
    padding: 24px 18px !important;
  }
}

/* COMPLETE MOBILE CARD REDESIGN FOR INQUIRY CART (SCREENSHOT FIX) */
@media (max-width: 768px) {
  .inquiry-table-wrap {
    overflow-x: visible !important;
    background: transparent !important;
    border: none !important;
    margin: 0 0 20px 0 !important;
    width: 100% !important;
  }

  .inquiry-cart-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: none !important;
  }

  .inquiry-cart-table thead {
    display: none !important; /* Hide 5-column table headers on mobile */
  }

  .inquiry-cart-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .inquiry-cart-table tr {
    display: block !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-md) !important;
    padding: 16px !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
  }

  .inquiry-cart-table td {
    display: block !important;
    padding: 0 !important;
    border: none !important;
    text-align: left !important;
  }

  /* 1. Product Cell (Thumb + Title + SKU) */
  .inquiry-cart-table td:nth-child(1) {
    margin-bottom: 12px !important;
    padding-right: 36px !important; /* reserve space for top-right remove button */
  }

  .cart-prod-cell {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .cart-prod-img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 6px !important;
    object-fit: cover !important;
    background: #000 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    flex-shrink: 0 !important;
  }

  /* 2. Specs Chip (Size + Color) */
  .inquiry-cart-table td:nth-child(2) {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    margin-bottom: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    font-size: 13px !important;
  }

  /* 3. Bottom Row: Stepper on Left */
  .inquiry-cart-table td:nth-child(3) {
    display: inline-block !important;
    float: left !important;
  }

  .qty-stepper-cart {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 6px !important;
    background: #000 !important;
    overflow: hidden !important;
  }

  .qty-stepper-cart button {
    width: 34px !important;
    height: 34px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .qty-stepper-cart input {
    width: 44px !important;
    height: 34px !important;
    text-align: center !important;
    background: transparent !important;
    color: #fff !important;
    font-weight: 700 !important;
    border: none !important;
    font-size: 14px !important;
  }

  /* 4. Bottom Row: Pricing / Quote on Right */
  .inquiry-cart-table td:nth-child(4) {
    display: block !important;
    text-align: right !important;
    padding-top: 2px !important;
  }

  /* Clearfix for row */
  .inquiry-cart-table tr::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
  }

  /* 5. Top-Right Remove Button */
  .inquiry-cart-table td:nth-child(5) {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: auto !important;
  }

  .cart-remove-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 15px !important;
    background: rgba(237, 28, 36, 0.15) !important;
    border: 1px solid rgba(237, 28, 36, 0.4) !important;
    color: #FF4D55 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }

  .inquiry-form-card {
    padding: 20px 16px !important;
  }

  .inquiry-form-card .form-row {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .inquiry-assurance-card {
    padding: 16px 14px !important;
    gap: 12px !important;
    align-items: flex-start !important;
  }
  .inquiry-assurance-card > span {
    font-size: 26px !important;
    line-height: 1 !important;
  }
  .inquiry-assurance-card h4 {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  .inquiry-assurance-card p {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }
}

/* 3. Products Catalog Mobile Overhaul */
@media (max-width: 992px) {
  .catalog-layout-wrap {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .catalog-sidebar {
    position: static !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }
  .catalog-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .catalog-search-form {
    width: 100% !important;
    min-width: 100% !important;
  }
  .catalog-search-form input {
    width: 100% !important;
  }
  .catalog-toolbar > div:last-child {
    justify-content: space-between !important;
    width: 100% !important;
  }
}

@media (max-width: 640px) {
  .catalog-grid-4,
  .catalog-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .card-v2 {
    padding: 10px !important;
    border-radius: 8px !important;
  }
  .card-v2-thumb-box {
    height: 140px !important;
  }
  .card-v2-title {
    font-size: 13px !important;
    min-height: 34px !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
  }
  .card-v2-sub {
    font-size: 10.5px !important;
    margin-bottom: 4px !important;
  }
  .card-v2-meta {
    font-size: 10px !important;
    flex-direction: column !important;
    gap: 2px !important;
    align-items: flex-start !important;
    margin-bottom: 8px !important;
  }
  .card-v2-btn {
    padding: 8px 10px !important;
    font-size: 11px !important;
  }
  .catalog-hero-pill-bar {
    gap: 6px !important;
  }
  .catalog-discipline-pill {
    padding: 6px 10px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 400px) {
  .catalog-grid-4,
  .catalog-grid-5 {
    grid-template-columns: 1fr !important;
  }
  .card-v2-thumb-box {
    height: 180px !important;
  }
}

/* 4. Global Typography & Container Padding on Mobile */
@media (max-width: 600px) {
  .wrap {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .cat-wide-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  h1 { font-size: clamp(28px, 6vw, 36px) !important; }
  h2 { font-size: clamp(24px, 5.5vw, 30px) !important; }
  .form-row {
    flex-direction: column !important;
    gap: 12px !important;
  }
}

/* ==========================================================================
   ADVANCED MOBILE RESPONSIVENESS & UNIVERSAL FIXES
   ========================================================================== */
html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
}

/* Universal Responsive Table Wrapper for Size Charts & Inquiry Baskets */
.table-responsive {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin-bottom: 24px !important;
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border-subtle) !important;
  background: var(--bg-card) !important;
}

.table-responsive table {
  min-width: 580px !important;
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 0 !important;
}

/* Responsive Grid Adaptation for Tablets & Mobile Devices */
@media (max-width: 900px) {
  .cat-cards-grid-wide {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .split-layout {
    flex-direction: column !important;
    gap: 32px !important;
  }
  .split-layout > div {
    width: 100% !important;
  }
  .split-media {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 16px !important;
  }
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 16px !important;
  }
  .foot-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px !important;
  }
}

@media (max-width: 640px) {
  .cat-cards-grid-wide {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .foot-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .sec-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  .sec-head a.btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .hero-slider-section {
    min-height: auto !important;
  }
  .hero-slide-pane {
    min-height: auto !important;
  }
  .hero-slide-img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
  .hero-slider-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 8px !important;
  }
  .hero-nav-pill {
    padding: 6px 10px !important;
    font-size: 11px !important;
  }
  .floating-widgets {
    bottom: 16px !important;
    right: 14px !important;
    gap: 10px !important;
  }
  .float-btn {
    width: 44px !important;
    height: 44px !important;
  }
  .float-whatsapp svg {
    width: 24px !important;
    height: 24px !important;
  }
}

/* Mobile responsive touch improvements for forms and buttons */
@media (max-width: 480px) {
  .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .header-brand img {
    height: 48px !important;
  }
  .inquiry-btn-row {
    flex-direction: column !important;
    gap: 10px !important;
  }
}

