
/* --- FEATURED PRODUCT CARDS CRITICAL DEFENSIVE CSS --- */
.yonex-product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
@media (max-width: 1024px) and (min-width: 769px) {
  .yonex-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
  }
}
@media (max-width: 768px) {
  .yonex-product-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    will-change: transform;
    
    
    gap: 0 !important;
    padding: 6px 0 18px 0 !important;
    margin: 0 !important;
    width: 100% !important;
    
    touch-action: pan-y pinch-zoom;
    box-sizing: border-box !important;
    align-items: stretch !important;
  }
  .yonex-product-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .yonex-product-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: none !important;
    box-sizing: border-box !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    transition: box-shadow 0.25s ease, border-color 0.2s ease !important;
  }
  .yonex-card-title {
    font-size: 1.1rem !important;
    line-height: 1.35 !important;
    min-height: 2.8em !important;
    white-space: normal !important;
  }
}
.yonex-product-card {
  display: flex !important;
  flex-direction: column !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  box-sizing: border-box !important;
  height: 100% !important;
}

.yonex-product-card.carousel-clone,
.home-news-card.carousel-clone,
.news-card.carousel-clone,
.carousel-clone {
  display: none !important;
}
@media (max-width: 768px) {
  .yonex-product-card.carousel-clone,
  .home-news-card.carousel-clone,
  .news-card.carousel-clone,
  .carousel-clone {
    display: flex !important;
  }
}

.yonex-product-card:hover {
  transform: translateY(-4px) !important;
  border-color: #0284C7 !important;
  box-shadow: 0 12px 28px -4px rgba(2, 132, 199, 0.16) !important;
}
.yonex-card-media {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  background: #FFFFFF !important;
  overflow: hidden !important;
  display: block !important;
}
.yonex-card-picture {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 4 / 5 !important;
  display: block !important;
}
.yonex-card-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
  display: block !important;
}
.yonex-card-img-default {
  opacity: 1 !important;
  z-index: 1 !important;
}
.yonex-card-img-hover {
  opacity: 0 !important;
  z-index: 2 !important;
}
.yonex-product-card:hover .yonex-card-img-hover {
  opacity: 1 !important;
}
.yonex-product-card:hover .yonex-card-img-default {
  opacity: 0 !important;
}
.yonex-card-info {
  padding: 1.15rem 1.25rem 1.25rem 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  background: #FFFFFF !important;
  box-sizing: border-box !important;
}
.card-header-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 0.65rem !important;
  gap: 0.4rem !important;
  min-height: 26px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}
.card-tier-badge {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  overflow: visible !important;
  text-overflow: unset !important;
  height: 25px !important;
  min-height: 25px !important;
  padding: 0.2rem 0.55rem !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}
.card-tier-badge.tier-blue { color: #0369A1 !important; }
.card-tier-badge.tier-green { color: #047857 !important; }
.card-tier-badge.tier-yellow { color: #B45309 !important; }
.card-sku-badge {
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  padding: 0.2rem 0.5rem !important;
  border-radius: 6px !important;
  background: #F1F5F9 !important;
  color: #334155 !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  height: 25px !important;
  min-height: 25px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}
[dir="rtl"] .card-sku-badge {
  margin-left: 0 !important;
  margin-right: auto !important;
}
.yonex-card-title {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  line-height: 1.35 !important;
  margin-bottom: 0.65rem !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: normal !important;
  text-wrap: wrap !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  min-height: 4em !important;
}
.card-material-desc {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.2rem !important;
  font-size: 0.82rem !important;
  color: #64748B !important;
  line-height: 1.35 !important;
  margin-top: auto !important;
}
.featured-header {
  text-align: center !important;
  margin-bottom: 2rem !important;
}
.featured-eyebrow {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #0284C7 !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 0.35rem !important;
  text-transform: uppercase !important;
}
.featured-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem) !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  letter-spacing: -0.015em !important;
  line-height: 1.25 !important;
}
.featured-action-wrap {
  text-align: center !important;
  margin-top: 2rem !important;
}
.featured-btn-view-all {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.65rem 1.6rem !important;
  border: 1.5px solid #0369A1 !important;
  border-radius: 8px !important;
  color: #0369A1 !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.featured-btn-view-all:hover {
  background: #0369A1 !important;
  color: #FFFFFF !important;
}

/* Featured Products 4:5 Aspect Ratio & Zero-Crop Image Presentation */
#featured-shuttlecocks .yonex-card-media,
#featured-rackets .yonex-card-media {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  background: #FFFFFF !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  display: block !important;
}
#featured-shuttlecocks .yonex-card-picture,
#featured-rackets .yonex-card-picture {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 4 / 5 !important;
  display: block !important;
}
#featured-shuttlecocks .yonex-card-img,
#featured-rackets .yonex-card-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 4px !important;
  box-sizing: border-box !important;
}

