/* ==============================================
   PROFTECH.RO - MODERN DESIGN
   Enhanced professional styling with Mega Dropdown
   ============================================== */

:root {
  --bs-primary: #E02020;
  --bs-primary-dark: var(--accent-dark);
  --bs-dark: #1C1C1C;
  --bs-light: #f8f9fa;
  --text-dark: #1C1C1C;
  --text-muted: #5A5A5A;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Poppins', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

  /* Layout heights - IMPORTANT: keep in sync with category-filter-bar.css */
  --navbar-height: 87px;
  --category-bar-height: 50px;
  --total-header-height: 137px;

  /* Light mode colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;
  --text-primary: #1C1C1C;
  --text-secondary: #5A5A5A;
  --border-color: rgba(0, 0, 0, 0.1);
  --card-bg: #ffffff;
}

/* Dark Mode Variables */
html[data-theme="dark"] {
  --bs-dark: #ffffff;
  --bs-light: #1a1a1a;
  --text-dark: #ffffff;
  --text-muted: #b0b0b0;

  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #252525;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --border-color: var(--btn-secondary-bg);
  --card-bg: #1a1a1a;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ===== SMOOTH SCROLLING ===== */
html {
  scroll-behavior: smooth;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== FONT + BODY ===== */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== TEXT & LINKS ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700 !important;
  line-height: 1.3;
}
p, a, li, span { font-weight: 500; }
a {
  text-decoration: none;
  color: var(--bs-dark);
  transition: var(--transition);
}
a:hover { color: var(--bs-primary); }

/* ========================================
   CUSTOM MEGA DROPDOWN NAVBAR
   ======================================== */

.main-navbar {
  background: linear-gradient(135deg, #2a2a2a 0%, #3d3d3d 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--navbar-height, 87px);
  z-index: 1000;
  transition: var(--transition);
}

.main-navbar.scrolled {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0;
}

/* Brand Logo */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  z-index: 1001;
}

.brand-logo {
  height: 55px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.brand-logo:hover {
  transform: scale(1.05) rotate(-2deg);
}

/* Theme-based logo switching */
.brand-logo-light {
  display: block;
}

.brand-logo-dark {
  display: none;
}

[data-theme="dark"] .brand-logo-light {
  display: none;
}

[data-theme="dark"] .brand-logo-dark {
  display: block;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
  border-radius: 8px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--bs-primary);
  background: rgba(var(--accent-primary-rgb), 0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bs-primary), transparent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

/* Dropdown Indicator */
.nav-link.has-dropdown::before {
  content: '▼';
  font-size: 0.65rem;
  margin-left: 0.4rem;
  opacity: 0.7;
  transition: var(--transition);
}

.nav-item:hover .nav-link.has-dropdown::before {
  transform: rotate(180deg);
  opacity: 1;
}

/* Mega Dropdown Container */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  max-width: 95vw;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  margin-top: -1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 999;
}

.nav-item:hover .mega-dropdown,
.mega-dropdown:hover {
  opacity: 1;
  visibility: visible;
  margin-top: 0;
  pointer-events: all;
  transition-delay: 0s;
}

/* Keep dropdown visible while hovering from nav-item to dropdown */
.nav-item:hover .mega-dropdown {
  transition-delay: 0.15s;
}

/* Invisible bridge to prevent dropdown from closing */
.nav-item:has(.has-dropdown)::after,
.nav-item:has(.mega-dropdown)::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
  z-index: 998;
}

.mega-dropdown-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2.5rem;
}

.mega-column {
  display: flex;
  flex-direction: column;
}

.mega-column-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bs-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bs-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mega-column-title i {
  color: var(--bs-primary);
  font-size: 1.2rem;
}

.mega-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-link {
  padding: 0.6rem 1rem;
  color: var(--text-dark);
  border-radius: 8px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.mega-link i {
  color: var(--bs-primary);
  opacity: 0.7;
  transition: var(--transition);
  font-size: 1.1rem;
}

.mega-link:hover {
  background: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.08) 0%, rgba(var(--accent-primary-rgb), 0.15) 100%);
  color: var(--bs-primary);
  transform: translateX(5px);
}

.mega-link:hover i {
  opacity: 1;
  transform: scale(1.15);
}

/* Promo Section in Mega Dropdown */
.mega-promo {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  border-radius: 8px;
  padding: 1.5rem;
  color: var(--text-primary);
  text-align: center;
  grid-column: span 1;
}

.mega-promo h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.mega-promo p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  opacity: 0.95;
}

.mega-promo-btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: var(--bg-card);
  color: var(--bs-primary);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mega-promo-btn:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: var(--bs-primary-dark);
}

/* Interactive Mega Dropdown - Main Boxes */
.mega-main-boxes {
  display: flex;
  gap: 2rem;
  padding: 2.5rem;
  justify-content: center;
}

.mega-main-box {
  flex: 1;
  max-width: 400px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-main-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.05) 0%, rgba(var(--accent-primary-rgb), 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mega-main-box:hover::before {
  opacity: 1;
}

.mega-main-box:hover {
  transform: translateY(-8px);
  border-color: var(--bs-primary);
  box-shadow: 0 20px 40px rgba(var(--accent-primary-rgb), 0.2);
}

.mega-box-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.mega-box-icon i {
  font-size: 2rem;
  color: var(--text-primary);
}

.mega-main-box:hover .mega-box-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(var(--accent-primary-rgb), 0.3);
}

