/* ==========================================================================
   MELBAN HARDWARE - MODERN RED & WHITE DESIGN SYSTEM
   Theme: Precision Hardware Engineering meets Modern High-Tech E-Commerce
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Color Palette - Red & White Theme */
  --primary-red: #DC2626;
  --primary-red-hover: #B91C1C;
  --primary-red-light: #FEE2E2;
  --accent-red-vivid: #EF4444;
  --accent-red-subtle: #FFF1F2;

  --bg-canvas: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-on-red: #FFFFFF;

  --border-light: #E2E8F0;
  --border-hover: #CBD5E1;
  --border-focus: #DC2626;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-red-glow: 0 10px 30px rgba(220, 38, 38, 0.2);

  /* Border Radii - Modern Curved Aesthetic (No Box/Corner Brackets) */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

/* Typography Tokens */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

.mono-spec {
  font-family: var(--font-mono);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grid-auto-fit {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

/* Header & Glassmorphic Navigation (Floating over Hero) */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  position: fixed;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.site-header.inner-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #0F172A;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-spacer {
  height: 110px;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-red);
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.4);
}

.brand-logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-logo-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

.brand-logo-sub {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--primary-red);
  margin-top: 3px;
  text-transform: uppercase;
}

/* Centered Pill Container for Nav Menu */
.nav-pill-capsule {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.35rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-weight: 700;
  font-size: 0.85rem;
  color: #CBD5E1;
  position: relative;
  padding: 0.4rem 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 3px;
  background: var(--primary-red);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 8px var(--primary-red);
}

.header-search {
  flex: 1;
  max-width: 240px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.search-input::placeholder {
  color: #94A3B8;
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  border-color: var(--primary-red);
  box-shadow: 0 0 0 4px var(--primary-red-light);
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  pointer-events: none;
}

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

.action-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  position: relative;
  transition: all var(--transition-fast);
}

.action-btn:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary-red);
  color: var(--text-on-red);
  font-size: 0.725rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--text-primary);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: white;
}

/* Full-Bleed Cinematic Hero Section */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #0F172A;
}

.hero-bg-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-slider-container {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  position: relative;
  z-index: 5;
  overflow: hidden;
}

.hero-wrapper {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  width: 100%;
  height: 100%;
}

.hero-slide {
  min-width: 100%;
  width: 100%;
  flex: 0 0 100%;
  flex-shrink: 0;
  height: 100vh;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 8rem;
}

.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(15, 23, 42, 0.95) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-slide-inner {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-left-content {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  animation: fadeInUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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

.hero-title {
  font-size: 4.5rem;
  color: #FFFFFF;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.hero-title span {
  color: var(--accent-red-vivid);
}

.hero-desc-box {
  color: #CBD5E1;
  font-size: 1.15rem;
  line-height: 1.7;
  border-left: 3px solid var(--primary-red);
  padding-left: 1.25rem;
  max-width: 680px;
}

/* Floating Pill Button with Circular Arrow (Matching Image Bottom-Right Button) */
.hero-pill-cta {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.5rem 0.5rem 1.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.hero-pill-cta:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.hero-pill-cta .cta-arrow-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-bounce);
}

.hero-pill-cta:hover .cta-arrow-circle {
  background: #FFFFFF;
  color: var(--primary-red);
  transform: translateX(3px);
}

/* Right-Edge Floating Pagination / Slider Widget (Signature Tab Sticking Out from Right Edge) */
.hero-right-widget {
  position: absolute;
  right: 0;
  top: 55%;
  transform: translateY(-50%);
  z-index: 50;
  background: #FFFFFF;
  border-radius: 28px 0 0 28px;
  padding: 1.25rem 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: -8px 12px 32px rgba(0, 0, 0, 0.35);
}

.hero-widget-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #CBD5E1;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.hero-widget-dot.active {
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--primary-red);
}

.hero-widget-dot:hover {
  background: var(--primary-red);
}


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

.hero-slide-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 380px;
}

.hero-slide-image img {
  max-height: 360px;
  filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.15));
  transition: transform var(--transition-bounce);
}

.hero-slide:hover .hero-slide-image img {
  transform: scale(1.04) translateY(-6px);
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  z-index: 10;
  transition: all var(--transition-fast);
}

.slider-arrow:hover {
  background: var(--primary-red);
  color: var(--text-on-red);
  border-color: var(--primary-red);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 1.5rem; }
.slider-arrow.next { right: 1.5rem; }

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-pill);
  background: var(--border-hover);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.dot.active {
  width: 36px;
  background: var(--primary-red);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-red);
  color: var(--text-on-red);
  box-shadow: var(--shadow-red-glow);
}

.btn-primary:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  background: var(--primary-red-light);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-icon {
  padding: 0.65rem;
  border-radius: var(--radius-pill);
}

/* Category Section (Ultra-Modern Photographic Cards) */
.category-section {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}

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

.section-subtitle {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

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

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

.category-card-modern {
  position: relative;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.95) 100%);
  transition: background 0.4s ease;
  z-index: 2;
}

.category-card-modern:hover .category-card-bg {
  transform: scale(1.1);
}

.category-card-modern:hover .category-card-overlay {
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.2) 0%, rgba(15, 23, 42, 0.7) 45%, rgba(15, 23, 42, 0.98) 100%);
}

.category-card-modern:hover {
  transform: translateY(-8px);
  border-color: var(--primary-red);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.25);
}

.category-card-content {
  position: relative;
  z-index: 5;
}

.category-tag-pill {
  color: var(--primary-red);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.35rem;
}

.category-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.category-card-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.category-card-link .arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-card-modern:hover .category-card-link .arrow-circle {
  transform: translateX(6px) scale(1.05);
}

