/* "Ask Magnum" chat helper, preview (15 Nov 2026). Website colours; no inline styles (the site's CSP). */
.amx{--a-brown:#804922;--a-ink:#26170f;--a-soft:#6d5a4c;--a-line:#e4ddd2;--a-paper:#fffdf9;--a-wall:#f7f5f1;
  --a-gold:#a8834a;--a-gold-hi:#e2c27d;--a-maroon:#760607;--a-green:#0f7a3e;
  font:400 15px/1.45 "Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--a-ink)}
.amx *{box-sizing:border-box}
.amx button{font:inherit;color:inherit;cursor:pointer}

/* the round button */
.amx-fab{position:fixed;right:20px;bottom:20px;z-index:60;display:flex;align-items:center;gap:10px;height:56px;padding:0 20px 0 16px;
  border:0;border-radius:999px;background:var(--a-brown);color:#fff!important;box-shadow:0 10px 30px rgb(38 23 15 / .28);
  transition:transform .2s ease,opacity .2s ease}
.amx-fab:hover{transform:translateY(-2px)}
.amx-fab svg{width:24px;height:24px;flex:none}
.amx-fab b{font-weight:700;font-size:15px;letter-spacing:.01em}
.amx-fab .amx-dot{position:absolute;top:8px;left:36px;width:10px;height:10px;border-radius:50%;background:#3ccf6e;border:2px solid var(--a-brown)}
.amx.open .amx-fab{opacity:0;pointer-events:none;transform:scale(.8)}

/* the mascot (five options, preview) */
.amx-mascot{display:block;width:40px;height:40px;flex:none;border-radius:50%;filter:drop-shadow(0 2px 4px rgb(0 0 0 / .18))}
.amx-mascot svg,.amx-avatar.has-mascot svg{display:block;width:100%;height:100%}
.amx-fab.has-mascot{padding-left:8px}
.amx-avatar.has-mascot{background:none;overflow:visible}
.amx-eye{transform-box:fill-box;transform-origin:center;animation:amx-wink 4.5s infinite}
.amx-eye+.amx-eye{animation-delay:.02s}
@keyframes amx-wink{0%,93%,100%{transform:scaleY(1)}96%{transform:scaleY(.1)}}
.amx-fab.has-mascot:hover .amx-mascot{animation:amx-hop .5s ease}
@keyframes amx-hop{40%{transform:translateY(-4px) rotate(-6deg)}}
.amx-swm{color:var(--a-brown);font-weight:600}

/* the small hello bubble */
.amx-hint{position:fixed;right:20px;bottom:88px;z-index:60;max-width:260px;padding:12px 34px 12px 14px;border-radius:14px 14px 4px 14px;
  background:var(--a-paper);border:1px solid var(--a-line);box-shadow:0 10px 30px rgb(38 23 15 / .16);font-size:14px;
  animation:amx-pop .35s ease both}
.amx-hint[hidden]{display:none}
.amx-hint button{position:absolute;top:4px;right:4px;width:28px;height:28px;border:0;background:none;color:var(--a-soft);font-size:18px;line-height:1}
.amx-hint p{margin:0}
.amx-hint p+p{margin-top:2px;color:var(--a-soft);font-size:13px}

/* the window */
.amx-win{position:fixed;right:20px;bottom:20px;z-index:61;display:flex;flex-direction:column;width:390px;height:min(640px,calc(100vh - 40px));
  background:var(--a-wall);border:1px solid var(--a-line);border-radius:18px;overflow:hidden;box-shadow:0 24px 60px rgb(38 23 15 / .3);
  transform-origin:bottom right;animation:amx-pop .25s ease both}
.amx-win[hidden]{display:none}
@keyframes amx-pop{from{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:none}}
.amx-head{display:flex;align-items:center;gap:12px;padding:14px 12px 14px 16px;background:var(--a-brown);color:#fff}
.amx-avatar{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:50%;background:var(--a-paper);
  font:700 20px "Libre Baskerville",Georgia,serif;color:var(--a-maroon)}
.amx-title{flex:1;min-width:0}
.amx-title b{display:block;font:700 16px "Libre Baskerville",Georgia,serif}
.amx-title span{display:flex;align-items:center;gap:6px;font-size:12px;opacity:.9}
.amx-title span::before{content:"";width:8px;height:8px;border-radius:50%;background:#3ccf6e}
.amx-x{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:10px;background:rgb(255 255 255 / .12);color:#fff!important}
.amx-x svg{width:20px;height:20px}
.amx-free{margin:0;padding:6px 14px;background:#f3ead9;border-bottom:1px solid var(--a-line);font-size:12px;color:var(--a-soft);text-align:center}

.amx-sw{display:inline-flex;align-items:center;gap:6px;margin-top:2px}.amx-sw b{color:var(--a-ink)}
.amx-sw button{padding:1px 8px;border:1px solid var(--a-gold);border-radius:999px;background:var(--a-paper);font-size:12px;color:var(--a-brown)!important}
.amx-log{flex:1;overflow-y:auto;padding:16px 14px 8px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
.amx-log>*{flex-shrink:0}
.amx-msg{max-width:86%;padding:10px 13px;border-radius:16px;white-space:pre-line;word-wrap:break-word;animation:amx-in .25s ease both}
@keyframes amx-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.amx-bot{align-self:flex-start;background:var(--a-paper);border:1px solid var(--a-line);border-bottom-left-radius:4px}
.amx-me{align-self:flex-end;background:var(--a-brown);color:#fff;border-bottom-right-radius:4px}
.amx-msg a{color:var(--a-maroon);font-weight:600}
.amx-msg b{font-weight:700}
.amx-note{align-self:stretch;max-width:none;padding:10px 12px;border:1px dashed var(--a-gold);border-radius:12px;background:#fbf4e6;font-size:13px;color:var(--a-soft)}
.amx-note b{color:var(--a-ink)}
.amx-typing{align-self:flex-start;display:flex;gap:4px;padding:14px 16px;background:var(--a-paper);border:1px solid var(--a-line);border-radius:16px;border-bottom-left-radius:4px}
.amx-typing i{width:7px;height:7px;border-radius:50%;background:var(--a-gold);animation:amx-blink 1s infinite}
.amx-typing i:nth-child(2){animation-delay:.15s}.amx-typing i:nth-child(3){animation-delay:.3s}
@keyframes amx-blink{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}

/* quick answers */
.amx-chips{display:flex;flex-wrap:wrap;gap:8px;align-self:stretch;animation:amx-in .25s ease both}
.amx-chip{min-height:36px;padding:6px 14px;border:1px solid var(--a-brown);border-radius:999px;background:var(--a-paper);color:var(--a-brown)!important;font-weight:600;font-size:14px;text-align:left}
.amx-chip:hover{background:#f6ece2}
.amx-chip.wa{border-color:var(--a-green);background:var(--a-green);color:#fff!important;display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.amx-chip.wa svg{width:16px;height:16px}
a.amx-chip{display:inline-flex;align-items:center;text-decoration:none}

/* product and brand cards */
.amx-cards{display:flex;gap:10px;overflow-x:auto;align-self:stretch;padding:2px 2px 6px;scroll-snap-type:x mandatory;animation:amx-in .25s ease both}
.amx-card{flex:0 0 150px;scroll-snap-align:start;display:flex;flex-direction:column;background:var(--a-paper);border:1px solid var(--a-line);border-radius:14px;overflow:hidden;color:inherit!important;text-decoration:none}
.amx-card:hover{border-color:var(--a-gold)}
.amx-card .amx-ph{position:relative;display:grid;place-items:center;height:110px;background:#fff;padding:8px;overflow:hidden}
.amx-card .amx-ph img{position:static;display:block;width:auto;height:auto;max-width:100%;max-height:94px;object-fit:contain;transform:none}
.amx-card .amx-tx{padding:8px 10px 10px;border-top:1px solid var(--a-line)}
.amx-card .amx-tx b{display:block;font-size:13px;line-height:1.3}
.amx-card .amx-tx span{display:block;margin-top:2px;font-size:12px;color:var(--a-soft)}
.amx-card.brand .amx-ph{height:70px}.amx-card.brand .amx-ph img{max-height:54px}
.amx-card.brand{flex-basis:130px}

/* the done card */
.amx-done{align-self:stretch;padding:12px 14px;border-radius:14px;background:var(--a-paper);border:1px solid var(--a-line);border-left:4px solid var(--a-green);animation:amx-in .25s ease both}
.amx-done b{display:block;margin-bottom:6px;color:var(--a-green)}
.amx-done dl{display:grid;grid-template-columns:auto 1fr;gap:3px 12px;margin:0;font-size:14px}
.amx-done dt{color:var(--a-soft)}
.amx-done dd{margin:0;font-weight:600}

/* typing box */
.amx-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--a-line);background:var(--a-paper)}
.amx-form input{flex:1;min-width:0;height:44px;padding:0 14px;border:1px solid var(--a-line);border-radius:999px;background:var(--a-wall);font:inherit;font-size:16px;color:var(--a-ink)}
.amx-form input:focus{outline:2px solid var(--a-gold-hi);border-color:var(--a-gold)}
.amx-send{display:grid;place-items:center;width:44px;height:44px;flex:none;border:0;border-radius:50%;background:var(--a-brown);color:#fff!important}
.amx-send svg{width:20px;height:20px}
.amx-foot{margin:0;padding:0 14px 10px;background:var(--a-paper);font-size:11px;color:var(--a-soft);text-align:center}

/* phones: a smaller round button, and the window fills the screen */
@media (max-width:560px){
  .amx-fab{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));width:56px;padding:0;justify-content:center}
  .amx-fab b{display:none}
  .amx-fab .amx-dot{left:auto;right:10px}
  .amx-fab.has-mascot{width:60px;height:60px;padding:0}
  .amx-fab.has-mascot .amx-mascot{width:48px;height:48px}
  .amx-hint{right:16px;bottom:calc(84px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - 100px)}
  .amx-win{inset:0;width:auto;height:auto;border:0;border-radius:0;animation:none}
  .amx-head{padding-top:calc(14px + env(safe-area-inset-top,0px))}
  .amx-form{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
  .amx-foot{display:none}
  .amx-msg{max-width:90%}
}

/* ---- four lighter button styles (preview, 15 Nov 2026) ---- */
.amx-s1 .amx-fab,.amx-s3 .amx-fab,.amx-s4 .amx-fab{width:auto;height:auto;padding:0;gap:0;background:none;box-shadow:none;border-radius:50%}
/* 1: the mascot alone, like a sticker, with a short "Hi!" bubble */
.amx-s1 .amx-fab .amx-mascot{width:72px;height:72px;border:3px solid #fff;box-shadow:0 10px 26px rgb(38 23 15 / .28);filter:none;animation:amx-bob 6s ease-in-out infinite}
@keyframes amx-bob{0%,80%,100%{transform:none}86%{transform:translateY(-6px) rotate(-5deg)}92%{transform:rotate(3deg)}}
.amx-tip{position:absolute;right:calc(100% + 10px);top:50%;transform:translate(8px,-50%);opacity:0;white-space:nowrap;padding:8px 14px;border-radius:999px;background:var(--a-ink);color:#fff;font-size:14px;font-weight:600;transition:opacity .2s,transform .2s;pointer-events:none}
.amx-fab:hover .amx-tip,.amx-fab:focus-visible .amx-tip{opacity:1;transform:translate(0,-50%)}
.amx-say{position:fixed;right:84px;bottom:78px;z-index:60;padding:9px 15px;border-radius:16px 16px 4px 16px;background:var(--a-paper);border:1px solid var(--a-line);box-shadow:0 8px 22px rgb(38 23 15 / .16);font-weight:600;font-size:15px;cursor:pointer;animation:amx-pop .3s ease both}
.amx-say[hidden],.amx-qs[hidden],.amx-none{display:none}
/* 2: a light cream pill that shrinks to the mascot after a few seconds */
.amx-s2 .amx-fab{height:56px;padding:0 18px 0 6px;gap:10px;background:var(--a-paper);color:var(--a-ink)!important;border:1px solid var(--a-gold-hi);box-shadow:0 8px 24px rgb(38 23 15 / .16);transition:padding .35s ease,gap .35s ease}
.amx-s2 .amx-fab .amx-mascot{width:44px;height:44px}
.amx-s2 .amx-txt{display:flex;flex-direction:column;max-width:200px;overflow:hidden;white-space:nowrap;line-height:1.25;text-align:left;transition:max-width .35s ease,opacity .25s ease}
.amx-s2 .amx-txt b{display:block;font:700 15px "Libre Baskerville",Georgia,serif;color:var(--a-brown)}
.amx-s2 .amx-txt small{font-size:12px;color:var(--a-soft)}
.amx-s2 .amx-fab.small{padding:0 5px;gap:0}
.amx-s2 .amx-fab.small .amx-txt{max-width:0;opacity:0}
.amx-s2 .amx-fab.small:hover{padding:0 18px 0 6px;gap:10px}
.amx-s2 .amx-fab.small:hover .amx-txt{max-width:200px;opacity:1}
/* 3: the mascot with three quick questions above it */
.amx-s3 .amx-fab .amx-mascot{width:64px;height:64px;border:3px solid var(--a-gold-hi);box-shadow:0 10px 24px rgb(38 23 15 / .24);filter:none}
.amx-qs{position:fixed;right:20px;bottom:98px;z-index:60;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.amx-qs .q{padding:9px 16px;border:1px solid var(--a-line);border-radius:18px 18px 4px 18px;background:var(--a-paper);box-shadow:0 6px 18px rgb(38 23 15 / .14);font-weight:600;font-size:14px;color:var(--a-brown)!important;animation:amx-pop .3s ease both}
.amx-qs .q:hover{border-color:var(--a-gold)}
.amx-qs .q:nth-child(3){animation-delay:.12s}.amx-qs .q:nth-child(4){animation-delay:.24s}
.amx-qs .qx{width:28px;height:28px;border:1px solid var(--a-line);border-radius:50%;background:var(--a-paper);color:var(--a-soft)!important;font-size:16px;line-height:1}
/* 4: just the mascot in a ring, with a soft gold pulse when it appears */
.amx-s4 .amx-fab .amx-mascot{width:60px;height:60px;border:3px solid var(--a-brown);box-shadow:0 8px 20px rgb(38 23 15 / .22);filter:none}
.amx-s4 .amx-fab::after{content:"";position:absolute;inset:-6px;border-radius:50%;border:2px solid var(--a-gold-hi);opacity:0;animation:amx-ring 1.8s ease-out 1s 3}
@keyframes amx-ring{0%{opacity:.9;transform:scale(.85)}100%{opacity:0;transform:scale(1.35)}}
@media (max-width:560px){
  .amx-s1 .amx-fab,.amx-s3 .amx-fab,.amx-s4 .amx-fab{width:auto;height:auto;padding:0}
  .amx-s1 .amx-fab .amx-mascot{width:64px;height:64px}
  .amx-s3 .amx-fab .amx-mascot{width:60px;height:60px}
  .amx-s4 .amx-fab .amx-mascot{width:56px;height:56px}
  .amx-s2 .amx-fab,.amx-s2 .amx-fab.small{width:auto;height:56px;padding:0 5px;gap:0}
  .amx-s2 .amx-txt{display:none}
  .amx-tip{display:none}
  .amx-say{right:76px;bottom:calc(68px + env(safe-area-inset-bottom,0px))}
  .amx-qs{right:16px;bottom:calc(88px + env(safe-area-inset-bottom,0px))}
}

/* ---- lighter window (owner, 15 Nov 2026: "don't want the chat window to look so bulky") ---- */
.amx{font-size:14px}
.amx-win{width:360px;height:min(540px,calc(100vh - 40px));border-radius:16px;box-shadow:0 14px 40px rgb(38 23 15 / .18)}
.amx-head{gap:10px;padding:10px 8px 10px 12px;background:var(--a-paper);color:var(--a-ink);border-bottom:1px solid var(--a-line)}
.amx-avatar{width:34px;height:34px}
.amx-title b{font-size:15px;color:var(--a-brown)}
.amx-title span{font-size:11.5px;color:var(--a-soft);opacity:1}
.amx-x{width:32px;height:32px;border-radius:8px;background:transparent;color:var(--a-soft)!important}
.amx-x:hover{background:var(--a-wall)}
.amx-x svg{width:18px;height:18px}
.amx-free{padding:3px 10px;font-size:11px;line-height:1.6;background:#faf3e6}
.amx-sw{margin:0;gap:4px}
.amx-sw button{padding:0 6px;font-size:11px}
.amx-log{gap:7px;padding:12px 12px 6px}
.amx-msg{max-width:88%;padding:8px 11px;border-radius:14px;line-height:1.4}
.amx-bot{border-color:transparent;box-shadow:0 1px 2px rgb(38 23 15 / .08)}
.amx-note{padding:7px 10px;font-size:12px}
.amx-typing{padding:10px 12px}
.amx-chips{gap:6px}
.amx-chip{min-height:30px;padding:4px 11px;font-size:13px;border-color:#d9c3a5}
.amx-card{flex-basis:126px;border-radius:12px}
.amx-card .amx-ph{height:88px}
.amx-card .amx-ph img{max-height:74px}
.amx-card .amx-tx{padding:6px 8px 8px}
.amx-card .amx-tx b{font-size:12px}
.amx-card .amx-tx span{font-size:11px}
.amx-done{padding:10px 12px}
.amx-done dl{font-size:13px}
.amx-form{gap:6px;padding:8px 10px}
.amx-form input{height:38px;padding:0 12px;font-size:14px}
.amx-send{width:38px;height:38px}
.amx-send svg{width:18px;height:18px}
.amx-foot{display:none}
@media (max-width:560px){
  .amx-win{width:auto;height:auto;border-radius:0}
  .amx-head{padding-top:calc(10px + env(safe-area-inset-top,0px))}
  .amx-form input{height:42px;font-size:16px}
  .amx-send{width:42px;height:42px}
}

.amx-free[hidden]{display:none}

/* phones: the page behind the open chat does not scroll; the chat's top and height follow the keyboard (chat.js fit) */
@media (max-width:560px){html.amx-lock,html.amx-lock body{overflow:hidden;overscroll-behavior:none}.amx-win{max-height:100%}.amx-log{overscroll-behavior:contain}}
