/* nexsole — home sliders: hero carousel + product carousels.
 * Our colours only (navy #0b1e4b, blue #1d4ed8, sale red #dc2626).
 * No library, no extra requests. */

/* ---------- hero slider ---------- */
.hero-slider {
  position: relative;
  background: linear-gradient(135deg, #0b1e4b 0%, #1d4ed8 100%);
  color: #fff;
  overflow: hidden;
}
.hero-slide { display: none; padding: 56px 0 64px; }
.hero-slide.is-active { display: block; }
.hero-slide .hero-copy p { color: #dbeafe; }
.hero-slide h2.hero-title { font-size: 2.2rem; margin: .4em 0; letter-spacing: -1px; line-height: 1.1; }
@media (min-width: 768px) { .hero-slide h2.hero-title { font-size: 3rem; } }
.hero-price { font-size: 1.5rem; font-weight: 800; margin: .5em 0 0; color: #fff; }
.hero-price s { font-weight: 400; font-size: 1.05rem; color: #bfdbfe; margin-left: 8px; }
.hero-photo { display: flex; align-items: center; justify-content: center; }
.hero-photo img {
  width: 100%; max-width: 320px; height: auto;
  border-radius: 16px; background: #fff;
  box-shadow: 0 12px 32px rgba(2, 8, 30, .35);
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .12); color: #fff;
  font-size: 1.4rem; line-height: 1; cursor: pointer; z-index: 3;
  display: flex; align-items: center; justify-content: center;
}
.hero-arrow:hover { background: rgba(255, 255, 255, .28); }
.hero-arrow.prev { left: 10px; }
.hero-arrow.next { right: 10px; }
@media (min-width: 768px) {
  .hero-arrow.prev { left: 20px; }
  .hero-arrow.next { right: 20px; }
}
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 16px;
  display: flex; gap: 8px; justify-content: center; z-index: 3;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, .45); cursor: pointer; padding: 0;
  transition: width .2s ease, background .2s ease;
}
.hero-dot.is-active { width: 26px; background: #fff; }
.hero-slider.single .hero-arrow,
.hero-slider.single .hero-dots { display: none; }

/* ---------- product carousels ---------- */
.head-side { display: flex; gap: 12px; align-items: center; }
.pcar-nav { display: flex; gap: 8px; }
.pcar-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid #dbe3ef; background: #fff; color: #0f172a;
  font-size: 1.15rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.pcar-btn:hover:not(:disabled) { border-color: #1d4ed8; color: #1d4ed8; }
.pcar-btn:disabled { opacity: .35; cursor: default; }
.pcarousel-track {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.pcarousel-track::-webkit-scrollbar { display: none; }
.pcarousel-track .product-card { flex: 0 0 46%; scroll-snap-align: start; }
@media (min-width: 640px) { .pcarousel-track .product-card { flex-basis: 31%; } }
@media (min-width: 1024px) { .pcarousel-track .product-card { flex-basis: 23.5%; } }
