/* devis.css */
.devis {align-items: stretch;gap: 16px;padding-bottom: 50px;/* max-width: 85vw; */min-height: calc(100vh - 114px);/* justify-content: center; */}
.devis .tit { text-align: center; }
.dv-step[hidden], .dv-bar[hidden] {display: none !important;}

.dv-grid {display: flex;flex-wrap: wrap;gap: 14px;width: 100%;flex-direction: row;align-items: stretch;justify-content: center;}
.dv-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.dv-cat { display: flex; align-items: center; gap: 8px; }
.dv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--act1); }

.dv-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    padding: 18px 14px;
    border-radius: 16px;
    background: var(--card);
    border: var(--CardBorder);
    cursor: pointer;
    transition: .2s;
    color: var(--text);
    flex-wrap: wrap;
    min-width: 300px;
    align-items: stretch;
    width: calc(50% - 38px);
    font-weight: normal;
    max-width: 80vw;
}
.dv-card:hover { transform: translateY(-2px); filter: none; }
.dv-card .dv-ico { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--bg); color: var(--act1); }
.dv-card .dv-ico svg { width: 22px; height: 22px; }
.dv-card small { color: var(--text); opacity: .8; font-size: 12px; margin-top: auto; }
dv-svc{ position: absolute; opacity: 0; pointer-events: none; }

.dv-svc input { position: absolute; opacity: 0; pointer-events: none; }
.dv-check {
    position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid #8884; display: flex; align-items: center; justify-content: center; color: transparent; transition: .2s;
}
.dv-svc {
    width: calc(33% - 36px);
}
.dv-svc.selected .dv-check { background: var(--act1); border-color: var(--act1); color: #fff; }
.dv-svc:has(input:focus-visible) { outline: 2px solid var(--act1); }

.dv-bar {
    position: sticky;
    bottom: 16px;
    z-index: 5;
    width: min(92vw, 720px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    border-radius: 18px;
    background: var(--color);
    box-shadow: 0 8px 30px #0003;
    max-width: min(85vw, 720px);
}
.dv-bar-info {display: flex;flex-direction: column;gap: 2px;margin-right: auto;}

.dv-done {align-items: center;text-align: center;display: flex;flex-direction: column;gap: 12px;padding: 30px 28px;background: var(--card);border-radius: var(--radius);margin: auto 0;}
.dv-done[hidden] {display: none !important;}
.dv-done-ico { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--sucess); color: #fff; }
.dv-done ul { margin: 0; text-align: left; }

.toast {
    position: fixed; top: 20px; left: 50%; translate: -50% 0; z-index: 99; padding: 12px 18px;
    border-radius: 12px; background: var(--htext); color: var(--color); font-size: 14px;
}
