.dls-tyre-search-wrap {
    color: #171717;
    font-size: 15px;
}

.dls-tyre-search {
    background: #fff;
    border: 1px solid #e2e5ea;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(17, 17, 17, .07);
    padding: 20px;
    margin: 0 0 22px;
}

.dls-tyre-area-row {
    margin-bottom: 18px;
}

.dls-tyre-area-label {
    display: block;
    color: #171717;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
}

.dls-tyre-area-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.dls-tyre-area-option {
    min-height: 54px;
    border: 1px solid #d9dde5;
    border-radius: 8px;
    background: #fff;
    color: #171717;
    cursor: pointer;
    font-weight: 800;
    line-height: 1.2;
    padding: 10px 12px;
    text-align: center;
    transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}

.dls-tyre-area-option:hover,
.dls-tyre-area-option:focus {
    border-color: #d71920;
    box-shadow: 0 0 0 3px rgba(215, 25, 32, .12);
    outline: none;
}

.dls-tyre-area-option.is-active {
    border-color: #d71920;
    background: #d71920;
    color: #fff;
    box-shadow: 0 8px 18px rgba(215, 25, 32, .2);
}

.dls-tyre-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.dls-tyre-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.dls-tyre-field span {
    color: #3f4652;
    font-size: 13px;
    font-weight: 800;
}

.dls-tyre-field select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #cfd5df;
    border-radius: 8px;
    background: #fff;
    color: #171717;
    font-weight: 650;
    padding: 9px 11px;
}

.dls-tyre-field select:focus {
    border-color: #d71920;
    box-shadow: 0 0 0 3px rgba(215, 25, 32, .12);
    outline: none;
}

.dls-tyre-actions,
.dls-tyre-card-actions,
.dls-tyre-pagination,
.dls-tyre-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.dls-tyre-actions {
    justify-content: flex-end;
    border-top: 1px solid #eef1f5;
    margin-top: 18px;
    padding-top: 16px;
}

.dls-tyre-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid #cfd5df;
    border-radius: 8px;
    background: #fff;
    color: #171717;
    font-weight: 800;
    line-height: 1.2;
    padding: 9px 14px;
    text-decoration: none;
    cursor: pointer;
}

.dls-tyre-button:hover,
.dls-tyre-button:focus {
    border-color: #d71920;
    color: #b4141a;
}

.dls-tyre-button-primary {
    border-color: #d71920;
    background: #d71920;
    color: #fff;
}

.dls-tyre-button-primary:hover,
.dls-tyre-button-primary:focus {
    background: #b4141a;
    color: #fff;
}

.dls-tyre-button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.dls-tyre-empty,
.dls-tyre-result-meta {
    margin: 16px 0;
    color: #465266;
}

.dls-tyre-empty {
    border: 1px solid #e2e5ea;
    border-radius: 8px;
    background: #fafbfc;
    padding: 16px;
}

.dls-tyre-result-panel,
.dls-tyre-results {
    clear: both;
    content-visibility: visible;
    contain: none;
    opacity: 1;
    overflow: visible;
    transform: none;
    visibility: visible;
}

.dls-tyre-search-wrap.is-submitting .dls-tyre-result-panel,
.dls-tyre-search-wrap.is-submitting .dls-tyre-results {
    opacity: 1;
    visibility: visible;
}

.dls-tyre-result-meta {
    align-items: center;
    background: #171717;
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    min-height: 36px;
    padding: 7px 12px;
}

.dls-tyre-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
    min-height: 1px;
}

.dls-tyre-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    border: 1px solid #e2e5ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(17, 17, 17, .07);
    overflow: hidden;
}

.dls-tyre-media {
    aspect-ratio: 16 / 10;
    background: #f5f7fa;
    border-bottom: 1px solid #e7ebf0;
    overflow: hidden;
}

.dls-tyre-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dls-tyre-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 13px;
    min-width: 0;
    padding: 15px;
}

.dls-tyre-card-head {
    min-height: 88px;
}

.dls-tyre-card h3 {
    margin: 8px 0 0;
    color: #171717;
    font-size: 18px;
    line-height: 1.25;
}

.dls-tyre-card p {
    margin: 5px 0 0;
    color: #465266;
    font-weight: 800;
}

.dls-tyre-badge {
    border-radius: 999px;
    background: #171717;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    padding: 5px 8px;
    white-space: nowrap;
}

.dls-tyre-badge-muted {
    background: #f0f2f5;
    color: #303846;
}

.dls-tyre-facts,
.dls-tyre-details dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.dls-tyre-facts div,
.dls-tyre-details div {
    min-width: 0;
}

.dls-tyre-facts dt,
.dls-tyre-details dt {
    color: #667085;
    font-size: 12px;
    margin: 0 0 2px;
}

.dls-tyre-facts dd,
.dls-tyre-details dd {
    color: #171717;
    font-weight: 800;
    margin: 0;
    overflow-wrap: anywhere;
}

.dls-tyre-card-foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.dls-tyre-price {
    border-top: 1px solid #eef1f5;
    color: #171717;
    font-size: 24px;
    font-weight: 900;
    padding-top: 12px;
}

.dls-tyre-price [data-dls-price] {
    display: block;
}

.dls-tyre-vat-label {
    display: block;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    margin-top: 2px;
}

.dls-tyre-card-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dls-tyre-card-actions .dls-tyre-button {
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
}

.dls-tyre-details {
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
}

.dls-tyre-details a {
    color: #b4141a;
}

.dls-tyre-pagination {
    justify-content: center;
    margin: 22px 0 0;
}

.dls-tyre-pagination a,
.dls-tyre-pagination span {
    border: 1px solid #cfd5df;
    border-radius: 8px;
    color: #171717;
    padding: 8px 12px;
    text-decoration: none;
}

.dls-tyre-pagination span {
    background: #fafbfc;
}

.dls-tyre-live-status {
    min-height: 20px;
    color: #465266;
    font-size: 13px;
    font-weight: 800;
}

.dls-tyre-live-status.is-success {
    color: #0f7a3a;
}

.dls-tyre-live-status.is-error {
    color: #b42318;
}

.dls-tyre-live-status.is-loading {
    color: #465266;
}

.dls-tyre-live-status a {
    color: inherit;
    margin-left: 6px;
    text-decoration: underline;
}

@media (min-width: 1380px) {
    .dls-tyre-results {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .dls-tyre-area-options,
    .dls-tyre-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dls-tyre-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .dls-tyre-search {
        padding: 14px;
    }

    .dls-tyre-area-options {
        display: flex;
        gap: 8px;
        margin-left: -2px;
        margin-right: -2px;
        overflow-x: auto;
        padding: 2px 2px 8px;
        scroll-snap-type: x proximity;
    }

    .dls-tyre-area-option {
        flex: 0 0 auto;
        min-width: 150px;
        scroll-snap-align: start;
    }

    .dls-tyre-filter-grid,
    .dls-tyre-results {
        grid-template-columns: 1fr;
    }

    .dls-tyre-actions,
    .dls-tyre-card-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .dls-tyre-facts,
    .dls-tyre-details dl {
        grid-template-columns: 1fr;
    }
}
