:root {
    --toms-red: #e30613;
    --toms-dark: #1a1a1a;
    --toms-gray: #666;
    --toms-light: #f5f5f5;
    --toms-border: #e0e0e0;
    --toms-white: #fff;
    --toms-radius: 8px;
    --toms-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* .toms-page moved to podbor-v2.css */
.toms-page .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */

/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */

/* Search bar */
.toms-selector-bar { margin-bottom: 32px; }
.toms-search-input {
    width: 100%;
    max-width: 500px;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid var(--toms-border);
    border-radius: var(--toms-radius);
    outline: none;
    transition: border-color .2s;
}
.toms-search-input:focus { border-color: var(--toms-red); }

/* Brands grid */
/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */

/* Models page */
/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */
/* removed - now in podbor-v2.css */

/* Vehicle page */
.toms-vehicle-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.toms-year-badge {
    font-size: 14px;
    background: var(--toms-red);
    color: var(--toms-white);
    padding: 4px 14px;
    border-radius: 16px;
    font-weight: 500;
}
.toms-vehicle-intro {
    font-size: 15px;
    color: var(--toms-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}
.toms-vehicle-intro strong { color: var(--toms-dark); }

.toms-recs-grid { display: flex; flex-direction: column; gap: 32px; }

.toms-rec-section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--toms-dark);
    border-bottom: 2px solid var(--toms-red);
    padding-bottom: 8px;
    margin: 0 0 16px;
}

.toms-rec-card {
    display: flex;
    gap: 24px;
    padding: 20px;
    background: var(--toms-white);
    border: 1px solid var(--toms-border);
    border-radius: var(--toms-radius);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.toms-rec-info { flex: 1; min-width: 260px; }
.toms-rec-fluid-type { font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.toms-rec-approvals, .toms-rec-volume { font-size: 14px; color: var(--toms-gray); margin-top: 4px; }
.toms-label { font-weight: 500; color: var(--toms-dark); }

.toms-rec-product {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 280px;
    padding: 12px 16px;
    background: var(--toms-light);
    border-radius: var(--toms-radius);
}
.toms-product-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}
.toms-product-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.toms-product-price { font-size: 15px; color: var(--toms-red); font-weight: 600; margin-bottom: 8px; }
.toms-buy-btn {
    display: inline-block;
    padding: 8px 24px;
    background: var(--toms-red);
    color: var(--toms-white);
    text-decoration: none;
    border-radius: var(--toms-radius);
    font-size: 14px;
    font-weight: 500;
    transition: background .2s;
}
.toms-buy-btn:hover { background: #c00510; color: var(--toms-white); }

.toms-no-recs {
    padding: 40px;
    text-align: center;
    background: var(--toms-light);
    border-radius: var(--toms-radius);
    color: var(--toms-gray);
    font-size: 16px;
}

/* CTA block */
.toms-vehicle-cta {
    margin-top: 48px;
    padding: 32px;
    background: var(--toms-dark);
    color: var(--toms-white);
    border-radius: var(--toms-radius);
    text-align: center;
}
.toms-vehicle-cta h3 { margin: 0 0 8px; font-size: 20px; }
.toms-vehicle-cta p { margin: 0 0 16px; color: #ccc; }
.toms-cta-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--toms-red);
    color: var(--toms-white);
    text-decoration: none;
    border-radius: var(--toms-radius);
    font-weight: 600;
    transition: background .2s;
}
.toms-cta-btn:hover { background: #c00510; }

/* Selector widget (shortcode) */
.toms-selector-widget {
    background: var(--toms-white);
    border: 1px solid var(--toms-border);
    border-radius: var(--toms-radius);
    padding: 24px;
    box-shadow: var(--toms-shadow);
}
.toms-selector-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--toms-dark);
}
.toms-selector-search { position: relative; margin-bottom: 20px; }
.toms-selector-search-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid var(--toms-border);
    border-radius: var(--toms-radius);
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
}
.toms-selector-search-input:focus { border-color: var(--toms-red); }

.toms-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--toms-white);
    border: 1px solid var(--toms-border);
    border-top: none;
    border-radius: 0 0 var(--toms-radius) var(--toms-radius);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 6px 16px rgba(0,0,0,.1);
}
.toms-search-result-item {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--toms-dark);
    border-bottom: 1px solid var(--toms-light);
    transition: background .1s;
    font-size: 14px;
}
.toms-search-result-item:hover { background: var(--toms-light); }
.toms-search-result-item:last-child { border-bottom: none; }

