/* ==========================================================================
   Homepage sections
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section header (shared)
   -------------------------------------------------------------------------- */
.qt-section__header {
  text-align: center;
  margin-bottom: var(--qt-space-10);
}

.qt-section__subtitle {
  font-size: var(--qt-text-lg);
  color: var(--qt-color-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Hero banner — full-bleed slider
   -------------------------------------------------------------------------- */
.qt-hero {
  position: relative;
  overflow: hidden;
  background: var(--qt-color-dark);
}

/* Slides */
.qt-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.qt-hero__slide--active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.qt-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.qt-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease-out;
}

.qt-hero__slide--active .qt-hero__bg img {
  transform: scale(1.04);
}

.qt-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.1) 100%
  ) !important;
  opacity: 1 !important;
}

/* Inner layout */
.qt-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 520px;
  padding-top: var(--qt-space-16);
  padding-bottom: var(--qt-space-20);
}

@media (min-width: 768px) {
  .qt-hero__inner {
    min-height: 600px;
  }
}

@media (min-width: 1024px) {
  .qt-hero__inner {
    min-height: 660px;
  }
}

/* Content — left side */
.qt-hero__content {
  max-width: 640px;
}

/* Eyebrow */
.qt-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--qt-space-2);
  font-family: var(--qt-font-heading);
  font-size: var(--qt-text-sm);
  font-weight: var(--qt-weight-bold);
  color: var(--qt-color-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--qt-space-4);
  position: relative;
  padding-left: var(--qt-space-8);
}

.qt-hero__eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 2px;
  background: var(--qt-color-primary);
  transform: translateY(-50%);
}

/* Headline */
.qt-hero__headline {
  font-size: 2.5rem;
  font-weight: var(--qt-weight-black);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: var(--qt-space-5);
  line-height: 1.05;
}

@media (min-width: 768px) {
  .qt-hero__headline {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .qt-hero__headline {
    font-size: 4rem;
  }
}

/* Body text */
.qt-hero__body {
  font-size: var(--qt-text-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--qt-space-8);
  line-height: 1.7;
  max-width: 500px;
}

/* CTA */
.qt-hero__cta {
  display: flex;
  gap: var(--qt-space-4);
}

.qt-btn--hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.qt-btn--hero-outline:hover {
  background: #fff;
  color: var(--qt-color-dark);
  border-color: #fff;
}

/* --------------------------------------------------------------------------
   Hero controls — arrows, progress, counter
   -------------------------------------------------------------------------- */
.qt-hero__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding-bottom: var(--qt-space-6);
}

.qt-hero__controls-inner {
  display: flex;
  align-items: center;
  gap: var(--qt-space-6);
}

/* Arrows */
.qt-hero__nav-arrows {
  display: flex;
  gap: var(--qt-space-2);
}

.qt-hero__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: all var(--qt-transition);
  padding: 0;
  backdrop-filter: blur(4px);
}

.qt-hero__arrow:hover {
  background: var(--qt-color-primary);
  border-color: var(--qt-color-primary);
}

.qt-hero__arrow--prev {
  transform: rotate(180deg);
}

/* Progress dots with animated fill bar */
.qt-hero__progress {
  display: flex;
  gap: var(--qt-space-2);
  flex: 1;
  max-width: 200px;
}

.qt-hero__progress-dot {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.qt-hero__progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--qt-color-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.qt-hero__progress-dot--active .qt-hero__progress-bar {
  animation: qt-hero-progress 6s linear forwards;
}

@keyframes qt-hero-progress {
  from { width: 0; }
  to { width: 100%; }
}

/* Counter */
.qt-hero__counter {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--qt-font-heading);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--qt-text-sm);
}

.qt-hero__counter-current {
  font-size: var(--qt-text-2xl);
  font-weight: var(--qt-weight-black);
  color: #fff;
}

.qt-hero__counter-sep {
  margin: 0 4px;
}

