/* Home page — hero slider + category bar (mazsashop.com / elementor-9601) */
.home-page {
  font-family: 'Noto Sans Thai', sans-serif;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: #fff;
}

.home-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #111;
}

.home-hero-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  width: 100%;
}

.home-hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-height: 320px;
  height: 50vh;
  max-height: 1090px;
  background-color: #1a1a1a;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 480px) {
  .home-hero-slide {
    min-height: 350px;
    height: 55vh;
  }
}

@media (min-width: 768px) {
  .home-hero-slide {
    height: 65vh;
    min-height: 500px;
    max-height: 650px;
  }
}

@media (min-width: 1025px) {
  .home-hero-slide {
    height: 75vh;
    min-height: 650px;
    max-height: 1090px;
  }
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.05) 100%);
  pointer-events: none;
}

.home-hero-content {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 72px 16px 56px 16px;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .home-hero-content {
    padding: 100px 24px 60px 32px;
    max-width: 85%;
  }
}

@media (min-width: 1025px) {
  .home-hero-content {
    padding: 120px 40px 80px 118px;
    max-width: 70%;
  }
}

.home-hero-text-block {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 100%;
}

@media (min-width: 768px) {
  .home-hero-text-block {
    gap: 24px;
  }
}

.home-hero-collection {
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: left top;
  margin-top: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .home-hero-collection {
    font-size: 20px;
    line-height: 20px;
    margin-top: 28px;
  }
}

@media (min-width: 768px) {
  .home-hero-collection {
    font-size: 25px;
    line-height: 25px;
    letter-spacing: 3px;
    margin-top: 36px;
  }
}

@media (min-width: 1025px) {
  .home-hero-collection {
    font-size: 30px;
    line-height: 30px;
    letter-spacing: 4px;
    margin-top: 48px;
  }
}

.home-hero-line {
  width: 1px;
  height: 32px;
  background: #fff;
  margin-top: 6px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .home-hero-line {
    height: 37px;
    margin-top: 8px;
  }
}

@media (min-width: 1025px) {
  .home-hero-line {
    height: 56px;
    margin-top: 12px;
  }
}

.home-hero-titles {
  padding-top: 4px;
  min-width: 0;
}

@media (min-width: 768px) {
  .home-hero-titles {
    padding-top: 8px;
  }
}

.home-hero-title {
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: clamp(36px, 10vw, 110px);
  line-height: 0.95;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 1px;
  word-break: break-word;
}

@media (min-width: 768px) {
  .home-hero-title {
    letter-spacing: 2px;
  }
}

.home-hero-subtitle {
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: clamp(12px, 2.5vw, 22px);
  color: #fff;
  margin: 8px 0 0;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .home-hero-subtitle {
    margin: 12px 0 0;
    letter-spacing: 1px;
  }
}

.home-hero-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: #000;
  color: #fff;
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease;
}

@media (min-width: 768px) {
  .home-hero-cta {
    margin-top: 36px;
    padding: 14px 28px;
    font-size: 14px;
  }
}

.home-hero-cta:hover {
  background: #222;
}

.home-hero-nav {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .home-hero-nav {
    bottom: 32px;
    gap: 10px;
  }
}

.home-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .home-hero-dot {
    width: 10px;
    height: 10px;
  }
}

.home-hero-dot.is-active {
  background: #fff;
  border-color: #fff;
}

.home-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  padding: 0;
}

@media (min-width: 768px) {
  .home-hero-arrow {
    width: 48px;
    height: 48px;
  }
}

.home-hero-arrow:hover {
  background: rgba(0, 0, 0, 0.55);
}

.home-hero-arrow--prev {
  left: 8px;
}

.home-hero-arrow--next {
  right: 8px;
}

@media (min-width: 768px) {
  .home-hero-arrow--prev {
    left: 16px;
  }

  .home-hero-arrow--next {
    right: 16px;
  }
}