/* Cascade selects */
.toms-selector-cascade {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.toms-selector-step { flex: 1; min-width: 200px; }
.toms-selector-step label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--toms-gray);
    margin-bottom: 4px;
}
.toms-sel {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 2px solid var(--toms-border);
    border-radius: var(--toms-radius);
    background: var(--toms-white);
    outline: none;
    cursor: pointer;
    transition: border-color .2s;
}
.toms-sel:focus { border-color: var(--toms-red); }
.toms-sel:disabled { opacity: .5; cursor: not-allowed; }

.toms-sel-go-btn {
    display: inline-block;
    padding: 10px 28px;
    background: var(--toms-red);
    color: var(--toms-white);
    text-decoration: none;
    border-radius: var(--toms-radius);
    font-weight: 600;
    font-size: 15px;
    transition: background .2s;
    white-space: nowrap;
}
.toms-sel-go-btn:hover { background: #c00510; color: var(--toms-white); }

/* Inline selector (shortcode-inline) */
.toms-inline-selector { position: relative; max-width: 500px; }
.toms-inline-search-input {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    border: 2px solid var(--toms-red);
    border-radius: 30px;
    outline: none;
    background: var(--toms-white);
    box-sizing: border-box;
}
.toms-inline-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--toms-white);
    border: 1px solid var(--toms-border);
    border-radius: 0 0 12px 12px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 6px 16px rgba(0,0,0,.1);
}

/* Compact selector (homepage) */
.toms-compact-selector {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 24px;
    text-align: center;
}
.toms-compact-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--toms-dark);
}
.toms-compact-subtitle {
    font-size: 14px;
    color: var(--toms-gray);
    margin: 0 0 20px;
}
.toms-compact-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}
.toms-compact-sel {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.4;
    height: auto;
    border: 2px solid var(--toms-border);
    border-radius: var(--toms-radius);
    background: var(--toms-white);
    color: #333;
    outline: none;
    cursor: pointer;
    transition: border-color .2s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    padding-right: 36px;
    overflow: visible;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.toms-compact-sel:focus { border-color: var(--toms-red); }
.toms-compact-sel:disabled { opacity: .45; cursor: not-allowed; }
.toms-compact-go {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: var(--toms-red);
    color: var(--toms-white);
    text-decoration: none;
    border-radius: var(--toms-radius);
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    transition: background .2s, opacity .2s;
    opacity: .5;
    pointer-events: none;
}
.toms-compact-go.active { opacity: 1; pointer-events: auto; }
.toms-compact-go.active:hover { background: #c00510; }

/* Dark theme */
.toms-compact-dark {
    background: var(--toms-dark);
    border-radius: 16px;
    padding: 40px 32px;
}
.toms-compact-dark .toms-compact-title { color: var(--toms-white); }
.toms-compact-dark .toms-compact-subtitle { color: #aaa; }
.toms-compact-dark .toms-compact-sel {
    background: #111;
    color: var(--toms-white);
    border-color: #333;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.toms-compact-dark .toms-compact-sel:focus { border-color: var(--toms-red); }
.toms-compact-dark .toms-compact-sel option { background: #1a1a1a; color: #fff; }

/* Responsive */
@media (max-width: 768px) {
    /* .toms-page moved to podbor-v2.css */
    /* removed - now in podbor-v2.css */
    /* removed - now in podbor-v2.css */
    /* removed - now in podbor-v2.css */
    .toms-brand-letter, /* removed - now in podbor-v2.css */
    .toms-rec-card { flex-direction: column; }
    .toms-rec-product { min-width: auto; }
    .toms-selector-cascade { flex-direction: column; }
    .toms-selector-step { min-width: auto; }
    .toms-compact-row { flex-direction: column; align-items: stretch; }
    .toms-compact-sel { max-width: none; min-width: auto; }
    .toms-compact-go { width: 100%; }
}

/* Year dropdown in compact selector */
#toms-compact-year { min-width: 80px; max-width: 100px; }
@media (max-width: 600px) {
    .toms-compact-row { flex-wrap: wrap; gap: 8px; }
    .toms-compact-sel { flex: 1 1 calc(50% - 4px); min-width: 0; }
    #toms-compact-year { flex: 1 1 calc(50% - 4px); max-width: none; }
    .toms-compact-go { flex: 1 1 100%; }
}