.mega-main-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.mega-main-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.mega-box-arrow {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  background: rgba(var(--accent-primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.mega-box-arrow i {
  color: var(--bs-primary);
  font-size: 1.2rem;
  transition: transform 0.4s ease;
}

.mega-main-box:hover .mega-box-arrow {
  background: var(--bs-primary);
  transform: scale(1.1);
}

.mega-main-box:hover .mega-box-arrow i {
  color: var(--text-primary);
  transform: translateX(4px);
}

/* Interactive Mega Dropdown - Submenu */
.mega-submenu {
  padding: 2.5rem;
}

.mega-back-btn {
  background: none;
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.mega-back-btn:hover {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: var(--text-primary);
  transform: translateX(-4px);
}

.mega-back-btn i {
  transition: transform 0.3s ease;
}

.mega-back-btn:hover i {
  transform: translateX(-4px);
}

.mega-submenu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
}

.mobile-menu-toggle:hover {
  color: var(--bs-primary);
  transform: scale(1.1);
}

/* Right Side Actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: rgba(var(--accent-primary-rgb), 0.1);
  color: var(--text-primary);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.3);
}

.navbar-action-btn:hover {
  background: var(--bs-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(224, 32, 32, 0.4);
  color: var(--text-primary);
}

.navbar-action-btn i {
  font-size: 1.1rem;
}

/* Search Bar */
.navbar-search {
  display: flex;
  align-items: center;
  position: relative;
}

.search-input {
  width: 250px;
  padding: 0.65rem 3rem 0.65rem 1rem;
  border: 2px solid var(--overlay-light);
  border-radius: 50px;
  background: var(--btn-secondary-bg);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-secondary);
}

.search-input:focus {
  background: var(--btn-secondary-bg-hover);
  border-color: var(--bs-primary);
  width: 300px;
}

.search-btn {
  position: absolute;
  right: 5px;
  background: var(--bs-primary);
  border: none;
  color: var(--text-primary);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.search-btn:hover {
  background: var(--bs-primary-dark);
  transform: scale(1.1);
}

/* Search Results Dropdown */
.search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-height: 500px;
  overflow-y: auto;
  z-index: 9999;
  min-width: 350px;
}

.search-results.d-none {
  display: none;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.search-item:last-child {
  border-bottom: none;
}

.search-item:hover {
  background-color: rgba(var(--accent-primary-rgb), 0.05);
}

.search-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.search-item .si-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.search-item .si-category {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.search-item .search-price {
  color: var(--accent-color, #e52727);
  font-size: 0.9rem;
}

.no-results {
  padding: 2rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Cart Button with Badge */
.cart-btn {
  position: relative;
  padding: 0.65rem 1rem;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--bs-primary);
  color: var(--text-primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(224, 32, 32, 0.5);
}

.cart-badge.empty {
  display: none;
}

/* Cart Notification */
.cart-notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(40, 167, 69, 0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000;
  font-weight: 600;
  max-width: 300px;
}

.cart-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.cart-notification i {
  font-size: 1.5rem;
}

/* ===== HERO SLIDER SECTION ===== */
.hero-slider-section {
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--backdrop-blur) 0%, rgba(224, 32, 32, 0.4) 100%);
  z-index: 3;
}

/* Light mode hero overlay - reduced dark overlay */
[data-theme="light"] .hero-slide-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(224, 32, 32, 0.2) 100%);
}

.hero-slide-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 4;
  max-width: 600px;
  color: #ffffff;
}

.hero-slide-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  color: #ffffff;
}

.hero-slide-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
  color: #ffffff;
}

.hero-slide-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  color: #ffffff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 6px 25px rgba(224, 32, 32, 0.4);
}

.hero-slide-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 35px rgba(224, 32, 32, 0.6);
  color: #ffffff;
}

/* Hero Slider Controls */
.hero-slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 5;
}

.hero-slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: var(--transition);
}

.hero-slider-dot.active {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  transform: scale(1.3);
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 5;
  backdrop-filter: blur(5px);
}

.hero-slider-arrow:hover {
  background: var(--bs-primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.hero-slider-arrow.prev {
  left: 30px;
}

.hero-slider-arrow.next {
  right: 30px;
}

/* ===== PROMO BANNER ===== */
.promo-banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin: 3rem 0;
}

.promo-banner img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.promo-banner:hover img {
  transform: scale(1.02);
}

.promo-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(270deg, rgba(28, 28, 28, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 5%;
}

/* Light mode bannere overlay - remove harsh white shadow */
[data-theme="light"] .promo-banner-overlay {
  background: linear-gradient(270deg, rgba(28, 28, 28, 0.5) 0%, transparent 60%);
}

[data-theme="light"] .promo-banner:nth-of-type(even) .promo-banner-overlay {
  background: linear-gradient(90deg, rgba(28, 28, 28, 0.5) 0%, transparent 60%);
}

/* Alternate banner layout - even banners (2nd) have text on left */
.promo-banner:nth-of-type(even) .promo-banner-overlay {
  background: linear-gradient(90deg, rgba(28, 28, 28, 0.8) 0%, transparent 60%);
  justify-content: flex-start;
}

/* Explicit alternate banner for manual control */
.promo-banner-alt .promo-banner-overlay {
  background: linear-gradient(90deg, rgba(28, 28, 28, 0.8) 0%, transparent 60%);
  justify-content: flex-start;
}

/* Force right alignment (overrides nth-of-type) */
.promo-banner-right .promo-banner-overlay {
  background: linear-gradient(270deg, rgba(28, 28, 28, 0.8) 0%, transparent 60%) !important;
  justify-content: flex-end !important;
}

.promo-banner-content h2 {
  color: var(--text-primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px var(--overlay-darker);
}

.promo-banner-content p {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.promo-banner-btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--bs-primary);
  color: var(--text-primary);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(224, 32, 32, 0.4);
}

.promo-banner-btn:hover {
  background: var(--bs-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 32, 32, 0.6);
  color: var(--text-primary);
}

/* ===== PRODUCT SLIDER SECTION ===== */
.product-slider-section {
  padding: 4rem 0;
  background: var(--bg-card);
}

.product-slider-section.alt-bg {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--bs-dark);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--bs-primary), transparent);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.product-slider-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.product-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;
  scrollbar-width: none;
}

.product-slider::-webkit-scrollbar {
  display: none;
}

.product-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bs-dark);
  color: var(--text-primary);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  box-shadow: var(--shadow-lg);
}

.product-slider-arrow:hover {
  background: var(--bs-primary);
  transform: translateY(-50%) scale(1.1);
}

.product-slider-arrow.slider-prev {
  left: -25px;
}

.product-slider-arrow.slider-next {
  right: -25px;
}

/* Product Card */
.product-card {
  flex: 0 0 calc(25% - 1.5rem);
  min-width: 280px;
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-speed) ease;
  border: 2px solid var(--border-primary);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.08) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  z-index: 0;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(var(--accent-primary-rgb), 0.4);
}

