/**
 * HIMATEX Textile Import & Export Firm
 * Master Stylesheet
 * Brand Colors: Deep Navy (#0B263B), Warm White (#F7F5F0), White (#FFFFFF), Muted Gold (#C59A4A), Charcoal (#202B35), Light Grey (#E9ECEF)
 */

:root {
  --navy: #0B263B;
  --navy-dark: #071927;
  --navy-light: #163B59;
  --gold: #C59A4A;
  --gold-hover: #D4A858;
  --gold-light: #F4EBD9;
  --warm-white: #F7F5F0;
  --white: #FFFFFF;
  --charcoal: #202B35;
  --grey-light: #E9ECEF;
  --grey-border: #DDE2E5;
  --grey-muted: #6C7A86;
  --success: #28a745;
  --danger: #dc3545;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(11, 38, 59, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 38, 59, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 38, 59, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--gold);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
}

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

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.8rem, 1.75rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
}

.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.text-muted { color: var(--grey-muted) !important; }
.text-white { color: var(--white) !important; }

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container-fluid {
  width: 100%;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--navy-dark);
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 154, 74, 0.3);
}

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

.btn-navy:hover {
  background-color: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 38, 59, 0.25);
}

.btn-outline-gold {
  background-color: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-gold:hover {
  background-color: var(--gold);
  color: var(--navy);
}

.btn-outline-navy {
  background-color: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

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

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* ====================================================
   TOP CONTACT BAR
   ==================================================== */
.topbar {
  background-color: var(--navy-dark);
  color: var(--grey-light);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cad3dc;
}

.topbar-item a {
  color: #cad3dc;
}

.topbar-item a:hover {
  color: var(--gold);
}

.topbar-badge {
  display: inline-block;
  background-color: rgba(197, 154, 74, 0.15);
  color: var(--gold);
  border: 1px solid rgba(197, 154, 74, 0.3);
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ====================================================
   MAIN NAVIGATION & STICKY HEADER
   ==================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.2rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--navy);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition);
}

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

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--grey-border);
  min-width: 250px;
  padding: 0.5rem 0;
  display: none;
  z-index: 1010;
  animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  color: var(--charcoal);
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: var(--warm-white);
  color: var(--gold);
  padding-left: 1.5rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--navy-dark);
  color: var(--white);
  z-index: 2000;
  box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  padding: 1.5rem;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.drawer-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.3rem;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.drawer-link {
  color: var(--grey-light);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.drawer-link:hover, .drawer-link.active {
  color: var(--gold);
  padding-left: 0.5rem;
}

.drawer-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(11, 38, 59, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  display: none;
}

.drawer-backdrop.active {
  display: block;
}

/* ====================================================
   HERO SECTION
   ==================================================== */
/* ====================================================
   HERO BANNER SLIDER
   ==================================================== */
.hero-banner-section {
  position: relative;
  background: #f4f6f8;
  overflow: hidden;
}

.hero-banner-slider {
  position: relative;
  width: 100%;
}

.hero-banner-track {
  position: relative;
  width: 100%;
  aspect-ratio: 1935 / 812;
  overflow: hidden;
  background: #eef1f4;
}

.hero-banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  line-height: 0;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.9s ease, visibility 0.7s;
  z-index: 1;
}

.hero-banner-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #eef1f4;
}

.hero-banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.25s ease;
}

.hero-banner-nav:hover {
  background: rgba(15, 23, 42, 0.8);
  transform: translateY(-50%) scale(1.06);
}

.hero-banner-prev {
  left: 14px;
}

.hero-banner-next {
  right: 14px;
}

.hero-banner-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-banner-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-banner-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .hero-banner-track {
    aspect-ratio: 1122 / 1402;
  }

  .hero-banner-img {
    object-fit: cover;
    object-position: center top;
  }

  .hero-banner-nav {
    width: 36px;
    height: 36px;
  }

  .hero-banner-prev {
    left: 8px;
  }

  .hero-banner-next {
    right: 8px;
  }

  .hero-banner-dots {
    bottom: 10px;
  }
}

/* ====================================================
   COMPANY INTRODUCTION (homepage)
   ==================================================== */
.company-intro-section {
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f5f1 48%, #ffffff 100%);
}

.company-intro-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 2.75rem;
  align-items: center;
  margin-bottom: 3.25rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--grey-border);
}

