/* ═══════════════════════════════════════════════════════
   ACAR SERVİS EKİPMANLARI — Ana Stil Dosyası
   Tasarım: Beyaz + Kırmızı Modern Tema
═══════════════════════════════════════════════════════ */

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

/* ─── CSS Variables ─── */
:root {
  --red:         #dc2626;
  --red-dark:    #b91c1c;
  --red-light:   #fee2e2;
  --red-50:      #fff5f5;
  --navy:        #1e293b;
  --navy-light:  #334155;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-300:    #cbd5e1;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-600:    #475569;
  --gray-700:    #334155;
  --gray-800:    #1e293b;
  --gray-900:    #0f172a;
  --white:       #ffffff;
  --shadow-sm:   0 1px 2px rgba(0,0,0,.05);
  --shadow:      0 1px 3px rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.06);
  --shadow-md:   0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.06);
  --shadow-lg:   0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.06);
  --shadow-xl:   0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.06);
  --radius-sm:   4px;
  --radius:      8px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --transition:  all .2s ease;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container:   1400px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── Container ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ─── TOP BAR ─── */
.top-bar {
  background: var(--red);
  color: var(--white);
  padding: 8px 0;
  overflow: hidden;
}
.top-bar-ticker-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}
.top-bar-ticker-track {
  display: flex;
  width: max-content;
  animation: top-bar-ticker-anim 35s linear infinite;
}
.top-bar-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 100px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
}
.top-bar-ticker-item svg {
  flex-shrink: 0;
}
@keyframes top-bar-ticker-anim {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}
.top-bar-text {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar-text span { display: flex; align-items: center; gap: 5px; }
.top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar-right a {
  color: var(--white);
  opacity: .9;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}
.top-bar-right a:hover { opacity: 1; }

/* ─── CORPORATE MENU (2nd bar) ─── */
.corp-menu {
  background: var(--gray-800);
  border-bottom: 1px solid var(--gray-700);
}
.corp-menu .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}
.corp-menu-links { display: flex; align-items: center; gap: 2px; }
.corp-menu-links a {
  color: var(--gray-300);
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-weight: 500;
}
.corp-menu-links a:hover,
.corp-menu-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.corp-menu-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.corp-menu-right a {
  color: var(--gray-400);
  font-size: 12px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}
.corp-menu-right a:hover { color: var(--white); }

/* ─── HEADER ─── */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.header-logo .logo-text {
  display: flex;
  flex-direction: column;
}
.header-logo .logo-text strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
  line-height: 1.1;
  letter-spacing: -.5px;
}
.header-logo .logo-text span {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Search bar */
.header-search {
  flex: 1;
  max-width: 560px;
  position: relative;
}
.header-search input {
  width: 100%;
  height: 46px;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  padding: 0 56px 0 20px;
  font-size: 14px;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: var(--transition);
  outline: none;
}
.header-search input:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}
.header-search input::placeholder { color: var(--gray-400); }
.header-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  color: var(--white);
}
.header-search-btn:hover { background: var(--red-dark); transform: translateY(-50%) scale(1.05); }
.header-search-btn svg { width: 16px; height: 16px; }

/* Header right actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.header-phone small {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
}
.header-phone a {
  font-size: 17px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -.3px;
}
.header-phone a:hover { color: var(--red-dark); }

/* Header Cart */
.header-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
}
.cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border-radius: 50%;
  color: var(--gray-700);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.header-cart:hover .cart-icon-wrapper {
  background: var(--red-light);
  color: var(--red);
  border-color: rgba(220, 38, 38, 0.2);
  transform: translateY(-2px);
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}

/* ─── MAIN NAV (Category bar) ─── */
.main-nav {
  background: var(--red);
  position: relative;
  z-index: 800;
}
.main-nav .container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0 5px;
}
.nav-items {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}
.nav-item {
  position: relative;
}
.nav-item > a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  padding: 0 14px;
  height: 46px;
  white-space: nowrap;
  transition: var(--transition);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.nav-item > a svg { width: 12px; height: 12px; opacity: .7; transition: var(--transition); }
