/* ==========================================================================
   codePresta.com · Ink Finder
   Αρχική: λιτή κάρτα κάτω από το slider · floating labels · spinner στο πεδίο
   που φορτώνει · desktop: όλα σε μία γραμμή
   ========================================================================== */
.cpif {
    --cpif-blue: #1c3673;
    --cpif-ink: #1f2937;
    --cpif-muted: #6b7280;
    --cpif-line: #dcdfe6;
    --cpif-soft: #f5f7fb;
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 clamp(16px, 4vw, 56px) 32px;
    background: var(--cpif-soft);
}

/* κάτω από το slider (όχι από πάνω του — τα χειριστήρια του slider μένουν ορατά) */
.cpif:not(.is-compact) {
    padding-top: 20px;
}

.cpif.is-compact {
    margin-top: 36px;
    padding: 0;
    background: none;
}

.cpif-card {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    grid-template-areas: "title title" "steps search";
    gap: 12px 16px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 18px 20px 20px;
    border: 1px solid #e6e9ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .07);
}

.is-compact .cpif-card {
    max-width: none;
    box-shadow: none;
}

.cpif-title {
    grid-area: title;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--cpif-ink);
}

.cpif-steps {
    grid-area: steps;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 10px;
    margin: 0;
}

.cpif-search {
    grid-area: search;
    position: relative;
    margin: 0;
}

/* ── floating label ── */
.cpif-fl {
    position: relative;
}

.cpif-control {
    display: block;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 20px 36px 4px 14px;
    border: 1px solid var(--cpif-line);
    border-radius: 10px;
    outline: 0;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--cpif-ink);
    transition: border-color .15s, box-shadow .15s, background-color .15s;
    -webkit-appearance: none;
    appearance: none;
}

select.cpif-control {
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa1ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
    cursor: pointer;
}

.cpif-control:hover:not(:disabled) {
    border-color: #b9bfcb;
}

.cpif-control:focus {
    border-color: var(--cpif-blue);
    box-shadow: 0 0 0 3px rgba(28, 54, 115, .12);
}

.cpif-control:disabled {
    background-color: #f6f7f9;
    color: #9aa1ad;
    cursor: not-allowed;
}

.cpif-control::-webkit-search-cancel-button {
    display: none;
}

.cpif-fl label {
    position: absolute;
    top: 50%;
    left: 15px;
    right: 36px;
    margin: 0;
    overflow: hidden;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    color: var(--cpif-muted);
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    pointer-events: none;
    transform: translateY(-50%);
    transform-origin: left top;
    transition: top .15s, font-size .15s, color .15s;
}

.cpif-fl.has-value label,
.cpif-fl:focus-within label,
.cpif-fl input:not(:placeholder-shown) + label {
    top: 15px;
    font-size: 11.5px;
    font-weight: 500;
}

.cpif-fl:focus-within label {
    color: var(--cpif-blue);
}

.cpif-fl:has(:disabled) label {
    color: #b3b9c4;
}

/* spinner στο πεδίο που φορτώνει */
.cpif-fl.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid #d5d9e1;
    border-top-color: var(--cpif-blue);
    border-radius: 50%;
    background: #fff;
    animation: cpif-spin .6s linear infinite;
}

.cpif-fl.is-loading select.cpif-control {
    background-image: none;
}

@keyframes cpif-spin {
    to { transform: rotate(360deg); }
}

.cpif-go {
    height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: var(--cpif-blue);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s, opacity .15s;
}

.cpif-go:hover:not(:disabled) {
    background: #15295a;
}

.cpif-go:disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* αναζήτηση: κουμπί μέσα στο πεδίο */
.cpif-search .cpif-control {
    padding-right: 52px;
}

.cpif-search-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--cpif-muted);
    cursor: pointer;
    transition: background .15s, color .15s;
}

.cpif-search-btn:hover {
    background: #eef1f6;
    color: var(--cpif-blue);
}

.cpif-search .cpif-fl.is-loading::after {
    right: 18px;
}

.cpif-search .cpif-fl.is-loading .cpif-search-btn {
    visibility: hidden;
}

/* ── προτάσεις ── */
.cpif-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 60;
    min-width: 320px;
    max-height: min(440px, 60vh);
    padding: 6px;
    overflow-y: auto;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
    overscroll-behavior: contain;
}