.home-hero-arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (min-width: 768px) {
  .home-hero-arrow svg {
    width: 20px;
    height: 20px;
  }
}

.home-category-bar {
  position: relative;
  z-index: 2;
  padding: 16px 12px;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .home-category-bar {
    padding: 20px 15px;
  }
}

.home-category-grid {
  max-width: 1410px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 8px;
  background: #fff;
  padding: 8px 0;
}

@media (min-width: 768px) {
  .home-category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 15px 0;
  }
}

@media (min-width: 1025px) {
  .home-category-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    padding: 10px 0;
  }
}

.home-category-grid a {
  display: block;
  text-align: center;
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  padding: 8px 4px;
  transition: color 0.2s ease;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .home-category-grid a {
    font-size: 18px;
  }
}

@media (min-width: 1025px) {
  .home-category-grid a {
    font-size: 20px;
  }
}

.home-category-grid a:hover {
  color: #333;
}

/* Dual promo banners — full width, Boxing 30% : Soccer 60% */
.home-promo-duo {
  width: 100%;
  max-width: 100%;
  background: #fff;
  padding: 0;
  margin: 0;
}

.home-promo-duo__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .home-promo-duo__inner {
    /* 3:6 ratio = 30% : 60% of combined width, fills 100% */
    grid-template-columns: 3fr 6fr;
  }
}

.home-promo-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 220px;
  padding: 24px;
  text-decoration: none;
  color: #fff;
  background-color: #111;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

@media (max-width: 767px) {
  .home-promo-duo__inner {
    grid-template-columns: 1fr;
  }

  .home-promo-tile {
    min-height: 0;
    align-items: flex-end;
  }

  .home-promo-tile--boxing {
    aspect-ratio: 2.15 / 1;
    padding: 18px 20px 16px;
    background-position: center top;
  }

  .home-promo-tile--soccer {
    aspect-ratio: 1.55 / 1;
    padding: 20px 20px 22px;
    background-position: center center;
  }

  .home-promo-tile--boxing .home-promo-tile__shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.78) 100%);
  }

  .home-promo-tile--soccer .home-promo-tile__shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.72) 100%);
  }

  .home-promo-tile__label {
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: 0.5px;
  }

  .home-promo-tile__tagline {
    font-size: 9px;
    letter-spacing: 1px;
    line-height: 1.35;
    max-width: 92%;
  }

  .home-promo-tile__title {
    font-size: 30px;
    margin-top: 6px;
  }
}

@media (min-width: 768px) {
  .home-promo-tile {
    min-height: 280px;
    padding: 32px 36px;
  }
}

@media (min-width: 1025px) {
  .home-promo-tile {
    min-height: 320px;
  }
}

.home-promo-tile__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.home-promo-tile--boxing .home-promo-tile__shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.home-promo-tile--soccer .home-promo-tile__shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.35) 100%);
}

.home-promo-tile__label,
.home-promo-tile__copy {
  position: relative;
  z-index: 1;
}

.home-promo-tile__label {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .home-promo-tile__label {
    font-size: 28px;
  }
}

.home-promo-tile__tagline {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .home-promo-tile__tagline {
    font-size: 13px;
    letter-spacing: 2px;
  }
}

.home-promo-tile__title {
  margin: 8px 0 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .home-promo-tile__title {
    font-size: 52px;
  }
}

/* Product category stack */
.home-product-stack {
  background: #fff;
}

.home-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .home-section-head {
    padding: 0 40px;
    margin-bottom: 32px;
  }
}

.home-section-head h2 {
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .home-section-head h2 {
    font-size: 22px;
  }
}

.home-section-head a {
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: 11px;
  font-weight: 600;
  background: #000;
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: background 200ms ease;
}

.home-section-head a:hover {
  background: #222;
}

@media (min-width: 768px) {
  .home-section-head a {
    font-size: 12px;
    padding: 10px 22px;
  }
}