.nav-item:hover > a { background: rgba(0,0,0,.15); }
.nav-item:hover > a svg { opacity: 1; transform: rotate(180deg); }
.nav-item.active > a { background: rgba(0,0,0,.2); }

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-xl);
  border-top: 3px solid var(--red);
  overflow: hidden;
  z-index: 999;
}
.nav-item:hover .nav-dropdown { display: block; animation: dropIn .15s ease; }
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 13px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
  font-weight: 500;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: var(--red-50); color: var(--red); padding-left: 24px; }
.nav-dropdown a::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0;
  transition: var(--transition);
}
.nav-dropdown a:hover::before { opacity: 1; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── BOXED SLIDER ─── */
.slider-section { padding: 28px 0 16px; background: var(--gray-50); }
.slider-wrapper {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.slider-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16 / 5.5;
  background: var(--gray-200);
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 0 60px;
}
.slide-content { max-width: 520px; }
.slide-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.slide-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
  line-height: 1.5;
}
.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(220,38,38,.4);
}
.slide-btn:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(220,38,38,.5); }
.slide-btn svg { width: 16px; height: 16px; }

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  color: var(--gray-700);
}
.slider-arrow:hover { background: var(--red); color: var(--white); transform: translateY(-50%) scale(1.08); }
.slider-arrow svg { width: 20px; height: 20px; }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.slider-dot.active {
  background: var(--white);
  width: 24px;
  border-radius: 4px;
}

/* ─── CATEGORY QUICK LINKS ─── */
.quick-cats {
  padding: 20px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.quick-cats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.quick-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  flex: 1 1 110px;
  max-width: 120px;
}
.quick-cat-item:hover {
  border-color: var(--red);
  background: var(--red-50);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.quick-cat-item:hover .quick-cat-icon { background: var(--red); color: var(--white); }
.quick-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: var(--transition);
  color: var(--red);
}
.quick-cat-name {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.3;
}
.quick-cat-item:hover .quick-cat-name { color: var(--red); }

/* ─── SECTION HEADINGS ─── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gray-100);
}
.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 22px;
  background: var(--red);
  border-radius: 2px;
  order: -1;
}
.section-link {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.section-link:hover { gap: 8px; }

/* ─── PRODUCT GRID ─── */
.products-section { padding: 32px 0; background: var(--gray-50); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

/* ─── PRODUCT CARD ─── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
}
.product-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gray-50);
  position: relative;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform .35s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }

/* Badges */
.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.badge-new {
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge-featured {
  background: var(--gray-800);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: .05em;
}

.product-card-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category-tag {
  font-size: 10.5px;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 5px;
}
.product-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.4;
  margin-bottom: 8px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-title:hover { color: var(--red); }
.product-price-tag {
  font-size: 11.5px;
  color: var(--gray-500);
  font-weight: 500;
  margin-bottom: 10px;
}
.product-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  text-align: center;
}
.product-card-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.product-card-btn svg { width: 14px; height: 14px; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 48px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
}
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(220,38,38,.35);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid rgba(255,255,255,.4);
  transition: var(--transition);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding-top: 56px;
}
.footer-top { border-top: 3px solid var(--red); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .footer-logo { margin-bottom: 16px; }
.footer-brand .footer-logo img { height: 42px; width: auto; filter: brightness(0) invert(1); }
.footer-brand .logo-fallback {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--gray-400);
  margin-bottom: 18px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.08);
}
.footer-social-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.footer-social-btn svg { width: 16px; height: 16px; }

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 13px;
  color: var(--gray-400);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '›';
  color: var(--red);
  font-size: 16px;
  line-height: 1;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(220,38,38,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.footer-contact-icon svg { width: 15px; height: 15px; }
.footer-contact-text small {
  display: block;
  font-size: 10.5px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1px;
}
.footer-contact-text span {
  font-size: 13px;
  color: var(--gray-300);
  font-weight: 500;
}
.footer-contact-text a {
  font-size: 13px;
  color: var(--gray-300);
  font-weight: 500;
  transition: var(--transition);
}
.footer-contact-text a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12.5px; color: var(--gray-500); }
.footer-bottom a { color: var(--gray-400); transition: var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ─── WHATSAPP WIDGET ─── */
.wa-widget {
  position: fixed;
  bottom: 30px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.wa-bubble {
  background: var(--white);
  border-radius: 18px 18px 0 18px;
  padding: 10px 16px;
  box-shadow: var(--shadow-xl);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px) scale(.95);
  transition: all .3s ease;
  pointer-events: none;
  border: 1px solid var(--gray-200);
}
.wa-bubble.visible { opacity: 1; transform: translateY(0) scale(1); }
.wa-btn {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  cursor: pointer;
  transition: var(--transition);
  border: 3px solid var(--white);
  position: relative;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,.6); }
