/**
 * Enerbion - Home Page Stylesheet
 * Single Source of Truth: Figma Nodes 123:4941 (Desktop) & 116:3753 (Mobile)
 * Enhanced for full-bleed wide screen responsiveness (1440px, 1920px, 4K)
 */

/* ==========================================================================
   GLOBAL PAGE CONTAINER & HEADER OVERLAY
   ========================================================================== */
body {
  background-color: var(--color-white);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.is-sticky {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.main-nav-bar {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.main-nav-bar-line {
  width: 100%;
  height: 8px;
  background: var(--color-blue-sky-gradient);
  flex-shrink: 0;
}

.main-nav-bar-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: 100px;
  padding: 0 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.main-nav-bar-brand img {
  width: 248px;
  height: 56px;
  display: block;
}

.main-nav-bar-items {
  display: flex;
  align-items: center;
}

.main-nav-bar-menu-btn {
  display: none;
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .main-nav-bar-container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 1024px) {
  .main-nav-bar {
    width: 100%;
    max-width: 100%;
    background-color: transparent;
  }

  .main-nav-bar.state-default {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    box-shadow: none;
  }

  .main-nav-bar.state-scroll {
    background-color: #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  }

  .main-nav-bar-line {
    height: 6px;
  }

  .main-nav-bar-container {
    height: 80px;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 24px 24px;
    box-sizing: border-box;
  }

  .main-nav-bar-brand img {
    width: 144px;
    height: 32px;
  }

  .main-nav-bar-items {
    display: none;
  }

  .main-nav-bar-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .main-nav-bar-menu-btn img {
    filter: brightness(0) invert(1);
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 767px) {
  .main-nav-bar-container {
    max-width: 100%;
    padding: 24px 16px;
  }
}

/* ==========================================================================
   SECTION 1: HERO SECTION
   Full Bleed on Wide Screens with 1440px Centered Content
   Mobile: 390px Canvas, Aspect 90/160 + Content Box
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-neutral-800);
}

.hero-media-box,
.hero-media-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 960;
  height: auto;
  overflow: hidden;
}

.hero-slides-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms ease, visibility 600ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1440 / 960;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Hero Center Overlay Arrows (Desktop: 1200px width container, White Icon) */
.hero-arrows-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  max-width: calc(100% - 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 15;
  pointer-events: none;
  box-sizing: border-box;
}

.hero-nav-arrow {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 200ms ease, background-color var(--transition-fast), border-color var(--transition-fast);
}

.hero-nav-arrow img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* Pure white chevron icons */
}

/* Hero Content Box (Desktop Overlay) */
.hero-content-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 30%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 20;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content-box.is-content-hidden {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 100%);
  padding-bottom: 32px;
}

/* 5 Pagination Pills (Per Figma Node 101:1021 & 101:1022 - Centered Above Content) */
.hero-pagination-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  pointer-events: auto;
  z-index: 22;
  width: 100%;
  margin-bottom: 0;
  padding-top: 24px;
}

.hero-pagination-bar .pagination-pill {
  width: 32px;
  height: 4px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.5) !important;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  flex-shrink: 0;
}

.hero-pagination-bar .pagination-pill.is-active {
  background-color: rgba(255, 255, 255, 0.5) !important;
}

.hero-pagination-bar .pagination-pill-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--color-green-600-base, #80b930) !important;
  border-radius: inherit;
  pointer-events: none;
}

@keyframes heroPillProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.hero-content-inner,
.hero-content-row {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 120px 60px 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  box-sizing: border-box;
  pointer-events: auto;
}

.hero-text-block {
  width: 582px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.hero-title {
  font-family: var(--font-family-primary);
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  color: var(--color-white);
  margin: 0;
}

.hero-desc {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-300);
  margin: 0;
}

.hero-cta-btn {
  min-width: 160px;
  height: 56px;
  padding: 16px 20px;
  background-color: var(--color-green-600-base);
  color: var(--color-white);
  font-family: var(--font-family-primary);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0px 2px 4px rgba(128, 185, 48, 0.36);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transform: scale(1);
  transition: transform 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
  will-change: transform;
}

