.tyrefit {
    position: relative;
    overflow: visible;
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 16px;
    padding: 26px 28px;
    box-shadow: 0 10px 32px rgba(30, 45, 70, .08);
}

.tf-seo-landing{--tf-seo-primary:#1598c7;--tf-seo-ink:#17324d;--tf-seo-border:#dce7ef;--tf-seo-soft:#f6fafc}
.tf-seo-header{margin:0 0 28px;padding:28px 30px;border:1px solid var(--tf-seo-border);border-radius:18px;background:linear-gradient(135deg,#fff 0%,#f4fbfe 100%)}
.tf-seo-header h1{margin:8px 0 0;color:var(--tf-seo-ink);font-size:34px;line-height:1.2}
.tf-seo-kicker{display:inline-flex;align-items:center;gap:7px;color:#1480a8;font-weight:600}
.tf-seo-section{margin:0 0 28px}
.tf-seo-section>h2,.tf-seo-product-heading h2{margin:0 0 16px;color:var(--tf-seo-ink);font-size:25px}
.tf-seo-child-grid>div{margin-bottom:16px}
.tf-seo-child-card{display:flex;align-items:center;min-height:82px;padding:16px;border:1px solid var(--tf-seo-border);border-radius:13px;background:#fff;color:var(--tf-seo-ink);box-shadow:0 7px 24px rgba(28,67,91,.06);transition:.2s ease}
.tf-seo-child-card:hover,.tf-seo-child-card:focus{border-color:#83cae4;box-shadow:0 10px 28px rgba(28,112,148,.13);text-decoration:none;transform:translateY(-2px)}
.tf-seo-child-icon{display:flex;align-items:center;justify-content:center;flex:0 0 44px;height:44px;margin-right:13px;border-radius:12px;background:#e8f7fc;color:var(--tf-seo-primary);font-size:19px}
.tf-seo-child-content{display:flex;flex:1;min-width:0;flex-direction:column}
.tf-seo-child-content strong{font-size:16px;overflow-wrap:anywhere}
.tf-seo-child-content small{margin-top:3px;color:#76899a}
.tf-seo-child-arrow{color:#8db0c1}
.tf-seo-vehicle-card{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px;border:1px solid var(--tf-seo-border);border-radius:16px;background:var(--tf-seo-soft)}
.tf-seo-vehicle-card h2{margin:0 0 6px;color:var(--tf-seo-ink)}
.tf-seo-vehicle-card p{margin:0;color:#637a8c}
.tf-seo-parameters{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin:0}
.tf-seo-parameters>div{min-width:90px;padding:10px 14px;border-radius:10px;background:#fff;text-align:center;box-shadow:0 3px 12px rgba(28,67,91,.06)}
.tf-seo-parameters dt{color:#708596;font-size:11px;text-transform:uppercase}
.tf-seo-parameters dd{margin:2px 0 0;color:var(--tf-seo-ink);font-weight:700}
.tf-seo-size-panel{height:calc(100% - 28px);padding:22px;border:1px solid var(--tf-seo-border);border-radius:15px;background:#fff}
.tf-seo-size-panel h2{margin:0 0 14px;color:var(--tf-seo-ink)}
.tf-seo-size-list{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:18px}
.tf-seo-size{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #d7e4eb;border-radius:9px;background:#fafcfd;color:var(--tf-seo-ink)}
.tf-seo-size:hover{text-decoration:none;border-color:#77c6e2;background:#f1fbfe}
.tf-seo-kind{padding:2px 6px;border-radius:10px;font-size:10px;font-weight:600;text-transform:uppercase}
.tf-seo-kind-factory{background:#dcf4e7;color:#277a4f}
.tf-seo-kind-replace{background:#e2f1fb;color:#276f9b}
.tf-seo-kind-tuning{background:#fff1d5;color:#966210}
.tf-seo-product-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}
.tf-seo-product-heading h2{margin:0}
.tf-seo-product-heading span{padding:5px 10px;border-radius:12px;background:#edf5f8;color:#5c7687;white-space:nowrap}
.tf-seo-landing .product-thumb{border-radius:12px;overflow:hidden;box-shadow:0 6px 22px rgba(28,67,91,.07)}

@media(max-width:767px){
  .tf-seo-header{padding:21px 18px;border-radius:13px}
  .tf-seo-header h1{font-size:27px}
  .tf-seo-vehicle-card{flex-direction:column;padding:18px}
  .tf-seo-parameters{justify-content:flex-start;width:100%}
  .tf-seo-parameters>div{flex:1 1 90px}
  .tf-seo-product-heading{align-items:flex-start;flex-direction:column}
}

.tyrefit h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #243247;
    font-size: 27px;
}

.tyrefit .nav-tabs {
    margin-bottom: 24px;
}

.tyrefit .nav-pills > li > a {
    border-radius: 8px;
}

.tf-steps label,
.tyrefit .tf-parameter-tabs label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #283548;
}

.tf-actions {
    margin-top: 22px;
}

.tf-tyre-filters {
    margin-top: 18px;
}

.tf-actions .btn {
    min-width: 185px;
    height: 44px;
    border-radius: 7px;
}

.tf-parameter-tabs {
    padding-top: 20px;
}

.tf-param-action {
    padding-top: 27px;
}

.tf-param-action .btn {
    height: 44px;
    border-radius: 7px;
}

.tf-native-select {
    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;
}

.tf-select {
    position: relative;
    width: 100%;
    color: #303d52;
}

.tf-select-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 46px;
    padding: 0 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #cfd6df;
    border-radius: 9px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .03);
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.tf-select-toggle:hover {
    border-color: #9eabbc;
}

.tf-select.open .tf-select-toggle {
    border-color: #2aa4d6;
    box-shadow: 0 0 0 3px rgba(42, 164, 214, .15);
}

.tf-select.disabled .tf-select-toggle {
    cursor: not-allowed;
    color: #9ba5b2;
    background: #f3f5f7;
}

.tf-select-label {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tf-select-arrow {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin: -4px 2px 0 12px;
    border-right: 2px solid #667386;
    border-bottom: 2px solid #667386;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.tf-select.open .tf-select-arrow {
    margin-top: 4px;
    transform: rotate(225deg);
}

.tf-select-dropdown {
    position: absolute;
    z-index: 1050;
    top: calc(100% + 7px);
    left: 0;
    display: none;
    width: 100%;
    min-width: 190px;
    padding: 9px;
    background: #fff;
    border: 1px solid #d8dee7;
    border-radius: 10px;
    box-shadow: 0 14px 35px rgba(28, 42, 61, .18);
}

.tf-select.open .tf-select-dropdown {
    display: block;
}

.tf-select-search {
    width: 100%;
    height: 38px;
    padding: 7px 11px;
    margin-bottom: 7px;
    border: 1px solid #cfd6df;
    border-radius: 7px;
    outline: none;
}

.tf-select-search:focus {
    border-color: #2aa4d6;
    box-shadow: 0 0 0 2px rgba(42, 164, 214, .12);
}

.tf-select-options {
    max-height: 260px;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    list-style: none;
}

.tf-select-option {
    display: block;
    width: 100%;
    padding: 9px 10px;
    overflow: hidden;
    color: #303d52;
    background: transparent;
    border: 0;
    border-radius: 6px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tf-select-option:hover,
.tf-select-option:focus {
    color: #11688c;
    background: #edf8fc;
    outline: none;
}

.tf-select-option.selected {
    color: #fff;
    background: #239dcd;
}

.tf-select-empty {
    padding: 12px 10px;
    color: #8a95a3;
    text-align: center;
}

.tyrefit-results h1 small {
    display: block;
    margin-top: 8px;
    color: #637083;
    font-size: 17px;
}

.tf-selected-filters {
    margin: -4px 0 18px;
}

.tf-selected-filters .label {
    display: inline-block;
    padding: 7px 10px;
    margin-right: 5px;
    font-size: 13px;
}

.tf-size-list .label {
    display: inline-block;
    padding: 7px 10px;
    margin: 3px;
    font-size: 13px;
}

.tf-notice-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .25);
}

.tf-notice-modal .modal-header {
    padding: 18px 20px;
    color: #fff;
    background: #1e91cf;
    border-bottom: 0;
}

.tf-notice-modal .modal-header .close {
    color: #fff;
    text-shadow: none;
    opacity: .8;
}

.tf-notice-modal .modal-header .close:hover,
.tf-notice-modal .modal-header .close:focus {
    opacity: 1;
}

.tf-notice-modal .modal-title {
    font-size: 18px;
}

.tf-notice-modal .modal-title .fa {
    margin-right: 7px;
}

.tf-notice-modal .modal-body {
    padding: 24px 20px;
    color: #333;
    font-size: 16px;
}

.tf-notice-modal .tf-notice-message {
    margin: 0;
}

.tf-notice-modal .modal-footer {
    padding: 14px 20px;
    background: #f7f8fa;
    border-top-color: #e5e8eb;
}

.tyrefit.tf-compact {
    padding: 22px 18px;
    border-radius: 13px;
}

.tyrefit.tf-compact h3 {
    margin-bottom: 16px;
    font-size: 25px;
    line-height: 1.2;
}

.tyrefit.tf-compact > .nav-tabs {
    display: flex;
    width: 100%;
    margin-bottom: 22px;
}

.tyrefit.tf-compact > .nav-tabs > li {
    width: 50%;
    margin-bottom: -1px;
    text-align: center;
}

.tyrefit.tf-compact > .nav-tabs > li > a {
    min-height: 45px;
    padding: 11px 8px;
    margin-right: 0;
    white-space: normal;
}

.tyrefit.tf-compact .tf-steps > [class*="col-"],
.tyrefit.tf-compact .tf-tyre-filters > [class*="col-"],
.tyrefit.tf-compact .tf-parameter-tabs .row > [class*="col-"] {
    float: none;
    width: 100%;
    margin-bottom: 16px;
}

.tyrefit.tf-compact .tf-steps label,
.tyrefit.tf-compact .tf-parameter-tabs label {
    margin-bottom: 6px;
}

.tyrefit.tf-compact .tf-tyre-filters {
    margin-top: 4px;
}

.tyrefit.tf-compact .tf-actions {
    margin-top: 18px;
}

.tyrefit.tf-compact .tf-actions .btn {
    width: 100%;
    min-width: 0;
    margin: 5px 0;
}

.tyrefit.tf-compact .nav-pills {
    display: flex;
}

.tyrefit.tf-compact .nav-pills > li {
    width: 50%;
    text-align: center;
}

.tyrefit.tf-compact .nav-pills > li > a {
    padding-right: 8px;
    padding-left: 8px;
}

.tyrefit.tf-compact .tf-parameter-tabs {
    padding-top: 16px;
}

.tyrefit.tf-compact .tf-param-action {
    padding-top: 0;
}

.tyrefit.tf-compact .tf-select-dropdown {
    min-width: 0;
}

@media (max-width: 767px) {
    .tyrefit {
        padding: 20px 16px;
    }

    .tf-steps > div,
    .tf-parameter-tabs .row > div {
        margin-bottom: 14px;
    }

    .tf-actions .btn {
        width: 100%;
        margin: 5px 0;
    }

    .tf-param-action {
        padding-top: 0;
    }

    .tf-select-dropdown {
        position: fixed;
        z-index: 2000;
        top: 20%;
        right: 16px;
        left: 16px;
        width: auto;
    }
}