.home-product-section {
  max-width: 1410px;
  margin: 0 auto;
  padding: 40px 12px 56px;
  width: 100%;
  box-sizing: border-box;
  scroll-margin-top: 80px;
}

@media (min-width: 768px) {
  .home-product-section {
    padding: 56px 15px 72px;
    scroll-margin-top: 88px;
  }
}

.home-product-section:last-child {
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  .home-product-section:last-child {
    padding-bottom: 64px;
  }
}

/* Home product carousel — 10 items, 5 visible on desktop */
.home-product-carousel {
  position: relative;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .home-product-carousel {
    padding: 0 40px;
  }
}

.home-product-carousel__viewport {
  overflow: hidden;
}

@media (max-width: 767px) {
  .home-product-carousel {
    padding: 0 0 0 16px;
  }

  .home-product-carousel__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
  }

  .home-product-carousel__viewport::-webkit-scrollbar {
    display: none;
  }

  .home-product-carousel__track {
    transition: none;
    will-change: auto;
  }

  .home-product-carousel__slide {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .home-product-carousel__slide:last-child {
    margin-right: 16px;
  }

  .home-product-carousel__arrow {
    display: none;
  }
}

.home-product-carousel__track {
  display: flex;
  gap: 32px;
  transition: transform 300ms ease;
  will-change: transform;
}

.home-product-carousel__slide {
  flex: 0 0 calc((100% - 32px) / 2);
  min-width: 0;
}

@media (min-width: 768px) {
  .home-product-carousel__slide {
    flex: 0 0 calc((100% - 64px) / 3);
  }
}

@media (min-width: 1024px) {
  .home-product-carousel__slide {
    flex: 0 0 calc((100% - 128px) / 5);
  }
}

.home-product-carousel__arrow {
  position: absolute;
  top: 38%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #000;
  cursor: pointer;
  opacity: 0;
  transition: opacity 200ms ease, border-color 200ms ease;
}

.home-product-carousel:hover .home-product-carousel__arrow:not(:disabled),
.home-product-carousel:focus-within .home-product-carousel__arrow:not(:disabled) {
  opacity: 1;
}

.home-product-carousel__arrow:hover:not(:disabled) {
  border-color: #000;
}

.home-product-carousel__arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.home-product-carousel__arrow--prev {
  left: -4px;
}

.home-product-carousel__arrow--next {
  right: -4px;
}

@media (min-width: 768px) {
  .home-product-carousel__arrow {
    width: 44px;
    height: 44px;
  }

  .home-product-carousel__arrow--prev {
    left: -8px;
  }

  .home-product-carousel__arrow--next {
    right: -8px;
  }
}

.home-product-carousel__arrow svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Bottom feature banner — Basketball */
.home-bottom-banner {
  background: #000;
}

.home-bottom-banner__link {
  position: relative;
  display: block;
  min-height: 320px;
  text-decoration: none;
  color: #fff;
  background-color: #000;
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}

@media (min-width: 768px) {
  .home-bottom-banner__link {
    min-height: 420px;
  }
}

@media (min-width: 1025px) {
  .home-bottom-banner__link {
    min-height: 520px;
  }
}

.home-bottom-banner__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.2) 100%);
}

.home-bottom-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 24px;
  min-height: inherit;
  padding: 40px 24px;
  max-width: 1410px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .home-bottom-banner__content {
    padding: 56px 40px;
    gap: 28px;
  }
}

.home-bottom-banner__title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .home-bottom-banner__title {
    font-size: 64px;
    letter-spacing: 3px;
  }
}

@media (min-width: 1025px) {
  .home-bottom-banner__title {
    font-size: 80px;
  }
}

.home-bottom-banner__cta {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 200ms ease, color 200ms ease;
}

.home-bottom-banner__link:hover .home-bottom-banner__cta {
  background: #fff;
  color: #000;
}

@media (min-width: 768px) {
  .home-bottom-banner__cta {
    font-size: 12px;
    padding: 14px 32px;
  }
}
