:root {
    color-scheme: light;
    --td-ink: #172b4d;
    --td-muted: #6c7a91;
    --td-blue: #0d65c5;
    --td-blue-dark: #06438a;
    --td-blue-soft: #eaf4ff;
    --td-red: #e42c31;
    --td-line: #e4ebf3;
    --td-bg: #f4f7fb;
    --td-card: #ffffff;
    --td-shadow: 0 14px 40px rgba(24, 58, 103, .10);
}

.td-product-code { margin: 4px 0 5px; padding: 0; border: 0; color: var(--td-ink); background: transparent; font: inherit; font-size: 18px; font-weight: 850; letter-spacing: .01em; text-align: left; cursor: pointer; }
.td-product-code:hover, .td-product-code:focus-visible { color: var(--td-blue); text-decoration: underline; }
.td-dialog.td-article-dialog { width: min(980px, calc(100% - 24px)); max-width: 980px; max-height: 90vh; overflow: auto; }
.td-article-detail { display: grid; gap: 18px; }
.td-article-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-right: 28px; }
.td-article-detail-head h3 { margin: 0 0 4px; font-size: 26px; }
.td-article-manufacturer { margin: 0; color: var(--td-blue); font-weight: 750; }
.td-article-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; width: min(430px, 48%); }
.td-article-gallery img { width: 100%; height: 115px; border: 1px solid var(--td-line); border-radius: 10px; object-fit: contain; background: #f7fbff; }
.td-article-gallery-button { display: block; min-width: 0; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: zoom-in; }
.td-article-gallery-button img { display: block; }
.td-article-gallery-button:hover img, .td-article-gallery-button:focus-visible img { border-color: var(--td-blue); box-shadow: 0 0 0 2px #bdd6ef; outline: 0; }
.td-detail-section { padding-top: 14px; border-top: 1px solid var(--td-line); }
.td-detail-section h4 { margin: 0 0 10px; color: var(--td-blue-dark); font-size: 16px; }
.td-detail-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 0; }
.td-detail-field { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(0, 1.3fr); gap: 8px; padding: 7px 0; border-bottom: 1px solid #edf2f7; }
.td-detail-field dt { color: var(--td-muted); font-size: 12px; white-space: nowrap; }
.td-detail-field dd { min-width: 0; margin: 0; font-size: 13px; font-weight: 700; overflow-wrap: normal; word-break: normal; white-space: nowrap; }
.td-detail-fields .td-detail-fields, .td-detail-list .td-detail-fields { grid-template-columns: 1fr; margin-top: 3px; }
.td-detail-list { display: grid; gap: 6px; margin: 0; padding-left: 20px; }
.td-detail-list > li { padding-left: 2px; }
.td-detail-empty-value { color: var(--td-muted); font-weight: 400; }
.td-detail-extra { color: var(--td-muted); }
.td-dialog.td-article-dialog { padding: 16px; }
.td-article-detail { gap: 8px; }
.td-article-detail-head { gap: 14px; }
.td-article-detail-head h3 { font-size: 22px; }
.td-article-detail-head h3 { max-width: 100%; overflow-x: auto; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.td-article-gallery { gap: 5px; width: min(360px, 45%); }
.td-article-gallery img { height: 78px; }
.td-detail-section { padding-top: 8px; }
.td-detail-section h4 { margin: 0 0 5px; font-size: 13px; }
.td-detail-fields { gap: 2px 10px; }
.td-detail-field { gap: 5px; padding: 3px 0; }
.td-detail-field dt { font-size: 11px; }
.td-detail-field dd { font-size: 12px; }
.td-detail-list { gap: 2px; }
.td-oem-table { display: grid; gap: 0; border: 1px solid var(--td-line); border-radius: 7px; overflow: hidden; }
.td-oem-head, .td-oem-row { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(180px, 1.2fr); gap: 10px; align-items: center; padding: 4px 8px; }
.td-oem-head { color: var(--td-muted); background: #f4f8fc; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.td-oem-row { border-top: 1px solid #edf2f7; font-size: 12px; }
.td-oem-row strong { font-weight: 750; }
.td-oem-row span, .td-oem-row strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.td-detail-basic .td-detail-field:first-child { grid-column: 1 / -1; grid-template-columns: minmax(120px, .35fr) minmax(0, 1.65fr); }
.td-detail-basic .td-detail-field:first-child dd { overflow: visible; text-overflow: clip; overflow-wrap: normal; word-break: normal; white-space: nowrap; }
.td-oem-head span:nth-child(2) { white-space: nowrap; }
.td-criteria-table { display: grid; gap: 0; border: 1px solid var(--td-line); border-radius: 7px; overflow: hidden; }
.td-criteria-row { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(180px, 1.2fr); gap: 10px; align-items: center; min-width: 0; padding: 4px 8px; border-top: 1px solid #edf2f7; font-size: 12px; white-space: nowrap; }
.td-criteria-row:first-child { border-top: 0; }
.td-criteria-row span, .td-criteria-row strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-criteria-row span { color: var(--td-muted); }
.td-criteria-row strong { font-weight: 700; }
.td-article-image-dialog .td-gallery-nav { position: absolute; top: 50%; z-index: 1; width: 38px; height: 54px; padding: 0; border: 0; border-radius: 8px; color: #fff; background: rgba(6, 67, 131, .78); font-size: 34px; line-height: 1; transform: translateY(-50%); }
.td-article-image-dialog .td-gallery-prev { left: 12px; }
.td-article-image-dialog .td-gallery-next { right: 12px; }
.td-article-image-dialog .td-gallery-nav:hover { background: var(--td-blue); }
.td-gallery-counter { position: absolute; bottom: 10px; left: 50%; padding: 3px 8px; border-radius: 999px; color: #fff; background: rgba(6, 67, 131, .78); font-size: 11px; transform: translateX(-50%); }
.td-article-image-loading { position: absolute; inset: 44px 18px 18px; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--td-blue-dark); font-weight: 700; }
.td-article-image-loading[hidden], .td-article-image-dialog img[hidden] { display: none; }
.td-article-image-loading::before { content: ''; width: 25px; height: 25px; border: 3px solid #dceaf5; border-top-color: var(--td-blue); border-radius: 50%; animation: td-image-spin .8s linear infinite; }
@keyframes td-image-spin { to { transform: rotate(360deg); } }
@media (max-width: 700px) {
    .td-article-detail-head { display: grid; gap: 14px; padding-right: 0; }
    .td-article-gallery { width: 100%; }
    .td-detail-fields { grid-template-columns: 1fr; }
    .td-detail-field dt, .td-detail-field dd,
    .td-detail-basic .td-detail-field:first-child dd,
    .td-oem-head span, .td-oem-row span, .td-oem-row strong,
    .td-criteria-row span, .td-criteria-row strong { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
    .td-criteria-row, .td-oem-head, .td-oem-row { grid-template-columns: minmax(95px, .8fr) minmax(110px, 1.2fr); gap: 6px; padding: 3px 6px; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--td-bg); color: var(--td-ink); font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
.td-app { min-height: 100vh; background: radial-gradient(circle at 80% 0%, #eef7ff 0, transparent 34rem), var(--td-bg); }
.td-header { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(18px, 4vw, 56px); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--td-line); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(14px); }
.td-brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.td-brand img { width: 104px; height: 35px; object-fit: contain; object-position: left center; }
.td-brand div { border-left: 1px solid var(--td-line); padding-left: 13px; display: grid; gap: 0; }
.td-brand span { color: var(--td-blue); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.td-brand strong { font-size: 16px; white-space: nowrap; }
.td-header-actions { display: flex; align-items: center; gap: 16px; }
.td-online { color: #318159; font-size: 12px; font-weight: 700; white-space: nowrap; }
.td-online i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #38a169; box-shadow: 0 0 0 4px #dff5e9; }
.td-icon-button { width: 36px; height: 36px; border: 1px solid var(--td-line); border-radius: 10px; color: var(--td-blue); background: #fff; font-size: 21px; line-height: 1; }
.td-main { width: min(1040px, calc(100% - 24px)); margin: 0 auto; padding: 18px 0 28px; }
.td-hero { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 174px; padding: 32px 40px; border-radius: 24px; color: #fff; background: linear-gradient(118deg, #063d83, #0a70cf 65%, #1d9ce8); box-shadow: 0 18px 45px rgba(4, 67, 137, .22); overflow: hidden; position: relative; }
.td-hero::after { content: ""; position: absolute; width: 360px; height: 360px; right: -95px; top: -130px; border: 38px solid rgba(255,255,255,.08); border-radius: 50%; }
.td-hero > div:first-child { position: relative; z-index: 1; }
.td-eyebrow { margin: 0 0 4px; color: var(--td-blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.td-hero .td-eyebrow { color: #bde0ff; }
.td-hero h1 { margin: 0; font-size: clamp(24px, 3.3vw, 38px); line-height: 1.1; letter-spacing: -.03em; }
.td-hero p:not(.td-eyebrow) { max-width: 650px; margin: 10px 0 0; color: #e1f1ff; }
.td-hero-mark { position: relative; z-index: 1; display: grid; place-items: center; width: 106px; height: 106px; border: 1px solid rgba(255,255,255,.35); border-radius: 28px; color: #fff; font-size: 30px; font-weight: 900; transform: rotate(7deg); }
.td-hero-mark span { margin-top: -28px; color: #cae8ff; font-size: 12px; letter-spacing: .1em; }
.td-searchbar { display: flex; align-items: center; gap: 8px; max-width: 920px; min-height: 48px; margin: 0 auto 18px; padding: 5px 6px 5px 13px; position: relative; z-index: 2; border: 1px solid var(--td-line); border-radius: 13px; background: #fff; box-shadow: var(--td-shadow); }
.td-searchbar > span { color: var(--td-blue); font-size: 27px; line-height: 1; }
.td-searchbar input { flex: 0 1 250px; width: 250px; min-width: 0; border: 0; outline: 0; color: var(--td-ink); background: transparent; }
.td-searchbar input::placeholder { color: #9ba8b9; }
.td-searchbar button { border: 0; border-radius: 11px; padding: 11px 18px; color: #fff; background: var(--td-blue); font-weight: 750; }
.td-saved-vehicle { flex: 0 1 220px; min-width: 170px; margin: 0; position: relative; }
.td-searchbar .td-saved-vehicle-trigger { width: 100%; padding: 7px 10px; border: 1px solid #cfe1f3; border-radius: 10px; color: var(--td-blue-dark); background: #f4f9ff; font-size: 11px; font-weight: 800; }
.td-saved-vehicle-popup { position: absolute; top: calc(100% + 7px); right: 0; z-index: 20; width: min(360px, calc(100vw - 28px)); border: 1px solid #cfe1f3; border-radius: 10px; color: var(--td-blue-dark); background: #f4f9ff; box-shadow: 0 14px 35px rgba(24, 58, 103, .18); }
.td-saved-vehicle-popup .td-saved-vehicle-menu { border-top: 0; }
.td-saved-vehicle-details { border: 1px solid #cfe1f3; border-radius: 10px; color: var(--td-blue-dark); background: #f4f9ff; }
.td-saved-vehicle-details summary { padding: 7px 10px; cursor: pointer; font-size: 11px; font-weight: 800; list-style: none; }
.td-saved-vehicle-details summary::-webkit-details-marker { display: none; }
.td-saved-vehicle-details summary::after { content: '⌄'; float: right; font-size: 16px; line-height: 12px; }
.td-saved-vehicle-details[open] summary::after { content: '⌃'; }
.td-saved-vehicle-menu { display: grid; gap: 4px; padding: 8px 10px 10px; border-top: 1px solid #cfe1f3; }
.td-saved-vehicle-menu > span { color: var(--td-muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.td-saved-vehicle-row { display: flex; align-items: center; gap: 5px; }
.td-saved-vehicle-menu select { width: 100%; min-width: 0; padding: 6px 8px; border: 1px solid #bdd6ef; border-radius: 7px; color: var(--td-ink); background: #fff; font-size: 12px; }
.td-saved-vehicle-delete { flex: 0 0 auto; padding: 6px 8px; border: 1px solid #efb9bc; border-radius: 7px; color: #b32e36; background: #fff6f6; font-size: 11px; font-weight: 800; }
.td-searchbar .td-saved-vehicle-delete { border: 1px solid #efb9bc; color: #b32e36; background: #fff6f6; font-size: 11px; font-weight: 800; }
.td-saved-vehicle-delete:disabled { cursor: not-allowed; opacity: .45; }
.td-saved-search-options { display: grid; gap: 4px; max-height: 260px; overflow-y: auto; }
.td-saved-search-option { width: 100%; padding: 7px 8px; border: 1px solid transparent; border-radius: 7px; color: var(--td-ink); background: #fff; font-size: 12px; text-align: left; }
.td-saved-search-option:hover, .td-saved-search-option:focus-visible, .td-saved-search-option[aria-current="true"] { border-color: #bdd6ef; color: var(--td-blue-dark); background: #eaf5ff; outline: 0; }
#td-products .td-product { transition: none; }
#td-products .td-product, #td-products .td-product:hover, #td-products .td-product:focus-within { border-color: var(--td-line); background: #fff; box-shadow: 0 5px 18px rgba(29, 66, 108, .045); transform: none; }
#td-products .td-product:hover { border-color: #bdd6ef; background: #eaf5ff; }
.td-searchbar .td-saved-search-option, .td-searchbar .td-saved-search-option[aria-current="true"] { border-color: transparent; color: var(--td-ink); background: #fff; box-shadow: none; }
.td-searchbar .td-saved-search-option:hover { border-color: #bdd6ef; color: var(--td-blue-dark); background: #eaf5ff; }
.td-searchbar .td-saved-search-option:focus-visible { border-color: #bdd6ef; color: var(--td-ink); background: #fff; outline: 2px solid #bdd6ef; outline-offset: -2px; }
.td-status { margin: -14px auto 24px; padding: 12px 16px; border: 1px solid #c9def4; border-radius: 12px; color: #175384; background: #edf7ff; }
.td-status.error { border-color: #f2c3c3; color: #a32329; background: #fff3f3; }
.td-status.success { border-color: #bce5ce; color: #246f43; background: #effaf3; }
.td-steps { display: none; }
.td-steps button { display: inline-flex; align-items: center; gap: 8px; padding: 4px; border: 0; color: inherit; background: transparent; font-size: 12px; font-weight: 700; }
.td-steps button b { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #d4deea; border-radius: 50%; background: #fff; font-size: 12px; }
.td-steps button.active, .td-steps button.done { color: var(--td-blue); }
.td-steps button.active b, .td-steps button.done b { border-color: var(--td-blue); color: #fff; background: var(--td-blue); }
.td-steps i { width: min(9vw, 72px); height: 1px; background: #d9e2ed; }
.td-selection { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.td-selection-back, .td-selection-item { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #bdd6ef; border-radius: 999px; color: var(--td-blue); background: #f3f9ff; font-size: 12px; font-weight: 800; }
.td-selection-item { padding: 7px 11px; border-color: #cfe1f3; color: #276497; background: #f2f8ff; cursor: pointer; }
.td-selection-item::before { content: "✓"; margin-right: 5px; color: #39926a; }
.td-selection-item:hover, .td-selection-item:focus-visible { border-color: var(--td-blue); background: #e8f4ff; }
.td-selection-date { flex: 0 0 auto; padding: 7px 4px; color: var(--td-muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.td-step { animation: td-in .24s ease-out; }
@keyframes td-in { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.td-section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 0 0 17px; }
.td-section-head h2 { margin: 0; font-size: clamp(20px, 3vw, 27px); letter-spacing: -.025em; }
.td-section-head[hidden] { display: none !important; }
.td-group-filter { display: flex; align-items: center; gap: 8px; min-width: 220px; padding: 7px 10px; border: 1px solid var(--td-line); border-radius: 9px; color: var(--td-muted); background: #fff; font-size: 11px; font-weight: 700; }
.td-group-filter input { width: 150px; min-width: 0; padding: 3px 0; border: 0; outline: 0; color: var(--td-ink); background: transparent; font-size: 12px; font-weight: 500; }
.td-group-filter[hidden] { display: none; }
.td-groups-root { display: inline-flex; align-items: center; margin-left: 8px; padding: 5px 9px; border: 1px solid #bdd6ef; border-radius: 999px; color: var(--td-blue); background: #f3f9ff; font-size: 12px; vertical-align: middle; cursor: pointer; }
.td-groups-root:hover, .td-groups-root:focus-visible { border-color: var(--td-blue); background: #e8f4ff; }
.td-groups-root[hidden] { display: none; }
.td-section-head .td-eyebrow { margin-bottom: 2px; }
.td-section-head .td-eyebrow { display: none; }
.td-step#td-step-models .td-section-head > .td-back { display: none; }
.td-step#td-step-models .td-section-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-content: start; gap: 14px; }
.td-step#td-step-models .td-section-head > div { grid-column: 2; grid-row: 1; }
.td-step#td-step-models .td-section-head > .td-back { grid-column: 1; grid-row: 1; }
.td-step-actions { display: flex; align-items: center; gap: 12px; }
.td-muted { margin: 5px 0 0; color: var(--td-muted); font-size: 13px; }
.td-section-tools { display: flex; align-items: center; gap: 10px; }
.td-toggle { display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 6px 12px; border: 1px solid #cfe1f3; border-radius: 11px; color: var(--td-blue-dark); background: #f3f9ff; cursor: pointer; }
.td-toggle input { width: 17px; height: 17px; accent-color: var(--td-blue); }
.td-toggle span { display: grid; gap: 0; }
.td-toggle strong { font-size: 12px; }
.td-toggle small { color: var(--td-muted); font-size: 10px; }
.td-filter { display: flex; align-items: center; gap: 8px; min-width: 230px; padding: 8px 12px; border: 1px solid var(--td-line); border-radius: 11px; background: #fff; }
.td-filter span { color: var(--td-blue); font-size: 21px; }
.td-filter input { width: 100%; border: 0; outline: 0; background: transparent; }
.td-brand-grid, .td-card-grid, .td-vehicle-grid, .td-group-grid, .td-product-grid { display: grid; gap: 9px; }
.td-brand-grid { grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); }
.td-card-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.td-vehicle-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.td-vehicle-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.td-vehicle-title > div:first-child { min-width: 0; }
.td-vehicle-header-image { display: flex; flex: 0 0 86px; align-items: center; justify-content: center; width: 86px; height: 62px; overflow: hidden; border: 1px solid var(--td-line); border-radius: 10px; background: #f3f7fb; }
.td-vehicle-header-image[hidden] { display: none; }
.td-vehicle-header-image a { display: block; cursor: zoom-in; }
.td-vehicle-header-image img { width: 82px; height: 58px; object-fit: contain; }
.td-vehicle-image-button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.td-dialog.td-image-dialog { display: none; width: min(1100px, calc(100% - 24px)); max-width: 1100px; height: min(90vh, 820px); max-height: 90vh; padding: 44px 18px 18px; overflow: hidden; background: #fff; }
.td-dialog.td-image-dialog[open] { display: grid; place-items: center; }
.td-dialog.td-image-dialog img { display: block; width: 100%; height: 100%; object-fit: contain; }
.td-dialog.td-image-dialog[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.td-dialog.td-image-dialog img { min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.td-vehicle-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 7px; }
.td-group-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.td-group-grid[hidden] { display: none !important; }
.td-product-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.td-product-view-toggle { display: inline-grid; place-items: center; width: 27px; height: 27px; margin-left: 7px; padding: 0; border: 1px solid #bdd6ef; border-radius: 8px; color: var(--td-blue); background: #f3f9ff; font-size: 17px; line-height: 1; vertical-align: middle; cursor: pointer; }
.td-product-view-toggle:hover, .td-product-view-toggle:focus-visible { border-color: var(--td-blue); background: #e8f4ff; }
.td-groups-back { display: none !important; }
#td-products.td-product-list-mode { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }
#td-products.td-product-list-mode .td-product { display: grid; grid-template-columns: 76px minmax(0, 1fr); min-height: 0; }
#td-products.td-product-list-mode .td-product-image { height: 100%; min-height: 76px; padding: 6px; }
#td-products.td-product-list-mode .td-product-image img { height: 64px; }
#td-products.td-product-list-mode .td-product-body { min-width: 0; padding: 8px 10px; }
#td-products.td-product-list-mode .td-product-description { margin: 2px 0; }
.td-brand, .td-card, .td-vehicle, .td-group, .td-product { border: 1px solid var(--td-line); border-radius: 15px; background: var(--td-card); box-shadow: 0 5px 18px rgba(29, 66, 108, .045); transition: .18s ease; }
.td-brand:hover, .td-card:hover, .td-vehicle:hover, .td-group:hover, .td-product:hover { border-color: #a7c9eb; box-shadow: 0 10px 27px rgba(21, 88, 157, .12); transform: translateY(-2px); }
.td-brand, .td-card, .td-vehicle, .td-group { width: 100%; text-align: left; }
.td-brand { display: flex; align-items: center; gap: 9px; min-height: 70px; padding: 8px 10px; border-left: 3px solid var(--td-blue); color: var(--td-ink); background: #fff; font-weight: 750; }
.td-brand-logo { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; overflow: hidden; border: 1px solid #e3ebf4; border-radius: 10px; background: #fff; }
.td-brand-logo img { width: 37px; height: 37px; object-fit: contain; }
.td-brand-logo img + .td-brand-initials { display: none; }
.td-brand-initials { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--td-blue), var(--td-blue-dark)); font-size: 12px; font-weight: 850; letter-spacing: .04em; }
.td-brand-copy { display: grid; min-width: 0; gap: 2px; }
.td-brand-copy strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.td-brand-copy small { color: var(--td-muted); font-size: 11px; font-weight: 500; }
.td-card { display: grid; gap: 4px; min-height: 78px; padding: 12px 14px; color: var(--td-ink); }
.td-card strong { font-size: 16px; }
.td-card small, .td-vehicle small { color: var(--td-muted); }
.td-model-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.td-model-filter { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--td-muted); font-size: 12px; font-weight: 700; }
.td-model-filter select { min-width: 150px; padding: 7px 9px; border: 1px solid var(--td-line); border-radius: 9px; color: var(--td-ink); background: #fff; }
.td-model-count { color: var(--td-muted); font-size: 12px; }
.td-model-family-button { display: grid; gap: 3px; min-height: 88px; padding: 14px 16px; border: 1px solid var(--td-line); border-left: 4px solid var(--td-blue); border-radius: 13px; color: var(--td-ink); background: #fff; text-align: left; box-shadow: 0 5px 18px rgba(29, 66, 108, .045); transition: .18s ease; }
.td-model-family-button:hover { border-color: #a7c9eb; box-shadow: 0 10px 27px rgba(21, 88, 157, .12); transform: translateY(-2px); }
.td-model-family-button strong { color: var(--td-blue-dark); font-size: 20px; }
.td-model-family-button span, .td-model-family-button small { color: var(--td-muted); font-size: 11px; }
.td-model-family { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--td-line); border-radius: 13px; background: rgba(255,255,255,.58); }
.td-model-family-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 3px; }
.td-model-family-head strong { color: var(--td-blue-dark); font-size: 20px; letter-spacing: -.02em; }
.td-model-family-head small { color: var(--td-muted); font-size: 11px; }
.td-model-variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 8px; }
.td-vehicle { display: block; min-height: 0; padding: 7px 9px; color: var(--td-ink); }
.td-vehicle h3 { margin: 0 0 2px; font-size: 13px; line-height: 1.25; }
.td-vehicle small { display: block; font-size: 10px; line-height: 1.3; }
.td-vehicle-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--td-muted); font-size: 11px; }
.td-group { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; color: var(--td-ink); font-weight: 750; }
.td-group span:last-child { color: var(--td-blue); font-size: 21px; }
.td-group.has-children { border-left: 4px solid #88b9e8; }
.td-group-featured { border-color: #7db5e7; background: #f3f9ff; }
.td-group-wrap { display: grid; gap: 8px; }
.td-group-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; padding: 12px 0 0 18px; border-left: 2px solid #dcebf9; }
.td-group-list[hidden] { display: none !important; }
.td-product { display: flex; flex-direction: column; min-height: 230px; overflow: hidden; }
.td-product-image { display: grid; place-items: center; height: 105px; padding: 8px; background: linear-gradient(145deg, #f7fbff, #eaf3fb); }
.td-product-image img { width: 100%; height: 88px; object-fit: contain; cursor: zoom-in; }
.td-product-image .td-no-image { color: #a8b7c7; font-size: 36px; }
.td-product-body { display: flex; flex: 1; flex-direction: column; padding: 11px; }
.td-product-brand { color: var(--td-blue); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.td-product h3 { margin: 4px 0 5px; font-size: 18px; letter-spacing: .01em; }
.td-product-description { min-height: 38px; margin: 0; color: var(--td-muted); font-size: 13px; }
.td-product-info { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.td-product-info span { padding: 4px 7px; border-radius: 6px; color: #4e647e; background: #f1f5f9; font-size: 11px; }
.td-product-info .stock { color: #27754a; background: #eaf8ee; }
.td-product-bottom { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; }
.td-price { display: grid; color: var(--td-ink); font-size: 18px; font-weight: 850; }
.td-price small { color: var(--td-muted); font-size: 10px; font-weight: 500; }
.td-product-actions { display: flex; gap: 6px; }
.td-product-actions button { border: 1px solid #bdd6ef; border-radius: 9px; padding: 8px 10px; color: var(--td-blue); background: #f3f9ff; font-size: 12px; font-weight: 750; }
.td-product-actions button.primary { border-color: var(--td-blue); color: #fff; background: var(--td-blue); }
.td-back { border: 0; color: var(--td-blue); background: transparent; font-size: 13px; font-weight: 750; }
.td-loading, .td-empty { grid-column: 1 / -1; padding: 35px 20px; border: 1px dashed #cbd9e8; border-radius: 15px; color: var(--td-muted); background: rgba(255,255,255,.56); text-align: center; }
.td-footer { display: flex; justify-content: space-between; gap: 15px; width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 16px 0 26px; color: #8391a4; font-size: 11px; }
.td-dialog { width: min(620px, calc(100% - 30px)); border: 0; border-radius: 18px; padding: 28px; color: var(--td-ink); box-shadow: 0 25px 80px rgba(4, 38, 80, .28); }
.td-dialog::backdrop { background: rgba(7, 34, 64, .48); backdrop-filter: blur(3px); }
.td-dialog-close { position: absolute; top: 12px; right: 16px; border: 0; color: #718198; background: transparent; font-size: 26px; }
.td-dialog h3 { margin: 0 0 14px; }
.td-dialog dl { display: grid; grid-template-columns: 150px 1fr; gap: 8px 14px; margin: 0; }
.td-dialog dt { color: var(--td-muted); }
.td-dialog dd { margin: 0; font-weight: 700; }
@media (max-width: 700px) {
    .td-header { height: auto; min-height: 66px; padding: 12px 16px; }
    .td-brand img { width: 84px; }
    .td-brand strong { font-size: 13px; }
    .td-online { display: none; }
    .td-main { width: min(100% - 14px, 1040px); padding-top: 10px; }
    .td-hero { min-height: 190px; padding: 25px 22px; border-radius: 18px; }
    .td-hero-mark { width: 74px; height: 74px; border-radius: 20px; font-size: 22px; }
    .td-searchbar { flex-wrap: wrap; margin-top: 0; }
    .td-searchbar input { flex: 1 1 180px; width: auto; }
    .td-searchbar button { padding: 10px 12px; }
    .td-steps { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
    .td-steps i { width: 20px; flex: 0 0 20px; }
    .td-steps button span { display: none; }
    .td-searchbar { margin-bottom: 12px; }
    .td-searchbar > span { font-size: 21px; }
    .td-saved-vehicle { flex: 1 1 180px; min-width: 0; }
    .td-vehicle-grid { grid-template-columns: 1fr; }
    .td-vehicle-list { grid-template-columns: 1fr; }
    .td-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .td-group-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 8px; }
    .td-product-grid { grid-template-columns: 1fr; }
    .td-product-bottom { align-items: stretch; flex-direction: column; }
    .td-product-actions { width: 100%; }
    .td-product-actions button { flex: 1; }
    .td-section-head { align-items: start; flex-direction: column; }
    .td-step-actions { width: 100%; justify-content: space-between; }
    .td-model-tools { align-items: stretch; flex-direction: column; }
    .td-model-family-button { min-height: 68px; padding: 10px 12px; }
    .td-model-filter { align-items: stretch; flex-direction: column; }
    .td-model-filter select { width: 100%; }
    .td-model-variants { grid-template-columns: 1fr; }
    .td-section-tools { width: 100%; align-items: stretch; flex-direction: column; }
    .td-toggle, .td-filter { width: 100%; }
    .td-filter { width: 100%; }
    .td-footer { width: min(100% - 20px, 1180px); }
    .td-brand-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
}
