.homepage-top-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  gap: 30px;
}

.homepage-sidebar {
  width: 500px;
  flex-shrink: 0;
}

.homepage-sidebar .section-inner {
  padding: 0;
}

.homepage-sidebar .cat-grid {
  flex-direction: column;
  gap: 12px;
}

.homepage-sidebar .cat-card {
  flex: none;
  padding: 18px 20px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.homepage-sidebar .cat-num {
  display: none;
}

.homepage-sidebar .cat-name {
  margin-bottom: 0;
  font-size: 15px;
}

.homepage-sidebar .cat-count {
  margin-top: 0;
  padding-top: 0;
}

.homepage-hero-area {
  flex-grow: 1;
  min-width: 0;
}

.homepage-top-section {
  background: var(--w-bg);
  width: 100%;
  padding: 40px 0;
  margin-bottom: 40px;
}

.homepage-hero-area .hero {
  border-radius: 8px;
  border: 1px solid var(--w-border);
}

.hero {
  background: var(--w-text-3);
  position: relative;
  overflow: hidden;
}

.hero-carousel .carousel-container {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.hero-carousel .carousel-track {
  height: 325px;
}

.hero-carousel .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1.8s ease,
    visibility 0s 1.8s;
  display: flex;
  align-items: center;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .hero-carousel .carousel-slide {
    background-image: var(--slide-bg-mobile);
  }
}

.hero-carousel .carousel-slide::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--w-text);
  z-index: 1;
}

.hero-carousel .carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 1.8s ease,
    visibility 0s 0s;
  z-index: 2;
}

.slide-link-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
}

.hero-carousel .hero-content {
  max-width: 1200px;
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-carousel .carousel-overlay-box {
  background: var(--w-text);
  backdrop-filter: blur(8px);
  padding: 40px;
  max-width: 540px;
  border-left: 4px solid var(--w-accent);
  color: #fff;
  animation: slideInLeft 1s ease forwards;
}

.hero-carousel .carousel-overlay-box h2 {
  color: #fff;
  font-size: 38px;
  margin-bottom: 15px;
}

.hero-carousel .carousel-overlay-box p {
  color: var(--w-bg);
  font-size: 15px;
  margin-bottom: 24px;
}

.hero-carousel .hero-btns {
  margin-bottom: 0;
}

.btn-outline.white {
  color: #fff;
  border-color: #fff;
}

.btn-outline.white:hover {
  background: #fff;
  color: var(--w-text);
}

.hero-carousel .carousel-nav {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  z-index: 10;
  padding: 15px;
}

.hero-carousel .carousel-dots {
  display: flex;
  gap: 10px;
}

.hero-carousel .carousel-dot {
  width: 10px;
  height: 10px;
  border: 2px solid var(--w-border-2);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-carousel .carousel-dot.is-active {
  background: var(--w-accent);
  border-color: var(--w-accent);
  width: 24px;
  border-radius: 10px;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


@media (max-width: 992px) {
  .hero-carousel .carousel-track {
    height: 380px;
  }

  .hero-carousel .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .hero-carousel .carousel-overlay-box {
    margin: 0 auto;
    padding: 30px;
    max-width: 100%;
  }

  .hero-carousel .carousel-overlay-box h2 {
    font-size: 32px;
  }

  .hero-carousel .carousel-visual {
    height: 240px;
  }

  .hero-carousel .carousel-nav {
    left: 50%;
    transform: translateX(-50%);
  }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--w-bg);
  margin-bottom: 16px;
}

.hero h2 {
  font-size: 46px;
  font-weight: 600;
  color: var(--w-text);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1.2px;
}

.hero p {
  font-size: 16px;
  color: var(--w-text-2);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 12px;
}

.btn-primary,
.btn-primary:visited {
  background: var(--w-accent);
  color: #fff;
  padding: 13px 26px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.btn-primary:active,
.btn-primary:hover,
.btn-primary:focus {
  background: var(--w-accent);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--w-text);
  padding: 12px 26px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  border: 2px solid var(--w-text);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.btn-outline:hover {
  background: var(--w-text);
  color: #fff;
}

.hero-visual {
  background: #fff;
  border: 1px solid var(--w-border);
  border-radius: 6px;
  padding: 28px;
  min-height: 280px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: center;
}

.hero-stat {
  border-left: 3px solid var(--w-text);
  padding: 6px 0 6px 14px;
}

.hero-stat-num {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--w-text);
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px;
  color: var(--w-text-3);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 6px;
  font-family: "IBM Plex Mono", monospace;
}

.section-inner {
  max-width: 1200px;
  margin-bottom: 40px;
  padding: 0 20px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--w-text);
}

.section-heading-row h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--w-text);
  letter-spacing: -0.3px;
}

.section-heading-row .view-all {
  font-size: 12px;
  font-weight: 500;
  color: var(--w-text-2);
  text-decoration: none;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-heading-row .view-all:hover {
  color: var(--w-text);
}

.cat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.cat-card {
  flex: 1 1 0;
  background: var(--w-bg);
  border: 1px solid var(--w-border);
  padding: 24px 22px;
  cursor: pointer;
  transition:
    border-color 0.15s,
    transform 0.15s;
  display: flex;
  flex-direction: column;
}

.cat-card:hover {
  border-color: var(--w-text);
  transform: translateY(-2px);
}

.cat-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--w-text-3);
  margin-bottom: 14px;
  letter-spacing: 1.5px;
}

.cat-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--w-text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.cat-count {
  font-size: 12px;
  color: var(--w-text-3);
  margin-top: auto;
  padding-top: 16px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}


.store-strip {
  background: var(--w-text);
  color: #fff;
  padding: 36px 24px;
}

.store-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.store-strip-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.store-strip-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.store-strip-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.store-strip-desc {
  font-size: 12px;
  color: #a8a39a;
  line-height: 1.5;
}

.homepage-intro-section {
  display: flex;
  flex-direction: column;
}

.homepage-intro-heading {
  font-size: 42px;
  font-weight: 600;
  color: var(--w-text);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1.2px;
  margin-top: 0;
}

.homepage-intro-text {
  font-size: 13px;
  color: var(--w-text-2);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.6;
  margin-top: 0;
}

.homepage-brand-color {
  color: var(--w-accent);
}


@media (max-width: 992px) {
  .homepage-top-wrapper {
    flex-direction: column;
  }

  .homepage-sidebar {
    width: 100%;
  }

  .homepage-sidebar .cat-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-visual {
    min-height: auto;
  }

  .cat-card {
    flex: 0 0 calc(50% - 7px);
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .store-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .section-inner {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .hero-carousel .carousel-track {
    height: 360px;
  }

  .hero-carousel .carousel-overlay-box h2 {
    font-size: 28px;
  }

  .hero-carousel .carousel-overlay-box p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .hero h2 {
    font-size: 34px;
  }

  .section-inner {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 20px;
  }

  .hero-carousel .carousel-track {
    height: 265px;
  }

  .hero-carousel .carousel-overlay-box {
    padding: 24px 20px;
    border-left-width: 3px;
  }

  .hero-carousel .carousel-overlay-box h2 {
    font-size: 24px;
    margin-bottom: 10px;
    line-height: 1.2;
  }  

  .homepage-intro-heading {
    font-size: 32px;
  }

  .homepage-intro-text {
    font-size: 12px;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  .hero h2 {
    font-size: 28px;
  }

  .cat-card {
    flex: 0 0 100%;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .store-strip-inner {
    grid-template-columns: 1fr;
  }

  .homepage-top-section {
    padding: 20px 0;
    margin-bottom: 20px;
  }
}