.product-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-secondary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--border-primary);
}

.image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  z-index: 1;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.product-image.loaded {
  opacity: 1;
}

.product-card:hover .product-image {
  /* No transform on hover - maintains centering */
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 0.45rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(var(--accent-primary-rgb), 0.3);
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-dark) 100%);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card-body {
  padding: 1rem;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 140px; /* Ensure consistent body height */
}

.product-brand {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
  display: none;
}

.product-description {
  display: none;
}

.product-title {
  font-size: 0.95rem;
  line-height: 1.3;
  min-height: auto;
  max-height: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: all var(--transition-speed) ease;
  letter-spacing: -0.3px;
}

.product-card:hover .product-title {
  color: var(--accent-primary);
}

.product-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-old {
  text-decoration: line-through;
  color: var(--text-secondary);
  font-size: 0.9em;
  margin-right: 0.5rem;
  display: inline-block;
  opacity: 0.7;
}

.price {
  color: var(--bs-primary);
  font-weight: 800;
  display: inline-block;
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-btn {
  width: 100%;
  padding: 0.6rem 1rem;
  background: var(--accent-primary);
  color: var(--text-primary);
  border: 2px solid var(--accent-primary);
  border-radius: 12px;
  font-weight: 700;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  white-space: nowrap;
  min-width: 90px;
  height: 36px;
  text-decoration: none;
}

.product-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.product-btn:hover::before {
  width: 350px;
  height: 350px;
}

.product-btn span {
  position: relative;
  z-index: 1;
}

.product-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-dark);
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-dark) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--accent-primary-rgb), 0.4);
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #2a2a2a 0%, #3d3d3d 100%);
  color: var(--text-primary);
  text-align: center;
  font-family: 'Poppins', sans-serif;
  padding: 4rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--bs-primary), transparent);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-block;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.footer-logo:hover {
  transform: scale(1.05);
  color: var(--text-primary);
}

.footer-logo span {
  color: var(--bs-primary);
}

.footer-logo .dot {
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-socials a {
  color: var(--text-primary);
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--btn-secondary-bg);
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.footer-socials a:hover {
  color: var(--text-primary);
  background: var(--bs-primary);
  transform: translateY(-5px) rotate(10deg);
  box-shadow: 0 8px 20px rgba(224, 32, 32, 0.4);
}

.footer hr {
  width: 60%;
  margin: 2rem auto;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--overlay-light), transparent);
}

.footer-copy {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

/* ========================================
   PAGE HEADER (For Products Page)
   ======================================== */

.page-header {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  padding: 8rem 2rem 4rem;
  text-align: center;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--btn-secondary-bg) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.6s ease-out;
}

.page-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}

/* ========================================
   FILTERS & SORT BAR
   ======================================== */

.filters-section {
  background: var(--bg-card);
  padding: 2rem 0;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 70px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filters-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.filters-left {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex: 1;
}

.filters-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.filter-btn {
  background: var(--bg-card);
  border: 2px solid #e0e0e0;
  color: var(--text-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--bs-primary);
  color: var(--bs-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--accent-primary-rgb), 0.15);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  border-color: var(--bs-primary);
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(var(--accent-primary-rgb), 0.3);
}

.filter-btn i {
  font-size: 1.1rem;
}

.sort-select {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--bg-card);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  min-width: 180px;
}

.sort-select:hover {
  border-color: var(--bs-primary);
}

.sort-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.1);
}

/* Alt background for alternating sections */
.alt-bg {
  background: var(--bg-secondary);
}

/* ========================================
   CATEGORY BOXES SECTION
   ======================================== */

/* Category Boxes - Hero slider style (fixed colors, no theme switch) */
.category-boxes-section {
  padding: 4rem 2rem;
  background: #0a0a0a;
}

.category-boxes-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.category-box {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition:
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.5s ease;
}

.category-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(224, 32, 32, 0.25),
    0 0 0 1px rgba(224, 32, 32, 0.4);
}

.category-box-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.category-box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-box:hover .category-box-image img {
  transform: scale(1.08);
}

/* Vignette overlay - same as hero slider */
.category-box-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 35%, transparent 55%);
  transition: all 0.5s ease;
  z-index: 1;
}

.category-box:hover .category-box-overlay {
  background:
    radial-gradient(ellipse at center, rgba(224, 32, 32, 0.05) 0%, rgba(0, 0, 0, 0.25) 70%, rgba(0, 0, 0, 0.6) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 35%, transparent 55%);
}

.category-box-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  width: 100%;
  text-align: left;
  color: #ffffff;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-box:hover .category-box-content {
  transform: translateY(-8px);
}

.category-box-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  color: #ffffff;
  line-height: 1.2;
}

.category-box-content p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  color: #ffffff;
}

/* ========================================
   SUPPLIERS SLIDER SECTION
   ======================================== */

.suppliers-slider-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  overflow: hidden;
}

.suppliers-slider-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

.suppliers-slider {
  position: relative;
  min-height: 500px;
}

.supplier-card {
  display: none;
  background: var(--bg-card);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(var(--accent-primary-rgb), 0.1);
  transition: var(--transition);
  animation: fadeInSlide 0.5s ease-out;
}

.supplier-card.active {
  display: block;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.supplier-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(var(--accent-primary-rgb), 0.1);
}