/* Featured card actions: compact, aligned badges with clear affordances. */
#featured-shuttlecocks .yonex-card-info,
#featured-rackets .yonex-card-info {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
#featured-shuttlecocks .yonex-product-card,
#featured-rackets .yonex-product-card {
  padding: 1rem 1rem 1.15rem 1rem !important;
  border-radius: 14px !important;
  position: relative !important;
}
#featured-shuttlecocks .yonex-card-info,
#featured-rackets .yonex-card-info {
  padding: 0.85rem 0.15rem 0 0.15rem !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
#featured-shuttlecocks .card-header-meta,
#featured-rackets .card-header-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin-bottom: 0.65rem !important;
  gap: 0.35rem !important;
  min-height: 26px !important;
  flex-wrap: nowrap !important;
}
#featured-shuttlecocks .yonex-card-footer,
#featured-rackets .yonex-card-footer {
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 0.35rem !important;
  padding-top: 0.75rem !important;
  border-top: 1px solid #E2E8F0 !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-inline: 0 !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
#featured-shuttlecocks .card-moq-badge,
#featured-rackets .card-moq-badge,
#featured-shuttlecocks .card-cta-link,
#featured-rackets .card-cta-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 26px !important;
  min-height: 26px !important;
  padding: 0 0.45rem !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  margin: 0 !important;
}
#featured-shuttlecocks .card-moq-badge,
#featured-rackets .card-moq-badge {
  color: #047857 !important;
  background: #F0FDF4 !important;
  border: 1px solid #BBF7D0 !important;
}
#featured-shuttlecocks .card-cta-link,
#featured-rackets .card-cta-link {
  color: #0369A1 !important;
  background: #F0F9FF !important;
  border: 1px solid #BAE6FD !important;
  transition: all 0.2s ease !important;
}
#featured-shuttlecocks .card-action-icon,
#featured-rackets .card-action-icon {
  display: none !important;
}
#featured-shuttlecocks .moq-text,
#featured-rackets .moq-text,
#featured-shuttlecocks .cta-text,
#featured-rackets .cta-text {
  min-width: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}
#featured-shuttlecocks .yonex-product-card:hover .card-cta-link,
#featured-rackets .yonex-product-card:hover .card-cta-link {
  color: #FFFFFF !important;
  background: #0284C7 !important;
  border-color: #0284C7 !important;
}
/* -------------------------------------------------------------
   Carousel Floating Nav Buttons on Image Sides for Mobile
   Covers: #featured-shuttlecocks, #featured-rackets, .home-news-section
   ------------------------------------------------------------- */
.carousel-floating-btn,
.carousel-dots-wrap {
  display: none !important;
}

@media (max-width: 768px) {
  .carousel-track-wrapper {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    direction: ltr !important;
  }

  .carousel-floating-btn {
    display: flex !important;
    position: absolute !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    color: #0F172A !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18) !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 35 !important;
    padding: 0 !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  #featured-shuttlecocks .carousel-floating-btn,
  #featured-rackets .carousel-floating-btn {
    top: 150px;
  }

  .home-news-section .carousel-floating-btn {
    top: 95px;
  }

  .carousel-floating-btn.prev {
    left: 8px !important;
    right: auto !important;
  }

  .carousel-floating-btn.next {
    right: 8px !important;
    left: auto !important;
  }

  .carousel-floating-btn:hover,
  .carousel-floating-btn:active {
    background: #FFFFFF !important;
    color: #0284C7 !important;
    transform: translateY(-50%) scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.28) !important;
  }

  .carousel-floating-btn:focus-visible {
    outline: 2px solid #0284C7 !important;
    outline-offset: 2px !important;
  }

  .carousel-floating-btn svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    pointer-events: none !important;
    stroke: currentColor !important;
  }

  /* Mobile Carousel Pagination Indicator Dots */
  .carousel-dots-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    margin-top: 1.15rem !important;
    padding: 0.25rem 0 !important;
    direction: ltr !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    width: 100% !important;
  }

  .carousel-dot {
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 99px !important;
    background: #CBD5E1 !important;
    box-shadow: none !important;
    filter: none !important;
    outline: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .carousel-dot.active {
    width: 22px !important;
    background: #0284C7 !important;
    box-shadow: none !important;
    filter: none !important;
    outline: none !important;
  }

  .carousel-dot:hover {
    background: #94A3B8 !important;
    box-shadow: none !important;
  }

  .carousel-dot.active:hover {
    background: #0284C7 !important;
    box-shadow: none !important;
  }
}
