.action-cart{position:relative}.cart-count{position:absolute;top:0;right:2px;background:#ff7900;color:#071849;border-radius:20px;padding:2px 6px;font-size:11px;font-weight:800}.cart-count[hidden]{display:none}
#cart-dialog,.purchase-dialog{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#17251e;background:#fff;border:0;box-sizing:border-box;box-shadow:0 22px 70px #0003;overscroll-behavior:contain}
#cart-dialog::backdrop,.purchase-dialog::backdrop{background:#101b2866;backdrop-filter:blur(3px)}
#cart-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(470px,100vw);max-width:none;height:100dvh;max-height:none;border-radius:0;padding:0;overflow:hidden}
#cart-dialog[open]{animation:cart-in .24s cubic-bezier(.2,.8,.2,1)}
.cart-shell{height:100%;display:flex;flex-direction:column;min-height:0}.cart-head{padding:25px 24px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #ededeb}.cart-head h1{font-size:26px;letter-spacing:-.045em;margin:0;font-weight:700}.cart-head p{font-size:13px;color:#737b76;margin:5px 0 0}.cart-close,.purchase-close{border:0;width:36px;height:36px;min-width:36px;background:#f0f1ef;color:#5b635e;border-radius:50%;font-size:25px;line-height:1;display:grid;place-items:center;padding:0}.cart-close:before,.purchase-close:before{content:"";position:absolute;inset:-4px}.cart-close{position:relative}#cart-feedback{font-size:13px;color:#59675f;padding:0 24px;margin:8px 0}#cart-feedback:empty{display:none}#cart-items{flex:1;overflow:auto;min-height:0;padding:0 24px;overscroll-behavior:contain}
.cart-item{display:grid;grid-template-columns:88px minmax(0,1fr);gap:15px;padding:20px 0;border-bottom:1px solid #eceeeb;align-items:start}.cart-thumb{width:88px;height:88px;border:1px solid #eff0ed;border-radius:12px;background:white;display:grid;place-items:center;overflow:hidden;flex:none}.cart-thumb img{width:100%;height:100%;object-fit:contain;padding:6px}.cart-thumb img[hidden]{display:none}.cart-thumb svg{width:30px;height:30px;color:#a9b0ab}.cart-item-body{min-width:0}.cart-item-top{display:flex;align-items:flex-start;gap:4px;justify-content:space-between}.cart-item-top a,.cart-item-top strong{font-size:15px;font-weight:650;line-height:1.35;overflow-wrap:anywhere;padding-top:4px}.cart-item-top a:hover{text-decoration:underline}.cart-remove{width:34px;height:36px;flex:none;border:0;background:transparent;color:#858b86;padding:7px}.cart-remove svg{width:19px;height:19px}.cart-unit{display:block;color:#69746c;font-size:12px;margin:3px 0 12px}.cart-item-controls{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}.cart-inline-stepper,.purchase-stepper{display:grid;grid-template-columns:44px minmax(32px,1fr) 44px;background:#f0f2ef;border-radius:10px;overflow:hidden;align-items:center}.cart-inline-stepper{width:126px}.cart-inline-stepper button,.purchase-step{border:0;background:transparent;color:#1d4230;font-size:22px;font-weight:500;min-height:44px;padding:0}.cart-inline-stepper input,.purchase-stepper input{border:0;background:transparent;text-align:center;min-width:0;width:100%;padding:0;font-size:16px;appearance:textfield;-moz-appearance:textfield;font-variant-numeric:tabular-nums;color:#17251e}.cart-inline-stepper input::-webkit-inner-spin-button,.cart-inline-stepper input::-webkit-outer-spin-button,.purchase-stepper input::-webkit-inner-spin-button,.purchase-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.cart-inline-stepper button:disabled,.purchase-dialog button:disabled{opacity:.35;cursor:not-allowed}.cart-line-total{font-size:15px;letter-spacing:-.025em;white-space:nowrap}.cart-unavailable{display:block;color:#a32323;font-size:12px;margin:5px 0}.cart-footer{padding:20px 24px max(22px,env(safe-area-inset-bottom));border-top:1px solid #e6e9e5;background:#fff;box-shadow:0 -8px 24px #00000005}.cart-explainer{font-size:11px;color:#747c76;margin:8px 0 16px;line-height:1.5}#cart-total{display:flex;align-items:center;justify-content:space-between;gap:10px}#cart-total strong{font-size:25px;letter-spacing:-.05em}#cart-total:empty{display:none}.cart-empty{text-align:center;padding:60px 8px;color:#68746d}.cart-empty svg{width:52px;height:52px;color:#a2afa6}.cart-empty h2{font-size:21px;color:#17251e;letter-spacing:-.03em;margin:18px 0 8px}.cart-empty p{font-size:14px}
.purchase-dialog{width:min(410px,calc(100% - 32px));max-height:90dvh;overflow:auto;border-radius:24px;padding:28px;position:fixed;margin:auto}.purchase-dialog[open]{animation:purchase-in .22s ease-out}.purchase-dialog h2{font-size:25px;line-height:1.16;letter-spacing:-.045em;margin:0 42px 22px 0;font-weight:700}.purchase-close{position:absolute;right:18px;top:18px}.purchase-product{display:flex;gap:16px;align-items:center;min-width:0;margin:0 0 23px;text-align:left}.purchase-product .cart-thumb{width:96px;height:96px;border-radius:13px}.purchase-product>div:last-child{display:grid;gap:6px;min-width:0}.purchase-product strong{font-size:17px;font-weight:650;line-height:1.3;overflow-wrap:anywhere}.purchase-product span{font-size:14px;color:#69746c}.purchase-quantity-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-top:1px solid #eceeeb;border-bottom:1px solid #eceeeb}.purchase-label{font-size:15px;font-weight:600;line-height:1.3}.purchase-stepper{width:142px;grid-template-columns:44px minmax(0,1fr) 44px;flex:none}.purchase-stepper input{font-size:19px;font-weight:600}.purchase-step{min-height:48px;font-size:25px}.purchase-subtotal{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:21px 0;font-size:15px;color:#59665e}.purchase-subtotal strong{color:#17251e;font-size:27px;letter-spacing:-.05em;font-variant-numeric:tabular-nums}.purchase-primary,.purchase-secondary{display:block;width:100%;min-height:52px;border:0;border-radius:12px;font-size:15px;font-weight:650;padding:13px 16px;line-height:1.25}.purchase-primary{background:#16763b;color:white}.purchase-primary:hover:not(:disabled){background:#115e30}.purchase-secondary{background:transparent;color:#254e38;margin-top:6px}.purchase-secondary:hover{background:#f4f6f3}.purchase-error{font-size:13px;color:#a32323;margin:0 0 12px}.purchase-error:empty{display:none}.purchase-success{text-align:center}.purchase-check{display:grid;place-items:center;width:54px;height:54px;background:#eaf4ed;color:#16763b;border-radius:50%;margin:0 auto 15px}.purchase-check svg{width:29px;height:29px;stroke-width:2.2}.purchase-success h2{margin:0 0 7px}.purchase-success-description{color:#69746c;font-size:14px;margin:0 0 24px}.purchase-success .purchase-product{padding:15px 0;border-top:1px solid #eceeeb;border-bottom:1px solid #eceeeb;margin-bottom:10px}.purchase-success .purchase-product .cart-thumb{width:78px;height:78px}.purchase-added{font-size:13px;font-weight:600;color:#16763b;margin:0 0 23px}.sheet-grip{display:none}
@keyframes cart-in{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes purchase-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes sheet-in{from{transform:translateY(100%)}to{transform:translateY(0)}}
@media(max-width:759px){#cart-dialog{inset:auto 0 0;width:100%;height:92dvh;max-height:92dvh;border-radius:25px 25px 0 0}#cart-dialog[open],.purchase-dialog[open]{animation:sheet-in .28s cubic-bezier(.2,.8,.2,1)}.sheet-grip{display:block;width:35px;height:4px;background:#d4d9d4;border-radius:5px;margin:10px auto 0;flex:none}.cart-head{padding:13px 20px 16px}.cart-head h1{font-size:25px}#cart-items{padding:0 20px}.cart-footer{padding:16px 20px max(20px,env(safe-area-inset-bottom))}.purchase-dialog{inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:94dvh;border-radius:25px 25px 0 0;padding:0 22px max(20px,env(safe-area-inset-bottom))}.purchase-dialog h2{margin-top:20px}.purchase-close{top:24px;right:20px}.purchase-success .purchase-check{margin-top:18px}.purchase-success h2{margin-top:0}.cart-item{grid-template-columns:78px minmax(0,1fr);gap:12px}.cart-item .cart-thumb{width:78px;height:78px}}
@media(max-width:360px){.cart-item{grid-template-columns:64px minmax(0,1fr);gap:10px}.cart-item .cart-thumb{width:64px;height:64px}.purchase-dialog{padding-inline:17px}.purchase-product .cart-thumb{width:80px;height:80px}}@media(prefers-reduced-motion:reduce){#cart-dialog[open],.purchase-dialog[open]{animation:none}}
