/* ==========================================================================
   PORTABLE SPORTS FLOORING SOLUTIONS SECTION (CAROUSEL & MODULAR)
   Scoped with .sports-spec- prefix to prevent style bleeding.
   Fully compatible with Bootstrap .container
   ========================================================================== */
.sports-spec-cta-wrap {
    padding: 0 12px 14px 12px;
    margin-top: 4px;
    display: none !important;
}
.sports-spec-section {
  position: relative;
  padding: 4.5rem 0 4.5rem;
  background-color: #f8fafc;
  overflow: hidden;
}

/* Bootstrap Container Integration */
.sports-spec-section .container,
.sports-spec-container {
  position: relative;
}

/* Section Header */
.sports-spec-header-wrap {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 1rem;
}

.sports-spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d92534;
  margin-bottom: 0.75rem;
}

.sports-spec-badge::before,
.sports-spec-badge::after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background-color: #d92534;
  border-radius: 2px;
}

.sports-spec-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0c192c;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.sports-spec-highlight {
  color: #d92534;
}

.sports-spec-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 auto;
}

/* Carousel Container Wrapper */
.sports-spec-carousel-wrap {
  position: relative;
  padding: 0 4px;
}

.sports-swiper {
  width: 100%;
  padding-top: 8px;
  overflow: hidden;
}

.sports-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.sports-swiper .swiper-slide {
  height: auto; /* Dictate equal full height */
  display: flex;
}

/* Individual Sport Card */
.sports-spec-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--card-theme, #d92534);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(12, 25, 44, 0.08);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-height: 520px;
}

.sports-spec-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 38px rgba(12, 25, 44, 0.18);
}

/* Card Top Hero Photo (Fixed Uniform Dimension: 100% x 185px) */
.sports-spec-photo-wrap {
  position: relative;
  width: 100%;
  height: 185px;
  min-height: 185px;
  max-height: 185px;
  overflow: hidden;
  background-color: #1e293b;
  flex-shrink: 0;
}

.sports-spec-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}

.sports-spec-card:hover .sports-spec-photo {
  transform: scale(1.08);
}

/* Card Header Bar (Prominent Sport Icon Badge Beside Sport Name) */
.sports-spec-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 16px 6px 16px;
  position: relative;
  z-index: 2;
}

/* Prominent White Squircle Badge for Sport Icon */
.sports-spec-pennant {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  background-color: #ffffff;
  border-radius: 10px;
  clip-path: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--card-theme, #d92534);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.95);
  flex-shrink: 0;
  padding: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.sports-spec-card:hover .sports-spec-pennant {
  transform: scale(1.12) rotate(4deg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
}

.sports-spec-pennant svg {
  width: 22px;
  height: 22px;
  display: block;
}

.sports-spec-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

/* Flooring Options Label (clean white text with underline accent) */
.sports-spec-options-header {
  padding: 8px 16px 4px 16px;
}

.sports-spec-options-title {
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  clip-path: none !important;
}

.sports-spec-options-title::after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.55);
  border-radius: 2px;
}

/* ==========================================================================
   FLOORING OPTION SWATCHES - STRICTLY UNIFORM 52px x 52px DIMENSIONS
   ========================================================================== */
.sports-spec-swatches {
  padding: 8px 14px 14px 14px;
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
  min-height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 1 Swatch Layout */
.sports-spec-swatches.swatches-1 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sports-spec-swatches.swatches-1 .sports-spec-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 10px 16px;
  width: 110px;
}

/* 2 Swatches Layout */
.sports-spec-swatches.swatches-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-content: center;
}

.sports-spec-swatches.swatches-2 .sports-spec-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 8px 6px;
}

/* 3 Swatches Layout */
.sports-spec-swatches.swatches-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 6px;
  align-content: center;
}

.sports-spec-swatches.swatches-3 .sports-spec-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 4px;
}

/* 4 Swatches Layout */
.sports-spec-swatches.swatches-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 8px;
  align-content: center;
}

.sports-spec-swatches.swatches-4 .sports-spec-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 4px;
}

/* 5 Swatches Layout */
.sports-spec-swatches.swatches-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 6px;
  align-content: center;
}

.sports-spec-swatches.swatches-5 .sports-spec-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 4px;
}

/* 6 Swatches Layout */
.sports-spec-swatches.swatches-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 6px;
  align-content: center;
}

.sports-spec-swatches.swatches-6 .sports-spec-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 4px;
}

/* Base Swatch Item */
.sports-spec-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease, background 0.25s ease;
}

.sports-spec-swatch:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}

/* STRICTLY UNIFORM EXACT DIMENSION FOR ALL SWATCH THUMBNAILS: 52px x 52px */
.sports-spec-swatch-thumb {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 8px !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  overflow: hidden !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  transition: transform 0.25s ease, border-color 0.25s ease !important;
  margin: 0 auto !important;
  flex-shrink: 0 !important;
}

.sports-spec-card:hover .sports-spec-swatch-thumb {
  border-color: #ffffff !important;
}

.sports-spec-swatch:hover .sports-spec-swatch-thumb {
  transform: scale(1.08) !important;
}

.sports-spec-swatch-thumb img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.sports-spec-swatch-name {
  font-size: 0.675rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 5px;
  line-height: 1.25;
  display: block;
  text-align: center;
  word-break: break-word;
}

/* Card Bottom Action CTA */
.sports-spec-cta-wrap {
  padding: 0 14px 16px 14px;
  margin-top: auto;
}

.sports-spec-cta-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.sports-spec-cta-btn:hover {
  background-color: #ffffff;
  color: var(--card-theme, #d92534);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* Carousel Navigation Arrows */
.sports-nav-btn {
  position: absolute;
  top: calc(64% - 15px);
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #0c192c;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(12, 25, 44, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 10;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sports-nav-btn:hover {
  background: #d92534;
  color: #ffffff;
  border-color: #d92534;
  box-shadow: 0 10px 24px rgba(217, 37, 52, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.sports-prev {
  left: -22px;
}

.sports-next {
  right: -22px;
}

/* Carousel Pagination Dots */
.sports-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 1rem;
}

.sports-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  opacity: 1;
  border-radius: 50%;
  margin: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sports-pagination .swiper-pagination-bullet-active {
  width: 32px;
  border-radius: 8px;
  background: #d92534;
}

/* Responsive adjustments */
@media (max-width: 1399.98px) {
  .sports-prev {
    left: -12px;
  }
  .sports-next {
    right: -12px;
  }
}

@media (max-width: 991.98px) {
  .sports-spec-section {
    padding: 4rem 0 3.5rem;
  }

  .sports-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.95);
  }

  .sports-prev {
    left: 4px;
  }

  .sports-next {
    right: 4px;
  }
}

@media (max-width: 575.98px) {
  .sports-spec-card {
    min-height: 490px;
  }

  .sports-spec-photo-wrap {
    height: 175px;
    min-height: 175px;
    max-height: 175px;
  }
}


.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic, .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    display: none !important;
}