/* ===== VARIABLES — EXACT MATCH WITH HOME PAGE ===== */
:root {
  --orange: #d4521a;
  --orange-h: #c24415;
  --orange-glow: rgba(212, 82, 26, 0.25);
  --dark: #111110;
  --dark2: #1a1918;
  --dark3: #222120;
  --white: #ffffff;
  --off: #f7f5f2;
  --gray: #888580;
  --light: #efefed;
  --border: #e8e5e0;
  --font-display: 'Bebas Neue', sans-serif;
  --font-head: "Open Sans", sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 4px;
  --radius-lg: 10px;
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: #fff;
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== NAVBAR ===== */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.4s var(--ease-smooth);
}

#navbar.scrolled .nav-main {
  box-shadow: 0 4px 40px rgba(0, 0, 0, .10);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
}

.nav-main {
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .4s var(--ease-smooth), background .4s;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-right: 44px;
  flex-shrink: 0;
  transition: opacity .2s;
  width: 50px;
  height: 60px;
}

.logo:hover {
  opacity: .85;
}

.nav-links {
  display: flex;
  gap: 2px;
  flex: 1;
  align-items: center;
  justify-content: center;
  
}

.nav-links a {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #444;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: var(--radius);
  transition: color .25s var(--ease-smooth);
  white-space: nowrap;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .3s var(--ease-out);
  transform-origin: left;
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--orange);
  color: #fff;
  padding: 14px 52px;
  flex-shrink: 0;
  transition: background .25s var(--ease-smooth);
  margin-right: -32px;
}

.nav-cta:hover {
  background: var(--orange-h);
}

.cta-body strong {
  font-family: var(--font-body);
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all .35s var(--ease-smooth);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(10, 9, 8, 0.92) 0%, rgba(10, 9, 8, 0.65) 50%, rgba(10, 9, 8, 0.25) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

.hero-body {
  position: relative;
  z-index: 5;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 52px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-h1 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1.0;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
  max-width: 780px;
}

.hero-h1 .line {
  display: block;
  overflow: hidden;
}

.hero-h1 .line-1 {
  animation: fadeSlideUp 0.9s 0.25s var(--ease-out) both;
}

.hero-h1 .line-2 {
  animation: fadeSlideUp 0.9s 0.38s var(--ease-out) both;
  color: var(--orange);
}

.hero-h1 .line-3 {
  animation: fadeSlideUp 0.9s 0.51s var(--ease-out) both;
}

.hero-p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
  animation: fadeSlideUp 0.9s 0.65s var(--ease-out) both;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeSlideUp 0.9s 0.78s var(--ease-out) both;
}

.hero-stat-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 6;
  background: rgba(212, 82, 26, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 18px 32px;
  animation: fadeSlideUp 0.9s 1s var(--ease-out) both;
}

.hstat {
  text-align: center;
  flex: 1;
}

.hstat-n {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1;
}

.hstat-l {
  display: block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.hstat-div {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.hero-cut {
  position: absolute;
  bottom: 75px;
  left: 0;
  right: 0;
  height: 5px;
  background: #000;
  z-index: 5;
}

/* ===== BUTTONS ===== */
.btn-fire {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  padding: 14px 34px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.3s var(--ease-smooth), transform 0.3s var(--ease-spring), box-shadow 0.3s;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-fire::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-smooth);
}

.btn-fire:hover::before {
  transform: translateX(0);
}

.btn-fire:hover {
  background: var(--orange-h);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--orange-glow);
}

.btn-fire i {
  transition: transform 0.3s var(--ease-spring);
}

.btn-fire:hover i {
  transform: translateX(4px);
}

.btn-fire.w-full {
  width: 100%;
  justify-content: center;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  padding: 14px 28px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s var(--ease-smooth);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  padding: 14px 28px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s var(--ease-smooth);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ===== EYEBROW TAG ===== */
.eyebrow-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.eyebrow-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: var(--orange);
}

.eyebrow-tag.center {
  display: block;
  text-align: center;
  padding-left: 0;
}

.eyebrow-tag.center::before {
  display: none;
}