.company-intro-title {
  margin-bottom: 0.65rem;
  font-size: clamp(1.65rem, 1.2vw + 1.2rem, 2.35rem);
  line-height: 1.2;
}

.company-intro-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy);
  background: rgba(197, 154, 74, 0.14);
  border: 1px solid rgba(197, 154, 74, 0.35);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.15rem;
}

.company-intro-lead {
  font-size: 1.06rem;
  line-height: 1.72;
  color: var(--charcoal);
  margin-bottom: 0.9rem;
}

.company-intro-copy p {
  color: var(--grey-muted);
  line-height: 1.68;
  max-width: 38rem;
}

.company-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.company-intro-media,
.company-split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-border);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  background: var(--white);
}

.company-intro-media::after,
.company-split-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(7, 25, 39, 0.28));
  pointer-events: none;
}

.company-intro-media img,
.company-split-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.company-block-title {
  font-size: 1.28rem;
  margin-bottom: 1rem;
  color: var(--navy);
  position: relative;
  padding-bottom: 0.55rem;
}

.company-block-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
}

.company-activities {
  margin-bottom: 3rem;
}

.company-activities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.company-activity-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.25rem 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  height: 100%;
}

.company-activity-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.85rem;
  color: var(--navy);
}

.company-activity-card ul,
.company-workflow-list,
.company-values-list {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--grey-muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

.company-activity-card li,
.company-workflow-list li,
.company-values-list li {
  margin-bottom: 0.4rem;
}

.company-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  gap: 2.25rem;
  align-items: center;
  margin-bottom: 2.75rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
}

.company-split p {
  color: var(--grey-muted);
  line-height: 1.68;
  margin-bottom: 1rem;
}

.company-workflow-list {
  list-style: decimal;
  columns: 2;
  column-gap: 1.75rem;
}

.company-export-block {
  margin-bottom: 2.5rem;
  padding: 1.65rem 1.75rem;
  background: linear-gradient(135deg, #f8f4ec 0%, #ffffff 70%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 154, 74, 0.28);
}

.company-export-block p {
  color: var(--grey-muted);
  line-height: 1.68;
  margin-bottom: 0.75rem;
  max-width: 56rem;
}

.company-export-block p:last-child {
  margin-bottom: 0;
}

.company-mvv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: 2.35rem;
}

.company-mvv-grid article {
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.035);
}

.company-mvv-grid h3 {
  font-size: 1.02rem;
  margin-bottom: 0.55rem;
  color: var(--navy);
}

.company-mvv-grid h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 0.45rem;
  vertical-align: middle;
}

.company-mvv-grid p {
  color: var(--grey-muted);
  line-height: 1.65;
  margin: 0;
  font-size: 0.94rem;
}

.company-values-block {
  margin-bottom: 2.25rem;
  padding: 1.5rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-md);
}

.company-values-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1.75rem;
  list-style: none;
  padding-left: 0;
}

.company-values-list li {
  position: relative;
  padding-left: 1.15rem;
}

.company-values-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.company-contact-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.65rem 1.75rem;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #d8e2ec;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
}

