/* Sobremesa: blanco y pastel, con modo oscuro de azul noche. Los pastel no cambian entre temas. */
:root {
  --paper: #ffffff; --surface: #f6f8fa; --raised: #ffffff; --ink: #1f2a37; --muted: #5b6675; --line: #e4e8ed;
  --stripe: color-mix(in srgb, var(--tone) 18%, #fff); --cta: var(--ink); --cta-ink: #ffffff; --on-tone: #1f2a37; --danger: #b3261e;
  --durazno: #ffd9c7; --pistacho: #cdeed3; --manteca: #fff0b3; --celeste: #cae6f7; --lila: #e1d9fb; --rosa: #fbd3e1;
  --tone: var(--pistacho);
  --soft: color-mix(in srgb, var(--tone) 34%, var(--paper));
  --shadow: 0 18px 44px -24px rgba(31, 42, 55, .35);
  --display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --body: 'Instrument Sans', 'Segoe UI', sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #14171e; --surface: #1b1f28; --raised: #20252f; --ink: #f2f4f7; --muted: #aab3c0; --line: #323946;
  --stripe: #2a303c; --cta: var(--tone); --cta-ink: #1f2a37; --danger: #ffb4ab;
  --soft: color-mix(in srgb, var(--tone) 13%, var(--paper));
  --shadow: 0 18px 44px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
[data-tone="durazno"] { --tone: var(--durazno); } [data-tone="pistacho"] { --tone: var(--pistacho); }
[data-tone="manteca"] { --tone: var(--manteca); } [data-tone="celeste"] { --tone: var(--celeste); }
[data-tone="lila"] { --tone: var(--lila); } [data-tone="rosa"] { --tone: var(--rosa); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--body); min-height: 100dvh; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 28px; }
.muted { color: var(--muted); }
.icon { display: inline-grid; width: 20px; height: 20px; flex: none; }
.icon svg { width: 100%; height: 100%; }
.loading { padding: 80px 16px; text-align: center; color: var(--muted); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--cta); color: var(--cta-ink); font-weight: 600; text-decoration: none; transition: transform .15s, opacity .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-tone { background: var(--tone); color: var(--on-tone); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .94rem; }
.btn-danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); position: relative; }
.icon-btn:hover { background: var(--surface); }
.badge[hidden] { display: none; }
.badge { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--tone); color: var(--on-tone); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }

/* Barra superior */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); }
.top-in { display: flex; align-items: center; gap: 28px; width: min(1180px, 100% - 32px); margin-inline: auto; min-height: 68px; }
.brand { font: 700 1.3rem/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.top-links { display: flex; gap: 6px; }
.top-links a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--muted); }
.top-links a:hover { color: var(--ink); }
.top-links a[aria-current="page"] { background: var(--soft); color: var(--ink); }
.top-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }

/* El toldo del local: rayas en el color de la tienda y borde festoneado. */
.toldo { --s: 44px; height: calc(var(--s) * 1.5); background: repeating-linear-gradient(90deg, var(--tone) 0 var(--s), var(--stripe) var(--s) calc(var(--s) * 2)); -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--s) / 2) no-repeat, radial-gradient(calc(var(--s) / 2) at 50% 0, #000 97%, transparent) bottom / var(--s) calc(var(--s) / 2) repeat-x; mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--s) / 2) no-repeat, radial-gradient(calc(var(--s) / 2) at 50% 0, #000 97%, transparent) bottom / var(--s) calc(var(--s) / 2) repeat-x; }
.toldo-wrap { filter: drop-shadow(0 5px 0 color-mix(in srgb, var(--tone) 45%, transparent)); }

/* Plataforma */
.land-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.land-hero h1 { font-size: clamp(2.7rem, 7.4vw, 5.6rem); font-weight: 800; }
.land-hero p { margin-top: 22px; font-size: clamp(1.08rem, 2vw, 1.28rem); max-width: 34em; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-shot { position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px 18px 18px; overflow: hidden; background: var(--soft); box-shadow: var(--shadow); }
.hero-shot img, .hero-shot video, .hero-shot iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: paso; }
.steps li { padding: 30px 28px; counter-increment: paso; }
.steps li:nth-child(1) { background: color-mix(in srgb, var(--pistacho) 45%, var(--paper)); border-radius: 22px 0 0 22px; }
.steps li:nth-child(2) { background: color-mix(in srgb, var(--manteca) 45%, var(--paper)); }
.steps li:nth-child(3) { background: color-mix(in srgb, var(--celeste) 45%, var(--paper)); border-radius: 0 22px 22px 0; }
.steps li::before { content: counter(paso); display: block; font: 800 2.6rem/1 var(--display); margin-bottom: 14px; }
.steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.steps p { color: var(--muted); }
.directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 24px; }
.store-link { display: block; text-decoration: none; }
.store-link img, .store-ph { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 16px; background: var(--soft); }
.store-link h3 { font-size: 1.3rem; margin-top: 14px; }
.store-link:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.apply { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 72px); background: var(--soft); border-radius: 28px; padding: clamp(24px, 5vw, 56px); }
.apply h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 14px; }
.foot { padding: 36px 0; color: var(--muted); font-size: .94rem; }

