/* ===== Galerías — estilos ===== */
:root {
  /* Paleta de su web: Ceniza de sal, Cámara oscura, Cuarto de revelado */
  --bg: #f5f2ef;
  --surface: #ffffff;
  --text: #050505;
  --muted: #8a7f78;
  --line: #e4ddd7;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rh: 340px;          /* alto de fila en la grilla */
  --gap: 8px;
  --radius: 2px;
}
[data-theme="dark"] {
  --bg: #121110;
  --surface: #1c1a18;
  --text: #ece7e1;
  --muted: #9a938b;
  --line: #2c2926;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 300 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.serif { font-family: var(--serif); font-weight: 300; letter-spacing: .04em; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: 12px; margin: 0 0 14px; font-weight: 400; }
.error-msg { color: #b4493b; font-size: 14px; margin: 12px 0 0; }

/* ----- Botones ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 400 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  padding: 15px 26px; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-decoration: none; transition: .2s ease; background: none; color: inherit;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(.92); }
.btn-line { border-color: var(--line); }
.btn-line:hover { border-color: var(--text); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: #111; }
.btn-block { width: 100%; }
.btn-danger { background: #b4493b; color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 11px; }

input[type=text], input[type=password], input[type=date], input[type=email], input[type=url], textarea, select {
  width: 100%; font: 400 15px/1.4 var(--sans); color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 14px; outline: none; transition: border-color .2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); }

/* ----- Marca ----- */
.brand { display: inline-flex; align-items: center; }
.brand img { height: 100%; width: auto; max-width: 220px; object-fit: contain; }
.brand-text { font-family: var(--serif); font-size: 22px; letter-spacing: .08em; text-transform: uppercase; }
.brand-lg { height: 70px; }
.brand-lg.brand-text { font-size: 30px; height: auto; }
.brand-sm { height: 30px; }
.brand-sm.brand-text { font-size: 17px; height: auto; }
.brand-hero { height: 46px; }
.brand-hero img { filter: brightness(0) invert(1); }
.brand-hero.brand-text { color: #fff; height: auto; }

/* ----- Pantallas centradas ----- */
.page-center { min-height: 100vh; display: flex; flex-direction: column; }
.center-card { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; max-width: 520px; margin: 0 auto; }
.center-card h1 { font-size: 40px; margin: 22px 0 8px; line-height: 1.1; }
.center-logo { margin-bottom: 8px; }
.inline-form { display: flex; gap: 8px; width: 100%; margin-top: 18px; }
.inline-form input { flex: 1; }

/* ----- Contraseña ----- */
.page-lock { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #111; }
.lock-bg { position: fixed; inset: -40px; background: center/cover no-repeat #222; filter: blur(22px) brightness(.55); transform: scale(1.1); }
.lock-card { position: relative; background: var(--bg); width: 100%; max-width: 430px; padding: 46px 38px 40px; text-align: center; border-radius: 3px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.lock-card h1 { font-size: 36px; line-height: 1.1; margin: 18px 0 6px; }
.lock-card .eyebrow { color: var(--muted); }
.lock-form { margin-top: 26px; text-align: left; display: grid; gap: 12px; }
.lock-form label { font-size: 13px; color: var(--muted); }

/* ----- Portada ----- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: #1a1816; color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroIn 1.6s ease both; }
@keyframes heroIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.15) 40%, rgba(0,0,0,.45)); }
.hero-top { position: absolute; top: 34px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 2; }
.hero-tag { color: rgba(255,255,255,.85); font-style: italic; font-size: 17px; letter-spacing: .06em; }
.lock-tag { font-style: italic; color: var(--muted); margin: 10px 0 0; font-size: 17px; }
.foot-tag { font-style: italic; font-size: 17px; color: var(--muted); }
.hero-content { position: relative; z-index: 2; padding: 0 24px; animation: fadeUp 1.2s .3s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-title { font-size: clamp(42px, 7vw, 86px); line-height: 1.02; margin: 0 0 12px; font-weight: 300; letter-spacing: .06em; }
.hero-sub { font-size: 17px; margin: 0 0 30px; opacity: .9; }
.hero-content .btn { margin-top: 16px; }

/* ----- Barra ----- */
.bar { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px clamp(14px, 3vw, 40px); max-width: 1800px; margin: 0 auto; }
.bar-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.bar-brand { text-decoration: none; display: flex; }
.bar-title { font-family: var(--serif); font-size: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; color: inherit; cursor: pointer; padding: 9px 11px; font: 400 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; border-radius: var(--radius); text-decoration: none; }
.icon-btn:hover { background: rgba(var(--accent-rgb), .1); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .count { background: var(--accent); color: #fff; border-radius: 20px; font-size: 11px; padding: 1px 7px; letter-spacing: 0; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 0 clamp(14px, 3vw, 40px) 10px; max-width: 1800px; margin: 0 auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; background: none; border: 1px solid transparent; border-radius: 30px; padding: 7px 15px; font: 400 13px var(--sans); color: var(--muted); cursor: pointer; letter-spacing: .04em; }
.tab small { opacity: .7; margin-left: 3px; }
.tab:hover { color: var(--text); }
.tab.active { border-color: var(--text); color: var(--text); }
.tab-fav.active { border-color: var(--accent); color: var(--accent); }

.menu-wrap { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); width: 300px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,.12); border-radius: 3px; padding: 10px 0; z-index: 30; }
.menu-title { margin: 4px 18px 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.menu-item { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 18px; text-decoration: none; font-size: 15px; }
.menu-item small { color: var(--muted); font-size: 12px; }
.menu-item:hover { background: rgba(var(--accent-rgb), .08); }
.menu-item.disabled { opacity: .45; }
.menu-note { margin: 8px 18px 4px; font-size: 12px; color: var(--muted); line-height: 1.45; }

/* ----- Grilla justificada ----- */
.gallery { scroll-margin-top: 110px; padding: 30px clamp(8px, 2vw, 40px) 80px; max-width: 1800px; margin: 0 auto; min-height: 60vh; }
.welcome { text-align: center; max-width: 640px; margin: 30px auto 50px; font-size: 22px; line-height: 1.45; color: var(--muted); font-style: italic; }
.sec { margin-bottom: 56px; }
.sec-title { text-align: center; font-size: 36px; margin: 10px 0 30px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.sec-num { font-family: var(--sans); font-size: 12px; letter-spacing: .3em; color: var(--muted); font-weight: 400; }
.sec-num::after { content: ''; display: block; width: 28px; height: 1px; background: currentColor; margin: 10px auto 4px; opacity: .6; }
.grid { display: flex; flex-wrap: wrap; gap: var(--gap); }
.grid::after { content: ''; flex-grow: 999999; }
.ph { margin: 0; position: relative; flex: var(--r) 1 calc(var(--r) * var(--rh)); aspect-ratio: var(--r); background: rgba(var(--accent-rgb), .08); cursor: zoom-in; overflow: hidden; max-height: calc(var(--rh) * 1.6); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .5s; }
.ph:hover img { transform: scale(1.025); }
.heart { position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,.25); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: .2s; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.heart svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.6; }
.ph:hover .heart, .ph.is-fav .heart { opacity: 1; }
.ph.is-fav .heart svg { fill: #fff; }
.ph.is-fav .heart { background: var(--accent); }
@media (hover: none) { .heart { opacity: .9; } }
.empty { text-align: center; padding: 60px 0; }

/* ----- Lightbox ----- */
.lb { position: fixed; inset: 0; z-index: 100; background: #0c0b0a; color: #fff; display: flex; align-items: center; justify-content: center; }
.lb-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; z-index: 3; }
.lb-count { font-size: 13px; letter-spacing: .14em; opacity: .7; padding-left: 6px; }
.lb-actions { display: flex; gap: 2px; }
.icon-btn.light:hover { background: rgba(255,255,255,.1); }
#lbFav.on svg { fill: var(--accent); stroke: var(--accent); }
.lb-stage { position: absolute; inset: 64px 70px 30px; display: flex; align-items: center; justify-content: center; }
.lb-stage img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .25s; user-select: none; -webkit-user-drag: none; }
.lb-stage img.ready { opacity: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: none; border: 0; color: #fff; padding: 20px 12px; cursor: pointer; opacity: .6; }
.lb-nav:hover { opacity: 1; }
.lb-nav svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.lb-nav.prev { left: 10px; }
.lb-nav.next { right: 10px; }

/* ----- Modal y toast ----- */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.5); display: grid; place-items: center; padding: 20px; }
.modal-card { background: var(--bg); width: 100%; max-width: 400px; padding: 32px 28px; border-radius: 3px; }
.modal-card h3 { font-size: 28px; margin: 0 0 6px; }
.modal-card p { margin: 0 0 18px; font-size: 14px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: #222; color: #fff; padding: 12px 20px; border-radius: 30px; font-size: 14px; z-index: 300; opacity: 0; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ----- Footer ----- */
.site-foot { text-align: center; padding: 50px 20px 40px; border-top: 1px solid var(--line); display: grid; gap: 12px; justify-items: center; font-size: 13px; color: var(--muted); }
.foot-links { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--accent); }
.dot { margin: 0 10px; opacity: .5; }
.foot-copy { font-size: 12px; }

@media (max-width: 760px) {
  :root { --rh: 190px; --gap: 4px; }
  .icon-btn .lbl { display: none; }
  .bar-title { font-size: 18px; }
  .bar-brand { display: none; }
  .lb-stage { inset: 56px 0 20px; }
  .lb-nav { display: none; }
  .welcome { font-size: 19px; margin: 16px auto 34px; }
  .sec-title { font-size: 28px; }
  .menu { position: fixed; left: 10px; right: 10px; width: auto; top: 64px; }
  .center-card h1, .lock-card h1 { font-size: 32px; }
}

/* =================== ADMIN =================== */
.admin { background: #f6f4f1; }
.adm-top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.adm-top-inner { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.adm-top nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.adm-top nav a { text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 3px; color: var(--muted); }
.adm-top nav a:hover, .adm-top nav a.on { color: var(--text); background: #f3efea; }
.adm-wrap { max-width: 1240px; margin: 0 auto; padding: 32px 24px 80px; }
.adm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.adm-head h1 { font-family: var(--serif); font-size: 40px; font-weight: 300; margin: 0; line-height: 1.1; }
.adm-head p { margin: 4px 0 0; color: var(--muted); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 24px; margin-bottom: 20px; }
.card h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0 0 16px; }
.card h3 { font-size: 15px; font-weight: 500; margin: 0 0 10px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .lbl-sm { font-size: 13px; color: var(--muted); }
.field small { color: var(--muted); font-size: 12px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; margin-bottom: 12px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.notice { padding: 12px 16px; border-radius: 3px; background: #edf5ec; color: #2f6b34; margin-bottom: 20px; font-size: 14px; }
.notice.err { background: #fbecea; color: #9a3a2e; }
.g-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.g-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.g-card:hover { box-shadow: 0 12px 34px rgba(0,0,0,.08); transform: translateY(-2px); }
.g-cover { aspect-ratio: 3/2; background: #eee center/cover no-repeat; position: relative; }
.g-badge { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; padding: 3px 9px; border-radius: 20px; letter-spacing: .05em; }
.g-badge.red { background: #b4493b; }
.g-body { padding: 16px 18px 18px; }
.g-body h3 { font-family: var(--serif); font-size: 23px; font-weight: 400; margin: 0 0 4px; line-height: 1.15; }
.g-meta { font-size: 13px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.g-new { border: 1.5px dashed #cfc7bd; background: transparent; align-items: center; justify-content: center; min-height: 260px; color: var(--muted); font-size: 15px; }
.g-new span { font-size: 40px; font-weight: 200; line-height: 1; }
.adm-grid { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
@media (max-width: 960px) { .adm-grid { grid-template-columns: 1fr; } }
.share-box { background: #f8f6f3; border-radius: 3px; padding: 14px; font-size: 14px; word-break: break-all; margin-bottom: 10px; }
.share-box b { font-weight: 500; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.drop { border: 1.5px dashed #cfc7bd; border-radius: 4px; padding: 30px 20px; text-align: center; color: var(--muted); transition: .2s; }
.drop.over { border-color: var(--accent); background: rgba(var(--accent-rgb), .06); }
.drop strong { color: var(--text); font-weight: 500; display: block; font-size: 17px; margin-bottom: 4px; }
.drop .btn-row { justify-content: center; margin-top: 14px; }
.up-progress { margin-top: 14px; display: none; }
.up-progress.on { display: block; }
.bar-track { height: 6px; background: #eee; border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.up-status { font-size: 13px; color: var(--muted); margin-top: 6px; }
.adm-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.adm-ph { position: relative; aspect-ratio: 1; background: #eee center/cover no-repeat; border-radius: 2px; overflow: hidden; }
.adm-ph.is-cover { outline: 3px solid var(--accent); outline-offset: -3px; }
.adm-ph .tools { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; padding: 5px; background: linear-gradient(transparent, rgba(0,0,0,.55)); opacity: 0; transition: .2s; }
.adm-ph:hover .tools { opacity: 1; }
.adm-ph .tools button { border: 0; background: rgba(255,255,255,.92); border-radius: 3px; font-size: 11px; padding: 4px 7px; cursor: pointer; }
.adm-ph .fav-n { position: absolute; top: 5px; right: 5px; background: var(--accent); color: #fff; font-size: 11px; border-radius: 20px; padding: 1px 7px; }
.adm-sec-title { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 10px; font-size: 15px; font-weight: 500; }
.adm-sec-title:first-child { margin-top: 0; }
.adm-sec-title small { color: var(--muted); font-weight: 300; }
.fav-client { border-top: 1px solid var(--line); padding: 14px 0; }
.fav-client:first-of-type { border-top: 0; padding-top: 0; }
.fav-client h4 { margin: 0 0 4px; font-weight: 500; font-size: 15px; display: flex; justify-content: space-between; }
.fav-names { font-size: 12px; color: var(--muted); max-height: 70px; overflow: auto; margin: 6px 0 10px; word-break: break-word; }
.login-card { max-width: 400px; margin: 10vh auto 0; background: #fff; padding: 40px 34px; border: 1px solid var(--line); border-radius: 4px; text-align: center; }
.login-card h1 { font-family: var(--serif); font-weight: 300; font-size: 34px; margin: 16px 0 6px; }
.login-card form { text-align: left; margin-top: 22px; }
.logo-prev { height: 60px; background: #f3efea; border-radius: 3px; display: flex; align-items: center; justify-content: center; padding: 8px; margin-bottom: 8px; }
.logo-prev img { max-height: 100%; }
.color-row { display: flex; gap: 10px; align-items: center; }
.color-row input[type=color] { width: 52px; height: 46px; border: 1px solid var(--line); border-radius: 3px; padding: 3px; background: #fff; cursor: pointer; }
.danger-zone { border-color: #f0d2cd; }
.pw-wrap { display: flex; gap: 8px; }
.pw-wrap input { flex: 1; }

.admin-link { margin-top: 46px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); text-decoration: none; opacity: .7; }
.admin-link:hover { opacity: 1; color: var(--text); }
.stack-form { display: grid; gap: 10px; width: 100%; max-width: 380px; margin-top: 20px; }
.lock-form input + input { margin-top: -2px; }
.mail-hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 2px 0 0; text-align: center; }
.lock-form .mail-hint { text-align: left; }

/* Descarga masiva */
button.menu-item { width: 100%; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.dl-card { max-width: 460px; }
.dl-note { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 10px 0 0; }
.dl-sub { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 24px 0 8px; }
#dlParts { display: grid; gap: 6px; max-height: 260px; overflow: auto; }
.dl-part { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 3px; text-decoration: none; font-size: 15px; }
.dl-part small { color: var(--muted); font-size: 12px; }
.dl-part:hover { border-color: var(--text); }
.dl-part.done { opacity: .55; }
.dl-part.done span::after { content: ' ✓'; }
#dlProgress { margin-top: 6px; }
#dlProgress .btn { margin-top: 12px; }

/* Indicador mientras carga la foto en alta */
.lb.loading-hi .lb-stage::after { content: ''; position: absolute; right: 16px; bottom: 6px; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Comentarios / testimonios */
.feedback { max-width: 560px; margin: 70px auto 10px; text-align: center; padding: 50px 24px 20px; border-top: 1px solid var(--line); }
.feedback .eyebrow { color: var(--muted); }
.feedback h2 { font-size: 38px; margin: 0 0 10px; }
.fb-form { display: grid; gap: 12px; margin-top: 22px; text-align: left; }
.stars { display: flex; justify-content: center; gap: 6px; margin-bottom: 4px; }
.star { background: none; border: 0; font-size: 34px; line-height: 1; color: var(--line); cursor: pointer; padding: 2px 4px; transition: transform .15s, color .15s; }
.star:hover { transform: scale(1.12); }
.star.on { color: var(--accent); }
.fb-consent { font-size: 14px; color: var(--muted); }
.fb-form .btn { justify-self: center; margin-top: 6px; }
.fb-thanks { margin-top: 26px; }
.fb-thanks h3 { font-size: 30px; margin: 0 0 6px; }
.fb-thanks .btn { margin-top: 10px; }

.fb-item { border-top: 1px solid var(--line); padding: 14px 0; }
.fb-item:first-of-type { border-top: 0; padding-top: 0; }
.fb-stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.fb-stars span { color: var(--line); }
.fb-msg { margin: 6px 0; font-family: var(--serif); font-size: 18px; line-height: 1.45; font-style: italic; }
.fb-meta { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.fb-badge { background: #f1eee9; padding: 1px 8px; border-radius: 20px; }
.fb-badge.ok { background: #e7f1e6; color: #2f6b34; }

/* Fotolibro */
.bookmark { position: absolute; left: 8px; bottom: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,.25); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: .2s; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.bookmark svg, .book-ico svg, #lbAlbum svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.ph:hover .bookmark, .ph.is-album .bookmark { opacity: 1; }
.ph.is-album .bookmark { background: var(--accent); }
.ph.is-album .bookmark svg { fill: rgba(255,255,255,.35); }
@media (hover: none) { .bookmark { opacity: .9; } }
.cover-badge { position: absolute; left: 8px; top: 8px; background: #fff; color: #111; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 4px 9px; border-radius: 20px; display: none; }
.ph.is-cover .cover-badge { display: block; }
.ph.is-cover { outline: 3px solid var(--accent); outline-offset: -3px; }
.book-ico { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.book-ico svg { width: 13px; height: 13px; }
#lbAlbum.on svg { fill: rgba(255,255,255,.5); }
#lbAlbum.on { background: rgba(255,255,255,.12); }
#lbCover .lbl { font-size: 11px; }
.tab-album.active { border-color: var(--accent); color: var(--accent); }
.album-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 26px 28px; margin: 0 auto 34px; max-width: 980px; }
.album-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.album-head h2 { font-size: 32px; margin: 0 0 6px; }
.album-head .eyebrow { color: var(--muted); margin-bottom: 8px; }
.album-head p.muted { margin: 0; font-size: 15px; }
.album-count { text-align: right; white-space: nowrap; }
.album-count b { font-family: var(--serif); font-size: 46px; font-weight: 300; line-height: 1; }
.album-count span { color: var(--muted); font-size: 14px; margin-left: 4px; }
.album-cover { display: grid; grid-template-columns: 180px 1fr; gap: 22px; margin-top: 22px; align-items: start; }
.album-cover-img { aspect-ratio: 1; background: rgba(var(--accent-rgb), .07) center/cover no-repeat; border: 1.5px dashed var(--line); border-radius: 3px; display: grid; place-items: center; color: var(--muted); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.album-cover-img.has { border: 0; }
.album-cover-img.has span { display: none; }
.album-cover-form { display: grid; gap: 8px; }
.album-cover-form .lbl-sm { font-size: 13px; color: var(--muted); }
.album-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.album-actions .lbl-sm { font-size: 13.5px; color: var(--muted); margin: 0; }
.album-panel.locked .album-actions .lbl-sm { color: #2f6b34; }
@media (max-width: 760px) {
  .album-panel { padding: 20px 16px; }
  .album-cover { grid-template-columns: 110px 1fr; gap: 14px; }
  .album-head h2 { font-size: 26px; }
  .album-count b { font-size: 36px; }
}
/* panel admin */
.alb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 4px; margin: 10px 0; max-height: 220px; overflow: auto; }
.alb-grid div { aspect-ratio: 1; background: #eee center/cover; border-radius: 2px; }
.alb-cover { display: flex; gap: 12px; align-items: center; margin: 10px 0; }
.alb-cover .alb-thumb { width: 72px; height: 72px; background: #eee center/cover; border-radius: 2px; flex: none; }

/* Tipografías de su marca en todo (también en campos y botones) */
button, input, textarea, select { font-family: var(--sans); }
h1, h2, h3, .serif { font-family: var(--serif); }
.brand-text { font-weight: 300; letter-spacing: .2em; }
.welcome { font-weight: 300; }

.fb-google { margin-top: 22px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.fb-google .btn { margin: 6px 0 10px; }
.fb-steps { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }
