/*
 * Modal padrão do site no layout V3 — todos os <dialog> do módulo modulos/dialog (createDialog,
 * alert, cupom, avisos do checkout…). O modal de vídeo do stories (#modal-video) fica de fora.
 */
dialog:not(#modal-video){background:rgba(26,18,8,.55)!important;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
dialog:not(#modal-video) .alert{width:calc(100% - 32px)!important;max-width:460px!important;max-height:calc(100% - 32px)!important;margin:auto!important;padding:34px 32px 30px!important;background:#fff!important;border:1px solid #ded2c2!important;border-radius:0!important;box-shadow:0 24px 60px rgba(17,17,16,.22)!important;font-family:Montserrat,'arboria','arboria-reserva',Arial,sans-serif;color:#24211d;text-align:left;transition:transform .3s ease,opacity .3s ease}
dialog:not(#modal-video):not([open]) .alert{transform:translateY(12px) scale(.98)!important}
dialog:not(#modal-video)[open] .alert{transform:none!important}
/* X em bolinha */
dialog:not(#modal-video) .alert a.close,
dialog:not(#modal-video) .alert > .close{position:absolute!important;top:14px!important;right:14px!important;width:38px!important;height:38px!important;padding:0!important;margin:0!important;display:flex!important;align-items:center;justify-content:center;border-radius:50%!important;background:#f2ede6!important;border:0!important;cursor:pointer;transition:background .2s,transform .2s;z-index:2}
dialog:not(#modal-video) .alert a.close svg,
dialog:not(#modal-video) .alert > .close svg{width:18px!important;height:18px!important;fill:#24211d!important;transition:fill .2s}
dialog:not(#modal-video) .alert a.close:hover,
dialog:not(#modal-video) .alert > .close:hover{background:#a97f4f!important;transform:rotate(90deg)}
dialog:not(#modal-video) .alert a.close:hover svg,
dialog:not(#modal-video) .alert > .close:hover svg{fill:#fff!important}
/* Título, texto e rodapé */
dialog:not(#modal-video) .alert .dialog_header{padding:0 44px 0 0!important;margin:0 0 12px!important;font-family:'linotype-didot-headline','linotype-didot',Georgia,serif!important;font-weight:400!important;font-size:30px!important;line-height:1.1!important;letter-spacing:-.005em;text-transform:none!important;color:#111!important}
dialog:not(#modal-video) .alert .dialog_body{padding:0!important;margin:0!important;font-size:14px!important;line-height:1.7!important;color:#746b62!important}
dialog:not(#modal-video) .alert .dialog_body p{margin:0 0 10px}
dialog:not(#modal-video) .alert .dialog_body p:last-child{margin:0}
dialog:not(#modal-video) .alert .dialog_footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:22px 0 0!important;margin:0!important;text-align:right}
dialog:not(#modal-video) .alert .dialog_footer a,
dialog:not(#modal-video) .alert .dialog_footer button{display:inline-flex!important;align-items:center;justify-content:center;min-height:46px;padding:0 22px!important;margin:0!important;border:1px solid #1a1208!important;border-radius:0!important;background:#1a1208!important;color:#fff!important;font-family:inherit!important;font-size:11px!important;font-weight:600!important;letter-spacing:.14em;text-transform:uppercase;text-decoration:none!important;cursor:pointer;transition:background .2s,border-color .2s}
dialog:not(#modal-video) .alert .dialog_footer a:hover,
dialog:not(#modal-video) .alert .dialog_footer button:hover{background:#a97f4f!important;border-color:#a97f4f!important}
@media (max-width:520px){
  dialog:not(#modal-video) .alert{padding:28px 22px 24px!important}
  dialog:not(#modal-video) .alert .dialog_header{font-size:26px!important}
}

/* Avisos do WooCommerce (erro, sucesso, informação) no padrão V3 — todo o site */
body .woocommerce-error,body .woocommerce-message,body .woocommerce-info{--lv-aviso:#a97f4f;--lv-aviso-fundo:rgba(169,127,79,.08);position:relative!important;display:block!important;box-sizing:border-box;width:auto!important;max-width:1240px!important;margin:16px auto!important;padding:16px 20px 16px 60px!important;list-style:none!important;background:#fff!important;border:1px solid #ded2c2!important;border-left:3px solid var(--lv-aviso)!important;border-radius:0!important;box-shadow:0 12px 30px -24px rgba(26,18,8,.35)!important;font-family:Montserrat,'arboria','arboria-reserva',Arial,sans-serif!important;font-size:14px!important;font-weight:500!important;line-height:1.55!important;color:#24211d!important;text-align:left!important}
body .woocommerce-error{--lv-aviso:#c0392b;--lv-aviso-fundo:rgba(192,57,43,.08)}
body .woocommerce-message{--lv-aviso:#3d7a52;--lv-aviso-fundo:rgba(61,122,82,.08)}
body .woocommerce-error::before,body .woocommerce-message::before,body .woocommerce-info::before{content:""!important;position:absolute!important;left:18px!important;top:14px!important;width:26px!important;height:26px!important;margin:0!important;border-radius:50%;background-color:var(--lv-aviso-fundo)!important;background-repeat:no-repeat!important;background-position:center!important;background-size:16px!important;color:transparent!important;font-size:0!important;display:block!important}
body .woocommerce-error::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0392b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 7v6'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E")!important}
body .woocommerce-message::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d7a52' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")!important}
body .woocommerce-info::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a97f4f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 11v6'/%3E%3Cpath d='M12 7h.01'/%3E%3C/svg%3E")!important}
body .woocommerce-error::after,body .woocommerce-message::after,body .woocommerce-info::after{content:none!important;display:none!important}
body .woocommerce-error li{margin:0!important;padding:0!important;list-style:none!important;background:none!important;border:0!important;color:inherit!important;font:inherit!important}
body .woocommerce-error li + li{margin-top:6px!important}
body .woocommerce-error a:not(.button),body .woocommerce-message a:not(.button),body .woocommerce-info a:not(.button){color:#111!important;font-weight:600!important;text-decoration:underline!important;text-decoration-color:#a97f4f!important;text-underline-offset:3px;background:none!important;padding:0!important;border:0!important}
body .woocommerce-error a:not(.button):hover,body .woocommerce-message a:not(.button):hover,body .woocommerce-info a:not(.button):hover{color:#a97f4f!important}
body .woocommerce-error .button,body .woocommerce-message .button,body .woocommerce-info .button{float:right!important;display:inline-flex!important;align-items:center;min-height:36px!important;margin:-6px 0 -6px 16px!important;padding:0 16px!important;background:transparent!important;border:1px solid #ded2c2!important;border-radius:0!important;color:#24211d!important;font-size:11px!important;font-weight:600!important;letter-spacing:.14em!important;text-transform:uppercase!important;text-decoration:none!important;box-shadow:none!important;line-height:1!important}
body .woocommerce-error .button:hover,body .woocommerce-message .button:hover,body .woocommerce-info .button:hover{border-color:#a97f4f!important;color:#a97f4f!important;background:transparent!important}
/* "Sua sessão expirou. Retornar para a loja" — o link vira botão */
body .woocommerce-error a.wc-backward,body .woocommerce-info a.wc-backward{display:inline-flex!important;align-items:center;margin-left:8px!important;padding:6px 14px!important;border:1px solid #ded2c2!important;text-decoration:none!important;font-size:11px!important;letter-spacing:.14em;text-transform:uppercase}
body .woocommerce-error a.wc-backward:hover,body .woocommerce-info a.wc-backward:hover{border-color:#a97f4f!important}
@media (max-width:767px){
  body .woocommerce-error,body .woocommerce-message,body .woocommerce-info{margin:12px 16px!important;padding:14px 16px 14px 52px!important;font-size:13px!important}
  body .woocommerce-error::before,body .woocommerce-message::before,body .woocommerce-info::before{left:14px!important;top:12px!important}
  body .woocommerce-error .button,body .woocommerce-message .button,body .woocommerce-info .button{float:none!important;display:flex!important;justify-content:center;width:100%;margin:10px 0 0!important}
  body .woocommerce-error a.wc-backward,body .woocommerce-info a.wc-backward{display:flex!important;justify-content:center;margin:10px 0 0!important}
}
html body .woocommerce-message a.button,html body .woocommerce-error a.button,html body .woocommerce-info a.button{border:1px solid #ded2c2!important;padding:0 16px!important}
html body .woocommerce-message a.button:hover,html body .woocommerce-error a.button:hover,html body .woocommerce-info a.button:hover{border-color:#a97f4f!important}
