/* La Dulce Tajada: modo oscuro elegido por el visitante.
   Independiente de las paletas comerciales, la administración y los pedidos. */
.site-theme-toggle{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;padding:8px 12px;flex:none;
  border:1px solid var(--line);border-radius:999px;
  background:var(--paper);color:var(--ink);
  font-family:var(--sans);font-size:12px;font-weight:800;line-height:1.2;
  cursor:pointer;
}
.site-theme-toggle:hover{border-color:var(--wine);background:var(--pale)}
.site-theme-toggle:focus-visible{outline:3px solid var(--wine);outline-offset:3px}
.site-theme-icon{font-size:18px;line-height:1}
@media(max-width:900px){.header{gap:12px}.site-theme-toggle{padding:8px 10px;font-size:11px}.desktop-nav{gap:13px}}
@media(max-width:680px){.site-theme-toggle{margin-left:auto;min-height:40px;order:2}.desktop-nav{order:3}}

/* Mayor especificidad que las paletas originales (mora, cacao y cereza). */
html[data-site-theme="dark"]{
  color-scheme:dark;
  --cream:#201923;--paper:#2e2530;--ink:#f9edf2;--wine:#ef9dbe;
  --pink:#f0abc9;--pale:#433143;--muted:#d4c0cb;--line:#675364;
  --yellow:#ffe08a;--pistachio:#566746;
}
html[data-site-theme="dark"][data-ldt-theme]{
  --cream:#201923;--paper:#2e2530;--ink:#f9edf2;--wine:#ef9dbe;
  --pink:#f0abc9;--pale:#433143;--muted:#d4c0cb;--line:#675364;
  --yellow:#ffe08a;--pistachio:#566746;--ldt-deep:#241b28;
}
html[data-site-theme="dark"] body{background:var(--cream);color:var(--ink)}
html[data-site-theme="dark"] .announcement,
html[data-site-theme="dark"] .ribbon{background:#46283d;color:#fff0e2}
html[data-site-theme="dark"] .announcement span,
html[data-site-theme="dark"] .ribbon-inner span:nth-child(even){color:#ffe08a}
html[data-site-theme="dark"] .idea-section{background:#2c2430;border-color:var(--line)}
html[data-site-theme="dark"] .visit-section{background:#29212c;border-color:var(--line)}
html[data-site-theme="dark"] .footer{background:#18151d;color:#f9e8e8}
html[data-site-theme="dark"] .idea-intro>p:not(.eyebrow),
html[data-site-theme="dark"] .steps p{color:var(--muted)}
html[data-site-theme="dark"] .steps li{border-color:var(--line)}
html[data-site-theme="dark"] .step-number{color:#dcb5c4}
html[data-site-theme="dark"] .little-note svg{stroke:#e2b4c7}
html[data-site-theme="dark"] h1 em:after{background:#634657}
html[data-site-theme="dark"] .button,
html[data-site-theme="dark"] .filter.active,
html[data-site-theme="dark"] .gallery-page-jump button{
  background:#8c2c58;border-color:#b46c91;color:#fff8f0;
}
html[data-site-theme="dark"] .button:hover,
html[data-site-theme="dark"] .filter.active:hover{background:#a33e6b}
html[data-site-theme="dark"] .inquiry-form{
  background:var(--paper);border-color:var(--line);box-shadow:7px 7px 0 #151117;
}
html[data-site-theme="dark"] input,
html[data-site-theme="dark"] select,
html[data-site-theme="dark"] textarea{
  background:#241d27;color:var(--ink);border-color:#826d7d;
}
html[data-site-theme="dark"] input::placeholder,
html[data-site-theme="dark"] textarea::placeholder{color:#cdbac6;opacity:1}
html[data-site-theme="dark"] .gallery-page-jump input{
  background:#241d27;color:var(--ink);border-color:var(--line);
}
html[data-site-theme="dark"] .gallery-search-controls input,
html[data-site-theme="dark"] .reference-field .reference-input{
  background:#241d27;color:var(--ink);border-color:#826d7d;
}
html[data-site-theme="dark"] .reference-preview{background:var(--paper);border-color:var(--line)}
html[data-site-theme="dark"] .reference-preview img{background:#fff}
html[data-site-theme="dark"] .reference-remove{background:var(--pale);border-color:var(--line);color:var(--ink)}
html[data-site-theme="dark"] .reference-status.is-error{color:#ffb8c7}
html[data-site-theme="dark"] .photo-tag,
html[data-site-theme="dark"] .photo-expand,
html[data-site-theme="dark"] .map-caption{background:var(--paper);color:var(--ink)}
html[data-site-theme="dark"] .map-wrap{border-color:var(--line);background:#302b34}
html[data-site-theme="dark"] .site-theme-toggle{background:var(--paper);border-color:var(--line);color:var(--ink)}
html[data-site-theme="dark"] .site-theme-toggle:hover{background:var(--pale)}
html[data-site-theme="dark"] .footer .eyebrow,
html[data-site-theme="dark"] .footer-bottom,
html[data-site-theme="dark"] .footer-top>div>p:last-child{color:#e6ccd7}
html[data-site-theme="dark"] .footer-message em{color:#ffe08a}
html[data-site-theme="dark"] .ribbon-inner .ribbon-icon{color:#f4b3ce}

/* Filtros de la galería y tipos de tortas en modo oscuro. */
html[data-site-theme="dark"] :is(.gallery-toolbar, .cake-filters) .filter:not(.active){
  background:#35263a;border-color:#b8789c;color:#fff1f7;
}
html[data-site-theme="dark"] :is(.gallery-toolbar, .cake-filters) .filter:not(.active):hover{
  background:#4e3450;border-color:var(--pink);
}
html[data-site-theme="dark"] :is(.gallery-toolbar, .cake-filters) .filter:focus-visible{
  outline:2px solid var(--pink);outline-offset:3px;
}

/* Las imágenes y los vídeos mantienen su aspecto y sus colores reales. */
html[data-site-theme="dark"] .photo-button,
html[data-site-theme="dark"] .gallery .creation .photo-button{background:var(--paper)}

/* Las otras paletas no deben reescribir el modo oscuro después de cargar. */
html[data-site-theme="dark"][data-ldt-theme]:not([data-ldt-theme="original"]) :is(.announcement,.footer,.visit-section){
  background:#241b28;color:#f9edf2;
}
html[data-site-theme="dark"][data-ldt-theme]:not([data-ldt-theme="original"]) :is(.idea-section,.inquiry-form){
  background:var(--paper);border-color:var(--line);
}
html[data-site-theme="dark"][data-ldt-theme]:not([data-ldt-theme="original"]) :is(.visit-section,.footer) :is(h2,h3,strong,.eyebrow,.footer-message em){
  color:#ffe8f0;
}
\n/* Mantener el verde y la legibilidad del botón comercial de WhatsApp. */\nhtml[data-site-theme="dark"] form[action^="https://wa.me/"] .form-submit{background:#25d366;color:#043d35;border-color:#128c7e}\nhtml[data-site-theme="dark"] form[action^="https://wa.me/"] .form-submit:hover{background:#20c960;color:#043d35}\n@media(max-width:480px){.site-theme-toggle{width:44px;min-width:44px;padding:7px}.site-theme-label{display:none}}\n\nhtml[data-site-theme="dark"] .step-number{background:var(--paper);color:#f2c1d3}\nhtml[data-site-theme="dark"] .lightbox-close{background:var(--paper);color:var(--ink)}\n