/* =========================================================
   CATALOGUS AANBIEDEN
   Wordt gebruikt door:
   - CatalogItem/d
   - Catalog/Offer (bulk, later)
   ========================================================= */

/* =========================================================
        CATALOGUS - BASIS
        ========================================================= */

.bulk-offer-empty {
    background: #ececec !important;
    border-color: #d9d9d9 !important;
    color: #777 !important;
    box-shadow: none !important;
}

.bd-catalog-title-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bd-catalog-multi-save {
    background: transparent !important;
    border: 1px solid #c8c8c8 !important;
    color: #666 !important;
    box-shadow: none;
}

    .bd-catalog-multi-save:hover,
    .bd-catalog-multi-save:focus {
        background: #f5f5f5;
        border-color: #aaa;
        color: #444;
        text-decoration: none;
    }

.bd-bulk-list-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px 18px;
}

    .bd-bulk-list-toolbar form,
    .bd-bulk-list-toolbar fieldset {
        margin: 0;
    }

@media (max-width: 767px) {

    .bd-bulk-list-toolbar {
        flex-wrap: wrap;
        gap: 8px 14px;
        padding: 12px;
    }
}

.bd-bulk-list-count {
    margin: 0;
    padding: 0;
}

.bd-bulk-delete-all {
    margin: 0;
}

    .bulk-offer-empty:hover,
    .bulk-offer-empty:focus {
        background: #cfcfcf !important;
        border-color: #cfcfcf !important;
        color: #666 !important;
    }

.bd-catalog-offer-card {
    margin: 10px 0 24px;
    background: #fff;
    border: 1px solid #d9dee2;
    border-radius: 3px;
    box-shadow: 0 3px 10px rgba(0,0,0,.04);
    overflow: hidden;
}

.bd-catalog-offer-card-inner {
    padding: 0 20px 20px;
}

.bd-create--catalog-offer {
    width: 100%;
}

.bd-catalog-offer-header {
    margin-left: -20px;
    margin-right: -20px;
    padding: 8px 20px 18px;
    border-bottom: 1px solid #e3e6e8;
    background: #fff;
}

.bd-catalog-offer-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.bd-catalog-offer-image {
    display: block;
    width: 88px;
    height: auto;
    max-height: 125px;
    object-fit: contain;
    border: 1px solid #e2e5e7;
    border-radius: 2px;
    background: #fff;
}

.bd-catalog-offer-title {
    color: #111;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
}

/* =========================================================
    AANBIEDFORMULIER OPENEN
    ========================================================= */

.bd-catalog-offer-trigger {
    display: block;
    width: 100%;
    padding: 18px 12px;
    border: 0;
    background: transparent;
    color: #118abd;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
}

    .bd-catalog-offer-trigger:hover,
    .bd-catalog-offer-trigger:focus {
        color: #0d739e;
        text-decoration: underline;
        outline: none;
    }

@media (max-width: 767px) {
    .bd-catalog-offer-trigger {
        padding: 15px 10px;
        font-size: 18px;
    }
}


/* =========================================================
        BESTEMMINGSKEUZE
        ========================================================= */

.bd-catalog-destination-section {
    padding-bottom: 20px;
}

.bd-catalog-destination-choices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.bd-catalog-destination-card {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    min-height: 105px;
    padding: 17px 16px;
    border: 1px solid #d8e0e5;
    border-radius: 5px;
    background: #fff;
    color: #263746;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

    .bd-catalog-destination-card:hover,
    .bd-catalog-destination-card:focus {
        border-color: #118abd;
        background: #f8fcfe;
        box-shadow: 0 2px 7px rgba(0,0,0,.05);
        outline: none;
    }

.bd-destination-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    margin-right: 16px;
    border-radius: 50%;
    background: #f3efd4;
    color: #131414;
    font-size: 22px;
}

.bd-catalog-destination-content {
    display: block;
    min-width: 0;
}

    .bd-catalog-destination-content strong {
        display: block;
        margin-bottom: 4px;
        color: #263746;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.25;
    }

    .bd-catalog-destination-content small {
        display: block;
        color: #7b8790;
        font-size: 11px;
        line-height: 1.45;
    }


/* =========================================================
        GEKOZEN BESTEMMING
        ========================================================= */

.bd-catalog-destination-summary {
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #c8e0eb;
    border-radius: 5px;
    background: #f5fbfd;
}

