/* =====================================================================
   MUTANTFITT — Tienda (diseño aprobado: negro / hueso, Archivo + IBM Plex Mono)
   Independiente de los paneles (public/index.html). Tokens en :root; componentes con prefijo .mf-
   ===================================================================== */
:root {
  --ink: #0A0A0A; --carbon: #141414; --steel: #1A1A1A; --graphite: #2A2A2A;
  --stone: #9A968E; --soft: #C9C5BD; --bone: #EDE9E1; --white: #FFFFFF;
  --line: rgba(237, 233, 225, .13); --line-strong: rgba(237, 233, 225, .28);
  --signal: #E5322D; --signal-text: #FF6B5C; --ok: #7BD389; --warn: #E8B44C;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif; --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(16px, 4vw, 56px); --gap: clamp(56px, 8vw, 120px); --radius: 0;
  --photo: none;   /* fotos a color, tal como se suben (antes: blanco y negro) */
  --header-h: 72px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
main { min-height: 50vh; }
main:focus { outline: none; }
.mf-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mf-skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--bone); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.mf-skip:focus { top: 8px; }

/* ---------- tipografía ---------- */
.mf-label { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.mf-mono { font-family: var(--mono); }
.mf-accent { color: var(--signal-text); display: inline-flex; align-items: center; gap: 10px; }
.mf-dot { display: inline-block; width: 7px; height: 7px; background: var(--signal); flex: none; }
.mf-display { font-weight: 900; font-stretch: 112%; text-transform: uppercase; line-height: .9; letter-spacing: -.01em; margin: 0; font-size: clamp(48px, 7.4vw, 112px); overflow-wrap: anywhere; }
.mf-display-md { font-size: clamp(38px, 5vw, 76px); }
.mf-display-sm { font-size: clamp(30px, 3.4vw, 52px); line-height: .95; }
.mf-h2 { font-weight: 900; font-stretch: 112%; text-transform: uppercase; line-height: .95; font-size: clamp(30px, 3.6vw, 52px); margin: 0; }
.mf-h3 { font-weight: 800; font-stretch: 110%; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 30px); margin: 0 0 8px; line-height: 1; }
.mf-lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--soft); margin: 0; max-width: 620px; }
.mf-muted { color: var(--stone); }
.mf-small { font-size: 13px; }
.mf-prose { color: var(--soft); line-height: 1.75; max-width: 72ch; }
.mf-prose h2, .mf-prose h3 { color: var(--bone); text-transform: uppercase; font-stretch: 110%; margin: 1.6em 0 .5em; }
.mf-prose a { color: var(--bone); border-bottom: 1px solid var(--line-strong); }
.mf-prose table { border-collapse: collapse; width: 100%; font-size: 14px; }
.mf-prose th, .mf-prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }

/* ---------- botones y enlaces ---------- */
.mf-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; background: var(--bone); color: var(--ink); border: 1px solid var(--bone);
  font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; text-align: center; }
.mf-btn:hover { background: var(--white); }
.mf-btn-ghost { background: transparent; color: var(--bone); }
.mf-btn-ghost:hover { background: var(--bone); color: var(--ink); }
.mf-btn-block { width: 100%; }
.mf-btn-sm { min-height: 42px; padding: 0 18px; font-size: 12px; }
.mf-btn[disabled], .mf-btn.is-loading { opacity: .5; pointer-events: none; }
.mf-link { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; display: inline-block; }
.mf-link-sm { font-size: 11px; letter-spacing: .12em; padding-bottom: 2px; }
.mf-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; color: var(--bone); }
.mf-icon-btn-sm { width: 36px; height: 36px; }
.mf-icon-btn[disabled] { opacity: .35; }
.mf-text-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; color: var(--stone); cursor: pointer; font-size: 13px; }
.mf-text-btn:hover { color: var(--bone); }
.mf-text-btn .mf-icon { width: 16px; height: 16px; }

/* ---------- avisos ---------- */
.mf-test-banner { background: var(--warn); color: var(--ink); font-size: 13px; padding: 10px var(--pad); text-align: center; line-height: 1.4; }
.mf-store-closed { background: var(--signal); color: var(--white); font-size: 13px; font-weight: 600; padding: 10px var(--pad); text-align: center; }
.mf-announce { background: var(--bone); color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 16px; text-align: center; }
.mf-notice, .mf-alert { padding: 12px 16px; border: 1px solid var(--line-strong); font-size: 14px; margin: 0 0 16px; }
.mf-notice a { text-decoration: underline; }
.mf-alert { border-color: var(--signal); color: var(--signal-text); }
.mf-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; background: var(--bone); color: var(--ink); padding: 12px 20px; font-size: 14px; font-weight: 600; max-width: calc(100vw - 32px); }

