/* Calgary Tire Finder 1.5.1 — branded compact card for a half-width slider column. */
form.ctf-finder,
form.ctf-finder * {
    box-sizing: border-box !important;
}

form.ctf-finder {
    --ctf-red: #fa0021;
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    align-self: flex-start !important;
    float: none !important;
    position: relative;
    width: 100% !important;
    max-width: 416px !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 32px !important;
    gap: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 18px !important;
    background: var(--ctf-red) !important;
    color: #fff !important;
    box-shadow: none !important;
    font-family: inherit;
    line-height: normal;
}

.ctf-finder .ctf-finder-heading {
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    text-align: left !important;
    color: #fff !important;
}

.ctf-finder .ctf-finder-heading h2 {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif !important;
    font-size: clamp(34px, 4.4vw, 46px) !important;
    font-weight: 700 !important;
    letter-spacing: -1.3px !important;
    line-height: 1.08 !important;
    text-align: left !important;
    text-transform: none !important;
    white-space: nowrap !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ctf-finder .ctf-finder-heading h2 .ctf-heading-muted {
    display: inline !important;
    color: rgba(255, 255, 255, .78) !important;
    font-style: italic !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ctf-finder .ctf-finder-heading h2 .ctf-heading-highlight {
    display: inline !important;
    color: #fff !important;
    font-style: normal !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ctf-finder .ctf-finder-heading p {
    margin: 10px 0 0 !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, .9) !important;
    font: inherit;
    font-size: 14px;
    line-height: 1.5;
}

.ctf-finder .ctf-finder-fields {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 11px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ctf-finder .ctf-field {
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ctf-finder .ctf-field select {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 44px 0 17px !important;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(22, 31, 35, .16) !important;
    border-radius: 5px !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23283236' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 17px center !important;
    background-size: 16px !important;
    color: #283236 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: normal !important;
    box-shadow: none !important;
    cursor: pointer;
    opacity: 1 !important;
}

.ctf-finder .ctf-field select:focus {
    outline: 2px solid #fff !important;
    outline-offset: 3px;
    border-color: #fff !important;
}

.ctf-finder .ctf-field select:disabled {
    background-color: #fff !important;
    color: #777 !important;
    opacity: 1 !important;
    cursor: not-allowed;
}

.ctf-finder .ctf-find-button,
.ctf-finder .ctf-find-button.button,
.ctf-finder .ctf-find-button.button.alt {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: flex-start !important;
    gap: 9px !important;
    width: 158px !important;
    min-width: 158px !important;
    max-width: 158px !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 15px !important;
    border: 1px solid #fff !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: var(--ctf-red) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .2px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    cursor: pointer;
    opacity: 1 !important;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.ctf-finder .ctf-find-button:hover,
.ctf-finder .ctf-find-button:focus-visible {
    border-color: #fff !important;
    background: transparent !important;
    color: #fff !important;
}

.ctf-finder .ctf-find-button:disabled {
    background: #fff !important;
    color: var(--ctf-red) !important;
    opacity: 1 !important;
    cursor: not-allowed;
}

.ctf-finder .ctf-search-icon {
    display: block !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
}

.ctf-finder .ctf-finder-message {
    margin: 8px 0 0 !important;
    color: #fff !important;
    font-size: .9em;
}

.ctf-finder .ctf-finder-message:empty {
    display: none !important;
}

/* Screen-reader-only labels. */
.ctf-finder .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 520px) {
    form.ctf-finder {
        width: 100% !important;
        max-width: 416px !important;
        padding: 26px !important;
        border-radius: 16px !important;
    }

    .ctf-finder .ctf-finder-heading h2 {
        font-size: clamp(31px, 8.5vw, 40px) !important;
        letter-spacing: -1px !important;
    }

    .ctf-finder .ctf-field select,
    .ctf-finder .ctf-find-button,
    .ctf-finder .ctf-find-button.button,
    .ctf-finder .ctf-find-button.button.alt {
        height: 56px !important;
        min-height: 56px !important;
    }
}
