.customer-actions{display:flex;align-items:center;gap:10px;justify-self:end}.customer-entry{display:flex;align-items:center;gap:7px;border:0;background:transparent;color:var(--teal);font:600 13px inherit;cursor:pointer;padding:10px}.customer-entry svg{width:22px;height:22px}.customer-dialog{width:min(520px,92vw);max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:22px;padding:28px;background:var(--paper);color:var(--ink)}.customer-dialog::backdrop{background:#16303380}.customer-dialog h2{font:800 26px Manrope,sans-serif;margin:8px 0 16px}.customer-dialog label{display:grid;gap:6px;font-size:13px;font-weight:600;margin:14px 0}.customer-dialog input{width:100%;padding:12px;border:1px solid #cddad2;border-radius:9px;font:inherit;background:white}.customer-dialog input:disabled{background:#f0f1eb}.customer-dialog p{font-size:13px;line-height:1.6;color:#526d66}.customer-dialog .customer-close{float:right;border:0;background:transparent;color:var(--teal);font-size:28px;cursor:pointer}.customer-dialog .btn{width:100%;margin-top:12px}.customer-dialog .customer-secondary{background:transparent;color:var(--teal);border:1px solid var(--line)}.customer-notice{padding:12px;background:#edf2ec;border-radius:10px}.customer-order{padding:12px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.6}.customer-dialog textarea{width:100%;min-height:150px;border:1px solid var(--line);border-radius:8px;padding:12px;font:inherit}.customer-dialog :focus-visible{outline:2px solid var(--teal);outline-offset:3px}@media(max-width:600px){.customer-entry{padding:6px;font-size:12px}.customer-actions{gap:2px}.customer-dialog{padding:20px}.customer-actions .cart-btn{padding:9px 11px}}

/* Shared appearance for customer and bag actions. */
.customer-actions .customer-entry,.customer-actions .cart-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:11px 16px;border:0;border-radius:999px;background:var(--cream);color:var(--ink);font-family:inherit;font-size:13px;font-weight:700;line-height:22px;cursor:pointer}
.customer-actions .customer-entry svg{width:20px;height:20px;flex-shrink:0;color:currentColor}
.customer-actions .cart-btn span{margin-left:0}
@media(max-width:600px){.customer-actions .customer-entry,.customer-actions .cart-btn{padding:9px 11px;min-height:40px;font-size:12px}}

.customer-text-link{display:block;margin:17px auto 0;padding:0;border:0;background:transparent;color:var(--teal);font:600 13px 'DM Sans',sans-serif;text-decoration:none;cursor:pointer}.customer-text-link:hover{text-decoration:underline}.customer-register-prompt{text-align:center}.customer-register-prompt .customer-text-link{display:inline;margin:0 0 0 5px}.customer-dialog #customerLoginStatus:empty,.customer-dialog #customerRecoveryStatus:empty{display:none}

