/* Badikwa Inventory Calculator — clean modern website component */
#inventorySection.bdk-calculator{margin-top:32px;scroll-margin-top:120px}
.bdk-calc-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}
.bdk-calc-heading h3{margin:0 0 6px;font-size:30px;line-height:1.05;color:#0f2b36;letter-spacing:-.04em}
.bdk-calc-heading p{margin:0;max-width:760px;color:#617784;font-size:14px;line-height:1.65}
.bdk-calc-live{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.bdk-live-pill{display:inline-flex;align-items:center;gap:8px;padding:11px 14px;border:1px solid #d8e7eb;border-radius:999px;background:#fff;color:#42606b;font-size:12px;font-weight:800;white-space:nowrap;box-shadow:0 10px 22px rgba(12,58,66,.05)}
.bdk-live-pill strong{font-size:16px;color:#0c4e57}
.bdk-calc-shell{position:relative;overflow:hidden;border:1px solid #dbe8ec;border-radius:28px;background:linear-gradient(180deg,#ffffff 0%,#f7fbfc 100%);box-shadow:0 28px 70px rgba(9,55,64,.10)}
.bdk-calc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid #e5eef1;background:rgba(247,251,252,.92);backdrop-filter:blur(12px)}
.bdk-calc-tabs{display:flex;align-items:center;gap:8px;min-width:0;overflow-x:auto;scrollbar-width:none}
.bdk-calc-tabs::-webkit-scrollbar{display:none}
#inventorySection .inventory-category-btn,.bdk-preset-toggle{width:auto;flex:0 0 auto;display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:0 16px!important;border:1px solid #d9e7eb!important;border-radius:999px!important;background:#fff!important;color:#314955!important;font-size:12.5px!important;font-weight:900!important;white-space:nowrap;cursor:pointer;box-shadow:0 6px 16px rgba(12,58,66,.04);transition:.18s ease}
#inventorySection .inventory-category-btn:hover,.bdk-preset-toggle:hover{background:#eff8f9!important;color:#096e77!important;border-color:#bfe0e5!important}
#inventorySection .inventory-category-btn.active,.bdk-preset-toggle.active{background:linear-gradient(180deg,#0ea1ab 0%,#0b8a94 100%)!important;color:#fff!important;border-color:#0b8a94!important;box-shadow:0 12px 24px rgba(11,138,148,.24)}
#inventorySection .inventory-category-count{display:inline-flex!important;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#eef5f6;color:#55717a;font-size:11px;font-weight:900;line-height:1;box-sizing:border-box}
#inventorySection .inventory-category-btn.active .inventory-category-count{background:rgba(255,255,255,.22);color:#fff}
#inventorySection .inventory-category-btn.has-count:not(.active) .inventory-category-count{background:#0b8f99;color:#fff;box-shadow:0 5px 12px rgba(11,143,153,.18)}
.bdk-calc-search{position:relative;flex:0 1 320px;min-width:220px}
.bdk-calc-search svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#7a9099;pointer-events:none}
#inventorySection .inventory-search{width:100%;height:44px!important;min-height:44px!important;margin:0!important;padding:0 16px 0 42px!important;border:1px solid #d8e7eb!important;border-radius:999px!important;background:#fff!important;box-shadow:0 8px 18px rgba(12,58,66,.05);font-size:13.5px!important;color:#193641}
#inventorySection .inventory-search:focus{border-color:#79c9d0!important;box-shadow:0 0 0 4px rgba(25,181,193,.10)}
.bdk-preset-panel{padding:18px;border-bottom:1px solid #e4edf0;background:linear-gradient(180deg,#f8fcfd 0%,#f4fafb 100%)}
.bdk-preset-panel[hidden]{display:none}
.bdk-preset-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.bdk-preset-intro strong{font-size:14px;color:#133642}
.bdk-preset-intro span{font-size:12px;color:#6c818a}
.bdk-preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.bdk-preset-card{position:relative;min-height:80px;padding:13px 14px;border:1px solid #d8e6ea;border-radius:18px;background:#fff;text-align:left;cursor:pointer;transition:.18s ease;box-shadow:0 10px 22px rgba(9,55,64,.05)}
.bdk-preset-card:hover{transform:translateY(-2px);border-color:#8ccfd5;box-shadow:0 16px 28px rgba(8,105,116,.10)}
.bdk-preset-card strong{display:block;color:#0d313c;font-size:13px;margin-bottom:5px}
.bdk-preset-card span{display:block;color:#71848d;font-size:10.7px;line-height:1.4}
.bdk-preset-card.is-selected{border-color:#7ccf96;background:#effaf3;box-shadow:0 12px 24px rgba(45,151,90,.11)}
.bdk-size-preset-strip{margin:0 0 20px;padding:20px 22px;border:1px solid #dbe9ec;border-radius:24px;background:linear-gradient(135deg,#ffffff 0%,#f5fafb 100%);box-shadow:0 18px 38px rgba(9,55,64,.06)}
.bdk-size-preset-copy{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px}
.bdk-size-preset-copy strong{font-size:18px;line-height:1.2;color:#0d303b}
.bdk-size-preset-copy span{max-width:650px;color:#6a8089;font-size:12.5px;line-height:1.55;text-align:right}
.bdk-size-preset-buttons{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.bdk-size-preset-button{position:relative;min-height:74px;padding:12px;border:1px solid #d9e6e9;border-radius:18px;background:#fff;color:#18343d;font-size:13px;font-weight:900;cursor:pointer;box-shadow:0 10px 22px rgba(12,58,66,.05);transition:.18s ease;text-align:center}
.bdk-size-preset-button span{display:block;line-height:1.25}
.bdk-size-preset-button:hover{transform:translateY(-3px);border-color:#81ced4;box-shadow:0 15px 28px rgba(7,126,136,.12)}
.bdk-size-preset-button.is-selected{border-color:#7ac34c;background:linear-gradient(180deg,#8ad55f 0%,#6dc345 100%);color:#fff;box-shadow:0 15px 28px rgba(91,173,52,.18)}
.bdk-size-preset-button.is-selected:after{content:"Loaded";position:absolute;left:50%;bottom:-10px;transform:translateX(-50%);padding:4px 10px;border-radius:999px;background:#102e38;color:#fff;font-size:9px;letter-spacing:.05em;text-transform:uppercase;box-shadow:0 8px 18px rgba(16,46,56,.18)}
.bdk-preset-status{margin-top:16px;padding:11px 14px;border:1px solid #e5eef1;border-radius:14px;background:#fff;color:#6b8088;font-size:12px;text-align:center}
.bdk-preset-status.is-loaded{background:#ecf8ef;border-color:#cce8d4;color:#26713f;font-weight:800}
.bdk-calc-visual{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);gap:0;border-bottom:1px solid #e5eef1;background:#fbfdfd}
.bdk-scene-card{position:relative;min-height:300px;overflow:hidden;background:linear-gradient(135deg,#f1f7f8,#fbfdfd);border-right:1px solid #e4edf0}
.bdk-scene-card img{display:block;width:100%;height:300px;object-fit:cover;transition:opacity .2s ease,transform .35s ease}
.bdk-scene-card.is-changing img{opacity:.22;transform:scale(.985)}
.bdk-scene-caption{position:absolute;left:18px;bottom:18px;max-width:calc(100% - 36px);padding:12px 15px;border:1px solid rgba(255,255,255,.75);border-radius:16px;background:rgba(10,45,56,.83);color:#fff;backdrop-filter:blur(8px);box-shadow:0 14px 28px rgba(5,42,50,.18)}
.bdk-scene-caption strong{display:block;font-size:14px}
.bdk-scene-caption span{display:block;margin-top:4px;color:rgba(255,255,255,.8);font-size:11px;line-height:1.45}
.bdk-load-panel{padding:24px 22px;background:linear-gradient(180deg,#ffffff 0%,#f8fbfc 100%)}
.bdk-load-label{text-transform:uppercase;letter-spacing:.09em;font-size:10px;font-weight:900;color:#0a8b95}
.bdk-load-panel h4{margin:8px 0 5px;color:#0b2d38;font-size:30px;line-height:1.08;letter-spacing:-.03em}
.bdk-load-panel>p{margin:0;color:#6b8089;font-size:12px;line-height:1.55}
.bdk-truck-meter{position:relative;height:98px;margin:18px 0 14px}
.bdk-truck-box{position:absolute;left:0;top:9px;width:72%;height:67px;border:3px solid #075d67;border-radius:10px 6px 6px 10px;overflow:hidden;background:#eef8f9}
.bdk-truck-fill{position:absolute;left:0;bottom:0;height:100%;width:0;background:linear-gradient(90deg,#12a8b2,#59d0b2);transition:width .45s cubic-bezier(.2,.8,.2,1)}
.bdk-truck-cab{position:absolute;right:7%;top:26px;width:23%;height:50px;border:3px solid #075d67;border-left:0;border-radius:0 12px 8px 0;background:#dff2f4}
.bdk-truck-cab:before{content:"";position:absolute;right:9px;top:7px;width:31px;height:17px;border-radius:5px;background:#91d9de}
.bdk-wheel{position:absolute;bottom:4px;width:27px;height:27px;border:7px solid #073d46;border-radius:50%;background:#fff}
.bdk-wheel.one{left:16%}.bdk-wheel.two{right:14%}
.bdk-fill-copy{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11.5px;color:#647b84}
.bdk-fill-copy strong{color:#0a5963;font-size:14px}
.bdk-volume-bar{height:8px;margin-top:8px;border-radius:999px;background:#e4eef0;overflow:hidden}
.bdk-volume-bar span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#078b95,#5ed0b0);transition:width .45s ease}
.bdk-calc-body{padding:20px}
#inventorySection .inventory-catalog{padding:0!important}
#inventorySection .tab-content{display:none}
#inventorySection .tab-content.active{display:block}
#inventorySection .inv-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px!important;padding:0!important;border:0!important;font-size:17px!important;color:#0d333f!important}
.bdk-category-sub{font-size:11.5px;color:#71858e;font-weight:600}
#inventorySection .inventory-items-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#inventorySection .inventory-group{margin:0!important}
#inventorySection .item-row{position:relative;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;min-height:102px!important;padding:16px 16px 16px 18px!important;border:1px solid #dce8ec!important;border-radius:22px!important;background:linear-gradient(180deg,#ffffff 0%,#fbfdfd 100%)!important;box-shadow:0 12px 26px rgba(10,54,63,.05)!important;transition:.18s ease;overflow:hidden}
#inventorySection .item-row:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,#0ea7b0,#65d2b3);border-radius:22px 0 0 22px;opacity:.9}
#inventorySection .item-row:after{content:"";position:absolute;right:-24px;top:-24px;width:70px;height:70px;border-radius:50%;background:radial-gradient(circle,rgba(12,173,180,.08) 0%,rgba(12,173,180,0) 70%);pointer-events:none}
#inventorySection .item-row:hover{transform:translateY(-2px);border-color:#8fd5da!important;box-shadow:0 18px 34px rgba(8,87,96,.10)!important}
#inventorySection .item-row.has-items{border-color:#54c0c8!important;background:linear-gradient(180deg,#f1fbfc 0%,#ebfbfb 100%)!important;box-shadow:0 16px 30px rgba(7,139,149,.10)!important}
#inventorySection .inventory-item-name{display:block;max-width:100%;font-size:18px;font-weight:900;color:#102f3a;line-height:1.26;letter-spacing:-.01em}
.bdk-item-volume{display:inline-flex;align-items:center;margin-top:10px;padding:7px 12px;border-radius:999px;background:#f1f7f8;color:#56717a;font-size:12px;font-weight:800;line-height:1.1}
#inventorySection .inventory-row-actions{display:flex;align-items:center;align-self:center;flex:0 0 auto}
#inventorySection .inventory-add-button{min-width:78px;padding:11px 16px;border:1px solid #97d7dd;border-radius:999px;background:linear-gradient(180deg,#f4fbfc 0%,#e5f7f8 100%);color:#075f69;text-decoration:none;font-size:13px;font-weight:900;box-shadow:0 6px 14px rgba(10,126,136,.10)}
#inventorySection .inventory-add-button:hover{background:linear-gradient(180deg,#e8f8f9 0%,#daf5f6 100%);border-color:#7ccfd5;color:#064e56}
#inventorySection .inventory-inline-controls{gap:6px}
#inventorySection .inventory-inline-controls button{width:36px;height:36px;border:1px solid #b7dde0;border-radius:12px;background:#fff;color:#076874;font-size:18px;font-weight:900;box-shadow:0 4px 10px rgba(8,87,96,.06)}
#inventorySection .inventory-inline-controls button:hover{border-color:#8ccfd5;background:#f4fbfc}
#inventorySection .inventory-inline-qty{min-width:36px;height:36px;border-radius:12px;background:#078b95;color:#fff;font-size:13px;font-weight:900;box-shadow:0 8px 18px rgba(7,139,149,.18)}
.bdk-selected-card{margin-top:18px;border:1px solid #dbe7ea;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 12px 28px rgba(12,58,66,.05)}
.bdk-selected-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid #e6eef1;background:#f7fbfc}
.bdk-selected-head strong{font-size:13px;color:#163743}.bdk-selected-head span{color:#71848d;font-size:11px}.bdk-clear{border:0;background:transparent;color:#9b3d3d;font-size:11px;font-weight:850;cursor:pointer}
.bdk-selected-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px}
.bdk-selected-empty{grid-column:1/-1;padding:14px;color:#758991;font-size:11.5px;text-align:center}
.bdk-selected-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border:1px solid #e2ebed;border-radius:12px;background:#fbfdfd}
.bdk-selected-name{min-width:0;color:#183844;font-size:11px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bdk-selected-qty{flex:0 0 auto;color:#07737e;font-size:11px;font-weight:900}
.bdk-calc-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;margin-top:15px}
#inventorySection .inventory-import{width:100%;border:1px solid #dce7ea;border-radius:16px;background:#fbfdfd}
#inventorySection .inventory-import summary{justify-content:flex-start;min-height:46px;padding:0 14px;color:#0b6370;font-size:12px}
#inventorySection .inventory-import summary::before{content:"";display:none}
.bdk-manual-note{align-self:stretch;display:flex;align-items:center;max-width:280px;padding:12px 14px;border:1px solid #e2e9eb;border-radius:16px;background:#fff;color:#6a7e87;font-size:11px;line-height:1.55;box-shadow:0 8px 20px rgba(12,58,66,.04)}
#inventorySection .inventory-no-results{margin:13px 0 0}
.summary-card{position:sticky;top:110px;overflow:hidden;border:1px solid rgba(8,98,116,.08);border-radius:28px;background:linear-gradient(180deg,#072d47 0%,#0a4962 100%);color:#fff;box-shadow:0 26px 60px rgba(5,34,52,.18)}
.summary-card .summary-header{padding:0}
.summary-card .summary-header h3{margin:0 0 8px;font-size:30px;line-height:1.05;letter-spacing:-.03em}
.summary-card .summary-header p{margin:0;color:rgba(255,255,255,.74);font-size:13px;line-height:1.55}
.summary-card .btn-submit{width:100%;margin-top:18px;border-radius:18px;background:linear-gradient(90deg,#12a8b2,#1194a7);border:0;font-weight:900;font-size:15px;box-shadow:0 14px 28px rgba(12,172,184,.22)}
.summary-box{margin-top:18px;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.12);padding:18px;border-radius:22px}
.summary-row{display:flex;justify-content:space-between;gap:12px;padding:12px 2px;border-bottom:1px solid rgba(255,255,255,.10)}
.summary-row:last-child{border-bottom:0;padding-bottom:0}
.summary-row span:first-child{color:rgba(255,255,255,.72)}
.summary-row span:last-child{font-weight:800;color:#fff}
.total-estimate{margin-top:14px;background:#fff;border:none;color:#082f49;border-radius:22px;padding:18px 18px;box-shadow:0 8px 20px rgba(9,39,57,.12);font-size:15px;font-weight:500}
.total-estimate span{font-size:34px;font-weight:900;letter-spacing:-.03em}
.inventory-pricing-note{display:none;margin-top:12px;background:rgba(245, 214, 87, .15);border:1px solid rgba(245, 214, 87, .33);border-radius:16px;padding:12px 14px;color:#fff5c8;font-size:12px;line-height:1.55}
.summary-note{margin-top:14px;color:rgba(255,255,255,.78);font-size:12px;line-height:1.6}
@media(max-width:1180px){.bdk-size-preset-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}.bdk-preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#inventorySection .inventory-items-list{grid-template-columns:repeat(2,minmax(0,1fr))}.bdk-calc-visual{grid-template-columns:minmax(0,1.25fr) minmax(240px,.75fr)}}
@media(max-width:980px){.summary-card{position:static}.bdk-calc-heading h3{font-size:26px}.bdk-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bdk-size-preset-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.bdk-calc-heading{align-items:flex-start;flex-direction:column}.bdk-calc-live{justify-content:flex-start}.bdk-calc-toolbar{align-items:stretch;flex-direction:column}.bdk-calc-search{flex-basis:auto;min-width:0}.bdk-size-preset-copy{align-items:flex-start;flex-direction:column}.bdk-size-preset-copy span{text-align:left}.bdk-size-preset-buttons{display:flex;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:2px 2px 14px;scrollbar-width:none}.bdk-size-preset-buttons::-webkit-scrollbar{display:none}.bdk-size-preset-button{min-width:106px;min-height:82px;flex:0 0 106px}.bdk-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bdk-calc-visual{grid-template-columns:1fr}.bdk-scene-card{border-right:0;border-bottom:1px solid #e2ecee}.bdk-scene-card,.bdk-scene-card img{height:230px;min-height:230px}.bdk-load-panel{padding:18px}.bdk-truck-meter{max-width:360px}#inventorySection .inventory-items-list{grid-template-columns:1fr}.bdk-selected-list{grid-template-columns:1fr}.bdk-calc-bottom{grid-template-columns:1fr}.bdk-manual-note{max-width:none}.bdk-calc-body{padding:14px}#inventorySection .item-row{min-height:90px!important;padding:14px 14px 14px 16px!important}#inventorySection .inventory-item-name{font-size:16px}.bdk-item-volume{font-size:11px;padding:6px 10px}#inventorySection .inventory-add-button{min-width:66px;padding:10px 14px;font-size:12px}.summary-card{position:static;top:auto}}
@media(max-width:430px){.bdk-preset-grid{grid-template-columns:1fr}.bdk-calc-shell,.summary-card,.bdk-size-preset-strip{border-radius:20px}.bdk-calc-tabs{margin-right:-5px}.bdk-scene-caption{left:12px;bottom:12px}.bdk-load-panel h4{font-size:22px}.bdk-calc-heading h3{font-size:24px}}


/* Starter inventory choice */
.bdk-estimator-choice{display:flex;align-items:center;justify-content:space-between;gap:18px}
.bdk-estimator-choice-copy{min-width:0}
.bdk-estimator-choice-copy strong{display:block;color:#0d303b;font-size:17px;line-height:1.25}
.bdk-estimator-choice-copy span{display:block;margin-top:5px;color:#6a8089;font-size:12px;line-height:1.5}
.bdk-estimator-choice-buttons{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.bdk-estimator-choice-button{min-height:42px;padding:0 15px;border:1px solid #d6e5e9;border-radius:999px;background:#fff;color:#35515c;font-size:12px;font-weight:900;cursor:pointer;transition:.18s ease}
.bdk-estimator-choice-button:hover{border-color:#8fcfd5;background:#f3fafb;color:#096873}
.bdk-estimator-choice-button.is-selected{border-color:#0b8f99;background:#0b8f99;color:#fff;box-shadow:0 9px 20px rgba(11,143,153,.18)}
.bdk-size-preset-options{margin-top:17px;padding-top:17px;border-top:1px solid #e3ecef}
.bdk-size-preset-options[hidden]{display:none!important}
.bdk-size-preset-copy{margin-bottom:11px}
.bdk-size-preset-copy strong{font-size:14px}
.bdk-size-preset-buttons{gap:9px}
.bdk-size-preset-button{min-height:56px;padding:9px 8px;border-radius:14px;font-size:12px;box-shadow:0 7px 16px rgba(12,58,66,.04)}
.bdk-size-preset-button.is-selected:after{bottom:-8px;padding:3px 8px;font-size:8px}
.bdk-preset-status{margin-top:13px;padding:9px 12px;font-size:11px}

/* Compact item selector cards */
#inventorySection .inventory-items-list{gap:10px}
#inventorySection .item-row{align-items:center!important;min-height:66px!important;padding:10px 11px 10px 14px!important;border-radius:15px!important;box-shadow:0 7px 16px rgba(10,54,63,.045)!important}
#inventorySection .item-row:before{width:4px;border-radius:15px 0 0 15px}
#inventorySection .item-row:after{display:none}
#inventorySection .item-row:hover{transform:translateY(-1px);box-shadow:0 11px 22px rgba(8,87,96,.075)!important}
#inventorySection .inventory-item-name{font-size:14px;line-height:1.2}
.bdk-item-volume{margin-top:5px;padding:4px 7px;font-size:9.5px}
#inventorySection .inventory-add-button{min-width:54px;padding:7px 10px;font-size:11px;box-shadow:none}
#inventorySection .inventory-inline-controls{gap:4px}
#inventorySection .inventory-inline-controls button{width:28px;height:28px;border-radius:8px;font-size:15px;box-shadow:none}
#inventorySection .inventory-inline-qty{min-width:28px;height:28px;border-radius:8px;font-size:11px;box-shadow:none}

@media(max-width:760px){
  .bdk-estimator-choice{align-items:flex-start;flex-direction:column;gap:12px}
  .bdk-estimator-choice-buttons{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .bdk-estimator-choice-button{min-height:44px;padding:7px 10px;line-height:1.3}
  .bdk-size-preset-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;padding:0}
  .bdk-size-preset-button{min-width:0;min-height:52px;flex:auto}
  #inventorySection .item-row{min-height:60px!important;padding:9px 9px 9px 13px!important}
  #inventorySection .inventory-item-name{font-size:13px}
  .bdk-item-volume{font-size:9px;padding:3px 6px}
  #inventorySection .inventory-add-button{min-width:50px;padding:7px 9px;font-size:10.5px}
  #inventorySection .inventory-inline-controls button{width:27px;height:27px}
  #inventorySection .inventory-inline-qty{min-width:27px;height:27px}
}
@media(max-width:430px){
  .bdk-estimator-choice-buttons{grid-template-columns:1fr}
  .bdk-size-preset-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Manual inventory mode: presets and room illustrations removed */
.bdk-load-panel-standalone{
    display:block;
    padding:18px 20px;
    border-bottom:1px solid #e5eef1;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbfc 100%);
}
.bdk-load-summary-copy{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:22px;
}
.bdk-load-panel-standalone h4{
    margin:5px 0 3px;
    font-size:23px;
}
.bdk-load-panel-standalone .bdk-fill-copy{
    min-width:220px;
    justify-content:flex-end;
    flex-wrap:wrap;
    text-align:right;
}
.bdk-load-panel-standalone .bdk-volume-bar{
    margin-top:12px;
}
@media(max-width:760px){
    .bdk-load-panel-standalone{padding:15px 14px}
    .bdk-load-summary-copy{align-items:flex-start;flex-direction:column;gap:10px}
    .bdk-load-panel-standalone .bdk-fill-copy{min-width:0;width:100%;justify-content:space-between;text-align:left}
    .bdk-load-panel-standalone h4{font-size:20px}
}


/* Animated live truck only — room scenes and bedroom presets remain removed */
.bdk-live-truck{
    position:relative;
    width:min(100%,430px);
    height:126px;
    margin:16px auto 12px;
    overflow:hidden;
    border:1px solid #dce9ec;
    border-radius:20px;
    background:linear-gradient(180deg,#eef9fa 0%,#fafdfe 70%,#e8f1f3 70%,#e8f1f3 100%);
}
.bdk-live-truck-road{
    position:absolute;
    left:0;right:0;bottom:18px;
    height:4px;
    overflow:hidden;
    background:#bdd0d5;
}
.bdk-live-truck-road span{
    position:absolute;
    top:1px;
    width:52px;
    height:2px;
    border-radius:999px;
    background:#fff;
    animation:bdkRoadMove 1.4s linear infinite;
}
.bdk-live-truck-road span:nth-child(1){left:10px}
.bdk-live-truck-road span:nth-child(2){left:145px;animation-delay:-.45s}
.bdk-live-truck-road span:nth-child(3){left:290px;animation-delay:-.9s}
.bdk-live-truck-body{
    position:absolute;
    left:50%;
    bottom:22px;
    width:286px;
    height:78px;
    transform:translateX(-50%);
    animation:bdkTruckFloat 1.6s ease-in-out infinite;
}
.bdk-live-truck-box{
    position:absolute;
    left:0;
    top:2px;
    width:194px;
    height:61px;
    overflow:hidden;
    border:3px solid #075d67;
    border-radius:10px 4px 4px 10px;
    background:#eef8f9;
}
.bdk-live-truck-fill{
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:100%;
    background:linear-gradient(90deg,#0ca9b3 0%,#52ccb1 100%);
    transition:width .5s cubic-bezier(.2,.8,.2,1);
}
.bdk-live-truck-load-lines{
    position:absolute;
    inset:0;
    opacity:.18;
    background:repeating-linear-gradient(90deg,transparent 0 32px,#075d67 32px 34px);
    pointer-events:none;
}
.bdk-live-truck-cab{
    position:absolute;
    right:0;
    top:21px;
    width:91px;
    height:43px;
    border:3px solid #075d67;
    border-left:0;
    border-radius:0 13px 8px 0;
    background:#dff2f4;
}
.bdk-live-truck-window{
    position:absolute;
    right:13px;
    top:7px;
    width:34px;
    height:17px;
    border-radius:5px 8px 4px 4px;
    background:#83d3da;
}
.bdk-live-truck-light{
    position:absolute;
    right:-5px;
    bottom:7px;
    width:8px;
    height:7px;
    border-radius:2px;
    background:#ffd66e;
    box-shadow:5px 0 14px rgba(255,214,110,.7);
}
.bdk-live-truck-wheel{
    position:absolute;
    bottom:0;
    width:31px;
    height:31px;
    border:8px solid #073d46;
    border-radius:50%;
    background:#fff;
    animation:bdkWheelTurn .75s linear infinite;
}
.bdk-live-truck-wheel:after{
    content:"";
    position:absolute;
    inset:4px;
    border:2px solid #94adb4;
    border-radius:50%;
}
.bdk-live-truck-wheel-one{left:42px}
.bdk-live-truck-wheel-two{right:28px}
.bdk-live-truck:not(.has-load) .bdk-live-truck-body,
.bdk-live-truck:not(.has-load) .bdk-live-truck-road span,
.bdk-live-truck:not(.has-load) .bdk-live-truck-wheel{
    animation-play-state:paused;
}
.bdk-live-truck.is-full .bdk-live-truck-fill{
    background:linear-gradient(90deg,#f2a33b 0%,#ef7b42 100%);
}
@keyframes bdkTruckFloat{
    0%,100%{transform:translateX(-50%) translateY(0)}
    50%{transform:translateX(-50%) translateY(-2px)}
}
@keyframes bdkWheelTurn{to{transform:rotate(360deg)}}
@keyframes bdkRoadMove{
    from{transform:translateX(0)}
    to{transform:translateX(145px)}
}
@media(max-width:560px){
    .bdk-live-truck{height:112px;margin:14px auto 10px;border-radius:17px}
    .bdk-live-truck-body{width:248px;height:70px;bottom:20px}
    .bdk-live-truck-box{width:166px;height:54px}
    .bdk-live-truck-cab{width:79px;height:39px;top:18px}
    .bdk-live-truck-wheel{width:28px;height:28px;border-width:7px}
    .bdk-live-truck-wheel-one{left:35px}
    .bdk-live-truck-wheel-two{right:23px}
}
@media(prefers-reduced-motion:reduce){
    .bdk-live-truck-body,.bdk-live-truck-road span,.bdk-live-truck-wheel{animation:none!important}
}

/* Room and search inventory popup */
body.bdk-inventory-modal-open{overflow:hidden!important}
.bdk-inventory-modal[hidden]{display:none!important}
.bdk-inventory-modal{position:fixed;inset:0;z-index:20000;display:grid;place-items:center;padding:22px}
.bdk-inventory-modal-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(5,27,35,.62);backdrop-filter:blur(5px);cursor:default}
.bdk-inventory-modal-dialog{position:relative;display:flex;flex-direction:column;width:min(100%,1000px);max-height:min(88vh,820px);overflow:hidden;border:1px solid rgba(255,255,255,.72);border-radius:28px;background:#fff;box-shadow:0 34px 90px rgba(4,31,40,.28);opacity:0;transform:translateY(18px) scale(.985);transition:opacity .16s ease,transform .16s ease}
.bdk-inventory-modal-dialog.is-open{opacity:1;transform:translateY(0) scale(1)}
.bdk-inventory-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 15px;border-bottom:1px solid #e5eef1;background:linear-gradient(180deg,#fff,#f8fbfc)}
.bdk-inventory-modal-heading>span{display:block;margin-bottom:5px;color:#0a8993;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.bdk-inventory-modal-heading h3{margin:0;color:#102f3a;font-size:25px;line-height:1.15;letter-spacing:-.03em}
.bdk-inventory-modal-heading p{margin:7px 0 0;color:#6c8089;font-size:12px;line-height:1.5}
.bdk-inventory-modal-close{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #d8e6e9;border-radius:14px;background:#fff;color:#173843;font-size:27px;line-height:1;cursor:pointer;box-shadow:0 8px 18px rgba(12,58,66,.05)}
.bdk-inventory-modal-close:hover{border-color:#91d0d5;background:#f1fafb;color:#08727b}
.bdk-inventory-modal-search-wrap{position:relative;padding:14px 24px;border-bottom:1px solid #e9f0f2;background:#fff}
.bdk-inventory-modal-search-wrap svg{position:absolute;left:39px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#78909a;pointer-events:none}
#bdkModalInventorySearch{width:100%;height:46px;padding:0 16px 0 44px;border:1px solid #d7e5e9;border-radius:999px;background:#f9fcfd;color:#173843;font:inherit;font-size:13px;outline:0}
#bdkModalInventorySearch:focus{border-color:#75cbd1;box-shadow:0 0 0 4px rgba(15,164,175,.11);background:#fff}
.bdk-inventory-modal-body{min-height:0;overflow:auto;padding:20px 24px 24px;background:#f8fbfc}
.bdk-inventory-modal-body .inventory-catalog{padding:0!important}
.bdk-inventory-modal-body .inv-block{padding:0!important}
.bdk-inventory-modal-body .inv-head{position:sticky;top:-20px;z-index:2;margin:0 0 14px!important;padding:14px 2px 12px!important;background:#f8fbfc!important}
.bdk-inventory-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 24px;border-top:1px solid #e3edef;background:#fff;box-shadow:0 -12px 28px rgba(8,50,59,.06)}
.bdk-inventory-modal-total{display:flex;align-items:baseline;gap:10px;color:#617780;font-size:12px}
.bdk-inventory-modal-total strong{color:#12343f;font-size:14px}
.bdk-inventory-modal-done{min-width:130px;min-height:44px;border:0;border-radius:14px;background:linear-gradient(180deg,#0fa5af,#0a8c96);color:#fff;font-size:13px;font-weight:900;cursor:pointer;box-shadow:0 12px 24px rgba(10,140,150,.22)}
.bdk-inventory-modal-done:hover{filter:brightness(.98);transform:translateY(-1px)}
/* The catalog now lives only inside the popup. */
#inventorySection>.bdk-calc-shell>.bdk-calc-body{padding-top:18px}
@media(max-width:760px){
  .bdk-inventory-modal{padding:0;place-items:end center}
  .bdk-inventory-modal-dialog{width:100%;max-height:92dvh;border-radius:25px 25px 0 0;transform:translateY(30px)}
  .bdk-inventory-modal-head{padding:18px 16px 13px}
  .bdk-inventory-modal-heading h3{font-size:21px}
  .bdk-inventory-modal-close{width:40px;height:40px;flex-basis:40px;border-radius:13px}
  .bdk-inventory-modal-search-wrap{padding:12px 15px}
  .bdk-inventory-modal-search-wrap svg{left:29px}
  .bdk-inventory-modal-body{padding:15px 14px 18px}
  .bdk-inventory-modal-body .inv-head{top:-15px;padding:11px 1px 10px!important}
  .bdk-inventory-modal-foot{position:sticky;bottom:0;padding:12px 14px calc(12px + env(safe-area-inset-bottom));gap:10px}
  .bdk-inventory-modal-total{align-items:flex-start;flex-direction:column;gap:2px}
  .bdk-inventory-modal-done{min-width:112px}
}
@media(max-width:430px){
  .bdk-inventory-modal-heading p{display:none}
  .bdk-inventory-modal-body{padding-left:10px;padding-right:10px}
  .bdk-inventory-modal-foot{padding-left:10px;padding-right:10px}
  .bdk-inventory-modal-done{min-width:100px}
}

/* Exact search filtering and Step 3 live-truck placement */
#inventoryCatalog .item-row[hidden],
#inventoryCatalog [data-inventory-group][hidden],
#inventoryCatalog .tab-content[hidden]{display:none!important}
#badikwaQuoteForm .bdk-wizard-truck-panel{width:100%;max-width:100%;margin:0 0 18px;border:1px solid #dce9ec;border-radius:22px;background:linear-gradient(180deg,#fff 0%,#f7fbfc 100%);box-shadow:0 14px 30px rgba(9,55,64,.06)}
#badikwaQuoteForm .bdk-wizard-truck-panel + .quote-wizard-heading{margin-top:0}
@media(max-width:760px){#badikwaQuoteForm .bdk-wizard-truck-panel{margin-bottom:15px;border-radius:20px}}

/* Visible room inventory confirmation after closing the popup */
.bdk-inventory-confirmation[hidden]{display:none!important}
.bdk-inventory-confirmation{
    position:relative;
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    box-sizing:border-box;
    margin:14px 0 0;
    padding:13px 16px;
    border:1px solid #a9ddbd;
    border-radius:15px;
    background:linear-gradient(180deg,#f2fcf5 0%,#e9f8ee 100%);
    color:#17633a;
    font-size:13px;
    font-weight:900;
    line-height:1.4;
    box-shadow:0 12px 26px rgba(30,124,71,.12);
    opacity:0;
    transform:translateY(-8px) scale(.985);
    transition:opacity .18s ease,transform .18s ease;
}
.bdk-inventory-confirmation::before{
    content:"✓";
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 25px;
    width:25px;
    height:25px;
    border-radius:50%;
    background:#238b4e;
    color:#fff;
    font-size:14px;
    font-weight:900;
    box-shadow:0 5px 12px rgba(35,139,78,.22);
}
.bdk-inventory-confirmation.is-visible{
    opacity:1;
    transform:translateY(0) scale(1);
}
.bdk-selected-card{
    transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease;
}
.bdk-selected-card.is-confirmed{
    border-color:#82cea0;
    box-shadow:0 0 0 4px rgba(44,156,88,.09),0 16px 34px rgba(30,124,71,.11);
}
@media(max-width:760px){
    .bdk-inventory-confirmation{
        margin-top:12px;
        padding:12px 13px;
        border-radius:14px;
        font-size:12.5px;
    }
}
@media(prefers-reduced-motion:reduce){
    .bdk-inventory-confirmation,.bdk-selected-card{transition:none!important}
}


/* Room tabs remain clear on desktop/tablet; search sits on its own row */
.bdk-calc-toolbar{
    align-items:stretch;
    flex-direction:column;
    justify-content:flex-start;
    gap:12px;
}
.bdk-calc-tabs{
    width:100%;
    flex-wrap:wrap;
    overflow:visible;
}
.bdk-calc-search{
    width:100%;
    min-width:0;
    flex:0 0 auto;
}
.bdk-inline-room-preview{
    padding-top:0;
}
.bdk-inline-room-head{
    display:none!important;
}
@media(max-width:760px){
    .bdk-calc-toolbar{
        gap:11px;
    }
    .bdk-calc-tabs{
        flex-wrap:nowrap;
        overflow-x:auto;
        overscroll-behavior-inline:contain;
        -webkit-overflow-scrolling:touch;
        padding-bottom:2px;
    }
    .bdk-calc-search{
        width:100%;
    }
}