.bd-catalog-destination-summary-content {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.bd-catalog-destination-check {
    display: flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #118abd;
    color: #fff;
    font-size: 12px;
}

.bd-catalog-destination-summary strong {
    display: block;
    color: #263746;
    font-size: 13px;
    font-weight: 600;
}

.bd-catalog-destination-summary small {
    display: block;
    margin-top: 2px;
    color: #74818a;
    font-size: 11px;
    line-height: 1.4;
}

.bd-catalog-destination-change {
    flex: 0 0 auto;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #118abd;
    font-size: 11px;
    cursor: pointer;
}

    .bd-catalog-destination-change:hover {
        text-decoration: underline;
    }


/* =========================================================
        VEILINGMODAL
        ========================================================= */

.catalog-auction-options {
    text-align: left;
}



.catalog-auction-section-title {
    margin: 15px 0 6px;
    color: #7b8790;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

    .catalog-auction-section-title:first-child {
        margin-top: 0;
    }

.catalog-auction-option {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 7px;
    padding: 11px 12px;
    border: 1px solid #d8e0e5;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
}

    .catalog-auction-option:hover {
        border-color: #b9d5e2;
        background: #f9fcfd;
    }

    /* Geselecteerde veilingkeuze */
    .catalog-auction-option:has(input[type="radio"]:checked) {
        border: 1px solid #948634;
        background: #faf8ee;
    }

    .catalog-auction-option input {
        flex: 0 0 auto;
        margin-top: 4px;
    }

.catalog-auction-option-content {
    display: block;
}

    .catalog-auction-option-content strong {
        display: block;
        margin-bottom: 2px;
        color: #263746;
        font-size: 13px;
        font-weight: 600;
    }

    .catalog-auction-option-content small {
        display: block;
        color: #7b8790;
        font-size: 10px;
        line-height: 1.45;
    }


/* =========================================================
        VERZENDPROFIEL INFO
        ========================================================= */

.bd-catalog-description {
    min-height: 85px;
    height: 85px;
    resize: vertical;
}

.bd-catalog-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 11px 13px;
    background: #f7f9fa;
    border: 1px solid #dde3e6;
    border-radius: 2px;
    color: #555;
    font-size: 11px;
    line-height: 1.45;
}

    .bd-catalog-info strong {
        color: #222;
        font-size: 12px;
    }

    .bd-catalog-info a {
        margin-top: 2px;
        color: #118abd;
        text-decoration: none;
    }

        .bd-catalog-info a:hover {
            text-decoration: underline;
        }

.bd-catalog-offer-form .formresult:empty {
    display: none;
}


.bd-catalog-photo-choice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid #d8e0e5;
    border-radius: 5px;
    background: #f7f9fa;
}

.bd-catalog-photo-choice-icon {
    display: flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef7fb;
    color: #118abd;
    font-size: 16px;
}

.bd-catalog-photo-choice strong {
    display: block;
    margin-bottom: 3px;
    color: #263746;
    font-size: 13px;
    font-weight: 600;
}

.bd-catalog-photo-choice small {
    display: block;
    color: #74818a;
    font-size: 11px;
    line-height: 1.45;
}


/* =========================================================
        MOBILE
        ========================================================= */

