.tire-page {
    max-width: 1100px;
}

.tire-filters {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tire-filters__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tire-filters__row--checks {
    align-items: center;
}

.tire-filters select,
.tire-filters input[type="number"] {
    background: var(--bg);
    color: var(--fg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.9rem;
    min-width: 120px;
}

.tire-filters label {
    color: var(--fg-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tire-filters button {
    background: var(--accent);
    color: #0b0d12;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 600;
    cursor: pointer;
    margin-left: auto;
}

.tire-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.tire-card {
    display: block;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    color: var(--fg);
}

.tire-card:hover {
    border-color: var(--accent);
    text-decoration: none;
}

.tire-card__img-wrap {
    position: relative;
    margin-bottom: 12px;
}

.tire-card__img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    display: block;
}

.tire-card__brand-logo {
    position: absolute;
    top: 4px;
    left: 4px;
    max-width: 56px;
    max-height: 28px;
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
    padding: 2px 4px;
}

.tire-card__title {
    font-weight: 600;
    margin-bottom: 4px;
}

.tire-card__size {
    color: var(--fg-muted);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.tire-card__meta {
    color: var(--fg-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.tire-card__price {
    font-weight: 600;
    color: var(--accent);
}

.tire-card__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: var(--fg-muted);
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 999px;
}

.tire-detail__img {
    max-width: 300px;
    display: block;
    margin-bottom: 20px;
}

.tire-detail__title {
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tire-detail__brand-logo {
    max-height: 32px;
    max-width: 90px;
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
    padding: 3px 6px;
}

.tire-detail__price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
}

.tire-detail__description {
    max-width: 760px;
    margin: 24px auto 0;
    padding: 24px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    line-height: 1.7;
    color: var(--fg);
}

.tire-detail__description + .tire-detail__description {
    margin-top: 20px;
}

.tire-detail__description h2 {
    font-size: 1.1rem;
    margin: 0 0 12px;
}

.tire-detail__description p {
    margin: 0 0 14px;
}

.tire-detail__description ul,
.tire-detail__description ol {
    margin: 0 0 14px;
    padding-left: 22px;
}

.tire-detail__size {
    color: var(--fg-muted);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.tire-detail__specs,
.tire-detail__offers {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.tire-detail__specs th,
.tire-detail__specs td,
.tire-detail__offers th,
.tire-detail__offers td {
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
}

.tire-detail__specs th,
.tire-detail__offers th {
    color: var(--fg-muted);
    font-weight: 500;
    width: 40%;
}
