/* HANNA: modo de edición sobre la web, sin paneles laterales */
#hannaVisualLogin[hidden],#hannaVisualBar[hidden],#hannaVisualPhotoPicker[hidden]{display:none!important}
#hannaVisualLogin{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(38,22,29,.55);backdrop-filter:blur(5px);font-family:'Plus Jakarta Sans',sans-serif;color:#583843}
#hannaVisualLogin .hanna-login-card{position:relative;width:min(100%,410px);padding:26px;border-radius:24px;background:#fffaf9;box-shadow:0 20px 72px #3620274d;border:1px solid #eedcdb}
#hannaVisualLogin h2{font-family:'Cormorant Garamond',serif;font-size:34px;font-weight:700;line-height:1.04;color:#593644;margin:0 20px 9px 0}
#hannaVisualLogin p{font-size:13px;line-height:1.5;color:#856773;margin-bottom:15px}
#hannaVisualLogin label{display:block;margin:13px 0 6px;font-size:12px;font-weight:700;color:#624452}
#hannaVisualLogin input{display:block;width:100%;padding:12px 13px;border:1px solid #ddbbbf;border-radius:12px;background:#fff;color:#553946;font-size:14px}
#hannaVisualLogin input:focus{outline:2px solid #d6a5ad;outline-offset:2px}
#hannaVisualLogin .hanna-login-close{position:absolute;right:18px;top:13px;font-size:23px;color:#72525b;border:0;background:transparent;padding:6px 9px}
#hannaVisualLogin #hannaLoginFeedback{font-size:12px;color:#b0354e;margin:10px 0 0;min-height:14px}
#hannaVisualLogin button.hanna-ui-primary{width:100%;margin-top:18px}
#hannaVisualBar{position:fixed;z-index:99998;bottom:14px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;gap:18px;width:min(95vw,775px);padding:12px 14px;background:#fff9f8;color:#533743;border:1px solid #dfbec0;box-shadow:0 11px 48px #3c253b4b;border-radius:20px;font-family:'Plus Jakarta Sans',sans-serif}
#hannaVisualBar .hanna-edit-info{display:flex;flex-direction:column;gap:3px;min-width:0}
#hannaVisualBar .hanna-edit-info strong{font-size:13px;color:#64414f;white-space:nowrap}
#hannaVisualBar #hannaVisualStatus{font-size:11px;color:#856b75;max-width:485px;line-height:1.3}
#hannaVisualBar #hannaVisualStatus.bad{color:#ad3044}
#hannaVisualBar .hanna-edit-actions{display:flex;gap:8px;flex-shrink:0}
.hanna-ui-primary{background:#956774!important;border:0!important;color:#fff!important;padding:11px 18px!important;border-radius:12px!important;font-size:13px!important;font-weight:800!important;cursor:pointer}
.hanna-ui-primary:hover{background:#784c5b!important}
.hanna-ui-primary:disabled{opacity:.6;cursor:wait}
.hanna-ui-secondary{background:#fff!important;border:1px solid #dcbabd!important;color:#744957!important;padding:10px 14px!important;border-radius:12px!important;font-size:13px!important;font-weight:750!important;cursor:pointer}
body.hanna-visual-active [data-hanna-field],body.hanna-visual-active [data-hanna-copy]{cursor:text!important;outline:1px dashed #c99191!important;outline-offset:4px;border-radius:2px;transition:outline-color .15s}
body.hanna-visual-active [data-hanna-field]:hover,body.hanna-visual-active [data-hanna-copy]:hover{outline:2px solid #b2707f!important;background:#f3dbe52e}
body.hanna-visual-active [contenteditable]{outline:2px solid #d5a767!important;outline-offset:3px;min-width:15px}
body.hanna-visual-active #brandNameDisplay,body.hanna-visual-active #brandSloganDisplay{user-select:text}
.hanna-v-remove{position:absolute;right:12px;top:12px;z-index:45;padding:7px 11px!important;border-radius:10px!important;background:#fff7f4!important;border:1px solid #dfbaba!important;color:#a34459!important;font-size:11px!important;font-weight:800!important;cursor:pointer;box-shadow:0 4px 18px #32152630}
.hanna-v-remove:hover{background:#ffe8e6!important}
.hanna-visual-photo-action{position:absolute;right:10px;top:10px;z-index:70;padding:8px 11px!important;border-radius:12px!important;background:#fff9f5ef!important;border:1px solid #d7adb5!important;color:#75485a!important;font-family:'Plus Jakarta Sans',sans-serif;font-size:11px!important;font-weight:800!important;cursor:pointer;box-shadow:0 4px 14px #23132145;white-space:nowrap}
.hanna-visual-photo-action:hover{background:#f7ddda!important}
.hanna-visual-photo-action.hanna-photo-before{top:auto;bottom:10px;right:auto;left:10px}
.hanna-visual-photo-action.hanna-photo-after{top:auto;bottom:10px;right:10px}
.hanna-visual-add-wrap{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin:6px 0 15px;position:relative;z-index:30}
.hanna-visual-add{background:#a77982!important;color:#fff!important;font-family:'Plus Jakarta Sans',sans-serif;font-weight:800!important;font-size:12px!important;padding:10px 15px!important;border-radius:12px!important;border:0!important;cursor:pointer;box-shadow:0 4px 20px #8b586a24}
.hanna-visual-add:hover{background:#815462!important}
.hanna-real-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:22px}
.hanna-gallery-added{position:relative;overflow:hidden;border-radius:14px;background:#fff7f6;border:1px solid #edcfcd}
.hanna-gallery-added img{width:100%;height:175px;object-fit:cover}
.hanna-gallery-added p{font-family:'Plus Jakarta Sans',sans-serif;color:#694652!important;font-size:12px!important;padding:8px 12px!important;font-weight:700}
body.hanna-visual-active .hanna-gallery-added p{cursor:text;outline:1px dashed #ba8797}
.hanna-gallery-delete{position:absolute;right:9px;top:9px;background:#fff5f5!important;color:#ae3c54!important;border-radius:10px!important;padding:7px 8px!important;font-size:11px!important;z-index:50;border:1px solid #e3b6c2!important;font-weight:800!important}
@media(max-width:640px){
 #hannaVisualBar{bottom:6px;width:calc(100% - 14px);padding:9px 11px;border-radius:14px;gap:8px}
 #hannaVisualBar .hanna-edit-info strong{font-size:11px}
 #hannaVisualBar #hannaVisualStatus{font-size:10px;max-width:205px}
 #hannaVisualBar .hanna-edit-actions{gap:5px}
 #hannaVisualBar .hanna-ui-primary,#hannaVisualBar .hanna-ui-secondary{padding:10px 9px!important;font-size:11px!important}
 .hanna-visual-photo-action{padding:6px 7px!important;font-size:10px!important}
 .hanna-real-gallery{gap:9px}
 .hanna-gallery-added img{height:135px}
}

.hanna-visual-service-add-photo{display:block;width:max-content;max-width:100%;padding:7px 12px!important;margin:0 0 14px!important;border:1px dashed #c392a0!important;border-radius:10px!important;background:#f8e7e6!important;color:#88535f!important;font-size:11px!important;font-weight:800!important;cursor:pointer}
.hanna-visual-service-add-photo:hover{background:#f0d3d0!important}


/* Edición completa, conservando encabezados, tipografías e imágenes del sitio. */
#hannaEditorBlockPicker[hidden]{display:none!important}
.hanna-auto-copy{display:inline;white-space:inherit;font:inherit;color:inherit;letter-spacing:inherit}
body.hanna-visual-active [data-hanna-copy],
body.hanna-visual-active [data-hanna-field]{
 cursor:text!important;outline:1px dashed transparent!important;
 outline-offset:3px;transition:outline-color .12s;
}
body.hanna-visual-active [data-hanna-copy]:hover,
body.hanna-visual-active [data-hanna-field]:hover,
body.hanna-visual-active [data-hanna-copy]:focus-visible,
body.hanna-visual-active [data-hanna-field]:focus-visible{
 outline:2px dashed #c59573!important;background:rgba(255,223,215,.11)!important
}
.hanna-added-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:28px auto;max-width:1150px;padding:0 4px;position:relative;z-index:12}
.hanna-added-content:empty{display:none!important}
.hanna-added-card{position:relative;min-width:0;border:1px solid rgba(172,119,130,.23);background:#fff9f8;border-radius:18px;padding:20px;color:#664753}
.hanna-added-card.is-photo{padding:0;overflow:hidden;min-height:170px}
.hanna-added-card.is-photo>img{display:block;width:100%;max-height:410px;min-height:175px;object-fit:cover}
.hanna-added-card h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(24px,3vw,35px);line-height:1.12;color:#64414b;font-weight:700}
.hanna-added-card p{font-family:'Plus Jakarta Sans',sans-serif;font-size:15px;line-height:1.65;color:#735863;white-space:pre-wrap}
body.hanna-visual-active .hanna-added-card [data-hanna-copy]{outline:1px dashed #bf969e!important;cursor:text}
.hanna-delete-custom{position:absolute;z-index:30;right:10px;top:10px;background:#fff1f0!important;border:1px solid #e3afae!important;padding:7px 11px!important;border-radius:11px!important;color:#a54556!important;font-size:11px!important;font-weight:800!important;cursor:pointer}
.hanna-section-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:26px auto 24px;padding:12px;max-width:650px;border:1px dashed rgba(173,120,130,.52);background:rgba(255,248,247,.96);border-radius:16px;position:relative;z-index:32}
.hanna-section-add{background:#fff!important;color:#8a5967!important;border:1px solid #dfbcc1!important;padding:9px 15px!important;border-radius:12px!important;font-size:12px!important;font-family:'Plus Jakarta Sans',sans-serif;font-weight:750!important;cursor:pointer;transition:background .14s}
.hanna-section-add:hover{background:#f6dcdb!important}
body:not(.hanna-visual-active) .hanna-section-tools{display:none!important}
body:not(.hanna-visual-active) .hanna-delete-custom{display:none!important}
body.hanna-visual-active .hanna-added-card{box-shadow:0 2px 18px rgba(134,87,101,.1)}
#inicio .hanna-added-content{padding:4px 0;max-width:700px}
#inicio .hanna-section-tools{max-width:600px}
#pie .hanna-added-content{padding:0}
#giftcards .hanna-added-content{padding:0}
@media(max-width:600px){
 .hanna-added-content{grid-template-columns:1fr;margin:17px auto;gap:10px}
 .hanna-added-card{padding:16px}
 .hanna-section-tools{padding:10px;gap:7px;margin:17px auto}
 .hanna-section-add{font-size:11px!important;padding:9px 11px!important}
}

/* HANNA · rediseño del editor: menú organizado sin superposiciones */
#hannaVisualBar{
  bottom:max(16px,env(safe-area-inset-bottom))!important;
  width:min(930px,calc(100vw - 32px))!important;
  padding:12px 14px!important;gap:18px!important;
  box-sizing:border-box!important;display:flex!important;align-items:center!important;
  justify-content:space-between!important;
  background:rgba(255,251,250,.985)!important;color:#513640!important;
  border:1px solid #e7d8d8!important;border-radius:20px!important;
  box-shadow:0 12px 42px rgba(73,35,53,.19),0 2px 10px rgba(73,35,53,.06)!important;
}
#hannaVisualBar[hidden]{display:none!important}
#hannaVisualBar *,#hannaVisualBar *::before,#hannaVisualBar *::after{box-sizing:border-box}
#hannaVisualBar .hanna-edit-identity{display:flex;align-items:center;gap:12px;flex:1 1 auto;min-width:0}
#hannaVisualBar .hanna-editor-monogram{flex:0 0 42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#f3e6e6;color:#825465;font:700 23px 'Cormorant Garamond',Georgia,serif}
#hannaVisualBar .hanna-edit-info{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;flex:1}
#hannaVisualBar .hanna-edit-info strong{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:14px;font-weight:800;color:#533744;letter-spacing:-.015em}
#hannaVisualBar .hanna-editor-mode{font-size:9px;line-height:1;padding:6px 8px;letter-spacing:.04em;text-transform:uppercase;border-radius:100px;background:#f4e7ed;color:#8b5367;font-weight:800}
#hannaVisualBar #hannaVisualStatus{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:none;font-size:11px;line-height:1.5;color:#876b75}
#hannaVisualBar #hannaVisualStatus.bad{color:#b13b54}
#hannaVisualBar .hanna-edit-controls{display:flex;align-items:center;gap:8px;flex:0 0 auto}
#hannaVisualBar .hanna-admin-tools{position:relative;flex:0 0 auto}
#hannaVisualBar .hanna-tools-trigger{list-style:none;user-select:none;display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:0 14px;border:1px solid #e7d4d9;border-radius:12px;background:#fff;color:#754a5a;cursor:pointer;font:750 12px 'Plus Jakarta Sans',sans-serif;white-space:nowrap;transition:background .15s,border-color .15s}
#hannaVisualBar .hanna-tools-trigger::-webkit-details-marker{display:none}
#hannaVisualBar .hanna-tools-trigger::marker{content:''}
#hannaVisualBar .hanna-tools-trigger:hover,#hannaVisualBar .hanna-admin-tools[open] .hanna-tools-trigger{background:#faeff0;border-color:#d8b8c0}
#hannaVisualBar .hanna-tools-trigger:focus-visible,#hannaVisualBar button:focus-visible{outline:3px solid #cc8ea0;outline-offset:3px}
#hannaVisualBar .hanna-tools-chevron{font-size:9px;transition:transform .2s}
#hannaVisualBar .hanna-admin-tools[open] .hanna-tools-chevron{transform:rotate(180deg)}
#hannaVisualBar .hanna-tools-sheet{position:absolute;right:0;bottom:calc(100% + 14px);width:min(350px,calc(100vw - 32px));max-height:min(65vh,490px);overflow-y:auto;z-index:15;background:#fffdfc;border:1px solid #ecdfe0;border-radius:18px;box-shadow:0 16px 56px rgba(59,27,43,.20);padding:8px}
#hannaVisualBar .hanna-tools-heading{padding:13px 14px 10px;border-bottom:1px solid #f0e7e7}
#hannaVisualBar .hanna-tools-heading strong{display:block;font-size:13px;font-weight:850;color:#553744;letter-spacing:-.01em}
#hannaVisualBar .hanna-tools-heading small{display:block;margin-top:3px;font-size:10px;line-height:1.5;color:#91747d}
#hannaVisualBar .hanna-edit-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:5px!important;align-items:stretch!important;flex:initial!important;padding:8px 3px 3px!important}
#hannaVisualBar .hanna-edit-actions>button{width:100%!important;min-height:42px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;padding:11px 13px!important;margin:0!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:#664651!important;font:750 12px 'Plus Jakarta Sans',sans-serif!important;white-space:normal!important;box-shadow:none!important;cursor:pointer}
#hannaVisualBar .hanna-edit-actions>button:hover{background:#f9eded!important;color:#774052!important;border-color:#efdee0!important}
#hannaVisualBar #hannaVisualSave,#hannaVisualBar #hannaVisualExit{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px!important;margin:0!important;white-space:nowrap!important;border-radius:12px!important;font-family:'Plus Jakarta Sans',sans-serif!important;font-size:12px!important;font-weight:800!important}
#hannaVisualBar #hannaVisualSave{padding:10px 19px!important;background:#875769!important;color:#fff!important;border:1px solid #875769!important}
#hannaVisualBar #hannaVisualSave:hover{background:#6d4253!important}
#hannaVisualBar #hannaVisualExit{padding:10px 14px!important;background:#fff!important;color:#755161!important;border:1px solid #eadadd!important}
#hannaVisualBar #hannaVisualExit:hover{background:#f9eded!important}
body.hanna-visual-active{padding-bottom:95px}
@media(max-width:760px){
  #hannaVisualBar{gap:10px!important;padding:10px!important;bottom:max(8px,env(safe-area-inset-bottom))!important;width:calc(100vw - 16px)!important;border-radius:16px!important}
  #hannaVisualBar .hanna-editor-monogram{flex-basis:36px;height:36px;border-radius:10px;font-size:20px}
  #hannaVisualBar .hanna-edit-identity{gap:8px}
  #hannaVisualBar .hanna-editor-mode{display:none}
  #hannaVisualBar .hanna-edit-info strong{font-size:12px}
  #hannaVisualBar #hannaVisualStatus{font-size:10px}
  #hannaVisualBar .hanna-edit-controls{gap:5px}
  #hannaVisualBar .hanna-tools-trigger{padding:0 10px;min-height:40px;gap:5px;font-size:11px}
  #hannaVisualBar #hannaVisualSave,#hannaVisualBar #hannaVisualExit{min-height:40px!important;font-size:11px!important;padding:8px 11px!important}
}
@media(max-width:520px){
  #hannaVisualBar{gap:5px!important;padding:8px!important}
  #hannaVisualBar .hanna-editor-monogram{flex-basis:32px;height:32px}
  #hannaVisualBar .hanna-edit-info strong{font-size:11px}
  #hannaVisualBar #hannaVisualStatus{display:none}
  #hannaVisualBar .hanna-tools-trigger span,#hannaVisualBar .hanna-tools-chevron{display:none}
  #hannaVisualBar .hanna-tools-trigger{width:39px;padding:0;min-height:39px}
  #hannaVisualBar #hannaVisualSave,#hannaVisualBar #hannaVisualExit{min-height:39px!important;padding:8px 9px!important}
  #hannaVisualBar #hannaVisualExit span{display:none}
  #hannaVisualBar .hanna-edit-controls{gap:4px}
  #hannaVisualBar .hanna-tools-sheet{right:-90px}
}
@media(max-width:360px){
  #hannaVisualBar .hanna-editor-monogram{display:none}
  #hannaVisualBar .hanna-edit-identity{gap:0}
  #hannaVisualBar .hanna-edit-info strong{font-size:10px}
  #hannaVisualBar #hannaVisualSave{font-size:10px!important}
}

/* Acceso administrativo · mensajes visibles y diseño adaptable */
#hannaVisualLogin{z-index:1000010!important;overflow-y:auto!important;overscroll-behavior:contain!important}
#hannaVisualLogin .hanna-login-card{max-height:calc(100dvh - 40px)!important;overflow:auto!important;box-sizing:border-box!important}
#hannaVisualLogin #hannaLoginFeedback{min-height:16px;white-space:normal;overflow-wrap:anywhere;line-height:1.55!important}
#hannaVisualLogin #hannaLoginFeedback:empty{display:none}
#hannaVisualLogin button.hanna-ui-primary:disabled{cursor:wait!important;opacity:.7!important}
@media(max-width:550px){#hannaVisualLogin{padding:12px!important}#hannaVisualLogin .hanna-login-card{padding:20px!important;border-radius:18px!important}}
