:root {
  --bg: #090806;
  --panel: #12100c;
  --panel2: #19150f;
  --gold: #d4ad55;
  --gold2: #a8772d;
  --cream: #f6ecd8;
  --muted: #bdb09a;
  --line: rgba(212, 173, 85, 0.23);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  --radius: 24px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(rgba(7,6,5,.95), rgba(7,6,5,.98));
}

body:after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 5%, rgba(212,173,85,.11), transparent 36%),
    linear-gradient(90deg, rgba(0,0,0,.18), transparent 20%, transparent 80%, rgba(0,0,0,.18));
  pointer-events: none;
}

a {
  color: inherit;
}

#container {
  min-height: 100vh;
  margin: 0 !important;
  position: relative !important;
}

main {
  min-height: 60vh;
}

.container {
  width: min(var(--max), calc(100% - 38px));
  max-width: var(--max);
}

/* ===== HEADER ===== */

.np-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,7,5,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(212,173,85,.16);
}

.np-nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.np-brand {
  font-family: Georgia, serif;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 1rem;
  color: var(--cream);
  white-space: nowrap;
}

.np-brand b {
  color: var(--gold);
}

.np-brand:hover {
  color: var(--cream);
}

.np-menu-button {
  display: none;
  color: white;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 11px;
}

.np-nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.np-nav-links a {
  text-decoration: none;
  color: #d8cbb4;
  font-weight: 760;
  font-size: .88rem;
  letter-spacing: .05em;
}

.np-nav-links a:hover,
.np-nav-links a.active {
  color: var(--gold);
}

.np-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.np-tools a,
.np-tools button {
  color: #d8cbb4;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 700;
  background: none;
  border: 0;
}

.np-tools a:hover,
.np-tools button:hover {
  color: var(--gold);
}

/* ===== STORE TOOL BAR ===== */

.np-store-tools {
  background: rgba(13,11,8,.92);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

#search input {
  background: #16120d;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px 0 0 999px;
}

#search input::placeholder {
  color: #8f8574;
}

#search button,
#cart button {
  background: linear-gradient(135deg, #e0bb61, #a66d23) !important;
  border: 0 !important;
  color: #171008 !important;
  font-weight: 900;
  text-shadow: none !important;
}

#search button {
  border-radius: 0 999px 999px 0 !important;
}

#cart button {
  border-radius: 999px !important;
}

/* ===== CATEGORY MENU ===== */

#menu {
  background: rgba(18,16,12,.96) !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  margin: 26px auto 34px;
  padding: 0 8px;
}

#menu .navbar-nav > li > a {
  color: #d8cbb4 !important;
  text-shadow: none !important;
  font-weight: 760;
  font-size: .86rem;
  letter-spacing: .04em;
  padding: 14px 15px;
}

#menu .navbar-nav > li > a:hover {
  color: var(--gold) !important;
  background: transparent !important;
}

#category,
#menu .navbar-toggler i {
  color: var(--cream) !important;
}

/* ===== GENERAL CONTENT ===== */

#content,
#column-left,
#column-right {
  padding-bottom: 34px !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, serif;
  color: var(--cream);
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

p,
.text-muted {
  color: var(--muted) !important;
}

.breadcrumb {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  padding: 12px 0 !important;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--gold);
}

/* ===== CARDS / PRODUCT LISTINGS ===== */

.card,
.panel,
.product-thumb {
  background: linear-gradient(180deg, rgba(27,22,15,.95), rgba(15,13,10,.96)) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow);
  color: var(--cream);
}

.product-thumb {
  overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
}

.product-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(212,173,85,.52) !important;
}

.product-thumb .image {
  background: #0d0b08;
}

.product-thumb .description,
.product-thumb .caption {
  padding: 22px !important;
}

.product-thumb h4,
.product-thumb h4 a {
  color: var(--cream) !important;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  text-decoration: none;
}

.product-thumb h4 a:hover {
  color: var(--gold) !important;
}

.product-thumb .price,
.price,
.price-new {
  color: var(--gold) !important;
  font-size: 1.18rem;
  font-weight: 800;
}

.product-thumb .button,
.product-thumb .button-group {
  background: rgba(255,255,255,.02) !important;
  border-top: 1px solid var(--line) !important;
}

.product-thumb .button button,
.product-thumb .button-group button {
  background: transparent !important;
  color: var(--cream) !important;
  border: 0 !important;
}

.product-thumb .button button:hover,
.product-thumb .button-group button:hover {
  color: var(--gold) !important;
}

/* ===== BUTTONS ===== */

.btn-primary,
.btn-success {
  min-height: 44px;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: linear-gradient(135deg, #e0bb61, #a66d23) !important;
  color: #171008 !important;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(166,109,35,.20);
}

.btn-primary:hover,
.btn-success:hover {
  filter: brightness(1.05);
}

.btn-secondary,
.btn-light {
  border-radius: 999px !important;
  background: rgba(255,255,255,.035) !important;
  border: 1px solid var(--line) !important;
  color: var(--cream) !important;
}

/* ===== FORMS ===== */

.form-control,
.form-select,
select,
textarea,
input[type=text],
input[type=email],
input[type=password],
input[type=number] {
  background: #12100c !important;
  color: var(--cream) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(212,173,85,.65) !important;
  box-shadow: 0 0 0 2px rgba(212,173,85,.10) !important;
}

/* ===== TABLES / CART ===== */

.table {
  color: var(--cream);
  background: rgba(18,16,12,.9);
}

.table > :not(caption) > * > * {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
}

/* ===== PAGINATION ===== */

.pagination .page-link {
  background: #12100c;
  color: var(--muted);
  border-color: var(--line);
}

.pagination .page-link:hover,
.pagination .active .page-link {
  background: var(--gold) !important;
  color: #171008 !important;
  border-color: var(--gold) !important;
}

/* ===== HOMEPAGE ===== */

.np-home {
  padding-top: 48px;
}

.np-shop-intro {
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}

.np-shop-eyebrow {
  color: var(--gold);
  font-weight: 900;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.np-shop-intro h1 {
  font-family: Georgia, serif;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: .98;
  margin: .16em 0 .25em;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.np-shop-lead {
  color: #d0c3ad !important;
  font-size: 1.08rem;
}

.np-shop-sub {
  color: var(--muted) !important;
}

.np-category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 50px;
}

.np-category-card {
  min-height: 160px;
  padding: 24px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(27,22,15,.95), rgba(15,13,10,.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}

.np-category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212,173,85,.55);
}

.np-category-card strong {
  display: block;
  font-family: Georgia, serif;
  color: var(--gold);
  font-size: 1.22rem;
  margin-bottom: 8px;
}

.np-category-card span {
  color: var(--muted);
  font-size: .92rem;
}

/* ===== FOOTER ===== */

.np-footer {
  position: static !important;
  bottom: auto !important;
  width: 100%;
  margin-top: 50px;
  padding: 56px 0 30px;
  border-top: 1px solid var(--line);
  background: rgba(5,4,3,.80);
}

.np-footgrid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr;
  gap: 30px;
}

.np-footer .np-brand {
  display: inline-block;
  margin-bottom: 10px;
}

.np-footer h3 {
  font-size: 1.25rem;
}

.np-footlinks {
  display: grid;
  gap: 8px;
}

.np-footlinks a {
  color: var(--muted);
  text-decoration: none;
}

.np-footlinks a:hover {
  color: var(--gold);
}

.np-copy {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #8f8574;
  font-size: .88rem;
}

/* ===== MOBILE ===== */

@media (max-width: 1000px) {
  .np-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .np-menu-button {
    display: block;
  }

  .np-nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #100e0b;
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  .np-nav-links.open {
    display: flex;
  }

  .np-footgrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--max), calc(100% - 26px));
  }

  .np-nav {
    height: 70px;
  }

  .np-brand {
    font-size: .85rem;
  }

  .np-tools {
    display: none;
  }

  .np-category-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   NOMADIC PROSPECTOR - PRODUCT CARD CLEANUP
   ========================================================= */

/* Hide reviews/ratings on category and product listing cards */
.product-thumb .rating,
.product-thumb .rating-text {
    display: none !important;
}

/* Product titles - keep long specimen names under control */
.product-thumb h4,
.product-thumb h4 a,
.product-thumb .description h4,
.product-thumb .description h4 a {
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 600;
}

/* Give product titles sensible spacing */
.product-thumb h4 {
    margin: 8px 0 10px !important;
}

/* Individual product page title */
#product-info h1,
.product-info h1,
main h1 {
    font-size: 28px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    margin-bottom: 18px !important;
}

/* =========================================================
   CATEGORY SIDEBAR
   ========================================================= */

#column-left .list-group {
    background: #12100c !important;
    border: 1px solid rgba(212, 173, 85, .23) !important;
    border-radius: 16px !important;
    overflow: hidden;
}

#column-left .list-group-item {
    background: #12100c !important;
    color: #f6ecd8 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(212, 173, 85, .15) !important;
    padding: 12px 16px !important;
}

#column-left .list-group-item:last-child {
    border-bottom: 0 !important;
}

#column-left a.list-group-item:hover,
#column-left a.list-group-item:focus {
    background: #19150f !important;
    color: #d4ad55 !important;
}

#column-left .list-group-item.active,
#column-left a.list-group-item.active {
    background: #19150f !important;
    color: #d4ad55 !important;
    border-left: 3px solid #d4ad55 !important;
    font-weight: 600 !important;
}


