/* Everything is scoped to the widget to coexist with WordPress themes. */
#ec7_empire_chatbot_root {
  --ec7_primary: #161916;
  --ec7_on_primary: #fff;
  --ec7_ink: #222820;
  --ec7_muted: #73756d;
  --ec7_line: #e8e7df;
  --ec7_paper: #f8f8f3;
  --ec7_gold: #a58b57;
  --ec7_offset: 24px;
  position: fixed;
  right: 24px;
  bottom: max(var(--ec7_offset), env(safe-area-inset-bottom));
  z-index: 2147483000;
  color: var(--ec7_ink);
  font: 400 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
  letter-spacing: normal;
  text-transform: none;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
}
#ec7_empire_chatbot_root[data-position="left"] { right: auto; left: 24px; }
#ec7_empire_chatbot_root *, #ec7_empire_chatbot_root *::before, #ec7_empire_chatbot_root *::after { box-sizing: border-box; }
#ec7_empire_chatbot_root [hidden] { display: none !important; }
#ec7_empire_chatbot_root button, #ec7_empire_chatbot_root textarea, #ec7_empire_chatbot_root a { -webkit-tap-highlight-color: transparent; }
#ec7_empire_chatbot_root button { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 0; border: 0; border-radius: 0; padding: 0; background: none; color: inherit; font: inherit; line-height: 1.4; letter-spacing: normal; text-transform: none; box-shadow: none; cursor: pointer; transition: background .18s, transform .18s, color .18s; }
#ec7_empire_chatbot_root button::before, #ec7_empire_chatbot_root button::after { display: none; }
#ec7_empire_chatbot_root button:disabled { opacity: .38; cursor: not-allowed; }
#ec7_empire_chatbot_root :is(button, a, textarea, [tabindex]):focus-visible { outline: 2px solid var(--ec7_gold); outline-offset: 3px; }
#ec7_empire_chatbot_root a { color: inherit; text-decoration: none; }
#ec7_empire_chatbot_root p, #ec7_empire_chatbot_root h2, #ec7_empire_chatbot_root h3 { margin: 0; padding: 0; color: inherit; }
#ec7_empire_chatbot_root .ec7_icon { display: inline-flex; flex: 0 0 20px; width: 20px; height: 20px; align-items: center; justify-content: center; }
#ec7_empire_chatbot_root .ec7_icon svg { display: block; width: 100%; height: 100%; }
#ec7_empire_chatbot_root .ec7_launcher_wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
#ec7_empire_chatbot_root[data-position="left"] .ec7_launcher_wrap { align-items: flex-start; }
#ec7_empire_chatbot_root .ec7_chat_launcher { position: relative; min-height: 60px; padding: 0 23px; gap: 12px; border: 1px solid #ffffff20; border-radius: 40px; background: var(--ec7_primary); color: var(--ec7_on_primary); box-shadow: 0 8px 30px #17221826, 0 2px 5px #17221814; }
#ec7_empire_chatbot_root .ec7_chat_launcher:hover { transform: translateY(-3px); }
#ec7_empire_chatbot_root .ec7_chat_launcher > .ec7_icon { width: 24px; height: 24px; flex-basis: 24px; }
#ec7_empire_chatbot_root .ec7_launcher_label { font-size: 14px; font-weight: 600; }
#ec7_empire_chatbot_root .ec7_launcher_dot { width: 7px; height: 7px; border-radius: 50%; background: #b9d4a5; }
#ec7_empire_chatbot_root .ec7_has_unread .ec7_launcher_dot { width: 10px; height: 10px; background: #e4c984; box-shadow: 0 0 0 4px #e4c98425; }
#ec7_empire_chatbot_root .ec7_teaser { display: flex; position: relative; width: 253px; background: #fff; border: 1px solid var(--ec7_line); border-radius: 16px 16px 4px 16px; box-shadow: 0 8px 30px #1722180c; animation: ec7_reveal .35s ease-out; }
#ec7_empire_chatbot_root[data-position="left"] .ec7_teaser { border-radius: 16px 16px 16px 4px; }
#ec7_empire_chatbot_root .ec7_teaser_open { display: flex; flex-direction: column; align-items: flex-start; padding: 18px 29px 18px 18px; gap: 6px; text-align: left; font-size: 13px; line-height: 1.6; }
#ec7_empire_chatbot_root .ec7_teaser_eyebrow { color: #807050; font-size: 9px; letter-spacing: 1.7px; font-weight: 600; }
#ec7_empire_chatbot_root .ec7_teaser_close { position: absolute; right: 1px; top: 1px; width: 32px; height: 32px; color: var(--ec7_muted); }
#ec7_empire_chatbot_root .ec7_teaser_close .ec7_icon { width: 13px; height: 13px; flex-basis: 13px; }
#ec7_empire_chatbot_root .ec7_chat_window { position: relative; display: flex; flex-direction: column; width: 410px; height: min(720px, calc(100vh - var(--ec7_offset) - 24px)); height: min(720px, calc(100dvh - var(--ec7_offset) - 24px)); overflow: hidden; background: #fff; border: 1px solid #e3e5dc; border-radius: 22px; box-shadow: 0 24px 90px #1c281b29, 0 3px 12px #1c281b0a; animation: ec7_reveal .22s ease-out; transform-origin: bottom right; }
#ec7_empire_chatbot_root .ec7_chat_header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 21px 20px 19px; background: var(--ec7_primary); color: var(--ec7_on_primary); }
#ec7_empire_chatbot_root .ec7_chat_brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
#ec7_empire_chatbot_root .ec7_chat_avatar { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border: 1px solid currentColor; border-radius: 50%; font: 28px/1 Georgia, serif; }
#ec7_empire_chatbot_root .ec7_chat_brand_text { min-width: 0; }
#ec7_empire_chatbot_root .ec7_chat_title { display: block; font-size: 13px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
#ec7_empire_chatbot_root .ec7_chat_status { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 10px; opacity: .8; }
#ec7_empire_chatbot_root .ec7_chat_status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
#ec7_empire_chatbot_root .ec7_header_actions { display: flex; gap: 2px; flex-shrink: 0; }
#ec7_empire_chatbot_root .ec7_icon_button { width: 32px; height: 36px; border-radius: 8px; }
#ec7_empire_chatbot_root .ec7_icon_button:hover { background: #88888825; }
#ec7_empire_chatbot_root .ec7_chat_nav { display: flex; gap: 24px; padding: 0 24px; border-bottom: 1px solid var(--ec7_line); flex-shrink: 0; }
#ec7_empire_chatbot_root .ec7_nav_button { min-height: 49px; position: relative; font-size: 12px; color: var(--ec7_muted); border-bottom: 2px solid transparent; }
#ec7_empire_chatbot_root .ec7_nav_button > .ec7_icon { width: 15px; height: 15px; flex-basis: 15px; }
#ec7_empire_chatbot_root .ec7_nav_button[aria-current="page"] { color: var(--ec7_ink); border-bottom-color: var(--ec7_gold); font-weight: 600; }
#ec7_empire_chatbot_root .ec7_nav_dot { width: 6px; height: 6px; background: var(--ec7_gold); border-radius: 50%; }
#ec7_empire_chatbot_root .ec7_content { position: relative; display: flex; flex: 1; min-height: 0; background: var(--ec7_paper); }
#ec7_empire_chatbot_root .ec7_home, #ec7_empire_chatbot_root .ec7_chat_messages { width: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d2d5cb transparent; }
#ec7_empire_chatbot_root .ec7_home { display: flex; flex-direction: column; align-items: center; padding: 36px 28px; gap: 26px; background: #fff; }
#ec7_empire_chatbot_root .ec7_intro { flex-shrink: 0; width: 100%; max-width: 320px; margin-top: auto; }
#ec7_empire_chatbot_root .ec7_welcome_text { color: #343c33; font-size: 19px; font-weight: 400; line-height: 1.65; text-align: center; white-space: pre-wrap; overflow-wrap: anywhere; }
#ec7_empire_chatbot_root .ec7_chat_quick { display: flex; flex-wrap: wrap; justify-content: center; flex-shrink: 0; gap: 8px; width: 100%; margin-bottom: auto; }
#ec7_empire_chatbot_root .ec7_quick_card { min-height: 40px; max-width: 100%; padding: 10px 15px; border: 1px solid #e7e8e2; border-radius: 24px; background: #fff; color: #60675c; font-size: 12px; font-weight: 400; text-align: center; overflow-wrap: anywhere; }
#ec7_empire_chatbot_root .ec7_quick_card:hover:not(:disabled) { border-color: #b8c0af; background: #f7f8f4; color: #283125; }
#ec7_empire_chatbot_root .ec7_contact { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 8px; padding: 8px 0; color: #72796d; font-size: 11px; }
#ec7_empire_chatbot_root .ec7_contact:hover { text-decoration: underline; text-underline-offset: 3px; }
#ec7_empire_chatbot_root .ec7_contact .ec7_icon { width: 12px; height: 12px; flex-basis: 12px; }
#ec7_empire_chatbot_root[data-view="home"] .ec7_chat_footer { border-top: 0; padding-top: 10px; padding-bottom: 20px; }
#ec7_empire_chatbot_root .ec7_chat_messages { padding: 22px 19px 12px; }
#ec7_empire_chatbot_root .ec7_date { margin: 0 0 22px; text-align: center; font-size: 10px; color: var(--ec7_muted); }
#ec7_empire_chatbot_root .ec7_chat_message { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 18px; }
#ec7_empire_chatbot_root .ec7_message_avatar { display: grid; place-items: center; flex: 0 0 27px; height: 27px; width: 27px; margin-bottom: 27px; border: 1px solid #dfddcd; border-radius: 50%; background: #f0eee2; color: #83724b; font: 16px/1 Georgia, serif; }
#ec7_empire_chatbot_root .ec7_message_body { min-width: 0; max-width: 85%; }
#ec7_empire_chatbot_root .ec7_chat_bubble { padding: 13px 15px; border: 1px solid var(--ec7_line); border-radius: 15px 15px 15px 3px; background: #fff; font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
#ec7_empire_chatbot_root .ec7_chat_bubble a { text-decoration: underline; text-underline-offset: 3px; }
#ec7_empire_chatbot_root .ec7_chat_bubble code { font: 12px/1.6 monospace; background: #88888815; border-radius: 3px; padding: 1px 3px; color: inherit; }
#ec7_empire_chatbot_root .ec7_chat_message_user { justify-content: flex-end; }
#ec7_empire_chatbot_root .ec7_chat_message_user .ec7_chat_bubble { background: var(--ec7_primary); color: var(--ec7_on_primary); border-color: transparent; border-radius: 15px 15px 3px 15px; }
#ec7_empire_chatbot_root .ec7_message_meta { display: flex; align-items: center; gap: 8px; min-height: 26px; padding: 4px 2px 0; color: var(--ec7_muted); font-size: 9px; }
#ec7_empire_chatbot_root .ec7_chat_message_user .ec7_message_meta { justify-content: flex-end; }
#ec7_empire_chatbot_root .ec7_copy { width: 26px; height: 26px; border-radius: 5px; }
#ec7_empire_chatbot_root .ec7_copy:hover { background: #e9ebe2; }
#ec7_empire_chatbot_root .ec7_copy .ec7_icon { width: 12px; height: 12px; flex-basis: 12px; }
#ec7_empire_chatbot_root .ec7_chat_typing { display: flex; align-items: center; gap: 9px; margin: 8px 0 22px; }
#ec7_empire_chatbot_root .ec7_chat_typing .ec7_message_avatar { margin: 0; }
#ec7_empire_chatbot_root .ec7_typing_dots { display: flex; gap: 4px; padding: 13px 11px; background: #fff; border: 1px solid var(--ec7_line); border-radius: 10px; }
#ec7_empire_chatbot_root .ec7_typing_dots i { width: 4px; height: 4px; border-radius: 50%; background: #a3a793; animation: ec7_typing 1.2s infinite; }
#ec7_empire_chatbot_root .ec7_typing_dots i:nth-child(2) { animation-delay: .15s; }
#ec7_empire_chatbot_root .ec7_typing_dots i:nth-child(3) { animation-delay: .3s; }
#ec7_empire_chatbot_root .ec7_typing_label { font-size: 10px; color: var(--ec7_muted); }
#ec7_empire_chatbot_root .ec7_chat_footer { flex-shrink: 0; padding: 15px 19px 13px; background: #fff; border-top: 1px solid var(--ec7_line); }
#ec7_empire_chatbot_root .ec7_chat_input_row { display: flex; align-items: flex-end; gap: 8px; margin: 0; padding: 6px; border: 1px solid #dcded5; border-radius: 13px; background: #fff; transition: border-color .2s, box-shadow .2s; }
#ec7_empire_chatbot_root .ec7_chat_input_row:focus-within { border-color: #a89b7b; box-shadow: 0 0 0 3px #a89b7b14; }
#ec7_empire_chatbot_root .ec7_chat_input { display: block; flex: 1; width: 100%; min-width: 0; min-height: 37px; max-height: 112px; margin: 0; padding: 9px 7px; border: 0; border-radius: 0; outline: none; box-shadow: none; background: transparent; color: var(--ec7_ink); font: 12px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; resize: none; }
#ec7_empire_chatbot_root .ec7_chat_input:focus-visible { outline: none; }
#ec7_empire_chatbot_root .ec7_chat_input::placeholder { color: #72766a; opacity: 1; }
#ec7_empire_chatbot_root .ec7_chat_send { flex: 0 0 37px; width: 37px; height: 37px; border-radius: 9px; background: var(--ec7_primary); color: var(--ec7_on_primary); }
#ec7_empire_chatbot_root .ec7_chat_send:disabled { opacity: .28; }
#ec7_empire_chatbot_root .ec7_chat_send:hover:not(:disabled) { transform: translateY(-1px); }
#ec7_empire_chatbot_root .ec7_composer_meta { display: flex; justify-content: space-between; min-height: 19px; padding: 5px 2px 0; color: #717669; font-size: 9px; }
#ec7_empire_chatbot_root .ec7_signature { display: flex; justify-content: center; align-items: center; gap: 5px; margin-top: 5px; color: #707565; font-size: 9px; flex-wrap: wrap; }
#ec7_empire_chatbot_root .ec7_signature .ec7_icon { width: 11px; height: 11px; flex-basis: 11px; }
#ec7_empire_chatbot_root .ec7_signature a { text-decoration: underline; }
#ec7_empire_chatbot_root .ec7_chat_menu { position: absolute; top: 76px; right: 15px; z-index: 5; display: grid; padding: 6px; min-width: 234px; border: 1px solid var(--ec7_line); border-radius: 12px; background: #fff; box-shadow: 0 10px 35px #1c281b22; }
#ec7_empire_chatbot_root .ec7_chat_menu button { justify-content: flex-start; padding: 12px 9px; border-radius: 7px; font-size: 12px; }
#ec7_empire_chatbot_root .ec7_chat_menu button:hover { background: var(--ec7_paper); }
#ec7_empire_chatbot_root .ec7_chat_menu .ec7_icon { width: 16px; height: 16px; flex-basis: 16px; }
#ec7_empire_chatbot_root .ec7_network { padding: 10px 20px; color: #80551f; background: #fff3d9; font-size: 11px; }
#ec7_empire_chatbot_root .ec7_request_error { margin: 0 0 18px 35px; padding: 12px; border: 1px solid #eadbc4; border-radius: 10px; background: #fffaf1; color: #846431; font-size: 12px; }
#ec7_empire_chatbot_root .ec7_retry { min-height: 34px; margin-top: 6px; text-decoration: underline; text-underline-offset: 3px; font-size: 11px; }
#ec7_empire_chatbot_root .ec7_retry .ec7_icon { width: 13px; height: 13px; flex-basis: 13px; }
#ec7_empire_chatbot_root .ec7_jump { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); gap: 7px; padding: 8px 13px; border: 1px solid var(--ec7_line); border-radius: 30px; background: #fff; box-shadow: 0 3px 16px #2222; font-size: 11px; white-space: nowrap; }
#ec7_empire_chatbot_root .ec7_jump .ec7_icon { width: 15px; height: 15px; flex-basis: 15px; }
#ec7_empire_chatbot_root .ec7_chat_products { margin: 0 0 24px 35px; }
#ec7_empire_chatbot_root .ec7_product_top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 8px; letter-spacing: 1.2px; color: var(--ec7_muted); }
#ec7_empire_chatbot_root .ec7_product_controls { display: flex; gap: 4px; }
#ec7_empire_chatbot_root .ec7_product_arrow { width: 28px; height: 28px; border: 1px solid var(--ec7_line); border-radius: 50%; background: #fff; }
#ec7_empire_chatbot_root .ec7_product_arrow .ec7_icon { width: 13px; height: 13px; flex-basis: 13px; }
#ec7_empire_chatbot_root .ec7_previous .ec7_icon { transform: rotate(180deg); }
#ec7_empire_chatbot_root .ec7_product_track { display: grid; grid-auto-flow: column; grid-auto-columns: 71%; gap: 11px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #d2d5cb transparent; padding: 3px 2px 9px; }
#ec7_empire_chatbot_root .ec7_chat_product { display: flex; flex-direction: column; min-width: 0; overflow: hidden; padding: 7px; border: 1px solid var(--ec7_line); border-radius: 13px; background: #fff; scroll-snap-align: start; }
#ec7_empire_chatbot_root .ec7_product_visual { position: relative; display: grid; place-items: center; height: 157px; margin-bottom: 11px; background: #f0f0e9; border-radius: 8px; overflow: hidden; color: #b1b4a6; }
#ec7_empire_chatbot_root .ec7_product_visual > .ec7_icon { width: 35px; height: 35px; }
#ec7_empire_chatbot_root .ec7_product_image { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
#ec7_empire_chatbot_root .ec7_product_stock { position: absolute; bottom: 8px; left: 8px; padding: 4px 7px; border-radius: 4px; background: #fff; color: #74776b; font-size: 9px; }
#ec7_empire_chatbot_root .ec7_product_stock.is_available { color: #386044; }
#ec7_empire_chatbot_root .ec7_product_name { padding: 0 5px; font-size: 12px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
#ec7_empire_chatbot_root .ec7_product_price { padding: 5px 5px 12px; font-size: 13px; font-weight: 600; }
#ec7_empire_chatbot_root .ec7_product_link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding: 9px 5px 5px; border-top: 1px solid var(--ec7_line); font-size: 11px; }
#ec7_empire_chatbot_root .ec7_product_link:hover { text-decoration: underline; }
#ec7_empire_chatbot_root .ec7_product_link .ec7_icon { width: 14px; height: 14px; flex-basis: 14px; }
#ec7_empire_chatbot_root .ec7_confirm { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; padding: 24px; background: #121a1266; backdrop-filter: blur(3px); }
#ec7_empire_chatbot_root .ec7_confirm_card { padding: 26px; background: #fff; border-radius: 17px; box-shadow: 0 8px 40px #0002; }
#ec7_empire_chatbot_root .ec7_confirm_card > .ec7_icon { margin-bottom: 16px; color: var(--ec7_gold); }
#ec7_empire_chatbot_root .ec7_confirm_card h3 { font: 25px/1.3 Georgia, serif; margin-bottom: 12px; }
#ec7_empire_chatbot_root .ec7_confirm_card p { font-size: 12px; line-height: 1.8; color: var(--ec7_muted); }
#ec7_empire_chatbot_root .ec7_confirm_actions { display: flex; gap: 8px; margin-top: 23px; }
#ec7_empire_chatbot_root .ec7_primary, #ec7_empire_chatbot_root .ec7_secondary { min-height: 40px; padding: 9px 14px; border: 1px solid var(--ec7_line); border-radius: 8px; font-size: 12px; }
#ec7_empire_chatbot_root .ec7_primary { background: var(--ec7_primary); color: var(--ec7_on_primary); border-color: transparent; }
#ec7_empire_chatbot_root .ec7_sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@keyframes ec7_reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ec7_typing { 0%, 60%, 100% { opacity: .4; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@media (min-width: 541px) {
  #ec7_empire_chatbot_root[data-view="home"] .ec7_chat_window { height: min(560px, calc(100vh - var(--ec7_offset) - 24px)); height: min(560px, calc(100dvh - var(--ec7_offset) - 24px)); }
}
@media (max-width: 540px) {
  #ec7_empire_chatbot_root { right: 16px; }
  #ec7_empire_chatbot_root[data-position="left"] { left: 16px; }
  #ec7_empire_chatbot_root .ec7_chat_launcher { min-height: 56px; padding: 0 19px; }
  #ec7_empire_chatbot_root .ec7_teaser { width: 232px; }
  #ec7_empire_chatbot_root.ec7_chat_open, #ec7_empire_chatbot_root.ec7_chat_open[data-position="left"] { inset: var(--ec7_view_top, 0px) 0 auto; width: 100%; height: var(--ec7_view_height, 100dvh); }
  #ec7_empire_chatbot_root .ec7_chat_window { width: 100%; height: 100%; max-height: none; border: 0; border-radius: 0; }
  #ec7_empire_chatbot_root .ec7_chat_header { padding-top: max(19px, env(safe-area-inset-top)); }
  #ec7_empire_chatbot_root .ec7_chat_footer { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  #ec7_empire_chatbot_root .ec7_chat_input { font-size: 16px; padding-top: 6px; padding-bottom: 6px; }
  #ec7_empire_chatbot_root .ec7_composer_hint { visibility: hidden; }
  #ec7_empire_chatbot_root .ec7_icon_button { width: 36px; height: 40px; }
  #ec7_empire_chatbot_root .ec7_product_arrow { width: 34px; height: 34px; }
  #ec7_empire_chatbot_root .ec7_home { padding-top: 30px; }
  #ec7_empire_chatbot_root .ec7_quick_card { min-height: 44px; }
  #ec7_empire_chatbot_root[data-view="home"] .ec7_chat_footer { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
}
@media (max-width: 350px) {
  #ec7_empire_chatbot_root .ec7_chat_header { padding-left: 14px; padding-right: 10px; }
  #ec7_empire_chatbot_root .ec7_chat_avatar { flex-basis: 34px; width: 34px; height: 34px; font-size: 23px; }
  #ec7_empire_chatbot_root .ec7_home { padding-left: 18px; padding-right: 18px; }
  #ec7_empire_chatbot_root .ec7_welcome_text { font-size: 17px; }
  #ec7_empire_chatbot_root .ec7_chat_title { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  #ec7_empire_chatbot_root *, #ec7_empire_chatbot_root *::before, #ec7_empire_chatbot_root *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
