:root {
  color-scheme: dark;
  /* Componentes RGB: permiten invertir los rellenos y bordes translucidos
     cuando el cliente tiene el sistema en modo dia. */
  --ink-rgb: 244, 240, 232;
  --tint-rgb: 255, 255, 255;
  --bg: #10110f;
  --panel: #181a17;
  --panel-2: #23251f;
  --ink: #f4f0e8;
  --muted: #c8c1b6;
  --dim: #89857c;
  --line: rgba(var(--ink-rgb), 0.14);
  --steel: #9da7a8;
  --ember: #f06a2f;
  --red: #bf352e;
  --green: #7aa35a;
  --blue: #4786a3;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body.cart-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(16, 17, 15, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(var(--ink-rgb), 0.06);
}

.site-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-tabs a.active,
.site-tabs a:hover {
  color: var(--bg);
  background: var(--paper);
}

.menu-trigger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(var(--ink-rgb), 0.06);
  font-size: 1.2rem;
  cursor: pointer;
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  justify-self: start;
  position: relative;
  font-weight: 850;
  text-transform: lowercase;
}

.brand-logo {
  display: block;
  width: 82px;
  height: 68px;
  object-fit: contain;
  transition: transform 180ms ease, filter 180ms ease;
}

.brand:hover .brand-logo {
  transform: scale(1.04) rotate(-1deg);
  filter: drop-shadow(0 0 18px rgba(240, 106, 47, 0.28));
}

.brand-logo:not([src]),
.brand-logo[src=""] {
  display: none;
}

.brand-fallback {
  display: none;
  place-items: center;
  width: 82px;
  height: 68px;
  border: 1px solid rgba(var(--ink-rgb), 0.3);
  color: var(--ink);
  background: rgba(var(--ink-rgb), 0.08);
  font-weight: 950;
  letter-spacing: 0;
}

.brand-logo + .brand-fallback {
  display: grid;
}

.brand-logo[src] + .brand-fallback {
  display: none;
}

nav {
  justify-self: center;
  color: var(--muted);
  font-size: 0.94rem;
}

nav a {
  padding: 8px 4px;
}

nav a:hover {
  color: var(--ink);
}

.customer-page .topbar {
  background:
    linear-gradient(90deg, rgba(42, 50, 46, 0.94), rgba(54, 56, 51, 0.94)),
    radial-gradient(circle at 18% 50%, rgba(240, 106, 47, 0.28), transparent 28%);
  border-bottom-color: rgba(240, 106, 47, 0.32);
}

.customer-brand-logo {
  width: 86px;
  height: 76px;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.34));
}

.rich-nav {
  gap: 4px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
}

.nav-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  color: rgba(var(--ink-rgb), 0.78);
  font-weight: 800;
  white-space: nowrap;
}

.nav-title::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-item:hover .nav-title,
.nav-item:focus-within .nav-title,
.nav-item.is-open .nav-title {
  color: var(--ink);
}

.nav-item:hover .nav-title::after,
.nav-item:focus-within .nav-title::after,
.nav-item.is-open .nav-title::after {
  transform: scaleX(1);
}

.nav-submenu {
  position: absolute;
  z-index: 45;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  gap: 4px;
  min-width: 210px;
  padding: 10px;
  border: 1px solid rgba(240, 106, 47, 0.26);
  border-radius: 8px;
  background: rgba(20, 21, 18, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu,
.nav-item.is-open .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-submenu a {
  display: flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  color: var(--ink);
  background: rgba(240, 106, 47, 0.16);
}

.cart-trigger {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(var(--ink-rgb), 0.07);
  cursor: pointer;
}

.top-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(var(--ink-rgb), 0.04);
  cursor: pointer;
}

.login-trigger:hover {
  color: var(--ink);
  border-color: rgba(var(--ink-rgb), 0.32);
}

.wishlist-trigger {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(var(--ink-rgb), 0.04);
}

.wishlist-trigger img {
  width: 20px;
  height: 20px;
  filter: invert(1);
  opacity: 0.8;
}

.wishlist-trigger:hover,
.wishlist-trigger.active {
  border-color: rgba(240, 106, 47, 0.72);
  background: rgba(240, 106, 47, 0.14);
}

.wishlist-trigger:hover img,
.wishlist-trigger.active img {
  opacity: 1;
}

.account-menu {
  position: relative;
}

.account-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(var(--ink-rgb), 0.04);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.account-menu summary::-webkit-details-marker {
  display: none;
}

.account-menu summary::after {
  content: "⌄";
  margin-left: 8px;
  color: var(--ember);
  font-size: 0.9rem;
}

.account-menu[open] summary,
.account-menu summary:hover {
  color: var(--ink);
  border-color: rgba(var(--ink-rgb), 0.32);
}

.account-dropdown {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: 4px;
  width: 210px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #141512;
  box-shadow: var(--shadow);
}

.account-dropdown a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
}

.account-dropdown a:hover {
  color: var(--ink);
  background: rgba(var(--ink-rgb), 0.08);
}

.cart-trigger strong {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  color: #111;
  background: var(--ember);
  font-size: 0.82rem;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 94vh;
  overflow: hidden;
  padding: 116px clamp(18px, 5vw, 72px) 56px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 42%, rgba(240, 106, 47, 0.18), transparent 26%),
    radial-gradient(circle at 72% 18%, rgba(71, 134, 163, 0.1), transparent 24%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 17, 15, 0.96) 0%, rgba(16, 17, 15, 0.78) 43%, rgba(16, 17, 15, 0.34) 76%),
    linear-gradient(0deg, var(--bg), transparent 36%);
}

.hero-video-stack,
.hero-video,
.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-stack {
  overflow: hidden;
}

/* Imagen de fondo siempre presente y con vida (liviana, corre en cualquier equipo) */
.hero-fallback {
  display: block;
  transform: scale(1.06);
  animation: heroKenBurns 26s ease-in-out infinite alternate;
  will-change: transform;
}

/* El video solo se muestra cuando JS lo activa en equipos capaces. Sin filtros.
   Capa GPU propia para reproduccion fluida (estilo GoPro). */
.hero-video {
  display: none;
  opacity: 0;
  transition: opacity 800ms ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: opacity;
}

.hero-video.is-ready {
  display: block;
  opacity: 1;
}

/* Con video activo, la imagen de fondo deja de animarse (no compiten por la GPU) */
.hero.hero-has-video .hero-fallback {
  animation: none;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.16) translate3d(-2%, -1.5%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fallback {
    animation: none;
    transform: scale(1.06);
  }
  .hero::before {
    animation: none;
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  animation: heroRise 680ms ease both;
}

.hero-logo {
  width: min(280px, 46vw);
  max-height: 220px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.58));
  animation: logoHit 820ms ease both;
}

.hero-kicker {
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 10px;
  border: 1px solid rgba(240, 106, 47, 0.54);
  border-radius: 999px;
  color: var(--ember);
  background: rgba(16, 17, 15, 0.72);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(3.8rem, 9vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.brand-hero-title {
  max-width: 10ch;
  text-transform: uppercase;
  font-size: clamp(4rem, 10vw, 8.8rem);
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.66);
}

.hero-punch {
  margin: 12px 0 0;
  color: var(--ember);
  font-size: clamp(1.5rem, 3.1vw, 3.25rem);
  font-weight: 950;
  line-height: 0.98;
  text-transform: uppercase;
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.58);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.12;
}

.lede {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-button {
  min-height: 52px;
  padding-inline: 22px;
  font-weight: 950;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid rgba(var(--ink-rgb), 0.16);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(16, 17, 15, 0.58);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-proof strong {
  color: var(--ink);
}

.hero-search {
  display: grid;
  gap: 8px;
  width: min(620px, 100%);
  margin-top: 18px;
  color: var(--muted);
  font-weight: 850;
}

.hero-search span {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.hero-search input {
  min-height: 48px;
  border-color: rgba(var(--ink-rgb), 0.26);
  background: rgba(16, 17, 15, 0.84);
}

.hero-search button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ember);
  border-radius: 6px;
  color: #111;
  background: var(--ember);
  font-weight: 900;
  cursor: pointer;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoHit {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroGlow {
  0%,
  100% {
    opacity: 0.74;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 1;
    transform: translate3d(18px, -10px, 0);
  }
}

@keyframes tickerPulse {
  0%,
  100% {
    color: var(--muted);
    background: #141512;
  }
  50% {
    color: var(--ink);
    background: rgba(240, 106, 47, 0.1);
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(var(--ink-rgb), 0.07);
  cursor: pointer;
}

.button.primary {
  border-color: var(--ember);
  color: #111;
  background: var(--ember);
  font-weight: 850;
}

.button.ghost:hover,
.filter:hover {
  border-color: rgba(var(--ink-rgb), 0.34);
  background: rgba(var(--ink-rgb), 0.1);
}

.ticker {
  display: flex;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker span {
  flex: 0 0 25%;
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 18px clamp(16px, 3vw, 36px);
  background: #141512;
  color: var(--muted);
  font-weight: 750;
  animation: tickerPulse 5s ease-in-out infinite;
}

.ticker span:nth-child(2) {
  animation-delay: 500ms;
}

.ticker span:nth-child(3) {
  animation-delay: 1000ms;
}

.ticker span:nth-child(4) {
  animation-delay: 1500ms;
}

.gift-finder {
  padding: 80px clamp(18px, 5vw, 72px) 30px;
}

.persona-visual {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  margin: 24px 0 18px;
  border: 1px solid rgba(var(--ink-rgb), 0.16);
  border-radius: 8px;
  background: #141512;
  isolation: isolate;
}

.persona-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 17, 15, 0.94), rgba(16, 17, 15, 0.52) 48%, rgba(16, 17, 15, 0.12)),
    linear-gradient(0deg, rgba(16, 17, 15, 0.88), transparent 52%);
}

.persona-visual img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.05);
}

.persona-visual div {
  display: grid;
  align-content: end;
  gap: 10px;
  width: min(680px, 100%);
  min-height: 340px;
  padding: 28px;
}

.persona-visual span {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(240, 106, 47, 0.58);
  border-radius: 999px;
  color: var(--ember);
  background: rgba(16, 17, 15, 0.7);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.persona-visual h3 {
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 0.96;
}

.persona-grid,
.persona-carousel {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.persona-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 18px;
  scrollbar-color: var(--ember) rgba(var(--ink-rgb), 0.08);
}

.persona-carousel .persona-card {
  flex: 0 0 min(300px, 82vw);
  scroll-snap-align: start;
}

.persona-card {
  display: grid;
  align-content: space-between;
  gap: 24px;
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-align: left;
  background:
    linear-gradient(160deg, rgba(var(--ink-rgb), 0.08), rgba(var(--ink-rgb), 0.02)),
    var(--panel);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.persona-card:hover {
  border-color: rgba(240, 106, 47, 0.62);
  transform: translateY(-2px);
  background:
    linear-gradient(160deg, rgba(240, 106, 47, 0.18), rgba(var(--ink-rgb), 0.04)),
    var(--panel);
}

.persona-card span {
  font-size: 1.28rem;
  font-weight: 950;
  line-height: 1.05;
}

.persona-card small {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.catalog-section,
.submit-section,
.seller-section {
  padding: 80px clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.stacked-heading {
  display: block;
  max-width: 880px;
}

.filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 14px;
}

.filter {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--panel);
  cursor: pointer;
}

.filter.active {
  color: #111;
  border-color: var(--steel);
  background: var(--steel);
  font-weight: 850;
}

.search-field {
  display: grid;
  gap: 8px;
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--muted);
  font-weight: 800;
}

.search-field input {
  min-height: 50px;
  border-color: rgba(var(--ink-rgb), 0.22);
  background: #11120f;
}

.empty-results {
  margin: 22px 0 0;
  padding: 18px;
  border: 1px dashed rgba(var(--ink-rgb), 0.24);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(var(--ink-rgb), 0.04);
  font-weight: 800;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.product-visual {
  min-height: 180px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 20%, rgba(240, 106, 47, 0.22), transparent 34%),
    linear-gradient(135deg, #2d302a, #131411);
  border-bottom: 1px solid var(--line);
}

.product-visual-photo {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background: #151613;
}

.product-visual-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 17, 15, 0.22), transparent 46%);
  pointer-events: none;
}

.product-visual-photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.product-card:hover .product-visual-photo img {
  transform: scale(1.04);
}

.product-card:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 4px;
}