.supplier-logo {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.supplier-brand {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -1px;
}

.supplier-brand.trotec {
  background: linear-gradient(135deg, #0066cc 0%, #003d7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.supplier-brand.sinclair {
  background: linear-gradient(135deg, #00a651 0%, #006b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Supplier Logo Images */
.supplier-logo-img {
  max-height: 60px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Dark/Light mode logo switching */
.supplier-logo-light {
  display: block;
}

.supplier-logo-dark {
  display: none;
}

html[data-theme="dark"] .supplier-logo-light {
  display: none;
}

html[data-theme="dark"] .supplier-logo-dark {
  display: block;
}

.supplier-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.supplier-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.supplier-product {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.supplier-product:hover {
  border-color: rgba(var(--accent-primary-rgb), 0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.supplier-product-image {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(var(--accent-primary-rgb), 0.3);
}

.supplier-product h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bs-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  min-height: 2.6em;
}

.supplier-product p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* Supplier Product Links */
.supplier-product-link {
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.supplier-product-link:hover {
  text-decoration: none;
}

.supplier-product-link:hover .supplier-product-cta {
  color: var(--bs-primary);
}

.supplier-product-cta {
  font-size: 0.85rem;
  color: var(--bs-primary);
  font-weight: 600;
  margin-top: 0.5rem;
  transition: var(--transition);
}

.supplier-product-cta i {
  margin-left: 0.25rem;
  transition: transform 0.2s ease;
}

.supplier-product-link:hover .supplier-product-cta i {
  transform: translateX(3px);
}

/* Supplier Product Image (actual images) */
.supplier-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.supplier-product-image {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 0.5rem;
}

.supplier-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* Loading state for supplier products */
.supplier-product.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

/* Slider Navigation Buttons */
.supplier-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #2a2a2a;
  color: #ffffff;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.supplier-nav-btn:hover {
  background: var(--bs-primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.supplier-nav-btn.prev-btn {
  left: -30px;
}

.supplier-nav-btn.next-btn {
  right: -30px;
}

/* Slider Dots */
.supplier-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.supplier-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--overlay-light);
  border: 2px solid rgba(28, 28, 28, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.supplier-dot.active {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  transform: scale(1.3);
}

.supplier-dot:hover {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
}

/* ========================================
   DESPRE NOI SECTION
   ======================================== */

.about-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  text-align: center;
}

.about-title {
  font-size: 3rem;
  color: var(--bs-dark);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.about-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--bs-primary), transparent);
  border-radius: 2px;
}

.about-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 4rem 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.about-feature {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
}

.about-feature:hover {
  border-color: rgba(var(--accent-primary-rgb), 0.2);
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.about-feature i {
  font-size: 3rem;
  color: var(--bs-primary);
  margin-bottom: 1.5rem;
  display: block;
}

.about-feature h4 {
  font-size: 1.3rem;
  color: var(--bs-dark);
  margin-bottom: 0.75rem;
}

.about-feature p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

.about-btn {
  display: inline-block;
  padding: 1rem 3rem;
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  color: var(--text-primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 6px 25px rgba(224, 32, 32, 0.4);
  margin-top: 2rem;
}

.about-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 35px rgba(224, 32, 32, 0.6);
  color: var(--text-primary);
}

/* ========================================
   DARK MODE STYLES
   ======================================== */

html[data-theme="dark"] .product-slider-section,
html[data-theme="dark"] .suppliers-slider-section,
html[data-theme="dark"] .about-section {
  background: var(--bg-primary);
}

/* Category boxes - fixed dark style, no theme switch */
html[data-theme="light"] .category-boxes-section,
html[data-theme="dark"] .category-boxes-section {
  background: #0a0a0a;
}

html[data-theme="light"] .category-box-content h3,
html[data-theme="light"] .category-box-content p,
html[data-theme="dark"] .category-box-content h3,
html[data-theme="dark"] .category-box-content p {
  color: #ffffff;
}

html[data-theme="dark"] .product-slider-section.alt-bg {
  background: var(--bg-secondary);
}

html[data-theme="dark"] .product-card,
html[data-theme="dark"] .supplier-card,
html[data-theme="dark"] .about-feature {
  background: var(--card-bg);
  border-color: var(--border-color);
}

html[data-theme="dark"] .product-card:hover,
html[data-theme="dark"] .supplier-card.active,
html[data-theme="dark"] .about-feature:hover {
  background: var(--bg-tertiary);
}

html[data-theme="dark"] .section-title,
html[data-theme="dark"] .product-title,
html[data-theme="dark"] .supplier-brand,
html[data-theme="dark"] .about-title,
html[data-theme="dark"] .about-feature h4 {
  color: var(--text-primary);
}

html[data-theme="dark"] .section-subtitle,
html[data-theme="dark"] .supplier-description,
html[data-theme="dark"] .about-text,
html[data-theme="dark"] .about-feature p {
  color: var(--text-secondary);
}

html[data-theme="dark"] .mega-dropdown {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

html[data-theme="dark"] .mega-column-title {
  color: var(--text-primary);
  border-bottom-color: var(--bs-primary);
}

html[data-theme="dark"] .mega-link {
  color: var(--text-secondary);
}

html[data-theme="dark"] .mega-link:hover {
  color: var(--bs-primary);
  background: rgba(var(--accent-primary-rgb), 0.15);
}

html[data-theme="dark"] .supplier-product {
  background: var(--bg-tertiary);
}

html[data-theme="dark"] .supplier-product h4 {
  color: var(--text-primary);
}

html[data-theme="dark"] .supplier-product p {
  color: var(--text-secondary);
}

html[data-theme="dark"] .image-placeholder {
  background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
}

html[data-theme="dark"] .footer {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

html[data-theme="dark"] .footer-tagline,
html[data-theme="dark"] .footer-copy {
  color: var(--text-secondary);
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.theme-toggle i {
  font-size: 1.2rem;
  transition: var(--transition);
}

.theme-toggle:hover i {
  transform: rotate(15deg) scale(1.1);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .mega-dropdown {
    width: 1000px;
  }

  .product-card {
    flex: 0 0 calc(33.333% - 1.5rem);
  }
}

@media (max-width: 992px) {
  /* NAVBAR - fixed height on mobile/tablet */
  .main-navbar {
    height: 60px !important;
    max-height: 60px !important;
    padding: 0 !important;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bs-dark);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .nav-menu.mobile-active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mega-dropdown {
    position: static;
    width: 100%;
    transform: none;
    margin-top: 0.5rem;
    box-shadow: none;
    border-radius: 8px;
  }

  .mega-dropdown-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .hero-slide-content h1 {
    font-size: 2.5rem;
  }

  .hero-slide-content p {
    font-size: 1.1rem;
  }

  .product-card {
    flex: 0 0 calc(50% - 1rem);
    min-width: 250px;
  }

  .section-title {
    font-size: 2rem;
  }

  .category-boxes-container {
    gap: 2rem;
  }

  .category-box-content h3 {
    font-size: 1.75rem;
  }

  .supplier-card {
    padding: 2rem;
  }

  .supplier-brand {
    font-size: 2.5rem;
  }

  .supplier-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .supplier-product:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .supplier-nav-btn.prev-btn {
    left: 10px;
  }

  .supplier-nav-btn.next-btn {
    right: 10px;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 500px;
  }

  .hero-slide-content {
    left: 5%;
    max-width: 90%;
  }

  .hero-slide-content h1 {
    font-size: 2rem;
  }

  .hero-slide-content p {
    font-size: 1rem;
  }

  .product-card {
    flex: 0 0 100%;
  }

  .navbar-actions {
    gap: 0.5rem;
  }

  .navbar-action-btn span {
    display: none;
  }

  .category-boxes-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .category-box-content {
    padding: 2rem;
  }

  .category-box-content h3 {
    font-size: 1.5rem;
  }

  .category-box-content p {
    font-size: 1rem;
  }

  .supplier-card {
    padding: 1.5rem;
  }

  .supplier-brand {
    font-size: 2rem;
  }

  .supplier-description {
    font-size: 1rem;
  }

  .supplier-products {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .supplier-product:last-child {
    max-width: 100%;
  }

  .supplier-nav-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-text {
    font-size: 1.05rem;
  }

  .about-feature {
    padding: 1.5rem;
  }

  .about-feature i {
    font-size: 2.5rem;
  }

  /* Hide search bar on mobile, show only icon */
  .search-input {
    width: 0;
    padding: 0;
    border: none;
    opacity: 0;
    pointer-events: none;
  }

  .search-input:focus {
    width: 200px;
    padding: 0.65rem 3rem 0.65rem 1rem;
    border: 2px solid var(--overlay-light);
    opacity: 1;
    pointer-events: all;
  }

  .search-btn {
    position: relative;
    right: 0;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.75rem;
  }

  .hero-slider {
    height: 400px;
  }

  .hero-slide-content h1 {
    font-size: 1.5rem;
  }

  .product-slider-arrow {
    display: none;
  }

  .category-box-content {
    padding: 1.5rem;
  }

  .category-box-content h3 {
    font-size: 1.25rem;
  }

  .category-box-content p {
    font-size: 0.9rem;
  }

  .suppliers-slider-section {
    padding: 3rem 1rem;
  }

  .suppliers-slider {
    min-height: 600px;
  }

  .supplier-card {
    padding: 1rem;
  }

  .supplier-brand {
    font-size: 1.75rem;
  }

  .supplier-description {
    font-size: 0.95rem;
  }

  .supplier-product h4 {
    font-size: 1rem;
  }

  .supplier-product p {
    font-size: 0.85rem;
  }

  .supplier-product-image {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .supplier-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .supplier-nav-btn.prev-btn {
    left: 5px;
  }

  .supplier-nav-btn.next-btn {
    right: 5px;
  }

  .about-section {
    padding: 4rem 1rem;
  }

  .about-title {
    font-size: 1.75rem;
  }

  .about-text {
    font-size: 1rem;
  }

  .about-feature h4 {
    font-size: 1.1rem;
  }

  .about-feature p {
    font-size: 0.9rem;
  }

  .about-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.image-placeholder {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* ===== CONTACT PAGE STYLES ===== */
.page-hero {
  position: relative;
  padding: 8rem 2rem 4rem;
  margin-top: 70px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-primary);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(224, 32, 32, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(224, 32, 32, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-overlay {
  display: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 1rem;
}

.page-hero-content h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.page-hero-content h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-light));
  margin: 1rem auto 0;
  border-radius: 2px;
}

.page-hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
}

.contact-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.contact-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--bs-primary);
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-input {
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--input-border);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--input-text);
  background: var(--input-bg);
  transition: all var(--transition-speed) ease;
  font-family: 'Poppins', sans-serif;
}

.form-input:hover {
  border-color: rgba(224, 32, 32, 0.5);
  background: var(--input-bg-focus);
}

.form-input:focus {
  outline: none;
  border-color: var(--input-border-focus);
  box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.15);
  background: var(--input-bg-focus);
}

.form-input::placeholder {
  color: var(--input-placeholder);
}

textarea.form-input {
  resize: vertical;
  min-height: 150px;
}

/* Select dropdown styling for dark mode */
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

select.form-input option {
  background: var(--bg-card, #ffffff) !important;
  background-image: none !important;
  color: var(--text-primary, #1C1C1C);
  padding: 0.5rem;
}

/* Dark mode select options */
html[data-theme="dark"] select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23aaa' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

html[data-theme="dark"] select.form-input option {
  background: #2d2d2d !important;
  background-image: none !important;
  color: #ffffff;
}

.form-submit-btn {
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  color: var(--text-primary);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(var(--accent-primary-rgb), 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: flex-start;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 32, 32, 0.4);
}

/* Contact Info */
.contact-info-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-primary);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.5rem;
}

.contact-info-content {
  flex: 1;
}

.contact-info-label {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-info-text {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Contact CTA Card */
.contact-cta-card {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  margin-top: 1.5rem;
}

.contact-cta-title {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-cta-text {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--bg-card);
  color: var(--bs-primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.contact-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: var(--bs-primary);
}

/* Responsive Contact Page */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-content h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 5rem 1rem 2.5rem;
    margin-top: 60px;
  }

  .page-hero-content h1 {
    font-size: 2rem;
  }

  .page-hero-content h1::after {
    width: 60px;
    height: 3px;
    margin: 0.75rem auto 0;
  }

  .page-hero-content p {
    font-size: 1rem;
    margin-top: 1rem;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }
}

/* ===== SERVICES PAGE STYLES ===== */
.services-intro {
  padding: 4rem 0;
  background: var(--bg-card);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.services-intro-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.services-intro-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.services-intro-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.service-section {
  padding: 5rem 0;
  background: var(--bg-card);
}

.service-section.alt-bg {
  background: var(--bg-secondary);
}

.service-header {
  text-align: center;
  margin-bottom: 4rem;
}

.service-icon {
  font-size: 3.5rem;
  color: var(--bs-primary);
  margin-bottom: 1rem;
}

.service-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-grid.four-col {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.service-card.highlighted {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  color: var(--text-primary);
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.service-card.highlighted h3,
.service-card.highlighted p,
.service-card.highlighted .service-features li {
  color: var(--text-primary);
}

.service-card.highlighted .service-card-icon {
  background: var(--overlay-light);
  color: var(--text-primary);
}

.service-card.compact {
  padding: 2rem;
}

.service-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.service-card-icon.small {
  width: 60px;
  height: 60px;
  font-size: 1.75rem;
}

.service-card h3, .service-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-card h4 {
  font-size: 1.3rem;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid #f0f0f0;
}

.service-features li:last-child {
  border-bottom: none;
}

.service-features i {
  color: var(--bs-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.service-card.highlighted .service-features i {
  color: var(--text-primary);
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  color: var(--text-primary);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(var(--accent-primary-rgb), 0.3);
  margin-top: auto;
}

.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 32, 32, 0.4);
  color: var(--text-primary);
}

.service-card.highlighted .service-btn {
  background: var(--bg-card);
  color: var(--bs-primary);
}

.service-card.highlighted .service-btn:hover {
  background: var(--bg-secondary);
}

/* Services CTA */
.services-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1C1C1C 0%, #2d2d2d 100%);
  position: relative;
  overflow: hidden;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(var(--accent-primary-rgb), 0.1) 100%);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn.primary {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  color: var(--text-primary);
}

.cta-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(224, 32, 32, 0.4);
  color: var(--text-primary);
}

.cta-btn.secondary {
  background: var(--bg-card);
  color: var(--text-dark);
}

.cta-btn.secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
  background: var(--bg-secondary);
  color: var(--text-dark);
}

/* Responsive Services */
@media (max-width: 992px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-title {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .services-intro-content h2,
  .service-title {
    font-size: 1.75rem;
  }

  .cta-content h2 {
    font-size: 1.875rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================
   CART MODAL
   ========================================== */

.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-modal.show {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.cart-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-darker);
  backdrop-filter: blur(5px);
}

.cart-modal-content {
  position: relative;
  background: var(--bg-card);
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.8) translateY(50px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.cart-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e9ecef;
}

.cart-modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-modal-header h3 i {
  color: var(--bs-primary);
}

.cart-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: var(--transition);
  border-radius: 8px;
}

.cart-modal-close:hover {
  background: var(--bg-secondary);
  color: var(--text-dark);
}

.cart-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  transition: var(--transition);
}

.cart-item:hover {
  background: var(--bg-tertiary);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.cart-item-price {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cart-item-total {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 1rem;
}

.cart-item-total strong {
  font-size: 1.1rem;
  color: var(--bs-primary);
  white-space: nowrap;
}

.cart-modal-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1.25rem;
}

.cart-modal-total strong {
  font-size: 1.75rem;
  font-weight: 700;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.cart-empty i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.cart-empty p {
  margin: 0;
  font-size: 1.125rem;
}

.cart-modal-footer {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid #e9ecef;
}

.cart-modal-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.cart-modal-btn.primary {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  color: var(--text-primary);
}

.cart-modal-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 32, 32, 0.4);
  color: var(--text-primary);
}

.cart-modal-btn.secondary {
  background: var(--bg-tertiary);
  color: var(--text-dark);
}

.cart-modal-btn.secondary:hover {
  background: var(--bg-tertiary);
  transform: translateY(-2px);
}

/* Mobile Responsive for Cart Modal */
@media (max-width: 768px) {
  .cart-modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .cart-modal-header,
  .cart-modal-body,
  .cart-modal-footer {
    padding: 1.25rem;
  }

  .cart-modal-header h3 {
    font-size: 1.25rem;
  }

  .cart-item {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cart-item-image {
    width: 100%;
    height: 150px;
  }

  .cart-item-total {
    padding-left: 0;
    justify-content: flex-start;
  }

  .cart-modal-footer {
    flex-direction: column;
  }

  .cart-modal-total {
    font-size: 1.1rem;
  }

  .cart-modal-total strong {
    font-size: 1.5rem;
  }
}

/* ==========================================
   SHOPPING CART PAGE (cos-cumparaturi.html)
   ========================================== */

.cart-page-section {
  padding: 4rem 0;
  background: var(--bg-secondary);
  min-height: 60vh;
}

.cart-page-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: start;
}

/* Cart Items Column */
.cart-items-column {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}

.cart-items-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.clear-cart-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--bg-card);
  border: 2px solid #dee2e6;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.clear-cart-btn:hover {
  border-color: var(--color-danger);
  color: var(--color-danger);
  background: var(--color-danger-light);
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-page-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  transition: var(--transition);
}

.cart-page-item:hover {
  background: var(--bg-tertiary);
}

.cart-page-item-image {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-page-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-page-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-page-item-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

.cart-page-item-price {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cart-page-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 0.25rem;
  background: var(--bg-card);
}

.qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.125rem;
}

.qty-btn:hover {
  background: var(--bs-primary);
  color: var(--text-primary);
}

.qty-input {
  width: 50px;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  background: transparent;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-page-item-total {
  min-width: 120px;
  text-align: right;
}

.cart-page-item-total strong {
  font-size: 1.25rem;
  color: var(--bs-primary);
}

.cart-page-item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-card);
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.25rem;
}

.cart-page-item-remove:hover {
  background: var(--color-danger);
  color: var(--text-primary);
}

.cart-empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.cart-empty-state i {
  font-size: 5rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.cart-empty-state h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.cart-empty-state p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cart-empty-state .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  color: var(--text-primary);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.cart-empty-state .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 32, 32, 0.4);
}

.continue-shopping {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #e9ecef;
}

.continue-shopping-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--bg-card);
  color: var(--text-dark);
  border: 2px solid #dee2e6;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.continue-shopping-btn:hover {
  border-color: var(--bs-primary);
  color: var(--bs-primary);
  background: var(--color-danger-light);
}

/* Order Summary Column */
.order-summary-column {
  position: sticky;
  top: 100px;
}

.order-summary-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.order-summary-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1.5rem 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 1rem;
}

.summary-row span {
  color: var(--text-muted);
}

.summary-row strong {
  color: var(--text-dark);
  font-weight: 600;
}

.summary-row.total {
  font-size: 1.25rem;
  padding: 1.5rem 0 0 0;
}

.summary-row.total strong {
  font-size: 1.75rem;
  color: var(--bs-primary);
  font-weight: 700;
}

.summary-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, #dee2e6, transparent);
  margin: 1rem 0;
}

.checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.125rem 2rem;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  color: var(--text-primary);
  border: none;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(var(--accent-primary-rgb), 0.3);
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 32, 32, 0.5);
  color: var(--text-primary);
}

