/* ==========================================================================
   Casa Mila — Private Beauty Studio | Cuernavaca
   Diseño Editorial fiel a Marlé Private Studio + Galería Lookbook Alta Moda
   + Menú Hamburguesa Compacto en Móvil + Tema Dual + Panel Admin
   Cumplimiento estricto OWASP & CSP (style-src 'self'; font-src 'self')
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root,
html[data-theme="light"] {
  --paper: #f8f5ef;
  --ink: #3c332d;
  --ink-hover: #5a493b;
  --muted: #736960;
  --sand: #ece5db;
  --sand-soft: #f4eee5;
  --taupe: #968473;
  --taupe-deep: #8b7665;
  --line: #d9d0c5;
  --line-strong: #c6b8a9;
  --white: #fffdf9;
  --accent-gold: #c9972b;
  --status-ok-bg: #e7f2ea;
  --status-ok-ink: #235c36;
  --status-warn-bg: #f9efd9;
  --status-warn-ink: #7d5712;
  --status-cancel-bg: #f7e4e1;
  --status-cancel-ink: #8c2d21;
  --backdrop: rgba(38, 30, 24, 0.62);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

html[data-theme="dark"] {
  --paper: #171310;
  --ink: #f6f2ec;
  --ink-hover: #e4d7c7;
  --muted: #b7aaa0;
  --sand: #211b17;
  --sand-soft: #29211c;
  --taupe: #b89f88;
  --taupe-deep: #dfc29f;
  --line: #382f28;
  --line-strong: #4f4238;
  --white: #231d18;
  --accent-gold: #ffd43b;
  --status-ok-bg: rgba(46, 140, 78, 0.22);
  --status-ok-ink: #8de0a8;
  --status-warn-bg: rgba(230, 176, 53, 0.2);
  --status-warn-ink: #ffd97d;
  --status-cancel-bg: rgba(209, 77, 61, 0.22);
  --status-cancel-ink: #ff9c8f;
  --backdrop: rgba(8, 6, 5, 0.8);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #94613b;
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4,
em,
.brand-mark {
  font-family: var(--serif);
  font-weight: 400;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

h3 {
  line-height: 1.2;
}

h1 em,
h2 em,
h3 em {
  color: var(--taupe-deep);
  font-style: italic;
}

.shell {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}

.eyebrow,
.kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.17em;
  font-weight: 500;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--taupe);
}

.muted {
  color: var(--muted);
}

.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  padding: 12px 16px;
  z-index: 200;
  background: var(--white);
  border: 1px solid var(--ink);
}

.skip:focus {
  top: 10px;
}

/* ==========================================================================
   BARRA DE AVISO SUPERIOR (.preview-note)
   ========================================================================== */
.preview-note {
  background: #3c332d;
  color: #f8f5ef;
  text-align: center;
  font-size: 12px;
  padding: 7px 15px;
  letter-spacing: 0.07em;
}

.preview-note span {
  letter-spacing: 0.02em;
}

html[data-theme="dark"] .preview-note {
  background: #0e0b09;
  color: #f6f2ec;
}

