.cn-wrapper { background: #fdfdfd; padding: 30px; border: 2px dashed #e0e0e0; border-radius: 8px; width: 100%; font-family: inherit; margin: 40px 0; box-shadow: 0 4px 15px rgba(0,0,0,0.02); box-sizing: border-box; }
.cn-header-box { margin-bottom: 25px; text-align: center; }
.cn-title { margin-top: 0; font-size: 24px; margin-bottom: 8px; font-weight: 800; color: #111; }
.cn-intro { margin-top: 0; font-size: 16px; color: #666; font-weight: 500; }

.cn-form-row { display: flex; flex-wrap: wrap; gap: 15px; align-items: flex-end; width: 100%; justify-content: center; }
.cn-step { flex: 1; min-width: 220px; margin-bottom: 0; }
.cn-step-btn { flex: 1; min-width: 220px; }
.cn-hidden { display: none !important; }

.cn-step label { display: block; font-weight: 700; margin-bottom: 8px; color: #333; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.cn-select { width: 100%; padding: 12px; border: 2px solid #ccc; border-radius: 6px; font-size: 15px; outline: none; transition: border-color 0.2s; background: #fff; box-sizing: border-box; height: 48px; color:#111; font-weight: 500;}
.cn-select:focus { border-color: #ff5722; }

/* Przycisk Główny */
.cn-btn { background: #ff5722 !important; color: #ffffff !important; padding: 0 15px; border: none; border-radius: 6px; width: 100%; height: 48px; font-weight: 800; font-size: 15px; cursor: pointer; transition: background 0.3s, transform 0.1s; text-transform: uppercase; display: flex; align-items: center; justify-content: center; letter-spacing: 0.5px; }
.cn-btn:disabled { cursor: not-allowed; opacity: 0.8; } 
.cn-btn:hover:not(:disabled) { background: #e64a19 !important; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(255, 87, 34, 0.2); }

.cn-results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 30px; width: 100%; }
.cn-card { background: #fff; padding: 20px; border: 1px solid #eee; text-align: center; border-radius: 8px; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.cn-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-color: #ddd; }

/* Obrazek jako czysty, nieostylowany link */
.cn-card-img-link { display: block !important; margin-bottom: 15px !important; text-decoration: none !important; background: transparent !important; padding: 0 !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; margin-top: 0 !important; }
.cn-card-img-link img { max-width: 100%; height: auto; border-radius: 4px; display: block; margin: 0 auto; transition: opacity 0.2s; }
.cn-card-img-link:hover img { opacity: 0.9; }

.cn-card h4 { font-size: 15px; margin: 0 0 15px; line-height: 1.4; color: #222; font-weight: 700; }

.cn-attrs { display: flex; flex-direction: column; gap: 6px; text-align: left; font-size: 12px; color: #444; background: #f4f6f8; padding: 12px; border-radius: 6px; margin-bottom: 20px; border: 1px solid #e1e5eb; font-weight: 500;}
.cn-attrs span { display: block; line-height: 1.3; }
.cn-attrs span::before { content: "✓ "; color: #12ad02; font-weight: 900;}

.cn-card .cn-price { color: #ff5722; font-weight: 800; font-size: 20px; margin-bottom: 15px; display: block; }

/* Przycisk Zobacz model */
.cn-card-btn { text-decoration: none; background: #12ad02 !important; color: #ffffff !important; padding: 14px 15px !important; display: block !important; border-radius: 6px !important; font-weight: 800 !important; font-size: 13px !important; text-transform: uppercase !important; transition: background 0.2s !important; margin-top: auto !important; letter-spacing: 0.5px !important; border: none !important; box-shadow: none !important; }
.cn-card-btn:hover { background: #0e8f02 !important; color: #ffffff !important; }

.cn-msg { text-align: center; padding: 25px; font-weight: 700; color: #444; width: 100%; grid-column: 1 / -1; font-size: 16px; background:#f9f9f9; border-radius: 6px;}

@media (max-width: 768px) {
    .cn-form-row { flex-direction: column; align-items: stretch; gap: 12px; }
    .cn-step, .cn-step-btn { min-width: 100%; }
    .cn-wrapper { padding: 20px 15px; }
}