/* ── DCF Custom Filters – Frontend Styles ─────────────────────────── */

.dcf-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin: 16px 0;
}

.dcf-filter-item {
    display: flex;
    flex-direction: column;
    flex: 1 1 180px;
    min-width: 160px;
}

.dcf-filter-item label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 4px;
}

.dcf-select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    background: #fff;
    font-size: 0.95rem;
    color: #333;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}

.dcf-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

.dcf-select:disabled {
    background-color: #f5f5f5;
    color: #aaa;
    cursor: not-allowed;
}

/* Standalone shortcode form */
.dcf-standalone-form {
    background: #f9fafb;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    padding: 20px 24px;
    margin: 20px 0;
}

.dcf-submit { justify-content: flex-end; }

.dcf-btn {
    padding: 10px 24px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.dcf-btn:hover { background: #1d4ed8; }

@media (max-width: 640px) {
    .dcf-filter-group { flex-direction: column; }
    .dcf-filter-item  { min-width: 100%; }
}