.hero-cta-btn:hover {
  background-color: var(--color-green-700);
  transform: scale(1.04);
}

.hero-cta-btn:active {
  transform: scale(0.98);
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .hero-content-inner,
  .hero-content-row {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero-arrows-container {
    max-width: calc(100% - 80px);
  }
}

/* Hero Mobile & Tablet Layout (Figma Node 116:4017) */
@media (max-width: 1024px) {
  .hero-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background-color: var(--color-neutral-800);
    overflow: visible;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
  }

  .hero-media-box,
  .hero-media-container {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 90 / 160;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    background-color: #616161;
  }

  .hero-arrows-container {
    position: absolute;
    width: 100%;
    max-width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 16px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    z-index: 20;
  }

  .hero-nav-arrow,
  .hero-nav-arrow.btn-icon {
    width: 48px;
    height: 48px;
    padding: 12px;
  }

  .hero-pagination-bar {
    position: absolute;
    top: -24px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: auto;
    padding: 0;
    gap: 8px;
    z-index: 25;
    display: flex;
    justify-content: center;
    margin: 0;
  }

  .hero-pagination-bar .pagination-pill {
    width: 24px;
    height: 4px;
  }

  /* Content box below image (Node 116:3993) - fill container */
  .hero-content-box {
    position: relative;
    inset: auto;
    width: 100%;
    background: var(--color-neutral-800);
    background-image: none;
    z-index: 10;
    pointer-events: auto;
    display: block;
  }

  .hero-content-box.is-content-hidden {
    padding-bottom: 0;
    background: transparent;
  }

  .hero-slide-img {
    aspect-ratio: 90 / 160;
  }

  .hero-content-inner,
  .hero-content-row {
    position: static;
    background: transparent;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 32px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  @media (max-width: 767px) {
    .hero-content-inner,
    .hero-content-row {
      max-width: 100%;
      padding: 32px 16px;
    }
  }

  .hero-text-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .hero-title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: var(--color-white);
  }

  .hero-desc {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: var(--color-neutral-100, #e9e9e9);
  }

  .hero-cta-btn {
    width: 100%;
    height: 56px;
    box-sizing: border-box;
  }
}

/* ==========================================================================
   MAIN CONTENT SECTIONS GROUP (Figma Node 101:1043)
   Desktop: padding 60px 0, Gap 0
   Mobile: padding 30px 0
   ========================================================================== */
.home-main-sections {
  width: 100%;
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--color-white);
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .home-main-sections {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

/* ==========================================================================
   SECTION 2: ABOUT US ("GET TO KNOW ENERBION")
   Full width background, 1440px Centered Container
   Desktop: padding 60px 120px, Inner padding 0 103px, gap 139px
   ========================================================================== */
.about-section {
  width: 100%;
  background-color: var(--color-white);
  box-sizing: border-box;
}

.about-outer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 120px;
  box-sizing: border-box;
  width: 100%;
}

.about-inner-container {
  width: 100%;
  padding: 0 103px;
  display: flex;
  gap: 139px;
  align-items: center;
  box-sizing: border-box;
}

.about-image-wrapper {
  width: 376px;
  height: 564px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background-color: #9f9f9f;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-content-block {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
}

.about-text-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.about-heading-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.about-eyebrow {
  font-family: var(--font-family-sub);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 2.56px;
  text-transform: uppercase;
  color: var(--color-green-600-base);
  margin: 0;
}

.about-title {
  font-family: var(--font-family-primary);
  font-weight: 700;
  font-size: 36px;
  line-height: 56px;
  color: var(--color-neutral-800);
  margin: 0;
}

.about-desc {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-600);
  margin: 0;
}

.about-btn {
  min-width: 160px;
  height: 56px;
  padding: 16px 20px;
  background-color: var(--color-green-600-base);
  color: var(--color-white);
  font-family: var(--font-family-primary);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0px 2px 4px rgba(128, 185, 48, 0.36);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: background-color var(--transition-fast);
}

.about-btn:hover {
  background-color: var(--color-green-700);
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .about-outer-container {
    padding: 60px 40px;
  }
  .about-inner-container {
    padding: 0;
    gap: 60px;
  }
}