.payment-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.payment-info i {
  color: var(--color-success);
  font-size: 1.125rem;
}

.trust-badges {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

.trust-badge i {
  font-size: 1.25rem;
  color: var(--bs-primary);
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .cart-page-grid {
    grid-template-columns: 1fr;
  }

  .order-summary-column {
    position: static;
  }

  .cart-page-item {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
  }

  .cart-page-item-quantity {
    grid-column: 2;
  }

  .cart-page-item-total {
    grid-column: 2;
    text-align: left;
    margin-top: 0.5rem;
  }

  .cart-page-item-remove {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .cart-page-item {
    position: relative;
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 576px) {
  .cart-items-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .cart-items-header h2 {
    font-size: 1.5rem;
  }

  .cart-page-item-image {
    width: 70px;
    height: 70px;
  }

  .cart-page-item {
    grid-template-columns: 70px 1fr;
  }

  .cart-page-item-title {
    font-size: 0.9rem;
  }
}

/* ==========================================
   ORDER PLACEMENT PAGE (plasat-comenzi.html)
   ========================================== */

.checkout-progress {
  background: var(--bg-card);
  padding: 2rem 0;
  border-bottom: 1px solid #e9ecef;
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
  border: 3px solid #e9ecef;
}

.progress-step.active .step-circle {
  background: var(--bs-primary);
  color: var(--text-primary);
  border-color: var(--bs-primary);
  box-shadow: 0 4px 15px rgba(var(--accent-primary-rgb), 0.3);
}

.progress-step.completed .step-circle {
  background: var(--color-success);
  color: var(--text-primary);
  border-color: var(--color-success);
}

.progress-step span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.progress-step.active span {
  color: var(--bs-primary);
}

.progress-line {
  width: 80px;
  height: 3px;
  background: var(--bg-tertiary);
  margin: 0 1rem;
  position: relative;
  top: -15px;
}

.progress-line.completed {
  background: var(--color-success);
}

/* Checkout Section */
.checkout-section {
  padding: 3rem 0;
  background: var(--bg-secondary);
  min-height: 70vh;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 2rem;
  align-items: start;
}

/* Form Column */
.checkout-form-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.checkout-form-card h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 2rem 0;
}

.checkout-form-card h2 i {
  color: var(--bs-primary);
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e9ecef;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
  padding: 0.875rem 1.125rem;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
}

.btn-primary,
.btn-secondary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(var(--accent-primary-rgb), 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 32, 32, 0.5);
  color: var(--text-primary);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-dark);
  border: 2px solid #dee2e6;
}