/* Formularios */
.form { display: grid; gap: 16px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-label { font-weight: 600; font-size: .94rem; }
.hint { color: var(--muted); }
input:not([type="checkbox"], [type="radio"], [type="file"]), select, textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--raised); }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--ink); }
textarea { resize: vertical; min-height: 92px; }
.form-error { color: var(--danger); font-weight: 500; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }

/* Tienda: inicio */
.st-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 72px); align-items: center; padding-block: clamp(32px, 5vw, 64px); }
.st-hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.8rem); font-weight: 800; }
.st-name { font-weight: 600; margin-bottom: 14px; }
.st-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 6px 14px; border-radius: 999px; background: var(--soft); font-weight: 500; }
.st-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3f9b63; }
.st-status.closed::before { background: var(--muted); }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); }
.about p { font-size: 1.14rem; max-width: 36em; }
.hours { width: 100%; border-collapse: collapse; }
.hours th { text-align: left; font-weight: 500; padding: 9px 0; }
.hours td { text-align: right; color: var(--muted); padding: 9px 0; }
.hours tr + tr { border-top: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; border-radius: 14px; grid-column: span 4; }
.gallery img:nth-child(4n + 1) { grid-column: span 8; aspect-ratio: auto; }
.gallery img:nth-child(4n + 2) { grid-column: span 4; }
.gallery img:nth-child(4n + 3), .gallery img:nth-child(4n) { grid-column: span 6; aspect-ratio: 16 / 9; }
.video-box { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.video-box video, .video-box iframe { width: 100%; height: 100%; border: 0; }
.faqs { max-width: 780px; }
.faqs details { border-top: 1px solid var(--line); }
.faqs details:last-child { border-bottom: 1px solid var(--line); }
.faqs summary { padding: 18px 0; font-weight: 600; font-size: 1.1rem; cursor: pointer; }
.faqs details p { padding-bottom: 18px; color: var(--muted); max-width: 40em; }
.contact { background: var(--soft); }
.contact-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end; }
.contact h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 10px; }
.contact-list { display: grid; gap: 4px; }
.contact-list a, .contact-list span.row { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.preview-bar { background: var(--manteca); color: var(--on-tone); text-align: center; padding: 8px 16px; font-weight: 500; }

/* Carta */
.carta-head { padding-block: 30px 10px; }
.carta-head h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 800; }
.chips { position: sticky; top: 68px; z-index: 20; display: flex; gap: 8px; padding-block: 12px; overflow-x: auto; scrollbar-width: none; background: var(--paper); }
.chip { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 500; }
.chip:hover { background: var(--soft); }
.carta-kind { margin-top: 36px; }
.carta-kind > h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); padding: 10px 18px; border-radius: 14px; background: var(--soft); }
.carta-group { scroll-margin-top: 150px; padding-top: 26px; }
.carta-group h3 { font-size: 1.32rem; margin-bottom: 4px; }
.dishes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.dish { display: grid; grid-template-columns: 1fr 76px; gap: 16px; align-items: center; width: 100%; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; }
.dish:hover .dish-name { text-decoration: underline; text-underline-offset: 3px; }
.dish-line { display: flex; align-items: baseline; gap: 8px; }
.dish-name { font-weight: 600; font-size: 1.08rem; }
.dish-dots { flex: 1; min-width: 16px; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.dish-price { font-weight: 600; white-space: nowrap; }
.dish-desc { color: var(--muted); font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish img, .thumb-ph { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: var(--soft); }
.thumb-ph { display: grid; place-items: center; font: 700 1.5rem var(--display); }
.dish.off { opacity: .55; }

/* Carátula del plato y canasta */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--raised); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(20, 24, 32, .55); }
.cover { width: min(920px, 100% - 32px); max-height: calc(100dvh - 40px); border-radius: 24px; overflow: hidden; }
.cover[open] { display: grid; grid-template-columns: 1fr 1fr; animation: rise .22s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.cover-media { position: relative; background: var(--soft); min-height: 100%; }
.cover-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-main { display: flex; flex-direction: column; min-height: 0; max-height: calc(100dvh - 40px); }
.cover-scroll { padding: 28px 28px 12px; overflow-y: auto; flex: 1; }
.cover-scroll h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); padding-right: 40px; }
.cover-price { margin-top: 6px; font-weight: 600; font-size: 1.14rem; }
.cover-desc { margin-top: 12px; color: var(--muted); }
.opt { margin: 22px 0 0; padding: 0; border: 0; }
.opt legend { font-weight: 600; padding: 0; margin-bottom: 4px; }
.opt small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.opt-row { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.opt-row input { width: 20px; height: 20px; accent-color: var(--ink); }
.opt-row span:last-child { margin-left: auto; color: var(--muted); }
.cover-foot { display: flex; gap: 12px; align-items: center; padding: 14px 28px; border-top: 1px solid var(--line); }
.cover-foot .btn { flex: 1; }
.stepper { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.stepper output { min-width: 26px; text-align: center; font-weight: 600; }
.close { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--raised); }
.basket { width: min(460px, 100%); height: 100dvh; max-height: none; margin: 0 0 0 auto; }
.basket[open] { display: flex; flex-direction: column; animation: slide .22s ease-out; }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.basket-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }
.basket-head h2 { font-size: 1.5rem; }
.basket-body { flex: 1; overflow-y: auto; padding: 0 20px; }
.basket-line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.basket-line small { color: var(--muted); grid-column: 1 / -1; }
.basket-foot { padding: 18px 20px; display: grid; gap: 12px; border-top: 1px solid var(--line); }
.basket-total { display: flex; justify-content: space-between; font: 700 1.3rem var(--display); }
.link-btn { border: 0; background: none; padding: 0; color: var(--danger); text-decoration: underline; min-height: 28px; justify-self: start; }

