.vcim-page {
    background: #f6f8fb;
    color: #142033;
}
.vcim-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}
.vcim-hero {
    padding: 68px 0 36px;
    background: linear-gradient(135deg, #eef7ff, #ffffff);
    border-bottom: 1px solid rgba(20, 32, 51, .08);
}
.vcim-hero h1,
.vcim-product-info h1 {
    margin: 8px 0 12px;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.04;
    letter-spacing: -.04em;
}
.vcim-hero p,
.vcim-lead {
    max-width: 720px;
    color: #5f6f86;
    font-size: 18px;
    line-height: 1.65;
}
.vcim-kicker,
.vcim-brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e4f1ff;
    color: #1164b4;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.vcim-section {
    padding: 42px 0;
}
.vcim-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.vcim-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(20, 32, 51, .08);
    box-shadow: 0 18px 48px rgba(20, 32, 51, .08);
}
.vcim-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / .78;
    padding: 24px;
    background: #f9fbff;
    text-decoration: none;
}
.vcim-card-image img,
.vcim-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.vcim-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}
.vcim-card h2 {
    margin: 12px 0 14px;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -.02em;
}
.vcim-card h2 a {
    color: inherit;
    text-decoration: none;
}
.vcim-card h2 a:hover {
    color: #1164b4;
}
.vcim-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}
.vcim-spec {
    padding: 12px;
    border-radius: 14px;
    background: #f4f7fb;
}
.vcim-spec span,
.vcim-spec strong {
    display: block;
}
.vcim-spec span {
    margin-bottom: 4px;
    color: #69788d;
    font-size: 12px;
}
.vcim-spec strong {
    color: #142033;
    font-size: 15px;
}
.vcim-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 13px 16px;
    border-radius: 999px;
    background: #1164b4;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}
.vcim-button:hover {
    background: #0e5598;
    color: #fff;
}
.vcim-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    width: 100%;
    border: 1px dashed rgba(20, 32, 51, .24);
    border-radius: 18px;
    color: #7b8aa0;
    background: #fff;
}
.vcim-product-head {
    display: grid;
    grid-template-columns: minmax(280px, 48%) 1fr;
    gap: 40px;
    padding: 64px 0 34px;
    align-items: center;
}
.vcim-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 36px;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(20, 32, 51, .08);
}
.vcim-content-box {
    margin-bottom: 48px;
    padding: 34px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(20, 32, 51, .07);
}
.vcim-content-box h2 {
    margin-top: 0;
    font-size: 28px;
}
.vcim-content {
    color: #3f4e63;
    line-height: 1.75;
}
.vcim-pagination {
    margin-top: 30px;
}
@media (max-width: 900px) {
    .vcim-grid,
    .vcim-product-head {
        grid-template-columns: 1fr;
    }
    .vcim-product-head {
        padding-top: 34px;
        gap: 24px;
    }
    .vcim-product-image {
        min-height: 300px;
    }
}
@media (max-width: 560px) {
    .vcim-container {
        width: min(100% - 20px, 1180px);
    }
    .vcim-hero {
        padding: 42px 0 26px;
    }
    .vcim-card-body,
    .vcim-content-box {
        padding: 18px;
    }
    .vcim-specs {
        grid-template-columns: 1fr;
    }
}

/* 0.2.0: extra desktop spacing for single klima pages, adjustable in Klímák → Beállítások */
@media (min-width: 901px) {
    .vcim-single .vcim-product-head {
        padding-top: var(--vcim-single-top-spacing, 96px);
    }
}