.product-visual-aseo {
  background:
    radial-gradient(circle at 72% 18%, rgba(71, 134, 163, 0.3), transparent 34%),
    linear-gradient(135deg, #253136, #111411);
}

.product-visual-herramientas {
  background:
    radial-gradient(circle at 68% 18%, rgba(157, 167, 168, 0.32), transparent 34%),
    linear-gradient(135deg, #30332f, #121310);
}

.product-visual-copete {
  background:
    radial-gradient(circle at 70% 20%, rgba(191, 53, 46, 0.28), transparent 34%),
    linear-gradient(135deg, #352421, #131210);
}

.product-visual-parrilla {
  background:
    radial-gradient(circle at 70% 20%, rgba(240, 106, 47, 0.28), transparent 34%),
    linear-gradient(135deg, #332b25, #131411);
}

.product-visual-auto {
  background:
    radial-gradient(circle at 72% 18%, rgba(122, 163, 90, 0.26), transparent 34%),
    linear-gradient(135deg, #253025, #111411);
}

.product-visual-viral {
  background:
    radial-gradient(circle at 72% 18%, rgba(240, 106, 47, 0.3), transparent 30%),
    linear-gradient(135deg, #2f2f37, #121214);
}

.product-visual span {
  width: 110px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid rgba(var(--ink-rgb), 0.28);
  color: var(--ink);
  background: rgba(0, 0, 0, 0.22);
  font-size: 2rem;
  font-weight: 950;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.product-body {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--dim);
  font-size: 0.86rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(122, 163, 90, 0.16);
  color: #b8d28e;
  font-weight: 800;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.product-card .gift-note {
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 800;
}

.product-card .market-note {
  padding: 10px 12px;
  border: 1px solid rgba(240, 106, 47, 0.26);
  border-radius: 6px;
  color: #e8c18b;
  background: rgba(240, 106, 47, 0.08);
  font-size: 0.84rem;
  font-weight: 800;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  align-self: end;
}

.price {
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 950;
}

.mini-button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(240, 106, 47, 0.58);
  border-radius: 6px;
  color: var(--ember);
  background: transparent;
  cursor: pointer;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.58);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 58;
  background: rgba(0, 0, 0, 0.62);
}

.login-modal {
  position: fixed;
  z-index: 60;
  top: 50%;
  left: 50%;
  display: grid;
  gap: 18px;
  width: min(460px, calc(100vw - 28px));
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #141512;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.login-modal[aria-hidden="true"] {
  display: none;
}

.login-modal h2 {
  font-size: 2.4rem;
}

.login-modal p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.promo-modal {
  position: fixed;
  z-index: 60;
  top: 50%;
  left: 50%;
  display: grid;
  gap: 14px;
  width: min(440px, calc(100vw - 28px));
  padding: 26px;
  border: 1px solid rgba(240, 106, 47, 0.5);
  border-radius: 8px;
  background: #141512;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.promo-modal[aria-hidden="true"] {
  display: none;
}

.promo-modal h2 {
  font-size: 2.2rem;
}

.promo-modal p,
.promo-modal small {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.promo-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.modal-close {
  justify-self: end;
}

.login-form {
  display: grid;
  gap: 12px;
}

.provider-access-link {
  display: inline-flex;
  justify-content: center;
  min-height: 42px;
  align-items: center;
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
}

.google-button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(var(--ink-rgb), 0.08);
  font-weight: 850;
  cursor: pointer;
}

.cart-drawer {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(460px, 100vw);
  height: 100vh;
  border-left: 1px solid var(--line);
  background: #131410;
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.48);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.cart-drawer[aria-hidden="false"] {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  font-size: 2.2rem;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.cart-item-info {
  display: grid;
  gap: 6px;
}

.cart-item-info span {
  color: var(--dim);
  font-size: 0.88rem;
}

.quantity-control {
  display: grid;
  grid-template-columns: 34px 34px 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.quantity-control button,
.quantity-control span {
  display: grid;
  place-items: center;
  min-height: 34px;
}

.quantity-control button {
  border: 0;
  color: var(--ink);
  background: rgba(var(--ink-rgb), 0.05);
  cursor: pointer;
}

.cart-empty {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 32px;
  color: var(--muted);
  text-align: center;
}

.cart-empty strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.cart-summary {
  display: grid;
  gap: 12px;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: #10110f;
}

.cart-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cart-summary strong {
  font-size: 1.6rem;
}

.cart-summary small {
  color: var(--dim);
}

.checkout-button {
  width: 100%;
}

.checkout-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.brand-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
  padding: 86px clamp(18px, 5vw, 72px);
  background: #e9e3d7;
  color: #161612;
}

.brand-strip .eyebrow {
  color: var(--red);
}

.seller-section {
  background: #161612;
}

.seller-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: end;
  padding: 150px clamp(18px, 5vw, 72px) 72px;
  background: #161612;
}

.seller-hero h1 {
  max-width: 900px;
  color: var(--paper);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.94;
}

.seller-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.seller-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.seller-hero aside {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.seller-hero aside strong {
  color: var(--paper);
  font-size: 1.25rem;
}

.seller-hero aside span,
.seller-hero aside small {
  color: var(--muted);
}

.seller-section .section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.5;
}

.seller-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.seller-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.seller-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
}

.seller-form label:has(textarea),
.seller-form button {
  grid-column: 1 / -1;
}

.seller-access-preview {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.seller-access-preview span,
.seller-access-preview small {
  color: var(--muted);
}

.seller-access-preview strong {
  color: var(--paper);
}

.seller-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 72px) 80px;
  background: #161612;
}

.seller-benefits article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.seller-benefits span {
  color: var(--ember);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.seller-benefits h2 {
  margin: 10px 0;
  color: var(--paper);
  font-size: 1.35rem;
}

.seller-benefits p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.seller-contact-block {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.seller-contact-block h2 {
  color: var(--paper);
  font-size: 1.45rem;
}

.seller-contact-block p {
  max-width: 720px;
}

.policy-page {
  padding-top: 138px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 72px) 72px;
}

.policy-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.policy-grid h2 {
  margin-bottom: 10px;
  color: var(--paper);
  font-size: 1.25rem;
}

.policy-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.customer-page {
  background: #f6f6f8;
  color: #161612;
}

.customer-main {
  padding-top: 88px;
}

.customer-banner {
  padding: 34px clamp(18px, 5vw, 72px) 30px;
  background:
    linear-gradient(rgba(var(--tint-rgb), 0.82), rgba(var(--tint-rgb), 0.82)),
    radial-gradient(circle at 20% 20%, rgba(240, 106, 47, 0.16), transparent 18%),
    radial-gradient(circle at 80% 30%, rgba(var(--ink-rgb), 0.6), transparent 20%);
  border-bottom: 1px solid #e7e7e7;
}

.customer-banner h1 {
  max-width: 780px;
  color: #161612;
  font-size: clamp(2rem, 4vw, 3rem);
}

.customer-banner p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 10px;
  color: #626262;
  line-height: 1.5;
}

.customer-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 42px clamp(18px, 5vw, 72px) 70px;
}

.customer-menu {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
}

.customer-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #303030;
  font-weight: 800;
}

.customer-menu a.active,
.customer-menu a:hover {
  background: #f1f1f1;
}

.account-dropdown a.active,
.customer-menu a.active {
  color: #111;
}

.customer-menu img {
  width: 24px;
  height: 24px;
}

.customer-content {
  display: grid;
  gap: 18px;
  padding: 8px 0;
}

.customer-view {
  display: none;
  gap: 18px;
}

.customer-view.active {
  display: grid;
}

.customer-content-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.customer-content-head h2 {
  color: #161612;
  font-size: 1.65rem;
}

.customer-content-head button,
.customer-card-grid button,
.customer-form button,
.wishlist-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: fit-content;
  padding: 9px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  color: #141414;
  background: #fff;
  font-weight: 850;
  cursor: pointer;
}

.customer-content-head button:hover,
.customer-card-grid button:hover,
.customer-form button:hover,
.wishlist-grid a:hover,
.customer-card-grid button.selected {
  color: #fff;
  border-color: #111;
  background: #111;
}

.customer-stats,
.customer-card-grid,
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.customer-stats article,
.customer-card-grid article,
.wishlist-grid article,
.order-detail {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  background: #fff;
}

.customer-card-grid article,
.order-detail {
  align-content: start;
}

.customer-stats span,
.customer-card-grid span,
.wishlist-grid span,
.order-detail span {
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-stats strong {
  color: #111;
  font-size: 1.8rem;
}

.customer-stats small,
.customer-card-grid p,
.wishlist-grid p,
.order-detail p,
.order-detail small {
  color: #686868;
  line-height: 1.45;
}

.customer-card-grid h3,
.wishlist-grid h3,
.order-detail h3 {
  color: #161612;
  font-size: 1.2rem;
}

.customer-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  background: #fff;
}

.customer-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.customer-table th,
.customer-table td {
  padding: 18px 16px;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
  color: #6b6b6b;
}

.customer-table th {
  color: #303030;
  font-size: 0.95rem;
}

.customer-table td:first-child,
.customer-table strong {
  color: #161612;
  font-weight: 900;
}

.customer-table button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #000;
  font-weight: 850;
  cursor: pointer;
}

.customer-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  background: #fff;
}

.customer-form label {
  display: grid;
  gap: 8px;
  color: #525252;
  font-weight: 850;
}

.customer-form input,
.customer-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 10px 12px;
  color: #161612;
  background: #fafafa;
}

.customer-form button {
  align-self: end;
}

.customer-status {
  min-height: 24px;
  color: #2f6f35;
  font-weight: 850;
}

.wishlist-shell {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px clamp(18px, 5vw, 72px) 80px;
}

.compact-wishlist-banner h1 {
  max-width: none;
}

.direct-wishlist-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.login-page {
  min-height: 100vh;
}

.login-gate {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px;
}

.login-gate-brand {
  margin-bottom: 18px;
}

.login-gate-card {
  display: grid;
  gap: 14px;
  width: min(480px, 100%);
  padding: 28px;
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

.login-gate-card h1 {
  max-width: none;
  color: #161612;
  font-size: clamp(2rem, 5vw, 3rem);
}

.login-gate-card p {
  color: #626262;
  line-height: 1.5;
}

.login-gate-card form {
  display: grid;
  gap: 12px;
}

.login-gate-card label {
  display: grid;
  gap: 8px;
  color: #525252;
  font-weight: 850;
}

.login-gate-card input {
  min-height: 44px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 10px 12px;
}

.login-gate-card button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #111;
  font-weight: 900;
  cursor: pointer;
}

.login-gate-card a {
  color: #525252;
  font-weight: 850;
}

.reviews-page {
  background: #f6f6f8;
  color: #161612;
}

.reviews-main {
  padding-top: 88px;
}

.reviews-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: end;
  padding: 58px clamp(18px, 5vw, 72px) 38px;
  border-bottom: 1px solid #e2e2e2;
  background: #fff;
}

.reviews-hero h1 {
  max-width: 980px;
  color: #161612;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.96;
}

.reviews-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 16px;
  color: #626262;
  line-height: 1.55;
}

.review-score-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 14px;
  color: #fff;
  background: #161612;
}

.review-score-card span,
.review-wall span,
.provider-review-grid span {
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.review-score-card strong {
  font-size: 2.8rem;
}

.review-score-card small {
  color: var(--muted);
  line-height: 1.45;
}

.review-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: #dcdcdc;
}

.review-metrics article {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: #fff;
}

.review-metrics span {
  color: #111;
  font-size: 2rem;
  font-weight: 950;
}

.review-metrics small {
  color: #626262;
  font-weight: 800;
}

.review-band {
  display: grid;
  gap: 22px;
  padding: 56px clamp(18px, 5vw, 72px);
}

.review-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.review-wall article,
.provider-review-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  background: #fff;
}

.review-wall strong {
  color: #111;
  letter-spacing: 0;
}

.review-wall p,
.provider-review-grid p,
.review-submit p {
  color: #626262;
  line-height: 1.5;
}

.provider-proof {
  background: #fff;
}

.provider-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.provider-review-grid h3 {
  color: #161612;
  font-size: 1.35rem;
}

.review-submit {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr);
  gap: 28px;
  padding: 56px clamp(18px, 5vw, 72px) 76px;
}

.review-submit h2 {
  max-width: 720px;
  color: #161612;
  font-size: clamp(2rem, 4vw, 3rem);
}

.review-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  background: #fff;
}

.review-form label {
  display: grid;
  gap: 8px;
  color: #525252;
  font-weight: 850;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 10px 12px;
  color: #161612;
  background: #fafafa;
}

.review-form button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #111;
  font-weight: 900;
  cursor: pointer;
}

.about-page {
  background: #161612;
  min-height: 100vh;
}

.about-hero {
  padding: 150px clamp(18px, 5vw, 72px) 70px;
}

.about-hero h1 {
  max-width: 1000px;
  color: var(--paper);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.94;
}

.about-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 72px) 82px;
}

.about-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.about-grid span {
  color: var(--ember);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.about-grid h2 {
  margin: 10px 0;
  color: var(--paper);
  font-size: 1.35rem;
}

.about-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.brand-copy p {
  margin: 0 0 26px;
  max-width: 720px;
  color: #434139;
  font-size: 1.12rem;
  line-height: 1.55;
}

dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

dl div {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(22, 22, 18, 0.16);
  border-radius: 8px;
}

dt {
  font-size: 2rem;
  font-weight: 950;
}

dd {
  margin: 8px 0 0;
  color: #555149;
  line-height: 1.4;
}

.idea-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 960px;
}

.idea-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
}

.idea-form label:has(textarea),
.idea-form .file-field {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--panel-2);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ember);
}

.file-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-drop {
  display: grid;
  gap: 6px;
  min-height: 96px;
  align-content: center;
  padding: 18px;
  border: 1px dashed rgba(var(--ink-rgb), 0.28);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(var(--ink-rgb), 0.04);
  cursor: pointer;
}

.file-drop strong {
  color: var(--ink);
}

.file-drop small {
  color: var(--dim);
  line-height: 1.35;
}

.file-field:focus-within .file-drop,
.file-drop:hover {
  border-color: var(--ember);
}

.form-status {
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--dim);
}

footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

footer div {
  display: grid;
  gap: 4px;
}

footer nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

footer a {
  color: var(--muted);
  font-weight: 750;
}

.product-page {
  min-height: 100vh;
}

.product-detail-page {
  padding: 122px clamp(18px, 5vw, 72px) 70px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 850;
}

.back-link:hover {
  color: var(--ink);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: stretch;
}

.product-detail-gallery {
  display: grid;
  place-items: center;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 20%, rgba(240, 106, 47, 0.2), transparent 34%),
    linear-gradient(135deg, #282b25, #121310);
}

.product-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-gallery span {
  width: 160px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid rgba(var(--ink-rgb), 0.28);
  font-size: 3rem;
  font-weight: 950;
}

.product-detail-info {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 10px 0;
}

.product-detail-info h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
}

.product-detail-description {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.55;
}

.product-detail-price,
.detail-panels {
  display: grid;
  gap: 12px;
}