.eyebrow-tag.light {
  color: rgba(255, 255, 255, 0.6);
}

.eyebrow-tag.light::before {
  background: rgba(255, 255, 255, 0.4);
}

/* ===== SECTION HEADING ===== */
.section-h2 {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.12;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
}

.section-h2.center {
  text-align: center;
}

.cat-title-accent {
  color: var(--orange);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Card pop-in animation */
@keyframes cardPopIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PRODUCTS CATALOG SECTION ===== */
.products-catalog-section {
  padding: 100px 0 110px;
  background: #f4f3f0;
}

/* ── CATALOG HEADER ── */
.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* ── SEARCH BAR ── */
.search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 560px;
  width: 100%;
  transition: border-color 0.3s var(--ease-smooth), box-shadow 0.3s;
}

.search-bar:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

.search-icon {
  padding: 0 14px;
  color: var(--gray);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  min-width: 200px;
  background: none;
  border: none;
  padding: 13px 0;
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
}

.search-bar input::placeholder {
  color: #bbb;
}

.search-btn {
  background: var(--orange);
  border: none;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease-smooth);
  flex-shrink: 0;
}

.search-btn:hover {
  background: var(--orange-h);
}

/* ── CATEGORY FILTER BOX ── */
.category-filter-wrap {
  margin-bottom: 52px;
}

.category-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(17, 17, 17, 0.05);
}


.category-box-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}

.category-box-label i {
  color: var(--orange);
  font-size: 0.8rem;
}


/* ------------------------------- */
/* ── FIXED CATEGORY TABS ── */
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--off);
  border: 1.5px solid var(--border);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s var(--ease-smooth);
}

.cat-tab i:first-child {
  font-size: 0.78rem;
  opacity: 0.7;
}

.cat-tab:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: #fff;
}

.cat-tab.active,
.cat-tab.active:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.arrow-icon {
  font-size: 0.62rem;
  opacity: 0.55;
  transition: transform 0.35s var(--ease-smooth), opacity 0.3s;
}

.cat-tab.active .arrow-icon {
  transform: rotate(180deg);
  opacity: 1;
}

/* ── SMOOTH ACCORDION PANEL ── */
.sub-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out), opacity 0.35s var(--ease-out), margin-top 0.45s var(--ease-out);
  opacity: 0;
  margin-top: 0;
}

.sub-panel.open {
  /* max-height is set inline by JS to the exact content height for a smooth, accurate animation */
  opacity: 1;
  margin-top: 16px;
}

.sub-panel-inner {
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.sub-heading-bar {
  display: none;
  gap: 8px;
  flex-wrap: wrap;
}

.sub-heading-bar.open {
  display: flex;
  animation: subBarFade 0.4s var(--ease-out);
}

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

.filter-btn {
  padding: 8px 18px;
  background: #fff;
  border: 1.5px solid var(--border);
  color: #3c3c3c;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.filter-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px var(--orange-glow);
}

.filter-btn.group-all {
  border-color: var(--orange);
  color: var(--orange);
  font-weight: 700;
}

.filter-btn.group-all.active {
  background: var(--orange);
  color: #fff;
}

@media (max-width: 768px) {
  .cat-tab { font-size: 0.72rem; padding: 9px 14px; }
  .filter-btn { font-size: 0.72rem; padding: 7px 12px; }
}

/* ── PRODUCTS GRID — 4 columns ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ── EMPTY STATE ── */
.empty-state {
  grid-column: 1/-1;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 20px;
}

.empty-state strong {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(17, 17, 17, 0.18);
  letter-spacing: 2px;
}

.empty-state span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray);
}

/* ── PRODUCT CARD ── */
.product-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 440px;
  cursor: pointer;
  transition:
    transform 0.45s var(--ease-spring),
    box-shadow 0.45s var(--ease-smooth),
    border-color 0.3s;
  will-change: transform;
}

/* top accent bar */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
  z-index: 2;
}

/* pop-in entrance */
.product-card.animate-in {
  animation: cardPopIn 0.55s var(--ease-out) both;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.025);
  border-color: rgba(212, 82, 26, 0.35);
  box-shadow:
    0 8px 20px rgba(0,0,0,0.07),
    0 24px 52px rgba(212, 82, 26, 0.16),
    0 0 0 1px rgba(212, 82, 26, 0.08);
}

