: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;
}

/* ============================================================
   ACCESO UNIFICADO — cliente, proveedor y equipo
   ============================================================ */

body.login-page {
  min-height: 100vh;
  overflow-x: hidden;
  color: #f4f0e8;
  background: #080a08;
}

body.login-page::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  opacity: 0.28;
  background-image: url("assets/hero-weas.jpg");
  background-position: center;
  background-size: cover;
  transition: opacity 420ms ease;
}

body.login-page[data-access-preview="provider"]::before {
  opacity: 0.42;
  background-image: url("assets/hero-workshop-marketplace.jpg");
}

body.login-page::after {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  background: rgba(4, 5, 4, 0.7);
  pointer-events: none;
}

.unified-login-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.78fr);
  width: min(1180px, calc(100% - 48px));
  min-height: min(760px, calc(100vh - 64px));
  margin: 32px auto;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 232, 0.16);
  border-radius: 26px;
  background: rgba(8, 10, 8, 0.9);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.54);
  animation: authShellIn 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.login-visual {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  overflow: hidden;
  padding: clamp(30px, 5vw, 64px);
  border-right: 1px solid rgba(244, 240, 232, 0.14);
  background-image: url("assets/hero-weas.jpg");
  background-position: center;
  background-size: cover;
}

body.login-page[data-access-preview="provider"] .login-visual {
  background-image: url("assets/hero-workshop-marketplace.jpg");
}

.login-visual::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(4, 5, 4, 0.68);
}

.login-brand {
  display: inline-flex;
  width: fit-content;
  gap: 14px;
  align-items: center;
  color: #f4f0e8;
  text-decoration: none;
}