/* ---------- cabecera ---------- */
/* El desenfoque va en una capa aparte: backdrop-filter en .mf-header convertiría la cabecera en el contenedor de los
   elementos position:fixed (el menú móvil quedaría recortado dentro de la cabecera). */
.mf-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.mf-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 10, 10, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mf-header-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; height: var(--header-h); padding: 0 var(--pad); }
.mf-logo { font-weight: 800; font-stretch: 125%; font-size: 21px; letter-spacing: .04em; text-transform: uppercase; justify-self: center; white-space: nowrap; }
.mf-nav { display: none; gap: 30px; }
.mf-nav a { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; }
.mf-nav a:hover, .mf-nav a[aria-current="page"] { color: var(--white); }
.mf-header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
.mf-cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bone); color: var(--ink); font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.mf-cart-count[hidden] { display: none; }
@media (min-width: 1080px) {
  .mf-header-bar { grid-template-columns: auto 1fr auto; }
  .mf-logo { justify-self: start; }
  .mf-nav { display: flex; justify-content: center; }
  .mf-menu { display: none; }
}
@media (max-width: 520px) { :root { --header-h: 60px; } .mf-hide-sm { display: none !important; } .mf-logo { font-size: 17px; } }

/* menú móvil (details/summary: funciona sin JavaScript) */
.mf-menu > summary { list-style: none; }
.mf-menu > summary span { display: inline-flex; }
.mf-menu .mf-when-open, .mf-menu[open] .mf-when-closed { display: none; }
.mf-menu[open] .mf-when-open { display: inline-flex; }
.mf-menu > summary::-webkit-details-marker { display: none; }
/* Anclado bajo la cabecera (que es sticky): funciona con o sin franja de aviso y sin JavaScript */
.mf-menu-panel { position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--ink); padding: 8px var(--pad) 40px; overflow-y: auto; z-index: 60; border-top: 1px solid var(--line); }
.mf-menu-nav { display: flex; flex-direction: column; }
.mf-menu-link { font-weight: 900; font-stretch: 112%; font-size: 30px; text-transform: uppercase; min-height: 64px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.mf-menu-search { display: flex; margin: 24px 0; border: 1px solid var(--line-strong); }
.mf-menu-search input { flex: 1; min-width: 0; background: none; border: 0; padding: 0 14px; height: 50px; }
.mf-menu-search input:focus { outline: none; }
.mf-menu-sub { display: flex; flex-direction: column; }
.mf-menu-sub a { color: var(--soft); min-height: 44px; display: flex; align-items: center; }

/* ---------- secciones generales ---------- */
.mf-section { padding: var(--gap) var(--pad) 0; }
.mf-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.mf-head .mf-label { display: block; margin-bottom: 10px; }
.mf-page-head { padding: clamp(32px, 6vw, 72px) var(--pad) 24px; display: flex; flex-direction: column; gap: 14px; }
.mf-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.mf-crumbs li + li::before { content: "/"; margin-right: 6px; }
.mf-crumbs a:hover { color: var(--bone); }
.mf-zoom { overflow: hidden; }
.mf-zoom img { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.mf-zoom:hover img { transform: scale(1.04); }

/* ---------- portada ---------- */
.mf-hero { position: relative; height: clamp(560px, 86vh, 860px); overflow: hidden; background: var(--ink); }
.mf-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; filter: var(--photo); }
.mf-hero[data-hero-slides] > img { opacity: 0; transition: opacity 1.2s ease; }
.mf-hero[data-hero-slides] > img.is-active { opacity: 1; }
.mf-hero-dots { position: absolute; right: var(--pad); bottom: clamp(40px, 8vh, 88px); z-index: 2; display: flex; gap: 10px; }
.mf-hero-dots button { width: 32px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.mf-hero-dots button::before { content: ""; display: block; height: 4px; background: rgba(255, 255, 255, .35); transition: background .3s; }
.mf-hero-dots button[aria-current="true"]::before { background: #fff; }
.mf-hero-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .mf-hero[data-hero-slides] > img { transition: none; } }
.mf-hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.35) 45%, rgba(10,10,10,0) 70%); }
.mf-hero-copy { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(40px, 8vh, 88px); display: flex; flex-direction: column; gap: 20px; max-width: 780px; }
@media (max-width: 700px) {
  .mf-hero { height: 620px; }
  .mf-hero-dots { top: 20px; bottom: auto; }
  .mf-hero-scrim { background: linear-gradient(0deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.25) 55%, rgba(10,10,10,0) 78%); }
  .mf-hero .mf-display { font-size: 50px; }
  .mf-hero .mf-btns { display: grid; grid-template-columns: 1fr 1fr; }
  .mf-hero .mf-btn { padding: 0 10px; }
}
.mf-drop { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); background: var(--carbon); }
.mf-drop-media { position: relative; min-height: 520px; }
.mf-drop-media img, .mf-cat img, .mf-campaign img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--photo); }
.mf-drop-copy { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: clamp(32px, 6vw, 96px); }
.mf-drop-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mf-drop-list a { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.mf-drop-list a:hover { color: var(--white); padding-left: 6px; transition: padding .2s; }
.mf-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.mf-cat { position: relative; aspect-ratio: 3 / 4; display: block; background: var(--steel); }
.mf-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,10,.85), rgba(10,10,10,0) 55%); }
.mf-cat-copy { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.mf-cat-copy b { font-weight: 900; font-stretch: 112%; font-size: clamp(24px, 2.4vw, 34px); text-transform: uppercase; line-height: 1; }
.mf-cats-all { padding: 0 var(--pad); }
.mf-campaign { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 12px; padding: var(--gap) var(--pad) 0; }
.mf-campaign-a { position: relative; min-height: clamp(460px, 60vw, 760px); }
.mf-campaign-copy { display: flex; flex-direction: column; gap: 24px; justify-content: space-between; }
.mf-campaign-b { position: relative; flex: 1; min-height: 340px; }
.mf-identity { display: flex; flex-direction: column; gap: 22px; }
.mf-pillars { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1px solid var(--line); }
.mf-pillars li { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.mf-pillars b { font-weight: 800; font-stretch: 110%; font-size: 22px; text-transform: uppercase; }
.mf-pillars p { margin: 0; color: var(--stone); }
.mf-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px; align-items: end; padding-bottom: var(--gap); }
.mf-team > div:last-child { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

/* ---------- tarjetas de producto ---------- */
.mf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 900px) { .mf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .mf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 16px; } }
.mf-listing .mf-grid { padding: 0 var(--pad); }
.mf-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mf-card-media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--steel); overflow: hidden; }
.mf-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform .9s cubic-bezier(.2, .7, .2, 1); }
.mf-card-img-alt { opacity: 0; }
@media (hover: hover) { .mf-card-media:hover .mf-card-img-alt { opacity: 1; } .mf-card-media:hover img { transform: scale(1.03); } }
.mf-img-empty { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, var(--steel) 0 14px, var(--carbon) 14px 28px); }
.mf-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.mf-badge { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: var(--bone); color: var(--ink); padding: 4px 7px; }
.mf-badge-soldout { background: var(--graphite); color: var(--soft); }
.mf-badge-sale { background: var(--signal); color: var(--white); }
.mf-badge-test { background: var(--warn); color: var(--ink); }
.mf-buy .mf-badges { position: static; margin: 4px 0 0; }
.mf-card-body { display: flex; flex-direction: column; gap: 6px; }
.mf-card-title { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; margin: 0; }
.mf-card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mf-price { font-family: var(--mono); font-size: 14px; color: var(--soft); }
.mf-price-was { color: var(--stone); margin-right: 6px; }
.mf-price-sale { color: var(--signal-text); }
.mf-card-sizes { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--stone); }
.mf-card-sizes .is-out { text-decoration: line-through; opacity: .55; }