/* Paneles */
.dash { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding-block: 28px 80px; align-items: start; }
.side { position: sticky; top: 84px; display: grid; gap: 4px; }
.side button, .side a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: none; text-align: left; text-decoration: none; font-weight: 500; }
.side button[aria-selected="true"] { background: var(--soft); }
.side button:hover, .side a:hover { background: var(--surface); }
.dash h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 8px; }
.dash h2 { font-size: 1.32rem; margin: 32px 0 12px; }
.save-bar { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 12px; padding: 14px 0; background: linear-gradient(transparent, var(--paper) 30%); }
.rows { display: grid; gap: 10px; }
.row-edit { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.row-edit > .field { flex: 1 1 130px; }
.tones { display: flex; flex-wrap: wrap; gap: 10px; }
.tone-pick { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--swatch); cursor: pointer; }
.tone-pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tone-pick:has(input:checked) { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.tone-pick:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 5px; }
.media-field { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; }
.media-field img, .media-ph { width: 96px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--surface); }
.media-stack { display: grid; gap: 8px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.manage-group { padding: 8px 0 22px; }
.manage-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.manage-head h2 { margin: 12px 0; flex: 1; }
.manage-item { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.manage-item img, .manage-item .media-ph { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.editor { width: min(680px, 100% - 32px); max-height: calc(100dvh - 40px); border-radius: 20px; padding: 26px; }
.editor h2 { font-size: 1.5rem; margin-bottom: 16px; padding-right: 40px; }
.group-card { padding: 14px; border-radius: 14px; background: var(--surface); display: grid; gap: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0 28px; }
.stat { padding: 18px; border-radius: 16px; background: var(--soft); }
.stat b { display: block; font: 700 2.1rem/1.1 var(--display); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; min-width: 720px; }
.table th { text-align: left; font-size: .9rem; color: var(--muted); font-weight: 500; padding: 10px 12px 10px 0; }
.table td { padding: 12px 12px 12px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--on-tone); background: var(--surface); white-space: nowrap; }
.pill-pending, .pill-nuevo { background: var(--manteca); } .pill-active, .pill-listo { background: var(--pistacho); }
.pill-suspended, .pill-rejected, .pill-cancelado { background: var(--rosa); } .pill-preparando { background: var(--celeste); } .pill-entregado { background: var(--lila); }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.order { padding: 18px 0; border-top: 1px solid var(--line); }
.order-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 8px; }
.order-head h2 { margin: 0; font-size: 1.2rem; flex: 1 1 200px; }
.order ul { margin: 0; padding: 0; list-style: none; }
.order li { padding: 4px 0; }
.order li small { display: block; color: var(--muted); }
.order select { width: auto; }
.notice { padding: 18px 20px; border-radius: 16px; background: var(--soft); margin-top: 18px; max-width: 46em; }
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100dvh - 68px); }
.auth-side { background: var(--soft); padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; }
.auth-side h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; }
.auth-main { display: grid; place-items: center; padding: 32px 16px; }
.auth-box { width: min(420px, 100%); }
.tabs { display: flex; gap: 4px; margin-bottom: 22px; background: var(--surface); padding: 4px; border-radius: 999px; }
.tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: none; font-weight: 600; }
.tabs button[aria-selected="true"] { background: var(--raised); box-shadow: 0 1px 3px rgba(31, 42, 55, .15); }
.empty-page { min-height: 70dvh; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 16px; }
.empty-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.empty { padding: 36px 20px; text-align: center; color: var(--muted); }
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(420px, 100% - 32px); }
.toast { padding: 13px 18px; border-radius: 14px; background: var(--ink); color: var(--paper); box-shadow: var(--shadow); }
.toast-error { background: var(--danger); color: var(--paper); }