.company-contact-facts {
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.company-contact-facts span {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 0.65rem;
}

.company-contact-facts strong {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.company-contact-bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.company-closing {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.45;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 1.25rem;
}

@media (max-width: 991px) {
  .company-intro-hero,
  .company-split,
  .company-activities-grid,
  .company-mvv-grid,
  .company-contact-bar {
    grid-template-columns: 1fr;
  }

  .company-workflow-list {
    columns: 1;
  }

  .company-intro-media img,
  .company-split-media img {
    min-height: 220px;
    max-height: 340px;
  }

  .company-closing {
    border-left: 0;
    padding-left: 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 640px) {
  .company-values-list {
    grid-template-columns: 1fr;
  }

  .company-intro-actions {
    flex-direction: column;
  }

  .company-intro-actions .btn {
    width: 100%;
    text-align: center;
  }

  .company-contact-facts span {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .company-split {
    padding: 1.15rem;
  }
}

/* Legacy hero styles (used on switch-brand.php etc.) */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 3.25rem 0 3.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: center;
  gap: 2.75rem;
}

.hero-content {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(197, 154, 74, 0.15);
  color: var(--gold);
  border: 1px solid rgba(197, 154, 74, 0.4);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title {
  color: var(--white);
  font-size: clamp(1.85rem, 1.6vw + 1.15rem, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--gold);
}

.hero-description {
  color: #D3DBE2;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 38rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

/* ====================================================
   CATEGORY CAROUSEL
   ==================================================== */
.cat-carousel-section {
  background: var(--white);
  padding: 2.25rem 0 2.5rem;
  border-bottom: 1px solid var(--grey-border);
}

.cat-carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.cat-carousel-title {
  font-size: 1.45rem;
  margin: 0;
}

.cat-carousel-nav {
  display: flex;
  gap: 0.45rem;
  flex-shrink: 0;
}

.cat-carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  border: 1px solid var(--grey-border);
  background: var(--white);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cat-carousel-btn:hover {
  border-color: var(--navy);
  background: var(--warm-white);
}

.cat-carousel-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.cat-carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}

.cat-carousel-track::-webkit-scrollbar {
  height: 6px;
}

.cat-carousel-track::-webkit-scrollbar-thumb {
  background: #c5ced6;
  border-radius: 99px;
}

.cat-card {
  flex: 0 0 calc((100% - 4rem) / 5);
  scroll-snap-align: start;
  color: var(--navy);
  min-width: 0;
}

.cat-card:hover {
  color: var(--navy);
}

.cat-card-media {
  display: block;
  aspect-ratio: 1 / 1;
  background: #f4f5f7;
  border: 1px solid var(--grey-border);
  border-radius: 4px;
  overflow: hidden;
}

.cat-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}

.cat-card:hover .cat-card-media {
  border-color: #c5ced6;
}

.cat-card:hover .cat-card-media img {
  transform: scale(1.03);
}

.cat-card-media--cover img,
.collection-img-wrap--cover img {
  object-fit: cover;
  object-position: 68% center;
}

.cat-card-name {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
}

.mfg-stage-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  background: #f4f5f7;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-border);
}

.mfg-stage-img--focus {
  object-fit: cover;
  object-position: 72% center;
}

/* ====================================================
   SECTION HEADINGS & COMMONS
   ==================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-bg-white { background-color: var(--white); }
.section-bg-warm { background-color: var(--warm-white); }
.section-bg-navy { background-color: var(--navy); color: var(--white); }
.section-bg-navy h2, .section-bg-navy h3 { color: var(--white); }

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--grey-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-bg-navy .section-subtitle {
  color: #BAC7D5;
}

/* ====================================================
   COLLECTIONS GRID
   ==================================================== */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.collection-card {
  background-color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--grey-border);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.collection-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: #cfd6dc;
}

.collection-img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #f4f5f7;
}

.collection-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}

.collection-card:hover .collection-img-wrap img {
  transform: scale(1.03);
}

.collection-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.collection-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.collection-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.collection-title a {
  color: var(--navy);
}

.collection-title a:hover {
  color: var(--gold);
}