/* --------------------------------------------------------------------------
   Category section decorative accent
   -------------------------------------------------------------------------- */
.qt-categories {
  position: relative;
  background-color: var(--qt-color-surface);
  overflow: hidden;
}

.qt-categories::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -80px;
  width: 500px;
  height: 130%;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='900' viewBox='0 0 500 900' fill='none'%3E%3Cpath d='M450 0 C420 60 350 100 280 150 C210 200 180 250 220 330 C260 410 350 400 380 470 C410 540 340 580 270 620 C200 660 150 720 180 800 C195 840 230 880 280 900' stroke='%23CC0000' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M460 0 C430 55 365 95 300 140 C235 185 210 240 245 315 C280 390 365 385 390 450 C415 515 350 560 285 600 C220 640 175 700 200 775 C215 815 245 860 290 900' stroke='%23CC0000' stroke-width='3.5' stroke-linecap='round'/%3E%3Cpath d='M280 150 C320 130 380 90 420 50' stroke='%23CC0000' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M220 330 C170 350 110 330 60 280' stroke='%23CC0000' stroke-width='3.5' stroke-linecap='round'/%3E%3Cpath d='M380 470 C420 480 460 510 490 560' stroke='%23CC0000' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M270 620 C230 640 170 630 120 590' stroke='%23CC0000' stroke-width='2.5' stroke-linecap='round'/%3E%3Crect x='260' y='143' width='42' height='20' rx='3' stroke='%23CC0000' stroke-width='2' fill='none' transform='rotate(-25 281 153)'/%3E%3Crect x='360' y='460' width='42' height='20' rx='3' stroke='%23CC0000' stroke-width='2' fill='none' transform='rotate(15 381 470)'/%3E%3Ccircle cx='280' cy='150' r='6' fill='%23CC0000'/%3E%3Ccircle cx='220' cy='330' r='6' fill='%23CC0000'/%3E%3Ccircle cx='380' cy='470' r='6' fill='%23CC0000'/%3E%3Ccircle cx='270' cy='620' r='6' fill='%23CC0000'/%3E%3Ccircle cx='60' cy='280' r='4' fill='%23CC0000'/%3E%3Ccircle cx='420' cy='50' r='4' fill='%23CC0000'/%3E%3Ccircle cx='490' cy='560' r='4' fill='%23CC0000'/%3E%3Ccircle cx='120' cy='590' r='4' fill='%23CC0000'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.qt-categories > .qt-container {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Category grid — image overlay cards
   -------------------------------------------------------------------------- */
.qt-categories__grid {
  display: grid;
  gap: var(--qt-space-2);
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .qt-categories__grid {
    gap: var(--qt-space-4);
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .qt-categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .qt-categories__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.qt-cat-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 0;
  border-radius: var(--qt-radius);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: var(--qt-color-dark);
}

@media (min-width: 480px) {
  .qt-cat-card {
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    min-height: 280px;
    border-radius: var(--qt-radius-md);
  }
}

@media (min-width: 768px) {
  .qt-cat-card {
    min-height: 320px;
  }
}

/* Background image */
.qt-cat-card__bg {
  position: relative;
  width: 90px;
  min-height: 80px;
  flex-shrink: 0;
  z-index: 0;
}

@media (min-width: 480px) {
  .qt-cat-card__bg {
    position: absolute;
    inset: 0;
    width: auto;
    min-height: 0;
    flex-shrink: initial;
  }
}

.qt-cat-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.qt-cat-card:hover .qt-cat-card__bg img {
  transform: scale(1.08);
}

/* Gradient overlay — hidden on mobile horizontal layout */
.qt-cat-card__overlay {
  display: none;
}

@media (min-width: 480px) {
  .qt-cat-card__overlay {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.1) 100%
    );
    transition: background 0.4s ease;
  }
}

