/* Underground Boutique — storefront premium layer
   Visual / motion only. Loaded after style.css on the public store. */

:root {
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-micro: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gold-soft: rgba(232, 213, 163, 0.16);
  --gold-line: rgba(232, 213, 163, 0.22);
  --header-h: 74px;
  --header-h-compact: 60px;
}

html {
  overflow-x: clip;
}

body {
  background:
    radial-gradient(920px 520px at 6% -8%, rgba(232, 213, 163, 0.1), transparent 58%),
    radial-gradient(640px 420px at 100% 2%, rgba(196, 163, 90, 0.06), transparent 52%),
    radial-gradient(480px 280px at 70% 18%, rgba(176, 138, 90, 0.04), transparent 60%),
    linear-gradient(180deg, #0b0b0f 0%, var(--bg) 42%, #050507 100%);
  letter-spacing: 0.01em;
}

.noise {
  opacity: 0.045;
}

/* -------------------------------------------------------------------------- */
/* Header                                                                      */
/* -------------------------------------------------------------------------- */

.site-header {
  overflow: visible;
  background: rgba(9, 9, 11, 0.52);
  border-bottom: 1px solid rgba(242, 238, 230, 0.06);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  transition:
    background 300ms var(--ease-micro),
    box-shadow 300ms var(--ease-micro),
    border-color 300ms var(--ease-micro);
}

.search-form input[type="search"]::-webkit-search-cancel-button,
.search-form input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 213, 163, 0.28), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.site-header.is-compact {
  background: rgba(9, 9, 11, 0.92);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
  border-bottom-color: rgba(242, 238, 230, 0.08);
}

.header-inner {
  min-height: var(--header-h);
  padding-block: 0.55rem;
  gap: 1.15rem;
  transition: min-height 300ms var(--ease-micro), padding 300ms var(--ease-micro);
}

html.is-header-compact {
  --header-h: 60px;
}

html.is-header-compact .header-inner {
  min-height: var(--header-h-compact);
  padding-block: 0.32rem;
}

.brand {
  position: relative;
  gap: 0.12rem;
  transition: transform 280ms var(--ease-micro);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  font-weight: 800;
  transition: text-shadow 280ms var(--ease-micro), color 280ms var(--ease-micro);
}

.brand:hover .brand-mark {
  text-shadow: 0 0 22px rgba(232, 213, 163, 0.28);
}

.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  margin-top: 0.22rem;
  transition: color 280ms var(--ease-micro), letter-spacing 280ms var(--ease-micro);
}

.brand:hover .brand-sub {
  color: #f3e6be;
}

.search-form {
  min-width: 0;
  position: relative;
  z-index: 60;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 0.95rem;
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
  display: grid;
  place-items: center;
  transition: color 250ms var(--ease-micro);
}

.search-icon svg {
  display: block;
}

.search-form input,
.search-field input {
  width: 100%;
  border: 1px solid rgba(242, 238, 230, 0.12);
  background: rgba(18, 18, 22, 0.78);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.68rem 2.4rem 0.68rem 2.55rem;
  font: inherit;
  font-size: 0.92rem;
  outline: none;
  transition:
    border-color 280ms var(--ease-micro),
    box-shadow 280ms var(--ease-micro),
    background 280ms var(--ease-micro);
}

.search-form input::placeholder {
  color: rgba(242, 238, 230, 0.38);
  letter-spacing: 0.01em;
}

.search-form input:hover {
  border-color: rgba(232, 213, 163, 0.22);
}

.search-form input:focus {
  border-color: rgba(232, 213, 163, 0.48);
  background: rgba(18, 18, 22, 0.96);
  box-shadow: 0 0 0 3px rgba(232, 213, 163, 0.1), 0 0 24px rgba(232, 213, 163, 0.06);
}

.search-form input:focus + .search-icon,
.search-field:focus-within .search-icon {
  color: var(--gold);
}

.search-clear {
  position: absolute;
  right: 0.45rem;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: rgba(242, 238, 230, 0.08);
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.search-clear:hover {
  background: rgba(232, 213, 163, 0.16);
  color: var(--ink);
}

.search-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  max-height: min(70vh, 28rem);
  overflow: auto;
  padding: 0.45rem 0.4rem 0.5rem;
  border: 1px solid rgba(232, 213, 163, 0.18);
  border-radius: 12px;
  background: rgba(14, 14, 18, 0.97);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  scrollbar-width: thin;
}

.search-panel[hidden] {
  display: none !important;
}

.search-group-label {
  margin: 0.45rem 0.55rem 0.25rem;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.search-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}