@media (max-width: 767px) {

    .bd-catalog-offer-item {
        align-items: flex-start;
        gap: 12px;
    }

    .bd-catalog-offer-image {
        width: 70px;
        max-height: 100px;
    }

    .bd-catalog-offer-title {
        font-size: 17px;
    }

    .bd-catalog-destination-choices {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .bd-catalog-destination-card {
        min-height: 0;
        padding: 11px 12px;
        gap: 11px;
    }

    .bd-catalog-destination-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .bd-catalog-destination-content strong {
        margin-bottom: 1px;
        font-size: 13px;
    }

    .bd-catalog-destination-content small {
        font-size: 10px;
    }

    .bd-catalog-destination-summary {
        padding: 10px 11px;
    }

        .bd-catalog-destination-summary strong {
            font-size: 12px;
        }

        .bd-catalog-destination-summary small {
            font-size: 10px;
        }
}

.bd-bulk-offer-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.bd-bulk-offer-column {
    min-width: 0;
}

@media (max-width: 900px) {
    .bd-bulk-offer-columns {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
     TITEL + AANBIEDKNOP
     ========================================================= */

.bd-catalog-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 6px;
}

.bd-catalog-page-title {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
}

.bd-catalog-offer-button {
    flex: 0 0 auto;
    padding: 10px 22px;
    border: 1px solid #dc6e15;
    border-radius: 3px;
    background: #dc6e15 !important;
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

    .bd-catalog-offer-button:hover,
    .bd-catalog-offer-button:focus {
        border-color: #c37c43;
        background: #c37c43;
        color: #fff;
        text-decoration: none;
        outline: none;
    }



.close-cross {
    background: none !important;
    color: #263746 !important;
    border: none !important;
    font-weight: bold;
    font-size:20px !important;
}

@media (max-width: 767px) {

    .bd-catalog-page-title {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        margin-bottom: 12px;
    }

        .bd-catalog-page-title .page-title {
            width: 100%;
            white-space: normal;
            overflow-wrap: normal;
            word-break: normal;
            line-height: 1.25;
        }
}

    /* =========================================================
     CATALOGUSGEGEVENS SCHEIDING
     ========================================================= */
    .bd-catalog-detail-divider {
        display: flex;
        align-items: center;
        gap: 14px;
        margin: 28px 0 18px;
        color: #66737b;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .bd-catalog-detail-divider::before,
    .bd-catalog-detail-divider::after {
        content: "";
        flex: 1 1 auto;
        height: 1px;
        background: #d9dee2;
    }

    .bd-catalog-detail-divider span {
        flex: 0 0 auto;
    }





/* =========================================================
     MOBILE
     ========================================================= */

@media (max-width: 767px) {

    .bd-catalog-title-row {
        align-items: flex-start;
        gap: 12px;
    }

    .bd-catalog-offer-button {
        padding: 8px 14px;
        font-size: 12px;
    }
}

.bd-catalog-offer-button-close {
    flex: 0 0 auto;
    padding: 10px 22px;
    border: 1px solid #118abd;
    border-radius: 3px;
    background: #fff;
    color: #118abd;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

    .bd-catalog-offer-button-close:hover,
    .bd-catalog-offer-button-close:focus {
        border-color: #0d79a6 !important;
        background: #f5fbfd;
        color: #0d79a6 !important;
        text-decoration: none;
        outline: none;
    }

    .bd-catalog-offer-button-close:hover,
    .bd-catalog-offer-button-close:focus {
        border-color: #0d79a6 !important;
        background: #f5fbfd;
        color: #0d79a6 !important;
        text-decoration: none;
        outline: none;
    }

/* =========================================================
   CATALOGUSITEM - NIEUW / WIJZIGEN
   ========================================================= */
.bd-catalog-edit-form {
    width: 100%;
    max-width: 920px;
}

.bd-catalog-edit-field {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin-bottom: 14px;
}

    .bd-catalog-edit-field > label {
        margin: 0;
        color: #222;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.3;
    }

.bd-catalog-edit-field--top {
    align-items: start;
}

    .bd-catalog-edit-field--top > label {
        padding-top: 9px;
    }

.bd-catalog-edit-control {
    min-width: 0;
}


.bd-catalog-edit-input,
.bd-catalog-edit-select,
.bd-catalog-edit-textarea {
    width: 100%;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid #cbd1d5;
    border-radius: 2px;
    background: #fff;
    color: #222;
    font-size: 14px;
    box-shadow: none;
}

    .bd-catalog-edit-input:focus,
    .bd-catalog-edit-select:focus,
    .bd-catalog-edit-textarea:focus {
        border-color: #118abd;
        outline: none;
    }

.bd-catalog-edit-textarea {
    min-height: 110px;
    resize: vertical;
}

.bd-catalog-edit-money {
    display: flex;
    align-items: stretch;
    max-width: 220px;
}

.bd-catalog-edit-money-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    border: 1px solid #cbd1d5;
    border-right: 0;
    border-radius: 2px 0 0 2px;
    background: #f6f7f8;
    color: #666;
}

.bd-catalog-edit-money .bd-catalog-edit-input {
    border-radius: 0 2px 2px 0;
}

.bd-catalog-edit-control .field-validation-error {
    display: block;
    margin-top: 5px;
    color: #c83d3d;
    font-size: 12px;
}

.bd-catalog-edit-field .input-validation-error {
    border-color: #d9534f !important;
}

/* Select2 gelijk trekken met overige velden */

.bd-catalog-edit-form .select2-container {
    width: 100% !important;
}

    .bd-catalog-edit-form .select2-container .select2-selection--single {
        height: 40px;
        border: 1px solid #cbd1d5;
        border-radius: 2px;
    }

        .bd-catalog-edit-form .select2-container .select2-selection--single .select2-selection__rendered {
            line-height: 38px;
            padding-left: 11px;
            color: #222;
            font-size: 14px;
        }

        .bd-catalog-edit-form .select2-container .select2-selection--single .select2-selection__arrow {
            height: 38px;
        }

.bd-catalog-edit-form .select2-container--default.select2-container--focus .select2-selection--single,
.bd-catalog-edit-form .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #118abd;
}

@media (max-width: 767px) {
    .bd-catalog-edit-form {
        max-width: none;
    }

    .bd-catalog-edit-field {
        display: block;
        margin-bottom: 16px;
    }

        .bd-catalog-edit-field > label,
        .bd-catalog-edit-field--top > label {
            display: block;
            margin-bottom: 6px;
            padding-top: 0;
        }

    .bd-catalog-edit-money {
        max-width: none;
    }
}


.bd-catalog-edit-control > .field-validation-error {
    display: block !important;
    margin: 5px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #c83d3d !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

    .bd-catalog-edit-control > .field-validation-error span {
        color: #c83d3d !important;
        font-weight: 400 !important;
    }

.bd-catalog-edit-control .input-validation-error {
    border-color: #d9534f !important;
}

/* =========================================================
   OFFER - BESTEMMING EERST KIEZEN
   ========================================================= */

.bd-offer-destination {
    margin-bottom: 18px;
}

    .bd-offer-destination .bd-create-section-title {
        align-items: flex-start;
    }

        .bd-offer-destination .bd-create-section-title h2 {
            margin: 0;
        }

    .bd-offer-destination .bd-create-section-intro {
        margin-top: 3px;
    }


/* Keuzekaarten */

.bd-destination-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.bd-destination-card {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 108px;
    padding: 18px 48px 18px 18px;
    margin: 0;
    border: 1px solid #d7e0e7;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

    .bd-destination-card:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(20, 152, 201, .18);
    }

    .bd-destination-card:hover {
        border-color: #1498c9;
        box-shadow: 0 3px 12px rgba(0, 0, 0, .06);
    }

.bd-destination-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}


/* geselecteerde keuze */

.bd-destination-card.is-selected {
    border-color: #1498c9;
    background: #f4fbfe;
    box-shadow: 0 0 0 1px #1498c9;
}


/* icoon */

.bd-destination-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    margin-right: 16px;
    border-radius: 50%;
    background: #f3efd4;
    color: #131414;
    font-size: 22px;
}


/* tekst */

.bd-destination-content {
    display: block;
    min-width: 0;
}

    .bd-destination-content strong {
        display: block;
        margin-bottom: 5px;
        color: #142033;
        font-size: 16px;
        line-height: 1.25;
    }

    .bd-destination-content small {
        display: block;
        color: #7a8794;
        font-size: 13px;
        line-height: 1.45;
    }


/* pijl */

.bd-destination-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #182433;
    font-size: 26px;
    line-height: 1;
}


/* info onder keuze */

.bd-destination-info {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 15px;
    padding: 13px 16px;
    border: 1px solid #cde8f4;
    border-radius: 7px;
    background: #f2faff;
    color: #24566d;
}

    .bd-destination-info > i {
        color: #1498c9;
        font-size: 21px;
    }

    .bd-destination-info strong {
        display: block;
        margin-bottom: 2px;
        color: #183d50;
        font-size: 14px;
    }

    .bd-destination-info span {
        display: block;
        color: #69818d;
        font-size: 12px;
    }



/* mobiel */

@media (max-width: 767px) {

    .bd-destination-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .bd-destination-card {
        min-height: 90px;
        padding: 14px 42px 14px 14px;
    }

    .bd-destination-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        margin-right: 12px;
        font-size: 19px;
    }

    .bd-destination-content strong {
        font-size: 15px;
    }

    .bd-destination-content small {
        font-size: 12px;
    }

    .bd-destination-arrow {
        right: 14px;
    }
}

/* =========================================================
   GEKOZEN BESTEMMING
   ========================================================= */

.bd-destination-summary {
    margin-top: 16px;
}

.bd-destination-summary-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid #a99931;
    border-radius: 7px;
    background: #ffffff;
}

    .bd-destination-summary-content > div {
        min-width: 0;
    }

    .bd-destination-summary-content strong {
        display: block;
        margin-bottom: 3px;
        color: #15394b;
        font-size: 15px;
        line-height: 1.3;
    }

    .bd-destination-summary-content span {
        display: block;
        color: #6e8490;
        font-size: 13px;
        line-height: 1.4;
    }

.bd-destination-change {
    flex: 0 0 auto;
    padding: 7px 12px;
    border: 1px solid #1498c9;
    border-radius: 5px;
    background: #fff;
    color: #1498c9;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

    .bd-destination-change:hover {
        background: #1498c9;
        color: #fff;
    }

    .bd-destination-change:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(20, 152, 201, .18);
    }