/* Reviewed Sage storefront overrides. Preserve approved images and responsive layouts. */

.customer-sage .sage-bubble{display:flex;align-items:center;gap:.45rem;touch-action:none;cursor:grab}.customer-sage .sage-bubble:active{cursor:grabbing}.customer-sage .sage-bubble img{width:42px;height:42px;object-fit:contain;flex:none}.customer-sage{max-width:calc(100vw - 16px)}.customer-sage section{max-height:min(70vh,520px);overflow:auto;width:min(350px,calc(100vw - 24px))}.browse-controls summary{display:flex;align-items:center;gap:.45rem;max-width:100%;font-weight:700}.browse-controls{flex-wrap:wrap}

.missing-item-photo::before{content:"▱";display:block;font-size:3rem;opacity:.5;line-height:1.2}.missing-item-photo{display:grid;place-content:center;text-align:center}

.item-category-label{display:inline-block;margin:.2rem 0;padding:.18rem .45rem;border:1px solid #40e0d044;border-radius:20px;font-size:.72rem;color:#a5dce0}

.products .wishlist-item{position:relative}.item-save-star{position:absolute;right:9px;top:9px;z-index:2;width:44px;height:44px;border-radius:50%;background:#171020eF;color:#fff;border:1px solid #ad68ce;font-size:29px;line-height:1;cursor:pointer}.item-save-star[aria-pressed="true"]{color:#ffce62}.item-save-star:focus-visible{outline:3px solid cyan;outline-offset:2px}

.public-guest-form{display:grid;gap:14px;max-width:680px;margin:18px 0}.public-guest-form label{display:grid;gap:6px}.public-guest-form input:not([type=checkbox]),.public-guest-form textarea,.public-guest-form select{box-sizing:border-box;width:100%;max-width:100%;padding:12px;color:#fff;background:#17101e;border:1px solid #594166;border-radius:9px}.public-guest-form textarea{min-height:130px}.public-guest-form label[hidden]{display:none}.public-guest-form button{min-height:44px}

/* Compact movable Sage: approved image stays intact, transparent touch target. */
.customer-sage .sage-bubble{width:48px;height:48px;min-width:48px;min-height:48px;padding:2px;gap:0;border:0;border-radius:50%;background:transparent;box-shadow:none;justify-content:center}
.customer-sage .sage-bubble img{width:44px;height:44px;object-fit:contain;pointer-events:none}
.customer-sage .sage-bubble:focus-visible{outline:2px solid #74e9ef;outline-offset:2px}

/* Carni requested a simple circular Sage bubble; original image bytes retained. */
.customer-sage .sage-bubble{overflow:hidden;clip-path:circle(50%)}
.customer-sage .sage-bubble img{border-radius:50%;clip-path:circle(50%)}

/* Public Sage: one conversation and one compact message box. */
.customer-sage #customer-sage-panel{padding:0;display:flex;flex-direction:column;overflow:hidden;width:min(340px,calc(100vw - 24px));height:min(420px,65dvh);max-height:65dvh;background:#100d17;margin-top:8px}
.customer-sage #customer-sage-panel[hidden]{display:none}
#customer-sage-panel>header{padding:12px 14px;align-items:center;border-bottom:1px solid #ffffff15;background:transparent}
#customer-sage-panel header button{width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:#ddd;font-size:25px}
#customer-sage-panel .sage-replies{flex:1;min-height:0;max-height:none;overflow:auto;padding:14px;overscroll-behavior:contain}
#customer-sage-panel .sage-welcome{margin:0;color:#d9d2df}
#customer-sage-panel .sage-replies>div{padding:10px 0;border:0}
#customer-sage-panel .sage-replies strong{display:block;color:#70e2de;font-size:13px}
#customer-sage-panel .sage-replies p{margin:6px 0;line-height:1.55}
#customer-sage-panel form{display:flex;gap:8px;align-items:center;padding:10px;border-top:1px solid #ffffff15}
#customer-sage-panel input{flex:1;min-width:0;width:auto;border:0;background:#211a2b;padding:12px;font-size:16px;border-radius:22px}
#customer-sage-panel form button{margin:0;width:44px;height:44px;min-width:44px;padding:0;border:0;border-radius:50%;background:#61d8d2;color:#071614;font-size:24px}
#customer-sage-panel .sage-input-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.customer-sage #customer-sage-panel{position:fixed;margin:0;z-index:81}.customer-sage .sage-bubble{flex:none}

#customer-sage-panel>header{display:flex;justify-content:space-between;width:100%;max-width:none;box-sizing:border-box;position:static;margin:0;min-height:52px}
