:root{color-scheme:light;--ink:#392418;--paper:#fbf7ef;--gold:#e7c580;--line:#dfd2bd;--muted:#725d4b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.6 system-ui,sans-serif}a{color:inherit}button,select,input{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}:focus-visible{outline:3px solid #af782b;outline-offset:4px}.wrap{width:min(1120px,calc(100% - 2rem));margin-inline:auto}.top{border-bottom:1px solid var(--line)}.bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4.6rem}.logo,.eyebrow{font-weight:700;letter-spacing:.22em}.logo{text-decoration:none}.hero{color:#fbf7ef;background:radial-gradient(ellipse at 82% 20%,#765033,transparent 64%),#3a2418;padding:clamp(3.5rem,9vw,8rem) 0}.eyebrow{color:var(--gold);font-size:.8rem}.hero p:not(.eyebrow){max-width:32rem}.hero em{color:var(--gold);font-weight:400}h1,h2,h3{font-family:Georgia,serif;font-weight:400;line-height:1.04;margin:0}h1{font-size:clamp(3rem,8vw,6.5rem);letter-spacing:-.045em}h2{font-size:clamp(2rem,5vw,3.2rem)}h3{font-size:1.6rem}.button,.outline{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;padding:.55rem 1rem;border:1px solid transparent;border-radius:.35rem;text-decoration:none;font-weight:650}.button{background:var(--gold);color:#342114}.outline{background:transparent;border-color:var(--line)}.catalog{padding:3rem 0 4rem;scroll-margin-top:1rem}.filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:1rem;margin:1.4rem 0}.filters label,.card label{display:grid;gap:.35rem;font-weight:600}.filters input,.filters select,.card select{min-height:44px;width:100%;background:#fffdf8;border:1px solid var(--line);padding:.45rem .7rem;border-radius:.35rem}.group{margin-top:2rem}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:1rem;margin-top:1rem}.card{max-width:370px;width:100%;border:1px solid var(--line);border-radius:.55rem;overflow:hidden;background:#fffdf8}.card img{width:100%;height:clamp(230px,29vw,340px);object-fit:contain;display:block;background:#f0e7d6}.card-body{padding:1rem;display:grid;gap:.7rem}.card p{margin:0;color:var(--muted)}footer{border-top:1px solid var(--line)}dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(100%,30rem);height:100%;max-height:none;max-width:none;overflow:auto;background:var(--paper);color:var(--ink);border:0;padding:1.25rem}dialog::backdrop{background:#26190da6}.cart-head,.quantity{display:flex;align-items:center;gap:.5rem}.cart-head{justify-content:space-between}.line{border-bottom:1px solid var(--line);padding:1rem 0}.line p{margin:.2rem 0 .5rem}.notice{position:fixed;bottom:1rem;right:1rem;margin:0;max-width:calc(100% - 2rem);background:var(--ink);color:white;border-radius:.4rem;padding:.6rem 1rem}.notice:empty{padding:0}@media(max-width:600px){.filters{grid-template-columns:1fr 1fr}.filters label:first-child{grid-column:1/-1}.hero h1 br{display:none}.bar a{overflow-wrap:anywhere}}
/* El contenido queda visible y los controles siguen disponibles durante el movimiento. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero .wrap { animation: entrada-scentory 600ms ease-out both; }
  .button, .outline { transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
  .button:active, .outline:active { transform: translateY(1px); }
  .card { transition: transform 200ms ease, box-shadow 200ms ease; }
  .card:focus-within { box-shadow: 0 8px 22px #39241818; }
  dialog[open] { animation: entrada-carrito 240ms ease-out both; }
  dialog[open]::backdrop { animation: entrada-fondo 240ms ease-out both; }
  .notice:not(:empty) { animation: entrada-scentory 180ms ease-out both; }
  @media (hover: hover) and (pointer: fine) {
    .card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px #39241818; }
    .button:hover { background-color: #f2d69d; }
    .outline:hover { box-shadow: 0 2px 8px #39241818; }
  }
}
@keyframes entrada-scentory {
  from { opacity: .65; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes entrada-carrito {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes entrada-fondo {
  from { opacity: 0; }
  to { opacity: 1; }
}

[hidden]{display:none!important}
.inventory-title{font-size:clamp(2.5rem,6vw,4.25rem)}
.inventory-form{display:grid;max-width:38rem;gap:1rem;margin-top:1.5rem}
.inventory-form label{display:grid;gap:.35rem}
.inventory-form input,.inventory-form select{min-height:44px;width:100%;background:#fffdf8;border:1px solid var(--line);padding:.45rem .7rem;border-radius:.35rem}
.inventory-form p{margin:0}