.product-card:hover::before {
  transform: scaleX(1);
}

/* ── PRODUCT IMAGE — 58% of card height ── */
.product-img-wrap {
  position: relative;
  height: 68%;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

/* separator line */
.product-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--border);
  transition: background 0.3s;
}

.product-card:hover .product-img-wrap::after {
  background: rgba(212, 82, 26, 0.2);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  display: block;
  transition: transform 0.6s var(--ease-smooth);
  transform-origin: center center;
}

/* zoom on hover */
.product-card:hover .product-img {
  transform: scale(1.12);
}

/* Badges */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 3;
  box-shadow: 0 2px 8px var(--orange-glow);
}

.product-badge.cert {
  left: auto;
  right: 12px;
  background: var(--dark);
}

/* Overlay */
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(212, 82, 26, 0.06);
  opacity: 0;
  transition: opacity 0.35s var(--ease-smooth);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.overlay-actions {
  display: flex;
  gap: 8px;
  width: 100%;
  transform: translateY(8px);
  transition: transform 0.35s var(--ease-out);
}

.product-card:hover .overlay-actions {
  transform: translateY(0);
}

.overlay-btn {
  flex: 1;
  padding: 9px;
  background: var(--orange);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s var(--ease-smooth), transform 0.3s var(--ease-spring);
}

.overlay-btn:hover {
  background: var(--orange-h);
  transform: translateY(-2px);
}

/* ── PRODUCT BODY — 42% of card height ── */
.product-body {
  height: 32%;
  flex-shrink: 0;
  padding: 14px 16px 4px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  overflow: hidden;
}

.product-cat {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
  flex-shrink: 0;
  text-align: center;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.80rem;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: 0.5px;
  transition: color 0.25s;
  flex-shrink: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}

.product-card:hover .product-name {
  color: var(--orange);
}

.product-desc {
  display: none;
}

/* ── SPECS ── */
.product-specs {
  display: flex;
  gap: 5px;
  margin: 7px 0;
  flex-shrink: 0;
  overflow: hidden;
  justify-content: center;
}

.spec {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  background: #f7f5f2;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.66rem;
  line-height: 1.2;
  color: #555;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.3s, background 0.3s;
}

.product-card:hover .spec {
  border-color: rgba(212, 82, 26, 0.2);
  background: rgba(212, 82, 26, 0.04);
}

.spec svg {
  width: 11px;
  height: 11px;
  fill: var(--orange);
  flex-shrink: 0;
}

/* ── PRODUCT FOOTER ── */
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid var(--border);
  transition: border-color 0.3s;
  flex-shrink: 0;
}

.product-card:hover .product-footer {
  border-color: rgba(212, 82, 26, 0.15);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: 1px;
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.price-unit {
  font-size: 0.78rem;
  color: var(--gray);
  font-family: var(--font-body);
  font-weight: 400;
}

.product-enquire {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border: none;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease-spring), box-shadow 0.3s;
  box-shadow: 0 2px 10px var(--orange-glow);
  flex-shrink: 0;
}

.product-enquire:hover {
  background: var(--orange-h);
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 18px var(--orange-glow);
}

.product-enquire svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}

/* ===== BRANDS TICKER ===== */
.brands-section {
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.brands-ticker {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.brands-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
}

.brands-track:hover {
  animation-play-state: paused;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--off);
  padding: 22px 26px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  white-space: nowrap;
  cursor: default;
  transition: color 0.3s;
  border-right: 1px solid var(--border);
}

.brand-chip i {
  color: var(--orange);
  font-size: 0.82rem;
  transition: transform 0.3s var(--ease-spring);
}

.brand-chip:hover {
  color: var(--orange);
}

.brand-chip:hover i {
  transform: scale(1.2) rotate(-10deg);
}

/* ===== CTA BAND ===== */
.cta-band {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.84);
}

.cta-body-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 32px;
}

