/* KeyPointS basket directory mobile presentation — scoped and opt-in.
   Required: KPSResponsiveCards.css, KPSMobileFoundation.css.
   Load AFTER those two, and REMOVE KPSUniversalMobile.css.
   Does not override Telerik internals, colgroups, or other app screens. */

.kps-basket-page { width:100%; min-width:0; max-width:100%; }
.kps-basket-page .kps-basket-desktop-only { display:block; min-width:0; }
.kps-basket-page .kps-basket-mobile-only { display:none; }
.kps-basket-page .kps-basket-filter .k-picker,
.kps-basket-page .kps-basket-filter .k-dropdownlist,
.kps-basket-page .kps-basket-filter .k-input { width:100%; max-width:100%; min-width:0; }
.kps-basket-clear-filters { margin-top:12px; padding:8px 0; background:transparent;
    border:0; color:#176fa0; font:inherit; font-size:12px; cursor:pointer; text-align:left; }
.kps-basket-clear-filters:focus-visible { outline:2px solid #176fa0; outline-offset:2px; }

.kps-basket-mobile-tools {display:flex; align-items:center; gap:8px; min-width:0;
    padding:10px; border-radius:9px; background:#e5f1df; margin-bottom:8px;}
.kps-basket-mobile-tools .kps-r-search {flex:1 1 auto; width:auto; min-width:0;}
.kps-basket-mobile-count {font-size:12px; color:#68798b; padding:4px 3px 10px;}
.kps-basket-card-heading {display:flex; align-items:flex-start; gap:9px; min-width:0;}
.kps-basket-card-check {padding-top:3px; flex:0 0 22px;}
.kps-basket-card-check input {width:18px; height:18px;}
.kps-basket-card-main {flex:1; min-width:0;}
.kps-basket-card-date {color:#6d7886; font-size:12px; margin-top:4px;}
.kps-basket-status {display:inline-block; max-width:37%; min-width:0; font-size:11px;
    font-weight:700; color:#2b623c; background:#e6f3de; padding:5px 7px;
    border-radius:6px; overflow-wrap:anywhere; text-align:center;}
.kps-basket-card-actions {display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px; padding-top:12px;}
.kps-basket-card-actions .k-button {width:100%; min-width:0; min-height:42px; white-space:normal;}
.kps-basket-mobile-detail {min-width:0; max-width:100%; overflow:hidden;
    border-top:1px solid #dce4ed; margin-top:14px; padding-top:12px;}
.kps-basket-mobile-pager {display:flex; flex-wrap:wrap; align-items:center;
    justify-content:space-between; gap:8px; padding:15px 3px; font-size:12px;}

.kps-basket-detail-summary {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
    margin:10px 0 14px; min-width:0;}
.kps-basket-summary-box {display:flex;flex-direction:column;gap:6px;
    padding:12px;border:1px solid #dae7d3;border-radius:8px;background:#eef6e8;min-width:0;}
.kps-basket-summary-box span {font-size:11px;color:#5d6972;}
.kps-basket-summary-box strong {font-size:16px;color:#203b2a;overflow-wrap:anywhere;}
.kps-basket-pricing-check {display:flex;flex-wrap:wrap;align-items:center;gap:8px;
    padding:12px;margin:10px 0;background:#fffaf0;border:1px solid #e0a800;border-radius:6px;}
.kps-basket-price-warning {border:1px solid #e0a800;border-radius:8px;background:#fffaf0;
    margin:12px 0;min-width:0;overflow:hidden;}
.kps-basket-price-warning-header {display:flex;justify-content:space-between;
    gap:12px;align-items:center;flex-wrap:wrap;padding:12px;min-width:0;}
.kps-basket-warning-title {display:flex;flex-direction:column;min-width:0;gap:4px;}
.kps-basket-warning-title strong {color:#705100;overflow-wrap:anywhere;}
.kps-basket-warning-title small {font-size:11px;color:#665a43;}
.kps-basket-price-actions {flex:1 1 auto;justify-content:flex-end;}
.kps-basket-price-changes {padding:12px;display:grid;gap:10px;border-top:1px solid #ecd595;}
.kps-basket-price-change-card {background:#fff;}
.kps-basket-line-subtitle {font-size:11px;color:#67798b;overflow-wrap:anywhere;margin-top:4px;}
.kps-basket-detail-desktop {display:block; min-width:0;}
.kps-basket-detail-mobile {display:none;}
.kps-basket-line-mobile-card {width:100%;min-width:0;}
.kps-basket-line-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:8px;}
.kps-basket-line-main {flex:1;min-width:0;}
.kps-basket-line-brand {font-size:11px;color:#64748b;max-width:90px;overflow-wrap:anywhere;}
.kps-basket-line-facts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 12px;border-top:1px solid #edf1f4;margin-top:12px;padding-top:12px;}
.kps-basket-line-facts > div {display:flex;flex-direction:column;gap:4px;min-width:0;}
.kps-basket-line-facts small {color:#657587;font-size:10px;}
.kps-basket-line-facts strong {font-size:12px;color:#25354b;overflow-wrap:anywhere;}
.kps-basket-line-total {margin:10px 0;}
.kps-basket-convert-body {padding:16px;min-width:0;max-width:100%;overflow-x:hidden;}
.kps-basket-price-reviews {display:grid;gap:10px;margin:12px 0;}
.kps-basket-dialog-actions {display:flex;align-items:center;justify-content:flex-end;
    flex-wrap:wrap;gap:8px;}
.kps-basket-dialog-actions .k-button {max-width:100%;white-space:normal;min-height:40px;}

@media screen and (max-width:767.98px) {
    .kps-basket-page .kps-basket-desktop-only {display:none !important;}
    .kps-basket-page .kps-basket-mobile-only {display:block !important; min-width:0; max-width:100%;}
    .kps-basket-page .kps-mobile-card-list {padding-inline:0;}
    .kps-basket-detail-desktop {display:none !important;}
    .kps-basket-detail-mobile {display:grid !important;}
    .kps-basket-detail-summary {grid-template-columns:repeat(2,minmax(0,1fr));}
    .kps-basket-price-warning-header {align-items:stretch;flex-direction:column;}
    .kps-basket-price-actions {width:100%;justify-content:stretch;}
    .kps-basket-price-actions .k-button {flex:1 1 120px;white-space:normal;}
    .kps-basket-convert-body {padding:12px;}
    .kps-basket-dialog-actions .k-button {flex:1 1 140px;}
}
@media screen and (max-width:360px) {
    .kps-basket-detail-summary {grid-template-columns:minmax(0,1fr);}
    .kps-basket-card-heading {flex-wrap:wrap;}
    .kps-basket-status {margin-left:30px;max-width:calc(100% - 30px);}
    .kps-basket-line-facts {grid-template-columns:minmax(0,1fr);}
}
@media print {
    .kps-basket-page .kps-basket-mobile-only,
    .kps-basket-detail-mobile {display:none !important;}
    .kps-basket-page .kps-basket-desktop-only,
    .kps-basket-detail-desktop {display:block !important;}
}
