/*==================
Vehicles - CSS
===================*/
.as24-wrap,
.as24-wrap * {
    box-sizing: border-box;
}

.as24-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.as24-headline {
    margin: 0 0 24px;
    font-size: 36px;
    line-height: 1.2;
    color: #2f6df6;
}

.as24-count {
    margin-bottom: 24px;
    color: rgba(255,255,255,0.75);
    font-size: 15px;
}

.as24-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.as24-card {
    background: #ffffff;
    color: #222222;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.as24-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #dddddd;
    display: block;
}

.as24-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.as24-content .as24-title {
    margin: 0;
    padding: 0;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
    color: #111111;
}

.as24-version {
    color: #444444;
    font-size: 15px;
    line-height: 1.45;
    min-height: 42px;
}

.as24-price {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    margin-top: 4px;
    color: #111111;
}

.as24-tax {
    font-size: 13px;
    line-height: 1.3;
    color: #555555;
}

.as24-teaser {
    color: #333333;
    font-size: 14px;
    line-height: 1.5;
}

.as24-button {
    margin-top: auto;
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: #050505;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 7px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.as24-button:hover,
.as24-button:focus {
    background: #222222;
    color: #ffffff !important;
    text-decoration: none;
}

.as24-card-meta {
    margin-top: 8px;
    color: #555555;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}
    
.as24-filter {
    background: #ffffff;
    color: #111111;
    border-radius: 12px;
    padding: 22px;
    margin: 0 0 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.as24-filter-main,
.as24-filter-sub {
    display: grid;
    gap: 16px;
}

.as24-filter-main {
    grid-template-columns: minmax(280px, 1.6fr) repeat(3, minmax(160px, 1fr));
    margin-bottom: 16px;
}

.as24-filter-sub {
    grid-template-columns: repeat(4, minmax(150px, 1fr)) auto;
    align-items: end;
}

.as24-filter-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
}

.as24-filter-field span {
    color: #333333;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
}

.as24-filter input,
.as24-filter select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 9px 11px;
    background: #ffffff;
    color: #111111;
    font-size: 15px;
    line-height: 1.2;
}

.as24-filter input:focus,
.as24-filter select:focus {
    outline: none;
    border-color: #2f6df6;
    box-shadow: 0 0 0 3px rgba(47,109,246,0.15);
}

.as24-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.as24-filter-submit,
.as24-filter-reset {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
}

.as24-filter-submit {
    border: 0;
    background: #050505;
    color: #ffffff;
    cursor: pointer;
}

.as24-filter-submit:hover {
    background: #222222;
}

.as24-filter-reset {
    background: #f1f1f1;
    color: #111111 !important;
}

.as24-filter-reset:hover {
    background: #e5e5e5;
    color: #111111 !important;
}

@media (max-width: 1120px) {
    .as24-filter-main,
    .as24-filter-sub {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .as24-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .as24-filter-main,
    .as24-filter-sub {
        grid-template-columns: 1fr;
    }

    .as24-filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .as24-filter-submit,
    .as24-filter-reset {
        width: 100%;
    }
}

@media (max-width: 980px) {
    .as24-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .as24-grid {
        grid-template-columns: 1fr;
    }

    .as24-headline {
        font-size: 30px;
    }
}


/*==================
Vehicle - CSS
===================*/

.as24-detail,
.as24-detail * {
    box-sizing: border-box;
}

.as24-detail {
    max-width: 1280px;
    margin: 0 auto;
    color: #ffffff;
}

.as24-back {
    display: inline-block;
    margin-bottom: 24px;
    color: #ffffff !important;
    text-decoration: none !important;
    opacity: 0.85;
}

.as24-back:hover {
    opacity: 1;
}

.as24-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
    gap: 34px;
    align-items: start;
}

.as24-detail-media {
    min-width: 0;
}

.as24-detail-main-image {
    width: 100%;
    display: block;
    border-radius: 12px;
    background: #ffffff;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.as24-detail-main-image-wrap {
    position: relative;
    width: 100%;
}

.as24-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: rgba(0,0,0,0.58);
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s ease, transform 0.2s ease;
}

.as24-gallery-nav:hover,
.as24-gallery-nav:focus {
    background: rgba(0,0,0,0.78);
    color: #ffffff;
    transform: translateY(-50%) scale(1.04);
}

.as24-gallery-prev {
    left: 14px;
}

.as24-gallery-next {
    right: 14px;
}

.as24-gallery-counter {
    position: absolute;
    right: 14px;
    bottom: 14px;
    background: rgba(0,0,0,0.62);
    color: #ffffff;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    z-index: 5;
}

