/* ===============================
   GYMFAST MAIN STYLES
================================= */

body {
  margin: 0;
  font-family: 'Unbounded', sans-serif;
  background: #f5f5f5;
  color: #222;
}

.container {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===============================
   HERO PHOTO SLIDER
================================= */

.hero-slider {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 18px 0;
}

.hero-slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease;
  will-change: transform;
}

.slide {
  min-width: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* arrows */

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  z-index: 5;
}

.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

/* dots */

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

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
}

.slider-dots .dot.is-active {
  width: 24px;
  background: #fff;
}

/* ===============================
   SECTIONS
================================= */

.section {
  padding: 40px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
}

.link {
  color: #0077ff;
  text-decoration: none;
}

/* ===============================
   CATEGORY GRID
================================= */

.home-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.home-cat {
  text-decoration: none;
  color: #222;
  border: 1px solid #eee;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  transition: transform .2s ease;
}

.home-cat:hover {
  transform: translateY(-3px);
}

.home-cat-title {
  font-weight: 800;
  margin-bottom: 6px;
}

.home-cat-sub {
  font-size: 13px;
  color: #666;
}

/* ===============================
   PROMO STRIP
================================= */

.promo-strip {
  padding: 20px 0;
  background: #111;
  color: #fff;
}

.promo-strip-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.promo-pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 12px;
  margin-bottom: 6px;
}

.promo-title {
  font-weight: 800;
  font-size: 18px;
}

.promo-sub {
  font-size: 13px;
  color: #ccc;
}

.promo-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ===============================
   BUTTONS
================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}

.btn-primary {
  background: #0077ff;
  color: #fff;
  border: none;
}

.btn-outline {
  border: 1px solid #ddd;
  background: #fff;
  color: #222;
}

.btn-sm {
  padding: 8px 10px;
  font-size: 13px;
}

/* ===============================
   PRODUCT GRID
================================= */

.grid {
  display: grid;
  gap: 14px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px;
  transition: transform .2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
}

.product-img {
  height: 140px;
  background: #f1f1f1;
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-name {
  font-weight: 700;
  margin-bottom: 6px;
}

.product-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.price {
  font-weight: 800;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  font-size: 13px;
}

/* ===============================
   BENEFITS
================================= */

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.benefit {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.benefit-ico {
  font-size: 22px;
  margin-bottom: 8px;
}

.benefit-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.benefit-sub {
  font-size: 13px;
  color: #666;
}

/* ===============================
   NEWSLETTER
================================= */

.newsletter {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 992px) {
  .home-cats { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .slide img { height: 380px; }
}

@media (max-width: 520px) {
  .home-cats { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .slide img { height: 300px; }
}
.home-section {
  padding: 60px 0;
}

.home-section .section-head {
  margin-bottom: 24px;
}

.home-section h2 {
  font-weight: 800;
  font-size: 26px;
}