/* Underground Boutique — showroom layout matching the preview mockup.
   Storefront only. Does not change APIs or Admin. */

:root {
  --sr-bg: #050505;
  --sr-panel: #111113;
  --sr-card: #161618;
  --sr-well: #ece8e1;
  --sr-gold: #c5a059;
  --sr-ink: #f6f2ea;
  --sr-muted: rgba(246, 242, 234, 0.58);
  --header-h: 118px;
}

body {
  background: var(--sr-bg);
}

.noise { opacity: 0.03; }

.announce-bar {
  background: #070707;
  border-bottom: 1px solid rgba(197, 160, 89, 0.16);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--sr-muted);
}

.announce-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.announce-lead {
  margin: 0;
  color: var(--sr-ink);
  white-space: nowrap;
}

.announce-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.announce-perks li {
  color: var(--sr-gold);
}

.site-header {
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 0;
  box-shadow: none;
}

.header-inner {
  min-height: 72px;
  padding-block: 0.7rem;
}

.brand-mark {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.brand-sub {
  color: var(--sr-gold);
  letter-spacing: 0.18em;
}

.search-form input,
.search-field input {
  border-radius: 999px;
  background: #0d0d0f;
  border-color: rgba(246, 242, 234, 0.12);
  padding-right: 2.6rem;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-icon-btn,
.header-account {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 0;
  color: var(--sr-ink);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  padding: 0.2rem;
}

.header-icon-btn svg,
.header-account svg {
  flex: 0 0 auto;
}

.header-account-copy {
  display: grid;
  line-height: 1.15;
}

.header-account-copy small {
  color: var(--sr-muted);
  font-size: 0.62rem;
}

.header-count {
  font-size: 0.72rem;
  color: var(--sr-muted);
  white-space: nowrap;
}

.header-count #resultCount {
  color: var(--sr-gold);
  font-weight: 700;
}

.cart-toggle {
  border: 0;
  background: none;
  color: var(--sr-ink);
  padding: 0.2rem;
  min-height: 0;
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--sr-gold);
}

.header-nav {
  border-top: 1px solid rgba(197, 160, 89, 0.22);
}

.header-nav-inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 44px;
  overflow: hidden;
}

.header-nav-all {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sr-ink);
  padding-right: 1.1rem;
  border-right: 1px solid rgba(246, 242, 234, 0.1);
}

.header-nav-links {
  display: flex;
  gap: 0.15rem 1.15rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.header-nav-links::-webkit-scrollbar { display: none; }

.header-nav-link {
  appearance: none;
  border: 0;
  background: none;
  color: var(--sr-muted);
  font: inherit;
  font-size: 0.8rem;
  padding: 0.7rem 0;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
}

.header-nav-link.is-active,
.header-nav-link:hover {
  color: var(--sr-ink);
  box-shadow: inset 0 -2px 0 var(--sr-gold);
}

/* Hero */
.hero {
  padding: 1.6rem 0 1.8rem;
}

.hero-grid {
  min-height: min(58vh, 460px);
  align-items: center;
}

.hero-kicker {
  letter-spacing: 0.22em;
  color: var(--sr-gold);
}

.hero-lead {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-style: italic;
  color: var(--sr-ink);
  max-width: 18ch;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--sr-muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.hero-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 8px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: 62% 46%;
}

.hero-orb,
.hero-stamp { display: none; }

.hero-script {
  position: absolute;
  right: 6%;
  top: 12%;
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--sr-gold);
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-side {
  position: absolute;
  right: 0.6rem;
  bottom: 0.8rem;
  margin: 0;
  writing-mode: vertical-rl;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.62rem;
  color: rgba(246, 242, 234, 0.45);
}

/* Categories */
.category-rail-head h2,
.filters-head h2,
.catalog-heading h2,
.sellers-copy h2,
.site-footer h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 1.45rem;
  font-weight: 600;
}

.cat-chip {
  min-width: 86px;
  min-height: 90px;
  border-radius: 10px;
  background: var(--sr-panel);
}

.cat-chip.is-active {
  border-color: var(--sr-gold);
  box-shadow: none;
}

