.acv-root {
    --acv-navy: #002d62;
    --acv-navy-hover: #00214a;
    margin: 8px 0 40px;
}

.acv-switch {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 16px;
}

.acv-root .acv-switch__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--acv-navy);
    background: #fff;
    color: var(--acv-navy);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    line-height: 1;
    box-shadow: none;
    white-space: nowrap;
}

.acv-root .acv-switch__btn:first-child {
    border-radius: 3px 0 0 3px;
}

.acv-root .acv-switch__btn:last-child {
    border-radius: 0 3px 3px 0;
    margin-left: -1px;
}

.acv-root .acv-switch__btn.is-active {
    background: var(--acv-navy);
    color: #fff;
}

.acv-root .acv-switch__btn:hover:not(.is-active) {
    background: #f4f6f8;
}

.acv-switch__icon {
    flex-shrink: 0;
}

.acv-list[hidden],
.acv[hidden] {
    display: none !important;
}

.acv {
    --acv-text: #222222;
    --acv-muted: #6b6b6b;
    --acv-border: #d4d7de;
    --acv-notice: #f6efe2;
    --acv-notice-text: #002d62;
    background: transparent;
    color: var(--acv-text);
    margin: 0;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.35;
}

.acv p,
.acv dl,
.acv dt,
.acv dd {
    margin: 0;
    padding: 0;
    line-height: inherit;
}

.acv-filters {
    background: transparent;
    border: 1px solid var(--acv-border);
    border-radius: 6px;
    overflow: hidden;
    padding: 0;
}

.acv h2.acv-filters__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 14px 16px 6px;
    background: transparent;
    color: var(--acv-navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.acv-filters__icon {
    color: var(--acv-navy);
}

.acv-filters__search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 2px;
}

.acv .acv-filters__search-input {
    flex: 0 1 360px;
    width: 360px;
    max-width: 100%;
    min-width: 0;
    height: 36px;
    margin: 0;
    border: 1px solid #c9ced6;
    border-radius: 3px;
    background: #fff;
    padding: 0 10px;
    font-size: 13px;
    color: #555;
    line-height: 34px;
    box-shadow: none;
}

.acv .acv-card__title.is-match,
.acv .acv-card__spec dd.is-match,
.acv .acv-card__spec dd span.is-match {
    color: red;
}

.acv-filters__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 14px;
    padding: 18px 16px 16px;
    background: transparent;
}

.acv-filter {
    display: flex;
    flex-direction: column;
    min-width: 132px;
    flex: 1 1 132px;
    margin: 0;
}

.acv-filter__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--acv-navy);
    margin-bottom: 6px;
    line-height: 1.2;
}

.acv .acv-filter__select,
.acv .acv-sort select {
    height: 36px;
    border: 1px solid #c9ced6;
    border-radius: 3px;
    background-color: #fff;
    padding: 0 28px 0 10px;
    font-size: 13px;
    color: #555;
    line-height: 34px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M1.4 1.2L6 5.8l4.6-4.6L12 2.6 6 8.6 0 2.6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.acv-filters__actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
    padding-bottom: 0;
}

.acv .acv-btn {
    height: 36px;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    border-radius: 3px;
    line-height: 34px;
    text-transform: uppercase;
    box-shadow: none;
}

.acv .acv-btn--primary {
    background: var(--acv-navy);
    border: 1px solid var(--acv-navy);
    color: #fff;
}

.acv .acv-btn--primary:hover {
    background: var(--acv-navy-hover);
    border-color: var(--acv-navy-hover);
    color: #fff;
}

.acv .acv-btn--ghost {
    background: transparent;
    border: 1px solid #c5cad3;
    color: var(--acv-navy);
}

.acv .acv-btn--ghost:hover {
    border-color: var(--acv-navy);
    color: var(--acv-navy);
    background: transparent;
}

.acv-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 2px 18px;
    flex-wrap: nowrap;
}

.acv-toolbar__count {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: var(--acv-muted);
    line-height: 1.3;
    white-space: nowrap;
}

