/* ═══════════════════════════════════════════════════
   BLOKAVTO Cars Module — Apple-style UI v4
   3-col grid, image top, centered, 1-col advantages
   ═══════════════════════════════════════════════════ */

.rcfy-cm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    margin: 32px 0;
    background: #f5f5f7;
    border-radius: 15px;
    padding: 20px;
}

@media (min-width: 600px) {
    .rcfy-cm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
    .rcfy-cm-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Card ── */
.rcfy-cm-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.rcfy-cm-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* ── Image + Price row ── */
.rcfy-cm-media-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.rcfy-cm-img-wrap {
    flex: 1;
    background: #FFFFFF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: start;
    box-sizing: border-box;
    min-height: 90px;
}

.rcfy-cm-img {
    width: 100%;
    max-width: 170px;
    height: 70px;
    object-fit: contain;
    display: block;
}

.rcfy-cm-img-empty {
    height: 120px;
    background: #e8e8ed;
    border-radius: 8px;
}

/* ── Content ── */
.rcfy-cm-body {
    flex: 1;
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

/* ── Title ── */
.rcfy-cm-title-block {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 3px;
    width: 100%;
    margin-top: 10px;
}

.rcfy-cm-category {
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.rcfy-cm-name {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: #19A881;
}

/* ── Specs — pill tags ── */
.rcfy-cm-specs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.rcfy-cm-spec {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    padding: 4px 10px 4px 8px;
    white-space: nowrap;
}

.rcfy-cm-spec-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rcfy-cm-spec-icon svg {
    width: 100%;
    height: 100%;
}

/* ── Price ── */
.rcfy-cm-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    gap: 1px;
}

.rcfy-cm-price-pre {
    font-size: 14px;
    font-weight: 500;
}

.rcfy-cm-price-num {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #19A881;
    line-height: 1;
}

.rcfy-cm-price-unit {
    font-size: 14px;
    font-weight: 500;
}

/* ── CTA ── */
.rcfy-cm-cta-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.rcfy-cm-cancel {
    font-size: 11.5px;
    font-weight: 600;
    color: #1a7f3c;
    letter-spacing: 0.01em;
}

.rcfy-cm-btn {
    display: block;
    width: 100%;
    padding: 11px 0;
    color: #ffffff;
    text-align: center;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: -0.01em;
    border: none;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.rcfy-cm-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* ── Advantages — 1 column ── */
.rcfy-cm-features {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
    padding-top: 14px;
    margin-top: auto;
    border-top: 1px solid #f0f0f5;
}

.rcfy-cm-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.3;
    text-align: left;
}

.rcfy-cm-feature-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rcfy-cm-feature-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ── Disclaimer ── */
.rcfy-cm-note {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 4px;
    padding: 12px 16px;
    font-size: 12px;
    line-height: 1.6;
}
