/* ═══════════════════════════════════════════════════
   HYC Shop — Nexus-style clear zone (below hero)
   Scoped under .nx-zone to avoid bleeding into dark theme.
   ═══════════════════════════════════════════════════ */

/* ── Zone wrapper ── */
.nx-zone {
  background: #f6f7f9;
  color: #0f172a;
  padding-bottom: 3rem;
}

/* Smooth transition from dark hero */
.nx-zone-bridge {
  display: block;
  height: 0;
  background: linear-gradient(to bottom, #03091c 0%, #f6f7f9 100%);
}

/* ── Shared container ── */
.nx-zone .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Section titles ── */
.nx-section {
  padding: 3.5rem 0 2rem;
}
.nx-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.nx-section-title {
  margin: 0;
  font-family: var(--font-display, 'Oxanium', sans-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.nx-section-title span {
  color: #0ea5e9;
}
.nx-see-all {
  font-size: .82rem;
  font-weight: 600;
  color: #0ea5e9;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .04em;
}
.nx-see-all:hover { text-decoration: underline; }

/* ── Category grid ── */
.nx-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.nx-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem .75rem 1rem;
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  text-decoration: none;
  color: #0f172a;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 1px 6px rgba(15,23,42,.05);
}
.nx-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15,23,42,.1);
  border-color: #0ea5e9;
}
.nx-cat-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f0f9ff;
  margin-bottom: .65rem;
  color: #0ea5e9;
}
.nx-cat-card span {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.25;
  color: #334155;
}

/* ── Carousel ── */
.nx-carousel-wrap {
  position: relative;
}
.nx-carousel-viewport {
  overflow: hidden;
  border-radius: 8px;
}
.nx-carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 400ms cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* ── Product card (light) ── */
.nx-product-card {
  flex: 0 0 calc(20% - .8rem);
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(15,23,42,.05);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.nx-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15,23,42,.1);
}
.nx-product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f8fafc;
}
.nx-product-img-wrap a {
  display: block;
  width: 100%; height: 100%;
}
.nx-product-img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  padding: .5rem;
}
.nx-product-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  color: #7dd3fc;
}
.nx-badge-sale {
  position: absolute;
  top: .5rem; left: .5rem;
  padding: .18rem .5rem;
  background: #ef4444;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: .04em;
}
.nx-product-body {
  padding: .85rem .9rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .3rem;
}
.nx-product-cat {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0ea5e9;
}
.nx-product-name {
  margin: 0;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nx-product-name a {
  color: inherit;
  text-decoration: none;
}
.nx-product-name a:hover { color: #0ea5e9; }
.nx-price-row {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  flex-wrap: wrap;
  margin-top: .15rem;
}
.nx-price {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  font-family: var(--font-display, 'Oxanium', sans-serif);
}
.nx-price-old {
  font-size: .75rem;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: line-through;
}
.nx-btn-buy {
  margin-top: auto;
  padding: .5rem .75rem;
  background: #0ea5e9;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: block;
  transition: background .18s ease;
}
.nx-btn-buy:hover { background: #0284c7; color: #fff; }

/* ── Arrow buttons ── */
.nx-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 50%;
  color: #334155;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(15,23,42,.1);
  transition: background .18s ease, box-shadow .18s ease;
}
.nx-arrow:hover:not(:disabled) {
  background: #0ea5e9;
  border-color: #0ea5e9;
  color: #fff;
  box-shadow: 0 4px 16px rgba(14,165,233,.3);
}
.nx-arrow:disabled { opacity: .3; cursor: not-allowed; pointer-events: none; }
.nx-arrow-prev { left: -18px; }
.nx-arrow-next { right: -18px; }

/* ── Dots ── */
.nx-dots {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; margin-top: 1.25rem;
}
.nx-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none; padding: 0; cursor: pointer;
  transition: background .2s ease, width .25s cubic-bezier(.34,1.56,.64,1);
}
.nx-dot.is-active {
  width: 20px;
  border-radius: 4px;
  background: #0ea5e9;
}

/* ── Brand strip ── */
.nx-brands-section {
  padding: 2rem 0 3rem;
  background: #fff;
  border-top: 1px solid #e5e9f0;
  border-bottom: 1px solid #e5e9f0;
}
.nx-brands-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 1.25rem;
}
.nx-brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
}
.nx-brand-chip {
  padding: .45rem 1rem;
  background: #f8fafc;
  border: 1px solid #e5e9f0;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.nx-brand-chip:hover {
  background: #f0f9ff;
  border-color: #0ea5e9;
  color: #0ea5e9;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .nx-product-card { flex: 0 0 calc(25% - .75rem); }
  .nx-cat-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .nx-product-card { flex: 0 0 calc(33.333% - .67rem); }
  .nx-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .nx-arrow-prev { left: -12px; }
  .nx-arrow-next { right: -12px; }
}
@media (max-width: 580px) {
  .nx-product-card { flex: 0 0 calc(48% - .5rem); }
  .nx-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .nx-section-title { font-size: 1.1rem; }
}
@media (max-width: 420px) {
  .nx-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .nx-product-card { flex: 0 0 calc(75% - .25rem); }
}