.login-brand img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.login-brand span {
  display: grid;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 1.35rem;
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.login-visual-copy {
  max-width: 620px;
  padding: 72px 0;
}

.login-visual-copy h1 {
  max-width: 680px;
  margin: 10px 0 18px;
  color: #f4f0e8;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.login-visual-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 0;
  color: #c9c5bc;
  font-size: 1.03rem;
  line-height: 1.6;
}

.login-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.login-trust-list li {
  padding: 9px 12px;
  border: 1px solid rgba(240, 106, 47, 0.48);
  border-radius: 999px;
  color: #e7e1d7;
  background: rgba(8, 10, 8, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
}

.login-panel {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(30px, 5vw, 62px);
  color: #f4f0e8;
  background: rgba(12, 14, 12, 0.98);
}

.login-panel-head h2 {
  margin: 7px 0 10px;
  color: #f4f0e8;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.login-panel-head > p:not(.eyebrow) {
  margin: 0;
  color: #9f9c94;
  line-height: 1.5;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(244, 240, 232, 0.13);
  border-radius: 12px;
  background: rgba(244, 240, 232, 0.04);
}

.auth-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: #aaa69d;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.auth-tabs button.active {
  color: #0b0d0b;
  background: #f06a2f;
}

.unified-auth-form {
  display: none;
  gap: 15px;
}

.unified-auth-form.active {
  display: grid;
  animation: authPanelIn 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.unified-auth-form label {
  display: grid;
  gap: 7px;
  color: #d4d0c8;
  font-size: 0.86rem;
  font-weight: 850;
}

.unified-auth-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(244, 240, 232, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  color: #f4f0e8;
  background: rgba(244, 240, 232, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.unified-auth-form input:focus {
  border-color: #f06a2f;
  background: rgba(244, 240, 232, 0.08);
  box-shadow: 0 0 0 3px rgba(240, 106, 47, 0.16);
}

.unified-auth-form input:-webkit-autofill,
.unified-auth-form input:-webkit-autofill:hover,
.unified-auth-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f4f0e8;
  box-shadow: 0 0 0 1000px #171916 inset;
}

.auth-primary {
  min-height: 52px;
  margin-top: 3px;
  border: 1px solid #f06a2f;
  border-radius: 10px;
  color: #090b09;
  background: #f06a2f;
  font-weight: 950;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.auth-primary:hover {
  background: #ff7a3d;
  transform: translateY(-2px);
}

.auth-primary:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.auth-link-button {
  width: fit-content;
  min-height: 34px;
  padding: 0;
  border: 0;
  color: #d6d2ca;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.auth-link-button:hover,
.login-back-link:hover {
  color: #f06a2f;
}

.auth-form-note,
.login-back-link {
  color: #8f8c85;
  font-size: 0.82rem;
  line-height: 1.45;
}

.login-back-link {
  width: fit-content;
  font-weight: 800;
}

.auth-status {
  min-height: 22px;
  margin: -8px 0 0;
  color: #c7c3ba;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.4;
}

.auth-status.is-error {
  color: #ff9f87;
}

.auth-status.is-success {
  color: #9fda8f;
}

.access-choice[hidden] {
  display: none;
}

.access-choice {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.access-choice-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.78);
  cursor: default;
}

.access-choice-card {
  position: relative;
  width: min(760px, 100%);
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(240, 106, 47, 0.56);
  border-radius: 22px;
  color: #f4f0e8;
  background: #111410;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
  animation: accessChoiceIn 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.access-choice-card h2 {
  margin: 8px 0 10px;
  color: #f4f0e8;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.access-choice-card > p:not(.eyebrow) {
  max-width: 590px;
  margin: 0;
  color: #aaa69d;
  line-height: 1.55;
}

.access-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 22px;
}

.access-choice-grid > button {
  display: grid;
  gap: 9px;
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(244, 240, 232, 0.16);
  border-radius: 14px;
  text-align: left;
  color: #f4f0e8;
  background: #191c18;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.access-choice-grid > button:hover,
.access-choice-grid > button:focus-visible {
  border-color: #f06a2f;
  background: #211a15;
  transform: translateY(-4px);
}

.access-choice-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #f06a2f;
  border-radius: 50%;
  color: #f06a2f;
  font-size: 0.72rem;
  font-weight: 950;
}

.access-choice-grid strong {
  font-size: 1.18rem;
}

.access-choice-grid small {
  color: #aaa69d;
  line-height: 1.5;
}

.protected-loading {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  color: #f4f0e8;
  background: #090b09;
  font-weight: 900;
}

body.auth-pending > *:not(.protected-loading) {
  visibility: hidden;
}

.customer-empty-state {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 34px;
  border: 1px solid #e3e3e3;
  border-radius: 16px;
  background: #fff;
}

.customer-empty-state span {
  color: #f06a2f;
  font-weight: 950;
  text-transform: uppercase;
}

.customer-empty-state h3,
.customer-empty-state p {
  margin: 0;
}

.ops-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
}

.ops-page::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  content: "";
  opacity: 0.1;
  background-image: url("assets/hero-workshop-marketplace.jpg");
  background-position: center;
  background-size: cover;
}

.ops-page[data-store-theme="bar"]::before {
  background-image: url("assets/whisky-set.jpg");
}

.ops-page[data-store-theme="care"]::before {
  background-image: url("assets/grooming-kit.jpg");
}

.ops-page[data-store-theme="grill"]::before {
  background-image: url("assets/rodador-salchichas.jpg");
}

.ops-page[data-store-theme="outdoor"]::before {
  background-image: url("assets/poncho-parrillero.jpg");
}

.ops-page::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(247, 247, 247, 0.92);
  pointer-events: none;
}

.ops-page[data-portal-mode="provider"] .ops-sidebar {
  border-right-color: rgba(240, 106, 47, 0.34);
  background: rgba(21, 23, 20, 0.97);
}

.ops-page[data-portal-mode="provider"] .ops-sidebar,
.ops-page[data-portal-mode="provider"] .ops-sidebar a,
.ops-page[data-portal-mode="provider"] .ops-sidebar button,
.ops-page[data-portal-mode="provider"] .ops-sidebar label {
  color: #eee9df;
}

.ops-page[data-portal-mode="provider"] .ops-store-switcher select {
  color: #f4f0e8;
  border-color: rgba(244, 240, 232, 0.18);
  background: #20231f;
}

.ops-user-session {
  display: flex;
  grid-column: 1 / -1;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #dedede;
}

.ops-user-session span {
  display: grid;
  margin-right: auto;
}

.ops-user-session small {
  color: #777;
}

.ops-user-session strong {
  color: #252525;
  font-size: 0.86rem;
}

@keyframes authShellIn {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

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

@media (max-width: 880px) {
  .unified-login-shell {
    grid-template-columns: 1fr;
    width: min(680px, calc(100% - 28px));
    margin: 14px auto;
  }

  .login-visual {
    min-height: 320px;
    padding: 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(244, 240, 232, 0.14);
  }

  .login-visual-copy {
    padding: 38px 0 18px;
  }

  .login-visual-copy h1 {
    font-size: clamp(3rem, 14vw, 5.2rem);
  }

  .login-panel {
    padding: 32px 26px;
  }

  .access-choice-grid {
    grid-template-columns: 1fr;
  }

  .access-choice-grid > button {
    min-height: 148px;
  }

  .ops-user-session {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .login-brand img {
    width: 64px;
    height: 64px;
  }

  .login-trust-list li {
    font-size: 0.7rem;
  }

  .auth-tabs {
    grid-template-columns: 1fr;
  }

  .access-choice {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .unified-login-shell,
  .unified-auth-form.active,
  .access-choice-card {
    animation: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.cart-open,
body.menu-open {
  overflow: hidden;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 68;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  animation: menu-overlay-in 180ms ease both;
}

.side-menu {
  position: fixed;
  z-index: 70;
  inset: 0 auto 0 0;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  width: min(420px, calc(100vw - 28px));
  min-height: 100dvh;
  overflow-y: auto;
  color: #f2efe8;
  border-right: 1px solid rgba(242, 99, 44, 0.55);
  background:
    linear-gradient(150deg, rgba(242, 99, 44, 0.08), transparent 32%),
    #10110f;
  box-shadow: 30px 0 90px rgba(0, 0, 0, 0.62);
  transform: translateX(-104%);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.side-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.side-menu-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.side-menu-brand img {
  width: 62px;
  height: 58px;
  object-fit: contain;
}

.side-menu-brand span,
.side-menu-own-brand {
  display: grid;
  gap: 4px;
}

.side-menu-brand strong {
  font-family: var(--display-font);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.side-menu-brand small,
.side-menu p {
  color: #9e9d94;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-menu-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #f2efe8;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.side-menu-nav {
  display: grid;
  gap: 0;
  padding: 16px 20px 10px;
}

.side-menu-nav p,
.side-menu-categories p {
  margin: 0 0 8px;
}

.side-menu-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--display-font);
  font-size: 1.35rem;
  text-transform: uppercase;
  transition: color 160ms ease, padding-left 160ms ease;
}

.side-menu-nav a span {
  color: #f2632c;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
}

.side-menu-nav a:hover,
.side-menu-nav a:focus-visible {
  padding-left: 6px;
  color: #f2632c;
}

.side-menu-categories {
  align-self: start;
  padding: 14px 20px 22px;
}

.side-menu-categories > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.side-menu-categories a {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  color: #d3d0c8;
  font-size: 0.78rem;
  font-weight: 800;
}

.side-menu-categories a:hover,
.side-menu-categories a:focus-visible {
  color: #10110f;
  border-color: #f2632c;
  background: #f2632c;
}

.side-menu-footer {
  display: grid;
  gap: 12px;
  padding: 18px 20px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.side-menu-own-brand {
  padding: 12px;
  border: 1px solid rgba(242, 99, 44, 0.58);
  border-radius: 6px;
  font-weight: 900;
}

.side-menu-own-brand span {
  color: #f2632c;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-menu-footer > div {
  display: flex;
  gap: 18px;
  color: #b8b5ad;
  font-size: 0.78rem;
  font-weight: 800;
}

@keyframes menu-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .side-menu { transition: none; }
  .menu-overlay { animation: none; }
}

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.is-auth-loading {
  opacity: 0;
  pointer-events: none;
}

.account-access-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: rgba(var(--ink-rgb), 0.04);
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

.account-access-link:hover {
  color: var(--ember);
  border-color: rgba(240, 106, 47, 0.72);
  background: rgba(240, 106, 47, 0.1);
}

.account-access-link img {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

.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,
.account-dropdown button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

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

.account-dropdown .account-portal-link {
  color: var(--ember);
}

.account-dropdown .account-signout {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.account-dropdown .account-signout:disabled {
  opacity: 0.55;
  cursor: wait;
}

.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-brand-frame,
.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;
}

.hero-brand-frame {
  display: block;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 700ms ease, transform 7s linear;
  pointer-events: none;
}

.hero-brand-frame.is-ready {
  opacity: 1;
  transform: scale(1.09);
}

.hero-media-curtain {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #050604;
  opacity: 0;
  transition: opacity 620ms ease;
  pointer-events: none;
}

.hero-media-curtain.is-covering {
  opacity: 1;
}

/* Con una escena activa, la imagen de respaldo deja de animarse. */
.hero.hero-has-media .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-brand-frame,
  .hero-media-curtain {
    transition: none;
  }
  .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;
}

.promo-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.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;
}

.footer-social-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 750;
}

.footer-social-item img {
  width: 17px;
  height: 17px;
}

.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;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.reviews-community-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.social-brand-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.social-brand-item {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--panel);
  font-weight: 800;
}

.social-brand-item img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.reviews-community-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.reviews-community-head .section-heading {
  margin-bottom: 0;
}

.reviews-community-head .section-heading > p:last-child {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.featured-review-controls {
  display: flex;
  gap: 8px;
}

.featured-review-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.featured-review-controls button:hover,
.featured-review-controls button:focus-visible {
  border-color: var(--ember);
  color: var(--ember);
  transform: translateY(-2px);
}

.featured-reviews-shell {
  overflow: hidden;
}

.featured-reviews-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.featured-reviews-track::-webkit-scrollbar {
  display: none;
}

.featured-review-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
  min-height: 270px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  scroll-snap-align: start;
}

.featured-review-top,
.featured-review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.featured-review-stars {
  color: #f2b01e;
  letter-spacing: 0.08em;
}

.featured-review-verified {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(31, 157, 87, 0.16);
  color: #7fd7a4;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.featured-review-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  font-weight: 750;
  line-height: 1.45;
}

.featured-review-card blockquote::before {
  content: "“";
  color: var(--ember);
}

.featured-review-card blockquote::after {
  content: "”";
  color: var(--ember);
}

.featured-review-meta {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.featured-review-meta > span {
  display: grid;
  gap: 3px;
}

.featured-review-meta small {
  color: var(--dim);
}

.featured-review-meta a {
  max-width: 48%;
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: right;
}

.featured-review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.featured-review-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--dim);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.featured-review-dot.is-active {
  border-color: var(--ember);
  background: var(--ember);
}

.featured-reviews-loading {
  width: 100%;
  margin: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  text-align: center;
}

.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) {
  .ops-page {
    overflow-x: hidden;
  }

  .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;
}

.promo-result.is-error {
  background: rgba(214, 69, 47, 0.18);
  color: #ffb6a6;
}

body[data-page="home"] .gift-finder {
  scroll-margin-top: 96px;
}

/* ====== 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;
}

/* ====== Portal: inventario por tienda y editor de producto ====== */
.inventory-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.inventory-help-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 18px;
  padding: 12px 14px;
  border: 1px solid #ead9cb;
  border-radius: 9px;
  background: #fff8f2;
}

.inventory-help-row p {
  margin: 0;
}

.inventory-help-row span {
  color: #a54117;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: right;
}

.inventory-store-groups {
  display: grid;
  gap: 18px;
}

.inventory-store-card {
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 12px;
  background: #fff;
}

.inventory-store-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 18px;
  border-bottom: 1px solid #e6e6e6;
  background: linear-gradient(120deg, #fff9f4, #fff 58%);
}

.inventory-store-head > div > span {
  color: #d7521e;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.inventory-store-head h2 {
  margin: 3px 0 0;
  color: #24221f;
  font-size: 1.18rem;
}

.inventory-store-head dl {
  display: flex;
  gap: 30px;
  margin: 0;
}

.inventory-store-head dl div {
  display: grid;
  gap: 2px;
}

.inventory-store-head dt {
  color: #777;
  font-size: 0.74rem;
  font-weight: 750;
}

.inventory-store-head dd {
  margin: 0;
  color: #222;
  font-size: 1rem;
  font-weight: 900;
}

.inventory-table {
  min-width: 920px;
}

.inventory-table th,
.inventory-table td {
  padding: 12px 14px;
}

.inventory-table tbody tr:hover {
  background: #fcfaf7;
}

.inventory-product {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 250px;
}

.inventory-product img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  background: #eee;
  object-fit: cover;
}

