.freeAttrTextPriceErrorField {
    padding: 4px 15px;
    margin-left: 10px;
    border-style: solid;
    border-width: 1px;
    position: absolute;
    color: #CB4721;
    border-radius: 3px;
    background-color: #FDE4E1;
    border-color: #CB4721;
    z-index: 1;
}

.freeAttrTextPriceArrow {
    border-bottom: 6px solid transparent;
    border-right: 6px solid #CB4721;
    border-top: 6px solid transparent;
    height: 0;
    left: -6px;
    position: absolute;
    top: 0;
    width: 0;
}

.freeattr-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
    flex-wrap: nowrap;           /* не переносим элементы */
}

.freeattr-checkbox input[type="checkbox"] {
    display: none;
}

.freeattr-checkbox span.box {
    flex-shrink: 0;              /* ❗ не даем чекбоксу сплющиваться */
    width: 18px;
    height: 18px;
    border: 2px solid #555;
    margin-right: 8px;
    position: relative;
    border-radius: 3px;
    display: inline-block;
    box-sizing: border-box;
}

/* Галочка */
.freeattr-checkbox input[type="checkbox"]:checked + span.box::after {
    content: "✔";
    position: absolute;
    top: -2px;
    left: 2px;
    font-size: 16px;
    color: orange;
    line-height: 1;
}

/* Контейнер опций */
.print-options {
    display: none;
    margin-top: 10px;
}

.print-options-inner {
    background: #fff;
    padding: 15px;
}

#print-options.active {
    height: auto;
}

/* Основной контейнер */
.free_attr_prices {
    margin: 15px 0;
    width: 100%;
}

/* Заголовок блока */
.print-options .checkbox-grid-title {
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 15px;
}

/* Сетка чекбоксов */
.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    margin-top: 10px;
}

/* Каждый элемент */
.checkbox-grid .freeattr-checkbox {
    width: calc(100% - 15px);
    margin-bottom: 5px;
}

/* Текст опций меньше, чем заголовок */
.free_attr_prices .print-options .freeattr-checkbox {
    font-size: 14px;
    font-weight: 400;
}

/* ✅ Адаптив: чтобы текст переносился красиво */
@media (max-width: 600px) {
    .checkbox-grid {
        gap: 10px 15px;
    }
    .checkbox-grid .freeattr-checkbox {
        width: 100%;
    }
}

/* ===== "Додаткові послуги" — розкривне меню (акордеон) ===== */
.freeattr-accordion-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    cursor:pointer;
    padding:12px 14px;
    background:#f6f6f6;
    border:1px solid #e6e6e6;
    border-radius:6px;
    font-weight:700;
    font-size:15px;
    color:#333;
    user-select:none;
    transition:background .15s;
}
.freeattr-accordion-head:hover{ background:#f0f0f0; }
.freeattr-accordion-title{ flex:1 1 auto; }
.freeattr-accordion-arrow{
    flex:0 0 auto;
    width:0;
    height:0;
    border-left:6px solid transparent;
    border-right:6px solid transparent;
    border-top:7px solid #888;
    transition:transform .2s ease;
}
.freeattr-accordion-head.active .freeattr-accordion-arrow{ transform:rotate(180deg); }
