/* =============================================
   QUICK CATEGORY STRIP — Nykaa style
   Place BEFORE your slideshow, AFTER navbar
   ============================================= */

.quick-cat-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 14px 16px 16px;
  background: var(--card, #fff);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* No margin-bottom — slideshow sits right below */
}

.quick-cat-strip::-webkit-scrollbar {
  display: none;
}

.qc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  cursor: pointer;
  padding: 0 10px;
  -webkit-tap-highlight-color: transparent;
}

.qc-item:active {
  opacity: 0.75;
  transform: scale(0.96);
}

/* ── DESIGN A: Circles ── */
.quick-cat-circles .qc-img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid var(--line-md, #e8e8e8);
  background: var(--bg, #f5f5f0);
  transition: border-color 0.2s ease, transform 0.18s ease;
}

.quick-cat-circles .qc-item:hover .qc-img {
  border-color: var(--gold, #D4A853);
  transform: scale(1.06);
}

/* ── DESIGN B: Squares ── */
.quick-cat-squares .qc-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg, #f5f5f0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.quick-cat-squares .qc-item:hover .qc-img {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* ── Shared image fill ── */
.qc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Label ── */
.qc-name {
  font-family: var(--font-ui, 'DM Sans', system-ui, sans-serif);
  font-size: 11px;
  font-weight: 600;
  color: var(--text, #1a1a1a);
  text-align: center;
  line-height: 1.3;
  max-width: 72px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.1px;
}

/* ── Dark mode ── */
body.dark-mode .quick-cat-strip {
  background: var(--card);
}

body.dark-mode .quick-cat-circles .qc-img {
  border-color: var(--line-md);
}

body.dark-mode .quick-cat-circles .qc-item:hover .qc-img {
  border-color: var(--gold-2, #F8D800);
}

/* ── Mobile: slightly smaller ── */
@media (max-width: 480px) {
  .quick-cat-strip {
    padding: 12px 10px 14px;
  }
  .qc-item {
    padding: 0 8px;
  }
  .quick-cat-circles .qc-img {
    width: 58px;
    height: 58px;
  }
  .quick-cat-squares .qc-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
  }
  .qc-name {
    font-size: 10px;
    max-width: 62px;
  }
}
@media (min-width: 800px) {
  
  .qc-arrow {
    display: flex !important;
  }

  .quick-cat-strip {
    padding: 20px 40px 24px;
    gap: 0;
  }

  .qc-item {
    padding: 0 18px;
    gap: 10px;
  }

  .quick-cat-circles .qc-img {
    width: 110px;
    height: 110px;
    border-width: 3px;
  }

  .quick-cat-squares .qc-img {
    width: 130px;
    height: 130px;
    border-radius: 18px;
  }

  .qc-name {
    font-size: 14px;
    max-width: 120px;
  }
}

@media (min-width: 1200px) {
  .qc-item {
    padding: 0 24px;
  }

  .quick-cat-circles .qc-img {
    width: 130px;
    height: 130px;
  }

  .quick-cat-squares .qc-img {
    width: 150px;
    height: 150px;
  }

  .qc-name {
    font-size: 15px;
    max-width: 140px;
  }
}
.quick-cat-wrapper {
  position: relative;
}

.qc-arrow {
  display: none; /* shown only on laptop via media query above */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line-md, #e8e8e8);
  background: var(--card, #fff);
  color: var(--text, #1a1a1a);
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.15s, box-shadow 0.15s;
}

.qc-arrow:hover {
  background: var(--gold, #D4A853);
  color: #fff;
  border-color: var(--gold, #D4A853);
  box-shadow: 0 4px 14px rgba(212,168,83,0.3);
}

.qc-arrow-left  { left: 6px; }
.qc-arrow-right { right: 6px; }