.btn-secondary:hover {
  border-color: var(--bs-primary);
  color: var(--bs-primary);
  background: var(--color-danger-light);
}

/* Summary Column */
.checkout-summary-column {
  position: sticky;
  top: 100px;
}

.checkout-summary-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.checkout-summary-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1.5rem 0;
}

.checkout-summary-card h3 i {
  color: var(--bs-primary);
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.summary-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1rem;
  align-items: center;
}

.summary-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.summary-item-details h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.summary-item-details p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.summary-item strong {
  font-size: 1rem;
  color: var(--bs-primary);
  white-space: nowrap;
}

.summary-totals {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.summary-totals .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-totals .summary-row.total {
  font-size: 1.25rem;
  padding-top: 1rem;
  border-top: 2px solid #e9ecef;
}

.summary-totals .summary-row.total strong {
  font-size: 1.75rem;
  color: var(--bs-primary);
}

.payment-method {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e9ecef;
}

.payment-method h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1rem 0;
}

.payment-option {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  align-items: flex-start;
}

.payment-option i {
  font-size: 1.5rem;
  color: var(--bs-primary);
  flex-shrink: 0;
}

.payment-option strong {
  display: block;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.payment-option p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.security-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-success-light);
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--color-success-dark);
}

.security-info i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Success Modal */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.success-modal.show {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.success-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-darkest);
  backdrop-filter: blur(5px);
}

