.kh-cart-drawer {
  --cart-teal: #073f3b;
  --cart-ink: #142d29;
  --cart-muted: #536760;
  --cart-line: #dce4de;
  inset: 0 auto 0 0;
  width: min(100%, 470px);
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--cart-ink);
  box-shadow: 12px 0 44px #082c2626;
  font-family: inherit;
}
.kh-cart-drawer[open] { animation: kh-cart-enter .2s ease-out; }
.kh-cart-drawer::backdrop { background: #0d252770; }
.kh-cart-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.kh-cart-drawer svg, .kh-cart-toast svg { width: 20px; height: 20px; flex: none; }
.kh-cart-drawer button, .kh-cart-toast button { cursor: pointer; font-family: inherit; }
.kh-cart-drawer :is(button, a, summary):focus-visible, .kh-cart-toast button:focus-visible { outline: 3px solid #d56b32; outline-offset: 2px; }
.kh-cart-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 24px; border-bottom: 1px solid var(--cart-line); }
.kh-cart-top > div { display: flex; align-items: center; gap: 12px; }
.kh-cart-heading-text { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.kh-cart-top h2 { margin: 0; color: var(--cart-teal); font-size: 1.45rem; line-height: 1.65; }
.kh-cart-count { color: var(--cart-muted); font-size: .85rem; }
.kh-cart-heading-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 15px; background: #eaf2ec; color: var(--cart-teal); }
.kh-cart-heading-icon svg { width: 24px; height: 24px; }
.kh-cart-close, .kh-cart-row-head button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--cart-muted); }
.kh-cart-close:hover, .kh-cart-row-head button:hover { background: #edf3ef; color: var(--cart-teal); }
.kh-cart-stock-note { margin: 0; padding: 9px 24px; border-bottom: 1px solid #eddfc4; background: #fff5e5; color: #674c25; font-size: .85rem; }
.kh-cart-stock-note[hidden], .kh-cart-bottom[hidden], .kh-cart-toast[hidden] { display: none; }
.kh-cart-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-inline: 24px; }
.kh-cart-line { display: grid; grid-template-columns: 82px minmax(0,1fr); align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--cart-line); }
.kh-cart-line:last-child { border-bottom: none; }
.kh-cart-picture { display: grid; place-items: center; overflow: hidden; aspect-ratio: .88; border: 1px solid #e3e8e3; border-radius: 12px; background: #f3f3ee; }
.kh-cart-picture > img, .kh-cart-placeholder { width: 100%; height: 100%; object-fit: contain; }
.kh-cart-placeholder { display: grid; place-items: center; color: var(--cart-muted); }
.kh-cart-row-head, .kh-cart-commands, .kh-cart-total, .kh-cart-breakdown { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kh-cart-row-head h3 { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.kh-cart-row-head h3 a { color: var(--cart-ink); text-decoration: none; }
.kh-cart-row-head h3 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.kh-cart-row-head button { width: 36px; height: 36px; flex: none; }
.kh-cart-row-head svg { width: 17px; height: 17px; }
.kh-cart-unit { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 1px 0 9px; color: var(--cart-muted); font-size: .85rem; line-height: 1.5; }
.kh-cart-unit del { color: #737a73; font-size: .8rem; }
.kh-cart-discount { padding: 2px 7px; border-radius: 5px; background: #fff0e7; color: #8c3b18; font-size: .75rem; font-weight: 700; }
.kh-cart-commands strong { color: var(--cart-teal); font-size: 1rem; }
.kh-cart-stepper { display: inline-flex; align-items: center; border: 1px solid var(--cart-line); border-radius: 18px; }
.kh-cart-stepper button { display: grid; place-items: center; width: 35px; height: 33px; border: none; border-radius: inherit; padding: 0; background: white; color: var(--cart-teal); }
.kh-cart-stepper button:hover:enabled { background: #edf3ef; }
.kh-cart-stepper button:disabled { opacity: .38; cursor: default; }
.kh-cart-stepper svg { width: 14px; height: 14px; }
.kh-cart-stepper span { min-width: 16px; text-align: center; font-weight: 700; }
.kh-cart-bottom { flex: 0 1 auto; max-height: 52%; padding: 15px 24px max(15px,env(safe-area-inset-bottom)); overflow-y: auto; border-top: 1px solid var(--cart-line); background: #fafcf9; }
.kh-cart-prices:not(:empty) { margin-bottom: 9px; padding-bottom: 8px; border-bottom: 1px dashed #d2dcd4; }
.kh-cart-breakdown { color: var(--cart-muted); font-size: .86rem; line-height: 1.85; }
.kh-cart-saving { color: #22734c; }
.kh-cart-total { color: var(--cart-teal); }
.kh-cart-total b { font-size: 1rem; }
.kh-cart-total strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.kh-cart-disclosure { margin: 3px 0 11px; color: var(--cart-muted); font-size: .81rem; line-height: 1.65; }
.kh-cart-checkout, .kh-cart-empty button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 48px; padding: 10px 16px; border: 0; border-radius: 10px; background: var(--cart-teal); color: white; font-size: 1.02rem; font-weight: 700; text-decoration: none; }
.kh-cart-checkout:hover, .kh-cart-empty button:hover { background: #0a564a; }
.kh-cart-checkout[aria-disabled] { opacity: .5; cursor: default; }
.kh-cart-support, .kh-cart-secondary { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 16px; }
.kh-cart-support :is(button,a), .kh-cart-secondary button, .kh-cart-extras summary { min-height: 37px; border: 0; padding: 5px 3px; background: transparent; color: var(--cart-teal); font-size: .84rem; font-weight: 600; text-decoration: none; }
.kh-cart-support :is(button,a):hover, .kh-cart-secondary button:hover { text-decoration: underline; text-underline-offset: 3px; }
.kh-cart-support a, .kh-cart-secondary button { display: inline-flex; align-items: center; gap: 5px; }
.kh-cart-extras { border-top: 1px solid var(--cart-line); text-align: center; }
.kh-cart-extras summary { width: max-content; max-width: 100%; margin: auto; color: var(--cart-muted); cursor: pointer; }
.kh-cart-secondary svg { width: 17px; height: 17px; }
.kh-cart-status { color: var(--cart-teal); font-size: .84rem; text-align: center; }
.kh-cart-copy-fallback { display: block; width: 100%; min-height: 64px; margin-top: 8px; }
.kh-cart-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: min(100%,270px); height: 100%; text-align: center; }
.kh-cart-empty > span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 26px; background: #eaf2ec; color: var(--cart-teal); }
.kh-cart-empty > span svg { width: 32px; height: 32px; }
.kh-cart-empty h3 { margin: 18px 0 3px; font-size: 1.35rem; }
.kh-cart-empty p { margin: 4px 0 18px; color: var(--cart-muted); font-size: .95rem; }
.kh-cart-empty button { width: auto; min-width: 155px; }
.kh-cart-toast { position: fixed; z-index: 2147483000; inset: auto auto max(24px, env(safe-area-inset-bottom)) 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; width: max-content; max-width: calc(100vw - 26px); padding: 9px 12px; border-radius: 12px; background: #073f3b; color: white; box-shadow: 0 8px 28px #072e303f; font: inherit; line-height: 1.6; }
.kh-cart-tick { flex: none; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #c1f0cb31; }
.kh-cart-tick svg { width: 15px; height: 15px; }
.kh-cart-toast-message { font-size: .88rem; }
.kh-cart-toast button { flex: none; padding: 5px 10px; border: 1px solid #8aa9a1; border-radius: 7px; background: transparent; color: white; font-size: .83rem; }
@keyframes kh-cart-enter { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: translateX(0); } }
@media (max-width: 560px) {
  .kh-cart-top { padding: 14px 16px; }
  .kh-cart-body, .kh-cart-bottom { padding-inline: 16px; }
  .kh-cart-line { grid-template-columns: 72px minmax(0,1fr); gap: 12px; }
  .kh-cart-toast { bottom: calc(71px + env(safe-area-inset-bottom)); }
}
@media (max-height: 490px) {
  .kh-cart-shell { display: block; overflow-y: auto; }
  .kh-cart-body, .kh-cart-bottom { max-height: none; }
  .kh-cart-empty { min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) { .kh-cart-drawer[open] { animation: none; } }

.kh-cart-strip{display:none}.kh-cart-strip[hidden]{display:none!important}
@media(max-width:650px){.kh-cart-strip:not([hidden]){position:fixed;z-index:31;bottom:calc(65px + env(safe-area-inset-bottom));inset-inline:12px;display:block;border:0;border-radius:12px;background:#0e473a;color:white;padding:11px 18px;box-shadow:0 4px 18px #143e372b;font-size:.98rem;line-height:1.6;font-family:inherit;font-weight:700;cursor:pointer}body:has(.kh-cart-strip:not([hidden])){padding-bottom:140px}.kh-cart-toast{bottom:calc(120px + env(safe-area-inset-bottom))}}

.kh-cart-saving { background:#e8f5cf;color:#204a32;padding:.4rem .7rem;border-radius:.5rem;margin-block:.4rem }
.kh-cart-picture { border:0;background:#f3f3f1 }
@media (max-width:560px) and (min-height:491px) {
  .kh-cart-drawer { inset:auto 0 0;margin:0;width:100%;height:min(88dvh,860px);border-radius:24px 24px 0 0 }
  .kh-cart-top { border-top:4px solid #b9da4c }
  .kh-cart-line { grid-template-columns:84px minmax(0,1fr);padding-block:1rem }
}

.kh-cart-undo { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 20px;background:#eff6ed;color:var(--cart-teal);border-bottom:1px solid var(--cart-line);font-size:.9rem }
.kh-cart-undo span { min-width:0;overflow-wrap:anywhere }
.kh-cart-undo button { flex:none;min-height:44px;border:0;background:none;color:inherit;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px }
@media(max-width:560px) {
  .kh-cart-stepper button,.kh-cart-row-head button { min-width:44px;min-height:44px }
  .kh-cart-commands { flex-wrap:wrap }
}
.kh-estimate{display:grid;gap:.1rem;border-radius:.6rem;background:#eff5f0;padding:.45rem .7rem;font-size:.88rem;color:#214b39}
.kh-estimate>span{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem}
.kh-estimate>span:last-child{font-weight:700}