.product-detail-price {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.product-detail-price span,
.detail-panels span {
  color: var(--dim);
  font-weight: 800;
}

.product-detail-price strong {
  font-size: 2.6rem;
}

.detail-panels {
  grid-template-columns: repeat(2, 1fr);
}

.detail-panels div {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(var(--ink-rgb), 0.04);
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-bottom {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 60px;
}

.product-bottom div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.product-bottom h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.product-bottom p:last-child {
  color: var(--muted);
  line-height: 1.5;
}

.reviews-section,
.reviews-community,
.contact-page {
  padding: 70px clamp(18px, 5vw, 72px);
}

.compact-contact {
  padding-top: 128px;
}

.contact-heading {
  max-width: 680px;
  margin-bottom: 24px;
}

.contact-heading h1 {
  max-width: none;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.contact-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.reviews-grid,
.reviews-community-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reviews-grid article,
.reviews-community-grid article,
.contact-grid > * {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.reviews-grid p,
.reviews-community-grid p,
.contact-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.reviews-grid span,
.contact-grid span {
  display: block;
  color: var(--dim);
  margin-top: 10px;
}

.reviews-community-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.whatsapp-button {
  margin-top: 18px;
}

.reviews-community-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
}

.review-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.social-links {
  display: grid;
  gap: 10px;
}

.social-links a {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(var(--ink-rgb), 0.04);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.5fr);
}

.standalone-page {
  padding-top: 96px;
}

.catalog-full {
  padding-top: 46px;
}

.catalog-actions {
  margin-top: 22px;
}

.filter-link {
  text-decoration: none;
}

.checkout-shopify {
  color-scheme: light;
  background: #fff;
  color: #111;
}

.shop-checkout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.55fr);
}

.checkout-main {
  justify-self: end;
  width: min(680px, 100%);
  padding: 34px 38px 60px;
}

.checkout-logo {
  display: block;
  width: 118px;
  margin: 0 auto 22px;
}

.checkout-logo img {
  width: 100%;
  display: block;
}

.checkout-steps {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  color: #686868;
  font-size: 0.9rem;
}

.checkout-steps a {
  color: #005bd3;
}

.shop-form {
  display: grid;
  gap: 14px;
}

.shop-form h1,
.shop-form h2 {
  margin-top: 20px;
  color: #111;
  font-size: 1.55rem;
  line-height: 1.2;
}

.checkout-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.checkout-title-row a,
.checkout-footer-actions a {
  color: #005bd3;
}

.shop-form p {
  color: #6b6b6b;
  margin: 0;
}

.shop-form input,
.shop-form select {
  min-height: 52px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  color: #111;
  background: #fff;
}

.two-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.check-row,
.delivery-tabs,
.shipping-methods label,
.payment-methods label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-row input,
.delivery-tabs input,
.shipping-methods input,
.payment-methods input {
  width: auto;
  min-height: auto;
}

.checkout-choice-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #ded4c5;
  border-radius: 8px;
  background: #fffaf3;
}

.checkout-choice-panel h2 {
  margin-top: 0;
}

.checkout-option-list {
  overflow: hidden;
  border: 1px solid #ded4c5;
  border-radius: 8px;
  background: #fff;
}

.checkout-option-list label {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  padding: 16px;
  cursor: pointer;
}

.checkout-option-list label + label {
  border-top: 1px solid #ded4c5;
}

.checkout-option-list input {
  width: 28px;
  height: 28px;
  min-height: 28px;
  accent-color: #f06a2f;
  flex: 0 0 auto;
}

.checkout-option-list span,
.invoice-fields,
.billing-address-fields {
  display: grid;
  gap: 6px;
}

.checkout-option-list strong {
  font-size: 1.08rem;
}

.checkout-option-list small {
  color: #6b6b6b;
  line-height: 1.35;
}

.invoice-fields,
.billing-address-fields {
  padding-top: 2px;
}

.delivery-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 4px;
  border-radius: 10px;
  background: #f0f0f0;
}

.delivery-tabs label {
  justify-content: center;
  min-height: 50px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.shipping-methods,
.payment-methods {
  display: grid;
  gap: 10px;
}

.shipping-methods label,
.payment-methods label {
  justify-content: space-between;
  padding: 16px;
  border: 1px solid #005bd3;
  border-radius: 8px;
  background: #f4f7ff;
}

.shipping-methods span,
.payment-methods span {
  display: grid;
  gap: 4px;
  flex: 1;
}

.shipping-methods small {
  color: #6b6b6b;
}

.checkout-footer-actions {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
}

.shop-primary {
  min-height: 58px;
  padding: 0 30px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #005bd3;
  font-weight: 850;
  cursor: pointer;
}

.shop-summary {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 44px 42px;
  background: #f5f5f5;
  border-left: 1px solid #dedede;
}

.summary-product {
  display: grid;
  grid-template-columns: 64px auto 1fr auto;
  gap: 14px;
  align-items: start;
}

.summary-product img {
  width: 64px;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.summary-product > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: -24px;
  border-radius: 999px;
  color: #fff;
  background: #111;
  font-size: 0.8rem;
  font-weight: 850;
}

.summary-product small,
.summary-note {
  color: #6b6b6b;
}

.discount-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.discount-row input {
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  color: #111;
  background: #fff;
}

.discount-row button {
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 0 18px;
}

.summary-totals {
  display: grid;
  gap: 12px;
  margin: 0;
}

.summary-totals div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.summary-total {
  padding-top: 12px;
  border-top: 1px solid #d7d7d7;
  font-size: 1.3rem;
  font-weight: 850;
}

.summary-total small {
  color: #6b6b6b;
  font-size: 0.78rem;
}

.ops-page {
  color-scheme: light;
  background: #f7f7f7;
  color: #303030;
}

.ops-login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: #f8fafd;
}

.ops-login-card {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 32px;
  padding: 36px;
  border-radius: 28px;
  background: #fff;
}

.ops-login-brand {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
  text-align: left;
}

.ops-login-brand img {
  width: 74px;
  margin-bottom: 18px;
}

.ops-login-brand h1 {
  margin: 0;
  color: #1f1f1f;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.12;
}

.ops-login-brand p:not(.eyebrow) {
  max-width: 380px;
  margin: 0;
  color: #444746;
  line-height: 1.5;
}

.ops-login-box {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-top: 34px;
  background: #fff;
}

.ops-login-box label {
  display: grid;
  gap: 7px;
  color: #444746;
  font-weight: 650;
}

.ops-login-box input {
  min-height: 54px;
  border: 1px solid #747775;
  border-radius: 4px;
  color: #1f1f1f;
  background: #fff;
}

.ops-login-step {
  display: none;
  gap: 14px;
}

.ops-login-step.active {
  display: grid;
}

.ops-selected-email {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid #c4c7c5;
  border-radius: 999px;
  color: #1f1f1f;
  font-weight: 750;
}

.ops-login-accounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.ops-login-accounts button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  color: #3c4043;
  background: #fff;
  font-weight: 750;
  cursor: pointer;
}

.ops-login-accounts button.active {
  color: #0b57d0;
  border-color: #a8c7fa;
  background: #e8f0fe;
}

.ops-login-note {
  margin: -2px 0 0;
  color: #6d7175;
  font-size: 0.88rem;
  line-height: 1.4;
}

.ops-login-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.ops-login-actions a {
  margin-right: auto;
  color: #2c6ecb;
  font-weight: 800;
}

.ops-login-actions button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #0b57d0;
  font-weight: 850;
  cursor: pointer;
}

#loginBack {
  color: #0b57d0;
  background: transparent;
}

.ops-login-screen[hidden],
.ops-portal[hidden] {
  display: none;
}

.ops-account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ops-account-grid article {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  color: #303030;
  background: #fafafa;
  text-align: left;
}

.ops-account-grid span,
.ops-account-grid small {
  color: #616161;
}

.ops-flow-tree {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fafafa;
}

.ops-flow-tree h2 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.ops-flow-tree ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: #616161;
}

.ops-flow-tree li {
  padding-left: 4px;
}

.ops-flow-tree b {
  display: block;
  color: #303030;
}

.ops-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 240px;
  padding: 14px 12px;
  background: #fff;
  border-right: 1px solid #e5e5e5;
}

.ops-logo img,
.ops-store-switcher img {
  width: 82px;
  display: block;
  margin: 0 auto 18px;
}

.ops-store-switcher {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.ops-store-switcher label {
  display: grid;
  gap: 6px;
  color: #616161;
  font-size: 0.78rem;
  font-weight: 750;
}

.ops-store-switcher select {
  width: 100%;
  min-height: 34px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  color: #303030;
  background: #fff;
}

.ops-sidebar nav,
.ops-sidebar-bottom {
  display: grid;
  align-content: start;
  gap: 4px;
}

.ops-sidebar a {
  display: flex;
  justify-content: space-between;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #303030;
  font-weight: 650;
}

.ops-nav-group {
  display: grid;
  gap: 3px;
  margin: 3px 0;
}

.ops-nav-group button {
  display: flex;
  justify-content: space-between;
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  color: #303030;
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.ops-nav-group button:hover {
  background: #fff;
}

.ops-nav-arrow {
  transition: transform 0.18s ease;
}

.ops-nav-group.is-open .ops-nav-arrow {
  transform: rotate(180deg);
}

.ops-subnav {
  display: none;
  gap: 3px;
}

.ops-nav-group.is-open .ops-subnav {
  display: grid;
}

.ops-subnav a {
  min-height: 28px;
  padding-left: 24px;
  color: #616161;
  font-weight: 650;
}

.ops-sidebar a.active,
.ops-sidebar a:hover {
  background: #f1f1f1;
}

.ops-sidebar span {
  padding: 0 8px;
  border-radius: 999px;
  background: #d1d1d1;
}

.ops-main {
  display: grid;
  gap: 18px;
  padding: 18px 22px 44px 264px;
  background: #f7f7f7;
}

.ops-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ops-welcome h1 {
  max-width: 680px;
  margin-bottom: 8px;
  color: #303030;
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.ops-welcome p {
  max-width: 820px;
  margin: 0;
  color: #616161;
  line-height: 1.55;
}

.ops-welcome aside {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 118px;
  padding: 14px;
  border: 1px solid #cfe7d5;
  border-radius: 8px;
  background: #effaf2;
}

.ops-welcome aside span,
.ops-welcome aside small,
.ops-muted {
  color: #616161;
  font-weight: 750;
}

.ops-welcome aside strong {
  color: #108043;
  font-size: 1.05rem;
}

.ops-top {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  background: #f7f7f7;
}

.ops-top label {
  width: min(520px, 100%);
}

.ops-top span {
  position: absolute;
  opacity: 0;
}

.ops-top input {
  min-height: 38px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  color: #303030;
  background: #fff;
}

.ops-top div {
  display: flex;
  gap: 8px;
}

.ops-top button,
.ops-panel button,
.table-action {
  min-height: 34px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  color: #303030;
  background: #fff;
  font-weight: 750;
  cursor: pointer;
}

.ops-dark {
  color: #fff !important;
  background: #303030 !important;
}

.ops-metrics,
.ops-alerts,
.ops-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ops-metrics article,
.ops-panel,
.ops-alerts a,
.ops-alerts button {
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

.ops-metrics article,
.ops-alerts a,
.ops-alerts button {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
}

.ops-alerts button {
  color: #303030;
  text-align: left;
  cursor: pointer;
}

.ops-view {
  display: none;
  gap: 18px;
}

.ops-view.active {
  display: grid;
}

.ops-command {
  min-height: 78px;
  padding: 18px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  color: #616161;
  background: #fff;
}

.ops-metrics span {
  color: #616161;
  font-weight: 750;
}

.ops-metrics strong {
  font-size: 1.25rem;
}

.ops-metrics small {
  color: #108043;
}

.ops-analytics {
  display: grid;
  gap: 14px;
}

.ops-analytics-head {
  align-items: center;
}

.ops-analytics-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.ops-analytics-controls label {
  display: grid;
  gap: 5px;
  color: #616161;
  font-size: 0.82rem;
  font-weight: 800;
}

.ops-period-presets {
  display: flex;
  align-items: end;
  gap: 6px;
}

.ops-period-presets button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  color: #303030;
  background: #fff;
  font-weight: 850;
  cursor: pointer;
}

.ops-period-presets button.active,
.ops-period-presets button:hover {
  color: #fff;
  border-color: #303030;
  background: #303030;
}

.ops-analytics-controls select,
.ops-analytics-controls input {
  min-height: 36px;
  min-width: 130px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 6px 10px;
  color: #303030;
  background: #fff;
  font: inherit;
  font-weight: 750;
}

.ops-analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 12px;
}

.ops-chart-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 220px;
  padding: 14px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  background: #fafafa;
}

.ops-chart-main {
  grid-row: span 2;
}

.ops-chart-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.ops-chart-title span {
  color: #616161;
  font-weight: 850;
}

.ops-chart-title strong {
  color: #303030;
  text-align: right;
}

.ops-line-chart {
  width: 100%;
  min-height: 240px;
  overflow: visible;
}

.ops-chart-grid-line {
  stroke: #e5e5e5;
  stroke-width: 1;
}

.ops-chart-fill {
  fill: rgba(16, 128, 67, 0.11);
}

.ops-chart-line {
  fill: none;
  stroke: #108043;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ops-chart-dot {
  fill: #108043;
  stroke: #fff;
  stroke-width: 4;
}

.ops-chart-axis {
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 0.82rem;
  font-weight: 750;
}

.ops-bar-list,
.ops-insight-list {
  display: grid;
  gap: 10px;
}

.ops-bar-row {
  display: grid;
  gap: 6px;
}

.ops-bar-row header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #303030;
  font-weight: 850;
}

.ops-bar-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #ececec;
}

.ops-bar-fill {
  display: block;
  height: 100%;
  width: var(--bar-width, 0%);
  border-radius: inherit;
  background: #108043;
}

.ops-bar-list.compact .ops-bar-fill {
  background: #303030;
}

.ops-insight-list article {
  padding: 11px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fff;
}

.ops-insight-list b {
  display: block;
  color: #303030;
  margin-bottom: 4px;
}

.ops-insight-list span {
  color: #616161;
  line-height: 1.4;
}

.ops-alerts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ops-panel {
  padding: 18px;
}

.ops-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 14px;
}

.ops-panel h1,
.ops-panel h2 {
  color: #303030;
  font-size: 1.45rem;
}

.ops-panel h1 {
  font-size: 1.7rem;
}

.ops-panel p {
  color: #616161;
  line-height: 1.5;
}