.wa-btn svg { width: 30px; height: 30px; fill: var(--white); }
.wa-pulse {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--white);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(220,38,38,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(220,38,38,0); }
  100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
}

/* ─── BREADCRUMB ─── */
.breadcrumb-section { background: var(--gray-50); padding: 12px 0; border-bottom: 1px solid var(--gray-200); }
.breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb-item { font-size: 13px; color: var(--gray-500); display: flex; align-items: center; gap: 8px; }
.breadcrumb-item a { color: var(--gray-500); transition: var(--transition); }
.breadcrumb-item a:hover { color: var(--red); }
.breadcrumb-item + .breadcrumb-item::before { content: '›'; font-size: 16px; color: var(--gray-300); }
.breadcrumb-item.active { color: var(--gray-800); font-weight: 500; }

/* ─── PAGE HERO ─── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--gray-800) 100%);
  padding: 40px 0;
  text-align: center;
}
.page-hero h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.page-hero p { font-size: 16px; color: rgba(255,255,255,.65); }

/* ─── CATEGORY PAGE ─── */
.category-page { padding: 32px 0; }
.category-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
}
.category-sidebar {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.sidebar-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.sidebar-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--gray-700);
  transition: var(--transition);
  font-weight: 500;
}
.sidebar-cat-list a:hover { background: var(--red-50); color: var(--red); }
.sidebar-cat-list a.active { background: var(--red); color: var(--white); }
.sidebar-cat-list a .count {
  font-size: 11px;
  background: var(--gray-100);
  color: var(--gray-500);
  padding: 1px 6px;
  border-radius: 20px;
}
.sidebar-cat-list a.active .count { background: rgba(255,255,255,.2); color: var(--white); }

.category-products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.category-products-header h2 { font-size: 18px; font-weight: 700; }
.category-products-count { font-size: 13px; color: var(--gray-500); }
.category-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ─── PRODUCT DETAIL ─── */
.product-detail-section { padding: 40px 0; }
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}
.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  aspect-ratio: 1;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.product-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-50);
  padding: 6px;
}
.product-thumb:hover { border-color: var(--red); }
.product-thumb.active { border-color: var(--red); }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }

.product-info-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.product-cat-breadcrumb {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.product-detail-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.3;
}
.product-price-info {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
}
.product-price-info p { font-size: 13px; color: var(--gray-600); font-weight: 500; }
.product-price-info strong { color: var(--red); font-size: 16px; }

/* Order Form */
.order-form { }
.order-form h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--gray-900);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 600; color: var(--gray-600); margin-bottom: 5px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220,38,38,.08);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}
.form-submit-btn:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(220,38,38,.3); }
.form-note {
  font-size: 11.5px;
  color: var(--gray-500);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* ─── ABOUT, REFERENCES, FAQ PAGES ─── */
.content-page { padding: 48px 0; }
.content-page .content-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-700);
}
.content-page .content-body h2 { font-size: 22px; font-weight: 700; margin: 28px 0 12px; color: var(--gray-900); }
.content-page .content-body p { margin-bottom: 14px; }
.content-page .content-body ul { margin: 12px 0 14px 20px; list-style: disc; }
.content-page .content-body li { margin-bottom: 8px; }

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--red); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  gap: 12px;
}
.faq-item.open .faq-question { background: var(--red); color: var(--white); }
.faq-question-icon { flex-shrink: 0; width: 20px; height: 20px; transition: transform .2s; }
.faq-item.open .faq-question-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-600);
  background: var(--white);
}
.faq-item.open .faq-answer { padding: 16px 20px; max-height: 500px; }

