/* -----------------------
       GLOBAL STYLES
    ------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  background-color: #ffffff;
  color: #333;
}

.main-body {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  background: #fff;
}

h2 {
  font-size: 2em;
  text-align: center;
  margin: 2em 0 1em;
}

/* -----------------------
       HERO SECTION
    ------------------------ */
.hero-banner {
  width: 100%;
  height: 600px;
  background: url('/images/user/home/hero-banner-large.webp') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 40px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  word-wrap: break-word;
}

.shop-btn {
  background: #fff;
  color: #000;
  border: none;
  padding: 14px 36px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.shop-btn:hover {
  background: #bebebe;
}

/* -----------------------
       PRODUCTS
    ------------------------ */
.trending-products {
  padding: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.product-item {
  background-color: white;
  border: 1px solid #ddd;
  text-align: center;
  transition: transform 0.2s;
  overflow: hidden;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-item img {
  width: 100%;
  height: auto;
  display: block;
}


.product-price-base {
  color: #cc0000;
  font-weight: bold;
}

.product-price-normal {
  color: rgb(116, 116, 116);
  font-weight: 600;
  text-decoration: line-through;
}

.price-section {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.product-item {
  position: relative;
  background: #fff;
  border: 1px solid #e5e5e5;
  overflow: hidden;
}

.offer-div {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
}

.offer-div span {
  min-width: 52px;
  height: 26px;
  padding: 0 10px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #e53935;
  color: #fff;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;

  border-radius: 12px;
  cursor: default;

  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

.wishlist-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.isWishlistedFalse {
  background: #ffffff;
  border: 1px solid #ddd;
}

.isWishlistedTrue {
  background: #000000;
  border: 1px solid #ddd;
}

.isWishlistedTrue i {
  color: #fff;
  font-size: 14px;
}

.isWishlistedFalse i {
  font-size: 14px;
  color: #000;
}

.wishlist-btn:hover {
  background: #000;
}

.wishlist-btn:hover i {
  color: #fff;
}

/* PRODUCT DETAILS */
.product-details {
  padding: 12px;
}

/* ADD TO CART BUTTON */
.add-to-cart-btn {
  margin-top: 12px;
  width: 100%;
  padding: 10px 0;
  background: #000;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.add-to-cart-btn i {
  font-size: 14px;
}

.add-to-cart-btn:hover {
  background: #222;
}


/* -----------------------
       REVIEWS
    ------------------------ */
.customer-reviews {
  text-align: center;
  padding: 60px 40px;
  background: #fff;
}

.customer-reviews h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #111;
}

.review-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.review-card {
  background: #111;
  color: #fff;
  width: 260px;
  height: 300px;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  position: relative;
}

.review-card:hover {
  transform: translateY(-5px);
}

.quote-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  opacity: 0.2;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #ddd;
  margin-top: 10px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-top: 10px;
}

.review-author i {
  font-size: 1.2rem;
  color: #aaa;
}

.review-stars {
  color: #f5c518;
  letter-spacing: 2px;
  margin-top: 8px;
}

/* -----------------------
       PROMO SECTION
    ------------------------ */
.welcome-promo {
  display: flex;
  align-items: center;
  margin: 40px 40px 0;
  background-color: white;
  border: 1px solid #eee;
  flex-wrap: wrap;
}

.promo-text-area {
  flex: 1;
  padding: 40px;
  min-width: 280px;
}

.follow-us {
  color: #888;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-size: 0.8em;
}

.promo-text-area h2 {
  text-align: left;
  margin: 0 0 10px 0;
  font-size: 1.8em;
}

.tagline {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

.jersey-brand {
  font-weight: bold;
  font-size: 1.5em;
  color: #333;
}

.promo-image-area {
  flex: 1;
  overflow: hidden;
  background: repeating-linear-gradient(45deg, #f7f7f7, #f7f7f7 10px, #ffcccc 10px, #ffcccc 20px);
}

.promo-image-area img {
  width: 100%;
  height: auto;
  display: block;
}

/* -----------------------
       FULL-WIDTH CAROUSEL
    ------------------------ */
.brand-carousel {
  width: 100vw;
  background: #111;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  position: relative;
}

.carousel-track {
  display: inline-block;
  animation: scroll 25s linear infinite;
}

.carousel-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 40px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.carousel-item i {
  color: #fff;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* -----------------------
       VALUE PROPS
    ------------------------ */
.value-props-section {
  background-color: #fff;
  padding: 60px 40px 80px;
  text-align: center;
  margin: 40px 0;
}

.value-title {
  margin-bottom: 40px;
}

.props-grid {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.prop-item {
  flex-basis: 30%;
  text-align: center;
  min-width: 200px;
}

.prop-item i {
  color: #000;
  margin-bottom: 15px;
}

.about-button {
  background-color: #000;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s;
}

.about-button:hover {
  background-color: #333;
}

/* -----------------------
       RESPONSIVE DESIGN
    ------------------------ */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-banner {
    height: 450px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 350px;
    padding: 20px;
    border-radius: 0;
    background-position: center center;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .shop-btn {
    padding: 10px 26px;
    font-size: 0.9rem;
  }

  .promo-text-area {
    padding: 20px;
  }

  .welcome-promo {
    flex-direction: column-reverse;
    margin: 20px;
  }

  .carousel-item {
    margin: 0 20px;
    font-size: 0.8rem;
  }
}



/* For mobile or small screens*/
@media (max-width: 768px) {
  .hero-banner {
    background-image: url('/images/user/home/hero-banner-small.webp');
    background-position: top center;
  }

  .hero-banner h1 {
    display: none;
  }
}


.promo-image-area {
  max-height: 60vh;
}

.promo-image-area img {
  width: 100%;
  position: relative;
  top: -100px;
}