.search-row:hover,
.search-row:focus-visible {
  background: rgba(232, 213, 163, 0.08);
}

.search-row-kicker {
  flex: 0 0 4.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-row-product img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  background: #17171c;
  border: 1px solid rgba(242, 238, 230, 0.08);
}

.search-row-product span {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.search-row-product strong {
  font-size: 0.82rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-row-product em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
}

.search-panel mark {
  background: rgba(232, 213, 163, 0.22);
  color: var(--gold);
  font-weight: 700;
  padding: 0 0.08em;
  border-radius: 2px;
}

.search-empty {
  margin: 0.35rem 0.6rem 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.search-see-all {
  display: flex;
  width: calc(100% - 0.4rem);
  margin: 0.35rem 0.2rem 0.15rem;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(232, 213, 163, 0.28);
  border-radius: 8px;
  background: rgba(232, 213, 163, 0.08);
  color: var(--gold);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.search-see-all:hover {
  background: rgba(232, 213, 163, 0.14);
}

.header-meta {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  gap: 0.75rem;
  align-items: center;
}

.header-meta span#resultCount {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
}

.header-admin-link {
  margin-left: 0.15rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-color: rgba(242, 238, 230, 0.12);
  transition:
    color 250ms var(--ease-micro),
    border-color 250ms var(--ease-micro),
    background 250ms var(--ease-micro);
}

.header-admin-link:hover {
  background: rgba(232, 213, 163, 0.08);
}

.cart-toggle {
  border-color: rgba(232, 213, 163, 0.28);
  background: rgba(232, 213, 163, 0.06);
  padding: 0.42rem 0.85rem;
  min-height: 40px;
  transition:
    transform 280ms var(--ease-micro),
    border-color 280ms var(--ease-micro),
    background 280ms var(--ease-micro),
    box-shadow 280ms var(--ease-micro);
}

.cart-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(232, 213, 163, 0.55);
  background: rgba(232, 213, 163, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.cart-badge {
  min-width: 1.25rem;
  height: 1.25rem;
}

.cart-badge[hidden] {
  display: none !important;
}

/* -------------------------------------------------------------------------- */
/* Buttons — tipos distintos (marketplace + boutique)                         */
/* -------------------------------------------------------------------------- */

.btn {
  position: relative;
  isolation: isolate;
  letter-spacing: 0.02em;
  border-radius: 8px;
  min-height: 42px;
  padding: 0.68rem 1.15rem;
  font-weight: 650;
  transition:
    transform 250ms var(--ease-micro),
    background 250ms var(--ease-micro),
    color 250ms var(--ease-micro),
    border-color 250ms var(--ease-micro),
    box-shadow 250ms var(--ease-micro),
    filter 250ms var(--ease-micro);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  min-height: 34px;
  padding: 0.38rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 7px;
  letter-spacing: 0.04em;
}

.btn-primary {
  background: var(--gold);
  color: #14110c;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(196, 163, 90, 0.16);
}

.btn-primary:hover {
  background: #f3e4b8;
  filter: brightness(1.03);
  box-shadow: 0 10px 22px rgba(196, 163, 90, 0.22);
}

.btn-primary:active {
  background: #dcc48a;
  filter: none;
  box-shadow: 0 3px 10px rgba(196, 163, 90, 0.14);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(242, 238, 230, 0.16);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(232, 213, 163, 0.5);
  background: rgba(232, 213, 163, 0.07);
  color: #f4efe4;
}

.hero-cta .btn {
  min-width: 10.25rem;
  border-radius: 10px;
  min-height: 46px;
}

.cart-checkout-btn,
#loadMore,
.checkout-form .btn-primary {
  width: 100%;
  border-radius: 8px;
}

#loadMore {
  width: auto;
  min-width: 200px;
}

.header-admin-link {
  border-radius: 7px;
}

.linkish {
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.15rem;
  border-bottom: 1px solid transparent;
  transition:
    color 250ms var(--ease-micro),
    border-color 250ms var(--ease-micro);
}

.linkish:hover {
  border-bottom-color: rgba(232, 213, 163, 0.55);
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                        */
/* -------------------------------------------------------------------------- */

.hero {
  padding: 2.8rem 0 1.6rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% 0 auto;
  height: 70%;
  background:
    radial-gradient(ellipse 50% 70% at 18% 40%, rgba(232, 213, 163, 0.07), transparent 70%),
    radial-gradient(ellipse 40% 60% at 88% 30%, rgba(196, 163, 90, 0.05), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: min(62vh, 520px);
  gap: 2rem;
  align-items: center;
}

.hero-kicker {
  letter-spacing: 0.28em;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.hero-brand {
  gap: 0.08rem;
}

.hero-brand-line {
  font-size: clamp(2.7rem, 8.4vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.038em;
  font-weight: 800;
}

.hero-brand-line.accent {
  color: var(--gold);
  text-shadow: 0 0 48px rgba(232, 213, 163, 0.12);
}

.hero-lead {
  margin: 1.15rem 0 1.55rem;
  max-width: 34ch;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero-cta {
  gap: 0.85rem;
}

.hero-visual {
  min-height: 280px;
  will-change: transform;
}

.hero-orb {
  inset: 10% 10% 10% 16%;
  border-radius: 46% 54% 48% 52% / 50% 44% 56% 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(232, 213, 163, 0.18), transparent 42%),
    linear-gradient(145deg, #2c261c 0%, #141218 48%, #070709 100%);
  border: 1px solid rgba(232, 213, 163, 0.2);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45),
    inset 0 0 50px rgba(232, 213, 163, 0.07);
  animation: drift 16s var(--ease-lux) infinite alternate;
}

.hero-orb::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: inherit;
  border: 1px solid rgba(232, 213, 163, 0.1);
  pointer-events: none;
}

.hero-orb::after {
  content: "";
  position: absolute;
  width: 38%;
  height: 22%;
  top: 16%;
  left: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
  filter: blur(2px);
  pointer-events: none;
}

.hero-stamp {
  color: var(--gold);
  border: 1px solid rgba(232, 213, 163, 0.55);
  background: rgba(9, 9, 11, 0.35);
  backdrop-filter: blur(6px);
  letter-spacing: 0.14em;
  padding: 0.45rem 0.7rem;
  animation: stampIn 0.9s var(--ease-lux) 0.75s both;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(0, -16px, 0) rotate(4deg); }
}

@keyframes stampIn {
  from { opacity: 0; transform: rotate(-14deg) translateY(8px); }
  to { opacity: 1; transform: rotate(-9deg) translateY(0); }
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes heroFade {
  from { opacity: 0; filter: blur(8px); }
  to { opacity: 1; filter: blur(0); }
}

.page-home .hero-kicker {
  animation: heroEnter 0.7s var(--ease-lux) 0.06s both;
}

.page-home .hero-brand-line {
  animation: heroEnter 0.8s var(--ease-lux) 0.18s both;
}

.page-home .hero-brand-line.accent {
  animation-delay: 0.28s;
}

.page-home .hero-lead {
  animation: heroEnter 0.7s var(--ease-lux) 0.42s both;
}

.page-home .hero-cta {
  animation: heroEnter 0.7s var(--ease-lux) 0.56s both;
}

.page-home .hero-visual {
  animation: heroFade 0.9s var(--ease-lux) 0.68s both;
}

/* -------------------------------------------------------------------------- */
/* Scroll reveal                                                               */
/* -------------------------------------------------------------------------- */

.js .reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.7s var(--ease-lux),
    transform 0.7s var(--ease-lux);
}

.js .reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: none;
}

/* -------------------------------------------------------------------------- */
/* Categories                                                                  */
/* -------------------------------------------------------------------------- */

.category-rail {
  padding: 0.35rem 0 1.5rem;
}

.category-rail-head {
  margin-bottom: 1rem;
}

.category-rail-head h2 {
  font-size: 1.12rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.category-rail-head p {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.category-scroller {
  gap: 0.75rem;
  padding-bottom: 0.55rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-scroller::-webkit-scrollbar {
  height: 0;
  display: none;
}

.cat-chip {
  min-width: 92px;
  min-height: 102px;
  padding: 0.85rem 0.6rem 0.75rem;
  border-radius: 16px;
  border-color: rgba(242, 238, 230, 0.1);
  background: rgba(20, 20, 25, 0.88);
  justify-content: center;
  transition:
    transform 320ms var(--ease-micro),
    border-color 320ms var(--ease-micro),
    background 320ms var(--ease-micro),
    color 320ms var(--ease-micro),
    box-shadow 320ms var(--ease-micro);
}

.cat-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 213, 163, 0.42);
  background: rgba(28, 26, 22, 0.95);
  color: var(--ink);
}

.cat-chip:hover .cat-chip-icon {
  transform: scale(1.04);
  border-color: rgba(232, 213, 163, 0.32);
}

.cat-chip.is-active {
  border-color: rgba(232, 213, 163, 0.65);
  background:
    linear-gradient(180deg, rgba(232, 213, 163, 0.12), rgba(18, 18, 22, 0.96));
  color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(232, 213, 163, 0.12),
    0 10px 28px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(232, 213, 163, 0.08);
}

.cat-chip.is-active::after {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0.85;
}

.cat-chip-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 320ms var(--ease-micro), border-color 320ms var(--ease-micro);
}

.cat-chip-label {
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  max-width: 84px;
}

/* -------------------------------------------------------------------------- */
/* Filters                                                                     */
/* -------------------------------------------------------------------------- */

.filters {
  top: calc(var(--header-h) + 0.85rem);
  background: rgba(16, 16, 20, 0.88);
  border: 1px solid rgba(242, 238, 230, 0.08);
  border-radius: 16px;
  padding: 1.15rem 1.1rem 1.2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.filters-head h2,
.catalog-toolbar h2,
.related h2 {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.field {
  gap: 0.42rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.field > span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.field select,
.field input {
  border: 1px solid rgba(242, 238, 230, 0.1);
  border-radius: 8px;
  padding: 0.62rem 0.7rem;
  background: #0c0c10;
  color: var(--ink);
  transition:
    border-color 250ms var(--ease-micro),
    box-shadow 250ms var(--ease-micro),
    background 250ms var(--ease-micro);
}

.field select:hover,
.field input:hover {
  border-color: rgba(232, 213, 163, 0.28);
}

.field select:focus,
.field input:focus {
  outline: none;
  border-color: rgba(232, 213, 163, 0.5);
  box-shadow: 0 0 0 3px rgba(232, 213, 163, 0.1);
  background: #101014;
}

.field input::placeholder {
  color: rgba(242, 238, 230, 0.32);
}

#clearFilters {
  color: var(--muted);
}

#clearFilters:hover {
  color: var(--gold);
}

.catalog-toolbar {
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(242, 238, 230, 0.06);
}

/* -------------------------------------------------------------------------- */
/* Product cards                                                               */
/* -------------------------------------------------------------------------- */

.product-grid {
  grid-template-columns: repeat(auto-fill, minmax(164px, 1fr));
  gap: 0.55rem;
  transition: opacity 320ms var(--ease-lux);
}

.product-grid.is-loading {
  opacity: 0.42;
  pointer-events: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #121216;
  border: 1px solid rgba(242, 238, 230, 0.07);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  transition:
    transform 280ms var(--ease-micro),
    box-shadow 280ms var(--ease-micro),
    border-color 280ms var(--ease-micro);
  animation: riseIn 0.45s var(--ease-lux) both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 213, 163, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.card-media {
  aspect-ratio: 1 / 1;
  background: #1b1b21;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.4rem;
  transform: scale(1);
  transition:
    transform 400ms var(--ease-lux),
    opacity 450ms var(--ease-lux),
    filter 450ms var(--ease-lux);
}

.js .card-media img:not(.is-loaded) {
  opacity: 0;
  filter: blur(6px);
  animation: imgRevealFallback 0.45s var(--ease-lux) 1.8s forwards;
}

.js .card-media img.is-loaded {
  opacity: 1;
  filter: blur(0);
  animation: none;
}

.product-card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.5rem 0.55rem 0.6rem;
  gap: 0.18rem;
}

.card-cat {
  margin: 0.1rem 0 0;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  order: 3;
}

.card-title {
  order: 1;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 550;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0;
  color: var(--ink-soft);
}

.card-title a {
  background-image: none;
}

.card-title a:hover {
  color: var(--gold);
  background-size: 0;
}

.card-meta {
  order: 2;
  margin-top: 0.15rem;
  align-items: baseline;
  gap: 0.35rem;
}

.card-price {
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #f4ead2;
}

.card-brand {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 46%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-state {
  border-color: rgba(232, 213, 163, 0.18);
  background: rgba(255, 255, 255, 0.02);
  letter-spacing: 0.04em;
}

.load-more-wrap {
  margin-top: 2rem;
}

#loadMore {
  min-width: 210px;
  min-height: 46px;
}

#loadMore.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

#loadMore.is-loading::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(20, 17, 12, 0.25);
  border-top-color: #14110c;
  animation: loadSpin 0.7s linear infinite;
}

@keyframes imgRevealFallback {
  to { opacity: 1; filter: blur(0); }
}

@keyframes loadSpin {
  to { transform: rotate(360deg); }
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                      */
/* -------------------------------------------------------------------------- */

.site-footer {
  margin-top: 1rem;
  padding: 2.1rem 0 2.4rem;
  border-top: 0;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1200px, calc(100% - 2rem));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(232, 213, 163, 0.28), transparent);
}

.footer-inner {
  align-items: baseline;
  gap: 1rem 2.5rem;
  padding-top: 0.35rem;
}

.footer-copy {
  display: grid;
  gap: 0.35rem;
}

.footer-copy p {
  margin: 0;
  letter-spacing: 0.02em;
}

.footer-copy strong {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  color: var(--ink);
}

.footer-inner .muted {
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

/* -------------------------------------------------------------------------- */
/* Product / checkout / cart polish                                            */
/* -------------------------------------------------------------------------- */

.back-link {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  transition: color 250ms var(--ease-micro), transform 250ms var(--ease-micro);
}

.back-link:hover {
  transform: translateX(-2px);
}

.product-detail {
  background: rgba(16, 16, 20, 0.9);
  border-color: rgba(242, 238, 230, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.product-detail .gallery-main {
  background:
    radial-gradient(circle at 30% 20%, rgba(232, 213, 163, 0.06), transparent 50%),
    linear-gradient(160deg, #1c1c22, #101014);
}

.detail-copy h1 {
  letter-spacing: -0.03em;
}

.detail-price {
  letter-spacing: -0.03em;
}

.cart-drawer-panel {
  background: #101014;
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
}

.cart-drawer-head h2,
.checkout-head h1 {
  letter-spacing: -0.03em;
}

.checkout-card {
  background: rgba(16, 16, 20, 0.92);
  border-color: rgba(242, 238, 230, 0.08);
}

.checkout-form input,
.checkout-form textarea {
  transition: border-color 250ms var(--ease-micro), box-shadow 250ms var(--ease-micro);
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: rgba(232, 213, 163, 0.5);
  box-shadow: 0 0 0 3px rgba(232, 213, 163, 0.1);
}

/* -------------------------------------------------------------------------- */
/* Focus / a11y                                                                */
/* -------------------------------------------------------------------------- */

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid rgba(232, 213, 163, 0.55);
  outline-offset: 3px;
}

.search-form input:focus-visible {
  outline: none;
}

.cat-chip:focus-visible,
.btn:focus-visible,
.cart-toggle:focus-visible,
.pl-subchip:focus-visible {
  outline: 2px solid rgba(232, 213, 163, 0.55);
  outline-offset: 3px;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                  */
/* -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .header-inner {
    gap: 0.75rem 1rem;
  }

  .hero {
    padding: 1.6rem 0 1rem;
  }

  .hero-grid {
    min-height: auto;
    gap: 1.1rem;
  }

  .hero-visual {
    min-height: 160px;
  }

  .hero-lead {
    max-width: 42ch;
  }

  .filters.is-open {
    animation: riseIn 0.45s var(--ease-lux) both;
    margin-bottom: 1.15rem;
  }

  .btn,
  .cart-toggle,
  .filters-toggle {
    min-height: 44px;
  }

  .cart-toggle-label {
    font-size: 0.7rem;
  }
}

@media (max-width: 560px) {
  .hero-brand-line {
    font-size: clamp(2.35rem, 12.5vw, 3.5rem);
    line-height: 0.92;
  }

  .hero-kicker {
    letter-spacing: 0.22em;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .hero-cta .btn {
    min-width: 0;
    flex: 1 1 calc(50% - 0.5rem);
  }
  }

  .card-body {
    padding: 0.7rem 0.7rem 0.8rem;
  }

  .card-price {
    font-size: 0.95rem;
  }

  .header-meta {
    font-size: 0.72rem;
  }
}

@media (max-width: 390px) {
  .shell {
    width: min(1200px, calc(100% - 1.25rem));
  }

  .cat-chip {
    min-width: 84px;
    min-height: 96px;
  }
}

/* -------------------------------------------------------------------------- */
/* Reduced motion                                                              */
/* -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .page-home .hero-kicker,
  .page-home .hero-brand-line,
  .page-home .hero-lead,
  .page-home .hero-cta,
  .page-home .hero-visual,
  .hero-orb,
  .hero-stamp,
  .product-card,
  #loadMore.is-loading::before {
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .js .reveal-on-scroll,
  .js .card-media img:not(.is-loaded),
  .js .card-media img.is-loaded {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .btn:hover,
  .product-card:hover,
  .cat-chip:hover,
  .brand:hover {
    transform: none;
  }

  .product-card:hover .card-media img,
  .cat-chip:hover .cat-chip-icon {
    transform: none;
  }

  .btn-primary:hover {
    transform: none;
  }
}