.cta-body-inner h2 {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.cta-body-inner h2 em {
  color: var(--orange);
  font-style: normal;
}

.cta-body-inner p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.7;
  font-weight: 300;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark2);
}

.footer-top {
  padding: 76px 0;
}

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

.footer-logo {
  margin-bottom: 18px;
  width: 60px;
  height: 70px;
  display: block;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.87rem;
  line-height: 1.75;
  font-weight: 300;
}

.f-socials {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.f-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  transition: background .25s var(--ease-smooth), color .25s, border-color .25s, transform .3s var(--ease-spring);
}

.f-socials a:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: translateY(-3px);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.87rem;
  transition: color .25s, padding-left .3s var(--ease-smooth);
  font-weight: 300;
}

.footer-col ul li a:hover {
  color: var(--orange);
  padding-left: 8px;
}

.f-emg {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(212, 82, 26, 0.1);
  border: 1px solid rgba(212, 82, 26, 0.25);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 22px;
  transition: background 0.3s, border-color 0.3s;
}

.f-emg:hover {
  background: rgba(212, 82, 26, 0.15);
  border-color: rgba(212, 82, 26, 0.4);
}

.f-emg i {
  font-size: 1.2rem;
  color: var(--orange);
}

.f-emg small {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

.f-emg strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--orange);
  letter-spacing: 1px;
}

.f-news-lbl {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
}

.f-news {
  display: flex;
}

.f-news input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
  color: #fff;
  padding: 11px 14px;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 0.85rem;
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.3s, background 0.3s;
}

.f-news input:focus {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.09);
}

.f-news input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.f-news button {
  background: var(--orange);
  border: none;
  color: #fff;
  padding: 11px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.25s;
}

.f-news button:hover {
  background: var(--orange-h);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
}

.f-bot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.f-bot-inner p {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-spring), background 0.25s;
  z-index: 999;
  box-shadow: 0 8px 24px var(--orange-glow);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-5px);
  background: var(--orange-h);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 32px;
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease-smooth);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 0 24px;
  }

  .hero-h1 {
    font-size: 2.6rem;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-stat-bar {
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 20px;
  }

  .hstat-div {
    display: none;
  }

  .hero-cut {
    display: none;
  }

  .catalog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .search-bar {
    max-width: 100%;
  }

  .category-box {
    padding: 18px 16px 18px;
  }

  .cat-heading-btn {
    font-size: 0.72rem;
    padding: 9px 14px;
  }

  .filter-btn {
    font-size: 0.72rem;
    padding: 7px 12px;
  }

  .heading-scroll-btn {
    width: 28px;
    height: 28px;
  }

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

  .product-card {
    height: 400px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .f-bot-inner {
    flex-direction: column;
    text-align: center;
  }

  .container {
    padding: 0 20px;
  }
}

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

  .product-card {
    height: 420px;
  }
}

/* ===== ADD-ON: single-line tabs + coming soon ===== */

/* Force all 7 tabs into ONE row; scroll horizontally instead of
   wrapping, so it always stays a single line on every screen size. */
.cat-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) transparent;
  padding-bottom: 4px;
}

.cat-tabs::-webkit-scrollbar {
  height: 5px;
}

.cat-tabs::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 10px;
}

.cat-tab {
  flex-shrink: 0;
}

/* "Coming Soon" message inside an empty sub-heading bar
   (Fire Alarm / PA&Comm / Access Control / BMS — no products yet) */
.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--off);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.coming-soon i {
  color: var(--orange);
}

/* Content size polish */
.hero-p,
.section-sub,
.cta-body-inner p {
  font-size: clamp(1.08rem, 1.05vw, 1.2rem);
  line-height: 1.85;
}

.search-bar input,
.search-btn,
.cat-tab,
.filter-btn,
.empty-state span,
.coming-soon {
  font-size: 1rem;
}

.product-cat,
.spec,
.price-unit {
  font-size: 0.9rem;
}

.footer-about p,
.footer-col ul li a {
  font-size: 1.05rem;
  line-height: 1.8;
}

.f-emg small,
.f-news-lbl,
.f-news input,
.f-news button,
.f-bot-inner p {
  font-size: 0.95rem;
}
