:root {
  --nb-bg-1: #0f172a;
  --nb-bg-2: #102a43;
  --nb-accent: #f97316;
  --nb-accent-2: #fb923c;
  --nb-soft: #f8fafc;
  --nb-text: #0f172a;
  --nb-card: #ffffff;
  --nb-ok: #16a34a;
  --nb-err: #dc2626;
  --nb-muted: #64748b;
  --nb-border: #e2e8f0;
  --nb-shadow: 0 20px 45px rgba(2, 6, 23, 0.15);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--nb-text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: linear-gradient(145deg, #eaf3ff 0%, #fdf6ec 70%);
  min-height: 100vh;
}

.nb-app-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 15%, rgba(249, 115, 22, 0.2), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(2, 132, 199, 0.18), transparent 38%);
  z-index: -1;
}

.nb-shell {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.nb-header {
  position: sticky;
  top: 0;
  z-index: 20;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.86);
}

.nb-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
}

.nb-logo {
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: #0b1324;
}

.nb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.nb-nav-mobile{
  display: none;
}
.nb-nav-mobile.is-open{
  position:fixed;
  top:98px;
  width: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  height: calc(100vh + 98px);
  align-items: center;
  justify-content: flex-start;
}

.nb-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nb-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #0f172a;
}

.nb-nav a {
  text-decoration: none;
  color: #0f172a;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
}
.nb-nav-mobile a{
  display: inline-block;
  text-decoration: none;
  color: #0f172a;
  /*padding: 0.6rem 0.85rem;*/
  border-radius: 999px;
  font-weight: 600;
  width: 100%;
  height: 60px;
  line-height: 60px;
  text-align: center;
}

.nb-nav a:hover {
  background: #fff4eb;
  color: #9a3412;
}
.nb-nav-mobile a:hover{
  background: #fff4eb;
  color: #9a3412;
}

.nb-main {
  padding: 1.7rem 0 2.8rem;
}

.nb-alert {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.nb-alert--ok { background: #dcfce7; color: #166534; }
.nb-alert--error { background: #fee2e2; color: #991b1b; }

.nb-hero {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 1.25rem;
  align-items: stretch;
}

.nb-kicker {
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #b45309;
  font-size: 0.78rem;
}

.nb-hero h1 {
  margin: 0.45rem 0 0.6rem;
  font-size: clamp(1.7rem, 3.4vw, 3.2rem);
  line-height: 1.05;
}

.nb-hero > div,
.nb-hero-card {
  border-radius: 26px;
  background: linear-gradient(145deg, #fff, #f8fafc);
  border: 1px solid #e2e8f0;
  box-shadow: var(--nb-shadow);
  padding: 1.4rem;
}

.nb-hero-card ul { margin: 0.6rem 0 0; padding-left: 1rem; }
.nb-hero-card li { margin: 0.4rem 0; }

.nb-btn {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nb-accent), var(--nb-accent-2));
  color: #fff;
  text-decoration: none;
  padding: 0.74rem 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nb-btn:hover { filter: brightness(1.05); }

.nb-btn--ghost {
  background: #fff;
  color: #9a3412;
  border: 1px solid #fdba74;
}

.nb-cta-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }

.nb-filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) auto;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid var(--nb-border);
  border-radius: 16px;
  padding: 0.75rem;
  box-shadow: var(--nb-shadow);
}

.nb-filters input,
.nb-filters select,
.nb-form input,
.nb-form select,
.nb-form textarea,
.nb-form-inline input,
.nb-form-inline select,
.nb-table input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.62rem 0.72rem;
  font: inherit;
}

.nb-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.nb-grid--collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.nb-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--nb-border);
  box-shadow: var(--nb-shadow);
}

.nb-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.nb-card__body { padding: 0.95rem; display: grid; gap: 0.55rem; }
.nb-card__body h3 { margin: 0; }
.nb-card__body p { margin: 0; color: var(--nb-muted); }