.ops-table-wrap {
  overflow-x: auto;
}

.ops-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
}

.ops-table th,
.ops-table td {
  padding: 11px 10px;
  border-top: 1px solid #e3e3e3;
  text-align: left;
  white-space: nowrap;
}

.ops-table th {
  color: #616161;
  font-size: 0.82rem;
}

.ops-status-filters,
.ops-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ops-status-filters button.active {
  color: #fff;
  border-color: #303030;
  background: #303030;
}

.ops-task-list,
.ops-question-list {
  display: grid;
  gap: 10px;
}

.ops-task-list button,
.ops-question-list article {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  color: #303030;
  background: #fff;
  text-align: left;
}

.ops-task-list span,
.ops-question-list p {
  margin: 0;
  color: #616161;
}

.ops-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ops-list-grid article {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 14px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fafafa;
}

.ops-list-grid span,
.ops-list-grid small {
  color: #616161;
}

.ops-chat-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
}

.ops-chat-channels,
.ops-chat-box {
  display: grid;
  align-content: start;
  gap: 10px;
}

.ops-chat-channels button {
  justify-content: start;
  text-align: left;
}

.ops-chat-channels button.active {
  color: #fff;
  border-color: #303030;
  background: #303030;
}

.ops-chat-box article {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fafafa;
}

.ops-chat-box p {
  margin: 0;
}

.ops-chat-box label {
  display: grid;
  gap: 8px;
  color: #616161;
  font-weight: 750;
}

.ops-inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.ops-inventory-grid article {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  background: #fafafa;
}

.ops-inventory-grid span {
  color: #616161;
  font-weight: 750;
}

.ops-inventory-grid strong {
  font-size: 1.35rem;
}

.ops-inventory-grid small {
  color: #616161;
}

.ops-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.ops-login-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.ops-login-grid article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fafafa;
}

.ops-login-grid span,
.ops-login-grid small {
  color: #616161;
}

.ops-login-grid strong {
  color: #303030;
  font-size: 1rem;
  word-break: break-word;
}

.ops-config-grid label {
  display: grid;
  gap: 6px;
  color: #616161;
  font-weight: 750;
}

.ops-config-grid input {
  min-height: 38px;
  border: 1px solid #d8d8d8;
  border-radius: 7px;
  color: #303030;
  background: #fff;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 750;
}

.pill.warning {
  background: #ffe1a8;
}

.pill.ok {
  background: #b1f1c1;
}

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

.ops-channel-list {
  display: grid;
  gap: 8px;
}

.ops-channel-list span,
.ops-channel-list a {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  color: #303030;
}

.ops-product-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 120px 110px 120px minmax(180px, 0.8fr) auto;
  gap: 10px;
  margin-bottom: 14px;
}

.ops-product-form[hidden] {
  display: none;
}

.ops-product-form input,
.table-input {
  width: 100%;
  min-height: 34px;
  border: 1px solid #d8d8d8;
  border-radius: 7px;
  color: #303030;
  background: #fff;
}

.table-input.small {
  max-width: 82px;
}

.table-input.small-code {
  max-width: 130px;
}

.table-input.small-price {
  max-width: 110px;
}

.ops-empty {
  margin: 18px 0 0;
  color: #616161;
}

@media (max-width: 1060px) {
  .customer-page .rich-nav {
    display: none;
  }

  .customer-page .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

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

  .ticker,
  .persona-grid,
  dl,
  .product-detail-layout,
  .product-bottom {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail-layout,
  .checkout-layout,
  .admin-grid,
  .customer-shell,
  .customer-stats,
  .customer-card-grid,
  .wishlist-grid,
  .reviews-hero,
  .review-submit {
    grid-template-columns: 1fr;
  }

  .review-wall,
  .review-metrics,
  .provider-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 960px) {
  .topbar {
    position: fixed;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    min-height: auto;
    gap: 10px;
    padding: 10px 12px;
  }

  .customer-page .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .site-tabs {
    display: none;
  }

  .menu-trigger {
    display: grid;
    place-items: center;
    justify-self: start;
  }

  .brand {
    justify-self: center;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    display: none;
    z-index: 30;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #141512;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  .cart-trigger span {
    display: none;
  }

  .login-trigger {
    display: none;
  }

  .top-actions {
    justify-self: end;
  }

  .brand-logo {
    width: 58px;
    height: 52px;
  }

  .customer-brand-logo {
    width: 62px;
    height: 54px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 116px;
  }

  .hero-logo {
    width: min(220px, 62vw);
    max-height: 170px;
  }

  .hero-kicker {
    font-size: 0.72rem;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.4rem, 18vw, 4.8rem);
  }

  .brand-hero-title {
    max-width: 8.5ch;
    font-size: clamp(3.3rem, 17vw, 5rem);
  }

  .hero-punch {
    font-size: clamp(1.35rem, 8vw, 2.25rem);
  }

  .customer-banner h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .customer-banner {
    padding-top: 28px;
  }

  .customer-shell {
    gap: 18px;
    padding-top: 22px;
  }

  .customer-menu {
    border-radius: 14px;
  }

  .customer-content-head,
  .customer-form {
    grid-template-columns: 1fr;
  }

  .lede {
    font-size: 1rem;
  }

  .hero-search span {
    grid-template-columns: 1fr;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(16, 17, 15, 0.94), rgba(16, 17, 15, 0.48)),
      linear-gradient(0deg, var(--bg), transparent 30%);
  }

  .section-heading,
  .brand-strip,
  .seller-hero,
  .seller-layout,
  .idea-form {
    grid-template-columns: 1fr;
  }

  .catalog-grid,
  .ticker,
  .persona-grid,
  dl,
  .customer-shell,
  .about-grid,
  .detail-panels,
  .product-bottom,
  .reviews-community-grid,
  .review-wall,
  .review-metrics,
  .provider-review-grid,
  .direct-wishlist-grid,
  .seller-benefits,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .ticker {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ticker span {
    flex-basis: auto;
    min-height: 58px;
  }

  .reviews-hero h1 {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .reviews-hero,
  .review-band,
  .review-submit {
    padding-left: 18px;
    padding-right: 18px;
  }

  .promo-form {
    grid-template-columns: 1fr;
  }

  .seller-form {
    grid-template-columns: 1fr;
  }

  .seller-contact-block {
    display: grid;
  }

  .product-detail-page {
    padding-top: 96px;
  }

  .checkout-page,
  .admin-shell {
    padding: 96px 18px 56px;
  }

  .product-detail-gallery {
    min-height: 360px;
  }

  .admin-table-head {
    display: grid;
  }

  .ops-sidebar {
    position: static;
    width: auto;
  }

  .ops-main {
    padding: 14px;
  }

  .ops-top {
    display: grid;
  }

  .ops-top div,
  .ops-alerts,
  .ops-metrics,
  .ops-grid,
  .ops-analytics-grid,
  .ops-login-card,
  .ops-welcome,
  .ops-account-grid,
  .ops-login-form,
  .ops-inventory-grid,
  .ops-list-grid,
  .ops-chat-layout,
  .ops-login-grid,
  .ops-config-grid {
    grid-template-columns: 1fr;
  }

  .ops-product-form {
    grid-template-columns: 1fr;
  }

  .ops-analytics-head,
  .ops-chart-title {
    display: grid;
  }

  .ops-analytics-controls {
    justify-content: stretch;
  }

  .ops-analytics-controls label,
  .ops-analytics-controls select,
  .ops-analytics-controls input {
    width: 100%;
  }

  .shop-checkout {
    grid-template-columns: 1fr;
  }

  .shop-summary {
    order: -1;
    border-left: 0;
  }

  .two-fields,
  .contact-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .catalog-section,
  .submit-section,
  .gift-finder,
  .brand-strip {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .product-card {
    min-height: 0;
  }

  footer {
    flex-direction: column;
  }

  footer nav {
    justify-content: flex-start;
  }

  .ops-login-screen {
    padding: 14px;
  }

  .ops-login-card {
    padding: 22px;
  }

  .ops-login-box {
    padding-top: 0;
  }
}

/* ====== Checkout v2: fixes y mapa ====== */

/* El atributo hidden debe ganarle a cualquier display de autor */
[hidden] {
  display: none !important;
}

.shop-form h3 {
  margin: 18px 0 0;
  color: #111;
  font-size: 1.08rem;
}

.delivery-block {
  display: grid;
  gap: 14px;
  padding: 4px 0 2px;
}

.checkout-map {
  height: 280px;
  width: 100%;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  overflow: hidden;
  z-index: 0;
}

.map-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}

.map-search input {
  min-height: 50px;
}

.map-search button {
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #005bd3;
  font-weight: 700;
  cursor: pointer;
}

.map-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: -4px;
}

.map-actions small {
  color: #6b6b6b;
}

.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  color: #005bd3;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.sii-note {
  font-size: 0.85rem;
  color: #8a8a8a;
}

/* Resumen: que nunca se corte de lado */
.shop-summary {
  min-width: 0;
}

.summary-totals dd {
  margin: 0;
  white-space: nowrap;
}

.summary-totals div {
  align-items: baseline;
}

.promo-result {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(240, 106, 47, 0.16);
  color: #f7d9c7;
  font-weight: 600;
}

/* ====== Admin: vista de Productos (estilo panel e-commerce) ====== */
.sh-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e3e3e3;
}
.sh-tab {
  appearance: none;
  border: 0;
  background: none;
  padding: 9px 14px;
  border-radius: 8px 8px 0 0;
  color: #616161;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.sh-tab:hover {
  background: #f3f3f3;
}
.sh-tab.is-active {
  color: #1a1a17;
  border-bottom-color: #f06a2f;
}

.sh-bulkbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding: 10px 14px;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  background: #fbf6ef;
}
.sh-bulkbar strong {
  font-size: 0.9rem;
  color: #1a1a17;
}
.sh-bulk-actions {
  display: flex;
  gap: 8px;
}
.sh-bulk-actions button {
  appearance: none;
  border: 1px solid #d0d0d0;
  background: #fff;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.sh-bulk-actions button:hover {
  border-color: #1a1a17;
}
.sh-bulk-actions .danger {
  color: #b42318;
  border-color: #f1c6c1;
}
.sh-bulk-actions .danger:hover {
  background: #fdeceb;
  border-color: #b42318;
}

.sh-table th {
  font-weight: 600;
}
.sh-table td {
  vertical-align: middle;
}
.sh-col-check {
  width: 36px;
  white-space: nowrap;
}
.sh-col-check input,
.sh-row-check {
  width: 17px;
  height: 17px;
  accent-color: #f06a2f;
  cursor: pointer;
}
.sh-table tbody tr:hover {
  background: #faf9f7;
}

