/* Emerald 4.0 — replenishment, delivered-items center, mobile navigation. */
:root{--v7-jade:#00c896;--v7-jade-light:#3ff2b1;--v7-border:rgba(63,242,177,.31);--v7-panel:#0a241c;}
.market-store #catalogo .product-card.sold-out .product-cover{filter:saturate(.76) brightness(.82)!important;opacity:1!important}
.market-store #catalogo .product-card.sold-out .product-sold-overlay{background:rgba(5,15,12,.54)!important;font-size:clamp(11px,1vw,15px)!important;}
.market-store .emerald-repo-button{position:relative;z-index:3;display:block;width:calc(100% - 22px);margin:10px 11px 13px;padding:11px 9px;min-height:43px;border-radius:11px;border:1px solid rgba(69,255,182,.55);color:#031912;background:linear-gradient(115deg,#03bd88,#3ff2b1);font-size:13px;font-weight:750;letter-spacing:-.01em;text-align:center;box-shadow:0 7px 20px rgba(0,135,95,.12);cursor:pointer;transition:filter .18s ease,transform .18s ease}
.market-store .emerald-repo-button:hover{filter:brightness(1.05);transform:translateY(-1px)}
.market-store .emerald-repo-button:focus-visible{outline:2px solid #dcffee;outline-offset:3px}
.market-store .product-purchase-panel .emerald-repo-button{width:100%;margin:12px 0}
.emerald-modal-open{overflow:hidden!important}
.emerald-repo-overlay{position:fixed;inset:0;z-index:100000;background:rgba(0,9,8,.79);display:grid;place-items:center;padding:16px;overflow-y:auto}
.emerald-repo-dialog{width:min(100%,505px);max-height:calc(100dvh - 32px);overflow:auto;color:#f0fbf7;background:radial-gradient(ellipse at 100% 0%,rgba(0,176,117,.14),transparent 52%),#0b231c;border:1px solid var(--v7-border);border-radius:20px;box-shadow:0 25px 80px rgba(0,0,0,.6),0 0 0 1px rgba(0,220,140,.06);padding:24px}
.emerald-repo-heading{display:flex;align-items:flex-start;gap:12px}.emerald-repo-bell{display:grid;place-items:center;width:43px;height:43px;flex:none;border:1px solid var(--v7-border);border-radius:13px;color:#3ff2b1;font-size:22px;background:#083024}
.emerald-eyebrow{display:block;color:#3ff2b1;font-size:10px;letter-spacing:.15em;font-weight:750}.emerald-repo-heading h2{color:#f0fbf7;font-weight:780;font-size:clamp(19px,4vw,23px);line-height:1.2;margin:4px 0 0;letter-spacing:-.035em}
.emerald-repo-close{margin-left:auto;font-size:28px;color:#c9ded5;padding:1px 7px;border-radius:8px;cursor:pointer}
.emerald-repo-description{font-size:13px;line-height:1.7;color:#b9d3c9;margin:16px 0 8px}.emerald-repo-product{font-size:13px;font-weight:750;color:#3ff2b1;margin-bottom:18px}
#emerald-repo-form{display:grid;gap:13px}#emerald-repo-form>label:not(.emerald-repo-consent){display:grid;gap:6px;color:#e5f4ed;font-size:13px;font-weight:680}#emerald-repo-form label span,#emerald-repo-form label b{font-size:11px;color:#9cbab0;font-weight:450}
#emerald-repo-form input:not([type=checkbox]){width:100%;min-height:45px;border-radius:10px;background:#061913;color:#f3fff9;border:1px solid #376857;padding:10px 12px;font-size:14px}#emerald-repo-form input:focus-visible{outline:2px solid #3ff2b1;outline-offset:2px}
.emerald-repo-consent{display:flex;gap:10px;align-items:flex-start;margin-top:6px;color:#abcfc0;font-size:12px;line-height:1.6}.emerald-repo-consent input{margin-top:3px;flex:none;accent-color:#00c896;width:18px;height:18px}.emerald-repo-consent span{font-size:12px!important;line-height:1.55}.emerald-repo-consent a,.emerald-repo-cancel-link{color:#3ff2b1;text-decoration:underline;text-underline-offset:3px}
.emerald-repo-submit{min-height:45px;width:100%;border-radius:10px;background:#00c896;color:#061812;font-weight:800;padding:10px 14px;cursor:pointer}.emerald-repo-submit:disabled{opacity:.67;cursor:wait}.emerald-repo-feedback{font-size:13px;line-height:1.65;color:#a3e8d1;margin:0;min-height:0}
/* Order center & delivery. Credentials remain exclusively in authorized API responses. */
.emerald-order-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;}
.emerald-order-tabs button{color:#cbe9de;background:#071c16;border:1px solid rgba(63,242,177,.23);border-radius:11px;padding:10px 15px;min-height:43px;cursor:pointer;font-size:13px}
.emerald-order-tabs button[aria-pressed=true]{background:#00c896;color:#041812;border-color:#3ff2b1;font-weight:750}
.market-store .order-row{border-radius:15px!important;overflow:hidden;transition:border-color .2s ease,transform .2s ease}
.market-store .order-row:hover{border-color:rgba(63,242,177,.55)!important;transform:translateY(-1px)}
.market-store .emerald-delivery-summary{padding:16px 18px;border:1px solid rgba(63,242,177,.26);background:linear-gradient(145deg,#0b2b21,#071914);border-radius:14px;margin:0 0 15px}
.emerald-delivery-summary h3{color:#f0fbf7;font-size:16px;margin:5px 0 3px}.emerald-delivery-summary p{color:#aecbbf;font-size:13px;line-height:1.5;margin:3px 0}
.emerald-delivery-guide{border:1px solid rgba(63,242,177,.21);border-radius:13px;background:#071f19;padding:14px;margin:12px 0}
.emerald-delivery-guide summary{font-weight:780;font-size:14px;color:#c7f8e6;cursor:pointer}
.emerald-delivery-guide .emerald-guide-text{line-height:1.65;white-space:pre-wrap;font-size:13px;color:#dbf0e6;padding-top:9px}
.emerald-copy-all{border:1px solid rgba(63,242,177,.55);border-radius:11px;background:#079d76;color:#f2fff9;font-weight:750;padding:10px 16px;min-height:42px;margin-top:12px;cursor:pointer}
.emerald-order-bottom-links{display:flex;gap:12px;flex-wrap:wrap;padding-top:12px}
.emerald-order-bottom-links a{color:#3ff2b1;font-size:13px;text-decoration:underline}
/* Accessible fixed navigation at phone widths only; no overlays on checkout/Pix/keyboard. */
.emerald-bottom-nav{display:none}
@media(max-width:680px){
 body.emerald-v7-has-nav{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))!important}
 .emerald-bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;position:fixed;bottom:0;left:0;right:0;z-index:750;min-height:70px;padding:7px 7px max(9px,env(safe-area-inset-bottom,0px));background:rgba(3,19,15,.97);border-top:1px solid rgba(63,242,177,.32);box-shadow:0 -10px 28px rgba(0,0,0,.4);backdrop-filter:blur(12px)}
 .emerald-bottom-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-width:0;text-decoration:none;color:#b7d9cb;border-radius:9px;padding:4px 0 3px;line-height:1.1}
 .emerald-bottom-nav .emerald-nav-icon{font-size:21px;font-weight:650;line-height:1.15}
 .emerald-bottom-nav small{font-size:10px;white-space:nowrap}
 .emerald-bottom-nav a[aria-current=page]{color:#3ff2b1;background:rgba(0,200,150,.11)}
 .emerald-bottom-nav a:focus-visible{outline:2px solid #3ff2b1;outline-offset:-2px}
 .market-store #catalogo .product-card.sold-out .product-sold-overlay{font-size:12px!important}
 .market-store #catalogo .emerald-repo-button{font-size:11px;min-height:44px;margin:8px 8px 12px;width:calc(100% - 16px);padding:9px 5px}
 .market-store :is(.product-card,.signature-card){min-width:0!important}
 .market-store :is(.payment-page,.cart-page,.order-page,.orders-page){padding-bottom:28px!important}
 .market-store :is(.cart-page,.payment-page) :is(button,input,select){max-width:100%}
 .emerald-order-tabs button{font-size:12px;padding-inline:11px;min-height:42px}
 .emerald-repo-dialog{padding:18px 16px;border-radius:15px}
 .emerald-delivery-summary{padding:13px}
}
@media(max-width:350px){.emerald-bottom-nav small{font-size:9px}.emerald-bottom-nav .emerald-nav-icon{font-size:19px}}
@media(prefers-reduced-motion:reduce){.emerald-repo-button,.order-row{transition:none!important;transform:none!important}}
.emerald-standalone{margin:0;min-height:100dvh;background:radial-gradient(circle at top,rgba(0,167,115,.2),transparent 43%),#071411;color:#f0fbf7;font-family:Inter,system-ui,sans-serif;display:grid;place-items:center;padding:22px}
.emerald-standalone-card{width:min(100%,520px);border:1px solid rgba(63,242,177,.3);border-radius:20px;padding:clamp(18px,5vw,34px);background:linear-gradient(140deg,#0e2b24,#071913);box-shadow:0 24px 75px rgba(0,0,0,.45)}
.emerald-standalone-card img{max-width:100%;height:auto;object-fit:contain}.emerald-standalone-card h1{font-size:clamp(24px,5vw,32px);line-height:1.2;margin:14px 0}.emerald-standalone-card p{line-height:1.75;font-size:14px;color:#b9d4c9;margin:10px 0}.emerald-standalone-card a{color:#3ff2b1;text-underline-offset:3px}.emerald-standalone-card button{border:1px solid #3ff2b1;border-radius:12px;padding:13px 19px;margin:18px 0;background:#00c896;color:#031c12;font-weight:750;cursor:pointer}
.emerald-v7-admin{margin-top:25px;padding:20px;border:1px solid rgba(63,242,177,.3);border-radius:15px;background:#0b241d;color:#edfdf6}.emerald-v7-admin form{display:grid;gap:13px;margin:15px 0}.emerald-v7-admin label{display:grid;gap:8px}.emerald-v7-admin select,.emerald-v7-admin textarea{width:100%;border:1px solid #387a61;background:#061d15;color:#f1fff7;border-radius:9px;padding:11px;font:inherit}.emerald-v7-admin button{border:1px solid #279e75;background:#085d45;color:#f1fff7;border-radius:9px;padding:10px 13px;cursor:pointer}.emerald-v7-admin button:hover{background:#07775a}.emerald-v7-admin hr{border:0;border-top:1px solid #275444;margin:20px 0}.emerald-v7-admin p{color:#bdd6cb;font-size:13px;line-height:1.65}
.emerald-standalone-card [hidden],.emerald-order-tabs [hidden]{display:none!important}

.emerald-bottom-nav .emerald-nav-icon svg{width:22px;height:22px;display:block}
.order-row[hidden],.emerald-order-tabs[hidden]{display:none!important}