/* ---------- listados ---------- */
.mf-chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--pad) 8px; scrollbar-width: none; }
.mf-chips::-webkit-scrollbar { display: none; }
.mf-chips a { flex: none; border: 1px solid var(--line-strong); padding: 10px 16px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.mf-chips a:hover, .mf-chips a.is-active { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.mf-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 20px var(--pad) 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.mf-count { margin: 0; color: var(--stone); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.mf-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.mf-field { display: flex; flex-direction: column; gap: 6px; }
.mf-field select, .mf-search input, .mf-qty input { background: var(--carbon); border: 1px solid var(--line-strong); height: 44px; padding: 0 12px; border-radius: 0; }
.mf-field select { padding-right: 32px; min-width: 150px; }
.mf-check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: var(--soft); cursor: pointer; }
.mf-check input { width: 18px; height: 18px; accent-color: var(--bone); }
.mf-js [data-hide-js] { display: none; }
.mf-search { display: flex; gap: 8px; max-width: 640px; width: 100%; }
.mf-search .mf-btn { flex: none; padding: 0 20px; }
.mf-search input { flex: 1; min-width: 0; height: 52px; font-size: 16px; }
.mf-empty { padding: 40px var(--pad) 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; max-width: 640px; }

/* ---------- ficha de producto ---------- */
.mf-product { display: grid; grid-template-columns: 1fr; gap: 0; }
.mf-product-head-sm { padding: 16px var(--pad) 0; }
.mf-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px var(--pad) 0; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.mf-gallery::-webkit-scrollbar { display: none; }
.mf-gallery-item { margin: 0; position: relative; aspect-ratio: 4 / 5; background: var(--steel); scroll-snap-align: start; }
.mf-gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mf-buy { padding: 24px var(--pad) 0; }
.mf-buy-inner { display: flex; flex-direction: column; gap: 16px; }
.mf-buy-inner > .mf-crumbs { display: none; }
.mf-product-title { font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 48px); line-height: .95; margin: 0; overflow-wrap: anywhere; }
.mf-product-price .mf-price { font-size: 20px; color: var(--bone); }
@media (min-width: 1000px) {
  .mf-product { grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); align-items: start; }
  .mf-product-head-sm { display: none; }
  .mf-gallery { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; overflow: visible; padding: 0; gap: 4px; }
  .mf-gallery-item:first-child { grid-column: 1 / -1; }
  .mf-buy { position: sticky; top: var(--header-h); padding: 40px var(--pad); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .mf-buy-inner > .mf-crumbs { display: block; }
}
.mf-option { border: 0; padding: 0; margin: 0 0 6px; }
.mf-option legend { display: flex; width: 100%; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0; margin-bottom: 10px; }
.mf-option legend b { color: var(--bone); font-weight: 500; }
.mf-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.mf-swatch { min-width: 56px; min-height: 48px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 13px; cursor: pointer; transition: border-color .15s, background .15s; }
.mf-swatch:hover { border-color: var(--bone); }
.mf-swatch.is-out { color: var(--stone); text-decoration: line-through; border-style: dashed; }
input:checked + .mf-swatch { background: var(--bone); color: var(--ink); border-color: var(--bone); text-decoration: none; }
input:focus-visible + .mf-swatch { outline: 2px solid var(--bone); outline-offset: 2px; }
.mf-options { display: none; }
.mf-js .mf-options { display: block; }
.mf-js .mf-variant-select { display: none; }
.mf-stock { font-size: 14px; margin: 0; display: flex; align-items: center; gap: 8px; }
.mf-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.mf-stock.is-ok { color: var(--ok); } .mf-stock.is-low { color: var(--warn); } .mf-stock.is-pre { color: var(--soft); } .mf-stock.is-out { color: var(--stone); }
.mf-buy-row { display: flex; gap: 8px; }
.mf-qty input { width: 76px; height: 52px; text-align: center; }
.mf-accordion { border-top: 1px solid var(--line); }
.mf-accordion:last-child { border-bottom: 1px solid var(--line); }
.mf-accordion summary { cursor: pointer; list-style: none; min-height: 52px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mf-accordion summary::-webkit-details-marker { display: none; }
.mf-accordion summary::after { content: "+"; font-family: var(--mono); font-size: 18px; }
.mf-accordion[open] summary::after { content: "–"; }
.mf-accordion p { color: var(--soft); margin: 0 0 16px; }
.mf-accordion a { text-decoration: underline; }
.mf-sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--pad); background: rgba(10,10,10,.96); border-top: 1px solid var(--line); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.mf-sticky-buy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mf-sticky-buy[hidden] { display: none; }
@media (min-width: 1000px) { .mf-sticky-buy { display: none !important; } }

/* ---------- carrito ---------- */
.mf-cart { padding-bottom: var(--gap); }
.mf-cart > .mf-notice, .mf-cart > .mf-alert { margin: 0 var(--pad) 24px; }
.mf-cart-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 0 var(--pad); }
@media (min-width: 1000px) { .mf-cart-grid { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } }
.mf-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mf-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.mf-line-img { position: relative; aspect-ratio: 4 / 5; background: var(--steel); display: block; }
.mf-line-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mf-line-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mf-line-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.mf-line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.mf-line-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); }
.mf-line-qty span { min-width: 28px; text-align: center; }
.mf-line-total { font-size: 14px; white-space: nowrap; }
.mf-summary { background: var(--carbon); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1000px) { .mf-summary { position: sticky; top: calc(var(--header-h) + 24px); } }
.mf-summary-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mf-summary p { margin: 0; }
.mf-summary .mf-link { align-self: center; }

