.sdw-page {
    background: transparent;
    padding: 48px 0 72px;
    margin: 0;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.sdw-container {
    width: 100%;
    max-width: var(--sdw-content-max-width, 100%);
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

.sdw-page-header {
    margin-bottom: 28px;
    text-align: center;
}

.sdw-eyebrow {
    margin: 0 0 6px;
    color: #2f80ed;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sdw-page-header h1 {
    margin: 0;
    color: #12263f;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.sdw-subtitle {
    margin: 10px 0 0;
    color: #5d6b82;
}

.sdw-results-count {
    margin: 0 0 28px;
    color: #5d6b82;
    text-align: center;
}

.sdw-filter-panel,
.sdw-details-panel {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(18, 38, 63, 0.08);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(18, 38, 63, 0.08);
}

.sdw-filter-panel {
    padding: 24px;
    margin-bottom: 28px;
}

.sdw-filter-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    align-items: end;
}

.sdw-filter-grid label,
.sdw-contact-form label {
    display: block;
}

.sdw-filter-grid span,
.sdw-contact-form span {
    display: inline-block;
    margin-bottom: 7px;
    color: #31445c;
    font-size: 0.9rem;
    font-weight: 600;
}

.sdw-filter-grid input,
.sdw-filter-grid select,
.sdw-contact-form input,
.sdw-contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ced7e3;
    border-radius: 10px;
    background: #fff;
    color: #12263f;
    padding: 11px 12px;
    line-height: 1.3;
}

.sdw-filter-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.sdw-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 18px;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.sdw-button:hover {
    transform: translateY(-1px);
}

.sdw-button-primary {
    background: linear-gradient(135deg, #2f80ed, #1768d1);
    box-shadow: 0 14px 24px rgba(23, 104, 209, 0.18);
    color: #fff;
}

.sdw-button-secondary {
    background: #eef3f8;
    color: #12263f;
}

.sdw-full-width {
    width: 100%;
}

.sdw-vehicle-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sdw-vehicle-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(18, 38, 63, 0.08);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(18, 38, 63, 0.08);
}

.sdw-vehicle-image-link {
    display: block;
    background: #dfe7ef;
}

.sdw-vehicle-image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.sdw-image-placeholder {
    display: grid;
    place-items: center;
    min-height: 220px;
    color: #5d6b82;
}

.sdw-vehicle-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    gap: 14px;
    padding: 20px;
}

.sdw-vehicle-title {
    margin: 0;
    color: #12263f;
    font-size: 1.15rem;
    line-height: 1.3;
}

.sdw-vehicle-title a {
    color: inherit;
    text-decoration: none;
}

.sdw-vehicle-price {
    margin: 0;
    color: #2a9d4b;
    font-size: 1.35rem;
    font-weight: 800;
}

.sdw-vehicle-meta {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    color: #31445c;
    font-size: 0.95rem;
}

.sdw-custom-html {
    padding-top: 10px;
    border-top: 1px solid #e8eef5;
}

.sdw-vehicle-content .sdw-button {
    margin-top: auto;
}

.sdw-empty-state {
    padding: 48px 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(18, 38, 63, 0.08);
    border-radius: 18px;
}

.sdw-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.sdw-pagination-link {
    min-width: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #12263f;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(18, 38, 63, 0.08);
}

.sdw-pagination-link.is-active {
    background: #12263f;
    color: #fff;
}

.sdw-back-link-wrap {
    margin-bottom: 16px;
}

.sdw-back-link {
    color: #1768d1;
    font-weight: 700;
    text-decoration: none;
}

.sdw-details-header {
    text-align: left;
}

.sdw-details-layout {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 0.95fr);
    align-items: start;
}

.sdw-details-main {
    display: grid;
    gap: 24px;
}

.sdw-gallery {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(18, 38, 63, 0.08);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(18, 38, 63, 0.08);
}

.sdw-gallery-primary img,
.sdw-gallery-primary.sdw-image-placeholder {
    display: block;
    width: 100%;
    min-height: 420px;
    object-fit: cover;
}

.sdw-gallery-thumbs {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    padding: 14px;
}

.sdw-gallery-thumbs img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.sdw-details-panel {
    overflow: hidden;
}

.sdw-details-panel h2 {
    margin-top: 0;
    color: #12263f;
}

.sdw-details-panel .card-body {
    padding: 24px;
}

.sdw-spec-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.sdw-spec-grid div {
    padding: 12px 14px;
    border-radius: 12px;
    background: #f5f8fc;
}

.sdw-spec-grid dt {
    margin-bottom: 4px;
    color: #5d6b82;
    font-size: 0.85rem;
    font-weight: 600;
}

.sdw-spec-grid dd {
    margin: 0;
    color: #12263f;
    font-weight: 700;
}

.sdw-feature-list {
    margin: 0;
    padding-left: 18px;
    columns: 2;
    column-gap: 28px;
}

.sdw-feature-sections {
    margin-top: 24px;
}

.sdw-feature-section + .sdw-feature-section {
    margin-top: 20px;
}

.sdw-feature-category {
    margin: 0 0 12px;
    color: #12263f;
    font-size: 1.1rem;
}

.sdw-feature-group + .sdw-feature-group {
    margin-top: 14px;
}

.sdw-feature-group-title {
    margin: 0 0 10px;
    color: #31445c;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sdw-feature-list li {
    margin-bottom: 8px;
    break-inside: avoid;
}

.sdw-contact-panel {
    position: sticky;
    top: 24px;
}

.sdw-contact-form {
    display: grid;
    gap: 14px;
}

.sdw-honeypot {
    position: absolute;
    left: -9999px;
}

.sdw-contact-notice {
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 700;
}

.sdw-contact-notice.is-success {
    background: rgba(42, 157, 75, 0.12);
    color: #1f6a34;
}

.sdw-contact-notice.is-error {
    background: rgba(201, 48, 44, 0.12);
    color: #8d2a26;
}

.sdw-pagination .page-link {
    border-radius: 999px;
    color: #12263f;
}

.sdw-pagination .page-item.active .page-link {
    background: #12263f;
    border-color: #12263f;
}

.sdw-vehicle-description p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .sdw-vehicle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sdw-details-layout {
        grid-template-columns: 1fr;
    }

    .sdw-contact-panel {
        position: static;
    }
}

@media (max-width: 680px) {
    .sdw-page {
        padding: 32px 0 56px;
    }

    .sdw-filter-grid,
    .sdw-vehicle-grid,
    .sdw-spec-grid {
        grid-template-columns: 1fr;
    }

    .sdw-filter-actions {
        flex-direction: column;
    }

    .sdw-feature-list {
        columns: 1;
    }

    .sdw-gallery-primary img,
    .sdw-gallery-primary.sdw-image-placeholder {
        min-height: 260px;
    }
}