/* ==========================================================================
   HEADER EDITORIAL MARLÉ + MENÚ HAMBURGUESA MÓVIL
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  max-width: 1440px;
  margin: auto;
  padding: 20px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, padding 0.2s ease;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
  color: var(--ink);
  gap: 3px;
}

.brand-wordmark-svg {
  width: 238px;
  height: auto;
  display: block;
  color: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  -webkit-text-stroke: 0.35px currentColor;
  font-size: 42px;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  line-height: 0.92;
}

.brand-sub {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  padding-left: 0.24em;
  text-transform: uppercase;
  color: currentColor;
  margin-top: 3px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.nav-desktop > a:not(.nav-book):hover {
  color: var(--taupe-deep);
}

.nav-book {
  padding: 11px 20px;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  background: transparent;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-book:hover {
  background: var(--ink);
  color: var(--white);
}

.theme-toggle,
.admin-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover,
.admin-trigger-btn:hover {
  border-color: var(--ink);
  background: var(--sand);
}

.theme-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
}

.admin-badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
}

/* Barra compacta móvil y botón Hamburguesa (Ocultos en Desktop) */
.header-mobile-bar {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav-book-mobile {
  padding: 8px 14px;
  font-size: 12px;
  gap: 8px;
}

.hamburger-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.hamburger-btn[aria-expanded="true"] {
  background: var(--ink);
  color: var(--white);
}

.hamburger-box {
  width: 18px;
  height: 13px;
  position: relative;
  display: inline-block;
}

.hamburger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.hamburger-line:nth-child(1) {
  top: 0;
}

.hamburger-line:nth-child(2) {
  top: 5.5px;
}

.hamburger-line:nth-child(3) {
  top: 11px;
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
  top: 5.5px;
  transform: rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
  top: 5.5px;
  transform: rotate(-45deg);
}

/* Drawer del Menú Hamburguesa en Móvil */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: var(--backdrop);
  backdrop-filter: blur(2px);
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(370px, 88vw);
  z-index: 80;
  background: var(--paper);
  border-left: 1px solid var(--line-strong);
  box-shadow: -18px 0 44px rgba(24, 19, 15, 0.22);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer-inner {
  padding: 22px 24px 28px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  justify-content: space-between;
  gap: 24px;
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.mobile-drawer-head .eyebrow {
  margin: 0;
}

.mobile-drawer-close {
  border: 1px solid var(--line-strong);
  background: var(--white);
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mobile-drawer-links {
  display: grid;
  gap: 2px;
}

.mobile-drawer-links a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  transition: padding-left 0.2s ease, color 0.2s ease;
}

.mobile-drawer-links a:hover {
  padding-left: 10px;
  font-style: italic;
  color: var(--taupe-deep);
}

.mobile-drawer-links small {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--taupe);
}

.mobile-drawer-utilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-util-btn {
  justify-content: center;
  padding: 10px 12px;
}

.mobile-drawer-foot {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.mobile-drawer-foot a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   BOTONES EDITORIALES MARLÉ
   ========================================================================== */
.button {
  border: 1px solid var(--ink);
  min-height: 52px;
  padding: 13px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  line-height: 1.5;
  background: transparent;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover:not(:disabled) {
  background: var(--sand);
}

.button.primary,
.primary {
  background: var(--ink);
  color: var(--white);
}

.button.primary:hover:not(:disabled),
.primary:hover:not(:disabled) {
  background: var(--ink-hover);
  border-color: var(--ink-hover);
}

.button-small {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 12px;
  gap: 12px;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.button-ghost:hover:not(:disabled) {
  background: var(--sand);
  border-color: var(--ink);
}

.button-danger {
  background: var(--status-cancel-bg);
  color: var(--status-cancel-ink);
  border-color: var(--status-cancel-ink);
}

.button-danger:hover:not(:disabled) {
  background: var(--status-cancel-ink);
  color: #fff;
}

/* ==========================================================================
   HERO IDÉNTICO A MARLÉ PRIVATE STUDIO (.hero)
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 7%;
  padding-block: 62px 80px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(3.7rem, 6.7vw, 6.6rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
  margin: 24px 0 27px;
}

.hero h1 em {
  color: var(--taupe-deep);
}

.hero-description {
  max-width: 365px;
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-footnote {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 28px;
}

.line {
  width: 26px;
  height: 1px;
  background: var(--taupe);
  flex-shrink: 0;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-image {
  width: 100%;
  max-width: 480px;
  height: 500px;
  justify-self: center;
  position: relative;
  background: #e5ded4;
  overflow: hidden;
  border-radius: 200px 200px 0 0;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 20px 44px rgba(42, 33, 25, 0.12);
}

.hero-sheet-under,
.hero-sheet-top {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.hero-sheet-under {
  z-index: 1;
  background: #e5ded4;
  opacity: 0;
  pointer-events: none;
}

.hero-sheet-under img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

.hero-sheet-top {
  z-index: 2;
  background: transparent;
}

.hero-sheet-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  transform-origin: 50% 88%;
  will-change: transform;
  animation: kenBurnsPanA 12s ease-in-out infinite alternate;
}

.hero-sheet-top img.kb-pan-a {
  animation: kenBurnsPanA 12s ease-in-out infinite alternate;
}

.hero-sheet-top img.kb-pan-b {
  animation: kenBurnsPanB 12.5s ease-in-out infinite alternate;
}

.hero-sheet-top img.kb-pan-c {
  animation: kenBurnsPanC 13s ease-in-out infinite alternate;
}

.hero-image.is-folding-next .hero-sheet-under,
.hero-image.is-folding-prev .hero-sheet-under {
  animation: additiveDissolveOut 0.78s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.hero-image.is-folding-next .hero-sheet-top,
.hero-image.is-folding-prev .hero-sheet-top {
  mix-blend-mode: screen;
  animation: additiveDissolveIn 0.78s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.hero-image::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 52% 0 0;
  background: linear-gradient(transparent, rgba(24, 18, 13, 0.76));
  pointer-events: none;
}

.hero-image figcaption {
  position: absolute;
  z-index: 4;
  bottom: 26px;
  left: 26px;
  right: 26px;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.9;
  text-transform: uppercase;
  pointer-events: none;
}

.hero-image figcaption span {
  display: block;
  font: italic 22px var(--serif);
  letter-spacing: -0.02em;
  text-transform: none;
}

.photo-index {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  background: rgba(28, 22, 18, 0.62);
  color: #fffdf9;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  white-space: nowrap;
  pointer-events: none;
}

.hero-book-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  max-width: 480px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.book-ribbon-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.book-ribbon-arrow.book-ribbon-next {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.book-ribbon-arrow:hover {
  background: var(--sand);
  color: var(--ink);
  border-color: var(--ink);
  transform: scale(1.06);
}

.hero-book-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-book-dots button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 4px 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.hero-book-dots button.active {
  background: var(--sand);
  color: var(--ink);
  border-color: var(--line-strong);
  font-weight: 600;
}

/* ==========================================================================
   ENCABEZADOS DE SECCIÓN Y RITUALES (.section-heading & .services-intro)
   ========================================================================== */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.section-heading .eyebrow,
.about .eyebrow {
  margin-bottom: 16px;
}

.section-heading > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 420px;
}

.services-intro {
  padding: 20px 0 90px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.category-card {
  padding: 32px;
  text-align: left;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.2s ease;
}

.category-card:hover {
  background: var(--white);
}

.category-card:hover h3 {
  font-style: italic;
}

.category-card h3 {
  font-size: 36px;
  margin: 14px 0 12px;
  letter-spacing: -0.04em;
}

.category-card p {
  font-size: 14px;
  color: var(--muted);
  flex: 1;
}

.category-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.category-bottom > span:last-child {
  font-size: 20px;
}

/* ==========================================================================
   MOTOR DE RESERVA EN 4 PASOS ESTILO MARLÉ (.booking-section)
   ========================================================================== */
.booking-section {
  background: var(--sand);
  padding: 78px 0 85px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 0 0 35px;
  gap: 16px;
}

.step {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 14px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #cfc3b7;
  padding: 17px 4px;
  text-align: left;
}

.step span {
  font-size: 12px;
  color: var(--taupe);
}

.step strong {
  font-weight: 400;
}

.step.active {
  border-color: var(--ink);
  color: var(--ink);
  border-bottom-width: 2px;
}

.step.active strong {
  font-weight: 600;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 34px;
  align-items: start;
}

.booking-main {
  background: var(--white);
  min-height: 420px;
  padding: 32px;
  border: 1px solid var(--line);
}

.booking-panel {
  display: none;
}

.booking-panel.active {
  display: block;
}

.booking-main h3 {
  font-size: 32px;
  letter-spacing: -0.025em;
  margin: 6px 0 10px;
}

.step-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--ink);
  font-size: 13px;
  margin: 0 0 20px;
}

.back-button:hover {
  border-color: var(--ink);
}

.category-tabs {
  display: flex;
  gap: 6px;
  padding-bottom: 22px;
  flex-wrap: wrap;
}

.category-tabs button {
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 16px;
  color: var(--ink);
  font-size: 14px;
  border-radius: 30px;
}

.category-tabs button.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.service-list {
  border-top: 1px solid var(--line);
  max-height: 540px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--taupe) transparent;
}

.service-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  border-bottom: 1px solid var(--line);
  padding: 20px 8px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background 0.15s ease;
}

.service-option:hover {
  background: var(--sand-soft);
}

.service-option h4 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.service-option p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 440px;
  margin-top: 4px;
}

.service-action {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.service-price {
  text-align: right;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.add-button {
  background: var(--white);
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 13px;
  white-space: nowrap;
}

.add-button.added {
  background: var(--ink);
  color: var(--white);
}

.quote-button {
  border-color: var(--taupe);
  color: var(--muted);
}

/* Carrito de visita */
.cart {
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 20px;
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cart-head .eyebrow {
  margin: 0;
}

.cart-head span {
  font-size: 12px;
  color: var(--muted);
}

.selected-services {
  display: grid;
  gap: 12px;
}

.cart-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.cart-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.cart-item-top strong {
  display: block;
  font-size: 15px;
}

.cart-item-top span {
  font-size: 12.5px;
  color: var(--muted);
}

.remove-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  padding: 0;
}

.specialist-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px 5px 6px;
  font-size: 12.5px;
  color: var(--ink);
}

.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.chip-avatar,
.specialist-avatar,
.summary-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
  flex-shrink: 0;
}

.specialist-avatar {
  width: 40px;
  height: 40px;
}

.summary-avatar {
  width: 22px;
  height: 22px;
}

.panel-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.subtle {
  font-size: 12px;
  color: var(--muted);
}

/* Paso 02: Calendario y Horarios */
.date-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  margin-top: 20px;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.calendar-head strong {
  font-size: 14px;
  text-transform: capitalize;
  font-weight: 500;
}