/* Catalog */
.filters {
  background: var(--sr-panel);
  border-radius: 10px;
  border-color: rgba(246, 242, 234, 0.08);
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  border-bottom: 0;
  margin-bottom: 0.7rem;
  padding-bottom: 0;
}

.catalog-crumb {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  color: var(--sr-muted);
}

.catalog-heading h2 {
  margin: 0;
  font-size: 2rem;
}

.catalog-found {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--sr-muted);
}

.catalog-tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sort-field {
  display: grid;
  gap: 0.2rem;
  font-size: 0.68rem;
  color: var(--sr-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sort-field select {
  min-width: 10rem;
  border: 1px solid rgba(246, 242, 234, 0.12);
  background: #0d0d0f;
  color: var(--sr-ink);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  font: inherit;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
}

.quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.quick-pills span {
  border: 1px solid rgba(197, 160, 89, 0.35);
  color: var(--sr-ink);
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  font-size: 0.72rem;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.product-card {
  background: var(--sr-card);
  border-radius: 10px;
  position: relative;
}

.card-media {
  background: var(--sr-well);
  border-radius: 10px 10px 0 0;
}

.card-media img {
  object-fit: contain;
  padding: 0.55rem;
}

.card-badge {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  z-index: 2;
  background: var(--sr-gold);
  color: #14110c;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.45rem;
  border-radius: 4px;
}

.card-fav {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #222;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
}

.card-fav.is-active {
  background: var(--sr-gold);
}

.card-body {
  padding: 0.7rem 0.7rem 0.8rem;
}

.card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sr-ink);
}

.card-brand {
  font-size: 0.72rem;
  color: var(--sr-muted);
  text-transform: none;
  letter-spacing: 0.02em;
  max-width: none;
}

.card-cat {
  color: var(--sr-muted);
}

.card-price {
  color: var(--sr-gold);
  font-size: 1.05rem;
}

.card-add {
  width: 100%;
  margin-top: 0.45rem;
  border-color: rgba(197, 160, 89, 0.45);
  color: var(--sr-ink);
}

.card-add:hover {
  background: var(--sr-gold);
  color: #14110c;
  border-color: var(--sr-gold);
}

/* Sellers + footer */
.sellers {
  padding: 2.2rem 0 1rem;
}

.sellers-inner {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(246, 242, 234, 0.08);
  border-radius: 12px;
  padding: 1.2rem 1.3rem;
  background: #0d0d0f;
}

.sellers-copy h2 { margin: 0 0 0.25rem; }
.sellers-copy p { margin: 0; color: var(--sr-muted); }

.sellers-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.seller-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--sr-panel);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

.seller-card span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(197, 160, 89, 0.16);
  color: var(--sr-gold);
  font-weight: 700;
}

.seller-card small {
  display: block;
  color: var(--sr-muted);
  font-size: 0.72rem;
}

.site-footer {
  padding: 2.4rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr 1.2fr;
  gap: 1.4rem;
  align-items: start;
}

.footer-brand p,
.footer-col p,
.footer-news p {
  color: var(--sr-muted);
  font-size: 0.85rem;
}

.footer-col {
  display: grid;
  gap: 0.4rem;
}

.footer-col a,
.footer-col button {
  background: none;
  border: 0;
  color: var(--sr-muted);
  text-align: left;
  font: inherit;
  padding: 0;
  cursor: pointer;
}

.footer-col a:hover,
.footer-col button:hover {
  color: var(--sr-gold);
}

.footer-news-row {
  display: flex;
  gap: 0.4rem;
}

.footer-news-row input {
  flex: 1;
  border: 1px solid rgba(246, 242, 234, 0.12);
  background: #0d0d0f;
  color: var(--sr-ink);
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  font: inherit;
}

.footer-news-row .btn {
  min-width: 46px;
  padding: 0;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(246, 242, 234, 0.08);
  color: var(--sr-muted);
  font-size: 0.75rem;
}

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .announce-perks { display: none; }
  .header-account-copy,
  .header-icon-btn span,
  .header-count { display: none; }
  .header-nav-all { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sellers-row { grid-template-columns: 1fr; }
  .hero-side { display: none; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 200px; }
  .hero-visual img { min-height: 200px; }
}
