/* ==================================================================
   CATEGORY PRODUCTS V2
   ================================================================== */
.cp-page {
    --cp-surface: #f5f3f1;
    --cp-surface-2: #efedeb;
    --cp-border: #e2dfdc;
    --cp-ink: #171820;
    --cp-muted: #60646d;
    background: #fff;
}
.cp-brand-3m,
.cp-hero-eyebrow strong { color: var(--theme-primary); font-weight: 800; }
.cp-page .page-top-heading {
    margin: 10px 0;
    color: #383838;
    font-size: 20px;
    font-weight: 400;
    line-height: 35px;
}

.cp-hero {
    position: relative;
    overflow: visible;
    padding: 28px 0 0;
    border: 0;
    background: #fff;
}
.cp-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
    min-height: 430px;
    align-items: stretch;
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid #e3e0eb;
    border-radius: 34px;
    background:
        radial-gradient(circle at 20% 0%, rgba(66,135,245,.09), transparent 37%),
        linear-gradient(135deg, #f0f6ff 0%, #f7f6f1 70%);
    box-shadow: 0 24px 70px rgba(17,24,39,.07);
}
.cp-hero-grid:before,
.cp-hero-grid:after { display: none; content: none; }
.cp-hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 790px;
    padding: 54px;
}
.cp-hero-copy:before {
    display: none;
    content: none;
}
.cp-hero-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--theme-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.55px;
    text-transform: uppercase;
}
.cp-hero h1 {
    margin: 0 0 14px;
    color: var(--cp-ink);
    font-size: clamp(38px, 3.6vw, 58px);
    font-weight: 800;
    letter-spacing: -.7px;
    line-height: 1.16;
    text-transform: none;
}
.cp-hero-copy > p {
    display: block;
    max-width: 780px;
    margin: 0;
    overflow: visible;
    color: var(--cp-muted);
    font-size: 14px;
    line-height: 1.72;
}
.cp-hero-facts {
    display: flex;
    flex-wrap: nowrap;
    gap: 13px 24px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.cp-hero-facts li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3e424a;
    font-size: 10px;
    font-weight: 650;
    white-space: nowrap;
}
.cp-hero-facts .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(210,40,12,.28);
    border-radius: 4px;
    color: var(--theme-primary);
    font-size: 12px;
}
.cp-hero-media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    margin: 18px;
    border: 1px solid rgba(17,24,39,.07);
    border-radius: 26px;
    background: #fff;
}
.cp-hero-media:before {
    display: none;
    content: none;
}
.cp-hero-media img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    background: #f4f1eb;
}

.cp-finder-section {
    padding: 24px 0 0;
    background: #fff;
}
.cp-search-head {
    padding: 32px 0 12px;
    border-bottom: 1px solid var(--cp-border);
    background: #fff;
}
.cp-search-eyebrow {
    margin: 0 0 8px;
    color: var(--theme-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.cp-search-head h1 {
    margin: 0 0 10px;
    color: var(--cp-ink);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: none;
}
.cp-search-head p {
    max-width: 620px;
    margin: 0;
    color: var(--cp-muted);
    font-size: 13px;
    line-height: 1.6;
}
.cp-search-head strong { color: var(--theme-primary); }
.cp-finder {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 292px;
    gap: 22px;
    align-items: center;
    min-height: 76px;
    padding: 14px 18px;
    border: 1px solid var(--cp-border);
    border-radius: 20px;
    background: #fbfaf7;
}
.cp-finder-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--cp-ink);
    font-size: 14px;
}
.cp-finder-heading .fa {
    color: var(--theme-primary);
    font-size: 25px;
}
.cp-finder--search .cp-finder-heading strong {
    color: var(--cp-ink);
}
.cp-finder-control {
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #ddd9d5;
    border-radius: 5px;
    background: #fff;
}
.cp-finder-control input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    color: #353840;
    font-size: 12px;
}
.cp-finder-control button {
    min-width: 122px;
    border: 0;
    background: var(--theme-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 750;
}
.cp-finder-control button:hover { background: var(--theme-hover); }
.cp-finder-help {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    align-self: stretch;
    gap: 8px;
    min-height: 42px;
    border: 1px solid #ddd9d5;
    border-radius: 5px;
    background: #fff;
    color: #4f5259;
    font-size: 10px;
    font-weight: 750;
    text-decoration: none;
    text-align: center;
    transform: translateX(9px);
    white-space: nowrap;
    transition: border-color .18s, color .18s, background .18s, box-shadow .18s;
}
.cp-finder-help .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(210,31,7,.22);
    border-radius: 4px;
    background: #fff7f5;
    color: var(--theme-primary);
    font-size: 10px;
}
.cp-finder-help:hover {
    border-color: rgba(210,31,7,.32);
    background: #fffdfc;
    color: var(--theme-primary);
    box-shadow: 0 8px 18px rgba(20,25,32,.04);
}