.collection-desc {
  font-size: 0.88rem;
  color: var(--grey-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.collection-link {
  align-self: flex-start;
  margin-top: auto;
}

/* ====================================================
   PRODUCT GRID & CARDS
   ==================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.product-card {
  background-color: var(--white);
  border-radius: 4px;
  border: 1px solid #e3e7eb;
  box-shadow: none;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  box-shadow: 0 6px 18px rgba(11, 38, 59, 0.08);
  border-color: #cfd6dc;
}

.product-img-link {
  display: block;
  color: inherit;
}

.product-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  height: auto;
  background-color: #f4f5f7;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}

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

.product-brand-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--navy-dark);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.product-brand-tag.switch-tag {
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.3);
}

.product-category-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.product-body {
  padding: 0.9rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.product-cat {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey-muted);
}

.product-title {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.product-excerpt {
  font-size: 0.84rem;
  color: var(--grey-muted);
  line-height: 1.45;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a {
  color: var(--navy);
}

.product-title a:hover {
  color: var(--gold);
}

.product-meta {
  font-size: 0.8rem;
  color: var(--grey-muted);
  margin-bottom: 0.6rem;
}

.product-moq-badge {
  display: inline-block;
  background-color: var(--warm-white);
  color: var(--navy);
  border: 1px solid var(--grey-border);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.product-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
}

.product-footer-actions .btn {
  flex: 1;
  font-size: 0.8rem;
  padding: 0.48rem 0.45rem;
  white-space: nowrap;
}

.product-moq-panel {
  margin-top: 0.25rem;
  padding: 0.85rem 1rem;
  background: var(--warm-white);
  border: 1px solid var(--grey-border);
  border-left: 3px solid var(--gold);
}

.product-moq-panel span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey-muted);
  margin-bottom: 0.15rem;
}

.product-moq-panel strong {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 700;
}

/* ====================================================
   CONNECTED MANUFACTURING TIMELINE
   ==================================================== */
.timeline-wrap {
  position: relative;
  margin-top: 2rem;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

.timeline-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.timeline-step-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.timeline-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.timeline-step-desc {
  font-size: 0.85rem;
  color: var(--grey-muted);
  line-height: 1.5;
}

/* ====================================================
   SWITCH BRAND SHOWCASE
   ==================================================== */
.switch-showcase-section {
  background-color: #0E171E;
  color: var(--white);
  padding: 5.5rem 0;
  position: relative;
}

.switch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.switch-logo-badge {
  display: inline-block;
  margin-bottom: 1.25rem;
  max-width: 260px;
}

.switch-tagline {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.switch-showcase-title {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1.25rem;
}

.switch-showcase-copy {
  color: #CAD5DF;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.switch-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.switch-pill {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
}

.switch-media-stack {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.switch-media-img {
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 154, 74, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ====================================================
   CUSTOM MANUFACTURING & WHY WORK WITH HIMATEX
   ==================================================== */
.custom-mfg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.moq-callout-box {
  background-color: var(--gold-light);
  border-left: 5px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.75rem 0;
}

.moq-callout-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.3rem;
}

.moq-callout-desc {
  font-size: 0.88rem;
  color: #554426;
  margin-bottom: 0;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--warm-white);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--grey-border);
}

.feature-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--grey-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ====================================================
   ORDER WORKFLOW STEPS
   ==================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border-top: 4px solid var(--gold);
  border-left: 1px solid var(--grey-border);
  border-right: 1px solid var(--grey-border);
  border-bottom: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--grey-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ====================================================
   GALLERY SECTION
   ==================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 38, 59, 0.9) 0%, rgba(11, 38, 59, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item-title {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
}

.gallery-item-cat {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
}

/* ====================================================
   CONTACT & QUOTE REQUEST FORM
   ==================================================== */
.enquiry-form-wrap {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-label .required {
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-sm);
  background-color: #FAFAFA;
  color: var(--charcoal);
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(197, 154, 74, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  margin: 0.5rem 0;
}

.checkbox-group input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ====================================================
   FOOTER
   ==================================================== */
.site-footer {
  background-color: var(--navy-dark);
  color: #C0CDD8;
  margin-top: auto;
  padding: 4.5rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--gold);
}

.footer-logo {
  max-width: 220px;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
}

.footer-about-text {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: #A0B0BF;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #A0B0BF;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 0.35rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  color: #A0B0BF;
}

.footer-contact-item a {
  color: #A0B0BF;
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #7E90A0;
}

.footer-credit a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
}

.footer-credit a:hover {
  color: var(--gold-hover);
}

/* ====================================================
   FLOATING WHATSAPP BUTTON
   ==================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #25D366;
  color: var(--white);
  padding: 0.65rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  background-color: #20BD5A;
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ====================================================
   PAGES (ABOUT, MANUFACTURING, PRODUCT DETAILS, ETC)
   ==================================================== */
.page-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.page-banner-title {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw + 1rem, 2.8rem);
  margin-bottom: 0.5rem;
}

.page-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gold);
}

.page-breadcrumbs a {
  color: #B4C4D4;
}

.page-breadcrumbs a:hover {
  color: var(--white);
}

/* Product Details Layout */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.product-detail-gallery {
  position: sticky;
  top: 90px;
}

.product-detail-main-img {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  max-height: 520px;
}

.product-detail-main-img img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
}

.product-detail-thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
}

.product-thumb-item {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--grey-border);
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
}

.product-thumb-item.active {
  border-color: var(--gold);
}

.product-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-panel h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.product-info-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--grey-border);
}

.product-spec-table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

.product-spec-table th, .product-spec-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--grey-border);
  font-size: 0.88rem;
}

.product-spec-table th {
  background-color: var(--warm-white);
  color: var(--navy);
  font-weight: 600;
  width: 35%;
}

/* Collections toolbar */
.collections-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--warm-white);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-border);
  margin-bottom: 1.5rem;
}

.collections-search-form {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  min-width: min(100%, 260px);
}

.collections-search-form .form-control {
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
  flex: 1;
}