/* Shortcode grid used by [klima_racs] */
.vcim-shortcode-grid {
    display: grid;
    grid-template-columns: repeat(var(--vcim-grid-columns, 4), minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}
.vcim-shortcode-grid .vcim-card {
    min-width: 0;
}
.vcim-card--showcase {
    background: #214b82;
    color: #fff;
    border-color: rgba(255,255,255,.08);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(9, 31, 63, .18);
}
.vcim-card--showcase .vcim-card-image {
    min-height: 175px;
    aspect-ratio: 1 / .72;
    padding: 18px 22px 6px;
    background: rgba(10, 38, 78, .18);
}
.vcim-card--showcase .vcim-card-image img {
    max-height: 155px;
    transition: transform .22s ease;
}
.vcim-card--showcase:hover .vcim-card-image img {
    transform: translateY(-3px) scale(1.02);
}
.vcim-card--showcase .vcim-card-body {
    padding: 18px 20px 20px;
}
.vcim-card--showcase .vcim-brand {
    display: none;
}
.vcim-card--showcase h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 19px;
    line-height: 1.22;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .01em;
}
.vcim-card--showcase h2 a,
.vcim-card--showcase h2 a:hover {
    color: #fff;
}
.vcim-card--showcase .vcim-spec {
    background: rgba(255,255,255,.08);
}
.vcim-card--showcase .vcim-spec span {
    color: rgba(255,255,255,.72);
}
.vcim-card--showcase .vcim-spec strong {
    color: #fff;
}
.vcim-card-offer {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.16);
    text-align: center;
}
.vcim-card:not(.vcim-card--showcase) .vcim-card-offer {
    border-top-color: rgba(20,32,51,.08);
}
.vcim-card-offer p {
    margin: 0 0 14px;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    line-height: 1.55;
}
.vcim-card:not(.vcim-card--showcase) .vcim-card-offer p {
    color: #5f6f86;
}
.vcim-card-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: auto;
}
.vcim-button.vcim-button--secondary,
.vcim-button.vcim-button--quote {
    margin-top: 0;
    min-height: 42px;
    padding: 11px 16px;
    font-size: 14px;
}
.vcim-button.vcim-button--secondary {
    background: rgba(255,255,255,.16);
    color: #fff;
}
.vcim-button.vcim-button--secondary:hover {
    background: rgba(255,255,255,.24);
    color: #fff;
}
.vcim-button.vcim-button--quote {
    background: #ff2533;
    color: #fff;
}
.vcim-button.vcim-button--quote:hover {
    background: #e31926;
    color: #fff;
}
.vcim-empty {
    margin: 0;
    padding: 18px;
    border-radius: 14px;
    background: #fff;
    color: #5f6f86;
}

@media (max-width: 1024px) {
    .vcim-shortcode-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .vcim-shortcode-grid.vcim-mobile-slider {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        padding: 2px 4px 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .vcim-shortcode-grid.vcim-mobile-slider .vcim-card {
        flex: 0 0 min(84vw, 340px);
        scroll-snap-align: start;
    }
    .vcim-shortcode-grid.vcim-mobile-slider::-webkit-scrollbar {
        height: 7px;
    }
    .vcim-card--showcase .vcim-card-image {
        min-height: 150px;
    }
    .vcim-card-actions {
        flex-direction: column;
    }
    .vcim-card-actions .vcim-button {
        width: 100%;
    }
}


/* 0.2.2: ajánlatkérő blokk az egyedi klíma adatlapokon */
.vcim-single-offer {
    margin-top: -18px;
    border: 1px solid rgba(17, 100, 180, .10);
    background: linear-gradient(135deg, #ffffff, #f3f9ff);
}
.vcim-single-offer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
}
.vcim-single-offer h2 {
    margin: 12px 0 12px;
}
.vcim-single-offer-text {
    max-width: 760px;
    color: #3f4e63;
    line-height: 1.7;
}
.vcim-single-offer-text p {
    margin: 0 0 10px;
}
.vcim-single-offer-text p:last-child {
    margin-bottom: 0;
}
.vcim-single-offer-action {
    display: flex;
    justify-content: flex-end;
}
.vcim-single-offer-action .vcim-button {
    white-space: nowrap;
    min-width: 180px;
}
@media (max-width: 767px) {
    .vcim-single-offer-inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .vcim-single-offer-action {
        justify-content: stretch;
    }
    .vcim-single-offer-action .vcim-button {
        width: 100%;
    }
}

/* 0.2.3: klíma rács alatt központi továbbvezető gomb, összes klíma lista */
.vcim-shortcode-wrap {
    width: 100%;
}
.vcim-all-button-wrap {
    margin-top: 28px;
    text-align: center;
}
.vcim-button.vcim-button--all {
    min-width: 220px;
    background: #ff2533;
    color: #fff;
    box-shadow: 0 12px 26px rgba(255, 37, 51, .22);
}
.vcim-button.vcim-button--all:hover {
    background: #e31926;
    color: #fff;
}
.vcim-archive-intro {
    margin: 0 0 28px;
    max-width: 820px;
}
.vcim-archive-intro h2 {
    margin: 0 0 8px;
}
.vcim-archive-intro p {
    margin: 0;
    color: #5f6f86;
    line-height: 1.7;
}
.vcim-archive-grid .vcim-card .vcim-specs {
    margin-top: 12px;
}
@media (max-width: 767px) {
    .vcim-all-button-wrap {
        margin-top: 20px;
    }
    .vcim-button.vcim-button--all {
        width: 100%;
        min-width: 0;
    }
}

/* 0.2.5: rendezettebb kiemelt klíma rács, rövidebb címek, egységesebb képméret */
.vcim-card--showcase {
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(34, 78, 133, .98), rgba(28, 69, 121, .98));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 40px rgba(8, 27, 58, .20);
}
.vcim-card--showcase .vcim-card-image {
    height: 188px;
    min-height: 188px;
    aspect-ratio: auto;
    margin: 16px 16px 0;
    padding: 18px;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(20,32,51,.06);
}
.vcim-card--showcase .vcim-card-image img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    transform: scale(1.18);
    transform-origin: center;
}
.vcim-card--showcase:hover .vcim-card-image img {
    transform: scale(1.24);
}
.vcim-card--showcase .vcim-card-body {
    padding: 16px 18px 18px;
    align-items: center;
    text-align: center;
}
.vcim-card--showcase .vcim-brand {
    display: inline-flex;
    margin: 0 0 8px;
    padding: 5px 9px;
    background: rgba(255,255,255,.14);
    color: rgba(255,255,255,.88);
    font-size: 11px;
    letter-spacing: .08em;
}
.vcim-card--showcase h2 {
    min-height: 42px;
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.22;
    letter-spacing: .005em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vcim-card-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 0 0 14px;
}
.vcim-card-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 700;
}
.vcim-card--showcase .vcim-button {
    width: min(100%, 190px);
    margin-top: auto;
    padding: 12px 18px;
    background: #1475d1;
    box-shadow: 0 10px 22px rgba(8, 30, 60, .18);
}
.vcim-card--showcase .vcim-button:hover {
    background: #0f66b7;
}
.vcim-admin-note {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-left: 4px solid #f59e0b;
    border-radius: 10px;
    background: #fff7e6;
    color: #694600;
    font-size: 13px;
    line-height: 1.55;
}
.vcim-admin-note code {
    background: rgba(105,70,0,.10);
    padding: 2px 5px;
    border-radius: 5px;
}
@media (max-width: 767px) {
    .vcim-card--showcase .vcim-card-image {
        height: 170px;
        min-height: 170px;
    }
    .vcim-card--showcase h2 {
        min-height: auto;
        font-size: 16px;
    }
}

