/* ORBITECH365 Dealer Catalogue V2 (Development slice, flag dealerCatalogueV2Enabled). Scoped to .cv2: nothing here applies unless src/dealer/dealer-catalogue-v2.js mounted.
   No permanent filter sidebar. Product grid: 5 columns >= 1200px, 3 columns 760-1199px, 2 columns 360-759px, 1 column <= 359px. Fixed image area, object-fit: contain.
   Font sizes use the shared --dealer-fs-* tokens (desktop fallbacks). */
.cv2{display:block;min-width:0;padding:10px 16px 22px;color:#172033}
.cv2 *,.cv2 *::before,.cv2 *::after{box-sizing:border-box}
.cv2-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.cv2 button{font-family:inherit}

/* ---- Category / Brand sections ---- */
.cv2-sec{min-width:0;margin:0 0 8px}
.cv2-sec-head h3{margin:0 0 6px;font-size:var(--dealer-fs-label,13.5px);font-weight:800;color:#172033;letter-spacing:.01em}
.cv2-rail-wrap{position:relative;min-width:0}
/* Tiles in a grid: 8 per row on desktop, 5 on tablet, 3 on phone. Collapsed = the first row only; View All (.is-all) shows every row. */
.cv2-rail{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;min-width:0;padding:2px}
.cv2-rail:not(.is-all)>.cv2-tile:nth-child(n+9){display:none}
.cv2-rail-msg{grid-column:1/-1;margin:6px 0;font-size:var(--dealer-fs-caption,13px);color:#6f7a8a}
.cv2-tile{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:12px 8px 10px;border:1px solid #e5e9ef;border-radius:12px;background:#fff;color:#172033;text-align:center;cursor:pointer}
.cv2-tile-brand{justify-content:center;height:76px;padding:10px 12px}
.cv2-tile:hover{border-color:#b9c6f5;box-shadow:0 6px 14px rgba(35,54,201,.08)}
.cv2-tile:focus-visible,.cv2-viewall:focus-visible,.cv2-toggle:focus-visible,.cv2-filters-btn:focus-visible,.cv2-page:focus-visible,.cv2-opt:focus-visible,.cv2-btn:focus-visible,.cv2-link:focus-visible{outline:2px solid #2336c9;outline-offset:2px}
.cv2-tile.is-active{border-color:#2336c9;background:#f4f6ff;box-shadow:inset 0 0 0 1px #2336c9}
.cv2-tile-media{position:relative;display:grid;place-items:center;flex:none;width:100%;height:64px;overflow:hidden;border-radius:10px;background:#f7f8fa}
.cv2-tile-brand .cv2-tile-media{height:100%;border-radius:6px;background:#fff}
.cv2-tile-media img{position:absolute;inset:0;width:100%;height:100%;padding:4px;object-fit:contain;object-position:center;background:#fff}
.cv2-tile-brand .cv2-tile-media img{padding:2px}
.cv2-tile-fallback{display:none;place-items:center;width:100%;height:100%;font-size:var(--dealer-fs-h4,18px);font-weight:800;letter-spacing:.04em;color:#475467;background:#eef1f7}
.cv2-tile-fallback.is-shown{display:grid}
.cv2-tile-category .cv2-tile-fallback{background:#f7f8fa}
.cv2-tile-brand .cv2-tile-fallback{border-radius:6px}
.cv2-tile-fallback svg{width:34px;height:34px;fill:none;stroke:#8a94a6;stroke-width:1.5;stroke-linejoin:round}
.cv2-tile-text{display:grid;gap:2px;width:100%;min-width:0}
.cv2-tile-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;min-height:2.4em;font-size:var(--dealer-fs-caption,13px);font-weight:700;line-height:1.2}
.cv2-tile-count{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:var(--dealer-fs-tiny,12px);color:#6f7a8a}
.cv2-sec-foot{display:flex;justify-content:flex-end;min-height:18px}
.cv2-viewall{padding:1px 2px;border:0;background:none;color:#2336c9;font-size:var(--dealer-fs-caption,13px);font-weight:700;cursor:pointer}
.cv2-viewall:hover{text-decoration:underline}
.cv2-skel{height:134px;border:0;cursor:default;background:linear-gradient(90deg,#f1f4f9,#e8edf6,#f1f4f9);background-size:200% 100%;animation:cv2-shimmer 1.3s linear infinite}
.cv2-sec-brand .cv2-skel{height:76px}
@keyframes cv2-shimmer{to{background-position:-200% 0}}

/* ---- compact filter bar (no sidebar) ---- */
.cv2-bar{display:grid;grid-template-columns:minmax(180px,1fr) 150px 150px auto auto 168px auto;gap:8px;align-items:center;margin:6px 0 8px}
.cv2-search,.cv2-field{display:block;min-width:0;margin:0}
.cv2-search input,.cv2-field select{display:block;width:100%;height:40px;padding:0 12px;border:1px solid #dfe4ec;border-radius:8px;background:#fff;color:#172033;font-size:var(--dealer-fs-body,14.5px);outline:0}
.cv2-field select{padding:0 8px;text-overflow:ellipsis}
.cv2-search input:focus,.cv2-field select:focus{border-color:#93a5f0;box-shadow:0 0 0 3px rgba(35,54,201,.12)}
.cv2-toggle,.cv2-filters-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;padding:0 13px;border:1px solid #cdd6f5;border-radius:8px;background:#fff;color:#2336c9;font-size:var(--dealer-fs-label,13.5px);font-weight:700;white-space:nowrap;cursor:pointer}
.cv2-toggle[aria-pressed="true"]{border-color:#2336c9;background:#2336c9;color:#fff}
.cv2-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#2336c9;color:#fff;font-size:var(--dealer-fs-micro,11.5px);font-weight:800}
.cv2-badge[hidden]{display:none}
.cv2-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 8px}
.cv2-chips[hidden]{display:none}
.cv2-chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:3px 4px 3px 10px;border:1px solid #cdd6f5;border-radius:999px;background:#f4f6ff;color:#1c2a9e;font-size:var(--dealer-fs-caption,13px);font-weight:600}
.cv2-chip button{width:22px;height:22px;border:0;border-radius:50%;background:transparent;color:#1c2a9e;font-size:var(--dealer-fs-emphasis,16px);line-height:1;cursor:pointer}
.cv2-link{padding:2px 4px;border:0;background:none;color:#2336c9;font-size:var(--dealer-fs-caption,13px);font-weight:700;cursor:pointer;text-decoration:underline}
.cv2-status{min-height:20px;margin:2px 0 8px;scroll-margin-top:76px;font-size:var(--dealer-fs-label,13.5px);font-weight:600;color:#475467}

/* ---- product grid: compact 5 / 3 / 2 / 1 columns, fixed image area, contain ---- */
.cv2 .cv2-grid.pd-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;min-width:0}
.cv2-grid.is-stale{opacity:.55;pointer-events:none;transition:opacity .15s}
/* Card (owner reference design 2026-10-10): white, radius 18, light border; grey image area with stacked pill badges top-left;
   brand / name / model · SKU / category / large price / stock + Details / offer strip / stepper + Add to Cart pinned to the bottom.
   Every line above the price has a fixed height, so prices and stock line up across a row. */
.cv2 .cv2-card{min-width:0;border:1px solid #eef0f4;border-radius:14px;background:#fff;transition:box-shadow .15s,border-color .15s}
.cv2 .cv2-card:hover{border-color:#e3e7ef;box-shadow:0 12px 28px rgba(21,33,58,.08)}
.cv2 .cv2-card .pc-img{position:relative;display:grid;place-items:center;height:128px;overflow:hidden;background:#f4f5f8;border-bottom:0}
.cv2 .cv2-card .pc-img .pc-photo{position:absolute;inset:0;width:100%;height:100%;padding:10px;object-fit:contain;background:transparent;mix-blend-mode:multiply}
.cv2 .cv2-card .pc-placeholder{font-size:34px}
.cv2-badges{position:absolute;top:8px;left:8px;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.cv2-badges .pc-badge-offer,.cv2-badges .pc-badge-scheme{position:static;padding:3px 8px;border-radius:999px;font-size:var(--dealer-fs-micro,11.5px);font-weight:800;line-height:1.2;box-shadow:0 2px 8px rgba(21,33,58,.08)}
.cv2-badges .pc-badge-scheme{background:#f1ebff;color:#6d3fc0}
.cv2-badges .pc-badge-offer{background:#fff1e6;color:#b4480f}
.cv2-badges:empty,.cv2-offer-slot:empty,.cv2-brand-logo:empty{display:none}
.cv2 .cv2-card .pc-body{display:flex;flex-direction:column;gap:3px;flex:1;padding:10px 12px 12px}
.cv2 .cv2-card .cv2-brand-row{display:flex;align-items:center;gap:5px;min-width:0;min-height:17px}
.cv2-brand-logo{position:relative;display:inline-block;flex:none;width:38px;height:17px;overflow:hidden}
.cv2-brand-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:left center}
.cv2 .cv2-card .pc-brand{font-size:var(--dealer-fs-tiny,12px);font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#c2410c;min-height:1.2em}
.cv2 .cv2-card .cv2-brand-row .pc-brand{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.cv2 .cv2-card .pc-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.4em;margin:0;font-size:var(--dealer-fs-body-lg,15px);font-weight:800;line-height:1.2;color:#15213a;overflow-wrap:anywhere;cursor:pointer}
.cv2 .cv2-card .pc-model{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-height:1.2em;margin:0;font-size:var(--dealer-fs-micro,11.5px);color:#7a8494}
.cv2 .cv2-card .cv2-price{display:grid;margin-top:3px;min-width:0}
.cv2-price-cap{font-size:var(--dealer-fs-micro,11.5px);font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#8a93a3}
.cv2-price-line{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:6px;min-width:0}
.cv2-price-amt{font-size:var(--dealer-fs-h3-lg,20px);font-weight:800;line-height:1.15;letter-spacing:-.01em;color:#15213a}
.cv2-price-unit{font-size:var(--dealer-fs-caption,13px);font-weight:600;color:#8a93a3;white-space:nowrap}
.cv2-price-na{min-height:1.85em;font-size:var(--dealer-fs-label,13.5px);font-weight:700;line-height:1.85;color:#475467}
.cv2 .cv2-card .cv2-price.is-bulk .cv2-price-cap,.cv2 .cv2-card .cv2-price.is-bulk .cv2-price-amt{color:#0d7a3e}
.cv2 .cv2-card .cv2-stock-row{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0}
.cv2 .cv2-card .cv2-stock-row .pc-stock{margin:0;font-size:var(--dealer-fs-caption,13px);font-weight:700}
.cv2 .cv2-card .cv2-offer{display:flex;align-items:flex-start;gap:8px;margin-top:4px;padding:8px 10px;min-width:0;border:1px dashed #f5a66b;border-radius:10px;background:#fff7ef;color:#7a3a0c;font-size:var(--dealer-fs-tiny,12px);line-height:1.35}
.cv2-offer-icon{flex:none;width:16px;height:16px;margin-top:1px;fill:none;stroke:#e0620f;stroke-width:1.8;stroke-linejoin:round}
.cv2-offer-text{display:grid;min-width:0}
.cv2-offer-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:800;color:#15213a}
.cv2-offer-benefit{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.cv2-offer-meta{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#9a5a2c}
.cv2-offer-meta>span+span::before{content:" · "}
.cv2-offer-type{font-weight:800}
.cv2 .cv2-card .cv2-buy{display:flex;align-items:stretch;gap:6px;margin-top:auto;padding-top:7px}
.cv2 .cv2-card .cv2-stepper{display:flex;align-items:stretch;flex:0 0 45%;min-width:0;height:38px;margin:0;gap:0;overflow:hidden;border:1px solid #dfe3ea;border-radius:10px;background:#fff}
.cv2 .cv2-card .cv2-stepper:focus-within{border-color:#f5a66b;box-shadow:0 0 0 3px rgba(242,106,33,.14)}
.cv2 .cv2-card .cv2-stepper:has(.pc-quantity-input[aria-invalid="true"]){border-color:#a33737}
.cv2 .cv2-card .cv2-step{flex:0 0 30px;padding:0;border:0;background:#f4f5f8;color:#15213a;font-family:inherit;font-size:var(--dealer-fs-body-lg,15px);font-weight:700;line-height:1;cursor:pointer}
.cv2 .cv2-card .cv2-step:hover{background:#eceef3}
.cv2 .cv2-card .cv2-stepper .pc-quantity-input{flex:1 1 auto;width:auto;min-width:0;max-width:none;height:100%;min-height:0;padding:0 4px;border:0;border-radius:0;background:#fff;text-align:center;font-weight:700;-moz-appearance:textfield;appearance:textfield}
.cv2 .cv2-card .cv2-stepper .pc-quantity-input::-webkit-inner-spin-button,.cv2 .cv2-card .cv2-stepper .pc-quantity-input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}
.cv2 .cv2-card .cv2-stepper .pc-quantity-input:focus-visible{outline:0}
.cv2 .cv2-card .cv2-add{flex:1 1 auto;min-width:0;height:38px;padding:0 8px;border:0;border-radius:10px;background:#f26a21;color:#fff;font-family:inherit;font-size:var(--dealer-fs-label,13.5px);font-weight:800;white-space:nowrap;cursor:pointer}
.cv2 .cv2-card .cv2-add:hover{background:#de5a14}
.cv2 .cv2-card .cv2-add.pc-added{background:#1f8c57}
.cv2 .cv2-card .cv2-step:focus-visible,.cv2 .cv2-card .cv2-add:focus-visible{outline:2px solid #15213a;outline-offset:2px}
.cv2-skel-card .pc-img{background:linear-gradient(90deg,#f1f4f9,#e8edf6,#f1f4f9);background-size:200% 100%;animation:cv2-shimmer 1.3s linear infinite}
.cv2-skel-line{display:block;height:12px;margin:6px 0;border-radius:6px;background:#eef1f7}
.cv2-skel-line.w70{width:70%}.cv2-skel-line.w40{width:40%}
.cv2 .pd-empty.cv2-state{grid-column:1/-1;display:grid;justify-items:center;gap:10px;padding:34px 16px;text-align:center;border:1px dashed #d8dfea;border-radius:10px;background:#fbfcfe;color:#475467}
.cv2-state p{margin:0;font-size:var(--dealer-fs-body,14.5px)}
.cv2-btn{height:38px;padding:0 16px;border:1px solid #cdd6f5;border-radius:8px;background:#fff;color:#2336c9;font-size:var(--dealer-fs-label,13.5px);font-weight:700;cursor:pointer}
.cv2-btn.primary{border-color:#2336c9;background:#2336c9;color:#fff}

/* ---- pagination ---- */
.cv2-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:16px 0 2px}
.cv2-pager[hidden]{display:none}
.cv2-pages{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;margin:0;padding:0;list-style:none}
.cv2-gap{display:grid;place-items:center;min-width:24px;height:38px;color:#6f7a8a}
.cv2-page{min-width:38px;height:38px;padding:0 10px;border:1px solid #dfe4ec;border-radius:8px;background:#fff;color:#172033;font-size:var(--dealer-fs-label,13.5px);font-weight:700;cursor:pointer}
.cv2-page.is-current{border-color:#2336c9;background:#2336c9;color:#fff;cursor:default}
.cv2-page:disabled{opacity:.45;cursor:not-allowed}
.cv2-page-nav{padding:0 14px}

/* ---- Filters drawer (right) ---- */
.cv2-scrim{position:fixed;inset:0;z-index:1290;background:rgba(15,27,61,.38)}
.cv2-scrim[hidden],.cv2-drawer[hidden]{display:none}
.cv2-drawer{position:fixed;top:0;right:0;bottom:0;z-index:1300;display:flex;flex-direction:column;width:min(420px,92vw);background:#fff;box-shadow:-12px 0 32px rgba(15,27,61,.18)}
.cv2-drawer-head{display:flex;align-items:center;gap:8px;padding:14px 16px;border-bottom:1px solid #edf0f4}
.cv2-drawer-head h3{flex:1;margin:0;font-size:var(--dealer-fs-h4,18px)}
.cv2-drawer-close{width:36px;height:36px;border:0;border-radius:8px;background:#f4f6fb;font-size:var(--dealer-fs-title,27px);line-height:1;cursor:pointer}
.cv2-drawer-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 16px}
.cv2-drawer-search{display:block;margin:0 0 10px}
.cv2-drawer-search input{width:100%;height:40px;padding:0 12px;border:1px solid #dfe4ec;border-radius:8px;font-size:var(--dealer-fs-body,14.5px)}
.cv2-drawer-group{margin:0 0 14px}
.cv2-drawer-group h4{margin:0 0 6px;font-size:var(--dealer-fs-label,13.5px);font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#475467}
.cv2-opts{max-height:260px;margin:0;padding:0;overflow-y:auto;list-style:none;border:1px solid #edf0f4;border-radius:8px}
.cv2-opt{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:9px 12px;border:0;border-bottom:1px solid #f3f5f9;background:#fff;color:#172033;font-size:var(--dealer-fs-body,14.5px);text-align:left;cursor:pointer}
.cv2-opt small{font-size:var(--dealer-fs-tiny,12px);color:#6f7a8a}
.cv2-opt.is-active{background:#f4f6ff;color:#1c2a9e;font-weight:700}
.cv2-none{padding:10px 12px;font-size:var(--dealer-fs-caption,13px);color:#6f7a8a}
.cv2-check{display:flex;align-items:center;gap:8px;padding:8px 0;font-size:var(--dealer-fs-body,14.5px)}
.cv2-check input{width:18px;height:18px}
.cv2-drawer-foot{padding:12px 16px;border-top:1px solid #edf0f4}
.cv2-drawer-foot .cv2-btn{width:100%;height:44px}

/* ---- responsive ---- */
@media (max-width:1199px){
  .cv2 .cv2-grid.pd-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cv2-rail{grid-template-columns:repeat(5,minmax(0,1fr))}
  .cv2-rail:not(.is-all)>.cv2-tile:nth-child(n+6){display:none}
  .cv2 .cv2-card .pc-img{height:150px}
  .cv2 .cv2-card .pc-body{padding:10px 12px 12px}
  .cv2 .cv2-card .cv2-stepper{flex-basis:45%}
  .cv2 .cv2-card .cv2-step{flex-basis:30px}
  .cv2 .cv2-card .cv2-add{font-size:var(--dealer-fs-label,13.5px)}
}
@media (max-width:1100px){
  .cv2-bar{display:flex;flex-wrap:wrap}
  .cv2-search{flex:1 1 200px}
  .cv2-field-category,.cv2-field-brand{flex:1 1 140px}
  .cv2-field-sort{flex:1 1 170px}
  .cv2-toggle,.cv2-filters-btn{flex:0 0 auto}
}
@media (max-width:759px){
  .cv2{padding:10px 12px 20px}
  .cv2 .cv2-grid.pd-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .cv2-search{flex:1 1 100%}
  .cv2-field-category,.cv2-field-brand,.cv2-field-sort{flex:1 1 calc(50% - 4px)}
  .cv2-toggle,.cv2-filters-btn{flex:1 1 auto}
  .cv2 .cv2-card{border-radius:14px}
  .cv2 .cv2-card .pc-img{height:150px}
  .cv2 .cv2-card .pc-img .pc-photo{padding:12px}
  .cv2 .cv2-card .pc-body{padding:12px}
  .cv2 .cv2-card .pc-name{font-size:var(--dealer-fs-body-lg,15px)}
  .cv2-price-amt{font-size:var(--dealer-fs-h3-lg,20px)}
  .cv2 .cv2-card .cv2-buy{flex-direction:column;gap:8px}
  .cv2 .cv2-card .cv2-stepper{flex:0 0 auto;width:100%;height:40px}
  .cv2 .cv2-card .cv2-add{flex:0 0 auto;height:42px}
  .cv2-badges{top:8px;left:8px;gap:4px}
  .cv2-badges .pc-badge-offer,.cv2-badges .pc-badge-scheme{padding:3px 8px;font-size:var(--dealer-fs-micro,11.5px)}
  .cv2-rail{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .cv2-rail:not(.is-all)>.cv2-tile:nth-child(n+4){display:none}
  .cv2-tile{gap:6px;padding:10px 6px 8px}
  .cv2-tile-media{height:52px}
  .cv2-tile-brand{height:64px;padding:8px 10px}
  .cv2-skel{height:116px}.cv2-sec-brand .cv2-skel{height:64px}
  .cv2-page{min-width:40px;height:40px}
}
@media (max-width:479px){
  .cv2-page-nav{padding:0 10px}
}
@media (max-width:359px){
  .cv2 .cv2-grid.pd-grid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .cv2-skel,.cv2-skel-card .pc-img{animation:none}
  .cv2-grid.is-stale{transition:none}
}