.cpif-sg-head {
    margin: 8px 10px 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--cpif-muted);
}

.cpif-sg-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--cpif-ink);
    text-decoration: none;
}

.cpif-sg-item:hover,
.cpif-sg-item.is-active {
    background: #f1f3f7;
    color: var(--cpif-ink);
    text-decoration: none;
}

.cpif-sg-thumb {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border: 1px solid #eceef2;
    border-radius: 8px;
    background: #fff;
}

.cpif-sg-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cpif-sg-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.cpif-sg-name {
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cpif-sg-meta,
.cpif-sg-price {
    font-size: 12.5px;
    color: var(--cpif-muted);
}

.cpif-sg-price {
    font-weight: 600;
    color: var(--cpif-ink);
}

.cpif-sg-empty {
    margin: 0;
    padding: 12px;
    font-size: 14px;
    color: var(--cpif-muted);
}

.cpif-sg-all {
    display: block;
    margin-top: 4px;
    padding: 10px;
    border-top: 1px solid #eceef2;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--cpif-blue);
    text-align: center;
}

/* ── tablet: βήματα σε μία γραμμή, αναζήτηση από κάτω ── */
@media (max-width: 1199px) {
    .cpif-card {
        grid-template-columns: 1fr;
        grid-template-areas: "title" "steps" "search";
    }
}

/* ── κινητό ── */
@media (max-width: 767px) {
    .cpif {
        padding: 0 12px 24px;
    }

    .cpif:not(.is-compact) {
        padding-top: 12px;
    }

    .cpif-card {
        gap: 10px;
        padding: 14px 14px 16px;
        border-radius: 14px;
    }

    .cpif-title {
        font-size: 15px;
    }

    .cpif-steps {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .cpif-steps .cpif-fl:first-child {
        grid-column: 1 / -1;
    }

    .cpif-go {
        grid-column: 1 / -1;
        height: 48px;
    }

    .cpif-control {
        height: 50px;
        font-size: 16px; /* χωρίς zoom στο iPhone */
    }

    .cpif-suggest {
        min-width: 0;
    }
}

/* ==========================================================================
   Σελίδες εκτυπωτή / αναζήτησης
   ========================================================================== */
.cpif-page {
    padding: 8px 0 40px;
}

.cpif-page-head {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e6e9ef;
}

.cpif-page-titles {
    flex: 1 1 320px;
    min-width: 0;
}

.cpif-eyebrow {
    margin: 0 0 4px;
    font-size: 14px;
    color: #6b7280;
}

.cpif-page-title {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
}

.cpif-page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 8px 0 0;
    font-size: 14px;
    color: #6b7280;
}

.cpif-dot {
    color: #c3cad6;
}

.cpif-code {
    padding: 1px 7px;
    border: 1px solid #e3e6ec;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}

.cpif-jump {
    display: flex;
    gap: 8px;
}

.cpif-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cpif-chip,
.cpif-page .cpif-chip,
.cpif-fits .cpif-chip {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 7px 13px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    background: #fff;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.2;
    color: #1f2937;
    text-decoration: none;
    transition: border-color .15s, color .15s;
}

.cpif-chip:hover {
    border-color: #1c3673;
    color: #1c3673;
    text-decoration: none;
}

.cpif-chip.is-solid {
    border-color: #1c3673;
    background: #1c3673;
    color: #fff;
}

.cpif-chip b {
    font-weight: 700;
}

.cpif-group {
    margin-bottom: 32px;
    scroll-margin-top: 140px;
}

.cpif-group-title {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: baseline;
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.cpif-group-title > span {
    font-size: 15px;
    font-weight: 500;
    color: #9aa1ad;
}

.cpif-group-title small {
    flex-basis: 100%;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
}

.cpif-group-title.is-small {
    font-size: 16px;
}

.cpif-empty {
    margin-bottom: 28px;
    padding: 22px;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    background: #fafbfc;
    color: #4b5563;
}

.cpif-empty-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.cpif-empty p:last-child {
    margin: 0;
}

/* εκτυπωτές (αναζήτηση) */
.cpif-printers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}

.cpif-printer {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1px solid #e3e6ec;
    border-radius: 10px;
    background: #fff;
    color: #1f2937;
    text-decoration: none;
    transition: border-color .15s;
}

.cpif-printer:hover {
    border-color: #1c3673;
    color: #1f2937;
    text-decoration: none;
}

.cpif-printer-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cpif-printer-name {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.3;
}

.cpif-printer-meta {
    font-size: 13px;
    color: #6b7280;
}

.cpif-printer-arrow {
    flex: 0 0 auto;
    color: #9aa1ad;
}

@media (max-width: 767px) {
    .cpif-group-title {
        font-size: 18px;
    }
}

/* ==========================================================================
   Σελίδα προϊόντος: «Ταιριάζει στους εκτυπωτές»
   ========================================================================== */
.cpif-fits {
    margin: 16px 0;
}

.cpif-fits-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

/* κάρτα χωρίς border: καθαρό λευκό */
.cpif-card {
    border: 0;
}

/* ==========================================================================
   Ταιριάζει με τις «Μάρκες»: κάρτα χωρίς σκιά, μεγάλες γωνίες, κεφαλίδα με
   εικονίδιο σε κύκλο (#eef1f7) + τίτλο + υπότιτλο light
   ========================================================================== */
.cpif:not(.is-compact) {
    padding-top: 28px;
    padding-bottom: 36px;
}

.cpif:not(.is-compact) .cpif-card {
    gap: 18px 16px;
    padding: 24px 28px 28px;
    border: 0;
    border-radius: 24px;
    box-shadow: none;
}

.cpif-head {
    grid-area: title;
    display: flex;
    gap: 16px;
    align-items: center;
    min-width: 0;
}

.cpif-head .cpif-title {
    grid-area: auto;
}

.cpif-head-ico {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #eef1f7;
    color: var(--cpif-blue);
}

.cpif-head-ico svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cpif:not(.is-compact) .cpif-title {
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 800;
    letter-spacing: -.01em;
}

.cpif-sub {
    margin: 3px 0 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    color: #8b93a1;
}

@media (max-width: 767px) {
    .cpif:not(.is-compact) {
        padding: 16px 12px 24px;
    }

    .cpif:not(.is-compact) .cpif-card {
        gap: 12px;
        padding: 18px 16px 18px;
        border-radius: 20px;
    }

    .cpif-head {
        gap: 12px;
        align-items: flex-start;
    }

    .cpif-head-ico {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .cpif-head-ico svg {
        width: 22px;
        height: 22px;
    }

    .cpif:not(.is-compact) .cpif-title {
        font-size: 17px;
    }

    .cpif-sub {
        font-size: 13px;
    }
}

/* ίδια ευθεία με τις «Μάρκες»: ίδια πλάγια περιθώρια, χωρίς όριο πλάτους */
.cpif:not(.is-compact) {
    padding-right: clamp(16px, 3vw, 56px);
    padding-left: clamp(16px, 3vw, 56px);
}

.cpif:not(.is-compact) .cpif-card {
    max-width: none;
}

/* ==========================================================================
   Select πιο όμορφα · loading (shimmer + spinner) · «Εμφάνιση» με loading
   ========================================================================== */
/* βελάκι σε απαλό κυκλάκι */
.cpif select.cpif-control {
    padding-right: 48px;
    background:
        #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 10 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
}

.cpif .cpif-fl:has(select)::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    border-radius: 50%;
    background: #eef1f7;
    pointer-events: none;
    transition: background .15s;
}

.cpif select.cpif-control {
    background-color: transparent;
}

.cpif .cpif-fl:has(select) {
    border-radius: 10px;
    background: #fff;
}

/* επιλεγμένο: μπλε βελάκι + απαλό μπλε περίγραμμα */
.cpif .cpif-fl.has-value select.cpif-control:not(:disabled),
.cpif .cpif-fl select.cpif-control:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c3673' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 10 4 4 4-4'/%3E%3C/svg%3E");
}

.cpif .cpif-fl.has-value select.cpif-control:not(:disabled) {
    border-color: #b8c4dc;
}

.cpif .cpif-fl.has-value:has(select:not(:disabled))::before,
.cpif .cpif-fl:has(select:focus)::before {
    background: #dfe6f3;
}

/* ανενεργό: καθαρό, όχι «θολό» */
.cpif .cpif-fl:has(select:disabled) {
    background: #f7f8fb;
}

.cpif .cpif-control:disabled {
    border-color: #e6e9ef;
    background-color: transparent;
}

.cpif .cpif-fl:has(select:disabled)::before {
    background: #eceff4;
}

/* ── loading στο πεδίο: shimmer + spinner στη θέση του βέλους ── */
.cpif .cpif-fl.is-loading {
    overflow: hidden;
}

.cpif .cpif-fl.is-loading .cpif-control {
    background-image: none;
}

.cpif .cpif-fl.is-loading::before {
    top: 0;
    right: auto;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 10px;
    background: linear-gradient(100deg, rgba(238, 241, 247, 0) 20%, rgba(223, 230, 243, .9) 50%, rgba(238, 241, 247, 0) 80%) no-repeat;
    background-size: 220% 100%;
    animation: cpif-shimmer 1.1s ease-in-out infinite;
    z-index: 1;
}

.cpif .cpif-fl.is-loading::after {
    right: 14px;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: 2.5px solid #dfe6f3;
    border-top-color: var(--cpif-blue);
    background: transparent;
    z-index: 2;
}

.cpif .cpif-fl.is-loading label {
    z-index: 2;
    color: var(--cpif-blue);
}

@keyframes cpif-shimmer {
    from { background-position: 120% 0; }
    to { background-position: -120% 0; }
}

/* ── «Εμφάνιση» ── */
.cpif .cpif-go {
    position: relative;
    min-width: 120px;
    transition: background .2s, opacity .2s, transform .2s, box-shadow .2s;
}

.cpif .cpif-go:disabled {
    background: #c9d2e3;
    opacity: 1;
}

.cpif .cpif-go:not(:disabled) {
    box-shadow: 0 8px 18px -8px rgba(28, 54, 115, .55);
}

.cpif .cpif-go.is-ready {
    animation: cpif-ready .5s ease;
}

@keyframes cpif-ready {
    0% { transform: scale(1); }
    40% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

/* loading: κείμενο κρυφό, spinner στη μέση */
.cpif .cpif-go.is-loading {
    color: transparent;
    pointer-events: none;
}

.cpif .cpif-go.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2.5px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cpif-spin .6s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .cpif .cpif-fl.is-loading::before,
    .cpif .cpif-go.is-ready {
        animation: none;
    }
}

/* στρώματα: κύκλος (0) < select (1) < shimmer (2) < spinner / ετικέτα (3) */
.cpif .cpif-fl select.cpif-control {
    position: relative;
    z-index: 1;
}

.cpif .cpif-fl label {
    z-index: 3;
}

.cpif .cpif-fl.is-loading::before {
    z-index: 2;
}

.cpif .cpif-fl.is-loading::after {
    z-index: 3;
}

/* ==========================================================================
   Ενιαίο λευκό με τις «Μάρκες»: φόντο ενότητας λευκό, κάρτα σε απαλό γκρι-μπλε
   (όπως οι κάρτες του «Σας προτείνουμε»), πεδία λευκά
   ========================================================================== */
.cpif:not(.is-compact) {
    padding-bottom: 8px;
    background: #fff;
}

.cpif:not(.is-compact) .cpif-card {
    background: #f5f7fb;
}

/* εικονίδιο κεφαλίδας: λευκό κυκλάκι πάνω στο γκρι-μπλε */
.cpif:not(.is-compact) .cpif-head-ico {
    background: #fff;
}

/* όλο το wrapper της Εύρεσης λευκό (ισχυρότερος κανόνας) */
.cpif.js-cpif:not(.is-compact) {
    background: #fff;
}

/* κάρτα στο κέντρο, πιο μαζεμένη (όχι σε όλο το πλάτος) */
.cpif.js-cpif:not(.is-compact) .cpif-card {
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

/* ==========================================================================
   Dropdown (desktop): πάνελ αντί για τη native λίστα του <select>
   ========================================================================== */
.cpif .cpif-fl.has-dd {
    position: relative;
}

.cpif .cpif-fl.is-open {
    z-index: 30;
}

/* ανοιχτό: μπλε περίγραμμα + βελάκι προς τα πάνω */
.cpif .cpif-fl.is-open select.cpif-control {
    border-color: var(--cpif-blue);
    box-shadow: 0 0 0 3px rgba(28, 54, 115, .12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c3673' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 14 4-4 4 4'/%3E%3C/svg%3E");
}

.cpif-dd {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    min-width: 100%;
    width: max-content;
    max-width: 360px;
    padding: 6px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 48px -16px rgba(16, 32, 72, .28), 0 0 0 1px rgba(28, 54, 115, .06);
    opacity: 0;
    transform: translateY(-6px) scale(.98);
    transform-origin: top left;
    transition: opacity .14s ease, transform .14s ease;
}

.cpif-dd.is-in {
    opacity: 1;
    transform: none;
}

.cpif-dd[hidden] {
    display: none;
}

/* αναζήτηση (μόνο όταν οι επιλογές είναι πολλές) */
.cpif-dd-search {
    display: none;
    padding: 4px 4px 8px;
}

.cpif-dd.has-search .cpif-dd-search {
    display: block;
}

.cpif-dd-search input {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0 12px 0 36px;
    border: 0;
    border-radius: 10px;
    outline: 0;
    background: #f3f5f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa1ad' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px center / 16px;
    font-family: inherit;
    font-size: 14px;
    color: var(--cpif-ink);
}

.cpif-dd-search input:focus {
    box-shadow: 0 0 0 2px rgba(28, 54, 115, .18);
}

.cpif-dd-list {
    max-height: 300px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: #d5dbe7 transparent;
}

.cpif-dd-list li {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--cpif-ink);
    cursor: pointer;
    transition: background .1s, color .1s;
}

.cpif-dd-list li[hidden] {
    display: none;
}

.cpif-dd-list li.is-active {
    background: #f1f4f9;
}

.cpif-dd-list li.is-selected {
    background: #eaf0fa;
    font-weight: 700;
    color: var(--cpif-blue);
}

.cpif-dd-list li svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
}

.cpif-dd-list li.is-selected svg {
    opacity: 1;
}

.cpif-dd-empty {
    margin: 0;
    padding: 14px 12px;
    font-size: 14px;
    color: var(--cpif-muted);
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .cpif-dd {
        transition: none;
    }
}


/* ==========================================================================
   «Ταιριάζει στους εκτυπωτές» · ομάδες ανά μάρκα
   απαλή κάρτα · κεφαλίδα ✓ + τίτλος + πλήθος · ανά μάρκα: λογότυπο (λευκό κουτί)
   + σειρά (μικρά κεφαλαία) + μοντέλα ως λευκά chips (hover: μπλε)
   ========================================================================== */
.cpif-fits {
    margin: 18px 0 6px;
    padding: 16px 16px 18px;
    border-radius: 20px;
    background: #f5f7fb;
}

.cpif-fits-head {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 14px;
}

.cpif-fits-check {
    display: flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dff5ef;
    color: #0d9488;
}

.cpif-fits-check svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cpif-fits .cpif-fits-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #1f2937;
}

