.knowhouse-offerte-cart {
    margin-bottom: 30px;
}

.knowhouse-offerte-button-wrapper {
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.knowhouse-offerte-action-message {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(0, 128, 0, 0.08);
    color: #1f7a1f;
    font-weight: 600;
    border: 1px solid rgba(0, 128, 0, 0.18);
}

.knowhouse-offerte-action-message.is-visible {
    display: block;
}

.knowhouse-offerte-action-message a {
    color: inherit;
    text-decoration: underline;
}

.knowhouse-offerte-cart__summary-note {
    margin-bottom: 12px;
    font-weight: 600;
    color: #0060a9;
}

.knowhouse-offerte-cart__summary-note.is-highlight {
    padding: 16px 18px;
    border: 1px solid rgba(0, 128, 0, 0.18);
    border-radius: 8px;
    background: rgba(0, 128, 0, 0.06);
    color: #1f7a1f;
}

.knowhouse-offerte-cart__summary-note__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.knowhouse-offerte-cart__summary-note__content strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.knowhouse-offerte-cart__summary-note__content strong::before {
    content: '\f00c';
    font-family: 'fontawesome';
    font-weight: 900;
    color: #fff;
    background: #1f7a1f;
    border-radius: 999px;
    width: 18px;
    height: 18px;
    font-size: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.knowhouse-offerte-cart__summary-note__content p {
    margin: 0;
    font-weight: 500;
}

.knowhouse-offerte-cart__items {
    display: grid;
    gap: 12px;
}

.knowhouse-offerte-cart__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px;
    border: 1px solid var(--color-content-border);
    border-radius: 8px;
    background: var(--color-content-bg);
}

.knowhouse-offerte-cart__content {
    min-width: 0;
}

.knowhouse-offerte-cart__content strong {
    display: inline-block;
    margin-bottom: 4px;
}

.knowhouse-offerte-cart__content a {
    color: inherit;
    text-decoration: none;
}

.knowhouse-offerte-cart__content a:hover {
    text-decoration: underline;
}

.knowhouse-offerte-cart__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.knowhouse-remove-offerte-item {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.knowhouse-offerte-cart__empty,
.knowhouse-offerte-cart__notice {
    padding: 20px;
    border: 1px dashed var(--color-content-border);
    border-radius: 8px;
}

.knowhouse-offerte-cart__shared-notice {
    padding: 16px 18px;
    border: 1px solid rgba(0, 90, 180, 0.18);
    border-radius: 8px;
    background: rgba(0, 96, 169, 0.06);
    color: #0060a9;
}

.knowhouse-offerte-cart__shared-notice strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.knowhouse-offerte-cart__shared-notice strong::before {
    font-family: 'fontawesome';
    font-weight: 900;
    content: '\f05a';
}

.knowhouse-offerte-cart__share {
    margin-top: 24px;
}

.knowhouse-offerte-cart__share.is-hidden,
.knowhouse-share-offerte-cart.is-hidden {
    display: none !important;
}

.knowhouse-offerte-cart__share-result {
    margin-top: 12px;
}

.knowhouse-offerte-cart__share-box,
.knowhouse-offerte-cart__share-error {
    padding: 16px 18px;
    border-radius: 8px;
}

.knowhouse-offerte-cart__share-box {
    border: 1px solid var(--color-content-border);
    background: var(--color-content-bg);
}

.knowhouse-offerte-cart__share-error {
    border: 1px solid rgba(180, 0, 0, 0.2);
    background: rgba(180, 0, 0, 0.06);
}

.knowhouse-offerte-cart__share-field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.knowhouse-offerte-cart__share-field .knowhouse-copy-offerte-cart-link {
    flex-shrink: 0;
    white-space: nowrap;
}

.knowhouse-offerte-cart__share-input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--color-content-border) !important;
    background: var(--color-content-bg) !important;
    padding: 0 1rem !important;
    border-radius: 8px !important;
}

.knowhouse-offerte-cart__shared-notice-container {
    margin-bottom: 20px !important;
}

.knowhouse-offerte-cart__status {
    margin-top: 24px;
    margin-bottom: 24px;
}

.knowhouse-offerte-cart__status.is-empty-state {
    margin-bottom: 24px;
}

.knowhouse-offerte-message {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(0, 128, 0, 0.08);
    color: #1f7a1f;
    font-weight: 600;
}

.knowhouse-offerte-message.is-visible {
    display: block;
}

.knowhouse-view-offerte-cart-link {
    display: none !important;
    margin-top: 12px;
}

.knowhouse-view-offerte-cart-link.is-visible {
    display: inline-block !important;
}

.knowhouse-add-selected-offerte.is-hidden {
    display: none !important;
}

.selected-offerte-field.gf-hidden {
    display: none !important;
}

.single-aanbod .knowhouse-open-offerte-popup {
    width: 100%;
}

.single-aanbod #offerte-aanvragen {
    display: none;
}

.offerte-aanvragen-knop {
    position: relative;
    padding-right: 42px;
}

.knowhouse-offerte-count-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 6px;
    aspect-ratio: 1;
    border-radius: 999px;
    background: #009525;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    position: absolute;
    top: -0.8em;
    right: -0.8em;
}

.knowhouse-offerte-count-badge:empty {
    display: none;
}

@media (max-width: 767px) {
    .knowhouse-offerte-cart__item {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem !important;
    }

    .knowhouse-offerte-cart__actions {
        width: 100%;
        justify-content: space-between;
    }

    .knowhouse-offerte-cart__share-field {
        align-items: stretch;
        flex-direction: column;
    }
}