/* cajón del carrito */
.mf-drawer { position: fixed; inset: 0; z-index: 80; }
.mf-drawer[hidden] { display: none; }
.mf-drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.mf-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100vw, 440px); background: var(--ink); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.mf-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.mf-lines-compact { flex: 1; overflow-y: auto; padding: 0 20px; border-top: 0; }
.mf-lines-compact .mf-line { grid-template-columns: 72px minmax(0, 1fr) auto; }
.mf-drawer-foot { padding: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.mf-drawer-empty { padding: 40px 20px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
body.mf-noscroll { overflow: hidden; }

/* ---------- páginas de contenido y error ---------- */
.mf-content { padding-bottom: var(--gap); }
.mf-content > .mf-notice, .mf-content > .mf-prose { margin-left: var(--pad); margin-right: var(--pad); }
.mf-error-page { padding: clamp(56px, 10vw, 140px) var(--pad); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

/* ---------- reseñas (Supabase) ---------- */
.mf-stars { color: var(--bone); letter-spacing: 2px; font-size: 14px; }
.mf-stars-off { color: var(--graphite); }
.mf-reviews-link { display: inline-flex; align-items: center; gap: 8px; }
.mf-reviews-avg { display: flex; align-items: center; gap: 8px; margin: 0; }
.mf-review-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.mf-review { background: var(--carbon); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.mf-review header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mf-review p { margin: 0; color: var(--soft); line-height: 1.6; }
.mf-review-photos { display: flex; gap: 8px; }
.mf-review-photos img { width: 84px; height: 84px; object-fit: cover; }

/* ---------- ayuda (MutantFitt Assistant en /support) ---------- */
.mf-help { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; background: var(--carbon); color: var(--bone);
  border: 1px solid var(--line-strong); padding: 10px 16px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mf-help:hover { background: var(--bone); color: var(--ink); }
.mf-help-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
body:has(.mf-sticky-buy:not([hidden])) .mf-help { bottom: 76px; }
body.mf-noscroll .mf-help { display: none; }

/* ---------- pie ---------- */
.mf-footer { margin-top: var(--gap); border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 96px) var(--pad) 32px; }
.mf-footer-top { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1000px) { .mf-footer-top { grid-template-columns: 1fr 1.2fr; } }
.mf-footer-join { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; max-width: 520px; }
.mf-footer-join p { margin: 0; }
.mf-footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
.mf-footer-cols nav { display: flex; flex-direction: column; gap: 12px; }
.mf-footer-cols nav .mf-label { margin-bottom: 4px; }
.mf-footer-cols a { color: var(--soft); }
.mf-footer-cols a:hover { color: var(--white); }
.mf-footer-word { font-weight: 900; font-stretch: 125%; font-size: clamp(56px, 13vw, 200px); line-height: .85; color: var(--carbon); margin: 56px 0 24px; overflow: hidden; white-space: nowrap; }
.mf-footer-legal { font-size: 11px; letter-spacing: .12em; color: var(--stone); }
.mf-footer-legal a { text-decoration: underline; text-underline-offset: 3px; }

.mf-icon { flex: none; }
@media (max-width: 380px) { .mf-grid { gap: 22px 8px; } .mf-card-title { font-size: 12px; } .mf-btn { padding: 0 18px; } }
@media print { .mf-header, .mf-footer, .mf-test-banner { display: none; } body { background: #fff; color: #000; } }

/* Vista previa del Editor visual: encuadre de las fotos de la portada arrastrándolas */
.mf-pos-drag { cursor: grab; touch-action: none; user-select: none; }
.mf-pos-drag.is-dragging { cursor: grabbing; }
.mf-pos-drag img { -webkit-user-drag: none; }
.mf-zoom.mf-pos-drag:hover img { transform: none; }
.mf-drag-hint { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 8px 12px; background: rgba(10, 10, 10, .78); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font: 500 12px/1 "IBM Plex Mono", monospace; letter-spacing: .04em; pointer-events: none; }