.cpif-fits-count {
    min-width: 26px;
    padding: 2px 9px;
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    color: var(--cp-primary, #1c3673);
}

.cpif-fit-groups {
    display: grid;
    gap: 10px;
}

.cpif-fit-group {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.cpif-fit-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 8px 10px;
    border-radius: 14px;
    background: #fff;
}

.cpif-fit-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cpif-fit-logo.is-text {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--cp-primary, #1c3673);
}

.cpif-fit-series {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding-top: 2px;
}

.cpif-fit-serie-name {
    display: block;
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8b93a1;
}

.cpif-fit-models {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cpif-fit-model {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    background: #fff;
    background-image: none !important;
    font-size: 13.5px;
    font-weight: 700;
    color: #1f2937;
    transition: background .15s, color .15s;
}

.cpif-fit-model:hover {
    background: var(--cp-primary, #1c3673);
    color: #fff;
}

@media (max-width: 575px) {
    .cpif-fit-group {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .cpif-fit-logo {
        justify-self: start;
        width: 96px;
        height: 44px;
    }
}


/* ==========================================================================
   Printer page · full width like the homepage · "Another printer?" as a sticky
   bar right under the header (desktop) · products 5 per row
   ========================================================================== */
body#module-cpinkfinder-printer #wrapper > .container {
    width: 100%;
    max-width: none;
    padding-right: clamp(16px, 3vw, 56px);
    padding-left: clamp(16px, 3vw, 56px);
}

body#module-cpinkfinder-printer #content-wrapper {
    width: 100%;
    max-width: none;
}

body#module-cpinkfinder-printer {
    --cpif-inset: max(0px, calc(clamp(24px, 7vw, 140px) - clamp(16px, 3vw, 56px)));
}

body#module-cpinkfinder-printer .cpif-page > :not(.cpif-sticky),
body#module-cpinkfinder-printer #wrapper .breadcrumb {
    padding-right: var(--cpif-inset);
    padding-left: var(--cpif-inset);
}

