/* marco.css — cabecera, pie y letra de la tienda en las páginas sencillas (1-dic-2026). La pone marco_tienda.py.
   Copia de los estilos de la portada (index.html): franja .abar, header, .hn, .hcb, footer .fw. */
body{font-family:'Hanken Grotesk',system-ui,sans-serif!important;background:#f5efe3;color:#2e1f0e}
h1,h2,h3{font-family:'Newsreader',Georgia,serif!important;font-weight:500!important;letter-spacing:-.01em}
.mk-abar{background:#3d1e08;color:#e8d5b4;font:12px/1.4 'Hanken Grotesk',system-ui,sans-serif;letter-spacing:.6px;text-align:center;padding:8px 5%;
  display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.mk-abar b{color:#e2bb6a;font-weight:600}
.mk-abar .mk-sep{color:rgba(232,213,180,.35)}
header.mk-cab{position:sticky;top:0;z-index:300;display:flex;align-items:center;justify-content:space-between;gap:16px;height:76px;padding:0 5%;
  background:#f5efe3;border-bottom:1px solid #c9b89a;margin:0;box-sizing:border-box;font-family:'Hanken Grotesk',system-ui,sans-serif}
header.mk-cab a{text-decoration:none}
.mk-logo{display:flex;align-items:center;gap:12px;color:#5c2d0e;flex-shrink:0}
.mk-rueda{width:40px;height:40px;flex-shrink:0;animation:mkgira 26s linear infinite;transform-origin:50% 50%}
@keyframes mkgira{to{transform:rotate(360deg)}}
.mk-logo-h{display:block;font:500 26px/1 'Newsreader',Georgia,serif;letter-spacing:-.01em;color:#5c2d0e}
.mk-logo-p{display:block;margin-top:5px;font:italic 14px/1.1 'Newsreader',Georgia,serif;color:#8a6a4a;white-space:nowrap}
.mk-nav{display:flex;align-items:center;gap:4px}
.mk-nav a{font:500 20px/1 'Newsreader',Georgia,serif;letter-spacing:-.01em;color:#4a2410;padding:0 16px;height:76px;display:flex;align-items:center;
  border-bottom:3px solid transparent;box-sizing:border-box}
.mk-nav a:hover{color:#8a4a1e;border-bottom-color:#d9b98f}
.mk-der{display:flex;align-items:center;gap:18px;flex-shrink:0}
.mk-lg{font:500 12px/1 'Hanken Grotesk',system-ui,sans-serif;letter-spacing:1px;color:#8a6a4a;white-space:nowrap}
.mk-lg a{color:#8a6a4a;padding:0 2px}
.mk-lg a:hover{color:#8a4a1e}
.mk-lg b{color:#8a4a1e}
.mk-carrito{display:flex;align-items:center;gap:10px;font:500 20px/1 'Newsreader',Georgia,serif;color:#4a2410}
.mk-cn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;background:#8a4a1e;color:#fff7ec;font:700 13px/1 'Hanken Grotesk',sans-serif;
  box-shadow:inset 0 0 0 3px #8a4a1e,inset 0 0 0 4px rgba(255,247,236,.6)}
.mk-comprar{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:999px;background:#8a4a1e;color:#fff7ec!important;
  font:600 15px/1 'Hanken Grotesk',system-ui,sans-serif;white-space:nowrap}
.mk-comprar:hover{background:#6e3913}
.mk-menu{display:none;position:relative}
.mk-menu summary{list-style:none;cursor:pointer;padding:10px 6px;display:flex;flex-direction:column;gap:4px}
.mk-menu summary::-webkit-details-marker{display:none}
.mk-menu summary span{display:block;width:22px;height:2px;background:#5c2d0e}
.mk-menu nav{position:absolute;right:-5vw;top:56px;width:100vw;max-width:420px;background:#f5efe3;border:1px solid #c9b89a;box-shadow:0 10px 30px rgba(46,31,14,.15);z-index:400}
.mk-menu nav a{display:block;padding:15px 22px;border-bottom:1px solid #e8d5b4;font:500 18px/1.2 'Newsreader',Georgia,serif;color:#4a2410}
.mk-menu nav .mk-lg{display:block;padding:15px 22px;font-size:14px}
footer.mk-pie{background:#1a1108!important;color:#e0c896;padding:36px 5% 18px!important;margin:40px 0 0!important;text-align:left!important;font:14px/1.6 'Hanken Grotesk',system-ui,sans-serif;border:0!important}
.mk-fw{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:36px;padding-bottom:26px;border-bottom:1px solid rgba(200,160,100,.18);margin-bottom:14px;max-width:1300px;margin-left:auto;margin-right:auto}
.mk-fn{font:400 20px/1.2 'Newsreader',Georgia,serif;color:#e0c896;margin-bottom:4px}
.mk-fs{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:rgba(212,180,131,.55);margin-bottom:9px}
.mk-fd{font-size:12px;color:rgba(224,200,150,.62);line-height:1.85;max-width:280px}
.mk-fct{font-size:10px;letter-spacing:2.5px;text-transform:uppercase;color:rgba(212,180,131,.6);margin-bottom:10px}
footer.mk-pie ul{list-style:none;margin:0;padding:0}
footer.mk-pie li{margin-bottom:7px}
footer.mk-pie a{font-size:12.5px;color:rgba(224,200,150,.75)!important;text-decoration:none}
footer.mk-pie a:hover{color:#e0c896!important}
.mk-fcp{font-size:11px;color:rgba(212,180,131,.45);text-align:center}
@media (max-width:1100px){.mk-nav a{font-size:17px;padding:0 10px}.mk-logo-p{display:none}}
@media (max-width:900px){
  .mk-nav,.mk-der{display:none}.mk-menu{display:block}
  header.mk-cab{height:64px}.mk-rueda{width:34px;height:34px}.mk-logo-h{font-size:22px}
  .mk-abar span:not(:first-child),.mk-abar .mk-sep{display:none}
  .mk-fw{grid-template-columns:1fr 1fr;gap:22px}
}
@media (prefers-reduced-motion:reduce){.mk-rueda{animation:none}}
/* páginas cuyo body es flex (p. ej. 404): cabecera y pie a lo ancho, contenido debajo */
body:has(>.mk-abar){flex-direction:column;justify-content:flex-start!important;padding:0!important;margin:0!important}
header.mk-cab,footer.mk-pie{text-align:left}
body:has(>.mk-abar)>footer.mk-pie{margin-top:auto!important}
body>.mk-abar,body>header.mk-cab,body>footer.mk-pie{align-self:stretch;width:100%;box-sizing:border-box}
/* 1-dic-2026 (Toni: «revisa bien que la estética sea la misma»): catálogos, secciones y colecciones con las tarjetas,
   títulos y botones de la tienda (portada #murales), en vez de las cajitas blancas viejas. «html body» gana a movil.css. */
html body .w{max-width:1240px}
html body .mig{padding:18px 5% 0;font:13px/1.4 'Hanken Grotesk',system-ui,sans-serif;color:#8a6a4a}
html body .mig a{color:#8a6a4a;text-decoration:underline;text-underline-offset:3px}
html body .w>h1{font:400 clamp(30px,4.2vw,46px)/1.12 'Newsreader',Georgia,serif!important;color:#2e1f0e;margin:18px 0 14px;letter-spacing:-.015em}
html body .intro{font:16px/1.75 'Hanken Grotesk',system-ui,sans-serif;color:#5c3a1e;max-width:780px;margin-bottom:28px}
html body .pag{gap:8px;margin:8px 0 30px}
html body .pag a,html body .pag b{font:500 13px/1 'Hanken Grotesk',system-ui,sans-serif;padding:11px 16px;border:1px solid #c9b89a;background:#fbf7ee;color:#3d1e08;border-radius:0;text-decoration:none}
html body .pag b{background:#2e1f0e;color:#fbf7ee;border-color:#2e1f0e}
html body .pag a:hover{border-color:#8a4a1e}
html body .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:40px 30px}
html body .grid .c{display:flex;flex-direction:column;background:none;border:0;padding:0;box-shadow:none;min-height:0;border-radius:0;text-decoration:none;color:inherit}
html body .grid .c:hover{box-shadow:none}
html body .grid .c img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:0;background:#ece3d2;transition:transform .35s,filter .35s;grid-column:auto;grid-row:auto}
html body .grid .c:hover img{filter:brightness(1.04)}
html body .grid .c .n{font:400 20px/1.25 'Newsreader',Georgia,serif;color:#2e1f0e;margin:16px 0 6px;min-height:0;letter-spacing:-.01em}
html body .grid .c .p{font:400 17px/1.3 'Newsreader',Georgia,serif;color:#5c2d0e;margin:0;font-weight:400}
html body .grid .c::after{align-self:flex-start;margin-top:12px;padding:9px 18px;border:1px solid #2e1f0e;font:500 13px/1 'Hanken Grotesk',system-ui,sans-serif;color:#2e1f0e;content:'Ver →'}
html[lang=en] body .grid .c::after{content:'View →'}
html[lang=de] body .grid .c::after{content:'Ansehen →'}
html[lang=fr] body .grid .c::after{content:'Voir →'}
html[lang=it] body .grid .c::after{content:'Vedi →'}
html body .grid .c:hover::after{background:#2e1f0e;color:#fbf7ee}
html body .more{background:#fbf7ee;border:1px solid #c9b89a;border-left:3px solid #8a4a1e;font:15px/1.7 'Hanken Grotesk',system-ui,sans-serif;color:#5c3a1e}
@media (max-width:640px){html body .grid{grid-template-columns:1fr 1fr;gap:26px 14px}html body .grid .c .n{font-size:16px}html body .grid .c .p{font-size:15px}html body .grid .c::after{display:none}}