@media (max-width: 1024px) {
  .about-outer-container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 24px;
    box-sizing: border-box;
  }

  .about-inner-container {
    padding: 0;
    flex-direction: column;
    gap: 32px;
  }

  .about-image-wrapper {
    display: none;
  }

  .about-content-block {
    gap: 32px;
    width: 100%;
  }

  .about-text-group {
    gap: 16px;
  }

  .about-eyebrow {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1.68px;
  }

  .about-title {
    font-size: 28px;
    line-height: 40px;
  }

  .about-desc {
    font-size: 14px;
    line-height: 20px;
  }

  .about-btn {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 767px) {
  .about-outer-container {
    max-width: 100%;
    padding: 30px 16px;
  }
}

/* ==========================================================================
   SECTION 3: CORPORATE DIRECTION ("The Purpose Behind the Power")
   Full width background, 1440px Centered Container
   Desktop: padding 60px 120px, gap 60px, Two 582px Cards
   ========================================================================== */
.corporate-section {
  width: 100%;
  background-color: var(--color-white);
  box-sizing: border-box;
}

.corporate-outer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 120px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  box-sizing: border-box;
  width: 100%;
}

.corporate-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  width: 100%;
}

.corporate-eyebrow {
  font-family: var(--font-family-sub);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 2.56px;
  text-transform: uppercase;
  color: var(--color-green-600-base);
  margin: 0;
}

.corporate-title {
  font-family: var(--font-family-primary);
  font-weight: 700;
  font-size: 36px;
  line-height: 56px;
  color: var(--color-neutral-800);
  margin: 0;
}

.corporate-cards-container {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.corporate-card-desktop {
  flex: 1 1 0%;
  max-width: 582px;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.corporate-card-desktop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.corporate-card-desktop-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px;
  background: linear-gradient(180deg, rgba(38, 38, 38, 0) 0%, var(--color-neutral-800) 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.corporate-card-heading {
  font-family: var(--font-family-primary);
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  color: var(--color-white);
  margin: 0;
}

.corporate-card-desc {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-200);
  margin: 0;
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .corporate-outer-container {
    padding: 60px 40px;
  }
  .corporate-cards-container {
    gap: 24px;
    width: 100%;
  }
  .corporate-card-desktop {
    flex: 1 1 0%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .corporate-card-desktop-content {
    padding: 24px;
    gap: 12px;
  }
  .corporate-card-heading {
    font-size: 20px;
    line-height: 28px;
  }
  .corporate-card-desc {
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width: 1024px) {
  .corporate-outer-container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 24px;
    gap: 32px;
    box-sizing: border-box;
  }

  .corporate-header {
    text-align: left;
  }

  .corporate-eyebrow {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1.68px;
  }

  .corporate-title {
    font-size: 28px;
    line-height: 40px;
  }

  .corporate-cards-container {
    flex-direction: column;
    gap: 24px;
    width: 100%;
    align-items: center;
  }

  .corporate-card-desktop {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    background-color: var(--color-neutral-800);
    border-radius: var(--radius-md);
    overflow: hidden;
  }

  .corporate-card-mobile-media {
    width: 100%;
    aspect-ratio: 300 / 200;
    position: relative;
    overflow: hidden;
  }

  .corporate-card-mobile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .corporate-card-mobile-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(38, 38, 38, 0) 50.19%, var(--color-neutral-800) 100%);
    pointer-events: none;
  }

  .corporate-card-desktop-content {
    position: static;
    padding: 24px;
    gap: 8px;
    background: var(--color-neutral-800);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .corporate-card-heading {
    font-size: 20px;
    line-height: 28px;
  }

  .corporate-card-desc {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-neutral-300);
  }
}

@media (max-width: 767px) {
  .corporate-outer-container {
    max-width: 100%;
    padding: 30px 16px;
  }
}

/* ==========================================================================
   SECTION 4: PRODUCT CATEGORIES ("BUILT FOR EVERY NEED")
   Full Bleed Carousel track aligning with 1200px Content Grid
   6 Category Cards with Unique Real Specifications
   ========================================================================== */
.category-section {
  width: 100%;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
  background-color: var(--color-white);
  box-sizing: border-box;
}

.category-header-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  gap: 36px;
  align-items: center;
  box-sizing: border-box;
}