.icon-button {
  border: 1px solid var(--line);
  background: transparent;
  width: 34px;
  height: 34px;
  color: var(--ink);
}

.weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
  gap: 4px;
}

.weekdays {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.day {
  border: 0;
  background: transparent;
  color: var(--ink);
  aspect-ratio: 1;
  font-size: 14px;
  min-height: 38px;
}

.day:not(:disabled):hover {
  background: var(--sand);
}

.day.unavailable {
  opacity: 0.28;
}

.day.selected {
  background: var(--ink) !important;
  color: var(--white) !important;
}

.slots-box {
  border-left: 1px solid var(--line);
  padding-left: 25px;
}

.slots-head h4 {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 4px;
  text-transform: capitalize;
}

.slots-head p {
  font-size: 12px;
  margin-bottom: 16px;
}

.slot-columns {
  display: grid;
  gap: 20px;
}

.specialist-slots + .specialist-slots {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.specialist-who {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.specialist-who strong {
  display: block;
  font-size: 14px;
}

.specialist-who span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.slot {
  background: transparent;
  border: 1px solid var(--line);
  padding: 9px 8px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.2;
}

.slot.harmonized {
  border-color: var(--taupe);
  background: var(--sand-soft);
}

.slot.active {
  background: var(--ink) !important;
  color: var(--white) !important;
  border-color: var(--ink) !important;
}

.slot small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--taupe-deep);
}

.slot.active small {
  color: var(--sand);
}

/* Paso 03: Datos */
.details-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.details-form label {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.details-form .full {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
  width: 100%;
  font-size: 15px;
}

input::placeholder,
textarea::placeholder {
  color: #9a9086;
}

/* Paso 04: Pago (Mercado Pago + WhatsApp) */
.payment-summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 22px 0 12px;
  border-block: 1px solid var(--line);
  padding: 20px 0;
  font-size: 14px;
}

.payment-summary-bar > strong {
  font: 32px var(--serif);
}

.payment-summary-bar > strong small {
  font: 12px var(--sans);
  margin-left: 4px;
}

.change-payment-link {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  margin: 0 0 18px;
}

.change-payment-link:hover {
  color: var(--ink);
}

.payment-choices {
  display: grid;
  gap: 12px;
  margin: 14px 0 22px;
}

.payment-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  padding: 18px;
  cursor: pointer;
}

.payment-option.active {
  border-color: var(--ink);
  background: var(--sand-soft);
}

.payment-option input {
  accent-color: var(--ink);
  width: 17px;
  height: 17px;
}

.payment-option strong {
  font-size: 15px;
  font-weight: 500;
}

.payment-option p {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
}

.payment-option span {
  font-size: 18px;
  font-family: var(--serif);
}

/* Brick Mercado Pago */
.mp-brick-card {
  margin-top: 8px;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.mp-brick-title {
  font-family: var(--serif);
  font-size: 20px;
  margin: 0 0 16px;
}

.mp-methods-list {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.mp-method-item {
  border-bottom: 1px solid var(--line);
}

.mp-method-item:last-child {
  border-bottom: 0;
}

.mp-method-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  cursor: pointer;
}

.mp-method-item.active > .mp-method-label {
  background: var(--paper);
}

.mp-method-label input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ink);
  flex-shrink: 0;
}

.mp-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.mp-icon-badge.mp-yellow {
  background: #ffe600;
  border-color: #f0d800;
}

.mp-icon-badge svg {
  width: 20px;
  height: 20px;
}

.mp-method-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mp-method-text strong {
  font-size: 15px;
  font-weight: 500;
}

.mp-method-text small {
  font-size: 12px;
  color: var(--muted);
}

.mp-pill-green {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 9px;
  border-radius: 999px;
  background: #e3f7ec;
  color: #008744;
  font-size: 11px;
  font-weight: 600;
}

