.temsc-add-wrap{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap;margin:5px 0}.temsc-add,.temsc-variant{border:1px solid #139a8d;border-radius:9px;background:transparent;color:inherit;padding:9px 12px;font:600 13px/1.4 system-ui;cursor:pointer}.temsc-add:hover,.temsc-add:focus-visible{background:#087f78;color:#fff}.temsc-fab{position:fixed;right:20px;bottom:22px;z-index:9990;border:1px solid #40d6c8;background:#0e2830;color:#e1fffa;box-shadow:0 9px 35px #0005;border-radius:999px;padding:12px 17px;font:700 15px system-ui;cursor:pointer}.temsc-fab span,.temsc-head [data-count]{background:#1b6a66;border-radius:999px;padding:4px 8px;color:#fff;font-size:12px}.temsc-drawer{--sc-bg:#101d26;--sc-panel:#1a2b36;--sc-text:#f0f7fa;--sc-muted:#a7bec7;--sc-accent:#67e3d0;position:fixed;inset:0 0 0 auto;width:min(440px,100%);height:100%;height:100dvh;max-width:100%;max-height:100%;margin:0;padding:0;border:0;border-left:1px solid #24545b;border-radius:18px 0 0 18px;background:var(--sc-bg);color:var(--sc-text);box-shadow:-20px 0 80px #0007;font:14px/1.5 system-ui;overflow:hidden}.temsc-drawer[open]{display:flex;flex-direction:column;animation:temsc-slide .28s cubic-bezier(.2,.7,.3,1)}.temsc-drawer::backdrop{background:#061018a8;backdrop-filter:blur(4px)}@keyframes temsc-slide{from{transform:translateX(100%);opacity:.65}to{transform:translateX(0);opacity:1}}.temsc-head{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #32505a;background:linear-gradient(120deg,#12383e,#101d26)}.temsc-head small{color:var(--sc-accent);letter-spacing:1.5px;font-weight:700;font-size:10px}.temsc-head h2{color:var(--sc-text);font:700 26px/1.2 system-ui;margin:8px 0 0}.temsc-close,.temsc-remove{background:transparent;border:0;color:var(--sc-muted);font:26px system-ui;cursor:pointer;line-height:1;padding:9px}.temsc-list{flex:1;overflow:auto;padding:14px 20px;min-height:0}.temsc-row{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #32505a}.temsc-thumb{width:72px;height:56px;object-fit:cover;border-radius:9px;background:var(--sc-panel);flex:none}.temsc-placeholder{display:grid;place-items:center;color:var(--sc-muted);font-size:24px}.temsc-info{flex:1;min-width:0}.temsc-info strong{display:block;color:var(--sc-text);overflow-wrap:anywhere}.temsc-info small,.temsc-bottom small{color:var(--sc-muted);font-size:12px}.temsc-prices{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:5px}.temsc-prices del{color:var(--sc-muted)}.temsc-prices b,.temsc-sale{color:var(--sc-accent)!important}.temsc-bottom{padding:18px 24px 24px;border-top:1px solid #32505a;overflow:auto;max-height:55%;box-shadow:0 -10px 28px #0002}.temsc-line{display:flex;justify-content:space-between;margin:5px 0;gap:12px}.temsc-saving{color:var(--sc-accent)}.temsc-grand{font-size:19px;font-weight:700;margin:12px 0;color:var(--sc-accent)}.temsc-pay{display:block;text-align:center;padding:13px 16px;border:0;border-radius:10px;margin:8px 0;color:#fff!important;font:700 14px system-ui;text-decoration:none!important;cursor:pointer}.temsc-pay[hidden],.temsc-toast[hidden]{display:none!important}.temsc-paypal{background:linear-gradient(120deg,#087f78,#08625f)}.temsc-payhip{background:#175ec6}.temsc-pay:hover{filter:brightness(1.12)}.temsc-msg{color:#f6cb8a;font-size:12px;margin:6px 0}.temsc-empty{color:var(--sc-muted);text-align:center;margin:36px 0}.temsc-toast{position:fixed;bottom:80px;right:20px;z-index:9999;background:#12383e;color:#fff;border:1px solid #37b9aa;padding:10px 16px;border-radius:12px;font:600 13px system-ui}.temsc-checkout{max-width:760px;margin:36px auto;padding:24px;line-height:1.6}.temsc-checkout form{display:grid;gap:12px;margin-top:24px}.temsc-checkout label{display:block}.temsc-checkout input:not([type=checkbox]){display:block;width:100%;max-width:100%;padding:10px;border:1px solid #7b9098;border-radius:8px}.temsc-checkout h1{font-size:clamp(24px,4vw,36px)}@media(prefers-color-scheme:light){.temsc-drawer{--sc-bg:#f5fafb;--sc-panel:#e1eded;--sc-text:#132e35;--sc-muted:#4c666d;--sc-accent:#087f78}.temsc-head{background:linear-gradient(120deg,#d2f2ef,#f5fafb)}.temsc-row,.temsc-bottom,.temsc-head{border-color:#c5d7d9}.temsc-msg{color:#805400}}@media(max-width:500px){.temsc-drawer{border-radius:0}.temsc-head,.temsc-bottom{padding:16px}.temsc-list{padding:8px 16px}.temsc-fab{right:14px;bottom:16px}}@media(prefers-reduced-motion:reduce){.temsc-drawer[open]{animation:none}.temsc-add,.temsc-pay{transition:none}}
.temsc-header-link{background:transparent;border:1px solid #139a8d;border-radius:9px;color:inherit;padding:8px 10px;cursor:pointer;font:600 13px system-ui}.temsc-header-link [data-count]{color:#fff;background:#087f78;padding:2px 6px;border-radius:20px}body.olam-dark-mode .temsc-drawer{--sc-bg:#101d26;--sc-panel:#1a2b36;--sc-text:#f0f7fa;--sc-muted:#a7bec7;--sc-accent:#67e3d0}body.olam-dark-mode .temsc-head{background:linear-gradient(120deg,#12383e,#101d26)}body.olam-dark-mode .temsc-row,body.olam-dark-mode .temsc-bottom,body.olam-dark-mode .temsc-head{border-color:#32505a}body.olam-dark-mode .temsc-msg{color:#f6cb8a}

/* v1.0.1 — Olam 5.4.4-tem.5.5: only External Products action groups. */
body .product-options:has(> .temsc-actions){float:none!important;display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px;width:100%!important;max-width:100%;min-width:0;white-space:normal!important;box-sizing:border-box}
body .product-options:has(> .temsc-actions) > .temsc-actions{flex:0 0 100%;order:1}
body .temsc-actions{display:grid!important;grid-template-columns:minmax(0,1fr);gap:7px;width:100%;max-width:100%;min-width:0;box-sizing:border-box;white-space:normal!important;margin:0;float:none;text-align:center;--sc-btn-outline:var(--temsc-add,#087f72);--sc-btn-soft:#eefaf7;--sc-btn-ink:var(--temsc-add-light,#087f72)}
body.olam-dark-mode .temsc-actions{--sc-btn-outline:var(--temsc-add-dark,#86f0df);--sc-btn-soft:#182f30;--sc-btn-ink:var(--temsc-add-dark,#86f0df)}
body .temsc-actions .temsc-add-wrap{display:grid!important;grid-template-columns:minmax(0,1fr);gap:6px;width:100%;max-width:100%;min-width:0;margin:0;box-sizing:border-box;white-space:normal!important}
body .temsc-actions a.temsc-buy.edd-submit.button,body .temsc-actions button.temsc-add,body.olam-dark-mode .section .temsc-actions a.temsc-buy.edd-submit.button,body.single-download .olam-mobile-buy-action .temsc-actions a.temsc-buy.edd-submit.button,body.single-download .sidebar .temsc-actions a.temsc-buy.edd-submit.button,body.olam-dark-mode.single-download .content-area .temsc-actions a.temsc-buy.edd-submit.button{display:flex!important;align-items:center;justify-content:center;gap:4px;box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:37px;height:auto!important;float:none!important;position:relative!important;inset:auto!important;margin:0!important;padding:8px 5px!important;border-radius:8px!important;font:650 12px/1.25 system-ui,sans-serif!important;text-align:center!important;text-transform:none!important;white-space:normal!important;overflow-wrap:anywhere;text-decoration:none!important;letter-spacing:0!important;box-shadow:none!important;transition:background .18s ease,box-shadow .18s ease,transform .18s ease}
body .temsc-actions a.temsc-buy.edd-submit.button,body.olam-dark-mode .section .temsc-actions a.temsc-buy.edd-submit.button,body.single-download .olam-mobile-buy-action .temsc-actions a.temsc-buy.edd-submit.button,body.single-download .sidebar .temsc-actions a.temsc-buy.edd-submit.button,body.olam-dark-mode.single-download .content-area .temsc-actions a.temsc-buy.edd-submit.button{background:var(--temsc-buy,#ffc400)!important;background-image:none!important;color:var(--temsc-buy-ink,#000)!important;border:1px solid var(--temsc-buy,#ffc400)!important}
body .temsc-actions button.temsc-add{background:transparent!important;color:var(--sc-btn-ink)!important;border:1px solid var(--sc-btn-outline)!important}
body .temsc-actions button.temsc-add:hover,body .temsc-actions button.temsc-add.is-added{background:var(--sc-btn-soft)!important;box-shadow:0 2px 8px #129a8020!important}
body .temsc-actions a.temsc-buy:hover{filter:brightness(.94);box-shadow:0 3px 10px #09887835!important}
body .temsc-actions :is(.temsc-buy,.temsc-add):focus-visible{outline:2px solid #13ad9c!important;outline-offset:2px}
body .temsc-actions :is(.temsc-buy,.temsc-add):active{transform:scale(.98)}
body .temsc-actions .temsc-add-icon{flex:0 0 auto;font-size:14px;line-height:1;color:inherit!important}
body .temsc-actions .temsc-add-label{min-width:0;white-space:normal;overflow-wrap:anywhere;color:inherit!important}
body .temsc-actions .temsc-variant{width:100%;min-width:0;max-width:100%;box-sizing:border-box;font-size:12px;white-space:normal;margin:0}
body:not(.olam-dark-mode) .temsc-drawer{--sc-bg:#f5fafb;--sc-panel:#e1eded;--sc-text:#132e35;--sc-muted:#4c666d;--sc-accent:#087f78}
body:not(.olam-dark-mode) .temsc-head{background:linear-gradient(120deg,#d2f2ef,#f5fafb)}
body:not(.olam-dark-mode) .temsc-row,body:not(.olam-dark-mode) .temsc-bottom,body:not(.olam-dark-mode) .temsc-head{border-color:#c5d7d9}
body:not(.olam-dark-mode) .temsc-msg{color:#805400}
@media(prefers-reduced-motion:reduce){body .temsc-actions :is(.temsc-buy,.temsc-add){transition:none!important;transform:none!important}}
/* Avoid the icon-only pseudo-element inherited from Olam's original buy button. */
body .temsc-actions a.temsc-buy.edd-submit.button::before,body .temsc-actions a.temsc-buy.edd-submit.button::after{content:none!important;display:none!important}
body .product-details:has(.temsc-actions) .product-name{min-height:calc(2lh + 15px)!important}

/* v1.0.2: Olam's transparent li overlay must not intercept Smart Cart. */
#header .shop-nav > li.temsc-header-item::before,#header .shop-nav > li.temsc-header-item::after{content:none!important;display:none!important;pointer-events:none!important}
#header .shop-nav > li.temsc-header-item{position:relative!important;overflow:visible!important;cursor:pointer}
#header .shop-nav > li.temsc-header-item > .temsc-header-link{position:relative!important;z-index:101!important;pointer-events:auto!important;display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:6px 10px!important;color:var(--temsc-header-ink,#fff)!important;background:var(--temsc-header,#123b3b)!important;border:1px solid #35c9b9!important;border-radius:10px!important;white-space:nowrap;box-sizing:border-box;cursor:pointer;line-height:1.2}
#header .temsc-header-link:hover{filter:brightness(1.1)}
.temsc-cart-icon{width:22px;height:22px;flex:0 0 22px;display:block;pointer-events:none;color:inherit}
#header .temsc-cart-icon{width:18px;height:18px;flex-basis:18px}
#header .temsc-header-link span{pointer-events:none}
body .temsc-fab{position:fixed!important;z-index:10020!important;right:18px!important;bottom:calc(84px + env(safe-area-inset-bottom,0px))!important;display:inline-flex!important;align-items:center;justify-content:center;gap:9px;min-height:54px;min-width:140px;padding:10px 14px!important;background:var(--temsc-floating,#08776d)!important;color:var(--temsc-floating-ink,#fff)!important;border:1px solid #65edda!important;box-shadow:0 7px 24px #052d2c70,0 0 0 3px #39d8c527;border-radius:16px!important;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease;font:700 14px/1.2 system-ui,sans-serif!important;box-sizing:border-box}
body .temsc-fab .temsc-fab-label{background:transparent!important;padding:0!important;border-radius:0!important;color:var(--temsc-floating-ink,#fff)!important;font:inherit!important}
body .temsc-fab [data-count],#header .temsc-header-link [data-count]{display:grid;place-items:center;min-width:24px;min-height:24px;box-sizing:border-box;padding:2px 5px!important;border-radius:50%;background:var(--temsc-count,#ddfff6)!important;color:var(--temsc-count-ink,#000)!important;font:800 12px/1 system-ui!important}
body .temsc-fab:hover{transform:translateY(-2px);box-shadow:0 8px 28px #052d2c80,0 0 0 4px #39d8c54a}
body .temsc-fab:focus-visible,#header .temsc-header-link:focus-visible,.temsc-sound:focus-visible{outline:3px solid #69f1dc!important;outline-offset:3px}
.temsc-head-controls{display:flex;align-items:center;gap:5px;flex:none}.temsc-sound{background:transparent;border:1px solid #328d85;border-radius:8px;color:var(--sc-text);font:700 19px/1 system-ui;cursor:pointer;padding:8px;min-width:38px;min-height:38px}.temsc-sound[aria-pressed=false]{opacity:.55;text-decoration:line-through}.temsc-toast{bottom:calc(150px + env(safe-area-inset-bottom,0px));z-index:10021}
.temsc-fab.temsc-pulse{animation:temsc-fab-pulse .55s ease-out}@keyframes temsc-fab-pulse{0%,100%{transform:scale(1)}40%{transform:scale(1.07);box-shadow:0 0 0 8px #4af4c640}}
@media(max-width:500px){body .temsc-fab{right:14px!important;bottom:calc(78px + env(safe-area-inset-bottom,0px))!important;min-height:52px}.temsc-toast{bottom:calc(142px + env(safe-area-inset-bottom,0px));right:14px}}
@media(prefers-reduced-motion:reduce){body .temsc-fab{animation:none!important;transition:none!important;transform:none!important}}

/* 1.0.4: only Olam's legacy quick purchase links, never the search, ownership badge or downloads. */
body.temsc-hide-legacy .product-options > a[href*="edd_action=add_to_cart"],
body.temsc-hide-legacy .product-options > a.cart-added,
body.temsc-hide-legacy .product-options > a:has(> i.demo-icons.icon-download){display:none!important;}

/* v1.0.6: below Olam's existing .scroll-top (bottom:100px), only when nonempty. */
body .temsc-fab{right:var(--temsc-fab-right,18px)!important;bottom:calc(16px + env(safe-area-inset-bottom,0px))!important}
body .temsc-fab[hidden]{display:none!important}
/* v1.2.5: keep notices clear of the left support widget and right cart. */
body .temsc-toast{right:auto;left:50%;top:auto;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:max-content;max-width:min(420px,calc(100% - 32px));box-sizing:border-box;pointer-events:none;text-align:center;white-space:normal;overflow-wrap:anywhere;box-shadow:0 8px 24px #0003}
@media(max-width:500px){body .temsc-fab{right:var(--temsc-fab-right,14px)!important;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important}}
@media(max-width:900px){body .temsc-toast{top:calc(76px + env(safe-area-inset-top,0px));bottom:auto;max-width:calc(100% - 32px)}body.admin-bar .temsc-toast{top:calc(122px + env(safe-area-inset-top,0px))}}

/* 1.0.7: return to the current catalog without clearing selections. */
body .temsc-drawer .temsc-continue{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;box-sizing:border-box;min-height:44px;margin:10px 0;padding:10px 12px;border:1px solid var(--sc-accent);border-radius:10px;background:transparent;color:var(--sc-accent);font:650 14px/1.4 system-ui,sans-serif;cursor:pointer;text-align:center;text-transform:none;letter-spacing:normal;transition:background .18s,color .18s,transform .18s}
body .temsc-drawer .temsc-continue:hover{background:var(--sc-panel);color:var(--sc-text)}
body .temsc-drawer .temsc-continue:active{transform:scale(.985)}
body .temsc-drawer .temsc-continue:focus-visible{outline:2px solid var(--sc-accent);outline-offset:2px}
body .temsc-drawer .temsc-continue svg{flex:none}
@media(prefers-reduced-motion:reduce){body .temsc-drawer .temsc-continue{transition:none;transform:none}}

/* 1.0.8: persistent state and independent confirmation color. */
body .temsc-add[data-id].is-added,body .temsc-actions button.temsc-add.is-added,body .temsc-actions button.temsc-add.is-added:hover{background:var(--temsc-added,#087f72)!important;color:var(--temsc-added-ink,#ffffff)!important;border-color:var(--temsc-added,#087f72)!important;box-shadow:none!important}
body .temsc-add[data-id].is-added .temsc-add-icon,body .temsc-add[data-id].is-added .temsc-add-label{color:inherit!important}
body .temsc-add[data-id].is-added:hover{filter:brightness(1.06);cursor:pointer}
body .temsc-add[data-id].is-added:focus-visible{outline:2px solid var(--temsc-added,#087f72);outline-offset:2px}

/* v1.2.1 — verified entitlements and payment review. */
.temsc-acquired{padding:14px;border:1px solid var(--sc-accent);background:var(--sc-panel);border-radius:13px;margin:6px 0 16px;color:var(--sc-text)}.temsc-success-title{display:block;font-size:17px;color:var(--sc-accent)}.temsc-acquired p{font-size:13px;margin:4px 0 8px;color:var(--sc-muted)}.temsc-acquired .temsc-row:last-of-type{border-bottom:0}.temsc-info .temsc-state-owned{color:var(--sc-accent);font-weight:650}.temsc-info .temsc-state-pending,.temsc-info .temsc-state-rejected{color:#946000;font-weight:650}body.olam-dark-mode .temsc-info .temsc-state-pending,body.olam-dark-mode .temsc-info .temsc-state-rejected{color:#f6cb8a}.temsc-history{display:block;text-align:center;padding:11px;background:#087f72;border-radius:9px;color:#fff!important;text-decoration:none!important;font-weight:650;margin:10px 0 4px}.temsc-dismiss{display:block;margin:6px auto 0;color:var(--sc-muted);background:transparent;border:0;text-decoration:underline;cursor:pointer;font:12px system-ui}body .temsc-add.is-owned{opacity:.8;cursor:default!important}body .temsc-add.is-pending{border-style:dashed!important}body .temsc-buy[aria-disabled=true]{opacity:.65;cursor:default!important;pointer-events:none} 

/* Guest account notice — matches External Products v1.3.5. */
.temsc-auth-dialog{--auth-bg:#fff;--auth-ink:#17343c;--auth-muted:#48636a;--auth-accent:#08776c;--auth-line:#cce0df;--auth-tint:#eef7f5;position:fixed;inset:0;margin:auto;padding:0;width:min(440px,calc(100% - 32px));max-height:calc(100% - 32px);overflow:auto;border:1px solid var(--auth-line);border-radius:20px;background:var(--auth-bg);color:var(--auth-ink);box-shadow:0 24px 80px #061b2855;font:inherit;line-height:1.5;z-index:99999}
.temsc-auth-dialog:not([open]){display:none}
.temsc-auth-dialog::backdrop{background:rgba(7,23,32,.65);backdrop-filter:blur(4px)}
.temsc-auth-dialog .temsc-auth-content{position:relative;padding:32px;text-align:center}
.temsc-auth-dialog .temsc-auth-close{position:absolute;right:12px;top:12px;width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--auth-tint);color:var(--auth-ink);font:inherit;font-size:24px;cursor:pointer;padding:0;line-height:1}
.temsc-auth-dialog .temsc-auth-symbol{width:64px;height:64px;display:grid;place-items:center;margin:0 auto 14px;border-radius:20px;background:var(--auth-tint);color:var(--auth-accent)}
.temsc-auth-dialog .temsc-auth-eyebrow{font-size:10px;letter-spacing:.13em;font-weight:800;color:var(--auth-accent)}
.temsc-auth-dialog h2{margin:10px 0 8px;font-size:clamp(23px,5vw,30px);font-weight:750;line-height:1.2;color:var(--auth-ink)}
.temsc-auth-dialog p{color:var(--auth-muted);font-size:14px;line-height:1.55;margin:8px 0 16px}
.temsc-auth-dialog .temsc-auth-selection{display:grid;gap:3px;text-align:left;background:var(--auth-tint);border:1px solid var(--auth-line);border-radius:12px;padding:13px 15px;margin:18px 0;color:var(--auth-ink);overflow-wrap:anywhere}
.temsc-auth-dialog .temsc-auth-selection>span:first-child{color:var(--auth-muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.temsc-auth-dialog .temsc-auth-selection strong{font-size:15px}
.temsc-auth-dialog .temsc-auth-price{font-size:14px;font-weight:800;color:var(--auth-accent)}
.temsc-auth-dialog .temsc-auth-actions{display:grid;gap:9px}
.temsc-auth-dialog .temsc-auth-login,.temsc-auth-dialog .temsc-auth-register,.temsc-auth-dialog .temsc-auth-later{display:block;width:100%;min-height:44px;padding:12px 14px;border:1px solid var(--auth-accent);border-radius:9px;font:inherit;font-size:14px;font-weight:700;text-align:center;text-decoration:none;cursor:pointer}
.temsc-auth-dialog .temsc-auth-login{background:#08776c;color:#fff}
.temsc-auth-dialog .temsc-auth-login span{float:right}
.temsc-auth-dialog .temsc-auth-register{background:transparent;color:var(--auth-accent)}
.temsc-auth-dialog .temsc-auth-later{background:transparent;color:var(--auth-muted);border-color:transparent;font-weight:500}
.temsc-auth-dialog .temsc-auth-foot{font-size:11px;margin:8px 0 0}

body.olam-dark-mode .temsc-auth-dialog{--auth-bg:#17262e;--auth-ink:#eef8f7;--auth-muted:#b6cbce;--auth-accent:#74dfcf;--auth-line:#39535b;--auth-tint:#213941}
@media(max-width:480px){.temsc-auth-dialog .temsc-auth-content{padding:24px 19px}.temsc-auth-dialog .temsc-auth-symbol{width:54px;height:54px}}

.temsc-auth-dialog,.temsc-auth-dialog *{box-sizing:border-box}.temsc-auth-dialog :focus-visible{outline:3px solid var(--auth-accent);outline-offset:3px}.temsc-auth-dialog a:hover,.temsc-auth-dialog button:hover{filter:brightness(.94)}