.success-modal-content {
  position: relative;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 3rem 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-icon {
  font-size: 5rem;
  color: var(--color-success);
  margin-bottom: 1.5rem;
  animation: successPulse 0.8s ease-out;
}

@keyframes successPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-modal-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1rem 0;
}

.success-modal-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 2rem 0;
  line-height: 1.6;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-summary-column {
    position: static;
  }

  .progress-steps {
    padding: 0 1rem;
  }

  .progress-line {
    width: 40px;
    margin: 0 0.5rem;
  }

  .step-circle {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .progress-step span {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .checkout-form-card {
    padding: 1.5rem;
  }

  .checkout-form-card h2 {
    font-size: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .checkout-summary-card {
    padding: 1.5rem;
  }

  .summary-item {
    grid-template-columns: 50px 1fr;
  }

  .summary-item strong {
    grid-column: 2;
    text-align: right;
    margin-top: 0.5rem;
  }

  .progress-line {
    width: 30px;
  }

  .step-circle {
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
  }
}

/* ==========================================
   MOBILE RESPONSIVE OPTIMIZATIONS
   ========================================== */

/* Mobile: 768px and below */
@media (max-width: 768px) {
  
  /* FILTER BAR - Make non-sticky on mobile to save screen space */
  .filters-section {
    position: relative !important;
    top: 0 !important;
    padding: 1rem 0;
  }

  .filters-bar {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .filters-left {
    flex-direction: column;
    gap: 0.75rem;
  }

  .filter-btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }

  .sort-select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }

  /* PRODUCT SLIDER - Show 2-3 products on mobile */
  .product-slider {
    gap: 1rem;
    padding: 0.5rem 0;
  }

  .product-card {
    flex: 0 0 calc(50% - 0.5rem) !important;
    min-width: 160px !important;
    max-width: 200px;
  }

  /* Make slider arrows more visible on mobile */
  .product-slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    opacity: 0.95;
    background: var(--backdrop-blur);
  }

  .product-slider-arrow.slider-prev {
    left: 5px;
  }

  .product-slider-arrow.slider-next {
    right: 5px;
  }

  /* HERO/BANNERS - Better sizing and text visibility */
  .hero-slide {
    min-height: 400px !important;
  }

  .hero-slide-content {
    padding: 1.5rem;
  }

  .hero-slide-content h1 {
    font-size: 1.75rem !important;
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .hero-slide-content p {
    font-size: 1rem !important;
    margin-bottom: 1.25rem;
    max-width: 100%;
  }

  .hero-cta-btn {
    padding: 0.875rem 1.75rem !important;
    font-size: 1rem !important;
  }

  /* PROMO BANNERS - Fix text and CTA visibility */
  .promo-banner {
    min-height: 300px;
    background-size: cover;
    background-position: center;
  }

  .promo-banner-overlay {
    background: var(--overlay-dark) !important;
  }

  .promo-banner-content {
    padding: 2rem 1rem;
  }

  .promo-banner-content h2 {
    font-size: 1.5rem !important;
    margin-bottom: 0.75rem;
  }

  .promo-banner-content p {
    font-size: 1rem !important;
    margin-bottom: 1.25rem;
  }

  .promo-banner-btn {
    padding: 0.875rem 1.75rem !important;
    font-size: 1rem !important;
  }

  /* Promo banner small (product page) */
  .promo-banner-small {
    min-height: 200px;
  }

  .promo-banner-small-overlay {
    background: var(--accent-primary) !important;
  }

  .promo-banner-small h3 {
    font-size: 1.25rem;
  }

  /* PAGE HEADERS */
  .page-header {
    padding: 2rem 0 !important;
    min-height: auto !important;
  }

  .page-title {
    font-size: 2rem !important;
  }

  .page-subtitle {
    font-size: 1rem !important;
  }

  /* PRODUCT IMAGE - Better sizing */
  .product-image-container {
    height: 180px !important;
  }

  .product-card-body {
    padding: 0.875rem !important;
  }

  .product-title {
    font-size: 0.875rem !important;
    margin-bottom: 0.5rem !important;
  }

  .product-price {
    font-size: 1.125rem !important;
  }

  .product-btn {
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
  }

  /* SECTION HEADERS */
  .section-header {
    padding: 0 1rem;
    margin-bottom: 1.5rem !important;
  }

  .section-title {
    font-size: 1.5rem !important;
  }

  .section-subtitle {
    font-size: 0.9375rem !important;
  }

  /* NAVBAR ADJUSTMENTS */
  .main-navbar {
    padding: 0 !important;
    height: 60px !important;
    max-height: 60px !important;
  }

  .navbar-search {
    display: none; /* Hide search on very small screens */
  }

  .navbar-action-btn span {
    display: none; /* Hide "Contact" text, show only icon */
  }

  /* PRODUCT SLIDER CONTAINER */
  .product-slider-container {
    padding: 0 1rem;
  }

  .product-slider-section {
    padding: 2rem 0 !important;
  }
}

/* Small Mobile: 576px and below */
@media (max-width: 576px) {

  /* NAVBAR - smaller height on small phones */
  .main-navbar {
    height: 56px !important;
    max-height: 56px !important;
    padding: 0 !important;
  }

  /* Even smaller products for tiny screens */
  .product-card {
    flex: 0 0 calc(50% - 0.5rem) !important;
    min-width: 140px !important;
  }

  .product-image-container {
    height: 140px !important;
  }

  .product-title {
    font-size: 0.8125rem !important;
    line-height: 1.3;
  }

  .product-price {
    font-size: 1rem !important;
  }

  /* Hero adjustments */
  .hero-slide {
    min-height: 350px !important;
  }

  .hero-slide-content h1 {
    font-size: 1.5rem !important;
  }

  .hero-slide-content p {
    font-size: 0.9375rem !important;
  }

  /* Promo banners */
  .promo-banner {
    min-height: 250px;
  }

  .promo-banner-content h2 {
    font-size: 1.25rem !important;
  }

  /* Filter buttons smaller */
  .filter-btn {
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
  }

  /* Section title smaller */
  .section-title {
    font-size: 1.25rem !important;
  }

  /* Arrow buttons slightly smaller */
  .product-slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }
}