.mp-card-drawer {
  padding: 16px 18px 20px 50px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mp-card-drawer label {
  display: grid;
  gap: 5px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.mp-card-drawer .full {
  grid-column: 1 / -1;
}

.mp-wallet-note {
  padding: 12px 18px 16px 50px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.mp-pay-submit-btn {
  margin-top: 20px;
  width: 100%;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mp-pay-submit-btn:hover:not(:disabled) {
  background: var(--ink-hover);
}

.mp-pay-submit-btn svg {
  width: 16px;
  height: 16px;
}

.whatsapp-confirmation {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.message-preview {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.message-preview summary {
  cursor: pointer;
  font-size: 13px;
}

.message-preview pre {
  font: 12.5px/1.7 var(--sans);
  white-space: pre-wrap;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-top: 10px;
}

.result {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* Resumen Lateral Sticky (Idéntico a Marlé) */
.summary {
  border: 1px solid var(--line-strong);
  padding: 28px;
  position: sticky;
  top: 94px;
  background: var(--sand);
}

.summary h3 {
  font-size: 34px;
  letter-spacing: -0.035em;
  margin: 18px 0;
}

.summary-block {
  border-top: 1px solid var(--line-strong);
  margin-top: 18px;
  padding-top: 16px;
  font-size: 13px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-block: 6px;
}

.summary-line strong {
  font-weight: 500;
}

.summary-who {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.summary-total strong {
  font-size: 20px;
  font-family: var(--serif);
  font-weight: 400;
}

.empty {
  color: var(--muted);
  font-size: 13.5px;
}

/* ==========================================================================
   EL STUDIO / NOSOTRAS (.about & .team IDÉNTICO A MARLÉ)
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 6%;
  padding-block: 100px;
  align-items: center;
}

.about-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 440px;
  margin-top: 22px;
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 14px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
  margin-top: 28px;
}

.text-link:hover {
  color: var(--taupe-deep);
  border-color: var(--taupe-deep);
}

.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team figure:nth-child(2) {
  margin-top: 58px;
}

.team figure:nth-child(3) {
  margin-top: 26px;
}

.team img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: top;
  background: var(--sand);
}

.team figcaption {
  font: 24px var(--serif);
  margin-top: 14px;
}

.team small {
  display: block;
  font: 10px var(--sans);
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 8px;
  text-transform: uppercase;
}

/* ==========================================================================
   GALERÍA ESPECTACULAR TIPO REVISTA DE ALTA MODA (.lookbook-section)
   con Carga Progresiva ("Carga poco a poco") para AWS Amplify
   ========================================================================== */
.lookbook-section {
  padding: 72px 0 96px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.magazine-masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  margin-bottom: 36px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.lookbook-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.lookbook-title-col {
  max-width: 640px;
}

.lookbook-sub {
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
}

/* Pestañas de Capítulos Editoriales */
.lookbook-chapters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 42px;
}

.lookbook-chapters button {
  padding: 16px 18px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.lookbook-chapters button:last-child {
  border-right: 0;
}

.lookbook-chapters button small {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}

.lookbook-chapters button span {
  font-family: var(--serif);
  font-size: 18px;
}

.lookbook-chapters button.active {
  background: var(--ink);
  color: var(--white);
}

.lookbook-chapters button.active small {
  color: var(--sand);
}

/* Grilla Asimétrica de Revista de Alta Moda */
.lookbook-editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px 24px;
  align-items: start;
}

.lookbook-card {
  grid-column: span 4;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.lookbook-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 16px 34px rgba(60, 51, 45, 0.08);
}

/* Variantes Editoriales de Pliego (Asimetría tipo Vogue / Harper's Bazaar) */
.lookbook-card.spread-cover {
  grid-column: span 6;
  padding: 22px 22px 26px;
}

.lookbook-card.spread-wide {
  grid-column: span 6;
}

.lookbook-card.spread-tall {
  grid-column: span 4;
}

.lookbook-card-media {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: linear-gradient(110deg, var(--sand) 25%, var(--paper) 50%, var(--sand) 75%);
  background-size: 200% 100%;
  animation: editorialShimmer 1.8s infinite linear;
}

.lookbook-card.spread-cover .lookbook-card-media,
.lookbook-card.spread-wide .lookbook-card-media {
  height: auto;
}

@keyframes editorialShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.lookbook-card-media.is-loaded {
  animation: none;
  background: var(--sand);
}

.lookbook-card-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 0;
  transform: scale(1);
  transform-origin: 50% 92%;
  will-change: transform, opacity;
  transition: opacity 0.45s ease;
}

.lookbook-card-media.is-loaded img {
  opacity: 1;
  animation: kenBurnsPanA 12s ease-in-out infinite alternate;
}

.lookbook-card:nth-child(3n + 2) .lookbook-card-media.is-loaded img {
  animation-name: kenBurnsPanB;
  animation-duration: 13.5s;
}

.lookbook-card:nth-child(3n) .lookbook-card-media.is-loaded img {
  animation-name: kenBurnsPanC;
  animation-duration: 12.8s;
}

/* ==========================================================================
   EFECTO CINEMATOGRÁFICO KEN BURNS (SIN SALTO Y RESPETANDO EL LOGO INFERIOR)
   ========================================================================== */
@keyframes kenBurnsPanA {
  0% {
    transform: scale(1) translate3d(0%, 0%, 0);
  }
  100% {
    transform: scale(1.048) translate3d(-1.1%, -1.2%, 0);
  }
}

@keyframes kenBurnsPanB {
  0% {
    transform: scale(1) translate3d(0%, 0%, 0);
  }
  100% {
    transform: scale(1.052) translate3d(1.1%, -1%, 0);
  }
}

@keyframes kenBurnsPanC {
  0% {
    transform: scale(1) translate3d(0%, 0%, 0);
  }
  100% {
    transform: scale(1.045) translate3d(-0.6%, -1.4%, 0);
  }
}

.lookbook-plate-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(248, 245, 239, 0.92);
  color: #3c332d;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.lookbook-zoom-pill {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  background: rgba(60, 51, 45, 0.88);
  color: #fffdf9;
  padding: 5px 11px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lookbook-card:hover .lookbook-zoom-pill {
  opacity: 1;
  transform: translateY(0);
}

.lookbook-card-caption {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lookbook-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}

.lookbook-card-caption h3 {
  font-size: 23px;
  letter-spacing: -0.02em;
}

.lookbook-card.spread-cover .lookbook-card-caption h3 {
  font-size: 30px;
}

.lookbook-card-caption p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================================
   GALERÍA EDITORIAL INTERACTIVA (TRANSICIÓN DE DISOLUCIÓN ADITIVA + KEN BURNS)
   ========================================================================== */
.inline-book-showcase {
  margin-bottom: 52px;
}

.book-album-shell {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 32px;
  align-items: center;
  padding: 28px;
  background: var(--sand);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px rgba(42, 33, 25, 0.08);
}

/* Escenario Principal de la Galería con Proporción Original sin Recorte */
.book-stage-3d {
  position: relative;
  width: fit-content;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  background: #e9e1d6;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(32, 24, 18, 0.14);
}

.book-stage-modal {
  max-height: none;
}

/* Fotografía saliente (capa inferior durante la disolución aditiva) */
.book-sheet-under {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #e9e1d6;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-sheet-under img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Fotografía activa (define el tamaño original exacto sin recortar el logo) */
.book-sheet-top {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  background: transparent;
}

.book-sheet-front {
  position: relative;
  width: fit-content;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  background: transparent;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-sheet-front img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transform-origin: 50% 92%;
  will-change: transform;
  animation: kenBurnsPanA 12s ease-in-out infinite alternate;
}

.book-stage-modal .book-sheet-front img {
  max-height: 70vh;
}

.book-sheet-front img.kb-pan-a {
  animation: kenBurnsPanA 12s ease-in-out infinite alternate;
}

.book-sheet-front img.kb-pan-b {
  animation: kenBurnsPanB 12.5s ease-in-out infinite alternate;
}

.book-sheet-front img.kb-pan-c {
  animation: kenBurnsPanC 13s ease-in-out infinite alternate;
}

/* Velo luminoso de Disolución Aditiva (suma de altas luces en el cruce de imágenes) */
.book-fold-gradient {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(255, 251, 244, 0.62) 0%,
    rgba(242, 224, 198, 0.32) 52%,
    transparent 100%
  );
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
}

/* Insignia superior de contador dentro de la galería (nunca se encima) */
.book-sheet-badge {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 4;
  background: rgba(248, 245, 239, 0.92);
  color: #3c332d;
  padding: 5px 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(60, 51, 45, 0.15);
  pointer-events: none;
}

/* Transición Cinematográfica de Disolución Aditiva (Additive Dissolve) sin salto al Ken Burns */
.book-stage-3d.is-folding-next .book-sheet-under,
.book-stage-3d.is-folding-prev .book-sheet-under {
  animation: additiveDissolveOut 0.78s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.book-stage-3d.is-folding-next .book-sheet-top,
.book-stage-3d.is-folding-prev .book-sheet-top {
  mix-blend-mode: screen;
  animation: additiveDissolveIn 0.78s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.book-stage-3d.is-folding-next .book-fold-gradient,
.book-stage-3d.is-folding-prev .book-fold-gradient,
.hero-image.is-folding-next .book-fold-gradient,
.hero-image.is-folding-prev .book-fold-gradient {
  animation: additiveLightBloom 0.78s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes additiveDissolveOut {
  0% {
    opacity: 1;
    filter: brightness(1) contrast(1) saturate(1) blur(0px);
  }
  38% {
    opacity: 0.86;
    filter: brightness(1.48) contrast(1.08) saturate(1.14) blur(1.6px);
  }
  100% {
    opacity: 0;
    filter: brightness(1.75) contrast(1.04) saturate(1.05) blur(4px);
  }
}

@keyframes additiveDissolveIn {
  0% {
    opacity: 0;
    filter: brightness(1.65) contrast(1.1) saturate(1.12) blur(3.2px);
  }
  45% {
    opacity: 0.94;
    filter: brightness(1.24) contrast(1.04) saturate(1.05) blur(0.6px);
  }
  100% {
    opacity: 1;
    filter: brightness(1) contrast(1) saturate(1) blur(0px);
  }
}

@keyframes additiveLightBloom {
  0% {
    opacity: 0;
  }
  36% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
  }
}

/* Panel lateral del Libro Interactivo */
.book-album-side {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.book-album-meta h3 {
  font-size: 34px;
  margin: 8px 0 12px;
  line-height: 1.05;
}

.book-album-meta p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* Barra de Control de Hojas con Botones Circulares de Ícono Izquierda / Derecha */
.book-turn-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.book-turn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.book-turn-btn:hover {
  background: var(--sand);
  border-color: var(--ink);
  transform: scale(1.06);
}

.book-turn-btn.book-turn-btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.book-turn-btn.book-turn-btn-primary:hover {
  background: var(--ink-hover);
  color: var(--white);
}

.book-page-indicator {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.book-page-indicator strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
}

.book-page-indicator small {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-album-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.book-album-actions .button {
  width: 100%;
}

.lookbook-grid-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.lookbook-grid-divider .eyebrow {
  margin: 0;
}

/* Pie de Carga Progresiva ("Carga poco a poco") */
.lookbook-progressive-footer {
  margin-top: 48px;
  padding: 32px;
  background: var(--sand);
  border: 1px solid var(--line-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.lookbook-progress-meta {
  flex: 1;
  min-width: 240px;
  max-width: 420px;
}

.lookbook-progress-bar {
  width: 100%;
  height: 5px;
  margin-top: 8px;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: var(--line-strong);
  color: var(--ink);
  overflow: hidden;
}

.lookbook-progress-bar::-webkit-progress-bar {
  background: var(--line-strong);
}

.lookbook-progress-bar::-webkit-progress-value {
  background: var(--ink);
  transition: width 0.35s ease;
}

.lookbook-progress-bar::-moz-progress-bar {
  background: var(--ink);
}

.lookbook-load-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   VISOR MODAL DE LIBRO 3D EN PANTALLA COMPLETA (#magazine-modal)
   ========================================================================== */
.magazine-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: var(--backdrop);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(5px);
}

.magazine-dialog {
  width: min(1140px, 100%);
  max-height: 95vh;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.magazine-modal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.magazine-modal-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.magazine-modal-brand .eyebrow {
  margin: 0;
  font-size: 9.5px;
}

.magazine-modal-brand strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

.book-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.book-close-btn:hover {
  background: var(--ink-hover);
}

.magazine-stage {
  padding: 22px 26px;
  overflow-y: auto;
  flex: 1;
}

.magazine-figure {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 28px;
  align-items: center;
}

.magazine-caption-panel {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.magazine-caption-copy h3 {
  font-size: 30px;
  margin: 6px 0 10px;
  line-height: 1.08;
}

.magazine-caption-copy p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.magazine-caption-cta .button {
  width: 100%;
}

/* ==========================================================================
   UBICACIÓN & VISOR DUAL STREET VIEW 360° (.location-section)
   ========================================================================== */
.location-section {
  padding: 78px 0;
  background: var(--sand);
  border-top: 1px solid var(--line);
}

.location-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.location-details {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  gap: 20px;
}

.facade-photo-card {
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.facade-photo-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.facade-photo-card figcaption {
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-group span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}

.detail-group strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  margin-top: 4px;
}

.detail-group p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  border-top: 1px solid var(--line);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.hours-list li span {
  font-size: 13px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--muted);
}

.hours-list li strong {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}

.streetview-box {
  background: var(--white);
  border: 1px solid var(--line);
}

.streetview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.streetview-tabs {
  display: flex;
  gap: 8px;
}

.streetview-tabs button {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.streetview-tabs button.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.streetview-badge {
  font-size: 11px;
  color: var(--muted);
}

.streetview-frame {
  width: 100%;
  height: 490px;
  border: 0;
  display: block;
}

/* ==========================================================================
   FOOTER OSCURO IDÉNTICO A MARLÉ (.footer)
   ========================================================================== */
.footer {
  background: #3c332d;
  color: #f8f5ef;
  padding: 42px 0;
}

html[data-theme="dark"] .footer {
  background: #0e0b09;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-brand,
.footer-brand .brand-mark,
.footer-brand .brand-sub {
  color: #f8f5ef;
}

.footer-brand .brand-wordmark-svg {
  width: 248px;
}

.footer-inner p,
.footer-links a {
  font-size: 12.5px;
  color: #e6ddd2;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-admin-link {
  background: transparent;
  border: 1px solid rgba(248, 245, 239, 0.35);
  color: #f8f5ef;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-inner > small {
  font-size: 11px;
  color: #c6b9ac;
}

/* ==========================================================================
   TOAST DE CONFIRMACIÓN VERDE ARRIBA A LA DERECHA (#studio-toast)
   ========================================================================== */
.studio-toast {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 260;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 16px 20px;
  background: #1d5935;
  color: #f8f5ef;
  border: 1px solid #133f24;
  border-left: 5px solid #6ee798;
  box-shadow: 0 18px 42px rgba(18, 43, 27, 0.34);
  animation: studioToastSlideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.studio-toast[hidden] {
  display: none !important;
}

@keyframes studioToastSlideIn {
  from {
    opacity: 0;
    transform: translateY(-14px) translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

.studio-toast-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.studio-toast-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.studio-toast-copy small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(248, 245, 239, 0.88);
}

/* ==========================================================================
   PANEL DE ADMINISTRACIÓN / CONTROL DE AGENDA DEL DUEÑO (#admin-modal)
   ========================================================================== */
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: var(--backdrop);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(3px);
}

.admin-dialog {
  width: min(1180px, 100%);
  max-height: 94vh;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.admin-header h2 {
  font-size: 26px;
  margin: 2px 0 0;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-body {
  padding: 22px 24px 28px;
  overflow-y: auto;
  flex: 1;
}

.admin-login-card {
  max-width: 440px;
  margin: 24px auto;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
}

.admin-login-card h3 {
  margin: 6px 0 10px;
}

.admin-login-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13.5px;
}

.admin-login-form {
  display: grid;
  gap: 14px;
}

.admin-login-form label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-login-error {
  margin: 0;
  color: var(--status-cancel-ink);
  font-size: 13px;
  font-weight: 500;
}

.admin-demo-hint {
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--sand);
  border-left: 2px solid var(--taupe);
  font-size: 12px;
}

.admin-s3-cloud-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  margin-bottom: 18px;
  background: var(--sand);
  border: 1px solid var(--line-strong);
}

.admin-s3-cloud-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-s3-cloud-info strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.admin-s3-cloud-info small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}

.admin-s3-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--taupe);
}

.admin-s3-dot.is-online {
  background: #235c36;
  box-shadow: 0 0 0 4px rgba(35, 92, 54, 0.16);
}

.admin-s3-dot.is-syncing {
  background: #c9972b;
  box-shadow: 0 0 0 4px rgba(201, 151, 43, 0.2);
}

.admin-s3-cloud-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-settings-global-box {
  margin-bottom: 22px;
}

.admin-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.admin-stat-card {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
}

.admin-stat-card span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-stat-card strong {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.admin-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.admin-period-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-period-tabs button {
  padding: 8px 13px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-period-tabs button.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.admin-filters-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-filters-row select,
.admin-filters-row input[type="date"] {
  width: auto;
  padding: 8px 12px;
  font-size: 12px;
  background: var(--paper);
}

.admin-manual-box {
  margin-bottom: 22px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--ink);
}

.admin-manual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.admin-manual-grid label {
  display: grid;
  gap: 5px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-manual-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.admin-appointments-list {
  display: grid;
  gap: 14px;
}

.admin-appt-card {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
}

.admin-appt-card.is-cancelled {
  opacity: 0.68;
  background: var(--sand-soft);
}

.admin-appt-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.admin-appt-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-appt-folio {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.admin-status-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.admin-status-badge.status-confirmed {
  background: var(--status-ok-bg);
  color: var(--status-ok-ink);
}

.admin-status-badge.status-pending {
  background: var(--status-warn-bg);
  color: var(--status-warn-ink);
}

.admin-status-badge.status-cancelled {
  background: var(--status-cancel-bg);
  color: var(--status-cancel-ink);
}

.admin-appt-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 16px;
  padding: 14px 0;
  font-size: 13px;
}

.admin-appt-grid small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.admin-appt-grid strong {
  display: block;
  font-weight: 600;
}

.admin-appt-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.admin-reschedule-box {
  margin-top: 14px;
  padding: 16px;
  background: var(--sand);
  border: 1px solid var(--line-strong);
}

.admin-reschedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.admin-reschedule-grid label {
  display: grid;
  gap: 5px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-reschedule-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.admin-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.admin-mode-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  text-align: left;
}

.admin-mode-tab strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  display: block;
}

.admin-mode-tab small {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-mode-tab.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.admin-mode-tab.active small {
  color: var(--sand);
}

.admin-catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.admin-catalog-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-catalog-list {
  display: grid;
  gap: 16px;
}

.admin-service-card {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.admin-service-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.admin-service-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-cat-pill {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--sand);
  color: var(--ink);
  font-weight: 600;
}

.admin-id-pill {
  font-size: 12px;
  color: var(--muted);
}

.admin-service-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 0.8fr;
  gap: 12px;
}

.admin-service-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 12px;
  margin-top: 12px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-service-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.admin-service-hint {
  font-size: 12px;
  color: var(--muted);
}

.admin-card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-action-btn {
  padding: 8px 14px;
  font-size: 12px;
  border: 1px solid var(--status-cancel-ink);
  background: var(--status-cancel-bg);
  color: var(--status-cancel-ink);
}

.btn-solid {
  padding: 8px 16px;
  font-size: 12px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

/* ==========================================================================
   3 PESTAÑAS INTUITIVAS DEL PANEL DE ADMINISTRACIÓN + GOOGLE CALENDAR
   ========================================================================== */
.admin-nav-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.admin-nav-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  text-align: left;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.admin-nav-tab:hover {
  border-color: var(--ink);
}

.admin-nav-tab strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  display: block;
}

.admin-nav-tab small {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-nav-tab.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.admin-nav-tab.active small {
  color: var(--sand);
}

.admin-help-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: var(--sand);
  border-left: 3px solid var(--ink);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
}

/* Barra estilo Google Calendar */
.gcal-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  margin-bottom: 14px;
}

.gcal-nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gcal-arrow-group {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.gcal-arrow-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  font-size: 18px;
  line-height: 1;
  color: var(--ink);
}

.gcal-arrow-btn:first-child {
  border-right: 1px solid var(--line);
}

.gcal-arrow-btn:hover {
  background: var(--sand);
}

.gcal-current-label {
  margin: 0 0 0 6px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  color: var(--ink);
  text-transform: capitalize;
}

.gcal-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gcal-station-select {
  width: auto;
  padding: 7px 12px;
  font-size: 12px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
}

.gcal-view-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.gcal-view-btn {
  padding: 7px 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink);
}

.gcal-view-btn:last-child {
  border-right: 0;
}

.gcal-view-btn.active {
  background: var(--ink);
  color: var(--white);
}

/* Tablero Visual Google Calendar (#gcal-board) */
.gcal-board {
  background: var(--white);
  border: 1px solid var(--line-strong);
  margin-bottom: 22px;
  overflow: hidden;
}

.gcal-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}

.gcal-legend-items {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.gcal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink);
}

.gcal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.gcal-dot.dot-ale {
  background: #6d4c3d;
}

.gcal-dot.dot-glam {
  background: #2f5d62;
}

.gcal-dot.dot-spa {
  background: #526b4e;
}

.gcal-dot.dot-pending {
  background: #c9972b;
}

.gcal-scroll-wrap {
  width: 100%;
  overflow-x: auto;
}

/* Vista DÍA: Columna de hora + 3 columnas de estaciones */
.gcal-day-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.gcal-day-table th,
.gcal-day-table td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  vertical-align: top;
}

.gcal-day-table th:last-child,
.gcal-day-table td:last-child {
  border-right: 0;
}

.gcal-day-table thead th {
  background: var(--sand);
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.gcal-hour-col {
  width: 74px;
  padding: 10px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--paper);
  text-align: right;
  white-space: nowrap;
}

.gcal-slot-cell {
  padding: 6px 8px;
  min-height: 52px;
}

.gcal-slot-cell.is-empty-slot {
  height: 46px;
}

/* Vista SEMANA: 7 columnas (Lun a Dom) */
.gcal-week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(145px, 1fr));
  min-width: 960px;
}

.gcal-week-col {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 290px;
  background: var(--white);
}

.gcal-week-col:last-child {
  border-right: 0;
}

.gcal-week-col.is-today {
  background: #fbf8f2;
}

.gcal-week-col-head {
  padding: 10px 10px;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  text-align: center;
  cursor: pointer;
}

.gcal-week-col.is-today .gcal-week-col-head {
  background: var(--ink);
  color: var(--white);
}

.gcal-week-dayname {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
}

.gcal-week-daynum {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  margin-top: 2px;
}

.gcal-week-events {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.gcal-week-empty {
  margin: auto 0;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
  padding: 18px 6px;
}

/* Vista MES: Calendario mensual de 7 columnas */
.gcal-month-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(110px, 1fr));
  min-width: 770px;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}

.gcal-month-weekdays span {
  padding: 8px 10px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.gcal-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(110px, 1fr));
  min-width: 770px;
}

.gcal-month-cell {
  min-height: 108px;
  padding: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.gcal-month-cell:nth-child(7n) {
  border-right: 0;
}

.gcal-month-cell:hover {
  background: var(--paper);
}

.gcal-month-cell.is-outside {
  background: var(--sand-soft);
  opacity: 0.55;
  cursor: default;
}

.gcal-month-cell.is-today {
  background: #fbf7ef;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.gcal-month-cell-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.gcal-month-num {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.gcal-month-cell.is-today .gcal-month-num {
  background: var(--ink);
  color: var(--white);
  padding: 2px 7px;
  border-radius: 99px;
  font-size: 11px;
}

.gcal-month-count {
  font-size: 10px;
  padding: 1px 6px;
  background: var(--sand);
  color: var(--ink);
  font-weight: 600;
}

/* Bloques / Chips de cita estilo Google Calendar */
.gcal-event-chip {
  display: block;
  width: 100%;
  text-align: left;
  padding: 7px 9px;
  border: 1px solid rgba(33, 27, 23, 0.14);
  border-left: 4px solid #6d4c3d;
  background: #f5efe8;
  color: var(--ink);
  font-size: 11.5px;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.gcal-event-chip + .gcal-event-chip {
  margin-top: 5px;
}

.gcal-event-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gcal-event-chip.chip-ale {
  border-left-color: #6d4c3d;
  background: #f6efe9;
}

.gcal-event-chip.chip-glam {
  border-left-color: #2f5d62;
  background: #eaf2f3;
}

.gcal-event-chip.chip-spa {
  border-left-color: #526b4e;
  background: #edf3ec;
}

.gcal-event-chip.chip-pending {
  border-left-color: #c9972b;
  background: #fdf6e7;
}

.gcal-event-chip.chip-cancelled {
  border-left-color: #9e3f38;
  background: #f9eceb;
  opacity: 0.65;
  text-decoration: line-through;
}

.gcal-chip-time {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.gcal-chip-client {
  display: block;
  font-weight: 600;
  font-size: 12px;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gcal-chip-service {
  display: block;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gcal-chip-compact {
  padding: 4px 6px;
  font-size: 10.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cabecera de tarjetas debajo del calendario */
.admin-list-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.admin-list-header h3 {
  font-size: 24px;
  margin: 2px 0 0;
}

.admin-list-sub {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.admin-appt-card.is-highlighted {
  border-color: #1d5935;
  box-shadow: 0 0 0 2px rgba(29, 89, 53, 0.25);
}

/* Sección 03: Ajustes y Ayuda */
/* Sección 03: Horarios, Ajustes y Ayuda (2x2 simétrico y alineado) */
.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: stretch;
}

.admin-settings-card {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.admin-settings-card h4 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  margin: 4px 0 8px;
}

.admin-box-desc {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.admin-settings-card form {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.admin-settings-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: end;
}

.admin-settings-form-grid label {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.admin-settings-form-grid label span {
  display: block;
  line-height: 1.3;
}

.admin-settings-form-grid input,
.admin-settings-form-grid select {
  width: 100%;
  height: 42px;
  box-sizing: border-box;
}

/* Filas de Configuración de Horarios de Apertura y Cierre */
.admin-hours-config-list {
  display: grid;
  gap: 10px;
}

.admin-hours-row {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.admin-hours-day-label strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
}

.admin-hours-day-label small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.admin-hours-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: end;
}

.admin-hours-controls label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-hours-controls select {
  width: 100%;
  padding: 7px 8px;
  font-size: 12px;
  background: var(--white);
  border: 1px solid var(--line-strong);
}

.admin-hours-controls select:disabled {
  opacity: 0.45;
  background: var(--sand-soft);
}

.admin-settings-card .admin-manual-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.admin-help-steps {
  display: grid;
  gap: 10px;
  margin: 6px 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}

.admin-help-step {
  padding: 9px 12px;
  background: var(--paper);
  border-left: 3px solid var(--ink);
}

/* ==========================================================================
   MANUAL SENCILLO IMPRIMIBLE / PDF MODO CLARO (manual-administracion-casa-mila)
   ========================================================================== */
.manual-guide-body {
  background: var(--paper);
  color: var(--ink);
  padding: 26px 24px 36px;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.manual-guide-shell {
  max-width: 960px;
  margin: 0 auto;
}

.manual-brand {
  align-items: flex-start;
  margin-bottom: 10px;
}

.manual-brand .brand-wordmark-svg {
  width: 210px;
}

.manual-guide-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  margin-bottom: 16px;
}

.manual-guide-header h1 {
  font-size: 32px;
  margin: 4px 0 6px;
}

.manual-guide-header p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 720px;
}

.manual-guide-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.manual-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.manual-guide-card {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  break-inside: avoid;
  page-break-inside: avoid;
}

.manual-step-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.manual-guide-card h2 {
  font-size: 21px;
  margin: 8px 0 8px;
}

.manual-guide-card p {
  margin: 0 0 8px;
  font-size: 12.5px;
}

.manual-guide-card ol,
.manual-guide-card ul {
  margin: 0;
  padding-left: 17px;
  font-size: 12.5px;
  line-height: 1.5;
}

.manual-guide-card li + li {
  margin-top: 4px;
}

.manual-guide-tip {
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--sand);
  border-left: 3px solid var(--ink);
  font-size: 11.5px;
  line-height: 1.4;
}

.manual-status-row {
  display: grid;
  gap: 6px;
  margin: 8px 0 10px;
}

.manual-status-pill {
  padding: 6px 10px;
  font-size: 11.5px;
  border: 1px solid var(--line);
}

.manual-status-pill.status-ok {
  background: var(--status-ok-bg);
  color: var(--status-ok-ink);
}

.manual-status-pill.status-warn {
  background: var(--status-warn-bg);
  color: var(--status-warn-ink);
}

.manual-status-pill.status-cancel {
  background: var(--status-cancel-bg);
  color: var(--status-cancel-ink);
}

.manual-guide-footer {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--line-strong);
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
}

@page {
  size: Letter;
  margin: 0;
}

@media print {
  html,
  body.manual-guide-body {
    background: #f6f1e9 !important;
    color: #211b17 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    padding: 18px 22px !important;
  }
  .manual-guide-actions {
    display: none !important;
  }
  .manual-guide-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN & MENÚ HAMBURGUESA EN MÓVIL
   ========================================================================== */
@media (max-width: 1040px) {
  .shell {
    width: calc(100% - 56px);
  }

  .header {
    padding: 16px 28px;
  }

  .hero {
    gap: 5%;
    padding-top: 44px;
  }

  .hero-image {
    height: 430px;
  }

  .booking-grid {
    grid-template-columns: 1fr 280px;
    gap: 22px;
  }

  .date-layout {
    grid-template-columns: 1fr;
  }

  .slots-box {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .lookbook-chapters {
    grid-template-columns: repeat(3, 1fr);
  }

  .book-album-shell {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 20px;
  }

  .lookbook-card,
  .lookbook-card.spread-cover,
  .lookbook-card.spread-wide,
  .lookbook-card.spread-tall {
    grid-column: span 6;
  }

  .magazine-figure {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 860px) {
  /* En celular/tablet ocultamos la barra larga de escritorio y activamos el Menú Hamburguesa compacto */
  .nav-desktop {
    display: none;
  }

  .header-mobile-bar {
    display: flex;
  }

  .header {
    padding: 11px 18px;
  }

  .brand {
    align-items: center;
    gap: 3px;
  }

  .brand-wordmark-svg,
  .footer-brand .brand-wordmark-svg {
    width: 176px;
  }

  .brand-mark {
    font-size: 32px;
  }

  .brand-sub {
    font-size: 8px;
    letter-spacing: 0.22em;
    padding-left: 0.22em;
    margin-top: 2px;
  }
}

@media (max-width: 700px) {
  .shell {
    width: calc(100% - 36px);
  }

  .preview-note {
    font-size: 10px;
    padding: 6px 14px;
  }

  .preview-note span {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0 46px;
  }

  .hero h1 {
    font-size: 4.1rem;
    line-height: 1.01;
    margin: 18px 0 20px;
  }

  .hero-description {
    max-width: 330px;
  }

  .hero-image {
    max-width: 340px;
    height: 370px;
    border-radius: 180px 180px 0 0;
  }

  .hero-image figcaption {
    left: 18px;
    bottom: 20px;
    right: 18px;
  }

  .hero-image figcaption span {
    font-size: 19px;
  }

  .hero-image .book-corner-curl {
    top: 108px;
  }

  .hero-book-ribbon {
    max-width: 340px;
    padding: 6px 10px;
    gap: 8px;
  }

  .book-ribbon-arrow {
    width: 34px;
    height: 34px;
    padding: 0;
    font-size: 15px;
  }

  .hero-book-dots button {
    padding: 3px 6px;
    font-size: 10.5px;
  }

  .hero-footnote {
    margin-top: 20px;
  }

  .section-heading {
    display: block;
    margin-bottom: 28px;
  }

  .section-heading > p {
    margin-top: 16px;
  }

  .services-intro {
    padding: 18px 0 50px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    border-left: 0;
  }

  .category-card {
    padding: 22px 0;
    border-right: 0;
  }

  .category-card h3 {
    font-size: 32px;
    margin: 9px 0;
  }

  .booking-section {
    padding: 45px 0;
  }

  .steps {
    gap: 10px;
    margin-bottom: 24px;
  }

  .step {
    font-size: 12px;
    line-height: 1.35;
    flex-direction: column;
    gap: 4px;
    padding: 12px 2px;
  }

  .booking-grid,
  .location-grid,
  .details-form,
  .mp-card-drawer,
  .admin-stats-bar,
  .admin-appt-grid,
  .admin-manual-grid,
  .admin-reschedule-grid,
  .admin-mode-tabs,
  .admin-nav-tabs,
  .admin-settings-grid,
  .admin-settings-form-grid,
  .admin-hours-row,
  .manual-guide-grid,
  .admin-service-grid,
  .admin-service-subgrid {
    grid-template-columns: 1fr;
  }

  .studio-toast {
    top: 12px;
    right: 12px;
    left: 12px;
    max-width: none;
  }

  .admin-modal {
    padding: 0;
  }

  .admin-dialog {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border: 0;
  }

  .admin-header {
    padding: 12px 14px;
  }

  .admin-header h2 {
    font-size: 20px;
  }

  .admin-body {
    padding: 14px;
  }

  .gcal-toolbar {
    padding: 10px 12px;
  }

  .gcal-current-label {
    font-size: 18px;
    width: 100%;
    margin: 4px 0 0;
  }

  .gcal-toolbar-right {
    width: 100%;
    justify-content: space-between;
  }

  .gcal-station-select {
    width: 100%;
  }

  .gcal-view-switch {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .gcal-view-btn {
    padding: 8px 4px;
    text-align: center;
  }

  .booking-main {
    padding: 24px 18px;
    min-width: 0;
  }

  .service-option {
    flex-wrap: wrap;
    padding: 18px 4px;
  }

  .service-action {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .panel-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .panel-actions .button {
    width: 100%;
  }

  .summary {
    position: static;
    padding: 22px;
  }

  .about {
    padding-block: 54px;
    gap: 34px;
  }

  .team {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team figure,
  .team figure:nth-child(2),
  .team figure:nth-child(3) {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
  }

  .team img {
    height: 220px;
  }

  .magazine-masthead {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .lookbook-chapters {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 24px;
  }

  .lookbook-chapters button {
    padding: 12px 12px;
  }

  .lookbook-chapters button span {
    font-size: 15px;
  }

  .inline-book-showcase {
    margin-bottom: 36px;
  }

  .book-album-shell {
    padding: 14px;
    gap: 16px;
  }

  .book-stage-3d {
    max-height: none;
    box-shadow: 0 14px 32px rgba(32, 24, 18, 0.14);
  }

  .book-sheet-front img {
    max-height: 490px;
  }

  .book-stage-modal .book-sheet-front img {
    max-height: 58vh;
  }

  .book-sheet-badge {
    top: 10px;
    left: 12px;
    padding: 4px 10px;
    font-size: 9.5px;
  }

  .book-album-side {
    padding: 16px;
    gap: 14px;
  }

  .book-album-meta h3 {
    font-size: 25px;
    margin: 4px 0 6px;
  }

  .book-album-meta p {
    font-size: 13px;
  }

  .book-turn-controls {
    padding: 8px 12px;
    gap: 8px;
  }

  .book-turn-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    font-size: 16px;
  }

  .book-page-indicator strong {
    font-size: 16px;
  }

  .book-page-indicator small {
    font-size: 9px;
  }

  .magazine-modal {
    padding: 8px;
  }

  .magazine-dialog {
    max-height: 96vh;
  }

  .magazine-modal-bar {
    padding: 10px 14px;
  }

  .magazine-modal-brand strong {
    font-size: 17px;
  }

  .book-close-btn {
    padding: 7px 12px;
    font-size: 10.5px;
  }

  .magazine-stage {
    padding: 12px 14px 16px;
  }

  .book-stage-modal {
    max-height: 44vh;
    aspect-ratio: 4 / 4.4;
  }

  .magazine-caption-panel {
    padding: 14px;
    gap: 12px;
  }

  .magazine-caption-copy h3 {
    font-size: 23px;
    margin: 4px 0 6px;
  }

  .magazine-caption-copy p {
    font-size: 12.5px;
  }

  .lookbook-editorial-grid {
    gap: 20px;
  }

  .lookbook-card,
  .lookbook-card.spread-cover,
  .lookbook-card.spread-wide,
  .lookbook-card.spread-tall {
    grid-column: 1 / -1;
    padding: 14px 14px 18px;
  }

  .lookbook-progressive-footer {
    padding: 22px 18px;
  }

  .lookbook-load-actions {
    width: 100%;
    flex-direction: column;
  }

  .lookbook-load-actions .button {
    width: 100%;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
