.kc-storefront { --kc-store-nav-height: 84px; }
.kc-store-page { padding-bottom: calc(172px + env(safe-area-inset-bottom)); }
.kc-store-header { position: sticky; top: 0; z-index: 35; margin: 0 -18px; padding: 11px 18px 13px; border-bottom: 1px solid rgba(217, 225, 236, .9); background: rgba(238, 242, 247, .96); backdrop-filter: blur(12px); }
.kc-store-top-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.kc-store-icon-button { position: relative; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--kc-border); border-radius: 15px; background: #fff; color: var(--kc-blue); font-size: 19px; font-weight: 950; }
.kc-store-brand { display: flex; min-width: 0; align-items: center; gap: 9px; }
.kc-store-mini-logo { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 13px; background: linear-gradient(145deg, var(--kc-blue), var(--kc-blue-dark)); color: #fff; font-weight: 950; }
.kc-store-brand-copy { min-width: 0; }
.kc-store-brand-copy strong, .kc-store-brand-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kc-store-brand-copy strong { font-size: 15px; }
.kc-store-brand-copy span { margin-top: 2px; color: var(--kc-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.kc-store-cart-badge { position: absolute; top: -5px; right: -5px; display: grid; min-width: 20px; height: 20px; place-items: center; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; background: var(--kc-yellow); color: #111827; font-size: 10px; font-weight: 950; }
.kc-store-search { margin-top: 10px; }
.kc-store-search .kc-search-bar { box-shadow: 0 6px 18px rgba(17, 24, 39, .06); }
.kc-store-search-clear { display: none; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--kc-muted); font-size: 20px; }
.kc-store-hero { padding: 24px; }
.kc-store-hero-main { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 16px; }
.kc-store-logo { display: grid; width: 72px; height: 72px; place-items: center; overflow: hidden; border-radius: 22px; background: linear-gradient(145deg, var(--kc-blue), var(--kc-blue-dark)); color: #fff; font-size: 24px; font-weight: 950; }
.kc-store-logo img { width: 100%; height: 100%; object-fit: cover; }
.kc-store-identity { min-width: 0; }
.kc-store-name { margin: 1px 0 7px; font-size: clamp(27px, 6vw, 46px); letter-spacing: -1.1px; line-height: 1; }
.kc-store-description { max-width: 760px; margin: 0; color: var(--kc-muted); font-size: 14px; line-height: 1.48; }
.kc-store-approved { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; padding: 6px 9px; border-radius: 999px; background: #e9f8ee; color: #176b36; font-size: 11px; font-weight: 950; }
.kc-store-hero-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #edf1f6; }
.kc-store-info-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.kc-store-info-pill { padding: 8px 10px; border: 1px solid #e5ebf2; border-radius: 999px; background: #f8fafc; color: #4c596d; font-size: 12px; font-weight: 800; }
.kc-store-hero-actions { display: flex; justify-content: flex-end; gap: 8px; }
.kc-store-chip-button { min-height: 40px; padding: 0 14px; border: 1px solid var(--kc-border); border-radius: 13px; background: #fff; color: var(--kc-blue); font-size: 13px; font-weight: 900; }
.kc-store-chip-button.is-primary { border-color: var(--kc-blue); background: var(--kc-blue); color: #fff; }
.kc-store-section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.kc-store-section-head h2 { margin: 0; font-size: clamp(23px, 5vw, 36px); letter-spacing: -.7px; }
.kc-store-result-count { color: var(--kc-muted); font-size: 12px; font-weight: 850; white-space: nowrap; }
.kc-store-filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px 1px 8px; scrollbar-width: none; }
.kc-store-filters::-webkit-scrollbar { display: none; }
.kc-store-filter { flex: 0 0 auto; min-height: 38px; padding: 0 14px; border: 1px solid var(--kc-border); border-radius: 999px; background: #fff; color: var(--kc-blue); font-size: 12px; font-weight: 900; }
.kc-store-filter.is-active { border-color: var(--kc-blue); background: var(--kc-blue); color: #fff; }
.kc-store-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kc-store-product-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--kc-border); border-radius: 21px; background: #fff; box-shadow: 0 6px 18px rgba(17, 24, 39, .05); cursor: pointer; }
.kc-store-product-card[hidden] { display: none !important; }
.kc-store-product-card.is-selected { border: 2px solid var(--kc-yellow); box-shadow: 0 10px 26px rgba(247, 190, 0, .18); }
.kc-store-product-media { display: grid; aspect-ratio: 1.25 / 1; place-items: center; overflow: hidden; border-bottom: 1px solid #edf1f6; background: #f5f8fc; font-size: 42px; }
.kc-store-product-media img { width: 100%; height: 100%; object-fit: cover; }
.kc-store-available { position: absolute; top: 9px; left: 9px; padding: 5px 8px; border-radius: 999px; background: rgba(233, 248, 238, .96); color: #176b36; font-size: 10px; font-weight: 950; }
.kc-store-product-body { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 12px; }
.kc-store-product-name { overflow: hidden; margin: 0 0 4px; font-size: 14px; font-weight: 950; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.kc-store-product-category { overflow: hidden; margin: 0 0 11px; color: var(--kc-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.kc-store-product-bottom { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: auto; }
.kc-store-product-price { display: block; color: var(--kc-blue); font-size: 16px; font-weight: 950; }
.kc-store-product-unit { display: block; margin-top: 2px; color: var(--kc-muted); font-size: 10px; font-weight: 750; }
.kc-store-add { min-width: 54px; min-height: 38px; padding: 0 11px; border: 0; border-radius: 12px; background: var(--kc-yellow); color: #111827; font-size: 12px; font-weight: 950; }
.kc-store-add:disabled { background: #e7ebf0; color: #8b95a5; cursor: not-allowed; }
.kc-store-empty { display: none; padding: 34px 20px; border: 1px dashed var(--kc-border); border-radius: 22px; background: #f8fbfe; text-align: center; }
.kc-store-empty.is-visible { display: block; }
.kc-store-empty span { font-size: 40px; }
.kc-store-empty h3 { margin: 7px 0 5px; }
.kc-store-empty p { margin: 0; color: var(--kc-muted); font-size: 13px; }
.kc-store-catalog-empty { display: block; }
.kc-store-about { padding: 20px; }
.kc-store-about-list { display: grid; }
.kc-store-about-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 13px 0; border-bottom: 1px solid #edf1f6; }
.kc-store-about-row:last-child { border-bottom: 0; }
.kc-store-about-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; background: var(--kc-soft-blue); }
.kc-store-about-row strong { display: block; margin-bottom: 3px; font-size: 13px; }
.kc-store-about-row p { margin: 0; color: var(--kc-muted); font-size: 12px; line-height: 1.4; }
.kc-store-about-action { border: 0; background: transparent; color: var(--kc-blue); font-size: 12px; font-weight: 900; }
.kc-store-footer { padding: 28px 10px 10px; color: var(--kc-muted); font-size: 11px; line-height: 1.6; text-align: center; }
.kc-store-sticky-cart { position: fixed; right: 0; bottom: calc(var(--kc-store-nav-height) + env(safe-area-inset-bottom)); left: 0; z-index: 46; display: none; padding: 8px 12px; pointer-events: none; }
.kc-store-sticky-cart.is-visible { display: block; }
.kc-store-sticky-inner { display: flex; width: min(100%, 760px); align-items: center; justify-content: space-between; gap: 12px; margin: 0 auto; padding: 11px 13px; border: 1px solid #0a4779; border-radius: 18px; background: var(--kc-blue); box-shadow: 0 14px 34px rgba(13, 90, 155, .26); color: #fff; pointer-events: auto; }
.kc-store-sticky-meta { min-width: 0; }
.kc-store-sticky-meta strong, .kc-store-sticky-meta span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kc-store-sticky-meta strong { font-size: 14px; }
.kc-store-sticky-meta span { margin-top: 3px; color: #dcecff; font-size: 11px; }
.kc-store-view-cart { min-height: 42px; padding: 0 15px; border: 0; border-radius: 13px; background: var(--kc-yellow); color: #111827; font-size: 13px; font-weight: 950; white-space: nowrap; }
.kc-store-overlay { position: fixed; inset: 0; z-index: 80; display: none; align-items: flex-end; justify-content: center; padding: 16px; background: rgba(15, 23, 40, .44); backdrop-filter: blur(5px); }
.kc-store-overlay.is-open { display: flex; }
.kc-store-sheet { width: min(100%, 580px); max-height: calc(100vh - 32px); overflow-y: auto; padding: 20px; border: 1px solid #e3e9f1; border-radius: 27px; background: #fff; box-shadow: 0 28px 70px rgba(15, 23, 40, .26); }
.kc-store-sheet-handle { width: 46px; height: 5px; margin: -6px auto 15px; border-radius: 999px; background: #d7dee7; }
.kc-store-sheet-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.kc-store-sheet-head h2 { margin: 0; font-size: 22px; letter-spacing: -.5px; }
.kc-store-sheet-head p { margin: 4px 0 0; color: var(--kc-muted); font-size: 12px; line-height: 1.4; }
.kc-store-sheet-close { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 50%; background: #f1f4f8; color: var(--kc-text); }
.kc-store-detail-media { display: grid; width: 100%; aspect-ratio: 1.8 / 1; place-items: center; overflow: hidden; border-radius: 20px; background: #f5f8fc; font-size: 64px; }
.kc-store-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.kc-store-detail-media.is-zoomable { cursor: zoom-in; }
.kc-store-detail-media.is-zoomable::after { position: absolute; right: 13px; bottom: 13px; padding: 7px 10px; border-radius: 999px; background: rgba(13, 90, 155, .92); color: #fff; content: "View full size"; font-size: 10px; font-weight: 900; }
.kc-store-detail-media.is-zoomable { position: relative; }
.kc-store-detail-media.is-zoomable:focus-visible { outline: 3px solid rgba(247, 190, 0, .85); outline-offset: 3px; }
.kc-store-image-overlay { z-index: 95; align-items: center; }
.kc-store-image-dialog { width: min(100%, 920px); max-height: calc(100vh - 32px); padding: 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 24px; background: #101828; box-shadow: 0 28px 80px rgba(15, 23, 40, .5); color: #fff; }
.kc-store-image-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 0 12px 5px; }
.kc-store-image-head h2 { overflow: hidden; margin: 0; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.kc-store-image-close { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: #fff; color: #101828; font-size: 25px; cursor: pointer; }
.kc-store-image-stage { display: grid; height: min(76vh, 760px); place-items: center; overflow: hidden; border-radius: 17px; background: #fff; }
.kc-store-image-stage img { width: 100%; height: 100%; object-fit: contain; }
.kc-store-detail-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0; }
.kc-store-detail-price { color: var(--kc-blue); font-size: 22px; font-weight: 950; }
.kc-store-detail-copy { margin: 0; color: var(--kc-muted); font-size: 13px; line-height: 1.5; }
.kc-store-qty-row { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 18px 0; }
.kc-store-qty-button { width: 42px; height: 42px; border: 0; border-radius: 14px; background: var(--kc-soft-blue); color: var(--kc-blue); font-size: 20px; font-weight: 950; }
.kc-store-qty-value { min-width: 30px; font-weight: 950; text-align: center; }
.kc-store-sheet-primary, .kc-store-sheet-secondary { width: 100%; min-height: 48px; padding: 0 16px; border-radius: 14px; font-weight: 950; }
.kc-store-sheet-primary { border: 0; background: var(--kc-blue); color: #fff; }
.kc-store-sheet-primary:disabled { background: #cbd5e1; color: #f8fafc; cursor: not-allowed; }
.kc-store-sheet-secondary { margin-top: 9px; border: 1px solid var(--kc-border); background: #fff; color: var(--kc-blue); }
.kc-store-contact-list { display: grid; gap: 9px; }
.kc-store-contact-action { display: grid; width: 100%; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--kc-border); border-radius: 15px; background: #fff; color: var(--kc-text); text-align: left; }
.kc-store-contact-action.is-primary { border-color: var(--kc-blue); background: var(--kc-blue); color: #fff; }
.kc-store-contact-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: rgba(237, 243, 251, .95); }
.kc-store-contact-action strong, .kc-store-contact-action small { display: block; }
.kc-store-contact-action small { overflow: hidden; margin-top: 2px; color: var(--kc-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.kc-store-contact-action.is-primary small { color: #dcecff; }
.kc-store-cart-list { display: grid; }
.kc-store-cart-empty { margin: 0; padding: 20px; border: 1px dashed var(--kc-border); border-radius: 16px; color: var(--kc-muted); font-size: 13px; text-align: center; }
.kc-store-cart-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #edf1f6; }
.kc-store-cart-row:last-child { border-bottom: 0; }
.kc-store-cart-icon { display: grid; width: 46px; height: 46px; place-items: center; overflow: hidden; border-radius: 14px; background: #f5f8fc; font-size: 22px; }
.kc-store-cart-icon img { width: 100%; height: 100%; object-fit: cover; }
.kc-store-cart-info { min-width: 0; }
.kc-store-cart-info strong, .kc-store-cart-info span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kc-store-cart-info strong { font-size: 13px; }
.kc-store-cart-info span { margin-top: 3px; color: var(--kc-muted); font-size: 11px; }
.kc-store-cart-controls { display: grid; justify-items: end; gap: 6px; }
.kc-store-cart-qty { display: flex; align-items: center; gap: 7px; }
.kc-store-cart-qty button { width: 30px; height: 30px; border: 0; border-radius: 10px; background: var(--kc-soft-blue); color: var(--kc-blue); font-weight: 950; }
.kc-store-cart-qty span { min-width: 18px; font-size: 12px; font-weight: 950; text-align: center; }
.kc-store-remove { min-height: 28px; padding: 0 9px; border: 0; border-radius: 9px; background: #f4f6f8; color: #8a94a3; font-size: 10px; font-weight: 900; }
.kc-store-cart-total { display: flex; align-items: center; justify-content: space-between; margin: 16px 0; padding-top: 14px; border-top: 1px dashed var(--kc-border); font-weight: 900; }
.kc-store-cart-total strong { color: var(--kc-blue); font-size: 20px; }
.kc-store-seller-strip { margin-bottom: 14px; padding: 12px 13px; border: 1px solid #d9e4f0; border-radius: 15px; background: #f6f9fc; }
.kc-store-seller-strip strong, .kc-store-seller-strip span { display: block; }
.kc-store-seller-strip strong { font-size: 13px; }
.kc-store-seller-strip span { margin-top: 3px; color: var(--kc-muted); font-size: 11px; }
.kc-store-checkout-summary { display: grid; gap: 6px; margin-bottom: 14px; padding: 12px 13px; border: 1px solid var(--kc-border); border-radius: 15px; background: #fff; }
.kc-store-checkout-summary-row { display: flex; justify-content: space-between; gap: 12px; color: var(--kc-muted); font-size: 12px; }
.kc-store-checkout-summary-row strong { color: var(--kc-text); }
.kc-store-field label { display: block; margin: 12px 0 6px; font-size: 12px; font-weight: 900; }
.kc-store-field input, .kc-store-field textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--kc-border); border-radius: 13px; background: #f9fbfd; color: var(--kc-text); font: inherit; }
.kc-store-field textarea { min-height: 74px; resize: vertical; }
.kc-store-field-error { display: none; margin-top: 5px; color: #b42318; font-size: 11px; font-weight: 800; }
.kc-store-field-error.is-visible { display: block; }
.kc-store-guest-note { margin: 13px 0; padding: 11px 12px; border-radius: 13px; background: #fff8dc; color: #5d4a00; font-size: 11px; line-height: 1.45; }
.kc-store-warning { padding: 13px; border: 1px solid #f1d580; border-radius: 14px; background: #fff8dc; color: #594800; font-size: 13px; line-height: 1.45; }
.kc-store-warning strong { display: block; margin-bottom: 4px; }
.kc-store-toast { position: fixed; right: 18px; bottom: calc(170px + env(safe-area-inset-bottom)); z-index: 100; max-width: min(320px, calc(100vw - 36px)); padding: 11px 14px; border-radius: 13px; background: #101828; box-shadow: 0 14px 32px rgba(16, 24, 40, .22); color: #fff; font-size: 12px; font-weight: 850; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .18s ease; }
.kc-store-toast.is-visible { opacity: 1; transform: translateY(0); }
.kc-store-overlay button:focus-visible, .kc-store-icon-button:focus-visible, .kc-store-filter:focus-visible, .kc-store-product-card:focus-visible, .kc-store-add:focus-visible, .kc-store-chip-button:focus-visible, .kc-store-view-cart:focus-visible { outline: 3px solid rgba(247, 190, 0, .8); outline-offset: 2px; }
body.kc-store-modal-open { overflow: hidden; }
@media (min-width: 740px) {
    .kc-store-header { margin-right: -24px; margin-left: -24px; padding-right: 24px; padding-left: 24px; }
    .kc-store-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .kc-store-hero { padding: 28px; }
}
@media (min-width: 1000px) {
    .kc-store-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .kc-store-hero { padding: 19px; }
    .kc-store-hero-main { grid-template-columns: 1fr; }
    .kc-store-logo { width: 64px; height: 64px; }
    .kc-store-hero-footer { grid-template-columns: 1fr; align-items: start; }
    .kc-store-hero-actions { justify-content: flex-start; }
    .kc-store-about-row { grid-template-columns: auto minmax(0, 1fr); }
    .kc-store-about-action { grid-column: 2; width: fit-content; padding: 0; }
}
@media (max-width: 420px) {
    .kc-store-product-grid { gap: 9px; }
    .kc-store-product-body { padding: 10px; }
    .kc-store-product-name { font-size: 13px; }
    .kc-store-add { min-width: 48px; padding: 0 8px; }
    .kc-store-overlay { padding: 8px; }
    .kc-store-sheet { max-height: calc(100vh - 16px); padding: 17px; border-radius: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    .kc-store-toast { transition: none; }
}

.kc-store-whatsapp-optin{display:flex;gap:.7rem;align-items:flex-start;padding:.85rem;border:1px solid var(--kc-border,#d9e1ec);border-radius:12px;background:#fff;cursor:pointer}.kc-store-whatsapp-optin input{margin-top:.2rem}.kc-store-whatsapp-optin span{display:grid;gap:.2rem}.kc-store-whatsapp-optin small{color:var(--kc-muted,#78839a);line-height:1.35}