/* 0.2.8: archive oldal finomítás: csak a klíma archív oldalon rejtjük a sablon saját kék breadcrumb sávját. */
body.post-type-archive-klima .reactheme-breadcrumbs,
body.post-type-archive-klima .reactheme-breadcrumbs .breadcrumbs-inner,
body.post-type-archive-klima #reactheme-header.header-style-3 .reactheme-breadcrumbs .breadcrumbs-inner {
    display: none !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

@media (min-width: 901px) {
    body.post-type-archive-klima .vcim-archive .vcim-hero {
        padding-top: 150px;
    }
}

@media (max-width: 900px) {
    body.post-type-archive-klima .vcim-archive .vcim-hero {
        padding-top: 90px;
    }
}

.vcim-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
    margin: 26px 0 30px;
    padding: 20px;
    border: 1px solid rgba(20, 32, 51, .08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(20, 32, 51, .06);
}

.vcim-filter-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.vcim-filter-field span {
    color: #52637a;
    font-size: 13px;
    font-weight: 700;
}

.vcim-filter-field select {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid rgba(20, 32, 51, .14);
    border-radius: 14px;
    background: #f9fbff;
    color: #142033;
    font-size: 15px;
}

.vcim-filter-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    grid-column: 1 / -1;
    flex-wrap: wrap;
}

.vcim-button--filter {
    margin-top: 0;
    border: 0;
    cursor: pointer;
}

.vcim-filter-reset {
    color: #1164b4;
    font-weight: 700;
    text-decoration: none;
}

.vcim-filter-reset:hover {
    text-decoration: underline;
}

.vcim-load-more-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    text-align: center;
}

.vcim-load-more {
    border: 0;
    cursor: pointer;
    min-width: 240px;
}

.vcim-load-more[disabled] {
    cursor: wait;
    opacity: .72;
}

.vcim-load-more-count,
.vcim-load-more-error {
    margin: 0;
    color: #66758a;
    font-size: 14px;
}

.vcim-load-more-error {
    color: #b42318;
    font-weight: 700;
}

@media (max-width: 980px) {
    .vcim-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .vcim-filters {
        grid-template-columns: 1fr;
        padding: 16px;
        border-radius: 20px;
    }
}