.sh-prod {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sh-thumb {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 9px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.sh-prod-info {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.sh-prod-info strong {
  color: #1a1a17;
  font-size: 0.95rem;
}
.sh-prod-info small {
  color: #8a8a8a;
  font-size: 0.78rem;
}

.sh-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.sh-badge i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}
.sh-ok {
  background: #e7f4ec;
  color: #156a3f;
}
.sh-ok i {
  background: #1f9d57;
}
.sh-warn {
  background: #fbf0d8;
  color: #8a5a00;
}
.sh-warn i {
  background: #e6a317;
}
.sh-off {
  background: #ededed;
  color: #5e5e5e;
}
.sh-off i {
  background: #9a9a9a;
}

.sh-inv.is-low {
  color: #b42318;
  font-weight: 600;
}

.sh-edit {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  transition: border-color 0.15s, background 0.15s;
}
.sh-edit i {
  color: #8a8a8a;
  font-style: normal;
}
.sh-edit input {
  width: 72px;
  border: 0;
  background: transparent;
  color: #1a1a17;
  font: inherit;
  padding: 0;
}
.sh-edit input:focus {
  outline: none;
}
.sh-edit:hover,
.sh-edit:focus-within {
  border-color: #d0d0d0;
  background: #fff;
}

.sh-provider {
  color: #444;
}

.sh-col-action {
  text-align: right;
  width: 96px;
}
.sh-rowbtn {
  appearance: none;
  border: 1px solid #d0d0d0;
  background: #fff;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}
.sh-rowbtn:hover {
  border-color: #1a1a17;
}

/* ====== Marketplace: rating, vendedor y resenas ====== */
.card-rating {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: -2px 0 2px;
  font-size: 0.88rem;
}
.card-rating .stars,
.detail-rating .stars,
.review-head .stars,
.review-score .stars {
  color: #f2b01e;
  letter-spacing: 0.06em;
}
.card-rating strong {
  color: var(--ink, #f4f1ea);
}
.rating-count {
  color: #9a9488;
  font-size: 0.84rem;
}

.card-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.card-trust span {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  background: rgba(var(--tint-rgb), 0.07);
  color: #cfc9bd;
}
.card-trust .ship.free {
  background: rgba(31, 157, 87, 0.18);
  color: #7fd7a4;
  font-weight: 700;
}
.card-trust .low-stock {
  background: rgba(214, 69, 47, 0.18);
  color: #ffab97;
  font-weight: 700;
}

/* --- Ficha de producto --- */
.detail-rating {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 10px;
}
.detail-rating strong {
  font-size: 1.05rem;
}
.rating-link {
  color: #f06a2f;
  font-size: 0.88rem;
}

/* --- Resumen de resenas --- */
.reviews-counter {
  color: #9a9488;
  margin-top: 4px;
}
.reviews-summary {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin: 22px 0 30px;
  padding: 22px;
  border: 1px solid rgba(var(--tint-rgb), 0.1);
  border-radius: 16px;
  background: rgba(var(--tint-rgb), 0.03);
}
.review-score {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}
.review-score strong {
  font-size: 3rem;
  line-height: 1;
}
.review-score .stars {
  font-size: 1.2rem;
}
.review-score small {
  color: #9a9488;
}
.review-bars {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.review-bar {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #9a9488;
}
.bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(var(--tint-rgb), 0.09);
  overflow: hidden;
}
.bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #f2b01e;
}
.bar-count {
  text-align: right;
}
.reviews-empty {
  color: #9a9488;
  margin: 0;
}

/* --- Listado + formulario --- */
.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 26px;
  align-items: start;
}
.reviews-list {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.review-card {
  padding: 16px 18px;
  border: 1px solid rgba(var(--tint-rgb), 0.1);
  border-radius: 14px;
  background: rgba(var(--tint-rgb), 0.03);
}
.review-card p {
  margin: 8px 0 6px;
  line-height: 1.5;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.review-head strong {
  font-size: 0.95rem;
}
.verified {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(31, 157, 87, 0.18);
  color: #7fd7a4;
  font-size: 0.72rem;
  font-weight: 700;
}
.review-date {
  color: #857f74;
  font-size: 0.78rem;
}

.review-form-box {
  position: sticky;
  top: 20px;
  padding: 20px;
  border: 1px solid rgba(var(--tint-rgb), 0.1);
  border-radius: 16px;
  background: rgba(var(--tint-rgb), 0.04);
}
.review-form-box h3 {
  margin: 0 0 4px;
}
.review-form-box > p {
  color: #9a9488;
  font-size: 0.88rem;
  margin: 0 0 14px;
}
.review-form-box form {
  display: grid;
  gap: 12px;
}
.star-picker {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
}
.star-picker legend {
  padding: 0 0 6px;
  font-size: 0.84rem;
  color: #9a9488;
}
.star-picker label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 9px;
  border-radius: 9px;
  cursor: pointer;
}
.star-picker label:hover {
  background: rgba(var(--tint-rgb), 0.06);
}
.star-picker input {
  accent-color: #f06a2f;
}
.star-picker span {
  color: #f2b01e;
  letter-spacing: 0.08em;
}
.star-picker label:has(input:checked) {
  background: rgba(240, 106, 47, 0.16);
}
.review-field {
  display: grid;
  gap: 5px;
  font-size: 0.85rem;
  color: #9a9488;
}
.review-field input[type="text"],
.review-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(var(--tint-rgb), 0.14);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font: inherit;
}
.review-field input[type="text"]:focus,
.review-field textarea:focus {
  outline: none;
  border-color: #f06a2f;
}

@media (max-width: 900px) {
  .reviews-summary,
  .reviews-layout {
    grid-template-columns: 1fr;
  }
  .review-form-box {
    position: static;
  }
}

/* ============================================================
   MODO DIA
   Sigue el ajuste del sistema del cliente. El hero se mantiene oscuro
   siempre porque el texto va sobre el video/foto.
   ============================================================ */
/* ============================================================
   MODO DIA/NOCHE — SOLO PERFIL Y CARRITO
   La web (portada, catalogo, producto) se mantiene SIEMPRE OSCURA: es la
   identidad de la marca. Solo el perfil del cliente (body.customer-page) y el
   checkout (checkout.css) siguen el modo del sistema.
   ============================================================ */
@media (prefers-color-scheme: light) {
  body.customer-page {
    color-scheme: light;
    --ink-rgb: 26, 23, 19;
    --tint-rgb: 20, 18, 14;
    --bg: #f7f4ef;
    --panel: #fffdf9;
    --panel-2: #efeae1;
    --ink: #1a1713;
    --muted: #4f4a43;
    --dim: #7c766c;
    --line: rgba(26, 23, 19, 0.16);
    --shadow: 0 18px 50px rgba(20, 18, 12, 0.1);
  }

  /* El hero va sobre imagen/video: su texto sigue siendo claro */
  body.customer-page .hero,
  body.customer-page .hero-copy,
  body.customer-page .hero-copy h1,
  body.customer-page .hero-copy p,
  body.customer-page .hero .lede,
  body.customer-page .hero-punch,
  body.customer-page .hero-proof span,
  body.customer-page .hero-proof strong,
  body.customer-page .hero-search {
    color: #f4f0e8;
  }
  body.customer-page .hero-proof span {
    background: rgba(16, 17, 15, 0.58);
    border-color: rgba(244, 240, 232, 0.24);
  }
  body.customer-page .hero-kicker {
    background: rgba(16, 17, 15, 0.72);
  }
  body.customer-page .hero-search input {
    color: #f4f0e8;
    background: rgba(16, 17, 15, 0.6);
    border-color: rgba(244, 240, 232, 0.24);
  }
  .hero-search input::placeholder {
    color: rgba(244, 240, 232, 0.6);
  }

  /* Carrito y modales: superficies claras */
  body.customer-page .cart-drawer,
  body.customer-page .login-modal,
  body.customer-page .promo-modal {
    background: var(--panel);
  }
  body.customer-page .cart-overlay,
  body.customer-page .modal-overlay {
    background: rgba(20, 18, 14, 0.5);
  }

  /* Campos de formulario legibles en claro */
  body.customer-page input,
  body.customer-page select,
  body.customer-page textarea {
    color: var(--ink);
  }

  /* Tarjetas de producto */
  body.customer-page .product-card {
    background: var(--panel);
  }

  /* Footer */
  body.customer-page footer {
    background: var(--panel-2);
  }

  /* Barra superior: clara y legible (flota sobre el hero y sobre el contenido) */
  body.customer-page .topbar {
    background: rgba(255, 253, 249, 0.9);
    border-bottom: 1px solid rgba(26, 23, 19, 0.14);
  }
  body.customer-page .topbar a,
  body.customer-page .main-nav a,
  body.customer-page .account-menu summary,
  body.customer-page .cart-trigger {
    color: var(--ink);
  }
  body.customer-page .cart-trigger {
    background: rgba(26, 23, 19, 0.06);
    border-color: rgba(26, 23, 19, 0.16);
  }
  body.customer-page .account-menu summary {
    background: rgba(26, 23, 19, 0.06);
    border-color: rgba(26, 23, 19, 0.16);
  }
  body.customer-page .account-dropdown {
    background: var(--panel);
    border-color: rgba(26, 23, 19, 0.16);
  }
  body.customer-page .menu-trigger {
    color: var(--ink);
  }
  body.customer-page .wishlist-trigger img {
    filter: invert(1) brightness(0.35);
  }

  /* Bloques con texto sobre foto: el texto sigue claro */
  body.customer-page .persona-visual div,
  body.customer-page .persona-visual h3,
  body.customer-page .persona-visual span,
  body.customer-page .brand-strip h2,
  body.customer-page .brand-strip p {
    color: #f4f0e8;
  }
  .persona-visual::after {
    background: linear-gradient(90deg, rgba(16, 17, 15, 0.92) 0%, rgba(16, 17, 15, 0.6) 55%, transparent 85%);
  }
}


/* ============================================================
   CABECERA RESPONSIVE  (auditoria: solapamiento en 390px, nav
   comprimida y carrito fuera de vista en 834px)
   ============================================================ */

/* Tablet y movil: menu compacto, cabecera en una fila que no se solapa */
@media (max-width: 960px) {
  .topbar {
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
    gap: 8px;
    padding: 10px 14px;
  }
  .brand {
    justify-self: center;
    min-width: 0;
  }
  .brand-logo {
    max-height: 42px;
    width: auto;
  }
  .top-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
  }
  /* El carrito SIEMPRE visible: es la accion principal */
  .cart-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 14px;
    white-space: nowrap;
  }
  /* La cuenta se colapsa a icono para no empujar al carrito fuera de pantalla */
  .account-menu summary {
    min-height: 44px;
    padding: 0 12px;
  }
  /* Objetivos tactiles minimos de 44px */
  .menu-trigger,
  .wishlist-trigger {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Telefono: la cuenta pasa a icono, el carrito conserva su lugar */
@media (max-width: 560px) {
  .account-menu summary {
    font-size: 0;
    padding: 0 12px;
    min-width: 44px;
  }
  .account-menu summary::after {
    content: "\1F464";
    font-size: 1rem;
  }
  .wishlist-trigger {
    display: none;
  }
  .cart-trigger strong {
    min-width: 22px;
  }
}

/* Foco visible en todo: teclado, lector de pantalla y TV */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.product-card:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Contador de resultados y estado vacio accionable ---------- */
.search-status {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.clear-search {
  padding: 6px 14px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(var(--ink-rgb), 0.05);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}
.clear-search:hover {
  border-color: var(--ember);
  color: var(--ember);
}

.empty-results {
  display: grid;
  justify-items: start;
  gap: 10px;
  max-width: 520px;
  margin: 24px 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(var(--ink-rgb), 0.04);
}
.empty-results strong {
  font-size: 1.25rem;
}
.empty-results p {
  margin: 0;
  color: var(--muted);
}

/* ============================================================
   REDISENO MARKETPLACE 1 + 3
   Portada editorial compacta + catalogo de alta densidad
   ============================================================ */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.topbar {
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 8px clamp(20px, 3vw, 52px);
  gap: clamp(18px, 2.5vw, 44px);
  background: rgba(12, 13, 11, 0.96);
}

.topbar .brand-logo {
  width: 72px;
  height: 58px;
}

.topbar .main-nav {
  justify-self: start;
  gap: clamp(12px, 1.55vw, 26px);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.topbar .main-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.header-sell {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--ember);
  border-radius: 7px;
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.header-sell:hover {
  color: #111;
  background: var(--ember);
}

.topbar .top-actions {
  gap: 8px;
}

.topbar .wishlist-trigger,
.topbar .account-menu summary,
.topbar .cart-trigger {
  border-radius: 7px;
}

.cart-trigger-icon {
  width: 18px;
  height: 18px;
  filter: invert(1);
  opacity: 0.86;
}

.hero {
  min-height: min(760px, 82vh);
  align-items: center;
  padding: 118px clamp(24px, 8vw, 150px) 82px;
}

.hero::after {
  background: rgba(9, 10, 8, 0.46);
}

.hero-fallback,
.hero-video {
  object-position: 64% center;
}

.hero-copy {
  width: min(820px, 67vw);
}

.hero-kicker {
  margin-bottom: 16px;
  border-radius: 6px;
  background: rgba(12, 13, 11, 0.86);
  letter-spacing: 0.04em;
}

.hero-market-title {
  max-width: 9ch;
  color: #f4f0e8;
  font-size: clamp(4.8rem, 7.7vw, 8.4rem);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.7);
}

.hero .lede {
  max-width: 620px;
  margin-top: 20px;
  color: rgba(244, 240, 232, 0.82);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
}

.hero-actions {
  margin-top: 24px;
}

.hero-actions .button {
  min-width: 190px;
  border-radius: 5px;
  text-transform: uppercase;
}

.hero-actions .ghost {
  background: rgba(12, 13, 11, 0.72);
}

.hero-search {
  width: min(1080px, calc(100vw - clamp(48px, 16vw, 300px)));
  margin-top: 28px;
}

.hero-search span:last-child {
  gap: 0;
  padding: 8px;
  border: 1px solid rgba(244, 240, 232, 0.3);
  border-radius: 8px;
  background: rgba(12, 13, 11, 0.9);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.38);
}

.hero-search input {
  min-height: 54px;
  border: 0;
  background: transparent;
}

.hero-search button {
  min-width: 170px;
  min-height: 54px;
  border-radius: 5px;
  text-transform: uppercase;
}

.market-trust,
.catalog-assurance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 22px max(5vw, calc((100vw - 1600px) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #11120f;
}

.market-trust > span,
.catalog-assurance > span {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 12px;
  min-height: 58px;
  align-content: center;
  padding: 0 clamp(16px, 2.3vw, 38px);
  color: var(--dim);
  font-size: 0.78rem;
  border-right: 1px solid var(--line);
}

.market-trust > span:last-child,
.catalog-assurance > span:last-child {
  border-right: 0;
}

.market-trust img,
.catalog-assurance img {
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
  align-self: center;
  filter: invert(49%) sepia(80%) saturate(2100%) hue-rotate(339deg) brightness(100%);
}

.market-trust strong,
.catalog-assurance strong {
  color: var(--ink);
  font-size: 0.85rem;
}

.gift-finder {
  padding: 42px clamp(22px, 5vw, 72px) 28px;
}

.gift-finder .section-heading {
  margin-bottom: 20px;
}

.gift-finder .section-heading h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.persona-carousel .persona-card {
  flex-basis: min(220px, 70vw);
}

.persona-card {
  min-height: 118px;
  gap: 12px;
  padding: 16px;
  border-radius: 7px;
}

.persona-card small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-catalog {
  padding-top: 54px;
}

.catalog-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.catalog-heading-row .section-heading {
  margin-bottom: 0;
}

.catalog-see-all {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ember);
  font-weight: 950;
  text-transform: uppercase;
}

.catalog-see-all::after {
  content: "  >";
  margin-left: 8px;
}

.catalog-section .filters {
  scrollbar-width: thin;
}

.catalog-section .filter {
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 800;
}

.catalog-section .filter.active {
  color: #111;
  border-color: var(--ember);
  background: var(--ember);
}

.home-catalog .search-field {
  display: none;
}

.catalog-section .catalog-grid {
  gap: 14px;
}

.catalog-section .product-card {
  min-height: 0;
  border-radius: 7px;
  box-shadow: none;
}

.catalog-section .product-visual,
.catalog-section .product-visual-photo,
.catalog-section .product-visual-photo img {
  min-height: 205px;
}

.catalog-section .product-body {
  gap: 10px;
  padding: 14px;
}

.catalog-section .product-body > p,
.catalog-section .gift-note {
  display: none;
}

.catalog-section .product-body h3 {
  min-height: 2.24em;
  font-size: 1rem;
}

.catalog-section .product-meta {
  font-size: 0.72rem;
}

.catalog-section .card-rating,
.catalog-section .card-trust {
  font-size: 0.74rem;
}

.catalog-section .card-trust {
  gap: 6px;
}

.catalog-section .product-footer {
  align-items: center;
  padding-top: 10px;
}

.catalog-section .price {
  color: var(--ember);
  font-size: 1.2rem;
}

.catalog-section .mini-button {
  min-height: 40px;
}

.marketplace-catalog-page {
  padding-top: 76px;
}

.catalog-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 10vw, 180px);
  min-height: 92px;
  padding: 16px 5vw;
  border-bottom: 1px solid var(--line);
  background: #1b1915;
}

