/* ANEP Quote Request — стили только попапа заявки и плавающей кнопки.
   Каталог/кнопки WooCommerce плагин не трогает и своих стилей на них не накладывает. */

.anep-qr-toggle {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99998;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: #242933;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
}
.anep-qr-toggle:hover { filter: brightness(1.08); }
.anep-qr-toggle[hidden] { display: none; }
.anep-qr-toggle-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ff1f2d;
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.anep-qr-modal { display: none; position: fixed; z-index: 99999; inset: 0; }
.anep-qr-modal.is-open { display: block; }
.anep-qr-modal-overlay { position: absolute; inset: 0; background: rgba(25, 30, 38, .48); }
.anep-qr-modal-box {
    position: relative;
    width: min(440px, calc(100vw - 32px));
    margin: 8vh auto;
    max-height: 84vh;
    overflow-y: auto;
    background: #fff;
    color: #242933;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .24);
    font-family: inherit;
}
.anep-qr-modal-close {
    position: absolute;
    right: 14px;
    top: 12px;
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: .7;
}
#anep-qr-modal-title { margin: 0 0 18px; font-size: 20px; }

.anep-qr-modal-items {
    margin: 0 0 18px;
    max-height: 34vh;
    overflow-y: auto;
    border: 1px solid rgba(127, 127, 127, .28);
    border-radius: 8px;
}
.anep-qr-modal-empty { margin: 0; padding: 14px 16px; font-size: 13px; opacity: .7; }
.anep-qr-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(127, 127, 127, .2);
}
.anep-qr-item:last-child { border-bottom: 0; }
.anep-qr-item-name { font-size: 14px; line-height: 1.35; }
.anep-qr-item-remove {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: .55;
    padding: 2px 4px;
}
.anep-qr-item-remove:hover { opacity: 1; }

.anep-qr-form label { display: block; margin: 0 0 14px; font-weight: 600; font-size: 14px; }
.anep-qr-form input,
.anep-qr-form textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    border: 1px solid #dce3ea;
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
}
.anep-qr-submit {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 4px;
    background: #ff1f2d;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
}
.anep-qr-submit:disabled { opacity: .5; cursor: not-allowed; }
.anep-qr-submit:not(:disabled):hover { filter: brightness(1.05); }
.anep-qr-form-result { margin-top: 12px; font-size: 14px; }
.anep-qr-form-result.is-error { color: #c51420; }
.anep-qr-form-result.is-success { color: #188038; }