.cp-section-kicker {
    display: block;
    margin-bottom: 9px;
    color: var(--theme-primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.35px;
    text-transform: uppercase;
}

.cp-catalog { padding: 24px 0 50px; }
.cp-catalog-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 22px;
    align-items: start;
}
.cp-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 48px;
    padding: 0 15px;
    border: 1px solid var(--cp-border);
    border-radius: 7px;
    background: #f8f7f6;
}
.cp-results-toolbar strong { color: var(--cp-ink); font-size: 12px; }
.cp-results-toolbar span { color: #8a8c91; font-size: 10px; }
.cp-sort-label { display: inline-flex; align-items: center; gap: 9px; margin: 0; }
.cp-sort-label select {
    min-width: 180px;
    height: 30px;
    padding: 0 28px 0 10px;
    border: 1px solid #ddd9d5;
    border-radius: 4px;
    background: #fff;
    color: #50535a;
    font-size: 10px;
}
.cp-product-list { display: grid; gap: 12px; margin-top: 12px; }
.cp-pagination {
    display: flex;
    justify-content: center;
    clear: both;
    width: 100%;
    margin: 34px 0 12px;
}
.cp-pagination .pagination {
    display: inline-flex;
    overflow: hidden;
    margin: 0;
    padding: 6px;
    gap: 4px;
    border: 1px solid var(--cp-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(17, 24, 39, .06);
}
.cp-pagination .pagination > li {
    display: block;
}
.cp-pagination .pagination > li > a,
.cp-pagination .pagination > li > span {
    min-width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #4f5563;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}
.cp-pagination .pagination > li > a:hover {
    background: #eaf2ff;
    color: var(--theme-primary);
}
.cp-pagination .pagination > .active > a,
.cp-pagination .pagination > .active > a:hover,
.cp-pagination .pagination > .active > a:focus {
    border: 0;
    background: var(--theme-primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(66,135,245, .22);
}
.cp-pagination .pagination > .disabled > a {
    color: #c4c7cf;
    pointer-events: none;
}
.cp-product-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 215px;
    min-height: 205px;
    overflow: hidden;
    border: 1px solid var(--cp-border);
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.cp-product-card:hover {
    border-color: #ccc6c1;
    box-shadow: 0 8px 20px rgba(20,25,32,.06);
    transform: translateY(-2px);
}
.cp-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 18px;
    background: #fff;
}
.cp-product-image img {
    display: block;
    width: 100%;
    height: 165px;
    object-fit: contain;
    transition: transform .25s;
}
.cp-product-card:hover .cp-product-image img { transform: scale(1.025); }
.cp-product-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 22px 20px;
    border-left: 1px solid #f0eeec;
}
.cp-product-kicker {
    margin-bottom: 7px;
    color: var(--theme-primary);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .7px;
}
.cp-product-copy h2 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.38;
    text-transform: none;
}
.cp-product-copy h2 a { color: var(--cp-ink); }
.cp-product-copy h2 a:hover { color: var(--theme-primary); }
.cp-product-copy p {
    display: block;
    margin: 0;
    overflow: visible;
    color: #686b72;
    font-size: 10.5px;
    line-height: 1.55;
}
.cp-product-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cp-product-chips span {
    padding: 4px 7px;
    border: 1px solid #e4e1de;
    border-radius: 4px;
    background: #f7f6f5;
    color: #575a61;
    font-size: 9px;
}
.cp-product-buy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 20px 18px;
    border-left: 1px solid var(--cp-border);
    background: #faf9f8;
}
.cp-product-buy > span { color: #5f6269; font-size: 11px; line-height: 1.45; }
.cp-product-buy > span .fa { width: 14px; color: #8a8d93; }
.cp-stock { font-size: 13px; }
.cp-stock .fa { margin-right: 5px; }
.cp-stock--available { color: #4c922c; }
.cp-stock--waiting { color: #a86b1f; }
.cp-product-price { display: flex; align-items: baseline; gap: 5px; margin: 10px 0 5px; }
.cp-product-price small { color: #71747b; font-size: 11px; font-weight: 650; }
.cp-product-price strong { color: var(--cp-ink); font-size: 21px; line-height: 1.3; }
.cp-product-price-request { font-size: 12px !important; }
.cp-product-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 4px;
    background: var(--theme-primary);
    color: #fff !important;
    font-size: 10px;
    font-weight: 750;
}
.cp-product-cta:hover { background: var(--theme-hover); }
.cp-empty { padding: 35px; border: 1px solid var(--cp-border); border-radius: 8px; background: #faf9f8; text-align: center; }

.cp-catalog .sidebar.cp-sidebar,
.cp-catalog .cp-sidebar,
.cp-catalog-grid > .cp-sidebar {
    position: static !important;
    top: auto !important;
    align-self: start;
}
.cp-sidebar > hr { display: none; }
.cp-sidebar .cf-panel {
    position: static !important;
    top: auto !important;
    margin-bottom: 16px;
    box-shadow: none;
}
.cp-sidebar .cf-panel-header { background: #f7f6f5; }
.cp-sidebar-photo-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid var(--cp-border);
    border-radius: 8px;
    background: #fff;
}
.cp-sidebar-photo-card img {
    display: block;
    width: 100%;
    height: auto;
}
.cp-sidebar-photo-card:after {
    position: absolute;
    inset: auto 0 0;
    height: 62%;
    background: linear-gradient(0deg, rgba(23,24,32,.72), rgba(23,24,32,0));
    content: '';
}
.cp-sidebar-photo-card div {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 16px;
    bottom: 14px;
    color: #fff;
}
.cp-sidebar-photo-card span {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.3px;
}
.cp-sidebar-photo-card strong {
    display: block;
    font-size: 14px;
    line-height: 1.18;
}
.cp-b2b-card {
    position: relative;
    min-height: 185px;
    overflow: hidden;
    padding: 22px 82px 22px 21px;
    border: 1px solid var(--cp-border);
    border-radius: 8px;
    background: linear-gradient(135deg, #f7f5f3, #fff);
}
.cp-b2b-label { color: var(--theme-primary); font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.cp-b2b-card h3 { margin: 7px 0 8px; color: var(--cp-ink); font-size: 17px; text-transform: none; }
.cp-b2b-card p { margin: 0 0 15px; color: #696c72; font-size: 10px; line-height: 1.55; }
.cp-b2b-card a { color: var(--theme-primary); font-size: 10px; font-weight: 750; }
.cp-b2b-card svg {
    position: absolute;
    right: 12px;
    bottom: 17px;
    width: 66px;
    height: 66px;
    fill: none;
    stroke: var(--theme-primary);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    opacity: .82;
}

@media (min-width: 1600px) {
    .cp-hero-grid { grid-template-columns: minmax(660px, 1.08fr) minmax(470px, .92fr); }
    .cp-hero-copy { max-width: 850px; }
    .cp-hero-copy > p { max-width: 840px; }
    .cp-catalog-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; }
    .cp-product-card { grid-template-columns: 205px minmax(0, 1fr) 235px; }
    .cp-finder { grid-template-columns: 250px minmax(0, 1fr) 312px; gap: 26px; }
}
@media (max-width: 1199px) {
    .cp-hero-grid { grid-template-columns: minmax(430px, 1fr) minmax(370px, .85fr); }
    .cp-hero-copy { padding: 44px; }
    .cp-finder { grid-template-columns: minmax(220px, auto) 1fr; }
    .cp-finder-help { display: none; }
    .cp-catalog-grid { grid-template-columns: minmax(0, 1fr) 285px; }
    .cp-product-card { grid-template-columns: 165px minmax(0, 1fr) 190px; }
}
@media (max-width: 991px) {
    .cp-hero-grid { grid-template-columns: 1fr .7fr; }
    .cp-hero-copy { padding: 36px; }
    .cp-hero-facts { gap: 10px 15px; }
    .cp-catalog-grid { grid-template-columns: 1fr; }
    .cp-sidebar { position: static !important; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
    .cp-sidebar .cf-panel, .cp-b2b-card { margin: 0; }
    .cp-product-card { grid-template-columns: 175px minmax(0, 1fr) 195px; }
}
@media (max-width: 767px) {
    .cp-hero { min-height: 0; padding-top: 18px; }
    .cp-hero-grid { position: relative; display: flex; min-height: 0; flex-direction: column; border-radius: 24px; }
    .cp-hero-copy { position: relative; z-index: 3; max-width: none; padding: 30px 24px 24px; }
    .cp-hero h1 { font-size: 34px; }
    .cp-hero-copy > p { font-size: 13px; }
    .cp-hero-media { position: relative; inset: auto; width: auto; height: 225px; margin: 0 14px 14px; border-radius: 18px; opacity: 1; }
    .cp-hero-media img { object-position: right center; }
    .cp-finder { grid-template-columns: 1fr; gap: 12px; }
    .cp-finder-control { width: 100%; }
    .cp-product-card { grid-template-columns: 135px minmax(0, 1fr); }
    .cp-product-image img { height: 135px; }
    .cp-product-buy { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-top: 1px solid var(--cp-border); border-left: 0; }
    .cp-product-buy > span { display: none; }
    .cp-product-price { margin: 0; }
    .cp-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
    .cp-hero-facts { flex-wrap: wrap; }
    .cp-hero-facts li { white-space: normal; }
    .cp-finder-control button { min-width: 102px; }
    .cp-results-toolbar span { display: none; }
    .cp-product-card { grid-template-columns: 110px minmax(0, 1fr); }
    .cp-product-image { padding: 10px; }
    .cp-product-image img { height: 115px; }
    .cp-product-copy { padding: 16px 13px; }
    .cp-product-copy h2 { font-size: 12px; }
    .cp-product-copy p { display: block; overflow: visible; }
}

/* ======== BOX SZUKANIA - spojne zaokraglenie/ramka jak panele ponizej ======== */
#searchform .input-group { width: 100%; }
#searchform .form-control {
    border: 1px solid #e8e8ee;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    height: 44px;
    box-shadow: none;
}
#searchform .form-control:focus {
    border-color: #cbd5e1;
    box-shadow: none;
}
#searchform .input-group-btn .btn {
    border: 1px solid #e8e8ee;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    height: 44px;
}

/* ======== CATEGORY FILTER PANEL ======== */
.cf-panel {
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.cf-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: #f8f9fc;
    border-bottom: 1px solid #e8e8ee;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
}
.cf-panel-header .fa {
    color: var(--theme-primary);
    font-size: 15px;
}
.cf-badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--theme-primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
}
.cf-form {
    padding: 16px;
}
.cf-group {
    margin-bottom: 18px;
}
.cf-group-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
}
.cf-group-label .fa {
    color: var(--theme-primary);
    font-size: 13px;
}
.cf-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
    margin-bottom: 2px;
}
.cf-checkbox:hover {
    background: #f8f9fc;
}
.cf-checkbox input[type="checkbox"] {
    display: none;
}
.cf-check-mark {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.15s;
}
.cf-checkbox input:checked + .cf-check-mark {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
}
.cf-checkbox input:checked + .cf-check-mark::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.cf-select {
    width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: border-color 0.15s;
    appearance: auto;
}
.cf-select:focus {
    border-color: var(--theme-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--theme-shadow),0.1);
}
.catalog-custom-select{position:relative;min-width:0}
.cf-panel{overflow:visible}.cf-panel .cf-panel-header{border-radius:7px 7px 0 0}
.catalog-custom-select>select{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;opacity:0;pointer-events:none}
.catalog-select-trigger{width:100%;height:38px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;border:1px solid #ddd;border-radius:6px;background:#fff;color:#3f4148;font-size:12px;text-align:left;transition:border-color .15s,box-shadow .15s}
.catalog-select-trigger:hover{border-color:#c9c9cd}.catalog-select-trigger:focus,.catalog-custom-select.is-open .catalog-select-trigger{border-color:var(--theme-primary);outline:0;box-shadow:0 0 0 3px rgba(var(--theme-shadow),.08)}
.catalog-select-trigger i{flex:0 0 auto;color:var(--theme-primary);font-size:15px;transition:transform .2s}.catalog-custom-select.is-open .catalog-select-trigger i{transform:rotate(180deg)}
.catalog-select-options{position:absolute;z-index:80;top:calc(100% + 5px);right:0;left:0;display:none;max-height:230px;overflow-y:auto;padding:5px;border:1px solid #dedee1;border-radius:6px;background:#fff;box-shadow:0 14px 34px rgba(24,25,32,.15)}
.catalog-custom-select.is-open .catalog-select-options{display:block}
.catalog-select-option{width:100%;display:block;padding:9px 10px;border:0;border-radius:4px;background:transparent;color:#41434a;font-size:12px;text-align:left;white-space:normal}
.catalog-select-option:hover,.catalog-select-option.is-selected{background:#f8eeec;color:var(--theme-primary)}
.cp-sort-label .catalog-custom-select{min-width:180px}.cp-sort-label .catalog-select-trigger{height:31px;font-size:10px}.cp-sort-label .catalog-select-option{padding:8px 9px;font-size:10px}
.cf-actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}
.cf-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}
.cf-btn--primary {
    background: var(--theme-primary);
    color: #fff;
    flex: 1;
    justify-content: center;
}
.cf-btn--primary:hover {
    background: var(--theme-hover);
    color: #fff;
    text-decoration: none;
}
.cf-btn--clear {
    background: #f0f0f0;
    color: #666;
}
.cf-btn--clear:hover {
    background: #e0e0e0;
    color: #333;
    text-decoration: none;
}
.cf-results-count {
    margin-top: 12px;
    padding: 8px 12px;
    background: #f8f9fc;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--theme-primary);
    text-align: center;
}

/* ======== CATEGORY LIST PANEL ======== */
.cf-category-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}
.cf-category-item {
    margin: 0;
    padding: 0;
}
.cf-category-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}
.cf-category-item a:hover {
    background: #f8f9fc;
    color: #1a1a2e;
    text-decoration: none;
}
.cf-category-item a .fa {
    color: #999;
    font-size: 14px;
    width: 18px;
    text-align: center;
    transition: color 0.15s;
}
.cf-category-item a:hover .fa {
    color: var(--theme-primary);
}
.cf-category-item--active a {
    background: #fef5f3;
    color: var(--theme-primary);
    font-weight: 700;
    border-left-color: var(--theme-primary);
}
.cf-category-item--active a .fa {
    color: var(--theme-primary);
}

/* B2C refinement: balanced hero, clearer fulfilment and earlier responsive catalogue */
.cp-hero {
    padding-bottom: 28px;
}
.cp-finder-section {
    padding-top: 0;
}

/* Category finder: one clean search action, no control nested inside the input. */
.cp-finder--category {
    grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
    gap: 28px;
    min-height: 94px;
    padding: 18px 20px;
    border-radius: 24px;
}
.cp-finder--category .cp-finder-heading {
    gap: 15px;
}
.cp-finder--category .cp-finder-heading > .fa {
    width: 48px;
    height: 48px;
    display: grid;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 15px;
    background: #eaf2ff;
    font-size: 21px;
}
.cp-finder-heading__copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}
.cp-finder-heading__copy strong {
    font-size: 15px;
    line-height: 1.3;
}
.cp-finder-guide {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    color: #667085;
    font-size: 10px;
    font-weight: 750;
    text-decoration: none;
}
.cp-finder-guide .fa {
    color: var(--theme-primary);
    font-size: 9px;
    transition: transform .18s ease;
}
.cp-finder-guide:hover {
    color: var(--theme-primary);
}
.cp-finder-guide:hover .fa {
    transform: translateX(3px);
}
.cp-finder--category .cp-finder-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 168px;
    gap: 12px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.cp-finder--category .cp-finder-control input {
    height: 54px;
    padding: 0 18px;
    border: 1px solid #d9dfe8;
    border-radius: 14px;
    background: #fff;
    font-size: 13px;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.cp-finder--category .cp-finder-control input:focus {
    border-color: #8db8fb;
    box-shadow: 0 0 0 4px rgba(66,135,245,.09) !important;
}
.cp-finder--category .cp-finder-control button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    min-height: 54px;
    padding: 0 20px;
    border-radius: 14px;
    font-size: 12px;
    cursor: pointer;
}
.cp-finder--category .cp-finder-control button .fa {
    font-size: 10px;
    transition: transform .18s ease;
}
.cp-finder--category .cp-finder-control button:hover .fa {
    transform: translateX(3px);
}
@media (max-width: 991px) {
    .cp-finder--category {
        grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
        gap: 18px;
    }
    .cp-finder--category .cp-finder-control {
        grid-template-columns: minmax(0, 1fr) 142px;
    }
}
@media (max-width: 767px) {
    .cp-finder--category {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 16px;
        border-radius: 20px;
    }
}
@media (max-width: 479px) {
    .cp-finder--category .cp-finder-control {
        grid-template-columns: 1fr;
        gap: 9px;
    }
    .cp-finder--category .cp-finder-control button {
        justify-content: center;
    }
}
.cp-hero--accessories .cp-hero-media img {
    object-fit: contain;
    object-position: center;
    padding: 24px;
    background: #fff;
}
.cp-fulfilment {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px 11px;
    border: 1px solid;
    border-radius: 12px;
}
.cp-fulfilment > i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 13px;
}
.cp-fulfilment > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}
.cp-fulfilment strong {
    font-size: 10px;
    line-height: 1.25;
}
.cp-fulfilment small {
    margin-top: 3px;
    color: #6b7280;
    font-size: 9px;
    line-height: 1.35;
}
.cp-fulfilment--available {
    border-color: #cce9d7;
    background: #f2fbf5;
}
.cp-fulfilment--available > i {
    color: #217a45;
    background: #dff4e6;
}
.cp-fulfilment--available strong {
    color: #185f37;
}
.cp-fulfilment--waiting {
    border-color: #eadcc5;
    background: #fffaf1;
}
.cp-fulfilment--waiting > i {
    color: #9a651d;
    background: #f8ead0;
}
.cp-fulfilment--waiting strong {
    color: #805218;
}
@media (max-width: 1199px) {
    .cp-catalog-grid {
        display: block;
    }
    .cp-sidebar {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 991px) {
    .cp-product-card {
        min-height: 0;
    }
}
@media (max-width: 767px) {
    .cp-hero--laptop .cp-hero-media img {
        object-position: 22% center;
    }
    .cp-hero--accessories .cp-hero-media img {
        padding: 14px;
    }
}

/* B2C stock provenance: compact fulfilment cards instead of the denser B2B warehouse table. */
.cp-b2c-stock-zones{display:grid;gap:5px;margin-bottom:3px}
.cp-b2c-stock-zone{position:relative;display:grid;grid-template-columns:27px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;min-height:39px;padding:6px 7px;overflow:hidden;border:1px solid #e5e8ee;border-radius:9px;background:#fff}
.cp-b2c-stock-zone:after{position:absolute;inset:auto 0 0;height:2px;background:#c8ccd4;content:""}
.cp-b2c-stock-zone--pl.is-available:after{background:#49bf7a}
.cp-b2c-stock-zone--eu.is-available:after{background:#4287f5}
.cp-b2c-stock-zone__code{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#f1f3f6;color:#616977;font-size:8px;font-weight:850;letter-spacing:.04em}
.cp-b2c-stock-zone--pl.is-available .cp-b2c-stock-zone__code{background:#e6f7ed;color:#217a45}
.cp-b2c-stock-zone--eu.is-available .cp-b2c-stock-zone__code{background:#eaf2ff;color:#316dcc}
.cp-b2c-stock-zone__copy{display:flex;min-width:0;flex-direction:column}
.cp-b2c-stock-zone__copy strong{overflow:visible;color:#252b37;font-size:8.5px;line-height:1.2;white-space:normal}
.cp-b2c-stock-zone__copy small{overflow:visible;margin-top:2px;color:#7a818e;font-size:7px;line-height:1.25;white-space:normal}
.cp-b2c-stock-zone>b{color:#217a45;font-size:8px;white-space:nowrap}
.cp-b2c-stock-zone--eu.is-available>b{color:#316dcc}
.cp-b2c-stock-zone.is-waiting>b{color:#99651f}
@media(max-width:767px){.cp-b2c-stock-zones{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.cp-b2c-stock-zone__copy small{white-space:normal}}
@media(max-width:479px){.cp-b2c-stock-zones{grid-template-columns:1fr}}