.inventory-product div {
  display: grid;
  gap: 3px;
}

.inventory-product strong {
  color: #26231f;
  white-space: normal;
}

.inventory-product small {
  color: #777;
}

.inventory-table code,
.sh-product-editor code {
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #4b4640;
  background: #f5f4f2;
  font-size: 0.8rem;
  font-weight: 850;
}

.inventory-number {
  width: 78px;
  min-height: 36px;
  padding: 6px 9px;
  border: 1px solid #ccc;
  border-radius: 7px;
  color: #24221f;
  background: #fff;
  font: inherit;
  font-weight: 800;
}

.inventory-number:focus {
  outline: 2px solid rgba(240, 106, 47, 0.2);
  border-color: #f06a2f;
}

.inventory-minimum {
  width: 68px;
}

.inventory-available.is-zero {
  color: #b42318;
}

.inventory-state {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.inventory-state.is-ready {
  color: #14683c;
  background: #e5f4eb;
}

.inventory-state.is-low {
  color: #8a5a00;
  background: #fbf0d8;
}

.inventory-state.is-out,
.inventory-state.is-paused {
  color: #8a2920;
  background: #f9e3e0;
}

.inventory-empty {
  padding: 24px;
  border: 1px dashed #ccc;
  border-radius: 10px;
  text-align: center;
}

.sh-thumb {
  border: 1px solid #dedede;
  background: #eee;
  object-fit: cover;
}

.sh-edit-trigger {
  min-width: 104px;
}

.sh-edit-trigger[aria-expanded="true"] {
  color: #fff;
  border-color: #303030;
  background: #303030;
}

.sh-product-editor-row[hidden] {
  display: none;
}

.sh-table .sh-product-editor-row:hover {
  background: transparent;
}

.sh-product-editor-row > td {
  padding: 0 10px 16px;
  border-top: 0;
  white-space: normal;
}

.sh-product-editor {
  overflow: hidden;
  border: 1px solid #ddd3ca;
  border-radius: 12px;
  background: #fbfaf8;
  box-shadow: 0 12px 32px rgba(30, 25, 20, 0.08);
}

.sh-product-editor > header,
.sh-product-editor > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  background: #f4efe9;
}

.sh-product-editor > header {
  border-bottom: 1px solid #ddd3ca;
}

.sh-product-editor > header span {
  color: #d7521e;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sh-product-editor > header h3 {
  margin: 2px 0 0;
  color: #24211e;
  font-size: 1.08rem;
}