.category-title {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.category-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Product Cards (Modern Curved Aesthetic) */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-red);
  box-shadow: var(--shadow-md);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  background: var(--primary-red);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.wishlist-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.wishlist-toggle:hover, .wishlist-toggle.active {
  color: var(--primary-red);
  background: white;
}

.product-image-area {
  background: #F8FAFC;
  height: 260px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.product-image-area img.primary-img,
.product-image-area img.hover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-image-area img.primary-img {
  opacity: 1;
  z-index: 1;
}

.product-image-area img.hover-img {
  opacity: 0;
  transform: scale(1.08);
  z-index: 2;
}

.product-card:hover .product-image-area img.primary-img {
  opacity: 0;
  transform: scale(1.05);
}

.product-card:hover .product-image-area img.hover-img {
  opacity: 1;
  transform: scale(1);
}



.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.775rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #F59E0B;
  margin-bottom: 0.85rem;
}

.product-rating span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-red);
  letter-spacing: -0.01em;
  line-height: 1;
}

.quick-add-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--primary-red-light);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.quick-add-btn:hover {
  background: var(--primary-red);
  color: white;
}

/* UNIVERSAL CLEAN SECTION DIVIDERS (Subtle Light Border-Bottom for Every Main Section) */
.hero-slider-section,
.trust-features-bar,
.category-section,
.featured-products-section,
.why-choose-us-section {
  border-bottom: 1px solid var(--border-light);
}

.featured-products-section {
  background: #F8FAFC;
}

#featured-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

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

@media (max-width: 640px) {
  #featured-products-grid {
    grid-template-columns: 1fr;
  }
}

/* WHY CHOOSE US SECTION (SIDE-BY-SIDE MODERN LAYOUT) */
.why-choose-us-section {
  background: #F8FAFC;
  overflow: hidden;
  position: relative;
}

.why-choose-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .why-choose-us-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.why-choose-us-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.why-choose-us-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.why-choose-us-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.why-choose-us-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.75rem;
  width: 100%;
}

@media (max-width: 576px) {
  .why-choose-us-features-grid {
    grid-template-columns: 1fr;
  }
}

.why-feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.why-feature-icon-badge {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FFF1F2 0%, #FEE2E2 100%);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(220, 38, 38, 0.18);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-feature-icon-badge::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), transparent);
  z-index: -1;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.why-feature-item:hover .why-feature-icon-badge {
  transform: translateY(-4px) scale(1.08);
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: #FFFFFF;
  border-color: var(--primary-red);
  box-shadow: 0 14px 32px rgba(220, 38, 38, 0.35);
}

.why-feature-item:hover .why-feature-icon-badge::before {
  opacity: 1;
  transform: scale(1.05);
}

.why-feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.why-feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Right Column Graphic & Photo Frame */
.why-choose-us-right {
  position: relative;
  display: flex;
  justify-content: center;
}

.decorative-dots-accent {
  position: absolute;
  top: -24px;
  left: -24px;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(var(--primary-red) 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.4;
  z-index: 1;
}

.why-image-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.why-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.why-image-card:hover img {
  transform: scale(1.05);
}

.why-image-badge-glass {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  z-index: 5;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.why-image-badge-glass .badge-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1;
}

.why-image-badge-glass .badge-lbl {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  max-width: 140px;
}

/* Spec Sheet Data Tables */
.spec-sheet-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.925rem;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.spec-sheet-table th, .spec-sheet-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

.spec-sheet-table th {
  background: var(--bg-subtle);
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.spec-sheet-table td:first-child {
  font-weight: 600;
  color: var(--text-secondary);
  width: 35%;
}

.spec-sheet-table td:last-child {
  font-family: var(--font-mono);
  color: var(--text-primary);
}

/* Tabs UI */
.tabs-header {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
  color: var(--primary-red);
  border-bottom-color: var(--primary-red);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Skeleton Loading State */
.skeleton {
  background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

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

/* Forms & Inputs */
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background: var(--bg-surface);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 4px var(--primary-red-light);
}

.form-error {
  font-size: 0.8rem;
  color: var(--primary-red);
  display: none;
}

.form-group.has-error .form-control {
  border-color: var(--primary-red);
}

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

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--text-primary);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.925rem;
  animation: slideInRight 0.3s ease;
  border-left: 4px solid var(--primary-red);
}

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

/* ==========================================================================
   ULTRA-MODERN SITE FOOTER DESIGN SYSTEM
   ========================================================================== */
.site-footer {
  background: #090F1E;
  color: #94A3B8;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-newsletter-bar {
  background: #0F172A;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .newsletter-flex {
    flex-direction: column;
    align-items: flex-start;
  }
}

.newsletter-title {
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.newsletter-desc {
  font-size: 0.95rem;
  color: #94A3B8;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 480px;
}

.newsletter-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.25rem;
  color: #FFFFFF;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
  border-color: var(--primary-red);
}

.footer-top {
  padding: 4.5rem 0 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 1.2fr 1.8fr;
  gap: 3.5rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

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

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-logo {
  margin-bottom: 1rem;
}

.footer-brand-desc {
  font-size: 0.925rem;
  line-height: 1.65;
  color: #94A3B8;
  margin-bottom: 1.5rem;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-red);
  color: #FFFFFF;
  border-color: var(--primary-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary-red);
  border-radius: var(--radius-pill);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.925rem;
}

.footer-links a {
  color: #94A3B8;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-links a::before {
  content: '›';
  color: var(--primary-red);
  font-weight: 700;
  margin-right: 0.4rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  font-size: 0.925rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: #94A3B8;
  line-height: 1.5;
}

.footer-contact-list li svg {
  color: var(--primary-red);
  flex-shrink: 0;
  margin-top: 2px;
}


