/* Scoped to the new bundle controls; product pricing and existing cards stay intact. */
.kb-dialog,.kb-profile-entry,.kb-product-entry{--kb-blue:#1c579c;--kb-ink:#12345a;--kb-muted:#596b7f;--kb-line:#d6e2f0;--kb-soft:#f3f8fd;--kb-orange:#bd4d00;box-sizing:border-box}
.kb-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 20px;border:1px solid var(--kb-blue);border-radius:12px;background:#fff;color:var(--kb-blue);font:inherit;font-size:15px;font-weight:600;line-height:1.4;cursor:pointer;text-decoration:none;touch-action:manipulation;transition:background .15s,color .15s}
.kb-button:hover{background:var(--kb-soft);color:var(--kb-ink)}
.kb-button svg{width:22px;height:22px;flex:none}
.kb-button:disabled{opacity:.5;cursor:not-allowed}
.kb-button:focus-visible,.kb-dialog input:focus-visible,.kb-close:focus-visible{outline:3px solid #e98523;outline-offset:3px}
/* The public profile is a direct flex child of Astra's content container. */
body.kimmie-public-store-page #content > .ast-container > .kimmie-public-profile{width:100%;min-width:0;flex:1 1 100%}
.kimmie-seller-products__heading:has(.kb-product-entry){align-items:center;flex-wrap:wrap}
.kb-product-entry{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px 18px;max-width:100%;margin-left:auto}
.kimmie-seller-products__heading .kb-seller-name{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.kimmie-seller-products__heading .kb-seller-name:hover{color:#1c579c}
.kb-product-entry .kb-launch,.kb-profile-entry .kb-launch{background:var(--kb-orange);border-color:var(--kb-orange);color:#fff}
.kb-product-entry .kb-launch:hover,.kb-product-entry .kb-launch:focus,.kb-profile-entry .kb-launch:hover,.kb-profile-entry .kb-launch:focus{background:#9e4000;border-color:#9e4000;color:#fff}
.kb-profile-entry{display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--kb-soft);border:1px solid var(--kb-line);border-radius:16px;padding:20px 24px;margin:0 0 24px;color:var(--kb-ink)}
.kb-profile-entry strong{font-size:17px}.kb-profile-entry p{margin:5px 0 0;font-size:14px;line-height:1.5;color:var(--kb-muted)}
.kb-profile-entry .kb-launch{flex-shrink:0}
@media(max-width:767px){.kimmie-seller-products__heading:has(.kb-product-entry){align-items:stretch;flex-direction:column;gap:18px}.kb-product-entry{width:100%;margin-left:0;justify-content:center}.kb-product-entry .kb-launch{width:100%}}
body.kb-open{overflow:hidden}
.kb-dialog{width:min(960px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 48px);height:860px;padding:0;border:1px solid var(--kb-line);border-radius:24px;background:#fff;color:var(--kb-ink);box-shadow:0 24px 90px #12345a33;font-family:inherit;overflow:hidden;margin:auto}
.kb-dialog[open]{display:flex;flex-direction:column}.kb-dialog::backdrop{background:#12345a88}
.kb-dialog *{box-sizing:border-box}.kb-dialog [hidden]{display:none!important}
.kb-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px 32px 20px;border-bottom:1px solid var(--kb-line);flex:none;background:white}
.kb-head .kb-eyebrow{font-size:11px;letter-spacing:.1em;color:var(--kb-orange);font-weight:700;margin:0 0 8px}
.kb-head h2{font-size:29px;line-height:1.2;color:var(--kb-ink);margin:0 0 8px;letter-spacing:-.03em}
.kb-head .kb-intro{margin:0;font-size:14px;line-height:1.5;color:var(--kb-muted)}
.kb-close{flex:none;width:44px;height:44px;display:grid;place-items:center;padding:0;border:1px solid var(--kb-line);border-radius:50%;font-size:30px;line-height:1;color:var(--kb-ink);background:white;cursor:pointer}
.kb-dialog .kb-close:hover,.kb-dialog .kb-close:focus{background:var(--kb-soft);color:var(--kb-blue)}
.kb-dialog .kb-button:focus,.kb-dialog .kb-button:hover{background:var(--kb-soft);color:var(--kb-blue)}
.kb-dialog .kb-button.kb-primary:focus,.kb-dialog .kb-button.kb-primary:hover{background:#a84400;color:#fff}
.kb-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:24px 32px;scrollbar-gutter:stable}
.kb-search-label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}
.kb-dialog input[type=search]{width:100%;min-height:48px;background:var(--kb-soft);border:1px solid var(--kb-line);border-radius:12px;padding:10px 16px;color:var(--kb-ink);font-size:16px}
.kb-load{font-size:14px;color:var(--kb-muted);margin:12px 0;min-height:8px}
.kb-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.kb-card{display:flex;flex-direction:column;position:relative;border:2px solid transparent;border-radius:14px;overflow:hidden;cursor:pointer;background:#fff;box-shadow:0 0 0 1px var(--kb-line);transition:border-color .15s,background .15s;min-width:0;margin:0}
.kb-card:hover{border-color:#b9cfe7}.kb-card.is-selected{border-color:var(--kb-blue);background:var(--kb-soft)}
.kb-card:focus-within{outline:3px solid #e98523;outline-offset:3px}
.kb-card-select{display:block;position:relative;cursor:pointer;margin:0;line-height:0}
.kb-card-select>img{display:block;aspect-ratio:1;width:100%;height:auto;object-fit:cover}
.kb-card-select>input[type=checkbox]{appearance:auto;width:24px;height:24px;min-width:24px;margin:0;position:absolute;top:12px;right:12px;accent-color:var(--kb-blue);cursor:pointer;box-shadow:0 0 0 5px white;border-radius:3px}
.kb-card-copy{padding:12px;display:flex;flex-direction:column;gap:6px;flex:1}
.kb-card-title{font-size:14px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.kb-dialog a.kb-card-title,.kb-dialog a.kb-review-name{color:var(--kb-ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;overflow-wrap:anywhere}
.kb-dialog a.kb-card-title:hover,.kb-dialog a.kb-review-name:hover{color:var(--kb-blue)}
.kb-dialog a:focus-visible,.kb-seller-name:focus-visible{outline:3px solid #e98523;outline-offset:3px}
.kb-card-price{font-size:17px;font-weight:700;color:var(--kb-blue);margin-top:auto;padding-top:4px}
.kb-card-copy small{font-size:11px;line-height:1.4;color:var(--kb-muted)}
.kb-more{display:flex;margin:24px auto 0}.kb-error{padding:14px 16px;background:#fff5e9;border:1px solid #efc59a;border-radius:12px;color:#803300;font-size:14px;line-height:1.5;margin:0 0 20px}
.kb-foot{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--kb-line);padding:18px 32px max(18px,env(safe-area-inset-bottom));background:#fff;flex:none}
.kb-live{display:grid;grid-template-columns:auto auto;column-gap:20px;align-items:center}.kb-count{font-size:14px;line-height:1.4}.kb-amount{font-size:25px;font-weight:700;color:var(--kb-blue);font-variant-numeric:tabular-nums}.kb-note{grid-column:1/-1;font-size:12px;line-height:1.5;color:var(--kb-muted)}
.kb-dialog .kb-primary{background:var(--kb-orange);color:white;border-color:var(--kb-orange);min-width:210px}.kb-dialog .kb-primary:hover:not(:disabled){background:#9e4000}
.kb-review h3{font-size:23px;margin:24px 0 18px;color:var(--kb-ink)}
.kb-review-row{display:grid;grid-template-columns:64px 1fr auto auto;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--kb-line);font-size:14px}
.kb-review-row img{width:64px;height:64px;object-fit:cover;border-radius:10px}.kb-review-name{font-weight:600;line-height:1.5}.kb-review-row strong{white-space:nowrap}
.kb-remove{font-size:12px;padding:10px 12px;border:0;background:var(--kb-soft)}
.kb-totals{margin:24px 0 16px}.kb-totals>div{display:flex;justify-content:space-between;gap:20px;font-size:15px;padding:8px 0}.kb-totals dt{font-weight:400}.kb-totals dd{margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}.kb-totals>div:last-child{font-size:20px;font-weight:700;color:var(--kb-blue);border-top:1px solid var(--kb-line);margin-top:12px;padding-top:18px}.kb-totals>div:last-child dt{font-weight:700}
.kb-shipping-note,.kb-existing{font-size:13px;line-height:1.65;color:var(--kb-muted);margin:12px 0}.kb-existing{background:var(--kb-soft);padding:16px;border-radius:12px}
@media(max-width:767px){.kb-profile-entry{align-items:stretch;flex-direction:column;gap:16px;padding:18px}.kb-profile-entry .kb-launch{width:100%}.kb-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0;border:0}.kb-head{padding:max(20px,env(safe-area-inset-top)) 20px 16px;gap:8px}.kb-head h2{font-size:24px}.kb-head .kb-intro{font-size:13px}.kb-scroll{padding:20px}.kb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kb-card-copy{padding:10px}.kb-card-title{font-size:13px}.kb-foot{padding:14px 20px max(16px,env(safe-area-inset-bottom));gap:12px;flex-wrap:wrap}.kb-live{width:100%;grid-template-columns:1fr auto;column-gap:8px}.kb-amount{font-size:23px}.kb-dialog .kb-primary{width:100%;min-width:0}.kb-note{font-size:11px}.kb-review-row{grid-template-columns:52px 1fr auto;gap:10px}.kb-review-row img{width:52px;height:52px;grid-row:1/3}.kb-review-row .kb-remove{grid-column:2/4;justify-self:start;min-height:44px;padding:8px 12px}.kb-totals>div{font-size:14px}.kb-totals>div:last-child{font-size:18px}}
@media(max-height:500px){.kb-head{padding:12px 20px}.kb-head .kb-eyebrow,.kb-head .kb-intro{display:none}.kb-head h2{font-size:22px;margin:0}.kb-foot{flex-wrap:nowrap;padding:10px 20px}.kb-live{width:auto}.kb-dialog .kb-primary{width:auto;min-width:170px}.kb-count,.kb-note{font-size:11px}.kb-dialog{max-height:100dvh;height:100dvh}.kb-scroll{padding:16px 20px}}
@media(prefers-reduced-motion:reduce){.kb-button,.kb-card{transition:none}}

.kb-limit{margin:8px 0 0;color:#61768c;font-size:14px;line-height:1.5}

/* The idle status reserves 6px: mobile grid gap is 26px instead of 52px. */
.kb-load:empty{height:6px;min-height:0;margin:0;padding:0}

.kb-foot .kb-limit-error{color:#963d21;grid-column:1/-1;line-height:1.4}
