/* ══════════════════════════════════════════════════════════════════════════════
   CHT MOTOR CATALOG - MAIN STYLESHEET
   Production-ready, industrial design system
   ══════════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   RESET & BASE STYLES
   ───────────────────────────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #F8F9FA;
  color: #222222;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TYPOGRAPHY
   ───────────────────────────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #1A1A2E;
}

/* Headings inside dark-background sections inherit white text */
section[style*="color: white"] h1,
section[style*="color: white"] h2,
section[style*="color: white"] h3,
.hero h1, .hero h2,
.footer h1, .footer h2, .footer h3 {
  color: inherit;
}

h1 {
  font-size: 48px;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 36px;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 24px;
  letter-spacing: -0.2px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

p {
  margin: 0 0 16px 0;
}

a {
  color: #1A1A2E;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #e8520a;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CONTAINERS & LAYOUT
   ───────────────────────────────────────────────────────────────────────────── */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

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

/* ─────────────────────────────────────────────────────────────────────────────
   NAVIGATION — Modern Glassmorphism Design
   ───────────────────────────────────────────────────────────────────────────── */

.nav-modern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-modern--scrolled {
  background: rgba(26, 26, 46, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-modern__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 32px;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-modern--scrolled .nav-modern__inner {
  height: 60px;
}

.nav-modern__spacer {
  height: 72px;
}

/* Logo */
.nav-modern__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.nav-modern__logo:hover {
  opacity: 0.85;
}

.nav-modern__logo-img {
  height: 32px;
  width: auto;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-modern--scrolled .nav-modern__logo-img {
  height: 26px;
}

.nav-modern__logo-text {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Menu Links */
.nav-modern__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-modern__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.75);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-modern__link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.nav-modern__link--active {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.nav-modern__link-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 2px;
  background: #e8520a;
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-modern__link:hover .nav-modern__link-line {
  transform: translateX(-50%) scaleX(1);
}

.nav-modern__chevron {
  transition: transform 0.3s ease;
  opacity: 0.6;
}

.nav-modern__link--active .nav-modern__chevron {
  transform: rotate(180deg);
}

/* CTA Link */
.nav-modern__link--cta {
  color: white;
  background: linear-gradient(135deg, #e8520a 0%, #c44508 100%);
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 8px;
  box-shadow: 0 2px 12px rgba(232, 82, 10, 0.25);
  transition: all 0.3s ease;
}

.nav-modern__link--cta:hover {
  background: linear-gradient(135deg, #ff6b1a 0%, #e8520a 100%);
  box-shadow: 0 4px 20px rgba(232, 82, 10, 0.35);
  transform: translateY(-1px);
  color: white;
}

/* Action Buttons */
.nav-modern__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-modern__action-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.nav-modern__action-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.nav-modern__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #e8520a;
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(232, 82, 10, 0.4);
  animation: badgePop 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes badgePop {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Hamburger */
.nav-modern__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  border-radius: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.nav-modern__hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-modern__hamburger-line {
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.nav-modern__hamburger.active .nav-modern__hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-modern__hamburger.active .nav-modern__hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-modern__hamburger.active .nav-modern__hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── INLINE NAVBAR SEARCH (always visible on desktop) ─────────────────── */

.nav-modern__search {
  flex: 1;
  max-width: 420px;
  margin: 0 16px;
  position: relative;
}

.nav-modern__search-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-modern__search-input {
  flex: 1;
  background: white;
  border: none;
  outline: none;
  color: #222;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 12px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-modern__search-input::placeholder {
  color: #999;
  font-weight: 400;
}

.nav-modern__search-btn {
  background-color: #e8520a;
  border: none;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.nav-modern__search-btn:hover {
  background-color: #c44508;
}

.nav-modern__search-results {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 360px;
  overflow-y: auto;
  z-index: 1001;
}

.nav-modern__search-results .nav-search-overlay__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s ease;
}

.nav-modern__search-results .nav-search-overlay__result:last-child {
  border-bottom: none;
}

.nav-modern__search-results .nav-search-overlay__result:hover {
  background: #f8f9fa;
}

.nav-modern__search-results .nav-search-overlay__noresult {
  padding: 16px;
  text-align: center;
  color: #888;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
}

/* Hide search toggle button on desktop */
.nav-modern__search-toggle {
  display: none !important;
}

/* ─── SEARCH OVERLAY ────────────────────────────────────────────────────── */

.nav-search-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  padding: 0 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
}

.nav-search-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-search-overlay__inner {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-search-overlay__input {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: white;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.nav-search-overlay__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.nav-search-overlay__input:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: #e8520a;
  box-shadow: 0 0 0 3px rgba(232, 82, 10, 0.15);
}

.nav-search-overlay__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.nav-search-overlay__close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.nav-search-overlay__results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 48px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  max-height: 360px;
  overflow-y: auto;
  z-index: 1002;
}

.nav-search-overlay__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  color: #1A1A2E;
  text-decoration: none;
  border-bottom: 1px solid #F0F0F0;
  transition: background 0.15s ease;
}

.nav-search-overlay__result:last-child {
  border-bottom: none;
}

.nav-search-overlay__result:hover {
  background: #F8F9FA;
}

.nav-search-overlay__result-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-search-overlay__result-info strong {
  font-size: 14px;
  color: #1A1A2E;
}

.nav-search-overlay__result-info span {
  font-size: 12px;
  color: #999;
}

.nav-search-overlay__result svg {
  color: #CCC;
  flex-shrink: 0;
}

.nav-search-overlay__noresult {
  padding: 24px 18px;
  text-align: center;
  font-size: 14px;
  color: #888;
}

/* ─── MEGA MENU ─────────────────────────────────────────────────────────── */

.nav-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-top: 1px solid #F0F0F0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

.nav-mega.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-mega__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px;
}

.nav-mega__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.nav-mega__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 12px;
  text-decoration: none;
  color: #1A1A2E;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.nav-mega__card:hover {
  background: #F8F9FA;
  border-color: #E8E8E8;
  color: #1A1A2E;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.nav-mega__card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff1e8 0%, #ffdcc4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8520a;
  transition: all 0.25s ease;
}

.nav-mega__card:hover .nav-mega__card-icon {
  background: linear-gradient(135deg, #e8520a 0%, #c44508 100%);
  color: white;
}

.nav-mega__card-content {
  flex: 1;
  min-width: 0;
}

.nav-mega__card-content h4 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 3px;
}

.nav-mega__card-content p {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: #888;
  margin: 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-mega__card-arrow {
  color: #CCC;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.nav-mega__card:hover .nav-mega__card-arrow {
  color: #e8520a;
  transform: translateX(3px);
}

.nav-mega__subcard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 12px 84px;
  text-decoration: none;
  color: #666;
  font-size: 13px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-mega__subcard:hover {
  background: #F8F9FA;
  color: #e8520a;
}

.nav-mega__footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #F0F0F0;
  display: flex;
  justify-content: center;
}

.nav-mega__footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  color: #e8520a;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-mega__footer-link:hover {
  background: #fff1e8;
  color: #c44508;
}

/* ─── MOBILE DRAWER ─────────────────────────────────────────────────────── */

.nav-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(20px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: none;
}

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

.nav-drawer__content {
  padding: 24px 24px 100px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-drawer__link {
  display: block;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.8);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.nav-drawer__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.nav-drawer__link--sub {
  padding-left: 32px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.nav-drawer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0;
}

.nav-drawer__label {
  padding: 8px 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
}

.nav-drawer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  margin-top: 8px;
  background: linear-gradient(135deg, #e8520a 0%, #c44508 100%);
  color: white;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-drawer__cta:hover {
  background: linear-gradient(135deg, #ff6b1a 0%, #e8520a 100%);
  color: white;
}

/* ─────────────────────────────────────────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────────────────────────────────────────── */

.hero {
  background-color: #1A1A2E;
  color: white;
  padding: 120px 20px;
  text-align: center;
  margin-top: 64px;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
}

.hero h1 {
  color: white;
  margin-bottom: 24px;
  font-size: 56px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 48px;
  opacity: 0.9;
}

.hero-search {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  height: 56px;
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px;
  font-size: 16px;
  color: #222;
}

.hero-search input::placeholder {
  color: #999;
}

.hero-search button {
  background-color: #e8520a;
  border: none;
  color: white;
  padding: 0 24px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.hero-search button:hover {
  background-color: #c44508;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PRODUCT GRID
   ───────────────────────────────────────────────────────────────────────────── */

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.product-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.product-card__image {
  aspect-ratio: 1;
  object-fit: contain;
  background-color: #f0f0f0;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__sku {
  display: inline-block;
  background-color: #1A1A2E;
  color: white;
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  width: fit-content;
}

.product-card__name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1A1A2E;
}

.product-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #666;
  flex: 1;
}

.product-card__spec-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card__spec-item strong {
  color: #1A1A2E;
}

.product-card__btn {
  width: 100%;
  height: 44px;
  background-color: #e8520a;
  color: white;
  border: none;
  border-radius: 4px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.product-card__btn:hover {
  background-color: #c44508;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CATEGORY GRID
   ───────────────────────────────────────────────────────────────────────────── */

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.category-card {
  background: white;
  border-left: 4px solid #e8520a;
  border-radius: 4px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.category-card h3 {
  margin-bottom: 12px;
}

.category-card p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CATALOG PAGE LAYOUT
   ───────────────────────────────────────────────────────────────────────────── */

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-top: 64px;
  padding: 40px 20px;
}

.filters-sidebar {
  position: sticky;
  top: 84px;
  height: fit-content;
  background: white;
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.filter-group {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

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

.filter-group h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: #1A1A2E;
}

.filter-checkbox {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: color 0.3s ease;
}

.filter-checkbox label:hover {
  color: #1A1A2E;
}

.filter-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #e8520a;
}

.filter-checkbox input[type="range"] {
  width: 100%;
}

.catalog-content {
  min-height: 600px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PRODUCT DETAIL PAGE
   ───────────────────────────────────────────────────────────────────────────── */

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 64px;
  padding: 40px 20px;
}

.product-detail__image-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail__image {
  max-width: 500px;
  width: 100%;
  aspect-ratio: 1;
  background-color: #f0f0f0;
  border-radius: 4px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail__info {
  padding: 20px 0;
}

.product-detail__sku-badge {
  display: inline-block;
  background-color: #1A1A2E;
  color: white;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.product-detail__title {
  margin-bottom: 12px;
}

.product-detail__description {
  color: #666;
  margin-bottom: 24px;
  line-height: 1.8;
}

.spec-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.spec-badge {
  background-color: #f0f4f8;
  border-left: 3px solid #e8520a;
  padding: 12px 16px;
  border-radius: 4px;
  flex: 1;
  min-width: 140px;
}

.spec-badge__label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 4px;
}

.spec-badge__value {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #1A1A2E;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TABS
   ───────────────────────────────────────────────────────────────────────────── */

.tabs {
  display: flex;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 32px;
  gap: 0;
}

.tab-btn {
  padding: 16px 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  transition: color 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab-btn:hover {
  color: #1A1A2E;
}

.tab-btn.active {
  color: #1A1A2E;
  border-bottom-color: #e8520a;
}

.tab-content {
  display: none;
  padding: 24px 0;
}

.tab-content.active {
  display: block;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SPECS TABLE
   ───────────────────────────────────────────────────────────────────────────── */

.specs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 4px;
  overflow: hidden;
}

.specs-table th {
  background-color: #1A1A2E;
  color: white;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  padding: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #222;
}

.specs-table tr:nth-child(even) td {
  background-color: #fafafa;
}

.specs-table tr:hover td {
  background-color: #f5f5f5;
}

.spec-group-header {
  background-color: #f0f4f8;
  font-weight: 600;
  color: #1A1A2E;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   QUOTE PAGE LAYOUT
   ───────────────────────────────────────────────────────────────────────────── */

.quote-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 40px;
  margin-top: 64px;
  padding: 40px 20px;
  align-items: start;
}

.quote-products-list {
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 24px;
}

.quote-products-list h3 {
  margin-bottom: 24px;
}

.quote-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.quote-product:last-child {
  border-bottom: none;
}

.quote-product__info {
  flex: 1;
}

.quote-product__name {
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 4px;
}

.quote-product__sku {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quote-product__qty-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.qty-btn:hover {
  border-color: #e8520a;
  color: #e8520a;
}

.quote-product__qty {
  width: 50px;
  text-align: center;
  font-weight: 600;
}

.quote-product__remove {
  background: transparent;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 18px;
  transition: color 0.3s ease;
  padding: 0;
  width: 24px;
  height: 24px;
}

.quote-product__remove:hover {
  color: #e74c3c;
}

.quote-empty {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}

.quote-form {
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 32px;
}

.quote-form h3 {
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 14px;
  color: #1A1A2E;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #222;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e8520a;
  box-shadow: 0 0 0 3px rgba(232, 82, 10, 0.1);
}

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

.form-group-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group-half .form-group {
  margin-bottom: 0;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #e8520a;
}

.form-checkbox label {
  flex: 1;
  margin: 0;
  font-size: 13px;
  color: #666;
  cursor: pointer;
}

.form-error {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #e74c3c;
}

.form-group.error .form-error {
  display: block;
}

.form-submit {
  margin-top: 24px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 4px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  gap: 8px;
  text-decoration: none;
}

.btn-primary {
  background-color: #e8520a;
  color: white;
}

.btn-primary:hover {
  background-color: #c44508;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 82, 10, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #1A1A2E;
  color: #1A1A2E;
}

.btn-secondary:hover {
  background-color: #1A1A2E;
  color: white;
}

.btn-tertiary {
  background-color: transparent;
  border: 2px solid #ddd;
  color: #1A1A2E;
}

.btn-tertiary:hover {
  border-color: #e8520a;
  color: #e8520a;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  height: 56px;
}

.btn-block {
  width: 100%;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TRUST STRIP
   ───────────────────────────────────────────────────────────────────────────── */

.trust-strip {
  background-color: #1A1A2E;
  color: white;
  padding: 32px 20px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.trust-item__icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.trust-item h4 {
  color: white;
  font-size: 14px;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 13px;
  color: #aaa;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BREADCRUMBS
   ───────────────────────────────────────────────────────────────────────────── */

.breadcrumbs {
  font-size: 14px;
  color: #666;
  padding: 16px 0;
  margin-top: 64px;
}

.breadcrumbs a {
  color: #1A1A2E;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: #e8520a;
}

.breadcrumbs .separator {
  margin: 0 8px;
  color: #ccc;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────────────────── */

.footer {
  background-color: #1A1A2E;
  color: #ccc;
  padding: 60px 20px 0;
  margin-top: 80px;
  font-family: 'DM Sans', sans-serif;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-text {
  font-size: 14px;
  line-height: 1.7;
  color: #aab0bc;
  margin-bottom: 24px;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #aab0bc;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.social-icon:hover {
  background: #e8520a;
  color: #fff;
  transform: translateY(-2px);
}

/* Quick Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #aab0bc;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s, padding-left 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  color: #e8520a;
  padding-left: 4px;
}

/* Contact items */
.footer-contact-item {
  margin-bottom: 20px;
}

.footer-label {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.footer-contact-item a {
  color: #aab0bc;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-contact-item address {
  font-style: italic;
  color: #aab0bc;
  font-size: 14px;
  line-height: 1.6;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #777;
}

.footer-bottom-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  color: #777;
  font-size: 13px;
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-legal a {
  color: #777;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: #e8520a;
}

.footer-legal .separator {
  color: #444;
  font-size: 12px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PAGINATION
   ───────────────────────────────────────────────────────────────────────────── */

.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 40px 0;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid #ddd;
  color: #1A1A2E;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pagination a:hover {
  background-color: #f0f0f0;
  border-color: #e8520a;
  color: #e8520a;
}

.pagination .current {
  background-color: #1A1A2E;
  color: white;
  border-color: #1A1A2E;
}

.pagination .prev,
.pagination .next {
  padding: 0 12px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   MOBILE CTA
   ───────────────────────────────────────────────────────────────────────────── */

.mobile-cta {
  display: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   UTILITY CLASSES
   ───────────────────────────────────────────────────────────────────────────── */

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

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ANIMATIONS
   ───────────────────────────────────────────────────────────────────────────── */

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

.slide-up {
  animation: slideUp 0.3s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.3s ease-out;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TOAST NOTIFICATIONS
   ───────────────────────────────────────────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: white;
  border-radius: 4px;
  padding: 16px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 2000;
  font-size: 14px;
  animation: slideInRight 0.3s ease-out;
  max-width: 300px;
  border-left: 4px solid #e8520a;
}

.toast.error {
  border-left-color: #e74c3c;
}

.toast.warning {
  border-left-color: #f39c12;
}

.toast.info {
  border-left-color: #3498db;
}

/* Search dropdown styles handled by .nav-search-overlay in navigation section */

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE DESIGN
   ───────────────────────────────────────────────────────────────────────────── */

/* Tablet: 1024px and below */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-mega__grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .quote-layout {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .nav-modern__link--cta span {
    display: none;
  }

  .nav-modern__search {
    max-width: 300px;
  }

  .nav-modern__search-input {
    padding: 10px 14px;
    font-size: 13px;
  }

  .nav-modern__search-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .catalog-layout {
    grid-template-columns: 240px 1fr;
    gap: 30px;
  }
}

/* Mobile: 768px and below */
@media (max-width: 768px) {
  .nav-modern__inner {
    padding: 0 16px;
  }

  .nav-modern__menu {
    display: none;
  }

  .nav-modern__search {
    display: none !important;
  }

  .nav-modern__search-toggle {
    display: flex !important;
  }

  .nav-modern__hamburger {
    display: flex;
  }

  .nav-drawer {
    display: block;
  }

  .nav-modern__logo-text {
    font-size: 15px;
    letter-spacing: 2px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .hero {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

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

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

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

  .product-card__btn {
    height: 40px;
    font-size: 12px;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filters-sidebar {
    position: static;
  }

  .product-detail {
    gap: 24px;
    padding: 24px 20px;
  }

  .spec-badges {
    gap: 8px;
  }

  .spec-badge {
    min-width: auto;
    flex: 1 1 calc(50% - 4px);
  }

  .quote-layout {
    gap: 24px;
    padding: 24px 20px;
  }

  .quote-form {
    padding: 20px;
  }

  .form-group-half {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }

  .trust-strip {
    gap: 24px;
  }

  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    background-color: #e8520a;
    color: white;
    z-index: 999;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: 1px solid #c44508;
  }

  .nav-mega__grid {
    grid-template-columns: 1fr;
  }

  .nav-mega__subcard {
    padding-left: 40px;
  }

  .tabs {
    gap: 0;
    overflow-x: auto;
  }

  .tab-btn {
    padding: 12px 16px;
    white-space: nowrap;
  }

  /* Touch-friendly interactive elements */
  .qty-btn {
    width: 40px;
    height: 40px;
  }

  .quote-product__remove {
    width: 36px;
    height: 36px;
  }

  /* Form inputs minimum touch target */
  .form-group input,
  .form-group select,
  .form-group textarea {
    min-height: 44px;
  }

  /* Search overlay mobile */
  .nav-search-overlay {
    padding: 0 16px;
  }

  .nav-search-overlay__input {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}

/* Mobile Small: 480px and below */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 40px 0;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

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

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

  .product-card {
    flex-direction: row;
  }

  .product-card__image {
    aspect-ratio: auto;
    width: 80px;
    height: 80px;
    min-width: 80px;
  }

  .product-card__content {
    padding: 12px;
  }

  .product-card__btn {
    margin-top: 8px;
  }

  .spec-badge {
    flex: 1 1 100%;
  }

  .quote-layout {
    gap: 16px;
  }

  .trust-strip {
    gap: 16px;
    padding: 20px 16px;
  }

  .trust-item {
    min-width: 120px;
  }

  .trust-item h4 {
    font-size: 12px;
  }

  .trust-item p {
    font-size: 11px;
  }

  .nav-modern__badge {
    min-width: 16px;
    height: 16px;
    font-size: 10px;
  }

  .pagination {
    gap: 2px;
  }

  .pagination a,
  .pagination span {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }

  .product-card__btn {
    height: 44px;
    min-height: 44px;
  }

  .qty-btn {
    width: 44px;
    height: 44px;
  }

  .quote-product__remove {
    width: 40px;
    height: 40px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CONVERSION WIDGETS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─── FLOATING CTA WIDGET ────────────────────────────────────────────────── */

.cta-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  font-family: "DM Sans", sans-serif;
}

.cta-widget__toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e8520a;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232, 82, 10, 0.4);
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.cta-widget__toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(232, 82, 10, 0.5);
}

.cta-widget__pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #e8520a;
  animation: ctaPulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes ctaPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

.cta-widget.active .cta-widget__pulse {
  display: none;
}

.cta-widget__menu {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 320px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: all 0.3s ease;
  overflow: hidden;
}

.cta-widget.active .cta-widget__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.cta-widget__header {
  padding: 20px;
  background: linear-gradient(135deg, #1A1A2E 0%, #2D3561 100%);
  color: white;
}

.cta-widget__header strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.cta-widget__header span {
  font-size: 13px;
  opacity: 0.8;
}

.cta-widget__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  text-decoration: none;
  color: #1A1A2E;
  border-bottom: 1px solid #F0F0F0;
  transition: background 0.2s ease;
}

.cta-widget__item:last-child {
  border-bottom: none;
}

.cta-widget__item:hover {
  background: #F8F9FA;
}

.cta-widget__item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-widget__item--whatsapp .cta-widget__item-icon {
  background: #fff1e8;
  color: #25D366;
}

.cta-widget__item--email .cta-widget__item-icon {
  background: #EEF0FF;
  color: #4A6CF7;
}

.cta-widget__item--phone .cta-widget__item-icon {
  background: #FFF3E6;
  color: #FF8C00;
}

.cta-widget__item--quote .cta-widget__item-icon {
  background: #fff1e8;
  color: #e8520a;
}

.cta-widget__item-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.cta-widget__item-text span {
  font-size: 12px;
  color: #888;
}

/* ─── TOAST NOTIFICATIONS ────────────────────────────────────────────────── */

.toast-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-notification {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 14px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border-left: 4px solid #e8520a;
  animation: toastSlideIn 0.3s ease-out;
  pointer-events: auto;
  max-width: 360px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}

.toast-notification--error {
  border-left-color: #EE5A6F;
}

.toast-notification--info {
  border-left-color: #4A6CF7;
}

.toast-notification--cart {
  border-left-color: #e8520a;
}

.toast-notification--exit {
  animation: toastSlideOut 0.3s ease-in forwards;
}

.toast-notification__icon {
  flex-shrink: 0;
  color: #e8520a;
}

.toast-notification--error .toast-notification__icon { color: #EE5A6F; }
.toast-notification--info .toast-notification__icon { color: #4A6CF7; }
.toast-notification--cart .toast-notification__icon { color: #e8520a; }

.toast-notification__message {
  flex: 1;
  color: #1A1A2E;
  line-height: 1.4;
}

.toast-notification__close {
  background: none;
  border: none;
  font-size: 18px;
  color: #999;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

.toast-notification__close:hover {
  color: #333;
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toastSlideOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(30px); }
}

/* ─── BACK TO TOP ────────────────────────────────────────────────────────── */

.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1A1A2E;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1400;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #e8520a;
  transform: translateY(-2px);
}

/* ─── EXIT INTENT POPUP ──────────────────────────────────────────────────── */

.exit-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

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

.exit-popup {
  background: white;
  border-radius: 16px;
  max-width: 440px;
  width: 90%;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.exit-popup-overlay.active .exit-popup {
  transform: scale(1) translateY(0);
}

.exit-popup__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.exit-popup__close:hover {
  color: #333;
}

.exit-popup__content {
  padding: 40px 32px;
  text-align: center;
}

.exit-popup__icon {
  margin-bottom: 20px;
}

.exit-popup__content h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 12px;
}

.exit-popup__content p {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}

.exit-popup__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exit-popup__form input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.exit-popup__form input:focus {
  outline: none;
  border-color: #e8520a;
  box-shadow: 0 0 0 3px rgba(232, 82, 10, 0.1);
}

.exit-popup__form button {
  width: 100%;
  padding: 16px;
  background: #e8520a;
  color: white;
  border: none;
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.exit-popup__form button:hover {
  background: #c44508;
}

.exit-popup__disclaimer {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 12px;
}

/* ─── COOKIE CONSENT BANNER ──────────────────────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1A1A2E;
  color: white;
  z-index: 2500;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  font-family: "DM Sans", sans-serif;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner__content p {
  font-size: 13px;
  color: #CCC;
  margin: 0;
  line-height: 1.5;
}

.cookie-banner__content a {
  color: #e8520a;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  font-family: "DM Sans", sans-serif;
}

.cookie-banner__btn--accept {
  background: #e8520a;
  color: white;
}

.cookie-banner__btn--accept:hover {
  background: #c44508;
}

.cookie-banner__btn--decline {
  background: transparent;
  color: #999;
  border: 1px solid #444;
}

.cookie-banner__btn--decline:hover {
  border-color: #999;
  color: white;
}

/* ─── MOBILE CTA BAR (MULTI-ACTION) ─────────────────────────────────────── */

.mobile-cta-bar {
  display: none;
}

/* ─── CART BADGE BOUNCE ──────────────────────────────────────────────────── */

@keyframes badgeBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}

.nav-modern__badge.bounce {
  animation: badgeBounce 0.5s ease;
}

/* ─── STICKY PRODUCT CTA (added by JS on product pages) ─────────────────── */

.sticky-product-cta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: white;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  font-family: "DM Sans", sans-serif;
}

.sticky-product-cta.visible {
  transform: translateY(64px);
}

.sticky-product-cta__name {
  font-weight: 600;
  color: #1A1A2E;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

.sticky-product-cta__sku {
  color: #e8520a;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

.sticky-product-cta__btn {
  padding: 10px 24px;
  background: #e8520a;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.sticky-product-cta__btn:hover {
  background: #c44508;
}

/* ─── WIDGET RESPONSIVE ──────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .cta-widget {
    bottom: 80px;
    right: 16px;
  }

  .cta-widget__toggle {
    width: 52px;
    height: 52px;
  }

  .cta-widget__menu {
    width: 280px;
    right: -8px;
    bottom: 64px;
  }

  .back-to-top {
    bottom: 150px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #1A1A2E;
    z-index: 1200;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  }

  .mobile-cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: white;
    text-decoration: none;
    font-size: 10px;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    padding: 6px 12px;
    transition: color 0.3s;
  }

  .mobile-cta-item--wa { color: #25D366; }
  .mobile-cta-item--phone { color: #FF8C00; }
  .mobile-cta-item--quote { color: #e8520a; }
  .mobile-cta-item--email { color: #4A6CF7; }

  body {
    padding-bottom: 60px;
  }

  .toast-container {
    top: auto;
    bottom: 70px;
    right: 12px;
    left: 12px;
  }

  .toast-notification {
    max-width: 100%;
  }

  .cookie-banner__content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 16px;
  }

  .sticky-product-cta {
    display: none;
  }

  .exit-popup__content {
    padding: 32px 20px;
  }

  .exit-popup__content h3 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .cta-widget__menu {
    width: calc(100vw - 32px);
    right: -8px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   AI CHATBOT WIDGET
   ═══════════════════════════════════════════════════════════════════════════════ */

.chatbot {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1600;
  font-family: "DM Sans", sans-serif;
}

.chatbot__toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4A6CF7, #6B4CE6);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(74, 108, 247, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.chatbot__toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(74, 108, 247, 0.5);
}

.chatbot__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e8520a;
  color: white;
  font-size: 9px;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  letter-spacing: 0.5px;
}

.chatbot__badge--pulse {
  animation: chatbotPulse 2s ease-in-out infinite;
}

@keyframes chatbotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); box-shadow: 0 0 12px rgba(232, 82, 10, 0.6); }
}

/* Chat Window */
.chatbot__window {
  position: absolute;
  bottom: 72px;
  left: 0;
  width: 380px;
  max-height: 520px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chatbot--open .chatbot__window {
  display: flex;
  animation: chatbotSlideUp 0.3s ease-out;
}

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

/* Header */
.chatbot__header {
  background: linear-gradient(135deg, #1A1A2E, #2D2D44);
  color: white;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chatbot__header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot__header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4A6CF7, #6B4CE6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chatbot__header-info strong {
  font-size: 14px;
  font-weight: 600;
  display: block;
}

.chatbot__header-status {
  font-size: 11px;
  opacity: 0.7;
}

.chatbot__header-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  opacity: 0.7;
  padding: 4px;
  transition: opacity 0.2s;
}

.chatbot__header-close:hover {
  opacity: 1;
}

/* Messages */
.chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 340px;
  min-height: 200px;
}

.chatbot__msg {
  display: flex;
  max-width: 85%;
}

.chatbot__msg--user {
  align-self: flex-end;
}

.chatbot__msg--bot {
  align-self: flex-start;
}

.chatbot__msg-content {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
}

.chatbot__msg--user .chatbot__msg-content {
  background: linear-gradient(135deg, #4A6CF7, #6B4CE6);
  color: white;
  border-bottom-right-radius: 4px;
}

.chatbot__msg--bot .chatbot__msg-content {
  background: #F1F3F5;
  color: #1A1A2E;
  border-bottom-left-radius: 4px;
}

.chatbot__msg-content a.chatbot__link {
  color: #4A6CF7;
  text-decoration: underline;
  font-weight: 500;
}

.chatbot__msg--user .chatbot__msg-content a.chatbot__link {
  color: white;
  text-decoration: underline;
}

/* Typing indicator */
.chatbot__typing {
  display: flex;
  gap: 4px;
  padding: 4px 0;
}

.chatbot__typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #999;
  animation: chatbotDot 1.4s ease-in-out infinite;
}

.chatbot__typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot__typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatbotDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Suggestions */
.chatbot__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0;
}

.chatbot__suggestion {
  background: white;
  border: 1px solid #E0E0E0;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-family: "DM Sans", sans-serif;
  color: #4A6CF7;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.chatbot__suggestion:hover {
  background: #F0F4FF;
  border-color: #4A6CF7;
}

/* Input area */
.chatbot__input-area {
  padding: 12px 16px;
  border-top: 1px solid #E8E8E8;
  display: flex;
  gap: 8px;
  align-items: center;
}

.chatbot__input {
  flex: 1;
  border: 1px solid #E0E0E0;
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 13px;
  font-family: "DM Sans", sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.chatbot__input:focus {
  border-color: #4A6CF7;
}

.chatbot__input::placeholder {
  color: #999;
}

.chatbot__send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #4A6CF7;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
  flex-shrink: 0;
}

.chatbot__send:hover:not(:disabled) {
  background: #3B5DE7;
}

.chatbot__send:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Footer */
.chatbot__footer {
  padding: 6px 16px 8px;
  text-align: center;
  font-size: 10px;
  color: #999;
  border-top: 1px solid #F0F0F0;
}

/* ─── CHATBOT RESPONSIVE ──────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .chatbot {
    bottom: 80px;
    left: 16px;
  }

  .chatbot__toggle {
    width: 52px;
    height: 52px;
  }

  .chatbot__window {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 100%;
    border-radius: 0;
    z-index: 9999;
  }

  .chatbot__messages {
    max-height: none;
    flex: 1;
  }

  .chatbot__input {
    font-size: 16px; /* Prevents iOS zoom */
  }
}

@media (max-width: 480px) {
  .chatbot__suggestion {
    font-size: 11px;
    padding: 5px 10px;
  }
}