/* References Grid */
.refs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ref-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  background: var(--white);
}
.ref-card:hover { border-color: var(--red); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ref-card img { height: 60px; object-fit: contain; margin: 0 auto 12px; filter: grayscale(100%); transition: var(--transition); }
.ref-card:hover img { filter: none; }
.ref-card span { font-size: 13px; font-weight: 600; color: var(--gray-600); }

/* ─── ORDER CONFIRMATION ─── */
.order-confirm {
  padding: 80px 0;
  text-align: center;
}
.order-confirm-icon {
  width: 80px;
  height: 80px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.order-confirm-icon svg { width: 40px; height: 40px; color: #16a34a; }
.order-confirm h1 { font-size: 28px; font-weight: 800; color: var(--gray-900); margin-bottom: 14px; }
.order-confirm .notice {
  max-width: 520px;
  margin: 0 auto 28px;
  background: var(--red-50);
  border: 1px solid #fca5a5;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  font-size: 15px;
  color: var(--red-dark);
  font-weight: 500;
  line-height: 1.6;
}
.order-confirm .phone-big {
  font-size: 26px;
  font-weight: 800;
  color: var(--red);
  display: block;
  margin-top: 4px;
}

/* ─── 404 PAGE ─── */
.not-found {
  padding: 100px 0;
  text-align: center;
}
.not-found .code {
  font-size: 120px;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 10px;
}
.not-found h1 { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.not-found p { color: var(--gray-500); margin-bottom: 24px; }

/* ─── PAGINATION ─── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}
.page-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.page-btn:hover { border-color: var(--red); color: var(--red); }
.page-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }

/* ─── SEARCH RESULTS ─── */
.search-highlight { background: rgba(220,38,38,.15); border-radius: 3px; padding: 0 2px; font-weight: 600; }

/* ─── ALERT / NOTICE BOXES ─── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-success { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.alert-error   { background: var(--red-50); color: var(--red-dark); border: 1px solid #fca5a5; }
.alert-info    { background: #eff6ff; color: #1d4ed8; border: 1px solid #93c5fd; }

/* ─── UTILITY CLASSES ─── */
.text-red   { color: var(--red); }
.text-muted { color: var(--gray-500); }
.text-sm    { font-size: 13px; }
.fw-bold    { font-weight: 700; }
.mt-1 { margin-top: 4px; }  .mt-2 { margin-top: 8px; }  .mt-3 { margin-top: 12px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 8px; }
.w-100 { width: 100%; }

/* ─── SEARCH DROPDOWN ─── */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  z-index: 999;
  display: none;
}
.search-results-dropdown.open { display: block; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
  cursor: pointer;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--red-50); }
.search-result-img { width: 40px; height: 40px; object-fit: contain; border-radius: var(--radius-sm); border: 1px solid var(--gray-100); padding: 4px; flex-shrink: 0; }
.search-result-info { flex: 1; }
.search-result-name { font-size: 13px; font-weight: 600; color: var(--gray-800); }
.search-result-cat { font-size: 11.5px; color: var(--gray-500); }
.search-results-all {
  display: block;
  text-align: center;
  padding: 10px;
  background: var(--gray-50);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--red);
  border-top: 1px solid var(--gray-100);
}
.search-results-all:hover { background: var(--red-50); }

/* ─── LOADING SPINNER ─── */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-200);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .quick-cats-grid { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .category-layout { grid-template-columns: 1fr; }
  .category-sidebar { position: static; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-info-panel { position: static; }
  .nav-item > a { font-size: 11.5px; padding: 0 10px; }
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .category-products-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-cats-grid { grid-template-columns: repeat(5, 1fr); }
  .refs-grid { grid-template-columns: repeat(2, 1fr); }
  .header-search { display: none; }
  .corp-menu { display: none; }
  .nav-toggle { display: flex; }
  .main-nav .container { justify-content: space-between; }
  .nav-items {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--red);
    z-index: 999;
    padding-bottom: 8px;
  }
  .nav-items.open { display: flex; }
  .nav-item > a { height: 44px; padding: 0 20px; }
  .nav-dropdown { position: static; border-radius: 0; box-shadow: none; border-top: none; background: rgba(0,0,0,.15); }
  .nav-dropdown a { color: rgba(255,255,255,.8); }
  .slide-title { font-size: 22px; }
  .slider-container { aspect-ratio: 16 / 7; }
  .slide-overlay { padding: 0 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-cats-grid { grid-template-columns: repeat(4, 1fr); }
  .refs-grid { grid-template-columns: 1fr; }
  .slide-title { font-size: 18px; }
  .slide-subtitle { display: none; }
}