@media (max-width: 640px) {
    .as24-gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .as24-gallery-prev {
        left: 10px;
    }

    .as24-gallery-next {
        right: 10px;
    }

    .as24-gallery-counter {
        right: 10px;
        bottom: 10px;
    }
}

.as24-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.as24-detail-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 7px;
    background: #ffffff;
}

.as24-detail-info {
    background: #ffffff;
    color: #111111;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

.as24-detail-title {
    margin: 0 0 12px !important;
    color: #111111 !important;
    font-size: 34px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
}

.as24-detail-version {
    color: #333333;
    font-size: 17px;
    line-height: 1.45;
    margin-bottom: 22px;
}

.as24-detail-price {
    color: #111111;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 10px;
}

.as24-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.as24-detail-meta span {
    display: inline-block;
    color: #333333;
    padding: 7px 11px;
    font-size: 13px;
    font-weight: 700;
}

.as24-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.as24-detail .as24-detail-description h2{
    
    margin: 0 0 24px !important;
    color: #101010;
    font-size: 30px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}

.as24-detail-button {
    display: block;
    width: 100%;
    padding: 14px 18px;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
}

.as24-detail-button-secondary {
    background: #050505;
    color: #ffffff !important;
}

.as24-detail-button-secondary:hover {
    background: #222222;
    color: #ffffff !important;
}

.as24-detail-description {
    margin-top: 36px;
    background: #ffffff;
    color: #111111;
    border-radius: 12px;
    padding: 34px 40px;
    max-width: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
}

.as24-detail-description h2 {
    margin: 0 0 24px !important;
    color: #111111 !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}

.as24-description-text {
    color: #222222;
    font-size: 16px;
    line-height: 1.7;
}

.as24-description-text {
    color: #222222 !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
    font-weight: 400 !important;
}

.as24-description-text p {
    margin: 0 0 18px;
}

.as24-description-text br {
    line-height: 1.8;
}

.as24-description-text strong,
.as24-description-text b {
    font-weight: 600;
}
    
.as24-detail-thumb {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.as24-detail-thumb:hover,
.as24-detail-thumb.is-active {
    border-color: #2f6df6;
    transform: translateY(-1px);
}
    
.as24-description-intro {
    color: #222222;
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.as24-description-intro p {
    margin: 0 0 14px;
}

.as24-highlight-box {
    background: #f3f6fb;
    border-left: 5px solid #2f6df6;
    border-radius: 10px;
    padding: 22px 26px;
    margin: 0 0 28px;
}

.as24-highlight-box h3 {
    margin: 0 0 16px !important;
    color: #111111 !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
}

.as24-highlight-box ul {
    margin: 0;
    padding-left: 20px;
}

.as24-highlight-box li {
    color: #222222;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 6px;
}

.as24-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.as24-accordion-item {
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
}

.as24-accordion-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 22px;
    color: #111111;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 900;
    background: #f7f7f7;
}

.as24-accordion-item summary::-webkit-details-marker {
    display: none;
}

.as24-accordion-item summary::after {
    content: "+";
    float: right;
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
}

.as24-accordion-item[open] summary::after {
    content: "–";
}

.as24-accordion-content {
    padding: 20px 22px 22px;
}

.as24-accordion-content p {
    margin: 0 0 10px;
    color: #222222;
    font-size: 16px;
    line-height: 1.65;
}
    
.as24-contact-box {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e4e4e4;
}

.as24-contact-box h2 {
    margin: 0 0 12px !important;
    color: #111111 !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
}

.as24-contact-box p {
    margin: 0 0 18px;
    color: #333333;
    font-size: 15px;
    line-height: 1.6;
}

.as24-contact-address {
    margin-bottom: 20px;
    color: #222222;
    font-size: 15px;
    line-height: 1.7;
}

.as24-contact-address strong {
    font-weight: 900;
}

.as24-contact-address a {
    color: #2f6df6 !important;
    text-decoration: none !important;
    font-weight: 700;
}

.as24-contact-address a:hover {
    text-decoration: underline !important;
}

.as24-contact-button {
    background: #2f6df6;
    color: #ffffff !important;
}

.as24-contact-button:hover,
.as24-contact-button:focus {
    background: #1f55c8;
    color: #ffffff !important;
}
    
    .as24-facts-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 22px 0 24px;
    padding: 18px;
    background: #f6f7f9;
    border-radius: 10px;
    width:100%;
}

.as24-fact {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.as24-fact:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.as24-fact span {
    color: #666666;
    font-size: 14px;
}

.as24-fact strong {
    color: #111111;
    font-size: 14px;
    font-weight: 900;
    text-align: right;
}


/* Theme variants */
.as24-theme-dark {
    color: #f4f4f5;
}

.as24-theme-dark.as24-wrap,
.as24-theme-dark.as24-detail {
    background: transparent;
}

.as24-theme-dark .as24-filter,
.as24-theme-dark .as24-card,
.as24-theme-dark .as24-detail-info,
.as24-theme-dark .as24-detail-description,
.as24-theme-dark .as24-contact-box {
    background: #171717;
    color: #f4f4f5;
}

.as24-theme-dark .as24-detail-description {
    border-radius: 12px;
}

.as24-theme-dark .as24-headline,
.as24-theme-dark .as24-title,
.as24-theme-dark .as24-detail-title,
.as24-theme-dark .as24-detail-description h2,
.as24-theme-dark .as24-contact-box h2,
.as24-theme-dark .as24-highlight-box h3 {
    color: #ffffff;
}

.as24-theme-dark .as24-version,
.as24-theme-dark .as24-detail-version,
.as24-theme-dark .as24-teaser,
.as24-theme-dark .as24-count,
.as24-theme-dark .as24-card-meta,
.as24-theme-dark .as24-detail-meta,
.as24-theme-dark .as24-contact-box p,
.as24-theme-dark .as24-contact-address,
.as24-theme-dark .as24-description-intro p {
    color: #d4d4d8;
}

.as24-theme-dark .as24-price,
.as24-theme-dark .as24-detail-price {
    color: #ffffff;
}

.as24-theme-dark .as24-tax {
    color: #c7c7cc;
}

.as24-theme-dark .as24-filter-field span {
    color: #f4f4f5;
}

.as24-theme-dark .as24-filter input,
.as24-theme-dark .as24-filter select {
    background: #0f0f0f;
    color: #ffffff;
    border-color: #3f3f46;
}

.as24-theme-dark .as24-filter input::placeholder {
    color: #a1a1aa;
}

.as24-theme-dark .as24-facts-box,
.as24-theme-dark .as24-highlight-box,
.as24-theme-dark .as24-accordion-content {
    background: #222222;
    color: #f4f4f5;
}

.as24-theme-dark .as24-fact {
    border-color: #3f3f46;
}

.as24-theme-dark .as24-fact span,
.as24-theme-dark .as24-accordion-content p {
    color: #d4d4d8;
}

.as24-theme-dark .as24-fact strong {
    color: #ffffff;
}

.as24-theme-dark .as24-accordion-item {
    background: #1f1f1f;
    border-color: #3f3f46;
}

.as24-theme-dark .as24-accordion-item summary {
    background: #2a2a2a;
    color: #ffffff;
}

.as24-theme-dark .as24-accordion-item[open] summary {
    background: #333333;
    color: #ffffff;
}

.as24-theme-dark .as24-contact-address a,
.as24-theme-dark .as24-back {
    color: #78a6ff;
}

.as24-theme-dark .as24-detail-info h1,
.as24-theme-dark .as24-contact-box h2,
.as24-theme-dark .as24-detail-description h2,
.as24-theme-dark .as24-highlight-box h3 {
    color: #ffffff !important;
}

.as24-theme-dark .as24-highlight-box,
.as24-theme-dark .as24-highlight-box ul,
.as24-theme-dark .as24-highlight-box li {
    color: #f4f4f5 !important;
}

.as24-theme-dark .as24-highlight-box {
    background: #242424;
    border-left-color: #2f6df6;
}

.as24-theme-dark .as24-description-intro,
.as24-theme-dark .as24-description-intro p {
    color: #e5e5e5 !important;
}

.as24-theme-dark .as24-contact-box p,
.as24-theme-dark .as24-contact-address,
.as24-theme-dark .as24-contact-address strong {
    color: #e5e5e5 !important;
}

.as24-theme-dark .as24-detail-description {
    background: #171717;
}

.as24-theme-dark .as24-accordion-item summary {
    color: #ffffff !important;
}

.as24-theme-dark .as24-detail-description > h2 {
    color: #ffffff !important;
}

.as24-theme-dark .as24-detail-meta span,
.as24-theme-dark .as24-tax {
    color: #d4d4d8 !important;
}

.as24-theme-dark .as24-detail-description p,
.as24-theme-dark .as24-description-intro p,
.as24-theme-dark .as24-highlight-box li,
.as24-theme-dark .as24-accordion-content p {
    color: #f1f1f1 !important;
}

.as24-detail.as24-theme-dark .as24-detail .as24-detail-description h2 {
  margin: 0 0 24px !important;
  color: #fff !important;
  font-size: 30px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}


/* Overview layout variant */
.as24-layout-list .as24-grid {
    grid-template-columns: 1fr;
}

.as24-layout-list .as24-card {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 0;
}

.as24-layout-list .as24-image {
    height: 100%;
    min-height: 220px;
}

@media (max-width: 760px) {
    .as24-layout-list .as24-card {
        grid-template-columns: 1fr;
    }

    .as24-layout-list .as24-image {
        height: 220px;
    }
}

/* Button variants */
.as24-buttons-outline .as24-button,
.as24-buttons-outline .as24-detail-button,
.as24-buttons-outline .as24-filter-submit {
    background: transparent;
    color: #111111;
    border: 2px solid #111111;
}

.as24-buttons-outline .as24-button:hover,
.as24-buttons-outline .as24-detail-button:hover,
.as24-buttons-outline .as24-filter-submit:hover {
    background: #111111;
    color: #ffffff;
}

.as24-theme-dark.as24-buttons-outline .as24-button,
.as24-theme-dark.as24-buttons-outline .as24-detail-button,
.as24-theme-dark.as24-buttons-outline .as24-filter-submit {
    color: #ffffff;
    border-color: #ffffff;
}

.as24-theme-dark.as24-buttons-outline .as24-button:hover,
.as24-theme-dark.as24-buttons-outline .as24-detail-button:hover,
.as24-theme-dark.as24-buttons-outline .as24-filter-submit:hover {
    background: #ffffff;
    color: #111111;
}

.as24-buttons-soft .as24-button,
.as24-buttons-soft .as24-detail-button,
.as24-buttons-soft .as24-filter-submit {
    background: #eeeeee;
    color: #111111;
    border: 0;
}

.as24-buttons-soft .as24-button:hover,
.as24-buttons-soft .as24-detail-button:hover,
.as24-buttons-soft .as24-filter-submit:hover {
    background: #dddddd;
    color: #111111;
}

.as24-theme-dark.as24-buttons-soft .as24-button,
.as24-theme-dark.as24-buttons-soft .as24-detail-button,
.as24-theme-dark.as24-buttons-soft .as24-filter-submit {
    background: #333333;
    color: #ffffff;
}

.as24-theme-dark.as24-buttons-soft .as24-button:hover,
.as24-theme-dark.as24-buttons-soft .as24-detail-button:hover,
.as24-theme-dark.as24-buttons-soft .as24-filter-submit:hover {
    background: #444444;
}

/* Custom design variables */
.as24-wrap,
.as24-detail {
    --as24-accent-color: #2f6df6;
    --as24-card-bg: #ffffff;
    --as24-text-color: #111111;
    --as24-title-color: #111111;
    --as24-button-bg: #000000;
    --as24-button-text: #ffffff;
}

.as24-theme-dark {
    --as24-card-bg: #171717;
    --as24-text-color: #f4f4f5;
    --as24-title-color: #ffffff;
    --as24-button-bg: #2f6df6;
    --as24-button-text: #ffffff;
}

.as24-wrap,
.as24-detail {
    color: var(--as24-text-color);
}

.as24-card,
.as24-filter,
.as24-contact-box,
.as24-detail-info,
.as24-detail-description {
    background: var(--as24-card-bg);
    color: var(--as24-text-color);
}

.as24-title,
.as24-detail-title,
.as24-headline,
.as24-detail-description h2,
.as24-contact-box h2,
.as24-highlight-box h3 {
    color: var(--as24-title-color);
}

.as24-button,
.as24-detail-button,
.as24-filter-submit,
.as24-contact-button {
    background: var(--as24-button-bg);
    color: var(--as24-button-text);
}

.as24-highlight-box {
    border-left-color: var(--as24-accent-color);
}

.as24-detail-thumb.is-active,
.as24-detail-thumb.active {
    border-color: var(--as24-accent-color);
}

/* Custom card background override */
.as24-wrap[style] .as24-card,
.as24-wrap[style] .as24-filter,
.as24-detail[style] .as24-contact-box,
.as24-detail[style] .as24-detail-info,
.as24-detail[style] .as24-detail-description {
    background: var(--as24-card-bg) !important;
}

.as24-detail[style] .as24-facts-box,
.as24-detail[style] .as24-highlight-box,
.as24-detail[style] .as24-accordion-item,
.as24-detail[style] .as24-accordion-content {
    background: var(--as24-card-bg) !important;
}


@media (max-width: 980px) {
    .as24-detail-grid {
        grid-template-columns: 1fr;
    }

    .as24-detail-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .as24-detail-info,
    .as24-detail-description {
        padding: 20px;
    }

    .as24-detail-title {
        font-size: 28px !important;
    }

    .as24-detail-price {
        font-size: 28px;
    }

    .as24-detail-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}