/* ── GBoost Product Fields – Front ── */

.gpf-groups-wrapper { margin: 16px 0; }

.gpf-group { margin-bottom: 8px; }

.gpf-field {
    margin-bottom: 18px;
}

.gpf-label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.gpf-required { color: #e00; margin-left: 3px; }
.gpf-optional { color: #999; font-size: 12px; font-weight: 400; margin-left: 4px; }

.gpf-desc {
    display: block;
    color: #777;
    font-size: 12px;
    margin-bottom: 6px;
}

/* Inputs */
.gpf-input,
.gpf-textarea,
.gpf-select {
    width: 100%;
    max-width: 480px;
    padding: 9px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}
.gpf-input:focus,
.gpf-textarea:focus,
.gpf-select:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34,113,177,.15);
}
.gpf-textarea { resize: vertical; min-height: 100px; }

.gpf-char-count {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 3px;
}

/* Checkbox / Radio */
.gpf-checkbox-label,
.gpf-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    cursor: pointer;
    font-size: 14px;
}
.gpf-checkbox,
.gpf-radio {
    width: 17px;
    height: 17px;
    cursor: pointer;
    flex-shrink: 0;
}
.gpf-checkbox-list,
.gpf-radio-list { margin-top: 4px; }

.gpf-price-badge {
    background: #d1fae5;
    color: #065f46;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 20px;
    margin-left: 4px;
}

/* File upload */
.gpf-file-wrap { max-width: 480px; }

.gpf-file-later-toggle {
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.gpf-file-drop {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    position: relative;
}
.gpf-file-drop:hover,
.gpf-file-drop.drag-over {
    border-color: #2271b1;
    background: #f0f7ff;
}
.gpf-file-drop svg {
    width: 40px;
    height: 40px;
    color: #9ca3af;
    margin-bottom: 8px;
}
.gpf-file-drop p { margin: 0; color: #555; font-size: 14px; }
.gpf-file-drop strong { color: #2271b1; }

.gpf-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.gpf-file-list {
    margin-top: 10px;
    text-align: left;
}

.gpf-file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    border-radius: 5px;
    padding: 6px 10px;
    margin-bottom: 4px;
    font-size: 13px;
}
.gpf-file-item .gpf-file-remove {
    margin-left: auto;
    background: none;
    border: none;
    color: #b91c1c;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.gpf-file-info {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
}

.gpf-file-too-big {
    color: #e00;
    font-size: 13px;
    margin-top: 6px;
}

/* Paragraph */
.gpf-paragraph {
    padding: 12px 16px;
    background: #f9fafb;
    border-left: 3px solid #2271b1;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    color: #374151;
    margin-bottom: 8px;
}

/* Hidden by conditions */
.gpf-hidden { display: none !important; }
