/* Empire Shop Experience v0.6.1 — scoped additive enhancements. */
:root { --em61-bg: #11171c; --em61-panel: #1b2229; --em61-border: #37444d; --em61-text: #f5f8fb; --em61-muted: #aab6c0; --em61-cyan: #32d1e9; --em61-orange: #ff8126; }
.em61-active .em61-volume, .em61-active .em61-shipping-note, .em61-active .em61-refine {font-family: 'IBM Plex Sans','Barlow',Arial,sans-serif; box-sizing:border-box}
.em61-active .em61-volume *, .em61-active .em61-shipping-note *, .em61-active .em61-refine * {box-sizing:border-box}
.em61-volume { margin: 15px 0 22px; padding: 17px; border: 1px solid #49555e; border-top: 3px solid var(--em61-cyan); border-radius: 5px; background: linear-gradient(145deg,#19252d,#13191e); color:var(--em61-text); }
.em61-volume h3 {margin:0 0 6px;color:var(--em61-text)!important;font-size:15px!important;font-weight:900;letter-spacing:.055em;line-height:1.3}
.em61-pack-value {font-size:13px!important;color:var(--em61-cyan)!important;font-weight:800;margin:6px 0 10px!important}
.em61-volume-hint {font-size:12px!important;color:var(--em61-muted)!important;line-height:1.5;margin:5px 0 12px!important}
.em61-volume-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:9px}
.em61-volume-tier {padding:10px 7px;text-align:left;min-height:81px;background:#0e1418;border:1px solid #4d5964;cursor:pointer;color:var(--em61-text);border-radius:3px;transition:border-color .15s,background .15s}
.em61-volume-tier:hover,.em61-volume-tier:focus-visible,.em61-volume-tier.em61-chosen {border-color:var(--em61-cyan);background:#12262c;outline:none}
.em61-volume-tier b,.em61-volume-tier strong,.em61-volume-tier small {display:block;line-height:1.4}
.em61-volume-tier b {color:var(--em61-cyan);font-size:11px;font-weight:900;letter-spacing:.04em}
.em61-volume-tier strong {color:#fff;font-size:13px;font-weight:800;margin:3px 0}
.em61-volume-tier small {font-size:11px;color:#b3e5bc}
.em61-shipping-note {display:flex;flex-direction:column;align-items:flex-start;gap:6px;border:1px solid #314d58;border-left:4px solid var(--em61-cyan);background:#121c22;color:var(--em61-text);padding:13px 15px;margin:14px 0;font-size:12px;line-height:1.5}
.em61-shipping-note strong{letter-spacing:.05em;font-size:12px;color:#eafcff}
.em61-shipping-note span{color:#b3bec6}
.em61-shipping-note a{font-size:11px!important;font-weight:900;color:var(--em61-cyan)!important;text-decoration:none!important;letter-spacing:.05em}
.em61-refine {margin:0 0 17px;display:flex;flex-wrap:wrap;gap:9px;align-items:center;padding:15px;background:#161d23;border:1px solid #36424d;color:var(--em61-text)}
.em61-refine h3 {width:100%;font-size:14px!important;margin:0 0 4px;font-weight:900;color:#fff!important;letter-spacing:.08em}
.em61-refine-input,.em61-refine-select {background:#0d1318;border:1px solid #53616e;color:#f5f8fb;padding:11px 13px;min-height:43px;border-radius:3px;font-size:13px;max-width:100%}
.em61-refine-input {flex:2 1 190px;min-width:130px}
.em61-refine-select {flex:1 1 145px}
.em61-refine-count {margin-left:auto;color:#8fd2df;font-size:10px;font-weight:900;white-space:nowrap;letter-spacing:.04em}
.em61-refine-empty {font-size:13px;color:#dde9ef;margin:14px 0}
.em61-active .em15-product-card[hidden]{display:none!important}
.em61-zoom {position:absolute;bottom:10px;right:10px;background:rgba(14,20,26,.93);border:1px solid #7b919e;color:#f7fcff;border-radius:3px;font-weight:800;font-size:11px;letter-spacing:.05em;padding:10px 13px;cursor:pointer;z-index:2}
.em61-active .em15-gallery-stage {position:relative}
.em61-zoom:hover,.em61-zoom:focus-visible {border-color:var(--em61-cyan);color:var(--em61-cyan)}
.em61-lightbox {position:fixed;inset:0;z-index:10990;background:rgba(5,8,12,.96);display:flex;align-items:center;justify-content:center;gap:13px;color:#fff;padding:50px 24px 35px}
.em61-lightbox[hidden] {display:none!important}
.em61-lightbox figure {max-width:min(85vw,1060px);width:100%;height:100%;margin:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px}
.em61-lightbox figure img {max-width:100%;max-height:calc(100% - 35px);object-fit:contain}
.em61-lightbox figcaption {font-size:11px;letter-spacing:.15em;color:#9eb3bc;text-align:center}
.em61-lightbox button {background:#151c21;color:#fff;border:1px solid #4e5e68;border-radius:3px;cursor:pointer;font-size:32px;min-width:48px;min-height:56px}
.em61-lightbox button:hover,.em61-lightbox button:focus-visible {color:var(--em61-cyan);border-color:var(--em61-cyan)}
.em61-lightbox-close {position:absolute;top:17px;right:17px;min-height:42px!important;min-width:42px!important;font-size:27px!important}
body.em61-lightbox-open {overflow:hidden}
.em61-cart-chip {position:fixed;right:21px;bottom:23px;z-index:9955;background:#10232b;border:2px solid #49d1e7;color:#f3fcff;display:flex;align-items:center;gap:8px;border-radius:4px;box-shadow:0 8px 30px #0009;padding:12px 15px;font-size:13px;font-weight:900;letter-spacing:.05em;cursor:pointer}
.em61-cart-chip b {background:var(--em61-orange);border-radius:100px;color:#111;padding:1px 6px;font-size:12px;min-width:21px;text-align:center}
.em61-cart-chip:hover,.em61-cart-chip:focus-visible{background:#1d4250;outline:2px solid #92e9f5;outline-offset:2px}
.em61-backdrop {position:fixed;inset:0;background:#06090dc9;opacity:0;visibility:hidden;transition:opacity .18s,visibility .18s;z-index:10960}
.em61-drawer {position:fixed;top:0;bottom:0;right:0;z-index:10970;background:#11171c;color:#fff;width:min(100vw,470px);display:flex;flex-direction:column;box-shadow:-12px 0 44px #000a;transform:translateX(103%);transition:transform .24s ease;border-left:1px solid #304751;outline:none;font-family:'IBM Plex Sans','Barlow',Arial,sans-serif}
body.em61-cart-open {overflow:hidden}
body.em61-cart-open .em61-backdrop {visibility:visible;opacity:1}
body.em61-cart-open .em61-drawer {transform:translateX(0)}
.em61-drawer-head {padding:22px 24px 19px;background:#18222a;border-bottom:1px solid #35444f;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.em61-drawer-head small {font-weight:900;letter-spacing:.16em;font-size:10px;color:var(--em61-cyan)}
.em61-drawer-head h2 {color:#fff!important;margin:7px 0 0!important;font-size:27px!important;letter-spacing:.005em;font-weight:900}
.em61-drawer-head h2 span {color:var(--em61-orange)}
.em61-drawer-close {font-size:32px;line-height:1;color:#dae7eb;border:1px solid #4a5962;background:#111b21;cursor:pointer;border-radius:4px;padding:0;width:42px;height:42px}
.em61-drawer-close:hover {background:#304853}
.em61-cart-items {flex:1;overflow-y:auto;overscroll-behavior:contain;padding:16px 20px}
.em61-message {padding:0 20px;min-height:0;color:var(--em61-cyan);font-size:12px}
.em61-message:not(:empty){padding-top:10px;padding-bottom:8px}
.em61-message.em61-error{color:#ffc1ba}
.em61-line {display:grid;grid-template-columns:80px minmax(0,1fr) auto;gap:12px;padding:14px 0;border-bottom:1px solid #32414a;align-items:start}
.em61-line-image {display:flex;align-items:center;justify-content:center;background:#f1f1ed;border-radius:3px;width:80px;height:91px;color:#1e2932;font-size:9px;font-weight:900;text-decoration:none!important}
.em61-line-image img {width:100%;height:100%;object-fit:contain}
.em61-line-name {display:block!important;color:#fff!important;font-size:14px!important;font-weight:900;line-height:1.3;text-decoration:none!important}
.em61-line-option {display:block;color:#a7b8bf;font-size:11px;line-height:1.35;margin:2px 0}
.em61-line-total{font-size:13px;font-weight:900;color:#ffa45c;text-align:right;white-space:nowrap}
.em61-line-controls{display:flex;align-items:center;gap:0;margin-top:9px;flex-wrap:wrap}
.em61-qty-button{height:32px;width:29px;background:#283841;color:#fff;border:1px solid #4d656f;cursor:pointer;font-size:17px;padding:0}
.em61-line-qty{height:32px!important;width:43px!important;min-width:0!important;border:1px solid #4d656f!important;background:#141d22!important;color:#fff!important;border-radius:0!important;text-align:center;font-weight:800;padding:0!important;appearance:textfield;-moz-appearance:textfield}
.em61-line-qty::-webkit-inner-spin-button,.em61-line-qty::-webkit-outer-spin-button {-webkit-appearance:none;margin:0}
.em61-remove{border:0;background:none;color:#efad9b;font-size:10px;font-weight:900;cursor:pointer;margin-left:8px;padding:6px 3px;letter-spacing:.05em}
.em61-remove:hover{text-decoration:underline}
.em61-drawer-foot {padding:18px 20px 21px;background:#17232c;border-top:1px solid #3b515d}
.em61-subtotal {display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.em61-subtotal>span{font-weight:900;font-size:14px;letter-spacing:.035em}
.em61-subtotal small {display:block;font-size:10px;color:#c4cbd0;font-weight:400;letter-spacing:0;margin-top:3px;max-width:230px}
.em61-subtotal>strong {font-size:23px;color:#fff;white-space:nowrap}
.em61-drawer-foot p{font-size:11px;line-height:1.45;color:#b4c4cc;margin:11px 0 13px}
.em61-cart-review,.em61-cart-checkout{display:block;padding:13px 12px;text-align:center;text-decoration:none!important;font-weight:900;letter-spacing:.04em;font-size:12px;line-height:1.3;border-radius:3px;margin-top:8px}
.em61-cart-review{background:var(--em61-cyan);color:#0e151b!important}
.em61-cart-checkout{background:var(--em61-orange);color:#0e151b!important}
.em61-cart-checkout[hidden]{display:none!important}
.em61-cart-review:hover{background:#7de2f1}
.em61-cart-checkout:hover{background:#ffb36a}
.em61-empty{text-align:center;padding:60px 15px;color:#fff}
.em61-empty strong{font-size:18px;font-weight:900}
.em61-empty p{font-size:13px;line-height:1.5;color:#afc0c8;max-width:275px;margin:13px auto}
.em61-empty-link{font-weight:900;color:var(--em61-cyan)!important}
.em61-error-text {color:#ffb0a1;font-size:13px;padding:20px}
.em61-sticky-buy {display:none}
.em61-autocomplete {position:absolute;top:calc(100% + 4px);left:0;width:max(100%,290px);max-width:min(460px,90vw);z-index:10955;background:#101a21;color:white;border:1px solid #4b6b79;box-shadow:0 13px 34px #0009;padding:4px;font-family:'IBM Plex Sans',Arial,sans-serif}
.em61-autocomplete[hidden]{display:none!important}
.em61-search-item {display:flex;align-items:center;gap:10px;padding:8px 10px;min-height:60px;text-decoration:none!important;color:#f4faff!important;border-bottom:1px solid #31434e}
.em61-search-item:hover,.em61-search-item:focus-visible{background:#1b3b46}
.em61-search-item img {width:52px;height:48px;object-fit:contain;background:#fff;flex:none;border-radius:2px}
.em61-search-item span{min-width:0}
.em61-search-item strong{display:block;font-size:12px;line-height:1.3;font-weight:800}
.em61-search-item small{display:block;font-size:12px;color:var(--em61-cyan);margin-top:4px}
.em61-search-full{display:block;text-align:center;text-decoration:none!important;font-size:11px;font-weight:900;color:#0e1318!important;background:var(--em61-cyan);padding:11px;margin:4px 1px 1px}
.em61-search-none{padding:15px 10px;color:#cedde3;font-size:12px}
@media(max-width:800px){.em61-refine-count{width:100%;margin-left:0}.em61-refine h3{margin-bottom:0}}
@media(max-width:720px){
 .em61-cart-chip{bottom:78px;right:12px;padding:9px 12px;font-size:11px;box-shadow:0 4px 14px #0009}
 .em61-sticky-buy{position:fixed;bottom:0;left:0;right:0;z-index:9954;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:10px 13px calc(10px + env(safe-area-inset-bottom));background:#111c24;border-top:2px solid var(--em61-cyan);box-shadow:0 -4px 25px #0007;transform:translateY(120%);transition:transform .18s;visibility:hidden}
 .em61-sticky-buy.em61-visible{transform:translateY(0);visibility:visible}
 .em61-sticky-name{flex:1;font-weight:800;font-size:11px;line-height:1.25;max-height:32px;overflow:hidden;color:#ebf8ff}
 .em61-sticky-action{flex:0 0 auto;border:0;border-radius:3px;padding:12px 13px;background:var(--em61-orange);font-size:12px;font-weight:900;color:#121212;cursor:pointer}
 .em61-lightbox{padding:55px 3px 35px;gap:1px}
 .em61-lightbox figure{max-width:calc(100vw - 102px)}
 .em61-lightbox button{min-width:38px;min-height:48px;font-size:27px}
 .em61-drawer{width:100vw}
 .em61-drawer-head{padding:15px 16px}
 .em61-cart-items{padding:8px 13px}
 .em61-line{grid-template-columns:65px minmax(0,1fr) auto;gap:9px}
 .em61-line-image{width:65px;height:81px}
 .em61-line-name{font-size:12px!important}
 .em61-line-total{font-size:11px}
 .em61-drawer-foot{padding:12px 15px calc(15px + env(safe-area-inset-bottom))}
 .em61-volume{padding:13px}
 .em61-volume-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){.em61-drawer,.em61-backdrop,.em61-sticky-buy{transition:none!important}}

/* Optional authenticated whole-order reorder inside the cart drawer. */
.em61-reorder-toggle {width:100%;background:transparent;border:1px solid #52788a;color:#b0ecf4;font-size:11px;font-weight:900;letter-spacing:.05em;padding:11px;margin:0 0 7px;cursor:pointer;border-radius:3px}
.em61-reorder-toggle[hidden],.em61-reorders[hidden]{display:none!important}
.em61-reorder-toggle:hover{border-color:#6bdaec;background:#223740}
.em61-reorders{max-height:250px;overflow:auto;border:1px solid #46545c;background:#111a1f;padding:7px 10px;margin:0 0 8px}
.em61-reorders>p{font-size:11px!important;color:#b7c9d1!important;margin:4px 0 12px!important;line-height:1.45}
.em61-order{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:9px 0;border-top:1px solid #354751}
.em61-order strong{display:block;font-size:12px;color:#fff;font-weight:900}
.em61-order small{display:block;font-size:11px;color:#9bb0bb;line-height:1.3;margin-top:2px}
.em61-order-button{flex:0 0 auto;border:1px solid #45d7eb;background:#164450;color:#fff;font-size:10px;font-weight:900;letter-spacing:.04em;padding:9px;cursor:pointer;border-radius:3px}
.em61-order-button:disabled{opacity:.65;cursor:not-allowed}