/* ── sticky bar ── */
.cpif-page .cpif-sticky {
    position: sticky;
    top: var(--cpif-sticky-top, 0px);
    z-index: 40;
    margin: 0 calc(-1 * clamp(16px, 3vw, 56px)) 26px;
    background: #fff;
    box-shadow: 0 14px 26px -24px rgba(15, 23, 42, .4);
}

.cpif-page .cpif-sticky .cpif.is-compact {
    margin: 0;
}

.cpif-page .cpif-sticky .cpif-card {
    grid-template-columns: auto minmax(0, 1.7fr) minmax(0, 1fr);
    grid-template-areas: "title steps search";
    gap: 12px 16px;
    align-items: center;
    max-width: none;
    padding: 12px calc(clamp(16px, 3vw, 56px) + var(--cpif-inset));
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.cpif-page .cpif-sticky .cpif-head {
    grid-area: title;
    margin: 0;
}

.cpif-page .cpif-sticky .cpif-title {
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

/* ── products: 5 per row ── */
.cpif-page .cpif-group .products {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.cpif-page .cpif-group .products::before,
.cpif-page .cpif-group .products::after {
    display: none;
}

.cpif-page .cpif-group .products > .js-product {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    float: none;
    flex: none;
}

@media (max-width: 1399px) {
    .cpif-page .cpif-group .products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1199px) {
    body#module-cpinkfinder-printer {
        --cpif-inset: max(0px, calc(32px - clamp(16px, 3vw, 56px)));
    }

    .cpif-page .cpif-sticky .cpif-card {
        grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
        grid-template-areas: "title title" "steps search";
    }

    .cpif-page .cpif-group .products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* tablet / phone: a normal card at the top (a sticky form would cover half the screen) */
@media (max-width: 991px) {
    .cpif-page .cpif-sticky {
        position: static;
        margin: 0 0 22px;
        box-shadow: none;
        background: transparent;
    }

    body#module-cpinkfinder-printer .cpif-page > .cpif-sticky {
        padding-right: var(--cpif-inset);
        padding-left: var(--cpif-inset);
    }

    .cpif-page .cpif-sticky .cpif-card {
        padding: 16px;
        border-radius: 20px;
        background: #fff;
    }
}

@media (max-width: 767px) {
    body#module-cpinkfinder-printer {
        --cpif-inset: 0px;
    }

    .cpif-page .cpif-sticky .cpif-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "title" "steps" "search";
    }

    .cpif-page .cpif-group .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

/* printer page: no breadcrumb · the "Another printer?" bar starts right under the header, roomier */
body#module-cpinkfinder-printer #wrapper .breadcrumb {
    display: none;
}

body#module-cpinkfinder-printer #wrapper {
    padding-top: 0;
}

@media (min-width: 992px) {
    .cpif-page .cpif-sticky {
        margin-top: 0;
        margin-bottom: 32px;
    }

    .cpif-page .cpif-sticky .cpif-card {
        padding-top: 22px;
        padding-bottom: 22px;
    }
}

@media (max-width: 991px) {
    .cpif-page .cpif-sticky {
        margin-top: 16px;
    }

    .cpif-page .cpif-sticky .cpif-card {
        padding: 20px;
    }
}

/* printer page: no padding on the page section (the bar touches the header) */
body#module-cpinkfinder-printer .cpif-page {
    padding-top: 0;
    padding-bottom: 40px;
}

/* printer page: no header shadow on scroll (the sticky bar carries the separation) */
body#module-cpinkfinder-printer #header,
body#module-cpinkfinder-printer #header.is-scrolled {
    box-shadow: none !important;
}