.category-header-left {
  width: 582px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-eyebrow {
  font-family: var(--font-family-sub);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 2.56px;
  text-transform: uppercase;
  color: var(--color-green-600-base);
  margin: 0;
}

.category-title {
  font-family: var(--font-family-primary);
  font-weight: 700;
  font-size: 36px;
  line-height: 56px;
  color: var(--color-neutral-800);
  margin: 0;
}

.category-header-right {
  width: 582px;
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-600);
  margin: 0;
}

/* Carousel Outer Wrapper */
.category-carousel-outer {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.category-fade-left,
.category-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  pointer-events: none;
}

.category-fade-left {
  left: 0;
  width: calc((100% - 1200px) / 2 + 60px);
  min-width: 120px;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0) 100%);
}

.category-fade-right {
  right: 0;
  width: calc((100% - 1200px) / 2 + 60px);
  min-width: 120px;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0) 100%);
}

.category-cards-track {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  box-sizing: border-box;
  padding-left: calc((100% - 1200px) / 2);
  padding-right: calc((100% - 1200px) / 2);
}

.category-cards-track::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1440px) {
  .category-cards-track {
    padding-left: 120px;
    padding-right: 120px;
  }
  .category-fade-left,
  .category-fade-right {
    width: 120px;
  }
}

/* Category Card Structure (376px) */
.product-category-card {
  width: 376px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.category-card-terminals {
  display: flex;
  gap: 170px;
  justify-content: center;
  padding: 0 56px;
  height: 16px;
  width: 100%;
  box-sizing: border-box;
}

.category-card-terminal {
  width: 32px;
  height: 16px;
  background-color: var(--color-green-50, #f2f9e8);
  clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.category-card-body-row {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.category-card-side-ear {
  width: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.category-card-ear-top {
  width: 16px;
  height: 32px;
  background-color: var(--color-green-50, #f2f9e8);
}

.category-card-side-ear.is-left .category-card-ear-top {
  border-top-left-radius: 4px;
}

.category-card-side-ear.is-right .category-card-ear-top {
  border-top-right-radius: 4px;
}

.category-card-ear-bottom-group {
  display: flex;
  flex-direction: column;
  width: 16px;
}

.category-card-notch-svg {
  width: 16px;
  height: 8px;
  display: block;
}

.category-card-ear-bottom {
  width: 16px;
  height: 32px;
  background-color: var(--color-green-50, #f2f9e8);
}

.category-card-side-ear.is-left .category-card-ear-bottom {
  border-bottom-left-radius: 4px;
}

.category-card-side-ear.is-right .category-card-ear-bottom {
  border-bottom-right-radius: 4px;
}

.category-card-center-content {
  background-color: var(--color-green-50, #f2f9e8);
  width: 344px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  border-radius: 4px;
  box-sizing: border-box;
}

.category-card-img-box {
  width: 280px;
  height: 280px;
  overflow: hidden;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.category-card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-card-info-box {
  min-height: 504px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}

.category-card-name-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.category-card-main-title {
  font-family: var(--font-family-primary);
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  color: var(--color-neutral-800);
  margin: 0;
}

.category-card-tagline {
  font-family: var(--font-family-primary);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  background: var(--color-blue-sky-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  margin: 0;
}

.category-card-description {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-600);
  margin: 0;
}

.category-card-usp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.category-card-usp-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  width: 100%;
}

.category-card-usp-item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.category-card-usp-text {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-600);
  margin: 0;
  flex: 1 1 0%;
}

.category-card-action-btn {
  width: 100%;
  min-width: 160px;
  height: 56px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-green-600-base);
  background-color: var(--color-white);
  color: var(--color-green-600-base);
  font-family: var(--font-family-primary);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transform: scale(1);
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  will-change: transform;
}

.category-card-action-btn:hover {
  background-color: var(--color-green-600-base);
  color: var(--color-white);
  transform: scale(1.04);
}

.category-card-action-btn:active {
  transform: scale(0.98);
}

/* Category Controls (Desktop Scrollbar & Stepper) */
.category-scrollbar-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  box-sizing: border-box;
  margin-top: -24px;
}

.category-scrollbar-track {
  width: 100%;
  max-width: 1200px;
  height: 4px;
  background-color: var(--color-neutral-100);
  position: relative;
  overflow: hidden;
}

.category-scrollbar-thumb {
  width: 200px;
  height: 4px;
  background-color: var(--color-green-600-base);
  position: absolute;
  left: 0;
  top: 0;
  transition: transform 100ms ease-out;
}

.category-stepper-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

@media (min-width: 1025px) {
  .category-scrollbar-container.is-conditionally-hidden-desktop,
  .category-stepper-container.is-conditionally-hidden-desktop {
    display: none !important;
  }
}

.category-stepper-btn {
  width: 56px;
  height: 56px;
  padding: 16px;
  border: 1px solid var(--color-neutral-800);
  border-radius: var(--radius-sm);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.category-stepper-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.category-stepper-btn img {
  width: 24px;
  height: 24px;
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .category-header-container,
  .category-scrollbar-container,
  .category-stepper-container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .category-cards-track {
    padding-left: 40px;
    padding-right: 40px;
  }

  .category-fade-left,
  .category-fade-right {
    width: 40px;
    min-width: 40px;
  }

  .category-mobile-pills {
    display: none;
  }
}

@media (max-width: 1024px) {
  .category-section {
    padding: 30px 0;
    gap: 32px;
    width: 100%;
    overflow: hidden;
  }

  .category-header-container {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    box-sizing: border-box;
  }

  .category-header-left,
  .category-header-right {
    width: 100%;
  }

  .category-eyebrow {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1.68px;
  }

  .category-title {
    font-size: 28px;
    line-height: 40px;
  }

  .category-header-right {
    font-size: 14px;
    line-height: 20px;
  }

  .category-fade-left,
  .category-fade-right {
    display: none;
  }

  .category-cards-viewport {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
  }

  .category-cards-track {
    display: flex;
    gap: 0;
    padding: 0;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .category-cards-track::-webkit-scrollbar {
    display: none;
  }

  .product-category-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 0 24px;
    margin: 0;
  }

  .category-card-terminals {
    width: 326px;
    justify-content: space-between;
    display: flex;
  }

  .category-card-body-row {
    width: 358px;
    display: flex;
    align-items: stretch;
    justify-content: center;
  }

  .category-card-side-ear {
    width: 16px;
    flex-shrink: 0;
  }

  .category-card-center-content {
    width: 326px;
    flex-shrink: 0;
    padding: 24px;
    gap: 24px;
  }

  .category-card-img-box {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .category-card-info-box {
    min-height: auto;
    gap: 16px;
  }

  .category-card-main-title {
    font-size: 20px;
    line-height: 28px;
  }

  .category-card-tagline {
    font-size: 14px;
    line-height: 20px;
  }

  .category-card-description {
    font-size: 14px;
    line-height: 20px;
  }

  .category-card-usp-item img {
    width: 20px;
    height: 20px;
  }

  .category-card-usp-text {
    font-size: 14px;
    line-height: 20px;
  }

  .category-scrollbar-container {
    display: none;
  }

  .category-stepper-container {
    display: flex;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
  }

  .category-stepper-btn {
    width: 48px;
    height: 48px;
    padding: 12px;
  }

  .category-mobile-pills {
    display: flex;
    gap: 6px;
    align-items: center;
  }

  .category-mobile-pill {
    width: 18px;
    height: 4px;
    border-radius: 99px;
    background-color: rgba(38, 38, 38, 0.4);
    transition: background-color var(--transition-fast), width var(--transition-fast);
    cursor: pointer;
  }

  .category-mobile-pill.is-active {
    background-color: var(--color-green-600-base);
    width: 26px;
  }
}

@media (max-width: 767px) {
  .category-header-container {
    max-width: 100%;
    padding: 0 16px;
  }

  .category-cards-viewport {
    max-width: 100%;
  }

  .product-category-card {
    padding: 0 16px;
  }

  .category-stepper-container {
    max-width: 100%;
    padding: 0 16px;
  }
}