.sh-editor-quick,
.sh-editor-full {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.sh-product-editor label {
  display: grid;
  align-content: start;
  gap: 6px;
  color: #4f4943;
  font-size: 0.8rem;
  font-weight: 800;
}

.sh-product-editor label small {
  color: #8a837c;
  font-size: 0.72rem;
  font-weight: 650;
}

.sh-product-editor input,
.sh-product-editor textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid #ccc4bc;
  border-radius: 8px;
  color: #24211e;
  background: #fff;
  font: inherit;
  font-weight: 650;
}

.sh-product-editor textarea {
  min-height: 104px;
  resize: vertical;
}

.sh-product-editor input[readonly] {
  color: #77716b;
  background: #eeeae5;
  cursor: not-allowed;
}

.sh-product-editor input:focus,
.sh-product-editor textarea:focus {
  outline: 2px solid rgba(240, 106, 47, 0.2);
  border-color: #f06a2f;
}

.sh-editor-more {
  border-top: 1px solid #e1d9d2;
}

.sh-editor-more summary {
  padding: 13px 18px;
  color: #a54117;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
  list-style-position: inside;
}

.sh-editor-more[open] summary {
  border-bottom: 1px solid #e1d9d2;
  background: #fff7f0;
}

.sh-editor-wide {
  grid-column: 1 / -1;
}

.sh-product-editor > footer {
  border-top: 1px solid #ddd3ca;
  background: #fff;
}

.sh-product-editor > footer p {
  margin: 0;
  color: #277045;
  font-size: 0.8rem;
  font-weight: 750;
}

