/* ==============================================
   Apimo Converter — Bouton flottant
   ============================================== */

#apimo-conv-wrap {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9990;
    font-family: "Noyhgeometric", sans-serif;
}

/* ---- Bouton principal ---- */
#apimo-conv-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px 9px 12px;
    background: rgba(10, 10, 10, 0.80);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
    line-height: 1;
}

#apimo-conv-btn:hover {
    background: rgba(10, 10, 10, 0.95);
    border-color: rgba(255, 255, 255, 0.25);
}

#apimo-conv-btn svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
    flex-shrink: 0;
}

#apimo-conv-btn .sep {
    opacity: 0.3;
    font-weight: 300;
}

/* ---- Panel ---- */
#apimo-conv-panel {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    background: rgba(12, 12, 12, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    padding: 18px 16px;
    min-width: 210px;
    display: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    transform-origin: bottom left;
    animation: apimo-conv-in 0.15s ease;
}

@keyframes apimo-conv-in {
    from { opacity: 0; transform: scale(0.95) translateY(4px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

#apimo-conv-panel.is-open {
    display: block;
}

/* ---- Sections ---- */
.apimo-conv-section {
    margin-bottom: 14px;
}
.apimo-conv-section:last-child {
    margin-bottom: 0;
}

.apimo-conv-label {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 8px;
}

.apimo-conv-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 14px 0;
}

/* ---- Options ---- */
.apimo-conv-options {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.apimo-conv-opt {
    padding: 6px 13px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
    background: transparent;
    line-height: 1;
    letter-spacing: 0.03em;
}

.apimo-conv-opt:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.apimo-conv-opt.is-active {
    background: #fff;
    color: #000;
    border-color: #fff;
    font-weight: 600;
}

/* ---- Transition prix (flash discret) ---- */
[data-price-base],
[data-area-m2] {
    transition: opacity 0.15s ease;
}
