:root {
  --brand: #0078B8;
  --dark: #0b1220;
  --muted: #5b6770;
  --bg: #f6f8fb;
  --card: #ffffff;
  --radius: 12px;
  --gap: 18px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  padding: 0;
}

.section-title {
  font-size: 44px;
  font-weight: 800;
  color: var(--dark);
  margin: 40px 0 30px;
  text-align: center;
  letter-spacing: -1px;
}


.carousel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #f8fbff;
  padding: 40px 20px;
  box-shadow: inset 0 0 40px rgba(0, 120, 184, 0.03);
}

.carousel-viewport {
  overflow: hidden
}

.carousel-track {
  display: flex;
  gap: 25px;
  animation: scroll-left 15s linear infinite;
  will-change: transform;
  align-items: stretch;
}

.carousel-wrap:hover .carousel-track {
  animation-play-state: paused
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12.5px)); }
}

.carousel-item {
  flex: 0 0 320px;
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  padding: 25px;
  display: flex;
  flex-direction: column;
  transition: 0.2s;
  border: 1px solid #f0f3f6;
}

.carousel-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 120, 184, 0.1);
  border-color: #0078B8;
}

.product-image {
  height: 220px;
  background: #fff;
  border-radius: 15px;
  display: block;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #f5f8fa;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 15px;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.carousel-item:hover .product-image img {
  transform: scale(1.1);
}

.product-title {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
  font-size: 18px;
  line-height: 1.4;
}

.product-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.5;
  flex-grow: 1;
}

.price {
  font-size: 20px;
  font-weight: 800;
  color: #0078B8;
  margin-bottom: 10px;
}

.specs {
  font-size: 13px;
  color: #7a8b9a;
  margin-bottom: 20px;
  font-style: italic;
}

.card-actions .btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #0078B8;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s;
}

.card-actions .btn:hover {
  background: #005f91;
  box-shadow: 0 10px 20px rgba(0, 120, 184, 0.2);
}

.price {
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 8px
}

.specs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.25
}

.card-actions {
  display: flex;
  gap: 8px;
  align-items: center
}

.btn {
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block
}

@media (max-width:980px) {
  .carousel-track {
    animation-duration: 15s
  }
}

@media (max-width:680px) {
  .carousel-track {
    animation-duration: 20s
  }

  .carousel-item {
    flex: 0 0 260px
  }
}

/* ===============================
   FIX FEATURED PRODUCTS LAYOUT
================================ */

/* Outer section spacing */
.elementor-section.featured-products {
  padding: 60px 40px !important;
  overflow: hidden; /* prevents side overflow */
}

/* Center the carousel inside section */
.carousel-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

/* Prevent track from pushing outside */
.carousel-viewport {
  overflow: hidden;
}