.qt-cat-card:hover .qt-cat-card__overlay {
  background: linear-gradient(
    to top,
    rgba(204, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

/* Content */
.qt-cat-card__content {
  position: relative;
  z-index: 2;
  padding: var(--qt-space-3) var(--qt-space-4);
  flex: 1;
  min-width: 0;
}

@media (min-width: 480px) {
  .qt-cat-card__content {
    padding: var(--qt-space-5);
    flex: initial;
  }
}

.qt-cat-card__count {
  display: none;
}

@media (min-width: 480px) {
  .qt-cat-card__count {
    display: inline-block;
    font-family: var(--qt-font-heading);
    font-size: 0.625rem;
    font-weight: var(--qt-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 10px;
    border-radius: var(--qt-radius-full);
    margin-bottom: var(--qt-space-2);
  }
}

.qt-cat-card__name {
  font-family: var(--qt-font-heading);
  font-size: var(--qt-text-base);
  font-weight: var(--qt-weight-bold);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.2;
}

@media (min-width: 480px) {
  .qt-cat-card__name {
    font-size: var(--qt-text-xl);
    font-weight: var(--qt-weight-extrabold);
    margin: 0 0 var(--qt-space-1);
    line-height: 1.15;
  }
}

.qt-cat-card__subs {
  display: none;
}

@media (min-width: 480px) {
  .qt-cat-card__subs {
    display: block;
    font-size: var(--qt-text-xs);
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 var(--qt-space-3);
    line-height: 1.4;
  }
}

.qt-cat-card__cta {
  display: none;
}

@media (min-width: 480px) {
  .qt-cat-card__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--qt-space-2);
    font-family: var(--qt-font-heading);
    font-size: var(--qt-text-xs);
    font-weight: var(--qt-weight-bold);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, gap 0.2s ease;
  }
}

.qt-cat-card:hover .qt-cat-card__cta {
  opacity: 1;
  transform: translateY(0);
}

.qt-cat-card__mobile-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--qt-space-1);
  font-family: var(--qt-font-heading);
  font-size: var(--qt-text-xs);
  font-weight: var(--qt-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  margin-left: auto;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .qt-cat-card__mobile-cta {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Product Tabs — tabbed category carousel
   -------------------------------------------------------------------------- */
.qt-product-tabs {
  background-color: var(--qt-color-dark);
  color: #fff;
}

.qt-product-tabs .qt-section__title {
  color: #fff;
}

.qt-product-tabs .qt-section__subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.qt-product-tabs .qt-product-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.qt-product-tabs .qt-product-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.qt-product-tabs .qt-product-card__img-wrap {
  background: #fff;
  aspect-ratio: 4 / 3;
  padding: 0;
}

.qt-product-tabs .qt-product-card__info {
  padding: var(--qt-space-3) var(--qt-space-4);
}

.qt-product-tabs .qt-product-card__name {
  color: #fff;
  font-size: var(--qt-text-base);
}

.qt-product-tabs .qt-product-card__sku {
  color: rgba(255, 255, 255, 0.5);
}

.qt-product-tabs .qt-product-card__view {
  color: rgba(255, 255, 255, 0.6);
}

.qt-product-tabs .qt-tabs__panel-footer .qt-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.qt-product-tabs .qt-tabs__panel-footer .qt-btn:hover {
  border-color: var(--qt-color-primary);
  color: var(--qt-color-primary);
}

.qt-product-tabs .qt-tabs__btn {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.25);
}

.qt-product-tabs .qt-tabs__btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.qt-product-tabs .qt-tabs__carousel-btn {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.qt-tabs__nav {
  display: flex;
  gap: var(--qt-space-2);
  margin-bottom: var(--qt-space-8);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--qt-space-2);
}

.qt-tabs__nav::-webkit-scrollbar {
  display: none;
}

@media (min-width: 480px) {
  .qt-tabs__nav {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }
}

.qt-tabs__btn {
  padding: var(--qt-space-2) var(--qt-space-4);
  font-family: var(--qt-font-heading);
  font-size: var(--qt-text-xs);
  font-weight: var(--qt-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--qt-color-muted);
  background: none;
  border: 2px solid var(--qt-color-border);
  border-radius: var(--qt-radius-full);
  cursor: pointer;
  transition: all var(--qt-transition);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .qt-tabs__btn {
    padding: var(--qt-space-2) var(--qt-space-6);
    font-size: var(--qt-text-sm);
  }
}

.qt-tabs__btn:hover {
  color: var(--qt-color-primary);
  border-color: var(--qt-color-primary);
}

.qt-tabs__btn--active,
.qt-tabs__btn--active:hover {
  color: #fff !important;
  background: var(--qt-color-primary);
  border-color: var(--qt-color-primary);
}

/* Tab panels */
.qt-tabs__panel {
  display: none;
}

.qt-tabs__panel--active {
  display: block;
}

/* Carousel */
.qt-tabs__carousel {
  position: relative;
}

.qt-tabs__carousel-track {
  display: flex;
  gap: var(--qt-space-3);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--qt-space-2);
}

.qt-tabs__carousel-track::-webkit-scrollbar {
  display: none;
}

.qt-tabs__carousel-track .qt-product-card {
  min-width: 160px;
  max-width: 180px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

@media (min-width: 480px) {
  .qt-tabs__carousel-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--qt-space-6);
    overflow-x: hidden;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .qt-tabs__carousel-track .qt-product-card {
    min-width: 0;
    max-width: none;
  }
}

@media (min-width: 768px) {
  .qt-tabs__carousel-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .qt-tabs__carousel-track {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Hide cards beyond the visible set on desktop */
@media (min-width: 1024px) {
  .qt-tabs__card:nth-child(n+5) {
    display: none;
  }

  .qt-tabs__carousel--shifted .qt-tabs__card:nth-child(-n+4) {
    display: none;
  }

  .qt-tabs__carousel--shifted .qt-tabs__card:nth-child(n+5) {
    display: flex;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .qt-tabs__card:nth-child(n+4) {
    display: none;
  }

  .qt-tabs__carousel--shifted .qt-tabs__card:nth-child(-n+3) {
    display: none;
  }

  .qt-tabs__carousel--shifted .qt-tabs__card:nth-child(n+4) {
    display: flex;
  }
}

/* Carousel navigation buttons */
.qt-tabs__carousel-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--qt-color-border);
  background: var(--qt-color-card);
  color: var(--qt-color-dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: var(--qt-shadow);
  transition: all var(--qt-transition);
  z-index: 2;
}

@media (min-width: 768px) {
  .qt-tabs__carousel-btn {
    display: inline-flex;
  }
}

.qt-tabs__carousel-btn:hover {
  background: var(--qt-color-primary);
  border-color: var(--qt-color-primary);
  color: #fff;
}

.qt-tabs__carousel-btn--prev {
  left: calc(var(--qt-space-4) * -1);
  transform: translateY(-50%) rotate(180deg);
}

.qt-tabs__carousel-btn--next {
  right: calc(var(--qt-space-4) * -1);
}

@media (min-width: 1280px) {
  .qt-tabs__carousel-btn--prev {
    left: calc(var(--qt-space-8) * -1);
  }
  .qt-tabs__carousel-btn--next {
    right: calc(var(--qt-space-8) * -1);
  }
}

/* Panel footer — View All link */
.qt-tabs__panel-footer {
  text-align: center;
  margin-top: var(--qt-space-8);
}

.qt-tabs__panel-footer .qt-btn {
  font-size: var(--qt-text-lg);
  padding: var(--qt-space-4) var(--qt-space-8);
}

/* --------------------------------------------------------------------------
   Featured products — enhancements
   -------------------------------------------------------------------------- */
.qt-product-card__badge {
  position: absolute;
  top: var(--qt-space-2);
  left: var(--qt-space-2);
  background: var(--qt-color-primary);
  color: #fff;
  font-family: var(--qt-font-heading);
  font-size: 0.625rem;
  font-weight: var(--qt-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--qt-space-1) var(--qt-space-2);
  border-radius: var(--qt-radius-sm);
}

.qt-product-card__img-wrap {
  position: relative;
}

.qt-product-card__view {
  display: inline-flex;
  align-items: center;
  gap: var(--qt-space-1);
  font-family: var(--qt-font-heading);
  font-size: var(--qt-text-xs);
  font-weight: var(--qt-weight-semibold);
  color: var(--qt-color-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: var(--qt-space-2);
  transition: gap var(--qt-transition);
}

.qt-product-card:hover .qt-product-card__view {
  gap: var(--qt-space-2);
}

/* --------------------------------------------------------------------------
   Why Quest — combined trust + stats section (dark)
   -------------------------------------------------------------------------- */
.qt-why {
  background: var(--qt-color-dark);
  padding: var(--qt-space-16) 0;
  color: #fff;
}

/* Stats row */
.qt-why__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--qt-space-6);
  text-align: center;
  margin-bottom: var(--qt-space-12);
  padding-bottom: var(--qt-space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .qt-why__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.qt-why__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qt-why__stat-number {
  font-family: var(--qt-font-heading);
  font-size: var(--qt-text-4xl);
  font-weight: var(--qt-weight-black);
  color: var(--qt-color-primary);
  line-height: 1;
  margin-bottom: var(--qt-space-2);
}

@media (min-width: 768px) {
  .qt-why__stat-number {
    font-size: 3.5rem;
  }
}

.qt-why__stat-label {
  font-size: var(--qt-text-sm);
  font-weight: var(--qt-weight-medium);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Heading */
.qt-why__title {
  text-align: center;
  font-size: var(--qt-text-3xl);
  font-weight: var(--qt-weight-extrabold);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--qt-space-10);
}

/* Feature cards */
.qt-why__grid {
  display: grid;
  gap: var(--qt-space-5);
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .qt-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .qt-why__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.qt-why__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--qt-radius-md);
  padding: var(--qt-space-6);
  position: relative;
  transition: background-color var(--qt-transition), transform var(--qt-transition);
}

.qt-why__card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.qt-why__card-number {
  position: absolute;
  top: var(--qt-space-4);
  right: var(--qt-space-4);
  font-family: var(--qt-font-heading);
  font-size: var(--qt-text-3xl);
  font-weight: var(--qt-weight-black);
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.qt-why__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--qt-radius);
  background: rgba(204, 0, 0, 0.15);
  color: var(--qt-color-primary);
  margin-bottom: var(--qt-space-4);
}

.qt-why__card-title {
  font-family: var(--qt-font-heading);
  font-size: var(--qt-text-base);
  font-weight: var(--qt-weight-bold);
  color: #fff;
  margin: 0 0 var(--qt-space-2);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.qt-why__card-desc {
  font-size: var(--qt-text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Partner / Certification logos
   -------------------------------------------------------------------------- */
.qt-partners {
  background: var(--qt-color-surface);
  padding: var(--qt-space-10) 0;
}

.qt-partners__label {
  text-align: center;
  font-family: var(--qt-font-heading);
  font-size: var(--qt-text-xs);
  font-weight: var(--qt-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--qt-color-muted);
  margin: 0 0 var(--qt-space-6);
}

.qt-partners__track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--qt-space-8);
}

.qt-partners__logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--qt-transition);
}

.qt-partners__logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   New / Latest Products — uses shared product card styles
   -------------------------------------------------------------------------- */
.qt-new-products__grid {
  display: flex;
  gap: var(--qt-space-3);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--qt-space-2);
}

.qt-new-products__grid::-webkit-scrollbar {
  display: none;
}

.qt-new-products__grid .qt-product-card {
  min-width: 160px;
  max-width: 180px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

@media (min-width: 480px) {
  .qt-new-products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--qt-space-6);
    overflow-x: hidden;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .qt-new-products__grid .qt-product-card {
    min-width: 0;
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .qt-new-products__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