@media (max-width: 880px) {
  .land-hero, .st-hero, .about, .apply, .contact-in, .auth { grid-template-columns: 1fr; }
  .hero-shot { aspect-ratio: 5 / 4; border-radius: 160px 160px 18px 18px; }
  .steps { grid-template-columns: 1fr; }
  .steps li:nth-child(1) { border-radius: 22px 22px 0 0; } .steps li:nth-child(3) { border-radius: 0 0 22px 22px; }
  .dishes { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; gap: 16px; }
  .side { position: static; display: flex; overflow-x: auto; }
  .side button, .side a { flex: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .auth-side { padding: 28px 16px; }
  .cover { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .cover[open] { display: flex; flex-direction: column; }
  .cover-media { flex: 0 0 34dvh; min-height: 0; }
  .cover-main { flex: 1; max-height: none; }
  .cover-scroll { padding: 20px 16px 8px; }
  .cover-foot { padding: 12px 16px; }
}
@media (max-width: 560px) {
  .top-in { gap: 10px; flex-wrap: wrap; padding-block: 8px; }
  .brand { font-size: 1.12rem; }
  .top-links { order: 3; width: 100%; }
  .chips { top: 110px; }
  .form-2 { grid-template-columns: 1fr; }
  .toldo { --s: 30px; }
  .manage-item { grid-template-columns: 56px 1fr; }
  .manage-item .btn-row { grid-column: 1 / -1; }
  .gallery img, .gallery img:nth-child(n) { grid-column: span 12; aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