/* Large screens: Better product display */
@media (min-width: 1400px) {
  .product-card {
    flex: 0 0 calc(20% - 1.6rem) !important;
  }
}

/* Hide arrows when at ends - Will be controlled by JavaScript */
.product-slider-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================
   FILTERED PRODUCTS GRID LAYOUT
   ========================================== */

.filtered-products-section {
  padding: 3rem 0;
  background: var(--bg-card);
  display: none; /* Hidden by default, shown when filter is active */
}

.filtered-products-header {
  text-align: center;
  margin-bottom: 3rem;
}

.filtered-products-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.filtered-products-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  /* Account for fixed sidebar on desktop */
  margin-right: 360px;
}

@media (max-width: 1400px) {
  .products-grid {
    margin-right: 340px;
  }
}

@media (max-width: 768px) {
  .products-grid {
    margin-right: 0;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

.products-grid .product-card {
  flex: none;
  width: 100%;
  min-width: auto;
}

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.no-products i {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  opacity: 0.3;
}

.no-products p {
  font-size: 1.25rem;
  margin: 0;
}

/* Responsive Grid */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
  }

  .filtered-products-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
  }

  .filtered-products-header {
    margin-bottom: 2rem;
  }

  .filtered-products-header h2 {
    font-size: 1.75rem;
  }

  .filtered-products-header p {
    font-size: 1rem;
  }

  .filtered-products-section {
    padding: 2rem 0;
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .products-grid .product-card {
    min-width: 140px;
  }
}

/* ===== FORM VALIDATION STYLES ===== */
.validation-message {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.35rem;
  min-height: 1.1rem;
  transition: all 0.2s ease;
}

.validation-message.error {
  color: #dc3545;
}

.validation-message.success {
  color: #28a745;
}

.form-input.input-error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15) !important;
}

.form-input.input-success {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.15) !important;
}

.form-input:focus.input-error {
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25) !important;
}

.form-input:focus.input-success {
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.25) !important;
}