.customer-dialog.customer-registration{width:min(980px,94vw);padding:0;position:fixed}.customer-registration>.customer-close{position:absolute;right:18px;top:12px;z-index:2}.customer-registration-layout{display:grid;grid-template-columns:.9fr 1.1fr;min-height:570px}.customer-registration-brand{background:linear-gradient(120deg,#edf2ec,#f7f1e6);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 38px;text-align:center}.customer-registration-brand svg{display:block;width:120px;height:120px;margin-bottom:24px}.customer-registration-brand p{font-size:22px;line-height:1.5;color:#0c4f52;max-width:270px;margin:0}.customer-registration-brand strong{display:block;margin-top:8px;font-weight:800}.customer-registration-fields{padding:40px 42px 26px;background:var(--paper)}.customer-registration-fields h2{font-size:25px}.customer-registration-fields .customer-step{font-size:11px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 16px;color:#647e76}.customer-registration-fields>p{font-size:12px}.customer-registration-fields label{margin:18px 0;font-size:12px}.customer-registration-fields input{font-size:14px}.customer-registration-fields .btn{justify-content:space-between;margin-top:20px}.customer-registration-fields .customer-registration-note{font-size:11px;margin-top:20px;color:#647e76}@media(max-width:700px){.customer-registration-layout{grid-template-columns:1fr;min-height:0}.customer-registration-brand{padding:26px 24px;flex-direction:row;gap:20px;text-align:left}.customer-registration-brand svg{flex-shrink:0;width:60px;height:60px;margin:0}.customer-registration-brand p{font-size:16px;max-width:260px}.customer-registration-brand strong{margin-top:2px}.customer-registration-fields{padding:26px 24px}.customer-registration>.customer-close{right:10px;top:4px}}

.customer-address-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.customer-address-grid label{min-width:0}.customer-address-grid .customer-address-wide{grid-column:1/-1;max-width:220px}.customer-dialog select{width:100%;padding:12px;border:1px solid #cddad2;border-radius:9px;font:inherit;background:white;color:var(--ink);min-height:45px}.customer-dialog .customer-terms-check{display:flex;align-items:flex-start;gap:10px;margin:22px 0;font-weight:400;line-height:1.6}.customer-dialog .customer-terms-check input{width:18px;height:18px;flex-shrink:0;margin-top:2px;accent-color:var(--teal)}.customer-terms-check a{color:var(--teal);text-underline-offset:3px}@media(max-width:450px){.customer-address-grid{grid-template-columns:1fr}.customer-address-grid .customer-address-wide{max-width:none}}

.customer-address-grid .customer-cep-status{grid-column:1/-1;font-size:12px;margin:0 0 8px;color:#526d66}.customer-cep-status:empty{display:none}

.customer-greeting{color:var(--teal);font-size:13px;font-weight:600;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-actions{min-width:0}@media(max-width:600px){.customer-greeting{font-size:11px;max-width:85px;margin-right:4px}.customer-actions{flex-wrap:wrap;justify-content:flex-end}.customer-greeting{flex-basis:100%;max-width:100%;text-align:right}}

/* Center navigation independently of customer controls and logo width. */
@media(min-width:901px){.header,.header.achados-header,.header.club-centered-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:18px}.header>.brand,.header.achados-header>.brand,.header.club-centered-header>.brand{grid-column:1;grid-row:1;justify-self:start}.header>nav,.header.achados-header>nav,.header.club-centered-header>nav{grid-column:2;grid-row:1;justify-self:center}.header>.customer-actions{grid-column:3;grid-row:1;justify-self:end;max-width:100%;flex-wrap:wrap;justify-content:flex-end;column-gap:8px;row-gap:2px}.header .customer-greeting{max-width:100%;flex-basis:100%;text-align:right;font-size:12px}.header:has(.customer-greeting){min-height:88px;height:auto;padding-top:6px;padding-bottom:6px}}

/* Keep the greeting beside the account control without moving the centered menu. */
@media(min-width:901px){.header>.customer-actions{flex-wrap:nowrap;min-width:0;gap:8px;width:max-content;max-width:100%}.header .customer-greeting{flex:0 1 140px;min-width:0;max-width:140px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.header .customer-entry,.header .cart-btn{flex-shrink:0}.header:has(.customer-greeting){height:78px;min-height:78px;padding-top:0;padding-bottom:0}}
@media(min-width:901px) and (max-width:1250px){.header>nav{gap:16px}.header .customer-entry,.header .cart-btn{padding:9px 10px;gap:5px}.header>.customer-actions{gap:5px}.header .customer-entry>span{max-width:58px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

.bag-how-it-works{margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}.bag-how-it-works h3{margin:0 0 10px;font:700 16px Manrope,sans-serif;color:var(--teal)}.bag-how-it-works p{margin:0 0 10px;font-size:13px;line-height:1.65;color:#526d66}.bag-how-it-works .bag-how-note{font-size:11px;color:#71827a;margin-bottom:0}

/* Purchase summary with clear hierarchy and independent removal controls. */
.drawer{width:min(500px,100%);height:100dvh;overflow-y:auto;padding:30px 26px 36px}.drawer>h2{font:800 27px Manrope,sans-serif;color:var(--teal);margin:8px 48px 24px 0}.drawer #closeDrawer{position:absolute;right:22px;top:24px;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--teal);font-size:24px;cursor:pointer}.drawer .cart-line{display:grid;grid-template-columns:48px minmax(0,1fr) auto 28px;align-items:center;gap:12px;padding:16px 0}.cart-item-photo{width:48px;height:60px;object-fit:contain;background:white}.cart-item-name{min-width:0}.cart-item-name>strong{display:block;font-size:12px;line-height:1.5;font-weight:600}.cart-item-name>span{display:block;margin-top:5px;font-size:11px;color:#71827a}.cart-item-price{font-size:13px;white-space:nowrap;color:var(--teal)}.drawer .cart-remove{width:28px;height:28px;display:grid;place-items:center;border:0;background:#f4f5ef;border-radius:50%;font-size:19px;color:#526d66;cursor:pointer}.cart-empty{padding:18px 0 26px;font-size:16px;color:var(--teal)}.cart-empty span{display:block;font-size:13px;line-height:1.6;margin-top:10px;color:#647e76}.cart-coupon{margin-top:22px}.cart-welcome-offer{padding:16px;background:linear-gradient(120deg,#edf2ec,#f7f1e6);border-radius:12px;color:var(--teal)}.cart-welcome-offer strong,.cart-welcome-offer span{display:block;font-size:12px;line-height:1.6}.cart-welcome-offer span{font-size:11px;margin-top:4px}.cart-coupon label{display:block;font-size:12px;font-weight:600;margin:18px 0 8px}.cart-coupon form>div{display:flex;gap:8px}.cart-coupon input{min-width:0;flex:1;border:1px solid var(--line);border-radius:9px;padding:11px;font:inherit;font-size:13px}.cart-coupon form button{background:var(--teal);color:white;border:0;border-radius:9px;padding:10px 15px;font:600 12px 'DM Sans',sans-serif;cursor:pointer}.cart-coupon-note,#cartCouponStatus{font-size:11px;line-height:1.5;color:#647e76}.cart-coupon #cartRemoveCoupon{border:0;background:transparent;color:var(--teal);text-decoration:underline;font-size:11px;cursor:pointer}.cart-breakdown{border-top:1px solid var(--line);margin-top:22px;padding-top:14px}.cart-breakdown>div{display:flex;justify-content:space-between;gap:16px;font-size:12px;line-height:1.7;margin:7px 0;color:#526d66}.cart-breakdown .cart-discount{color:var(--teal)}.cart-checkout-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0 0}.cart-checkout-panel #checkout{border:0;background:var(--teal);color:white;border-radius:30px;padding:14px 19px;font:700 13px 'DM Sans',sans-serif;cursor:pointer}.cart-total-box{text-align:right;flex-shrink:0}.cart-total-box>span{display:block;font-size:11px;color:#647e76;margin-bottom:3px}.cart-total-box #cartTotal{display:block;font:800 23px Manrope,sans-serif;color:var(--teal)}.product-first-order{display:grid;gap:5px;background:#edf2ec;border-radius:12px;padding:14px;margin:6px 0 14px;color:var(--teal);font-size:12px}.product-first-order small{font-size:10px;line-height:1.5;color:#647e76}@media(max-width:420px){.drawer{padding:24px 18px 30px}.drawer .cart-line{grid-template-columns:38px minmax(0,1fr) auto 26px;gap:8px}.cart-item-photo{width:38px;height:50px}.cart-total-box #cartTotal{font-size:20px}.cart-checkout-panel{gap:10px}}

.cart-quantity{display:flex;align-items:center;gap:10px;margin-top:8px}.cart-quantity button{width:25px;height:25px;padding:0;border:1px solid var(--line);background:var(--paper);border-radius:50%;color:var(--teal);font-size:16px;cursor:pointer}.cart-quantity span{font-size:12px;font-weight:600}.customer-actions .customer-entry{min-width:0}.customer-dialog .btn:disabled{opacity:.6;cursor:wait}

.customer-menu-toggle{display:none}@media(max-width:900px){.header{gap:10px}.customer-menu-toggle{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border:1px solid var(--line);border-radius:50%;background:var(--cream);color:var(--teal);cursor:pointer}.header.customer-menu-open>nav{position:absolute;top:100%;left:0;right:0;display:flex;flex-direction:column;gap:0;padding:12px 6vw;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 10px 20px #16303310}.header.customer-menu-open>nav a{padding:13px 0}.header>.customer-actions{margin-left:auto}.header .customer-entry>span{max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(min-width:901px) and (max-width:1100px){.header .customer-entry>span{display:none}.header .customer-entry{padding:9px}.header .cart-btn{font-size:12px;padding:9px}.header .customer-actions{gap:5px}}

/* Keep all account dialogs in the viewport, independently of page scroll. */
.customer-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overscroll-behavior:contain}.customer-dialog.customer-registration{position:fixed}.customer-dialog input[type=checkbox]{width:18px;height:18px;accent-color:var(--teal)}

/* Explicit viewport anchor prevents the registration panel inheriting document scroll positioning. */
dialog.customer-dialog,dialog.customer-dialog.customer-registration{position:fixed!important;top:16px!important;right:0!important;bottom:auto!important;left:0!important;margin:0 auto!important;transform:none!important;translate:none!important;height:auto!important;max-height:calc(100vh - 32px)!important;max-height:calc(100dvh - 32px)!important;overflow-y:auto!important;overflow-x:hidden;scrollbar-gutter:stable}

.customer-recovery-options{display:grid;gap:14px;margin:24px 0}.customer-recovery-options .btn{width:100%;justify-content:center}

/* Keep the scroll rail inside the rounded dialog silhouette. */
dialog.customer-dialog{clip-path:inset(0 round 22px);scrollbar-width:thin;scrollbar-color:#9aaca4 var(--paper,#fffdf8)}
dialog.customer-dialog::-webkit-scrollbar{width:8px;height:8px}
dialog.customer-dialog::-webkit-scrollbar-track{background:transparent;margin-block:22px}
dialog.customer-dialog::-webkit-scrollbar-thumb{background:#9aaca4;border:2px solid var(--paper,#fffdf8);border-radius:12px}
dialog.customer-dialog::-webkit-scrollbar-thumb:hover{background:#627f74}
dialog.customer-dialog::-webkit-scrollbar-button{display:none;width:0;height:0}

.customer-delivery-options{border:1px solid var(--line);border-radius:12px;margin:22px 0;padding:16px}.customer-delivery-options legend{font-weight:700;padding:0 6px}.customer-dialog .customer-delivery-options label{display:flex;align-items:center;gap:10px}.customer-dialog .customer-delivery-options input{width:18px;height:18px;accent-color:var(--teal);margin:0}.customer-delivery-total{padding:12px 16px;background:#edf2ec;border-radius:10px;margin:18px 0}#customerFinalTotal{font-weight:700}#customerDeliveryHome[hidden]{display:none}

.customer-dialog .customer-delivery-options{padding:8px 16px 10px;margin:16px 0}.customer-dialog .customer-delivery-options label{margin:7px 0;gap:9px}.customer-dialog .customer-delivery-options legend{line-height:1.3}

.cart-club-saving{display:block;margin-top:6px;color:#17705a;font-size:11px;line-height:1.5;font-weight:600}