.catalog-banner strong {
  color: var(--ink);
  font-size: clamp(1.6rem, 3.4vw, 3.5rem);
  font-weight: 950;
  line-height: 0.95;
  text-transform: uppercase;
}

.catalog-banner strong span {
  color: var(--ember);
}

.catalog-banner a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--ember);
  border-radius: 6px;
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.marketplace-catalog-page .catalog-full {
  width: min(1600px, 100%);
  margin: 0 auto;
  padding: 26px clamp(18px, 3vw, 50px) 54px;
}

.catalog-workspace {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 92px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.catalog-sidebar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
}

.catalog-sidebar-head button {
  border: 0;
  color: var(--ember);
  background: transparent;
  font-size: 0.76rem;
  cursor: pointer;
}

.catalog-category-filters {
  display: grid;
  gap: 0;
  padding: 8px 0;
  overflow: visible;
}

.catalog-category-filters .filter {
  width: 100%;
  min-height: 39px;
  padding: 8px 15px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0;
  text-align: left;
  background: transparent;
}

.catalog-category-filters .filter.active {
  color: var(--ember);
  border-left-color: var(--ember);
  background: rgba(240, 106, 47, 0.08);
}

.catalog-price-filter {
  display: grid;
  gap: 10px;
  padding: 16px 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.catalog-price-filter output {
  color: var(--ink);
  font-size: 0.76rem;
  text-transform: none;
}

.catalog-price-filter input {
  width: 100%;
  accent-color: var(--ember);
}

.catalog-assurance-mini {
  display: grid;
  gap: 10px;
  padding: 16px 15px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.76rem;
}

.catalog-assurance-mini span::before {
  content: "OK";
  margin-right: 7px;
  color: var(--green);
  font-size: 0.64rem;
  font-weight: 950;
}

.catalog-main {
  min-width: 0;
}

.catalog-search-field {
  max-width: none;
  margin-bottom: 20px;
}

.catalog-search-field input {
  min-height: 52px;
  border-radius: 7px;
  background: var(--panel);
}

.catalog-main .catalog-heading h1 {
  max-width: none;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.catalog-sort {
  display: grid;
  gap: 6px;
  min-width: 190px;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.catalog-sort select {
  min-height: 44px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--panel);
}

.catalog-main .search-status {
  margin: -8px 0 16px;
}

.catalog-main .catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.publish-product-card {
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  border: 1px dashed var(--ember);
  border-radius: 7px;
  color: var(--ink);
  text-align: center;
  background: rgba(240, 106, 47, 0.05);
}

.publish-product-card span {
  color: var(--ember);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.publish-product-card strong {
  max-width: 9ch;
  font-size: 1.6rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.publish-product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.publish-product-card b {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 5px;
  color: #111;
  background: var(--ember);
  font-size: 0.8rem;
}

.catalog-assurance {
  margin-top: 0;
  padding-top: 26px;
  padding-bottom: 26px;
}

@media (max-width: 1280px) {
  .catalog-main .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 64px minmax(0, 1fr) auto !important;
    gap: 10px;
    padding: 8px 14px;
  }

  .menu-trigger {
    display: grid;
    place-items: center;
    width: 58px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 950;
    text-transform: uppercase;
  }

  .brand {
    justify-self: center;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 14px;
    right: 14px;
    z-index: 30;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #141512;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
  }

  .header-sell {
    display: none;
  }
}

@media (max-width: 960px) {
  .topbar {
    grid-template-columns: 64px minmax(0, 1fr) auto !important;
  }

  .menu-trigger {
    width: 58px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 950;
    text-transform: uppercase;
  }

  .header-sell {
    display: none;
  }

  .hero {
    min-height: 690px;
    padding: 112px 24px 54px;
  }

  .hero-copy {
    width: min(720px, 100%);
  }

  .hero-market-title {
    font-size: clamp(4rem, 12vw, 7rem);
  }

  .hero-search {
    width: 100%;
  }

  .market-trust,
  .catalog-assurance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-trust > span:nth-child(2),
  .catalog-assurance > span:nth-child(2) {
    border-right: 0;
  }

  .market-trust > span,
  .catalog-assurance > span {
    min-height: 74px;
    border-bottom: 1px solid var(--line);
  }

  .catalog-workspace {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
  }

  .catalog-category-filters {
    display: flex;
    overflow-x: auto;
    padding: 8px;
  }

  .catalog-category-filters .filter {
    width: auto;
    border: 1px solid var(--line);
    border-radius: 5px;
  }

  .catalog-price-filter,
  .catalog-assurance-mini {
    display: none;
  }

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

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

@media (max-width: 560px) {
  .topbar {
    grid-template-columns: 54px minmax(0, 1fr) auto !important;
    padding: 8px 10px;
  }

  .topbar .brand-logo {
    width: 58px;
    height: 46px;
  }

  .topbar .account-menu {
    display: none;
  }

  .cart-trigger {
    min-width: 44px;
    padding: 0 8px;
  }

  .hero {
    min-height: 620px;
    padding: 96px 16px 34px;
  }

  .hero-market-title {
    font-size: clamp(3.4rem, 17vw, 5.2rem);
  }

  .hero .lede {
    max-width: 38ch;
    font-size: 0.95rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .button {
    min-width: 0;
    padding: 10px;
    font-size: 0.72rem;
  }

  .hero-search span:last-child {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-search button {
    min-width: 0;
  }

  .market-trust,
  .catalog-assurance {
    grid-template-columns: 1fr;
  }

  .market-trust > span,
  .catalog-assurance > span {
    border-right: 0;
  }

  .market-trust > span:nth-child(n + 3) {
    display: none;
  }

  .gift-finder {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-catalog,
  .marketplace-catalog-page .catalog-full {
    padding-left: 14px;
    padding-right: 14px;
  }

  .catalog-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .catalog-see-all,
  .catalog-sort {
    width: 100%;
  }

  .catalog-sort select {
    width: 100%;
  }

  .catalog-banner {
    min-height: 104px;
    justify-content: space-between;
    gap: 14px;
  }

  .catalog-banner strong {
    font-size: 1.45rem;
  }

  .catalog-banner a {
    flex: 0 0 auto;
    padding: 0 10px;
    font-size: 0.66rem;
  }

  .catalog-main .catalog-grid {
    grid-template-columns: 1fr;
  }

  .home-catalog .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-section .product-visual,
  .catalog-section .product-visual-photo,
  .catalog-section .product-visual-photo img {
    min-height: 240px;
  }

  .publish-product-card {
    min-height: 280px;
  }
}

@media (min-width: 1700px) {
  .hero-copy,
  .marketplace-catalog-page .catalog-full {
    max-width: 1600px;
  }

  .catalog-main .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ============================================================
   REDISENO FIEL A LAS REFERENCIAS APROBADAS
   Portada editorial + catalogo de alta densidad
   ============================================================ */

body[data-page="home"],
body[data-page="catalog"] {
  --display-font: Impact, "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  background: #0b0d0b;
  overflow-x: hidden;
}

body[data-page="home"] .topbar,
body[data-page="catalog"] .topbar {
  border-bottom-color: rgba(244, 240, 232, 0.16);
  background: rgba(8, 10, 9, 0.98);
  backdrop-filter: none;
}

.brand-wordmark {
  display: grid;
  color: #f4f0e8;
  font-family: var(--display-font);
  font-size: 1.35rem;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-wordmark strong {
  font-weight: 800;
}

.header-search {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 46px;
  align-items: center;
  height: 46px;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 232, 0.26);
  border-radius: 7px;
  background: #161816;
}

.header-search input {
  min-width: 0;
  height: 100%;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.header-search button {
  width: 46px;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-left: 1px solid rgba(244, 240, 232, 0.16);
  color: transparent;
  background: url("assets/icon-dashboard.svg") center / 20px no-repeat;
  filter: invert(1);
  cursor: pointer;
}

.topbar .account-menu summary img {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

/* ---------- Portada ---------- */

body[data-page="home"] .topbar {
  grid-template-columns: 235px auto minmax(0, 1fr);
  gap: clamp(18px, 2vw, 34px);
  min-height: 104px;
  padding: 10px clamp(22px, 3.8vw, 58px);
}

body[data-page="home"] .topbar .brand-logo {
  width: 92px;
  height: 82px;
}

body[data-page="home"] .brand {
  gap: 10px;
}

body[data-page="home"] .main-nav {
  justify-self: start;
  gap: clamp(12px, 1.45vw, 23px);
  font-family: var(--display-font);
  font-size: 0.86rem;
  letter-spacing: 0.025em;
}

body[data-page="home"] .top-actions {
  min-width: 0;
  justify-self: stretch;
  display: flex;
  justify-content: flex-end;
}

body[data-page="home"] .header-search {
  flex: 1 1 300px;
  max-width: 345px;
}

body[data-page="home"] .header-sell {
  flex: 0 0 auto;
}

body[data-page="home"] .account-menu summary span,
body[data-page="home"] .cart-trigger > span {
  display: none;
}

body[data-page="home"] .topbar .wishlist-trigger,
body[data-page="home"] .topbar .account-menu summary,
body[data-page="home"] .topbar .cart-trigger {
  width: 48px;
  min-width: 48px;
  height: 46px;
  padding: 0;
  justify-content: center;
}

body[data-page="home"] main#inicio {
  padding-top: 104px;
}

body[data-page="home"] .hero {
  min-height: 400px;
  height: 400px;
  align-items: start;
  padding: 30px clamp(28px, 11.8vw, 184px) 34px;
  overflow: visible;
}

body[data-page="home"] .hero::before,
body[data-page="home"] .hero::after {
  display: none;
}

body[data-page="home"] .hero-fallback {
  object-position: center;
  filter: none;
  animation: none;
  transform: none;
  will-change: auto;
}

body[data-page="home"] .hero-copy {
  width: min(760px, 58vw);
  max-width: 760px;
  margin: 0;
}

body[data-page="home"] .hero-kicker {
  width: max-content;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 7px 12px;
  border: 1px solid var(--ember);
  border-radius: 16px;
  color: var(--ember);
  background: rgba(8, 10, 9, 0.84);
  font-family: var(--display-font);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

body[data-page="home"] .hero-market-title {
  max-width: none;
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(4.9rem, 6.8vw, 7.2rem);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: 0.005em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
}

body[data-page="home"] .hero-actions {
  margin-top: 16px;
}

body[data-page="home"] .hero-actions .button {
  min-width: 210px;
  min-height: 48px;
  font-family: var(--display-font);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

body[data-page="home"] .hero-search {
  width: min(1310px, calc(100vw - clamp(56px, 14.6vw, 224px)));
  margin-top: 15px;
}

body[data-page="home"] .hero-search span:last-child {
  min-height: 64px;
  padding: 8px 10px 8px 18px;
  border-color: rgba(244, 240, 232, 0.32);
  border-radius: 8px;
}

body[data-page="home"] .hero-search input,
body[data-page="home"] .hero-search button {
  min-height: 48px;
}

body[data-page="home"] .hero-search button {
  min-width: 180px;
  font-family: var(--display-font);
}

body[data-page="home"] .market-trust {
  min-height: 78px;
  padding: 8px max(7vw, calc((100vw - 1450px) / 2));
  background: #0b0d0b;
}

body[data-page="home"] .market-trust > span {
  min-height: 60px;
  grid-template-columns: 32px 1fr;
  padding: 0 clamp(14px, 2vw, 32px);
  font-size: 0.72rem;
}

body[data-page="home"] .market-trust strong {
  font-size: 0.78rem;
}

body[data-page="home"] .gift-finder {
  padding: 15px clamp(22px, 3.8vw, 60px) 12px;
}

.home-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.home-category-head p {
  margin: 0;
}

.home-category-head a {
  color: var(--ember);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

body[data-page="home"] .persona-carousel {
  width: 100%;
  max-width: 100%;
  gap: 12px;
  overflow-x: auto;
  padding: 0 0 4px;
}

body[data-page="home"] .persona-carousel .persona-card {
  flex: 1 0 156px;
  min-width: 156px;
  min-height: 58px;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  align-items: center;
  gap: 0 10px;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: left;
}

body[data-page="home"] .persona-card img {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  object-fit: cover;
}

body[data-page="home"] .persona-card span {
  align-self: end;
  font-size: 0.76rem;
  line-height: 1;
}

body[data-page="home"] .persona-card small {
  align-self: start;
  display: block;
  color: var(--ember);
  font-size: 0.66rem;
  line-height: 1.1;
}

body[data-page="home"] .home-catalog {
  padding: 8px clamp(22px, 3.8vw, 60px) 34px;
}

body[data-page="home"] .home-catalog .catalog-heading-row {
  position: relative;
  min-height: 42px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(240, 106, 47, 0.5);
}

body[data-page="home"] .home-catalog .catalog-heading-row .eyebrow {
  display: none;
}

body[data-page="home"] .home-catalog .catalog-heading h2 {
  margin: 0;
  padding-bottom: 8px;
  font-family: var(--display-font);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body[data-page="home"] .catalog-see-all {
  min-height: 34px;
  padding-bottom: 8px;
  font-family: var(--display-font);
  font-size: 0.9rem;
}

body[data-page="home"] .home-catalog > .filters,
body[data-page="home"] .home-catalog > .catalog-actions {
  display: none;
}

body[data-page="home"] .home-catalog .catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="home"] .product-card {
  height: 330px;
  grid-template-rows: 178px minmax(0, 1fr);
  border-radius: 5px;
}

body[data-page="home"] .product-visual,
body[data-page="home"] .product-visual-photo,
body[data-page="home"] .product-visual-photo img {
  min-height: 178px;
  height: 178px;
}

body[data-page="home"] .product-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
  padding: 10px 12px;
}

body[data-page="home"] .product-meta,
body[data-page="home"] .product-body > p,
body[data-page="home"] .gift-note,
body[data-page="home"] .mini-button {
  display: none;
}

body[data-page="home"] .product-body h3 {
  grid-column: 1 / -1;
  min-height: 2.1em;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.05;
}

body[data-page="home"] .product-footer {
  grid-column: 1 / -1;
  grid-row: 2;
  padding: 0;
  border: 0;
}

body[data-page="home"] .price {
  font-size: 1rem;
}

body[data-page="home"] .card-trust {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 5px;
  border-top: 1px solid var(--line);
  font-size: 0.66rem;
}

body[data-page="home"] .card-rating {
  grid-column: 1 / -1;
  grid-row: 4;
  justify-content: flex-end;
  font-size: 0.66rem;
}

/* ---------- Catalogo ---------- */

body[data-page="catalog"] .topbar {
  grid-template-columns: 42px 205px minmax(320px, 1fr) auto;
  gap: 16px;
  min-height: 72px;
  padding: 8px clamp(20px, 2.2vw, 34px);
}

body[data-page="catalog"] .menu-trigger {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 4px;
  font-size: 0.64rem;
  text-transform: uppercase;
}

body[data-page="catalog"] .topbar .brand-logo {
  width: 74px;
  height: 58px;
}

body[data-page="catalog"] .brand-wordmark {
  font-size: 1rem;
}

body[data-page="catalog"] .catalog-header-search {
  width: min(660px, 100%);
  justify-self: center;
  grid-template-columns: minmax(180px, 1fr) 118px 44px;
}

.header-location {
  min-height: 28px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 850;
}

body[data-page="catalog"] .top-actions {
  gap: 12px;
}

body[data-page="catalog"] .topbar .wishlist-trigger,
body[data-page="catalog"] .topbar .account-menu summary,
body[data-page="catalog"] .topbar .cart-trigger {
  min-height: 42px;
  border: 0;
  background: transparent;
}

body[data-page="catalog"] .catalog-category-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 22;
  min-height: 38px;
  display: flex;
  justify-content: flex-start;
  gap: 0;
  padding: 0 clamp(20px, 2.2vw, 34px);
  overflow-x: auto;
  border-top: 1px solid rgba(244, 240, 232, 0.08);
  border-bottom: 1px solid rgba(244, 240, 232, 0.16);
  color: var(--muted);
  background: #0b0d0b;
}

body[data-page="catalog"] .catalog-category-nav .filter,
body[data-page="catalog"] .catalog-category-nav a {
  min-width: max-content;
  min-height: 38px;
  padding: 0 20px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.72rem;
  text-transform: none;
}

body[data-page="catalog"] .catalog-category-nav .filter.active,
body[data-page="catalog"] .catalog-category-nav .filter:hover {
  color: var(--ink);
  background: transparent;
}

body[data-page="catalog"] .marketplace-catalog-page {
  padding-top: 110px;
}

body[data-page="catalog"] .catalog-banner {
  min-height: 70px;
  justify-content: space-between;
  padding: 10px clamp(62px, 10vw, 164px);
  background-color: #1a1612;
  background-image: url("assets/hero-workshop-marketplace.jpg");
  background-size: cover;
  background-position: center 46%;
}

body[data-page="catalog"] .catalog-banner strong {
  font-family: var(--display-font);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  letter-spacing: 0.015em;
}

body[data-page="catalog"] .marketplace-catalog-page .catalog-full {
  width: min(1450px, 100%);
  padding: 14px 28px 18px;
}

body[data-page="catalog"] .catalog-workspace {
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 28px;
}

body[data-page="catalog"] .catalog-sidebar {
  top: 124px;
  border-radius: 10px;
  background: #171917;
}

body[data-page="catalog"] .catalog-sidebar-head {
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 0;
  font-size: 0.76rem;
}

body[data-page="catalog"] .catalog-category-filters {
  padding: 0 0 8px;
}

body[data-page="catalog"] .catalog-category-filters .filter {
  min-height: 30px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 14px;
  font-size: 0.72rem;
}

body[data-page="catalog"] .catalog-category-filters .filter small,
body[data-page="catalog"] .catalog-filter-block small {
  margin-left: auto;
  color: var(--dim);
}

body[data-page="catalog"] .catalog-price-filter {
  gap: 8px;
  padding: 13px 14px;
  font-size: 0.7rem;
}

.catalog-price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.catalog-price-inputs label {
  min-height: 32px;
  display: flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--dim);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: none;
}

.catalog-price-inputs input {
  width: 100%;
  min-width: 0;
  padding: 0 0 0 4px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.66rem;
}

.catalog-price-inputs input::placeholder {
  color: var(--dim);
}

body[data-page="catalog"] .catalog-price-filter output {
  order: 4;
  color: var(--dim);
  font-size: 0.64rem;
}

.catalog-filter-block {
  display: grid;
  gap: 8px;
  padding: 13px 14px;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
}

.catalog-filter-block strong {
  font-size: 0.7rem;
  text-transform: uppercase;
}

.catalog-filter-block label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}

.catalog-filter-block input {
  accent-color: var(--ember);
}

.catalog-clear-all {
  width: calc(100% - 28px);
  min-height: 38px;
  margin: 0 14px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

body[data-page="catalog"] .catalog-search-field {
  display: none;
}

body[data-page="catalog"] .catalog-heading-row {
  align-items: center;
  margin: 4px 0 8px;
}

body[data-page="catalog"] .catalog-heading .eyebrow {
  display: none;
}

body[data-page="catalog"] .catalog-main .catalog-heading h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 2.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body[data-page="catalog"] .catalog-sort {
  min-width: 230px;
  display: block;
  overflow: hidden;
  font-size: 0;
}

body[data-page="catalog"] .catalog-sort select {
  width: 100%;
  font-size: 0.72rem;
}

body[data-page="catalog"] .catalog-main .search-status {
  margin: 0 0 10px;
  font-size: 0.72rem;
}

body[data-page="catalog"] .catalog-main .catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="catalog"] .product-card,
body[data-page="catalog"] .publish-product-card {
  height: 310px;
  min-height: 310px;
  border-radius: 6px;
}

body[data-page="catalog"] .product-card {
  grid-template-rows: 172px minmax(0, 1fr);
}

body[data-page="catalog"] .product-visual,
body[data-page="catalog"] .product-visual-photo,
body[data-page="catalog"] .product-visual-photo img {
  height: 172px;
  min-height: 172px;
}

.product-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 240, 232, 0.58);
  border-radius: 50%;
  background: rgba(8, 10, 9, 0.58);
  cursor: pointer;
}

.product-wishlist img {
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  filter: invert(1);
}

body[data-page="catalog"] .product-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  padding: 9px 11px;
}

body[data-page="catalog"] .product-meta,
body[data-page="catalog"] .product-body > p,
body[data-page="catalog"] .gift-note,
body[data-page="catalog"] .mini-button {
  display: none;
}

body[data-page="catalog"] .product-body h3 {
  grid-column: 1 / -1;
  grid-row: 1;
  min-height: 2.1em;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.08;
}

body[data-page="catalog"] .product-footer {
  grid-column: 1 / -1;
  grid-row: 2;
  padding: 0;
  border: 0;
}

body[data-page="catalog"] .price {
  font-size: 1.08rem;
}

body[data-page="catalog"] .card-trust {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding-top: 4px;
  font-size: 0.61rem;
}

body[data-page="catalog"] .card-rating {
  grid-column: 1 / -1;
  grid-row: 4;
  justify-content: flex-end;
  padding-top: 4px;
  border-top: 1px solid var(--line);
  font-size: 0.6rem;
}

body[data-page="catalog"] .publish-product-card {
  gap: 9px;
  padding: 18px;
}

body[data-page="catalog"] .publish-product-card strong {
  font-family: var(--display-font);
  font-size: 1.7rem;
}

body[data-page="catalog"] .catalog-assurance {
  min-height: 105px;
  padding-top: 14px;
  padding-bottom: 14px;
  background: #1a1713;
}

@media (max-width: 1320px) {
  body[data-page="home"] .brand-wordmark,
  body[data-page="home"] .header-search {
    display: none;
  }

  body[data-page="home"] .topbar {
    grid-template-columns: 92px minmax(0, 1fr) auto;
  }

  body[data-page="catalog"] .brand-wordmark {
    display: none;
  }

  body[data-page="catalog"] .topbar {
    grid-template-columns: 42px 82px minmax(280px, 1fr) auto;
  }

  body[data-page="catalog"] .catalog-main .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  body[data-page="home"] .topbar,
  body[data-page="catalog"] .topbar {
    height: 72px;
    min-height: 72px;
    grid-template-columns: 64px minmax(0, 1fr) auto !important;
  }

  body[data-page="home"] .header-search,
  body[data-page="catalog"] .catalog-header-search,
  body[data-page="home"] .brand-wordmark,
  body[data-page="catalog"] .brand-wordmark {
    display: none;
  }

  body[data-page="home"] .topbar .brand-logo,
  body[data-page="catalog"] .topbar .brand-logo {
    width: 62px;
    height: 54px;
  }

  body[data-page="home"] main#inicio {
    padding-top: 72px;
  }

  body[data-page="catalog"] .catalog-category-nav {
    position: fixed;
    top: 72px;
    left: 14px;
    right: 14px;
    min-height: auto;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  body[data-page="catalog"] .catalog-category-nav.is-open {
    display: grid;
  }

  body[data-page="catalog"] .catalog-category-nav .filter,
  body[data-page="catalog"] .catalog-category-nav a {
    width: 100%;
    min-height: 40px;
    justify-content: flex-start;
    padding: 0 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  body[data-page="catalog"] .marketplace-catalog-page {
    padding-top: 72px;
  }

  body[data-page="home"] .hero {
    min-height: 560px;
    height: auto;
    padding: 70px 24px 42px;
  }

  body[data-page="home"] .hero-copy {
    width: min(720px, 100%);
  }

  body[data-page="home"] .hero-search {
    width: 100%;
  }
}

@media (max-width: 960px) {
  body[data-page="home"] .home-catalog .catalog-grid,
  body[data-page="catalog"] .catalog-main .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="catalog"] .catalog-search-field {
    display: block;
  }

  body[data-page="catalog"] .catalog-workspace {
    grid-template-columns: 1fr;
  }

  body[data-page="catalog"] .catalog-sidebar {
    position: static;
  }

  body[data-page="catalog"] .catalog-filter-block,
  body[data-page="catalog"] .catalog-price-filter,
  body[data-page="catalog"] .catalog-clear-all {
    display: none;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .brand-wordmark,
  body[data-page="catalog"] .brand-wordmark {
    display: grid;
    font-size: 0.76rem;
  }

  body[data-page="home"] .brand,
  body[data-page="catalog"] .brand {
    gap: 5px;
  }

  body[data-page="home"] .topbar .brand-logo,
  body[data-page="catalog"] .topbar .brand-logo {
    width: 48px;
    height: 46px;
  }

  body[data-page="home"] .hero {
    min-height: 590px;
    padding: 74px 16px 30px;
  }

  body[data-page="home"] .hero-market-title {
    font-size: clamp(3.4rem, 17vw, 5rem);
  }

  body[data-page="home"] .hero-kicker {
    width: auto;
    font-size: 0.67rem;
  }

  body[data-page="home"] .hero-actions {
    grid-template-columns: 1fr 1fr;
  }

  body[data-page="home"] .hero-actions .button {
    min-width: 0;
    font-size: 0.75rem;
  }

  body[data-page="home"] .hero-search span:last-child {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .hero-search button {
    min-width: 0;
  }

  body[data-page="home"] .market-trust {
    grid-template-columns: 1fr 1fr;
  }

  body[data-page="home"] .market-trust > span {
    min-height: 70px;
    padding: 8px 12px;
  }

  body[data-page="home"] .gift-finder {
    padding-top: 12px;
  }

  body[data-page="home"] .home-catalog .catalog-grid,
  body[data-page="catalog"] .catalog-main .catalog-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .product-card,
  body[data-page="catalog"] .product-card {
    height: auto;
  }

  body[data-page="home"] .home-catalog .catalog-heading-row {
    min-height: 38px;
    flex-direction: row;
    align-items: end;
  }

  body[data-page="catalog"] .catalog-banner {
    padding: 10px 14px;
  }

  body[data-page="catalog"] .marketplace-catalog-page .catalog-full {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Desktop compacto: conserva la doble navegacion del mock hasta 1020px. */
@media (min-width: 1021px) {
  body[data-page="home"] .home-category-head {
    display: none;
  }
}

@media (min-width: 1021px) and (max-width: 1180px) {
  body[data-page="home"] .topbar {
    grid-template-columns: 178px minmax(0, 1fr) auto !important;
    gap: 12px;
    padding-left: 18px;
    padding-right: 18px;
  }

  body[data-page="home"] .brand-wordmark {
    display: grid;
    font-size: 1.05rem;
  }

  body[data-page="home"] .main-nav {
    position: static;
    display: flex;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.72rem;
  }

  body[data-page="home"] .main-nav a {
    padding: 0;
    border: 0;
  }

  body[data-page="home"] .menu-trigger {
    display: none;
  }

  body[data-page="home"] .header-sell {
    display: inline-flex;
  }

  body[data-page="home"] .top-actions {
    gap: 8px;
  }

  body[data-page="home"] .hero {
    min-height: 400px;
    height: 400px;
    padding: 30px 24px 30px;
  }

  body[data-page="home"] .home-category-head {
    display: none;
  }

  body[data-page="catalog"] .topbar {
    grid-template-columns: 42px 160px minmax(230px, 1fr) auto !important;
    gap: 10px;
  }

  body[data-page="catalog"] .brand-wordmark {
    display: grid;
    font-size: 0.95rem;
  }

  body[data-page="catalog"] .catalog-header-search {
    width: min(440px, 100%);
    display: grid;
    grid-template-columns: minmax(150px, 1fr) 96px 40px;
  }

  body[data-page="catalog"] .header-sell {
    display: inline-flex;
    padding: 0 12px;
  }

  body[data-page="catalog"] .catalog-category-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    min-height: 38px;
    display: flex;
    padding: 0 14px;
    border: 0;
    border-top: 1px solid rgba(244, 240, 232, 0.08);
    border-bottom: 1px solid rgba(244, 240, 232, 0.16);
    border-radius: 0;
  }

  body[data-page="catalog"] .catalog-category-nav .filter,
  body[data-page="catalog"] .catalog-category-nav a {
    width: auto;
    min-height: 38px;
    padding: 0 12px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  body[data-page="catalog"] .marketplace-catalog-page {
    padding-top: 110px;
  }
}

/* ============================================================
   CUENTA CLIENTE — contraste de marca y movimiento profesional
   Solo usa opacity y transform para mantener buenos FPS.
   ============================================================ */

body.customer-page .topbar {
  color: #f4f0e8;
  border-bottom: 1px solid rgba(244, 240, 232, 0.14);
  background: rgba(7, 9, 8, 0.97);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
  animation: accountTopbarIn 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.customer-page .topbar a,
body.customer-page .rich-nav a,
body.customer-page .account-menu summary,
body.customer-page .cart-trigger {
  color: #f4f0e8;
}

body.customer-page .account-menu summary,
body.customer-page .cart-trigger,
body.customer-page .wishlist-trigger {
  border-color: rgba(244, 240, 232, 0.18);
  background: rgba(244, 240, 232, 0.06);
}

body.customer-page .wishlist-trigger img {
  filter: none;
}

body.customer-page .brand {
  gap: 8px;
}

body.customer-page .customer-brand-logo {
  width: 62px;
  height: 58px;
}

body.customer-page .customer-brand-wordmark {
  display: grid;
  color: #f4f0e8;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 1rem;
  line-height: 0.88;
}

body.customer-page .account-dropdown {
  border-color: rgba(244, 240, 232, 0.16);
  background: #121411;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

body.customer-page .customer-banner {
  position: relative;
  isolation: isolate;
  min-height: 205px;
  overflow: hidden;
  padding-top: 40px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(240, 106, 47, 0.5);
  color: #f4f0e8;
  background:
    radial-gradient(circle at 82% 18%, rgba(240, 106, 47, 0.2), transparent 28%),
    radial-gradient(circle at 16% 110%, rgba(121, 138, 94, 0.14), transparent 34%),
    linear-gradient(112deg, #070908 0%, #111410 52%, #19140f 100%);
}

body.customer-page .customer-banner::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.2;
  background: linear-gradient(115deg, transparent 0 46%, rgba(244, 240, 232, 0.09) 50%, transparent 54% 100%);
  transform: translateX(-72%);
  animation: accountLightPass 1150ms 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.customer-page .customer-banner::after {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 0;
  left: clamp(18px, 5vw, 72px);
  height: 2px;
  content: "";
  background: linear-gradient(90deg, #f06a2f, rgba(240, 106, 47, 0.08) 72%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: accountLineIn 850ms 360ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.customer-page .customer-banner .eyebrow {
  color: #f06a2f;
  animation: accountTextIn 560ms 80ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.customer-page .customer-banner h1 {
  color: #f4f0e8;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.34);
  animation: accountTextIn 620ms 150ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.customer-page .customer-banner p:not(.eyebrow) {
  color: #c4c0b7;
  animation: accountTextIn 660ms 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.customer-page .customer-shell {
  animation: accountShellIn 680ms 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.customer-page .customer-menu {
  border: 1px solid rgba(22, 22, 18, 0.08);
  box-shadow: 0 18px 45px rgba(22, 18, 12, 0.07);
}

body.customer-page .customer-menu a,
body.customer-page .customer-stats article,
body.customer-page .customer-card-grid article,
body.customer-page .wishlist-grid article,
body.customer-page .customer-content-head .button,
body.customer-page .customer-content-head button,
body.customer-page .customer-card-grid button,
body.customer-page .customer-form button,
body.customer-page .wishlist-grid a {
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    background-color 220ms ease;
}

body.customer-page .customer-menu a:hover,
body.customer-page .customer-menu a.active {
  transform: translateX(4px);
}

body.customer-page .customer-menu a img {
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.customer-page .customer-menu a:hover img,
body.customer-page .customer-menu a.active img {
  transform: scale(1.08) rotate(-3deg);
}

body.customer-page .customer-view.active {
  animation: accountViewIn 440ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.customer-page .customer-stats article,
body.customer-page .customer-card-grid article,
body.customer-page .wishlist-grid article {
  animation: accountCardIn 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.customer-page .customer-stats article:nth-child(2),
body.customer-page .customer-card-grid article:nth-child(2),
body.customer-page .wishlist-grid article:nth-child(2) {
  animation-delay: 70ms;
}

body.customer-page .customer-stats article:nth-child(3),
body.customer-page .wishlist-grid article:nth-child(3) {
  animation-delay: 140ms;
}

body.customer-page .customer-stats article:hover,
body.customer-page .customer-card-grid article:hover,
body.customer-page .wishlist-grid article:hover {
  z-index: 1;
  border-color: rgba(240, 106, 47, 0.42);
  box-shadow: 0 18px 42px rgba(20, 16, 10, 0.12);
  transform: translateY(-5px);
}

body.customer-page .customer-content-head .button:hover,
body.customer-page .customer-content-head button:hover,
body.customer-page .customer-card-grid button:hover,
body.customer-page .customer-form button:hover,
body.customer-page .wishlist-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 16, 12, 0.18);
}

body.customer-page .customer-table tbody tr {
  transition: background-color 180ms ease, transform 180ms ease;
}

body.customer-page .customer-table tbody tr:hover {
  background: rgba(240, 106, 47, 0.06);
}

/* Pedidos desplegables: cada compra contiene pago, documentos y soporte. */
body.customer-page .customer-orders-list {
  overflow: hidden;
  border: 1px solid #e3e3e3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(20, 18, 12, 0.06);
}

body.customer-page .customer-orders-head,
body.customer-page .customer-order > summary {
  display: grid;
  grid-template-columns: 82px minmax(126px, 1.2fr) 104px minmax(136px, 1fr) 110px;
  gap: 10px;
  align-items: center;
}

body.customer-page .customer-orders-head {
  min-height: 56px;
  padding: 0 18px;
  color: #4e4b45;
  border-bottom: 1px solid #e4e4e4;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

body.customer-page .customer-order {
  border-bottom: 1px solid #e7e7e7;
  background: #fff;
}

body.customer-page .customer-order:last-child {
  border-bottom: 0;
}

body.customer-page .customer-order > summary {
  min-height: 78px;
  padding: 12px 18px;
  color: #66635d;
  cursor: pointer;
  list-style: none;
  transition: color 180ms ease, background-color 180ms ease;
}

body.customer-page .customer-order > summary::-webkit-details-marker {
  display: none;
}

body.customer-page .customer-order > summary:hover,
body.customer-page .customer-order[open] > summary {
  color: #161612;
  background: #f7f2ec;
}

body.customer-page .customer-order > summary > strong,
body.customer-page .customer-order > summary b {
  color: #161612;
  font-size: 1rem;
}

body.customer-page .order-status {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: #2f6f35;
  background: rgba(47, 111, 53, 0.1);
  font-size: 0.75rem;
  font-weight: 850;
}

body.customer-page .order-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: #161612;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.customer-page .order-toggle em {
  font-style: normal;
}

body.customer-page .order-toggle i {
  width: 10px;
  height: 10px;
  border-right: 2px solid #f06a2f;
  border-bottom: 2px solid #f06a2f;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.customer-page .customer-order .open-label {
  display: none;
}

body.customer-page .customer-order[open] .closed-label {
  display: none;
}

body.customer-page .customer-order[open] .open-label {
  display: inline;
}

body.customer-page .customer-order[open] .order-toggle i {
  transform: translateY(3px) rotate(225deg);
}

body.customer-page .customer-order-panel {
  padding: 20px;
  color: #f4f0e8;
  border-top: 1px solid rgba(240, 106, 47, 0.34);
  background:
    radial-gradient(circle at 92% 8%, rgba(240, 106, 47, 0.14), transparent 28%),
    #101310;
  animation: orderPanelIn 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.customer-page .order-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body.customer-page .order-detail-grid article {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 122px;
  padding: 16px;
  border: 1px solid rgba(244, 240, 232, 0.12);
  border-radius: 12px;
  background: rgba(244, 240, 232, 0.055);
}

body.customer-page .order-detail-grid span {
  color: #f06a2f;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.customer-page .order-detail-grid strong {
  color: #f4f0e8;
  line-height: 1.3;
}

body.customer-page .order-detail-grid small {
  color: #aaa69e;
  line-height: 1.4;
}

body.customer-page .order-security-note {
  margin: 14px 0;
  color: #9e9a91;
  font-size: 0.8rem;
}

body.customer-page .order-detail-actions {
  display: grid;
  grid-template-columns: auto auto minmax(270px, 1fr);
  gap: 10px;
  align-items: stretch;
}

body.customer-page .order-detail-actions button,
body.customer-page .order-detail-actions a {
  min-height: 66px;
  border-radius: 11px;
  cursor: pointer;
  transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

body.customer-page .order-detail-actions button {
  padding: 0 16px;
  border: 1px solid rgba(244, 240, 232, 0.2);
  color: #f4f0e8;
  background: rgba(244, 240, 232, 0.06);
  font-weight: 850;
}

body.customer-page .order-detail-actions a {
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 12px 18px;
  color: #11130f;
  border: 1px solid #f06a2f;
  background: #f06a2f;
}

body.customer-page .order-detail-actions a strong {
  font-size: 1rem;
}

body.customer-page .order-detail-actions a small {
  color: rgba(17, 19, 15, 0.72);
}

body.customer-page .order-detail-actions button:hover,
body.customer-page .order-detail-actions a:hover {
  transform: translateY(-2px);
}

body.customer-page .order-detail-actions button:hover {
  border-color: rgba(240, 106, 47, 0.72);
  background: rgba(240, 106, 47, 0.12);
}

body.customer-page .order-detail-actions a:hover {
  background: #ff7a3d;
}

body.customer-page .order-download-status {
  margin: 0;
  color: #2f6f35;
}

@keyframes orderPanelIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  body.customer-page .customer-orders-head {
    display: none;
  }

  body.customer-page .customer-order > summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    min-height: 142px;
    padding: 16px;
  }

  body.customer-page .customer-order > summary > strong {
    grid-column: 1;
    grid-row: 1;
  }

  body.customer-page .customer-order > summary > span:nth-of-type(1) {
    grid-column: 1;
    grid-row: 2;
  }

  body.customer-page .customer-order > summary .order-status {
    grid-column: 1;
    grid-row: 3;
  }

  body.customer-page .customer-order > summary > span:nth-of-type(3) {
    grid-column: 2;
    grid-row: 1 / span 2;
    text-align: right;
  }

  body.customer-page .customer-order > summary .order-toggle {
    grid-column: 2;
    grid-row: 3;
  }

  body.customer-page .order-detail-grid,
  body.customer-page .order-detail-actions {
    grid-template-columns: 1fr;
  }

  body.customer-page .order-detail-grid article {
    min-height: auto;
  }
}

/* Movimiento compartido de portada y catalogo. Se repite al filtrar porque
   las tarjetas se vuelven a renderizar, dando feedback visual inmediato. */
body[data-page="home"] .market-trust > span,
body[data-page="home"] .persona-card,
body[data-page="home"] .catalog-grid .product-card,
body[data-page="catalog"] .catalog-grid .product-card,
body[data-page="catalog"] .publish-product-card {
  animation: marketplaceReveal 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="home"] .market-trust > span:nth-child(2),
body[data-page="home"] .persona-card:nth-child(2),
body[data-page="home"] .catalog-grid > :nth-child(2),
body[data-page="catalog"] .catalog-grid > :nth-child(2) {
  animation-delay: 55ms;
}

body[data-page="home"] .market-trust > span:nth-child(3),
body[data-page="home"] .persona-card:nth-child(3),
body[data-page="home"] .catalog-grid > :nth-child(3),
body[data-page="catalog"] .catalog-grid > :nth-child(3) {
  animation-delay: 110ms;
}

body[data-page="home"] .market-trust > span:nth-child(4),
body[data-page="home"] .persona-card:nth-child(4),
body[data-page="home"] .catalog-grid > :nth-child(4),
body[data-page="catalog"] .catalog-grid > :nth-child(4) {
  animation-delay: 165ms;
}

@keyframes marketplaceReveal {
  from { opacity: 0; transform: translateY(15px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes accountTopbarIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes accountTextIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes accountShellIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes accountCardIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes accountViewIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes accountLightPass {
  from { transform: translateX(-72%); }
  to { transform: translateX(72%); }
}

@keyframes accountLineIn {
  to { transform: scaleX(1); }
}

@media (max-width: 960px) {
  body.customer-page .customer-brand-wordmark {
    display: none;
  }

  body.customer-page .customer-brand-logo {
    width: auto;
    height: 42px;
  }

  body.customer-page .customer-main {
    padding-top: 76px;
  }
}

@media (min-width: 961px) {
  body.customer-page .topbar {
    min-height: 88px;
    grid-template-columns: 150px minmax(0, 1fr) auto !important;
    padding-left: 22px;
    padding-right: 22px;
  }

  body.customer-page .brand {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.customer-page .topbar,
  body.customer-page .customer-banner::before,
  body.customer-page .customer-banner::after,
  body.customer-page .customer-banner > *,
  body.customer-page .customer-shell,
  body.customer-page .customer-view.active,
  body.customer-page .customer-stats article,
  body.customer-page .customer-card-grid article,
  body.customer-page .wishlist-grid article {
    animation: none !important;
  }

  body.customer-page .customer-order-panel {
    animation: none !important;
  }

  body[data-page="home"] .market-trust > span,
  body[data-page="home"] .persona-card,
  body[data-page="home"] .catalog-grid .product-card,
  body[data-page="catalog"] .catalog-grid .product-card,
  body[data-page="catalog"] .publish-product-card {
    animation: none !important;
  }

  body.customer-page *,
  body.customer-page *::before,
  body.customer-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
