.tppb-wheel-entry{position:fixed;right:20px;bottom:96px;z-index:990;pointer-events:none}.tppb-wheel-entry button{pointer-events:auto;border:0;border-radius:999px;padding:12px 18px;background:#101a30;color:#fff;box-shadow:0 12px 32px #0d183050;font:700 14px/1.2 inherit;cursor:pointer}.tppb-wheel-entry button span{color:#ffd46a;margin-right:6px}.tppb-wheel-overlay[hidden]{display:none!important}.tppb-wheel-overlay{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;box-sizing:border-box;padding:20px;height:100%;height:100dvh;min-width:0;min-height:0}.tppb-wheel-backdrop{position:absolute;inset:0;background:#0b1630b8;backdrop-filter:blur(5px)}body.tppb-wheel-open{overflow:hidden}.tppb-wheel-dialog{position:relative;box-sizing:border-box;width:100%;max-width:760px;min-width:0;min-height:0;max-height:min(calc(100vh - 40px),820px);max-height:min(calc(100dvh - 40px),820px);overflow:auto;overscroll-behavior:contain;border-radius:28px;background:#fff;padding:28px;box-shadow:0 30px 80px #08112466;text-align:center;color:#142138}.tppb-wheel-close{position:absolute;top:16px;right:16px;width:38px;height:38px;border:0;border-radius:50%;background:#f1f4f9;color:#263551;font-size:26px;line-height:1;cursor:pointer}.tppb-wheel-dialog__intro>span,.tppb-wheel-card__eyebrow{display:block;color:#f40546;font-size:11px;font-weight:900;letter-spacing:.13em}.tppb-wheel-dialog h2{margin:8px 0;font-size:clamp(25px,5vw,38px);line-height:1.1;color:#111d31}.tppb-wheel-dialog__intro p{margin:0 auto;max-width:440px;color:#5e6b80;font-size:14px}.tppb-wheel-stage{position:relative;width:min(56vw,290px);height:min(56vw,290px);margin:20px auto}.tppb-wheel-pointer{position:absolute;left:50%;top:-8px;z-index:2;transform:translateX(-50%);width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-top:27px solid #f40546;filter:drop-shadow(0 3px 4px #7e183655)}.tppb-wheel-disc{width:100%;height:100%;display:grid;place-items:center;border:9px solid #fff;border-radius:50%;background:repeating-conic-gradient(from 0deg,#f40546 0deg calc(360deg / var(--segments) / 2),#20345b calc(360deg / var(--segments) / 2) calc(360deg / var(--segments)));box-shadow:0 0 0 4px #f4ccd8,0 18px 35px #121f3640;position:relative;overflow:hidden;transition:transform 1.6s cubic-bezier(.15,.8,.15,1)}.tppb-wheel-disc:after{content:'✦';display:grid;place-items:center;position:absolute;width:66px;height:66px;background:#fff;color:#f40546;border-radius:50%;font-size:32px;box-shadow:0 4px 15px #17233b66}.tppb-wheel-disc span{display:none}.tppb-wheel-disc.is-spinning{transform:rotate(1440deg)}.tppb-wheel-dialog__result{display:grid;gap:5px;min-height:48px;color:#34435b;font-size:14px}.tppb-wheel-dialog__result strong{color:#142138;font-size:18px}.tppb-wheel-dialog__result a{color:#1e56da;font-weight:700}.tppb-wheel-spin{width:100%;max-width:340px;border:0;border-radius:14px;background:#f40546;color:white;padding:15px 22px;font-size:16px;font-weight:800;cursor:pointer;box-shadow:0 10px 22px #f4054640}.tppb-wheel-spin:disabled{opacity:.65;cursor:default}.tppb-wheel-fineprint{font-size:11px;line-height:1.5;color:#778397;margin:12px 0 0}.tppb-wheel-card{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px;margin:15px 0;border:1px solid #eadde3;border-radius:18px;background:linear-gradient(125deg,#fff9fb,#fff);box-shadow:0 9px 26px #1c2c4710;max-width:100%}.tppb-wheel-card__image img{width:72px;height:72px;object-fit:cover;border-radius:11px}.tppb-wheel-card__body{min-width:0}.tppb-wheel-card h3{margin:3px 0;font-size:17px;line-height:1.2;color:#162139}.tppb-wheel-card p{margin:3px 0 8px;font-size:13px;line-height:1.4;color:#516079}.tppb-wheel-card__track{height:6px;border-radius:10px;background:#ebeff5;overflow:hidden}.tppb-wheel-card__track span{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#ff8a45,#f40546)}.tppb-wheel-card small{display:block;margin-top:5px;color:#68758a;font-size:11px}.tppb-wheel-card__action button,.tppb-wheel-card__action a{display:inline-block;border:0;border-radius:10px;padding:10px 13px;background:#f40546;color:#fff;text-decoration:none;font-weight:800;font-size:12px;cursor:pointer;white-space:nowrap}.tppb-wheel-card__action a{background:#eff3fd;color:#2454bf}.tppb-wheel-card__claimed{color:#117b51;font-size:13px;font-weight:800}body.rtl .tppb-wheel-entry{left:20px;right:auto}body.rtl .tppb-wheel-close{left:16px;right:auto}@media(max-width:640px){.tppb-wheel-entry{bottom:88px;right:14px}.tppb-wheel-dialog{padding:22px 18px;border-radius:22px}.tppb-wheel-card{grid-template-columns:56px minmax(0,1fr);gap:10px}.tppb-wheel-card__image img{width:56px;height:56px}.tppb-wheel-card__action{grid-column:2}.tppb-wheel-card__action button,.tppb-wheel-card__action a{width:100%;text-align:center}}@media(prefers-reduced-motion:reduce){.tppb-wheel-disc{transition:none}}
.tppb-wheel-disc span{display:block;position:absolute;inset:0;transform:rotate(var(--angle));pointer-events:none}
.tppb-wheel-disc span b{position:absolute;top:15%;left:50%;transform:translateX(-50%);color:#fff;font-size:clamp(10px,2.5vw,14px);font-weight:900;letter-spacing:.08em;text-shadow:0 1px 4px #101a3080}
.tppb-wheel-overlay[hidden]{display:none!important}
.tppb-wheel-card__error{margin:8px 0 0;color:#b42318;font-weight:700}

/* Keep the minimized launcher compact and below the existing back-to-top control. */
.tppb-wheel-entry.is-minimized{right:18px;bottom:18px;z-index:99991}
.tppb-wheel-entry.is-minimized button{display:grid;place-items:center;width:48px;height:48px;padding:0;border:2px solid #fff;background:linear-gradient(145deg,#fa174a,#a326b7);box-shadow:0 10px 30px #14213c55;transition:transform .18s,box-shadow .18s}
.tppb-wheel-entry.is-minimized button:hover,.tppb-wheel-entry.is-minimized button:focus-visible{transform:translateY(-3px);box-shadow:0 14px 34px #14213c66}
.tppb-wheel-entry.is-minimized button svg{width:26px;height:26px}
.tppb-wheel-entry.is-minimized .tppb-wheel-entry__label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

@media(max-width:640px){.tppb-wheel-entry.is-minimized{right:14px;bottom:88px}}

.tppb-wheel-card__account { flex-basis: 100%; grid-column: 1 / -1; margin: 8px 0 0; font-size: 12px; line-height: 1.6; color: #55716b; }
.tppb-wheel-card__account a { color: #087d69; text-decoration: underline; }

.tppb-wheel-card__image { position: relative; }
.tppb-gift-lock { position: absolute; right: -6px; bottom: -5px; display: grid; place-items: center; width: 28px; height: 28px; border: 3px solid white; border-radius: 50%; background: #eef2f6; font-size: 14px; }
.tppb-wheel-card.is-locked { border-color: #d9e1e9; background: linear-gradient(120deg,#f7f9fc,#fff); }
.tppb-wheel-card.is-locked .tppb-wheel-card__eyebrow { color: #68788d; }
.tppb-wheel-card.is-locked .tppb-wheel-card__claimed { color: #68788d; }
.tppb-wheel-card.is-unlocked { border-color: #99d6c7; background: linear-gradient(120deg,#edfbf6,#fff); }
.is-unlocked .tppb-gift-lock { background: #087f69; color: white; }
.is-unlocked .tppb-wheel-card__eyebrow { color: #087f69; }
.tppb-wheel-card.just-unlocked { animation: tppb-unlock-glow 850ms ease-out; }
.just-unlocked .tppb-gift-lock { animation: tppb-unlock-pop 650ms ease-out; }
.tppb-wheel-collect { display: inline-block; margin: 14px auto 0; border: 0; border-radius: 12px; padding: 12px 20px; background: #087f69; color: white; font-weight: 700; cursor: pointer; }
.tppb-wheel-disc > span img { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; background: #fff; display: block; margin: 0 auto 3px; }
.tppb-wheel-disc > span b { display: block; max-width: 82px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 9px; }
@keyframes tppb-unlock-glow { 0% { box-shadow: 0 0 0 0 #10b98166; } 55% { box-shadow: 0 0 0 10px #10b98122; } 100% { box-shadow: 0 0 0 18px #10b98100; } }
@keyframes tppb-unlock-pop { 0% { transform: scale(.6) rotate(-20deg); } 65% { transform: scale(1.2) rotate(5deg); } 100% { transform: scale(1); } }
@media(prefers-reduced-motion:reduce) { .tppb-wheel-card.just-unlocked,.just-unlocked .tppb-gift-lock { animation: none; } }
.tppb-gift-tracker { grid-column: 1 / -1; display: grid; gap: 6px; padding: 14px 16px; border-radius: 12px; background: #edf3f8; text-align: left; }
.tppb-gift-tracker strong { font-size: 13px; color: #24445c; }
.tppb-gift-tracker span { font-size: 13px; line-height: 1.5; color: #526879; }
.tppb-gift-tracker small { margin: 0; font-size: 11px; color: #64788b; }
.is-unlocked .tppb-gift-tracker { background: #ddf5e9; }
.is-unlocked .tppb-gift-tracker strong { color: #087f69; }
/* Compact reward collection for cart pages and narrow mini-cart drawers. */
.tppb-gift-summary{border:1px solid #dce6e9;border-radius:16px;background:#fff;margin:12px 0;overflow:hidden}.tppb-gift-summary>summary{cursor:pointer;padding:16px;display:flex;align-items:center;gap:12px;font-weight:700;color:#17283d}.tppb-gift-summary>summary:after{content:'⌄';margin-inline-start:auto}.tppb-gift-summary[open]>summary:after{content:'⌃'}.tppb-gift-summary>summary span{font-size:12px;font-weight:500;color:#607080}.tppb-gift-summary__list{max-height:360px;overflow:auto;padding:0 10px 10px;overscroll-behavior:contain}.tppb-gift-summary .tppb-wheel-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;padding:12px;margin:8px 0;border-radius:12px;box-shadow:none;align-items:center}.tppb-gift-summary .tppb-wheel-card__image{width:44px;height:44px;min-width:0}.tppb-gift-summary .tppb-wheel-card__image img{width:44px;height:44px;object-fit:contain}.tppb-gift-summary .tppb-gift-lock{width:18px;height:18px;font-size:11px}.tppb-gift-summary .tppb-wheel-card__body{min-width:0}.tppb-gift-summary .tppb-wheel-card h3{font-size:13px;line-height:1.4;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tppb-gift-summary .tppb-wheel-card p{font-size:12px;line-height:1.5;margin:4px 0;color:#617286}.tppb-gift-summary .tppb-wheel-card__track{height:4px;margin:6px 0 0}.tppb-gift-summary .tppb-wheel-card__action{margin:0}.tppb-gift-summary .tppb-wheel-card__action button{font-size:12px;padding:9px 11px;min-height:36px;white-space:nowrap;border-radius:10px}.tppb-gift-summary .tppb-wheel-card__claimed{font-size:11px;white-space:nowrap}.tppb-gift-toast{position:fixed;z-index:2147483647;bottom:28px;left:50%;transform:translateX(-50%);padding:14px 22px;border-radius:14px;background:#087d69;color:white;box-shadow:0 12px 35px #173f4930;font-size:14px;font-weight:600;pointer-events:none;animation:tppb-toast-in .2s ease-out}.tppb-gift-toast[hidden]{display:none}@keyframes tppb-toast-in{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){.tppb-gift-toast{animation:none}}
/* Gift feedback and cart styling, shared by classic and Blocks surfaces. */
.tppb-gift-toast{top:50%;bottom:auto;transform:translate(-50%,-50%);max-width:calc(100vw - 32px);text-align:center}
.tppb-wheel-win{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;text-align:start;padding:14px;margin:0 0 16px;border:1px solid #d9e9e4;border-radius:16px;background:#f5fbf9}
.tppb-wheel-win .tppb-wheel-card__image img{width:48px;height:48px;object-fit:contain}
.tppb-wheel-win strong{font-size:15px}.tppb-wheel-win .tppb-wheel-collect{margin:0;padding:11px 13px;font-size:12px}
.tppb-wheel-win__condition{grid-column:1/-1;min-width:0;overflow-wrap:anywhere;padding:7px 10px;border-radius:9px;background:#e8f2ef;color:#48665d;font-size:12px;line-height:1.5}
.is-locked>.tppb-wheel-card__image img{opacity:.55;filter:saturate(.5)}
.is-locked>.tppb-wheel-card__image .tppb-gift-lock{inset:0;width:100%;height:100%;border:0;border-radius:10px;background:transparent;font-size:22px}
.tppb-gift-summary .tppb-wheel-card__action{grid-column:auto}
.tppb-cart-gift-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:8px;background:#dff4eb;color:#087d69;font-size:12px;line-height:1.4}
.tppb-cart-gift-badge.is-locked{background:#e5edeb;color:#526b64}
:is(.wc-block-cart-items__row,.wc-block-components-order-summary-item,.toby-mini-cart__item,.tppb-cart-drawer-item,.cart_item):has(.tppb-cart-gift-badge),.tppb-free-gift-row{background:#edfbf6!important;border-color:#b9e3d4!important}
:is(.toby-mini-cart__item,.tppb-cart-drawer-item):has(.tppb-cart-gift-badge){padding:14px;border-radius:14px;margin-block:8px}
:is(.wc-block-cart-items__row,.wc-block-components-order-summary-item,.toby-mini-cart__item,.tppb-cart-drawer-item,.cart_item):has(.tppb-cart-gift-badge.is-locked) :is(.wc-block-cart-item__image,.wc-block-components-order-summary-item__image,.toby-mini-cart__image,.tppb-cart-drawer-image,.product-thumbnail){position:relative}
:is(.wc-block-cart-items__row,.wc-block-components-order-summary-item,.toby-mini-cart__item,.tppb-cart-drawer-item,.cart_item):has(.tppb-cart-gift-badge.is-locked) :is(.wc-block-cart-item__image,.wc-block-components-order-summary-item__image,.toby-mini-cart__image,.tppb-cart-drawer-image,.product-thumbnail) img{opacity:.55}
:is(.wc-block-cart-items__row,.wc-block-components-order-summary-item,.toby-mini-cart__item,.tppb-cart-drawer-item,.cart_item):has(.tppb-cart-gift-badge.is-locked) :is(.wc-block-cart-item__image,.wc-block-components-order-summary-item__image,.toby-mini-cart__image,.tppb-cart-drawer-image,.product-thumbnail):after{content:'';position:absolute;inset:0;display:block;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='23' fill='%23ff0048' stroke='white' stroke-width='2'/%3E%3Crect x='15' y='21' width='18' height='15' rx='4' fill='none' stroke='white' stroke-width='2.5'/%3E%3Cpath d='M18 21v-5a6 6 0 0112 0v5M24 27v3' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center/ clamp(30px,4vw,48px) auto no-repeat;filter:drop-shadow(0 3px 5px #17243b30);pointer-events:none}
:is(.toby-mini-cart__item,.tppb-cart-drawer-item,.wc-block-cart-items__row):has(.tppb-cart-gift-badge) :is([data-toby-cart-quantity],.wc-block-components-quantity-selector__button){display:none}
:is(.toby-mini-cart__item,.wc-block-cart-items__row):has(.tppb-cart-gift-badge) :is(.toby-cart-delivery-promise,.toby-cart-benefits){display:none}
@media(max-width:400px){.tppb-wheel-win{grid-template-columns:36px minmax(0,1fr) auto;gap:7px;padding:10px}.tppb-wheel-win strong{font-size:13px}.tppb-wheel-win .tppb-wheel-card__image img{width:36px;height:36px}.tppb-wheel-win .tppb-wheel-collect{max-width:120px;padding:9px;font-size:11px}}
.tppb-free-gift-row.is-gift-locked :is(.wc-block-cart-item__image,.wc-block-components-order-summary-item__image){position:relative}
.tppb-free-gift-row.is-gift-locked :is(.wc-block-cart-item__image,.wc-block-components-order-summary-item__image) img{opacity:.55}
.tppb-free-gift-row.is-gift-locked :is(.wc-block-cart-item__image,.wc-block-components-order-summary-item__image):after{content:'';position:absolute;inset:0;display:block;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='23' fill='%23ff0048' stroke='white' stroke-width='2'/%3E%3Crect x='15' y='21' width='18' height='15' rx='4' fill='none' stroke='white' stroke-width='2.5'/%3E%3Cpath d='M18 21v-5a6 6 0 0112 0v5M24 27v3' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center/ clamp(30px,4vw,48px) auto no-repeat;filter:drop-shadow(0 3px 5px #17243b30);pointer-events:none}
.tppb-free-gift-row .wc-block-components-quantity-selector__button{display:none}
.tppb-free-gift-row .wc-block-components-product-metadata{padding:5px 9px;border-radius:8px;background:#dff4eb;color:#087d69;font-size:12px}
/* Gift-only overrides for the theme's mobile cart cards. Badge selectors also
   cover translated/server-rendered rows before Blocks filters run. */
body.toby-modern-cart table.wc-block-cart-items tr.wc-block-cart-items__row:is(.tppb-free-gift-row,:has(.tppb-cart-gift-badge)){background:#edfbf6!important;border-color:#b9e3d4!important}
body.toby-modern-cart .wc-block-cart-items__row:is(.tppb-free-gift-row,:has(.tppb-cart-gift-badge)) .wc-block-components-product-metadata{display:block!important;visibility:visible!important;margin:8px 0!important;padding:0;background:transparent}
body.toby-modern-cart .wc-block-cart-items__row:is(.tppb-free-gift-row,:has(.tppb-cart-gift-badge)) :is(.wc-block-components-product-metadata__description,.toby-cart-item-benefits,.toby-cart-delivery-promise,.toby-mobile-quantity-proxy__button,.wc-block-components-quantity-selector__button){display:none!important}
body.toby-modern-cart .wc-block-cart-items__row:is(.tppb-free-gift-row,:has(.tppb-cart-gift-badge)) .wc-block-components-product-details{display:block!important;margin:0;padding:0}
body.toby-modern-cart .wc-block-cart-items__row:is(.tppb-free-gift-row,:has(.tppb-cart-gift-badge)) .wc-block-components-product-details__name{display:none}
body.toby-modern-cart .wc-block-cart-items__row:is(.tppb-free-gift-row,:has(.tppb-cart-gift-badge)) .toby-mobile-quantity-proxy{width:auto!important;min-width:36px;justify-content:center!important;padding:6px 10px!important;background:#dff4eb!important;border-color:#b9e3d4!important}
body.toby-modern-cart .wc-block-cart-items__row:is(.is-gift-locked,:has(.tppb-cart-gift-badge.is-locked)) .wc-block-cart-item__image>a{position:relative;display:block}
body.toby-modern-cart .wc-block-cart-items__row:is(.is-gift-locked,:has(.tppb-cart-gift-badge.is-locked)) .wc-block-cart-item__image>a:after{content:'';position:absolute;inset:0;display:block;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='23' fill='%23ff0048' stroke='white' stroke-width='2'/%3E%3Crect x='15' y='21' width='18' height='15' rx='4' fill='none' stroke='white' stroke-width='2.5'/%3E%3Cpath d='M18 21v-5a6 6 0 0112 0v5M24 27v3' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center/ clamp(30px,4vw,48px) auto no-repeat;filter:drop-shadow(0 3px 5px #17243b30);pointer-events:none}
body.toby-modern-cart .wc-block-cart-items__row:is(.tppb-free-gift-row,:has(.tppb-cart-gift-badge)) .toby-mobile-quantity-proxy{position:static!important;transform:none!important;box-shadow:none!important;margin:8px 0 0!important}
/* Lightweight mascot: one cached transparent WebP, no animation library. */
.tppb-wheel-entry,.tppb-wheel-entry.is-minimized{bottom:calc(90px + env(safe-area-inset-bottom));z-index:990;width:72px;height:72px}
.tppb-wheel-entry button,.tppb-wheel-entry.is-minimized button{display:grid;place-items:center;width:72px;height:72px;padding:0;border:0;background:transparent;box-shadow:none;border-radius:50%;transition:transform .18s ease}
.tppb-wheel-entry button:hover,.tppb-wheel-entry.is-minimized button:hover{transform:translateY(-3px);box-shadow:none}
.tppb-wheel-entry .tppb-wheel-lion{display:block;width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 5px 5px #13203930)}
.tppb-wheel-entry .tppb-wheel-entry__label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tppb-wheel-center-lion{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;width:88px;height:88px;object-fit:contain;border-radius:50%;background:#fff;box-shadow:0 4px 18px #15253c22;pointer-events:none}
.tppb-wheel-disc:after{content:none}
.tppb-gift-toast{display:flex;align-items:center;gap:14px;width:max-content;max-width:calc(100vw - 32px);padding:18px 22px;border:1px solid #b8e8d5;border-radius:22px;background:linear-gradient(120deg,#fff,#e7fbf2);color:#126a50;box-shadow:0 24px 70px #0a32294d;text-align:start}
.tppb-gift-toast img{width:64px;height:64px;object-fit:contain}.tppb-gift-toast strong{font-size:16px;line-height:1.4}
.tppb-gift-toast__check{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:50%;background:#087d69;color:#fff;font-size:18px}
.tppb-gift-toast[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.tppb-wheel-entry button{transition:none}}
.tppb-wheel-disc{background:repeating-conic-gradient(from 0deg,#f40546 0deg calc(360deg / var(--segments)),#20345b calc(360deg / var(--segments)) calc(720deg / var(--segments)))}
.tppb-wheel-overlay.is-revealing .tppb-wheel-stage{display:none}
.is-revealing .tppb-wheel-win{grid-template-columns:1fr;justify-items:center;margin:18px 0;text-align:center;background:radial-gradient(ellipse at top,#e1f8ee,#fff 75%);border-color:#cbe8dc}
.is-revealing .tppb-wheel-win>.tppb-wheel-card__image{width:160px;height:auto;box-sizing:border-box;padding:0;overflow:hidden;border-radius:24px;background:transparent;box-shadow:none;animation:tppb-prize-reveal .48s cubic-bezier(.18,.8,.25,1)}
.tppb-wheel-overlay.is-revealing .tppb-wheel-win>.tppb-wheel-card__image img{display:block;width:100%;height:auto;max-width:100%;margin:0;padding:0;border:0;border-radius:24px;object-fit:contain}
.is-revealing .tppb-wheel-win strong{font-size:20px}
.is-revealing .tppb-wheel-win__condition{grid-column:1;grid-row:3;max-width:100%;margin:0 0 4px}
.is-revealing .tppb-wheel-win .tppb-wheel-collect{grid-row:4;font-size:14px;padding:13px 22px;animation:tppb-prize-action .7s ease both}
@keyframes tppb-prize-reveal{from{opacity:0;transform:scale(.65) translateY(12px)}to{opacity:1;transform:scale(1) translateY(0)}}
@keyframes tppb-prize-action{0%,55%{opacity:0;visibility:hidden;transform:translateY(6px)}100%{opacity:1;visibility:visible;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.is-revealing .tppb-wheel-win>.tppb-wheel-card__image,.is-revealing .tppb-wheel-win .tppb-wheel-collect{animation:none}}
/* Show the awarded product clearly in the large reveal; conditions remain below. */
.tppb-wheel-overlay.is-revealing .tppb-wheel-win>.tppb-wheel-card__image img{opacity:1;filter:none}
.tppb-wheel-overlay.is-revealing .tppb-wheel-win>.tppb-wheel-card__image .tppb-gift-lock{display:none}
/* Compact gift value, shared by cart and checkout item metadata. */
.tppb-cart-gift-badge{flex-wrap:wrap;gap:6px 10px}
.tppb-gift-savings{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px}
.tppb-gift-savings del{color:#71847d;font-size:12px;font-weight:400}
.tppb-gift-savings strong{color:#087d69;font-size:12px;font-weight:700}
.tppb-wheel-win__details{display:grid;gap:5px;min-width:0;text-align:start}
.tppb-wheel-win__details>.tppb-gift-savings{justify-content:flex-start}
.is-revealing .tppb-wheel-win__details{text-align:center;justify-items:center}
.is-revealing .tppb-wheel-win__condition{grid-row:4}
.is-revealing .tppb-wheel-win .tppb-wheel-collect{grid-row:5}
.tppb-wheel-win__details>.tppb-gift-savings strong{font-size:13px}
.tppb-required-product{display:flex;align-items:center;gap:8px;flex-wrap:wrap;width:100%;margin-top:6px;padding:7px;background:#fff;border:1px solid #cee5dc;border-radius:12px;box-sizing:border-box}
.tppb-required-product__link{display:flex;align-items:center;gap:8px;flex:1;min-width:0;color:#245a4c;text-decoration:none;font-size:12px;line-height:1.4}
.tppb-required-product__link img{display:block;width:36px!important;height:36px!important;object-fit:contain;border-radius:8px;opacity:1!important;flex:none}
.tppb-required-product__link span{min-width:0;overflow-wrap:break-word}
.tppb-required-product__add{display:grid;place-items:center;flex:none;width:32px;height:32px;background:#087d69;color:#fff!important;border-radius:10px;text-decoration:none!important;font-size:23px;font-weight:600;line-height:1}
.tppb-required-product__add:hover{background:#056653}.tppb-required-product__add[aria-busy=true]{opacity:.6;cursor:wait}
.tppb-required-product [role=alert]{width:100%;color:#ad203c;font-size:12px}
.tppb-required-product__add.is-loading{position:relative;color:transparent!important;pointer-events:none;opacity:1}
.tppb-required-product__add.is-loading:after{content:'';position:absolute;width:15px;height:15px;border:2px solid #ffffff66;border-top-color:#fff;border-radius:50%;animation:tppb-required-spin .65s linear infinite}
.tppb-required-loading{width:100%;font-size:12px;color:#087d69}
.tppb-required-product__link img{background:#f2f7f4}
@keyframes tppb-required-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.tppb-required-product__add.is-loading:after{animation:none}}

/* A single crisp theme-colour lock, including compact gift trackers. */
body.toby-modern-cart .wc-block-cart-items__row:is(.is-gift-locked,:has(.tppb-cart-gift-badge.is-locked)) .wc-block-cart-item__image:after{content:none}
:is(.tppb-wheel-card,.tppb-wheel-win).is-locked>.tppb-wheel-card__image .tppb-gift-lock{font-size:0;border:0;width:32px;height:32px;inset:50% auto auto 50%;transform:translate(-50%,-50%);filter:drop-shadow(0 3px 5px #17243b30);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='23' fill='%23ff0048' stroke='white' stroke-width='2'/%3E%3Crect x='15' y='21' width='18' height='15' rx='4' fill='none' stroke='white' stroke-width='2.5'/%3E%3Cpath d='M18 21v-5a6 6 0 0112 0v5M24 27v3' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center/32px 32px no-repeat}
/* Gift identity wins over the theme's last-child / only-child card reset.
   The badge fallback also covers Store API renders without custom row classes. */
body.toby-modern-cart table.wc-block-cart-items tbody > tr.wc-block-cart-items__row:is(.tppb-free-gift-row,:has(.tppb-cart-gift-badge)),
body.toby-modern-cart table.wc-block-cart-items tbody > tr.wc-block-cart-items__row:is(.tppb-free-gift-row,:has(.tppb-cart-gift-badge)):last-child,
body.toby-modern-cart table.wc-block-cart-items tbody > tr.wc-block-cart-items__row:is(.tppb-free-gift-row,:has(.tppb-cart-gift-badge)):only-child{background:#edfbf6!important;border-color:#b9e3d4!important}

/* Toby dance: 24 frames, one deferred shared sprite, centred body framing. */
.tppb-wheel-center-lion>img{display:block;width:100%;height:100%;object-fit:contain}
.tppb-wheel-entry button.tppb-lion-sprite.is-ready,.tppb-wheel-center-lion.tppb-lion-sprite.is-ready{background-image:var(--tppb-lion-sprite);background-size:600% 400%;background-repeat:no-repeat;animation:tppb-lion-party 2.4s steps(1,end) infinite}
.tppb-lion-sprite.is-ready>img{opacity:0}
.tppb-wheel-entry button.tppb-lion-sprite.is-ready{filter:drop-shadow(0 4px 4px #13203925)}
body.tppb-wheel-open .tppb-wheel-entry .tppb-lion-sprite,.tppb-lion-motion-paused .tppb-lion-sprite{animation-play-state:paused!important}
@keyframes tppb-lion-party{0%{background-position:0% 0%}
4.1666666666667%{background-position:20% 0%}
8.3333333333333%{background-position:40% 0%}
12.5%{background-position:60% 0%}
16.666666666667%{background-position:80% 0%}
20.833333333333%{background-position:100% 0%}
25%{background-position:0% 33.333333333333%}
29.166666666667%{background-position:20% 33.333333333333%}
33.333333333333%{background-position:40% 33.333333333333%}
37.5%{background-position:60% 33.333333333333%}
41.666666666667%{background-position:80% 33.333333333333%}
45.833333333333%{background-position:100% 33.333333333333%}
50%{background-position:0% 66.666666666667%}
54.166666666667%{background-position:20% 66.666666666667%}
58.333333333333%{background-position:40% 66.666666666667%}
62.5%{background-position:60% 66.666666666667%}
66.666666666667%{background-position:80% 66.666666666667%}
70.833333333333%{background-position:100% 66.666666666667%}
75%{background-position:0% 100%}
79.166666666667%{background-position:20% 100%}
83.333333333333%{background-position:40% 100%}
87.5%{background-position:60% 100%}
91.666666666667%{background-position:80% 100%}
95.833333333333%{background-position:100% 100%}
100%{background-position:0% 0%}}
@media(prefers-reduced-motion:reduce){.tppb-lion-sprite.is-ready{animation:none!important;background-image:none!important}.tppb-lion-sprite.is-ready>img{opacity:1}}

.tppb-wheel-chances{display:table;margin:16px auto 8px;padding:8px 16px;border-radius:999px;background:#e9f8f3;color:#087d6a;font-size:14px;font-weight:700}.tppb-wheel-spin:disabled{opacity:.55;cursor:not-allowed}

/* Store-midnight deadline: compact, shared by wheel, drawer and checkout. */
.tppb-reward-clock{position:relative;display:flex;align-items:center;gap:12px;padding:16px 18px 19px;margin:12px 0;border:1px solid #b6e5d8;border-radius:18px;background:linear-gradient(115deg,#effbf7,#fff);color:#13382f;overflow:hidden;text-align:start;box-sizing:border-box;font-family:inherit}
.tppb-reward-clock__icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:#d9f4ea;color:#087d6a}.tppb-reward-clock__icon svg{width:23px;height:23px}
.tppb-reward-clock__copy{display:grid;gap:4px;min-width:0;flex:1}.tppb-reward-clock__copy strong{font-size:13px;line-height:1.4;font-weight:700}.tppb-reward-clock__copy small{font-size:11px;line-height:1.4;color:#57716a}
.tppb-reward-clock__digits{flex:0 0 auto;font-size:20px;font-weight:800;letter-spacing:.04em;line-height:1.2;font-variant-numeric:tabular-nums;direction:ltr;color:#087d6a}
.tppb-reward-clock__track{position:absolute;inset-inline:0;bottom:0;height:3px;background:#dceee7}.tppb-reward-clock__track i{display:block;height:100%;background:linear-gradient(90deg,#23b993,#087d6a);width:100%}
.tppb-reward-clock.is-urgent{border-color:#f3d49f;background:linear-gradient(115deg,#fff8ea,#fff)}.tppb-reward-clock.is-urgent .tppb-reward-clock__digits,.tppb-reward-clock.is-urgent .tppb-reward-clock__icon{color:#9a5b08}.tppb-reward-clock.is-urgent .tppb-reward-clock__icon{background:#fff0cd}.tppb-reward-clock.is-urgent .tppb-reward-clock__track i{background:#dc9a24}
.tppb-wheel-dialog .tppb-reward-clock{max-width:560px;margin:18px auto 0}.tppb-offer-cards .tppb-reward-clock{margin-bottom:10px}
@media(max-width:480px){.tppb-reward-clock{gap:9px;padding:12px 12px 15px;border-radius:14px}.tppb-reward-clock__icon{flex-basis:30px;height:30px;border-radius:9px}.tppb-reward-clock__digits{font-size:17px}.tppb-reward-clock__copy strong{font-size:12px}}

/* A compact, independent deadline on each reward. */
.tppb-gift-timer{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;margin-block:7px 2px;border:1px solid #bde5d9;border-radius:9px;background:#f3fcf8;color:#087f6c;font-size:12px;line-height:1.4;white-space:nowrap}
.tppb-gift-timer strong{font-size:12px;font-variant-numeric:tabular-nums;letter-spacing:.4px}
.tppb-gift-timer.is-urgent{background:#fff6e7;border-color:#f0ce8b;color:#976006}
.tppb-wheel-win>.tppb-gift-timer{grid-column:1/-1;grid-row:auto;justify-self:center;max-width:100%;box-sizing:border-box;flex-wrap:wrap;white-space:normal}
.tppb-wheel-win>.tppb-gift-timer strong{direction:ltr;unicode-bidi:isolate}
.tppb-wheel-win__status{font-size:12px;color:#087f6c;white-space:normal}
.is-revealing .tppb-wheel-win>.tppb-wheel-win__status{grid-row:5}
.is-revealing .tppb-wheel-win>.tppb-gift-timer{grid-row:6}
.tppb-cart-gift-badge>.tppb-gift-timer{flex-basis:auto}

/* Full-width gift details, with cart controls kept above the reward information. */
.tppb-cart-gift-badge{display:flex!important;flex-direction:column;align-items:stretch!important;width:100%;box-sizing:border-box;padding:12px!important;gap:9px!important}
.tppb-cart-gift-badge>.tppb-gift-savings{display:flex;flex-wrap:wrap;align-items:center;gap:8px;order:0}
.tppb-cart-gift-badge>.tppb-gift-condition{display:block;width:100%;order:1}
.tppb-cart-gift-badge>.tppb-required-product{order:2}
.tppb-cart-gift-badge>.tppb-gift-timer{order:3;align-self:flex-start;margin:0}
.tppb-gift-progress{display:block!important;width:100%;height:5px;border-radius:9px;background:#dde9e5;overflow:hidden;order:4}
.tppb-gift-progress>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ff8a45,#ff0048);transition:width .25s}
.tppb-cart-gift-badge.is-unlocked .tppb-gift-progress>span{background:#07836e}

/* Preserve theme dimensions; keep reward details aligned with the title. */
.toby-mini-cart__item:has(.tppb-cart-gift-badge){display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:12px!important;align-items:start!important}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__image{grid-column:1;grid-row:1/5;width:76px!important;height:76px!important}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__image img{width:100%;height:100%;object-fit:contain}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__details{display:contents!important}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__details>a{grid-column:2;grid-row:1;min-width:0;margin:0}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__price{grid-column:2;grid-row:2;margin:0!important}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__bottom{grid-column:2;grid-row:3;display:flex!important;align-items:stretch;gap:8px!important;margin:0!important;min-width:0}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__quantity{display:flex!important;align-items:center!important;justify-content:center!important;grid-template-columns:none!important;width:116px!important;max-width:calc(100% - 50px);height:42px!important;min-width:38px;box-sizing:border-box}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__quantity>span{display:flex!important;align-items:center;justify-content:center;position:static!important;min-width:0!important;width:100%!important;padding:0!important;visibility:visible!important;opacity:1!important;color:#17243a;font-size:15px;line-height:1}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__remove{flex:0 0 42px;width:42px!important;height:42px!important;padding:0!important}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) dl.variation{display:contents!important}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) dl.variation>dt{display:none!important}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) dl.variation>dd{grid-column:2;grid-row:4;margin:0!important;padding:0!important;min-width:0;width:100%!important}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) dl.variation>dd>p{margin:0!important}
.toby-mini-cart__item .tppb-cart-gift-badge{font-size:12px;overflow-wrap:anywhere}
.toby-mini-cart__item .tppb-gift-timer{max-width:100%;flex-wrap:wrap;white-space:normal;box-sizing:border-box}
@media(max-width:768px){
.toby-mini-cart__item:has(.tppb-cart-gift-badge){grid-template-columns:72px minmax(0,1fr)!important;gap:11px!important}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__image{width:72px!important;height:72px!important}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__quantity{width:104px!important;height:40px!important}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__remove{flex-basis:40px;width:40px!important;height:40px!important}
}
.tppb-wheel-card--wheel{grid-template-columns:48px minmax(0,1fr) auto!important;gap:9px 12px!important}
.tppb-wheel-card--wheel .tppb-wheel-card__body{display:contents}
.tppb-wheel-card--wheel .tppb-wheel-card__image{grid-column:1;grid-row:1}
.tppb-wheel-card--wheel h3{grid-column:2;grid-row:1}
.tppb-wheel-card--wheel .tppb-wheel-card__action{grid-column:3;grid-row:1}
.tppb-wheel-card--wheel .tppb-gift-savings{grid-column:1/-1;grid-row:2}
.tppb-wheel-card--wheel .tppb-wheel-card__body>.tppb-required-product{grid-column:1/-1;min-width:0;justify-self:stretch}
.tppb-wheel-card--wheel .tppb-wheel-card__body>p{grid-column:1/-1;grid-row:3;margin:0}
.tppb-wheel-card--wheel .tppb-wheel-card__body>.tppb-gift-timer{grid-column:1/-1;justify-self:start;margin:0}
.tppb-wheel-card--wheel .tppb-wheel-card__track{grid-column:1/-1;width:100%}

/* Price, centered quantity and remove share one compact row. */
.toby-mini-cart__item:has(.tppb-cart-gift-badge){grid-template-columns:76px minmax(0,1fr) auto!important}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__details>a{grid-column:2/-1}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__price{grid-column:2;grid-row:2;align-self:center}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__bottom{grid-column:3;grid-row:2;align-self:center}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__quantity{flex:0 0 44px!important;width:44px!important;max-width:none!important;min-width:44px!important;height:40px!important;display:flex!important;justify-content:center!important;align-items:center!important}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__quantity>span{flex:1;display:flex!important;width:100%!important;height:100%;min-width:0!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;text-align:center}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) .toby-mini-cart__remove{flex-basis:40px;width:40px!important;height:40px!important}
.toby-mini-cart__item:has(.tppb-cart-gift-badge) dl.variation>dd{grid-column:2/-1;grid-row:3}
@media(max-width:768px){.toby-mini-cart__item:has(.tppb-cart-gift-badge){grid-template-columns:72px minmax(0,1fr) auto!important}}

/* Shopping progress belongs to the unlock condition; expiry is separate. */
.tppb-cart-gift-badge>.tppb-gift-progress{order:3;margin-block:0 3px}
.tppb-cart-gift-badge>.tppb-gift-timer{order:4;margin-block-start:6px}
.tppb-wheel-card--wheel .tppb-wheel-card__track{order:3}
.tppb-wheel-card--wheel .tppb-wheel-card__body>.tppb-gift-timer{order:4;margin-block-start:6px}

/* Gift quantities are a badge, not an editable product control. */
.tppb-cart-gift-badge:has(.tppb-gift-quantity-pill){background:transparent!important;padding:0!important;gap:10px!important}
.tppb-gift-quantity-pill{display:inline-flex!important;align-items:center;align-self:flex-start;gap:6px;order:-1;padding:5px 11px;border:0;border-radius:999px;background:#d8f2e7;color:#087b64;font-size:13px;font-weight:700;line-height:1.4;white-space:nowrap}
:is(.wc-block-cart-items__row,.wc-block-components-order-summary-item,.cart_item):has(.tppb-gift-quantity-pill) :is(.wc-block-components-quantity-selector,.toby-mobile-quantity-proxy,.product-quantity .quantity){display:none!important}
/* The drawer retains price + quantity + remove below the title. */
.toby-mini-cart__item .tppb-gift-quantity-pill{display:none!important}

/* Saved rewards: one lightweight slide, reusing the reward card and clock. */
.tppb-reward-carousel{position:relative;min-width:0;width:100%}.tppb-reward-carousel [hidden]{display:none!important}
.tppb-reward-carousel__controls{display:flex;align-items:center;justify-content:center;gap:12px;margin:-4px 0 14px;color:#48665d;font-size:12px;direction:ltr}
.tppb-reward-carousel__controls button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #cbe8dc;border-radius:50%;background:#f0faf6;color:#087f6c;cursor:pointer;font-size:20px;line-height:1}
.tppb-reward-carousel__controls button:focus-visible,.tppb-wheel-win a:focus-visible{outline:2px solid #f40546;outline-offset:3px}
.tppb-reward-carousel__controls [data-reward-pause]{font-size:12px}
.tppb-wheel-win .tppb-wheel-win__product{color:inherit;font:inherit;text-decoration:none}.tppb-wheel-win .tppb-wheel-win__product:hover{text-decoration:underline}
.tppb-wheel-spin [data-next-spin]{display:inline-flex;align-items:center;gap:.35em;font-size:.85em;white-space:nowrap;font-variant-numeric:tabular-nums}

/* Keep SKU and quantity as distinct bidi units in both storefront languages. */
.tppb-wheel-win__title{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}.tppb-wheel-win__product{unicode-bidi:isolate}.tppb-wheel-win__quantity{display:inline-flex;align-items:center;gap:.2em;direction:inherit;unicode-bidi:isolate;white-space:nowrap}

:lang(ar) .tppb-gift-timer,:lang(ar) .tppb-wheel-win__quantity{direction:rtl}.tppb-gift-timer [data-tppb-countdown]{direction:ltr;unicode-bidi:isolate}

/* Inset carousel arrows leave dedicated gutters around the reward content. */
.tppb-reward-carousel.has-multiple .tppb-wheel-win{padding-inline:48px}
.tppb-reward-carousel__controls :is([data-reward-prev],[data-reward-next]){position:absolute;top:calc(50% - 8px);transform:translateY(-50%);z-index:2;background:#fff;box-shadow:0 3px 12px #17243b14}
.tppb-reward-carousel__controls [data-reward-prev]{left:8px}
.tppb-reward-carousel__controls [data-reward-next]{right:8px}
.tppb-wheel-win__condition>.tppb-gift-progress{margin-top:8px;height:6px}
.tppb-wheel-win.is-unlocked .tppb-gift-progress>span{background:#07836e}
@media(max-width:600px){.tppb-reward-carousel.has-multiple .tppb-wheel-win{grid-template-columns:40px minmax(0,1fr);padding-inline:42px;gap:9px}.tppb-reward-carousel.has-multiple .tppb-wheel-card__image img{width:40px;height:40px}.tppb-reward-carousel.has-multiple :is(.tppb-wheel-collect,.tppb-wheel-win__status){grid-column:1/-1;justify-self:stretch;text-align:center}.tppb-reward-carousel__controls :is([data-reward-prev],[data-reward-next]){width:30px;height:30px}}

/* Counter and pause share the card footer with the expiry clock. */
.tppb-reward-carousel__controls{height:0;margin:0;gap:8px}
.tppb-reward-carousel__controls [data-reward-position]{position:absolute;left:48px;bottom:37px;line-height:18px}
.tppb-reward-carousel__controls [data-reward-pause]{position:absolute;left:92px;bottom:30px}
.tppb-reward-carousel .tppb-wheel-win>.tppb-gift-timer{justify-self:right;min-height:32px;margin-block:7px 0}
@media(max-width:600px){.tppb-reward-carousel__controls [data-reward-position]{left:42px}.tppb-reward-carousel__controls [data-reward-pause]{left:82px}.tppb-reward-carousel .tppb-wheel-win>.tppb-gift-timer{font-size:11px;padding:5px 7px}}

.tppb-reward-carousel.has-multiple .tppb-wheel-win>.tppb-gift-timer{max-width:calc(100% - 90px)}


/* Four aligned rendered poses: rest, paw lift, thumbs-up/wink, open-eyed grin. */
.tppb-gift-toast__cheer{position:relative;display:block;width:64px;height:64px;flex:none;overflow:hidden}
.tppb-gift-toast .tppb-gift-toast__cheer img{position:absolute;left:0;top:0;width:400%;max-width:none;height:100%;object-fit:fill;transform:translateX(-50%)}
@media(prefers-reduced-motion:no-preference){
 .tppb-gift-toast__cheer.is-ready img{animation:tppb-gift-gesture 1.65s steps(1,end) both}
 @keyframes tppb-gift-gesture{0%{transform:translateX(0)}20%{transform:translateX(-25%)}43%{transform:translateX(-50%)}65%,100%{transform:translateX(-75%)}}
}

/* Give checkout gift metadata its own row in the order summary grid. */
.toby-modern-checkout .wc-block-components-order-summary-item__description:has(.tppb-cart-gift-badge) {
	display: contents !important;
}
.toby-modern-checkout .wc-block-components-order-summary-item__description:has(.tppb-cart-gift-badge) > .wc-block-components-product-name {
	grid-area: description;
	min-inline-size: 0;
}
.toby-modern-checkout .wc-block-components-order-summary-item .wc-block-components-product-metadata:has(.tppb-cart-gift-badge) {
	grid-column: 1 / -1;
	grid-row: 2;
	min-inline-size: 0;
	margin: 0;
	padding-block-start: 6px;
	border-block-start: 1px solid #cce9df;
}
.toby-modern-checkout .wc-block-components-order-summary-item :is(li, .wc-block-components-product-details__gift):has(.tppb-cart-gift-badge) > .wc-block-components-product-details__name,
.toby-modern-checkout .wc-block-components-order-summary-item dt:has(+ dd .tppb-cart-gift-badge) {
	display: none !important;
}
.toby-modern-checkout .wc-block-components-order-summary-item :is(.wc-block-components-product-details__value, dd):has(.tppb-cart-gift-badge) {
	display: block;
	margin: 0;
}
.toby-modern-checkout .wc-block-components-order-summary-item .tppb-cart-gift-badge {
	flex-flow: row wrap;
	align-items: center !important;
	gap: 4px 10px !important;
	padding: 0 !important;
	background: transparent !important;
}
.toby-modern-checkout .wc-block-components-order-summary-item .tppb-gift-condition {
	width: auto;
}
.toby-modern-checkout .wc-block-components-order-summary-item .tppb-gift-timer {
	margin: 0;
	margin-inline-start: auto;
}
.toby-modern-checkout .wc-block-components-order-summary-item .is-unlocked > .tppb-gift-progress {
	display: none !important;
}

/* The checkout summary can be narrow even on desktop. Size the gift line to its column. */
.toby-modern-checkout .wc-block-components-product-metadata:has(.tppb-cart-gift-badge) {
	container: checkout-gift / inline-size;
}
.toby-modern-checkout .wc-block-components-order-summary-item .tppb-cart-gift-badge.is-unlocked {
	display: grid !important;
	grid-template-columns: max-content minmax(0, 1fr) auto;
	align-items: center !important;
}
.toby-modern-checkout .tppb-cart-gift-badge.is-unlocked > .tppb-gift-quantity-pill { grid-column: 1; grid-row: 1; align-self: center; }
.toby-modern-checkout .tppb-cart-gift-badge.is-unlocked > .tppb-gift-savings { grid-column: 2; grid-row: 1; min-width: 0; }
.toby-modern-checkout .tppb-cart-gift-badge.is-unlocked > .tppb-gift-condition { display: none; }
.toby-modern-checkout .tppb-cart-gift-badge.is-unlocked > .tppb-gift-timer { grid-column: 3; grid-row: 1; align-self: center; }
@container checkout-gift (max-width: 23rem) {
	.toby-modern-checkout .wc-block-components-order-summary-item .tppb-cart-gift-badge.is-unlocked {
		grid-template-columns: max-content minmax(0, 1fr);
	}
	.toby-modern-checkout .tppb-cart-gift-badge.is-unlocked > .tppb-gift-savings { justify-content: end; text-align: end; }
	.toby-modern-checkout .wc-block-components-order-summary-item .tppb-cart-gift-badge.is-unlocked > .tppb-gift-timer {
		grid-column: 1 / -1;
		grid-row: 2;
		margin-inline: 0;
		justify-content: center;
	}
}

/* Compact thought cloud above the mascot, opening toward the page. */
.tppb-wheel-entry button{position:relative;overflow:visible}
.tppb-wheel-entry button .tppb-wheel-entry__callout{
  position:absolute;right:calc(100% - 10px);top:-15px;display:grid;place-items:center;
  box-sizing:border-box;width:max-content;max-width:min(48vw,180px);min-height:34px;padding:9px 15px 7px 10px;
  margin:0;color:#352738;font-family:inherit;font-weight:700;font-size:11px;line-height:1.25;
  isolation:isolate;overflow-wrap:anywhere;text-align:center;
}
.tppb-wheel-entry__callout::before,.tppb-wheel-entry button .tppb-cloud-copy{grid-area:1/1;margin:0;color:inherit}
.tppb-wheel-entry__callout::before{content:attr(data-caption);visibility:hidden}
/* Paint the silhouette across the caption independently of the theme's icon sizing. */
.tppb-wheel-entry button .tppb-wheel-entry__callout{
  min-height:43px;padding:12px 13px 11px;top:-19px;background:transparent;
  animation:tppb-cloud-drift 3.8s ease-in-out infinite;
}
.tppb-wheel-entry__callout::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%2056%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22c%22%20x2%3D%22.18%22%20y2%3D%221%22%20gradientUnits%3D%22objectBoundingBox%22%3E%3Cstop%20stop-color%3D%22white%22%2F%3E%3Cstop%20offset%3D%22.43%22%20stop-color%3D%22%23faf8ff%22%2F%3E%3Cstop%20offset%3D%22.76%22%20stop-color%3D%22%23eee8fb%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23b9aed0%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M18%2044C7%2044%202%2039%203%2031Q3%2021%2013%2019Q16%209%2031%2013Q39%202%2055%209Q71%20-1%2085%209Q100%203%20110%2014Q126%208%20134%2019C149%2018%20155%2027%20152%2035Q150%2043%20140%2044C115%2047%2043%2047%2018%2044Z%22%20fill%3D%22url%28%23c%29%22%20stroke%3D%22%23c6bdd8%22%2F%3E%3Cpath%20d%3D%22M18%2018Q22%2012%2030%2015M38%2011Q44%206%2050%209M64%207Q73%203%2079%207%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%222%22%2F%3E%3Cg%20fill%3D%22%23ddd5ed%22%3E%3Cellipse%20cx%3D%22145%22%20cy%3D%2247%22%20rx%3D%224%22%20ry%3D%222.8%22%2F%3E%3Ccircle%20cx%3D%22154%22%20cy%3D%2251%22%20r%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
  filter:drop-shadow(0 2px 2px #41344b33);
}
.tppb-wheel-entry[data-bubble-side="right"] .tppb-wheel-entry__callout{right:auto;left:calc(100% - 10px)}
.tppb-wheel-entry[data-bubble-side="right"] .tppb-wheel-entry__callout::after{transform:scaleX(-1)}
@keyframes tppb-cloud-drift{50%{transform:translate(1px,-2px) rotate(-1deg)}}
@media(prefers-reduced-motion:reduce){.tppb-wheel-entry button .tppb-wheel-entry__callout{animation:none}}
.tppb-wheel-entry__callout[data-phase="loading"] .tppb-cloud-copy::after{content:"";position:absolute;width:3px;height:3px;border-radius:50%;background:#ff004b;box-shadow:-5px 0 #ff004b,5px 0 #ff004b;animation:tppb-cloud-pulse .45s ease-in-out infinite alternate}
.tppb-wheel-entry__callout[data-phase="typing"] .tppb-cloud-copy::after{content:"/";color:#ff004b;margin-inline-start:1px}
@keyframes tppb-cloud-pulse{to{opacity:.45;transform:translateY(-2px)}}

/* A brief sheet of light travels through the cloud before each message. */
@media (prefers-reduced-motion: no-preference) {
  .tppb-wheel-entry__callout[data-phase="loading"]::after {
    animation: tppb-cloud-light 560ms ease-out both;
  }
}
@keyframes tppb-cloud-light {
  0%, 100% { filter: drop-shadow(0 2px 2px #41344b33); }
  22% { filter: brightness(1.25) drop-shadow(0 0 4px #b4b4ff) drop-shadow(0 0 8px #b3caff); }
  63% { filter: brightness(1.06) drop-shadow(0 1px 4px #c3bde4); }
}