.nb-chip-row { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.nb-chip {
  background: #ecfeff;
  color: #155e75;
  border-radius: 999px;
  font-size: 0.76rem;
  padding: 0.25rem 0.55rem;
  font-weight: 700;
}
.nb-chip--warn { background: #fff7ed; color: #9a3412; }

.nb-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.nb-product img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: var(--nb-shadow);
}

.nb-price {
  margin: 0.4rem 0 0.8rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.nb-tag {
  display: inline-block;
  margin: 0 0 0.8rem;
  background: #fff7ed;
  color: #9a3412;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-weight: 700;
}

.nb-form-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 520px;
}

.nb-form-inline .nb-btn { grid-column: 1 / -1; }

.nb-collection-card {
  min-height: 300px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: end;
}

.nb-collection-card::before,
.nb-collection-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.25), rgba(15, 23, 42, 0.8));
}

.nb-collection-card > div,
.nb-collection-hero > div {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 1rem;
}

.nb-collection-hero {
  min-height: 280px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 1rem;
  display: flex;
  align-items: end;
}

.nb-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--nb-shadow);
}

.nb-table th,
.nb-table td {
  padding: 0.7rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.nb-cart-footer {
  margin-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nb-form {
  max-width: 560px;
  background: #fff;
  border: 1px solid var(--nb-border);
  border-radius: 14px;
  box-shadow: var(--nb-shadow);
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
}

.nb-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.nb-note { font-size: 0.9rem; color: var(--nb-muted); }

.nb-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  margin-top: 1rem;
  padding: 1rem 0;
}

.nb-footer .nb-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content:center;
}

.nb-footer a { color: #0f172a; text-decoration: none; font-size:small;}

.nb-home-hero {
  margin-bottom: 1.1rem;
  border-radius: 28px;
  border: 1px solid #dbeafe;
  background:
    radial-gradient(circle at 12% 8%, rgba(14, 165, 233, 0.20), transparent 35%),
    radial-gradient(circle at 88% 82%, rgba(249, 115, 22, 0.22), transparent 38%),
    linear-gradient(130deg, #ffffff, #f7fbff);
  box-shadow: var(--nb-shadow);
  overflow: hidden;
}

.nb-home-hero__content {
  padding: 1.4rem;
}

.nb-home-hero h1 {
  margin: 0.45rem 0 0.65rem;
  font-size: clamp(1.65rem, 3.2vw, 3rem);
  line-height: 1.08;
}

.nb-home-section {
  margin-top: 1.1rem;
  background: #fff;
  border: 1px solid var(--nb-border);
  border-radius: 22px;
  box-shadow: var(--nb-shadow);
  padding: 1.15rem;
}

.nb-home-section h2 {
  margin: 0;
}

.nb-home-section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.nb-home-section--concept p {
  margin: 0.7rem 0 0;
  color: var(--nb-muted);
  max-width: 860px;
}

.nb-home-seller-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #1d4ed8 62%, #0369a1);
  color: #fff;
}

.nb-home-seller-cta::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(251, 146, 60, 0.2);
}

.nb-home-seller-cta .nb-kicker,
.nb-home-seller-cta h2,
.nb-home-seller-cta p,
.nb-home-seller-cta a {
  position: relative;
  z-index: 1;
}

.nb-home-seller-cta .nb-kicker,
.nb-home-seller-cta p {
  color: #e2e8f0;
}

.nb-home-seller-cta p {
  margin: 0.65rem 0 1rem;
  max-width: 760px;
}

.nb-home-seller-cta .nb-btn {
  background: #fff;
  color: #0f172a;
}

.nb-carousel {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.nb-carousel__item {
  min-width: 0;
}

.nb-carousel-controls {
  display: flex;
  gap: 0.45rem;
}

@media (max-width: 1024px) {
  .nb-hero,
  .nb-product,
  .nb-auth-grid { grid-template-columns: 1fr; }

  .nb-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-carousel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 740px) {
  .nb-header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 10px 0.6rem 0;
    min-height: 72px;
  }
  .nb-logo img { height: 74px !important; }
  .nb-menu-toggle { display: inline-flex; }
  .nb-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.35rem 0 0.6rem;
  }
  .nb-nav.is-open { display: flex; }
  .nb-nav a { font-size: 0.95rem; width: 100%; }
  .nb-filters { grid-template-columns: 1fr; }
  .nb-grid,
  .nb-grid--collections { grid-template-columns: 1fr; }
  .nb-shell { width: calc(100% - 1rem); }

  .nb-home-section {
    padding: 0.95rem;
  }

  .nb-carousel-controls {
    display: none;
  }

  .nb-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    gap: 0.75rem;
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .nb-carousel__item {
    scroll-snap-align: start;
  }
}
