[x-cloak] { display: none !important; }

.ekr-hyva-pdp-fitment {
    margin: 18px 0 20px;
    padding: 18px;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    background: #fff;
    color: #111827;
}

.ekr-hyva-pdp-fitment__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.ekr-hyva-pdp-fitment__heading h2 {
    margin: 3px 0 18px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
}

.ekr-hyva-pdp-fitment__eyebrow {
    display: block;
    color: #ed1c24;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ekr-hyva-pdp-fitment__change {
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #ed1c24;
    font-weight: 750;
    cursor: pointer;
}

.ekr-hyva-pdp-fitment__selected {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #d7ead9;
    border-radius: 9px;
    background: #f4fbf5;
}

.ekr-hyva-pdp-fitment__selected > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ekr-hyva-pdp-fitment__selected strong {
    font-size: 15px;
    line-height: 1.35;
}

.ekr-hyva-pdp-fitment__selected span:not(.ekr-hyva-pdp-fitment__check) {
    color: #58705b;
    font-size: 12px;
}

.ekr-hyva-pdp-fitment__check {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #218838;
    color: #fff;
    font-weight: 800;
}

.ekr-hyva-pdp-fitment__base-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.ekr-hyva-pdp-fitment__base-fields label {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ekr-hyva-pdp-fitment__base-fields label > span,
.ekr-hyva-pdp-fitment__feature legend {
    color: #475467;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.ekr-hyva-pdp-fitment select {
    width: 100%;
    min-height: 46px;
    padding: 0 38px 0 12px;
    border: 1px solid #cfd5dc;
    border-radius: 7px;
    background-color: #fff;
    color: #111827;
}

.ekr-hyva-pdp-fitment select:focus {
    border-color: #111827;
    outline: 2px solid rgba(17, 24, 39, .08);
    outline-offset: 1px;
}

.ekr-hyva-pdp-fitment select:disabled {
    background-color: #f6f7f8;
    color: #98a2b3;
    cursor: not-allowed;
}

.ekr-hyva-pdp-fitment__features {
    margin-top: 17px;
    padding-top: 17px;
    border-top: 1px solid #edf0f2;
}

.ekr-hyva-pdp-fitment__feature {
    min-width: 0;
    margin: 0 0 17px;
    padding: 0;
    border: 0;
}

.ekr-hyva-pdp-fitment__feature:last-child {
    margin-bottom: 0;
}

.ekr-hyva-pdp-fitment__feature legend {
    width: 100%;
    margin: 0 0 9px;
}

.ekr-hyva-pdp-fitment__required {
    color: #ed1c24;
}

.ekr-hyva-pdp-fitment__feature-options {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ekr-hyva-pdp-fitment__feature-option {
    position: relative;
    min-height: 40px;
    margin: 0;
    padding: 9px 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #cfd5dc;
    border-radius: 7px;
    background: #fff;
    color: #344054;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.ekr-hyva-pdp-fitment__feature-option:hover {
    border-color: #8f98a3;
}

.ekr-hyva-pdp-fitment__feature-option.is-selected {
    border-color: #ed1c24;
    background: #fff7f7;
    box-shadow: 0 0 0 1px #ed1c24 inset;
}

.ekr-hyva-pdp-fitment__feature-option.is-disabled {
    opacity: .45;
    background: #f6f7f8;
    cursor: not-allowed;
}

.ekr-hyva-pdp-fitment__feature-option input[type="radio"] {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #ed1c24;
}

.ekr-hyva-pdp-fitment__actions {
    margin-top: 18px;
}

.ekr-hyva-pdp-fitment__button {
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 7px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.ekr-hyva-pdp-fitment__actions .ekr-hyva-pdp-fitment__button,
.ekr-hyva-pdp-fitment__request .ekr-hyva-pdp-fitment__button {
    width: 100%;
}

.ekr-hyva-pdp-fitment__button--primary {
    background: #ed1c24;
    border-color: #ed1c24;
    color: #fff;
}

.ekr-hyva-pdp-fitment__button--primary:hover:not(:disabled) {
    background: #d8171e;
    border-color: #d8171e;
}

.ekr-hyva-pdp-fitment__button--dark {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.ekr-hyva-pdp-fitment__button--outline {
    background: #fff;
    border-color: #111827;
    color: #111827;
}

.ekr-hyva-pdp-fitment__button:disabled {
    opacity: .48;
    cursor: not-allowed;
}

.ekr-hyva-pdp-fitment__status,
.ekr-hyva-pdp-fitment__message {
    margin-top: 14px;
    padding: 11px 13px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.55;
}

.ekr-hyva-pdp-fitment__status {
    background: #f5f7fa;
    color: #475467;
}

.ekr-hyva-pdp-fitment__message--error {
    border: 1px solid #f2c6ca;
    background: #fff4f5;
    color: #9f1c28;
}

.ekr-hyva-pdp-fitment__request,
.ekr-hyva-pdp-fitment__unavailable {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid #e3e6ea;
    border-radius: 9px;
    background: #fafbfc;
    text-align: center;
}

.ekr-hyva-pdp-fitment__request p,
.ekr-hyva-pdp-fitment__unavailable p {
    max-width: 560px;
    margin: 0 auto 16px;
    color: #344054;
    line-height: 1.55;
}

.ekr-hyva-pdp-fitment__unavailable-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/*
 * Vehicle/vehicleFBM products must not expose configurable/custom options or
 * purchase controls before exact fitment is confirmed. The fitment selector
 * stays visible inside the Hyva product-info card.
 */
.ekr-hyva-product-info.ekr-vehicle-fitment-pending .ekr-hyva-product-info__product-form,
.ekr-hyva-product-info.ekr-vehicle-fitment-pending .ekr-hyva-product-info__purchase-actions {
    display: none !important;
}

.ekr-hyva-product-info__fitment {
    position: relative;
    z-index: 1;
}

/* Fitment request modal is teleported to body, outside PDP/header stacking contexts. */
.ekr-hyva-fitment-request-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 16, 28, .68);
    overflow: auto;
}

.ekr-hyva-fitment-request-modal {
    width: min(720px, 100%);
    max-height: calc(100dvh - 56px);
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}

.ekr-hyva-fitment-request-modal__header {
    padding: 24px 28px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #eceff2;
}

.ekr-hyva-fitment-request-modal__header h2 {
    margin: 3px 0 0;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 850;
}

.ekr-hyva-fitment-request-modal__close {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e4e8;
    border-radius: 50%;
    background: #fff;
    color: #111827;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.ekr-hyva-fitment-request-modal__body {
    max-height: calc(100dvh - 150px);
    padding: 24px 28px 28px;
    overflow-y: auto;
}

.ekr-hyva-fitment-request-modal__intro {
    margin: 0 0 20px;
    color: #667085;
    line-height: 1.65;
}

.ekr-hyva-fitment-request-modal__summary {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(160px, 1fr);
    gap: 14px;
    margin-bottom: 22px;
    padding: 18px;
    border: 1px solid #e5e8eb;
    border-radius: 10px;
    background: #fafbfc;
}

.ekr-hyva-fitment-request-modal__summary label,
.ekr-hyva-fitment-request-modal__email {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ekr-hyva-fitment-request-modal__summary label.is-wide {
    grid-column: 1 / -1;
}

.ekr-hyva-fitment-request-modal__summary label > span,
.ekr-hyva-fitment-request-modal__email > span {
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}

.ekr-hyva-fitment-request-modal__summary input,
.ekr-hyva-fitment-request-modal__summary textarea,
.ekr-hyva-fitment-request-modal__email input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #d7dce1;
    border-radius: 7px;
    background: #fff;
    color: #344054;
}

.ekr-hyva-fitment-request-modal__summary textarea {
    min-height: 72px;
    resize: vertical;
}

.ekr-hyva-fitment-request-modal__email b {
    color: #ed1c24;
}

.ekr-hyva-fitment-request-modal__note {
    margin: 7px 0 0;
    color: #7a8492;
    font-size: 12px;
    line-height: 1.5;
}

.ekr-hyva-fitment-request-modal__submit {
    width: 100%;
    margin-top: 22px;
}

.ekr-hyva-fitment-request-modal__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.ekr-hyva-fitment-request-modal__success {
    padding: 18px 4px 4px;
    text-align: center;
}

.ekr-hyva-fitment-request-modal__success-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf9f0;
    color: #218838;
    font-size: 30px;
    font-weight: 800;
}

.ekr-hyva-fitment-request-modal__success h3 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 850;
}

.ekr-hyva-fitment-request-modal__success p {
    max-width: 520px;
    margin: 0 auto 24px;
    color: #667085;
    line-height: 1.65;
}

@media (max-width: 767px) {
    .ekr-hyva-pdp-fitment {
        padding: 17px;
        border-radius: 10px;
    }

    .ekr-hyva-pdp-fitment__base-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .ekr-hyva-pdp-fitment__feature-options {
        flex-direction: column;
    }

    .ekr-hyva-pdp-fitment__feature-option {
        width: 100%;
    }

    .ekr-hyva-pdp-fitment__unavailable-actions {
        grid-template-columns: 1fr;
    }

    .ekr-hyva-fitment-request-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .ekr-hyva-fitment-request-modal {
        width: 100%;
        max-height: calc(100dvh - 24px);
        border-radius: 16px 16px 8px 8px;
    }

    .ekr-hyva-fitment-request-modal__header {
        padding: 20px 18px 15px;
    }

    .ekr-hyva-fitment-request-modal__body {
        max-height: calc(100dvh - 112px);
        padding: 20px 18px 24px;
    }

    .ekr-hyva-fitment-request-modal__summary {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .ekr-hyva-fitment-request-modal__summary label.is-wide {
        grid-column: auto;
    }
}