.collections-results-head {
  margin-bottom: 1.5rem;
}

.collections-results-head p {
  color: var(--grey-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Bulk orders page */
.bulk-guidelines-card {
  background: var(--warm-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
}

.bulk-guidelines-title {
  margin-bottom: 1rem;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bulk-guidelines-table {
  min-width: 560px;
  margin: 0;
}

.bulk-guidelines-table th {
  width: auto;
  white-space: nowrap;
}

.bulk-guidelines-note {
  font-size: 0.85rem;
  color: var(--grey-muted);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.bulk-cta-wrap {
  text-align: center;
  margin-top: 3.5rem;
}

/* ====================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ==================================================== */
@media (max-width: 1280px) {
  .cat-card {
    flex-basis: calc((100% - 3rem) / 4);
  }
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .collections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cat-card {
    flex-basis: calc((100% - 2rem) / 3);
  }
  .timeline-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .hero-section {
    padding: 1.5rem 0 1.75rem;
  }
  .hero-title {
    font-size: clamp(1.7rem, 3.2vw, 2.15rem);
    overflow-wrap: anywhere;
  }
  .hero-description {
    overflow-wrap: break-word;
  }
  .switch-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .custom-mfg-grid {
    grid-template-columns: 1fr;
  }
  .feature-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .product-detail-gallery {
    position: static;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .section {
    padding: 3.5rem 0;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .cat-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
  .cat-carousel-section {
    padding: 1.5rem 0 1.75rem;
  }
  .timeline-grid {
    grid-template-columns: 1fr;
  }
  .feature-cards-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .floating-whatsapp span {
    display: none;
  }
  .floating-whatsapp {
    padding: 0.75rem;
    border-radius: 50%;
    bottom: 16px;
    right: 16px;
  }
}

@media (max-width: 640px) {
  .collections-grid {
    grid-template-columns: 1fr;
  }
  .collection-img-wrap {
    max-height: 420px;
  }
  .page-banner {
    padding: 2.25rem 0;
  }
  .page-banner-title {
    font-size: 1.65rem;
  }
  .page-breadcrumbs {
    flex-wrap: wrap;
  }
  .btn {
    white-space: normal;
  }
  #custom-manufacturing .btn {
    white-space: nowrap;
  }
  .collections-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }
  .collections-search-form {
    min-width: 0;
    width: 100%;
  }
  .collections-toolbar .btn {
    width: 100%;
    text-align: center;
  }
  .bulk-guidelines-card {
    padding: 1.15rem;
  }
  .bulk-guidelines-title {
    font-size: 1.1rem;
  }
  .bulk-guidelines-table th,
  .bulk-guidelines-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.82rem;
  }
  .bulk-cta-wrap {
    margin-top: 2.25rem;
  }
  .bulk-cta-wrap .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.55rem;
  }
  .hero-description {
    font-size: 0.92rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group .btn {
    width: 100%;
    white-space: normal;
  }
  .cat-card {
    flex-basis: 78%;
  }
  .product-footer-actions {
    flex-direction: column;
  }
  .product-footer-actions .btn {
    width: 100%;
  }
  .product-excerpt {
    -webkit-line-clamp: 3;
  }
  .brand-logo-img {
    height: 40px;
    max-width: 200px;
  }
  .enquiry-form-wrap {
    padding: 1.5rem 1rem;
  }
}

/* ====================================================
   SCROLL / HOVER ANIMATIONS
   ==================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.collection-card,
.product-card,
.feature-card,
.company-activity-card,
.timeline-card,
.step-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.collection-card:hover,
.product-card:hover,
.feature-card:hover,
.company-activity-card:hover,
.timeline-card:hover,
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.collection-img-wrap img,
.product-img-wrap img {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-card:hover .collection-img-wrap img,
.product-card:hover .product-img-wrap img {
  transform: scale(1.04);
}

.btn {
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.floating-whatsapp {
  animation: waPulse 2.8s ease-in-out infinite;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 26px rgba(37, 211, 102, 0.65); }
}

.hero-banner-section {
  animation: heroEnter 0.7s ease both;
}

@keyframes heroEnter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  .hero-banner-slide,
  .hero-banner-section,
  .floating-whatsapp,
  .collection-card,
  .product-card,
  .feature-card,
  .company-activity-card,
  .timeline-card,
  .step-card,
  .btn,
  .collection-img-wrap img,
  .product-img-wrap img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