.sh-product-editor > footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.sh-editor-public {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  color: #303030;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .inventory-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sh-editor-quick,
  .sh-editor-full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .inventory-summary-grid,
  .sh-editor-quick,
  .sh-editor-full {
    grid-template-columns: 1fr;
  }

  .inventory-help-row,
  .inventory-store-head,
  .sh-product-editor > header,
  .sh-product-editor > footer {
    display: grid;
  }

  .inventory-help-row span {
    text-align: left;
  }

  .inventory-store-head dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .inventory-table-wrap {
    overflow: visible;
  }

  .inventory-table {
    min-width: 0;
  }

  .inventory-table thead {
    display: none;
  }

  .inventory-table,
  .inventory-table tbody,
  .inventory-table tr,
  .inventory-table td {
    display: block;
    width: 100%;
  }

  .inventory-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 12px;
    border-top: 1px solid #e3e3e3;
  }

  .inventory-table td {
    display: grid;
    grid-template-columns: minmax(92px, 0.75fr) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 9px 6px;
    border: 0;
    white-space: normal;
  }

  .inventory-table td::before {
    content: attr(data-label);
    color: #777;
    font-size: 0.72rem;
    font-weight: 800;
  }

  .inventory-table td:first-child {
    grid-column: 1 / -1;
  }

  .inventory-table td:first-child::before {
    display: none;
  }

  .inventory-product {
    min-width: 0;
  }

  .sh-product-editor > footer div {
    justify-content: stretch;
  }

  .sh-product-editor > footer div > * {
    flex: 1 1 auto;
    justify-content: center;
  }

  .sh-editor-wide {
    grid-column: auto;
  }

  .sh-table {
    min-width: 0;
    table-layout: fixed;
  }

  .sh-table th:nth-child(n + 3):nth-child(-n + 7),
  .sh-product-row td:nth-child(n + 3):nth-child(-n + 7) {
    display: none;
  }

  .sh-table .sh-col-check {
    width: 34px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .sh-table .sh-col-action {
    width: 112px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .sh-product-row > td:nth-child(2) {
    overflow: hidden;
    padding-left: 6px;
    padding-right: 6px;
  }

  .sh-prod {
    gap: 8px;
  }

  .sh-prod-info strong,
  .sh-prod-info small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sh-rowbtn {
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }

  .sh-product-editor-row > td {
    display: table-cell;
    width: auto;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 960px) {
  .ops-sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-rows: auto auto;
    width: 100%;
    padding: 10px 12px;
    box-shadow: 0 4px 16px rgba(20, 18, 16, 0.08);
  }

  .ops-store-switcher {
    margin: 0;
  }

  .ops-store-switcher img {
    display: none;
  }

  .ops-store-switcher label {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .ops-sidebar nav {
    display: flex;
    gap: 5px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    padding: 7px 0 1px;
    scrollbar-width: thin;
  }

  .ops-sidebar nav > a,
  .ops-subnav a {
    min-height: 36px;
    align-items: center;
    flex: 0 0 auto;
    padding: 7px 11px;
    white-space: nowrap;
  }

  .ops-nav-group {
    display: contents;
  }

  .ops-nav-group > button {
    display: none;
  }

  .ops-subnav,
  .ops-nav-group.is-open .ops-subnav {
    display: flex;
    gap: 5px;
  }

  .ops-subnav a {
    padding-left: 11px;
  }

  .ops-sidebar-bottom {
    display: none;
  }

  .ops-main,
  .ops-top,
  .ops-view,
  .ops-panel,
  .ops-top label,
  .ops-top div {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .ops-top input {
    width: 100%;
    min-width: 0;
  }
}

/* ====== 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-community-head {
    align-items: start;
  }

  .featured-review-card {
    flex-basis: calc((100% - 16px) / 2);
  }

  .reviews-summary,
  .reviews-layout {
    grid-template-columns: 1fr;
  }
  .review-form-box {
    position: static;
  }
}

@media (max-width: 620px) {
  .reviews-community {
    padding-left: 16px;
    padding-right: 16px;
  }

  .reviews-community-head {
    align-items: end;
    gap: 14px;
  }

  .reviews-community-head .section-heading h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .reviews-community-head .section-heading > p:last-child {
    font-size: 0.84rem;
  }

  .featured-review-controls {
    flex-direction: column;
  }

  .featured-review-controls button {
    width: 44px;
    height: 44px;
  }

  .featured-review-card {
    flex-basis: 100%;
    min-height: 260px;
  }

  .reviews-community-actions {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .social-brand-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-brand-item {
    justify-content: center;
  }
}

/* ============================================================
   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;
  }

  .account-access-link {
    min-height: 44px;
    padding: 0 11px;
    font-size: 0.72rem;
  }
  .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: block;
  }

  .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"] .account-access-link {
  min-height: 46px;
  border-color: var(--line);
}

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="catalog"] .account-access-link {
  min-height: 42px;
  border: 0;
  background: transparent;
}

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: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.home-category-head p {
  margin: 0;
}

.home-category-copy {
  display: grid;
  gap: 3px;
}

.home-category-copy > p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  line-height: 1.4;
}

.home-category-head a {
  flex: 0 0 auto;
  color: var(--ember);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

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.is-looping {
  scroll-snap-type: none;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  will-change: scroll-position;
}

body[data-page="home"] .persona-carousel.is-looping::-webkit-scrollbar {
  display: none;
}

body[data-page="home"] .persona-carousel .persona-card {
  flex: 0 0 clamp(156px, 12vw, 190px);
  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-carousel [data-carousel-clone="true"] {
  scroll-snap-align: none;
}

body[data-page="home"] .persona-card img {
  grid-row: 1 / 3;
  width: 30px;
  height: 30px;
  margin-inline: 2px;
  object-fit: contain;
  transition: transform 180ms ease, filter 180ms ease;
}

body[data-page="home"] .persona-card:hover img {
  filter: drop-shadow(0 0 7px rgba(240, 106, 47, 0.34));
  transform: translateY(-1px) scale(1.06);
}

body[data-page="home"] .persona-card.active {
  border-color: var(--ember);
  background: rgba(240, 106, 47, 0.12);
  box-shadow: inset 0 0 0 1px rgba(240, 106, 47, 0.45);
}

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 {
  min-height: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.catalog-filter-block label > span {
  min-width: 0;
  line-height: 1.25;
}

body[data-page="catalog"] .catalog-filter-block label > small {
  margin-left: 0;
  justify-self: end;
  text-align: right;
}

.catalog-filter-block input {
  width: 16px;
  height: 16px;
  margin: 0;
  justify-self: end;
  accent-color: var(--ember);
}

.catalog-store-filters { display: grid; gap: 8px; }
.catalog-store-filters label { cursor: pointer; }
.catalog-store-filters .is-own-brand { margin-bottom: 4px; padding: 8px; border: 1px solid rgba(242, 99, 44, .65); border-radius: 6px; color: var(--ink); background: rgba(242, 99, 44, .1); }
.catalog-store-filters .is-own-brand > span { color: var(--ember); font-weight: 900; }
.card-trust a.seller { color: inherit; text-decoration: none; }
.card-trust a.seller:hover { color: var(--ember); text-decoration: underline; text-underline-offset: 3px; }
.card-trust a.own-brand { color: #ff713b; border-color: rgba(242, 99, 44, .55); font-weight: 900; }

.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: 16px;
}

body[data-page="catalog"] .product-card,
body[data-page="catalog"] .publish-product-card {
  height: auto;
  min-height: 380px;
  border-radius: 6px;
}

body[data-page="catalog"] .product-card {
  grid-template-rows: 185px 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: 185px;
  min-height: 185px;
}

.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;
  grid-template-rows: auto auto auto minmax(50px, auto) minmax(23px, 1fr);
  align-content: start;
  gap: 8px;
  padding: 13px 14px 12px;
}

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.2em;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.12;
}

body[data-page="catalog"] .product-body > p:not(.gift-note) {
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: 2.7em;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-page="catalog"] .product-footer {
  grid-column: 1 / -1;
  grid-row: 3;
  padding: 0;
  border: 0;
}

body[data-page="catalog"] .price {
  font-size: 1.14rem;
}

body[data-page="catalog"] .card-trust {
  grid-column: 1 / -1;
  grid-row: 4;
  display: flex;
  justify-content: flex-start;
  align-content: start;
  gap: 7px;
  margin: 0;
  padding-top: 2px;
}

body[data-page="catalog"] .card-trust span {
  padding: 4px 8px;
  font-size: 0.68rem;
}

body[data-page="catalog"] .card-rating {
  grid-column: 1 / -1;
  grid-row: 5;
  justify-content: flex-start;
  align-self: end;
  gap: 8px;
  margin: 2px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
}

body[data-page="catalog"] .card-rating .rating-count {
  font-size: 0.68rem;
}

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;
  }

  body[data-page="catalog"] .catalog-filter-block:has(.catalog-store-filters) {
    display: grid;
    gap: 10px;
  }

  body[data-page="catalog"] .catalog-store-filters {
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 1fr);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-color: var(--ember) rgba(255, 255, 255, 0.08);
  }

  body[data-page="catalog"] .catalog-store-filters label {
    min-height: 52px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
  }
}

@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;
  }
}

@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="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-access-link {
  color: #f4f0e8;
  border-color: rgba(244, 240, 232, 0.18);
  background: rgba(244, 240, 232, 0.06);
}

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;
  }
}

/* ============================================================
   VENDER: condiciones comerciales (10%) y flujo de aprobacion
   ============================================================ */
.seller-fee-line {
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(240, 106, 47, 0.35);
  border-radius: 12px;
  background: rgba(240, 106, 47, 0.1);
  color: var(--ink);
}
.seller-fee-line strong {
  color: var(--ember);
}

.seller-terms,
.seller-onboarding {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.seller-terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.seller-terms-grid article {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(var(--ink-rgb), 0.04);
}
.seller-terms-grid span {
  color: var(--dim);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.seller-terms-grid strong {
  font-size: 2rem;
  line-height: 1;
}
.seller-terms-grid p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.seller-fee-card {
  border-color: rgba(240, 106, 47, 0.4) !important;
  background: rgba(240, 106, 47, 0.08) !important;
}
.seller-fee-card strong {
  color: var(--ember);
}

.seller-example {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(var(--ink-rgb), 0.03);
}
.seller-example h3 {
  margin: 0 0 14px;
}
.seller-example-table {
  width: 100%;
  max-width: 460px;
  border-collapse: collapse;
}
.seller-example-table th,
.seller-example-table td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 500;
  color: var(--muted);
}
.seller-example-table td {
  text-align: right;
  color: var(--ink);
}
.seller-example-total th,
.seller-example-total td {
  border-bottom: 0;
  padding-top: 14px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}
.seller-example-total td {
  color: var(--ember);
}
.seller-example-note {
  margin: 16px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.seller-steps {
  counter-reset: paso;
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  max-width: 780px;
}
.seller-steps li {
  counter-increment: paso;
  position: relative;
  padding: 20px 22px 20px 66px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(var(--ink-rgb), 0.04);
}
.seller-steps li::before {
  content: counter(paso);
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--ember);
  color: #14110d;
  font-weight: 800;
  font-size: 0.9rem;
}
.seller-steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}
.seller-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.seller-accept {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(var(--ink-rgb), 0.04);
  font-size: 0.9rem;
  line-height: 1.45;
  cursor: pointer;
}
.seller-accept input {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 1px;
  accent-color: var(--ember);
}
.seller-accept strong {
  color: var(--ember);
}

/* ====== Preguntas de producto y respuesta de tienda ====== */
.product-questions {
  padding: 64px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #10120f;
}

.product-questions .section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.product-questions .section-heading p:last-child {
  max-width: 64ch;
  color: #aaa59b;
}

.product-questions-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  align-items: start;
  gap: 28px;
}

.product-question-list {
  display: grid;
  gap: 14px;
}

.product-question-card,
.product-question-form-box {
  border: 1px solid #353832;
  border-radius: 14px;
  background: #171a16;
}

.product-question-card {
  display: grid;
  gap: 11px;
  padding: 22px;
}

.product-question-card h3 {
  margin: 0;
  color: #f4f0e8;
  font-size: 1.08rem;
  line-height: 1.4;
}

.question-state {
  color: #f06a2f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-question-answer {
  margin-top: 3px;
  padding: 16px 18px;
  border-left: 3px solid #f06a2f;
  border-radius: 0 9px 9px 0;
  background: #20231e;
}

.product-question-answer strong {
  color: #f4f0e8;
}

.product-question-answer p,
.product-question-card.is-pending p,
.product-questions-empty {
  margin: 6px 0 0;
  color: #aaa59b;
  line-height: 1.55;
}

.product-question-card.is-pending {
  border-color: rgba(240, 106, 47, 0.55);
}

.product-question-form-box {
  position: sticky;
  top: 104px;
  padding: 24px;
}

.product-question-form-box h3 {
  margin: 0 0 6px;
  color: #f4f0e8;
  font-size: 1.35rem;
}

.product-question-form-box > p,
.product-question-form-box form > small {
  color: #9c988f;
  line-height: 1.5;
}

.product-question-form-box form,
.product-question-form-box label {
  display: grid;
  gap: 8px;
}

.product-question-form-box form {
  gap: 15px;
  margin-top: 20px;
}

.product-question-form-box label {
  color: #e5e1d9;
  font-size: 0.86rem;
  font-weight: 800;
}

.product-question-form-box input,
.product-question-form-box textarea {
  width: 100%;
  border: 1px solid #41443e;
  border-radius: 9px;
  padding: 12px 13px;
  color: #f4f0e8;
  background: #0d0f0d;
  font: inherit;
}

.product-question-form-box textarea {
  resize: vertical;
}

.product-question-form-box input:focus,
.product-question-form-box textarea:focus {
  outline: 2px solid rgba(240, 106, 47, 0.22);
  border-color: #f06a2f;
}

.ops-question-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 12px;
}

.ops-question-toolbar button {
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  padding: 8px 13px;
  color: #4b4b4b;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.ops-question-toolbar button.active {
  border-color: #f06a2f;
  color: #fff;
  background: #d7521e;
}

.ops-question-status,
.ops-question-empty {
  color: #696969;
}

.ops-question-card {
  gap: 14px !important;
  padding: 18px !important;
  border-radius: 11px !important;
}

.ops-question-card > header,
.ops-question-card > footer,
.ops-question-meta,
.ops-question-reply > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ops-question-card header h2 {
  margin: 3px 0 0;
  color: #252525;
  font-size: 1.08rem;
}

.ops-question-card header span:first-child,
.ops-question-meta,
.ops-question-card footer a {
  color: #747474;
  font-size: 0.78rem;
}

.ops-question-badge {
  border-radius: 999px;
  padding: 6px 9px;
  color: #9a3b16 !important;
  background: #fff0e8;
  font-weight: 900;
}

.ops-question-card.is-answered .ops-question-badge {
  color: #146c3c !important;
  background: #e9f7ef;
}

.ops-question-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.ops-question-meta b {
  color: #303030;
}

.ops-question-copy {
  color: #252525 !important;
  font-size: 1.02rem;
  line-height: 1.5;
}

.ops-question-answer {
  padding: 13px 15px;
  border-left: 3px solid #108043;
  border-radius: 0 7px 7px 0;
  background: #f1f8f4;
}

.ops-question-answer p {
  margin-top: 5px;
}

.ops-question-card footer {
  justify-content: flex-end;
}

.ops-question-card footer a {
  margin-right: auto;
  font-weight: 800;
}

.ops-question-reply {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #e3e3e3;
}

.ops-question-reply[hidden] {
  display: none !important;
}

.ops-question-reply label {
  display: grid;
  gap: 7px;
  color: #303030;
  font-weight: 800;
}

.ops-question-reply textarea {
  width: 100%;
  border: 1px solid #cacaca;
  border-radius: 8px;
  padding: 12px;
  color: #252525;
  background: #fff;
  font: inherit;
  resize: vertical;
}

.ops-question-reply [role="status"] {
  margin: 0;
  color: #a54117;
}

@media (max-width: 900px) {
  .product-questions-layout {
    grid-template-columns: 1fr;
  }

  .product-question-form-box {
    position: static;
  }
}

@media (max-width: 600px) {
  .product-questions {
    padding: 42px 18px;
  }

  .product-question-card,
  .product-question-form-box {
    padding: 18px;
  }

  .ops-question-card > header,
  .ops-question-card > footer,
  .ops-question-meta,
  .ops-question-reply > div {
    align-items: stretch;
    flex-direction: column;
  }

  .ops-question-card footer a {
    margin-right: 0;
  }
}

/* ===== Portal completo: CSV, fichas, nube y pagina de tienda ===== */
.ops-panel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.ops-csv-report {
  margin-bottom: 16px;
  padding: 15px 17px;
  border: 1px solid #e3b18f;
  border-radius: 10px;
  color: #42291f;
  background: #fff5ee;
}

.ops-csv-report strong { font-size: 1rem; }
.ops-csv-report p { margin: 5px 0 0; }
.ops-csv-report ul { margin: 10px 0 0; padding-left: 20px; }

.sh-editor-section-title {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 5px;
  padding: 10px 0 3px;
  border-bottom: 1px solid #ded6cf;
}

.sh-editor-section-title span {
  color: #d7521e;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sh-editor-section-title strong { color: #28231f; }

.sh-product-editor .sh-check-field {
  display: flex;
  min-height: 58px;
  align-items: center;
  align-self: end;
  flex-direction: row;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #ccc4bc;
  border-radius: 8px;
  background: #fff;
}

.sh-product-editor .sh-check-field input {
  width: 20px;
  min-height: 20px;
  margin: 0;
}

.sh-logistics-summary {
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 82px;
  padding: 12px 14px;
  border: 1px solid #e4b897;
  border-radius: 9px;
  background: #fff6ef;
}

.sh-logistics-summary span { color: #a54117; font-size: .72rem; font-weight: 950; text-transform: uppercase; }
.sh-logistics-summary strong { color: #29231f; }
.sh-logistics-summary small { color: #6f655e; line-height: 1.35; }
.sh-logistics-summary.is-ready { border-color: #9cc9ad; background: #eff8f2; }
.sh-logistics-summary.is-ready span { color: #14683c; }

.ops-button-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid #c8c8c8;
  border-radius: 8px;
  color: #292929;
  background: #fff;
  font-weight: 850;
}

.ops-store-form { display: grid; gap: 22px; }
.ops-store-assets { display: grid; grid-template-columns: minmax(180px, .35fr) minmax(0, 1.65fr); gap: 16px; }
.ops-store-assets article { display: grid; gap: 10px; padding: 14px; border: 1px solid #dedede; border-radius: 12px; background: #fafafa; }
.ops-store-assets article > span { color: #4b4b4b; font-size: .8rem; font-weight: 900; }
.ops-store-assets img { width: 100%; height: 170px; border-radius: 9px; background: #222; object-fit: contain; }
.ops-store-assets .is-cover img { object-fit: cover; }
.ops-store-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.ops-store-fields label { display: grid; gap: 7px; color: #3f3f3f; font-size: .82rem; font-weight: 850; }
.ops-store-fields input,
.ops-store-fields textarea { width: 100%; padding: 11px 12px; border: 1px solid #ccc; border-radius: 8px; color: #252525; background: #fff; font: inherit; }
.ops-store-fields input[readonly] { background: #efefef; color: #707070; }
.ops-field-wide { grid-column: 1 / -1; }
.ops-store-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid #dedede; }
.ops-store-submit p { margin: 0; color: #277045; font-weight: 800; }

.ops-media-library {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #d9d9d9;
}
.ops-media-library h2 { margin: 4px 0; }
.ops-media-library > div > p:last-child { margin: 0; }
.ops-media-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ops-media-grid article { overflow: hidden; border: 1px solid #d8d8d8; border-radius: 10px; background: #fff; }
.ops-media-grid article > img { width: 100%; height: 150px; object-fit: cover; background: #eee; }
.ops-media-grid article > div { display: grid; gap: 6px; padding: 10px; }
.ops-media-grid small { overflow: hidden; color: #747474; text-overflow: ellipsis; white-space: nowrap; }
.ops-media-grid button { min-height: 34px; padding: 6px 8px; font-size: .74rem; }
.ops-media-empty { grid-column: 1 / -1; padding: 22px; border: 1px dashed #ccc; border-radius: 10px; text-align: center; }
#mediaLibraryStatus { grid-column: 1 / -1; margin: 0; color: #a54117; font-weight: 800; }

/* ===== Pagina publica de tienda ===== */
.store-page { background: var(--surface); }
.store-hero { position: relative; min-height: 520px; display: grid; align-items: end; overflow: hidden; color: #f6f2ec; background: #0e0f0d; }
.store-cover { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: .78; }
.store-identity { position: relative; z-index: 1; width: min(1450px, calc(100% - 48px)); display: grid; grid-template-columns: 150px minmax(0, 850px); gap: 25px; align-items: end; margin: 0 auto; padding: 210px 0 52px; }
.store-identity > img { width: 150px; height: 150px; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; background: #111; object-fit: contain; box-shadow: 0 18px 45px rgba(0,0,0,.3); }
.store-identity h1 { max-width: 13ch; margin: 5px 0 10px; color: #fff; font-size: clamp(3rem, 7vw, 6rem); line-height: .9; }
.store-identity > div > p:not(.eyebrow) { max-width: 720px; color: #d4cec7; font-size: 1.05rem; line-height: 1.5; }
.store-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.store-meta a, .store-meta span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; background: rgba(0,0,0,.35); font-size: .8rem; font-weight: 800; }
.store-catalog { padding-top: 62px; padding-bottom: 76px; }
.store-catalog .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.store-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-top: 24px; }
.store-product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); transition: transform .2s ease, border-color .2s ease; }
.store-product-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.store-product-card a { display: grid; height: 100%; color: var(--ink); }
.store-product-card img { width: 100%; height: 250px; object-fit: cover; background: #20211f; }
.store-product-card div { display: grid; align-content: start; gap: 8px; padding: 16px; }
.store-product-card small { color: var(--orange); font-weight: 900; text-transform: uppercase; }
.store-product-card h2 { margin: 0; font-size: 1.2rem; }
.store-product-card p { min-height: 3.8em; margin: 0; overflow: hidden; color: var(--muted); line-height: 1.4; }
.store-product-card strong { color: var(--orange); font-size: 1.35rem; }
.store-product-card span { color: var(--dim); font-size: .8rem; }
.store-empty { padding: 40px; border: 1px dashed var(--line); text-align: center; }
.own-brand-store .store-hero::after { content: "MARCA PROPIA OFICIAL"; position: absolute; top: 110px; right: 34px; z-index: 2; padding: 9px 13px; border: 1px solid var(--orange); border-radius: 999px; color: var(--orange); background: rgba(8,8,7,.8); font-size: .72rem; font-weight: 950; letter-spacing: .08em; }
.own-brand-store .store-identity .eyebrow { color: var(--orange); }

.detail-panels a { color: var(--ink); font-weight: 900; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.product-detail-gallery { grid-template-rows: minmax(0, 1fr) auto; }
.product-detail-main-image { min-height: 0; }
.product-detail-thumbs { width: 100%; display: flex; gap: 8px; overflow-x: auto; padding: 10px; background: rgba(0,0,0,.35); }
.product-detail-thumbs button { width: 72px; height: 58px; flex: 0 0 72px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 7px; background: #1d1d1b; cursor: pointer; }
.product-detail-thumbs button.active { border-color: var(--orange); }
.product-detail-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Ventas separadas por compra, tienda y SKU ===== */
.ops-order-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin: 18px 0; }
.ops-order-summary article { display: grid; gap: 4px; min-height: 108px; padding: 16px; border: 1px solid #ddd8d0; border-radius: 14px; background: linear-gradient(145deg, #fff, #f5f2ed); }
.ops-order-summary span { color: #f2632c; font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.ops-order-summary strong { color: #181714; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1; }
.ops-order-summary small, .ops-sales-table td small, .ops-settlement-table td small { display: block; margin-top: 4px; color: #74706a; }
.ops-sales-table code, .ops-settlement-table code, .ops-sale-identifiers strong, .ops-sale-lines span { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.ops-sale-detail-row > td { padding: 0 !important; background: #f3f0ea; }
.ops-sale-detail { display: grid; gap: 16px; padding: 20px; border-left: 4px solid #f2632c; }
.ops-sale-identifiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.ops-sale-identifiers article { display: grid; gap: 4px; padding: 14px; border: 1px solid #d9d3ca; border-radius: 12px; background: #fff; }
.ops-sale-identifiers span, .ops-sale-lines span { color: #f2632c; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.ops-sale-identifiers small { color: #77716a; }
.ops-code-alert { margin: 0; padding: 10px 12px; border: 1px solid #d57752; border-radius: 9px; color: #7c2708 !important; background: #fff0e8; font-weight: 850; }
.ops-sale-columns { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(240px, .8fr); gap: 16px; }
.ops-sale-columns > div, .ops-sale-columns > aside { padding: 16px; border: 1px solid #d9d3ca; border-radius: 14px; background: #fff; }
.ops-sale-columns h3 { margin: 0 0 13px; }
.ops-sale-lines { display: grid; gap: 8px; }
.ops-sale-lines article { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #ebe6de; }
.ops-sale-lines article:first-child { border-top: 0; }
.ops-sale-lines article > div { display: grid; gap: 3px; }
.ops-sale-lines article > div:last-child { text-align: right; }
.ops-sale-totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; overflow: hidden; border: 1px solid #d9d3ca; border-radius: 14px; background: #fff; }
.ops-sale-totals div { padding: 14px 16px; border-right: 1px solid #e2ddd5; }
.ops-sale-totals div:last-child { border-right: 0; }
.ops-sale-totals dt { color: #746e67; font-size: .75rem; }
.ops-sale-totals dd { margin: 4px 0 0; font-size: 1.05rem; font-weight: 900; }
.ops-sale-totals .is-net { color: #fff; background: #22201d; }
.ops-sale-totals .is-net dt { color: #f6a07d; }
.ops-shipping-card { overflow: hidden; border: 1px solid #cfd8dc; border-radius: 14px; background: #fff; box-shadow: 0 9px 24px rgba(33, 49, 56, .07); }
.ops-shipping-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 18px 20px; color: #eefaff; background: #162b35; }
.ops-shipping-card > header h3 { margin: 6px 0 4px; color: #fff; font-size: 1.18rem; }
.ops-shipping-card > header p { margin: 0; color: #b8c9d0; font-size: .82rem; }
.ops-shipping-brand { color: #50b9e8; font-size: .7rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.ops-mail-state { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.ops-mail-state.is-sent { color: #bff2d3; background: #174f35; }
.ops-mail-state.is-pending { color: #ffe1a3; background: #624512; }
.ops-shipping-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #e0e5e7; }
.ops-shipping-grid article { display: grid; gap: 5px; min-height: 105px; padding: 17px 18px; border-right: 1px solid #e0e5e7; }
.ops-shipping-grid article:last-child { border-right: 0; }
.ops-shipping-grid span, .ops-shipping-address span { color: #4387a4; font-size: .67rem; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.ops-shipping-grid strong { color: #181714; font-size: 1.03rem; }
.ops-shipping-grid small, .ops-shipping-address small { color: #746f69; line-height: 1.45; }
.ops-shipping-address { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, .7fr); gap: 16px; padding: 17px 20px; background: #f7f9f9; }
.ops-shipping-address > div { display: grid; gap: 5px; }
.ops-shipping-card > footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; border-top: 1px solid #e0e5e7; }
.ops-shipping-card > footer > div { display: flex; gap: 9px; }
.ops-shipping-card > footer button { min-height: 40px; }
.ops-shipping-action-status { margin: 0; color: #277045; font-size: .78rem; font-weight: 800; }
.ops-pickup-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border: 1px solid #d9d3ca; border-radius: 14px; background: #fff; }
.ops-pickup-card span { color: #f2632c; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.ops-pickup-card h3 { margin: 5px 0 2px; }
.ops-pickup-card p { margin: 0; color: #746f69; }
.ops-pickup-card > strong { font-size: 1.1rem; }

@media (max-width: 1100px) {
  .ops-media-grid, .store-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-order-summary, .ops-sale-identifiers, .ops-sale-totals, .ops-shipping-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-shipping-grid article:nth-child(2) { border-right: 0; }
  .ops-shipping-grid article:nth-child(-n+2) { border-bottom: 1px solid #e0e5e7; }
  .ops-sale-columns { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .ops-panel-actions, .ops-store-submit { align-items: stretch; flex-direction: column; }
  .ops-store-assets, .ops-store-fields { grid-template-columns: 1fr; }
  .ops-field-wide { grid-column: auto; }
  .ops-media-library { grid-template-columns: 1fr; }
  .ops-media-grid { grid-template-columns: 1fr 1fr; }
  .store-identity { width: calc(100% - 32px); grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding-bottom: 34px; }
  .store-identity > img { width: 92px; height: 92px; border-radius: 12px; }
  .store-identity h1 { font-size: clamp(2.5rem, 14vw, 4rem); }
  .store-catalog .section-heading { align-items: start; flex-direction: column; }
  .store-product-grid { grid-template-columns: 1fr; }
  .ops-order-summary, .ops-sale-identifiers, .ops-sale-totals, .ops-shipping-grid, .ops-shipping-address { grid-template-columns: 1fr; }
  .ops-shipping-card > header, .ops-shipping-card > footer { align-items: stretch; flex-direction: column; }
  .ops-mail-state { align-self: flex-start; }
  .ops-shipping-grid article { border-right: 0; border-bottom: 1px solid #e0e5e7; }
  .ops-shipping-grid article:last-child { border-bottom: 0; }
  .ops-shipping-card > footer > div { display: grid; }
  .ops-sale-lines article { align-items: flex-start; flex-direction: column; }
  .ops-sale-lines article > div:last-child { text-align: left; }
}

/* Foto que sube el comprador en su resena verificada. */
.review-photo {
  margin: 12px 0 0;
}

.review-photo img {
  max-width: 220px;
  max-height: 220px;
  width: auto;
  border-radius: 10px;
  border: 1px solid rgba(var(--ink-rgb), 0.16);
  object-fit: cover;
  display: block;
}