.acv-sort {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: var(--acv-text);
    white-space: nowrap;
}

.acv-sort span,
.acv-sort__label {
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 400;
}

.acv-sort select {
    min-width: 170px;
}

.acv-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.acv-card {
    border: 1px solid var(--acv-border);
    border-radius: 8px;
    background: #fff;
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.acv-card.is-hidden {
    display: none;
}

.acv h3.acv-card__title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--acv-navy);
    word-break: break-word;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
}

.acv-card__image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 108px;
    margin: 0 0 16px;
}

.acv-card__image img {
    max-width: 100%;
    max-height: 108px;
    object-fit: contain;
}

.acv-card__specs {
    margin: 0;
}

.acv-card__spec {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 2px 0;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
}

.acv-card__spec dt {
    font-weight: 700;
    color: #222;
    flex: 0 0 auto;
}

.acv-card__spec dd {
    margin: 0;
    text-align: right;
    color: #333;
    font-weight: 400;
}

.acv-card__spec--stacked dd span {
    display: block;
    font-weight: 400;
    line-height: 1.45;
}

.acv ul.acv-card__prices {
    list-style: none;
    margin: 12px 0 0;
    padding: 20px 0 2px;
    border-top: 1px solid var(--acv-border);
}

.acv .acv-card__prices li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    font-weight: 400;
    padding: 4px 0;
    color: #333;
    line-height: 1.45;
}

.acv-card__prices strong {
    color: #222;
    font-weight: 700;
    white-space: nowrap;
}

.acv .acv-card__units {
    margin: 14px 0 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    color: #222;
}

.acv .acv-card__notice {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 14px;
    padding: 8px 10px;
    background: var(--acv-notice);
    border-radius: 2px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--acv-notice-text);
}

.acv button.acv-card__notice {
    width: 100%;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.acv-card__notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--acv-navy);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    font-style: italic;
    font-family: Georgia, serif;
    flex-shrink: 0;
    line-height: 1;
    pointer-events: none;
}

.acv-card__purchase {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-top: auto;
}

form.acv-card__purchase {
    margin: 0;
}

.acv input.acv-card__qty,
.acv .acv-card__qty.quantity_wanted {
    float: none;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    text-align: center;
    border: 1px solid #c9ced6;
    border-radius: 3px;
    background: #fff;
    font-size: 14px;
    color: var(--acv-text);
    padding: 0;
    margin: 0;
    box-shadow: none;
    line-height: 38px;
    -moz-appearance: textfield;
}

.acv .acv-card__qty::-webkit-outer-spin-button,
.acv .acv-card__qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.acv-card__form {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.acv .acv-card__add {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 40px;
    line-height: 38px;
    font-size: 12px;
    letter-spacing: 0.05em;
    border-radius: 3px;
}

[data-acv-root] .add_combi_to_cart.is-busy,
[data-acv-root] .add_combi_to_cart.is-busy:hover,
.acv .acv-card__add:disabled,
.acv .acv-btn--primary:disabled,
.acv .acv-btn--primary:disabled:hover {
    opacity: 0.2;
    cursor: not-allowed;
}

.acv .acv-card__add:disabled,
.acv .acv-btn--primary:disabled,
.acv .acv-btn--primary:disabled:hover {
    background: var(--acv-navy);
    border-color: var(--acv-navy);
    color: #fff;
}

.enquire-modal-host > #ask-question {
    display: none;
}

.acv-card__enquire {
    margin-top: auto;
}

.acv-card__enquire #ask-question {
    width: 100%;
    height: 40px;
    line-height: 38px;
    float: none;
}

@media (max-width: 1200px) {
    .acv-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .acv-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .acv-filters__actions {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .acv-grid {
        grid-template-columns: 1fr;
    }

    .acv-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .acv-switch {
        justify-content: stretch;
    }

    .acv-root .acv-switch__btn {
        flex: 1;
        justify-content: center;
        padding: 0 10px;
        font-size: 11px;
    }
}
