.kcb .kc-bag-trigger{position:relative;display:inline-grid;place-items:center;flex-shrink:0;width:46px;height:46px;border:1px solid currentColor;border-radius:50%;color:var(--ink);background:transparent}.kcb .kc-bag-trigger [data-kc-count]{position:absolute;right:-4px;top:-5px;min-width:21px;height:21px;padding:0 4px;border-radius:20px;background:var(--terra);color:var(--white);font-size:11px;line-height:21px}.kcb [hidden]{display:none!important}.kcb button:disabled{opacity:.6;cursor:not-allowed}.kcb .kc-bag-backdrop{position:fixed;inset:0;z-index:1000;background:rgba(30,27,24,.4)}.kcb .kc-bag{position:fixed;inset:0 0 0 auto;z-index:1001;display:flex;flex-direction:column;width:min(420px,100vw);height:100dvh;overflow-y:auto;overscroll-behavior:contain;background:var(--paper);color:var(--ink);padding:24px;box-shadow:-10px 0 45px #0002;animation:kc-bag-enter .2s ease-out}.kcb .kc-bag-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.kcb .kc-bag-heading h2{font-family:var(--serif);font-size:38px;line-height:1.1}.kcb .kc-bag-close{width:44px;height:44px;border:1px solid currentColor;border-radius:50%;font-size:30px;line-height:1;background:transparent;flex-shrink:0}.kcb .kc-bag-item{display:grid;grid-template-columns:64px 1fr;gap:16px;padding:20px 0;border-bottom:1px solid #28231e33}.kcb .kc-bag-item img{width:64px;height:90px;object-fit:contain}.kcb .kc-bag-item h3{font-family:var(--sans);font-size:15px;font-weight:600;line-height:1.4}.kcb .kc-bag-item p{font-size:14px;margin-top:4px}.kcb .kc-bag-line-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.kcb .kc-stepper{display:flex;align-items:center;border:1px solid #28231e55;border-radius:25px;overflow:hidden}.kcb .kc-stepper button{width:44px;height:44px;background:transparent}.kcb .kc-stepper output{min-width:24px;text-align:center;font-size:14px}.kcb .kc-remove{min-height:44px;text-decoration:underline;font-size:12px;background:transparent}.kcb .kc-bag-summary{margin-top:24px}.kcb .kc-bag-summary>p{display:flex;justify-content:space-between;gap:12px;margin-bottom:20px;font-size:14px}.kcb .kc-bag-summary label{font-size:14px}.kcb #kc-shipping-zip{display:block;width:100%;height:46px;margin:8px 0 12px;padding:10px 12px;border:1px solid #28231e77;border-radius:4px;background:transparent;color:inherit;font:inherit}.kcb .kc-bag-summary .kc-shipping-status{font-size:13px;min-height:20px;margin-bottom:8px}.kcb .kc-shipping-rates{border:0;padding:0;margin:0 0 20px;min-width:0}.kcb .kc-shipping-rates label{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}.kcb .kc-shipping-rates input{accent-color:var(--terra);width:18px;height:18px;flex-shrink:0}.kcb .kc-estimated{padding-top:20px;border-top:1px solid #28231e33}.kcb .kc-bag-empty p{margin:16px 0 24px}.kcb .kc-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.kcb .kc-bag :focus-visible,.kcb .kc-bag-trigger:focus-visible{outline:2px solid var(--terra-deep);outline-offset:3px}@keyframes kc-bag-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}@media(prefers-reduced-motion:reduce){.kcb .kc-bag{animation:none}}@media(max-width:360px){.kcb .header-actions{gap:6px}.kcb .kc-bag{padding:20px}}
.admin-bar .kcb .kc-bag,.admin-bar .kcb .kc-bag-backdrop{top:32px;height:calc(100dvh - 32px)}@media (max-width:782px){.admin-bar .kcb .kc-bag,.admin-bar .kcb .kc-bag-backdrop{top:46px;height:calc(100dvh - 46px)}}
.kcb .kc-bag-detail{color:#5f554c}
.kcb .kc-item{position:fixed;inset:0 0 0 auto;z-index:1001;display:flex;flex-direction:column;width:min(440px,100vw);height:100dvh;background:var(--paper);color:var(--ink);box-shadow:-10px 0 45px #0002;outline:0;animation:kc-bag-enter .2s ease-out}.kcb .kc-item-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px}.kcb .kc-item-heading{display:grid;grid-template-columns:84px 1fr auto;gap:16px;align-items:start;margin-bottom:28px}.kcb .kc-item-tile{position:relative;height:104px;border-radius:6px;background:var(--sage);overflow:hidden}.kcb .kc-item-tile img{position:absolute;left:50%;bottom:6px;width:62%;transform:translateX(-50%);filter:drop-shadow(0 8px 8px rgba(30,20,10,.3))}.kcb .kc-item-heading h2{font-family:var(--serif);font-size:36px;line-height:1;margin-top:4px}.kcb .kc-item-notes{margin-top:8px;font-size:14px;color:#4a433d}.kcb .kc-item-group{border:0;padding:0;margin:0 0 24px;min-width:0}.kcb .kc-item-group legend{margin-bottom:12px;font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--sage-text)}.kcb .kc-option{position:relative;cursor:pointer}.kcb .kc-option input{position:absolute;opacity:0;width:1px;height:1px}.kcb .kc-option span{display:flex;align-items:center;justify-content:center;gap:2px;min-height:46px;padding:0 18px;border:1px solid #28231e55;border-radius:99px;font-size:15px;font-weight:500;transition:background-color .12s,color .12s,border-color .12s}.kcb .kc-option input:checked+span{background:var(--ink);border-color:var(--ink);color:var(--paper)}.kcb .kc-option input:focus-visible+span{outline:2px solid var(--terra-deep);outline-offset:3px}.kcb .kc-option input:disabled+span{opacity:.45;cursor:not-allowed}.kcb .kc-segment,.kcb .kc-sizes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.kcb .kc-segment span{min-height:52px;font-size:16px;font-weight:600}.kcb .kc-chips{display:flex;flex-wrap:wrap;gap:8px}.kcb .kc-sizes span{flex-direction:column;min-height:68px;border-radius:12px;font-weight:600}.kcb .kc-sizes small{font-size:14px;font-weight:500}.kcb .kc-sizes input:checked+span{background:var(--cream);color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.kcb .kc-item-footer{flex-shrink:0;padding:16px 24px calc(16px + env(safe-area-inset-bottom));border-top:1px solid #28231e22}.kcb .kc-item :focus-visible{outline:2px solid var(--terra-deep);outline-offset:3px}
@keyframes kc-sheet-enter{from{transform:translateY(100%)}to{transform:translateY(0)}}@media(max-width:760px){.kcb .kc-item{inset:auto 0 0 0;width:auto;height:auto;max-height:92dvh;border-radius:18px 18px 0 0;box-shadow:0 -10px 45px #0003;animation-name:kc-sheet-enter}.kcb .kc-item::before{content:"";position:absolute;top:8px;left:50%;width:40px;height:4px;margin-left:-20px;border-radius:2px;background:#28231e33}.kcb .kc-item-body{padding:28px 20px 20px}.kcb .kc-item-footer{padding-left:20px;padding-right:20px}}@media(prefers-reduced-motion:reduce){.kcb .kc-item{animation:none}}
@media(min-width:761px){.admin-bar .kcb .kc-item{top:32px;height:calc(100dvh - 32px)}}@media(min-width:761px) and (max-width:782px){.admin-bar .kcb .kc-item{top:46px;height:calc(100dvh - 46px)}}
.kcb .kc-item-added{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:14px;font-weight:600}.kcb .kc-item-added::before{content:"";flex-shrink:0;width:20px;height:20px;border-radius:50%;background:var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat}
.kcb .kc-bag-float{position:fixed;top:20px;right:max(12px,var(--pad) - 60px);z-index:12;width:52px;height:52px;border-color:#28231e44;background:var(--paper);box-shadow:0 10px 26px -10px rgba(32,30,28,.5);animation:kc-float-in .18s ease-out}.kcb .kc-bag-float:hover{background:var(--cream)}.admin-bar .kcb .kc-bag-float{top:52px}@media(max-width:782px){.admin-bar .kcb .kc-bag-float{top:66px}}@keyframes kc-float-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.kcb .kc-bag-float{animation:none}}
.kcb .kc-item-footer .btn:disabled{opacity:1;background:var(--cream);color:#5f554c}.kcb .kc-item-size{margin-top:6px;font-size:13px;font-weight:600;color:var(--sage-text)}
.kcb .kc-segment span{flex-direction:column;min-height:62px}.kcb .kc-segment small{font-size:14px;font-weight:500}
/* Phones flash a grey box over whatever is tapped. An option's tap area is a square-cornered label around a pill, so the box showed as a rectangle around it; the pill's own change of colour is the feedback. */
.kcb .kc-option{-webkit-tap-highlight-color:transparent}
/* A coffee page's order panel (product.php) is the sheet's body and footer laid into the page. */
.kcb .kc-item.kc-item--inline{position:static;inset:auto;z-index:auto;display:block;width:auto;height:auto;max-height:none;background:none;box-shadow:none;border-radius:0;animation:none}.kcb .kc-item--inline::before{display:none}.kcb .kc-item--inline .kc-item-body{overflow:visible;padding:0}.kcb .kc-item--inline .kc-item-size{margin:0 0 16px}.kcb .kc-item--inline .kc-item-footer{padding:0;border:0}
