.gcbf-finder {
    --gcbf-primary: #00963f;
    width: 100%;
    max-width: 640px;
    margin: 24px auto;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
    overflow: hidden;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
}

.gcbf-finder * { box-sizing: border-box; }

.gcbf-header {
    background: var(--gcbf-primary);
    padding: 18px 22px;
}

.gcbf-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 4vw, 34px);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -.02em;
}

.gcbf-body { padding: 20px 22px 24px; }
.gcbf-intro { margin: 0 0 14px; color: var(--gcbf-primary); font-size: 16px; }
.gcbf-search-form { display: grid; gap: 14px; }
.gcbf-search-form label { display: grid; gap: 6px; margin: 0; }
.gcbf-search-form label > span { font-weight: 700; font-size: 14px; }

.gcbf-search-form select {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 48px 0 18px;
    border: 1px solid #b9bfc1;
    border-radius: 4px;
    background-color: #fff;
    color: #087d39;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: none;
}

.gcbf-search-form select:focus {
    border-color: var(--gcbf-primary);
    outline: 2px solid color-mix(in srgb, var(--gcbf-primary) 25%, transparent);
    outline-offset: 1px;
}

.gcbf-search-form select:disabled { opacity: .58; cursor: not-allowed; }
.gcbf-search-form select.is-loading { cursor: progress; }

.gcbf-submit,
.gcbf-result-link,
.gcbf-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 0;
    border-radius: 4px;
    padding: 12px 18px;
    background: var(--gcbf-primary);
    color: #fff !important;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
}

.gcbf-submit { width: 100%; margin-top: 4px; }
.gcbf-submit:hover, .gcbf-result-link:hover, .gcbf-phone:hover { filter: brightness(.92); }
.gcbf-submit:disabled { opacity: .48; cursor: not-allowed; }

.gcbf-status { margin-top: 12px; color: #9b1c1c; font-weight: 600; }
.gcbf-results { margin-top: 18px; }
.gcbf-admin-message, .gcbf-empty { padding: 15px; border: 1px solid #e1e1e1; background: #fafafa; border-radius: 4px; }

.gcbf-result-heading { margin-bottom: 12px; }
.gcbf-result-heading h3 { margin: 0 0 4px; font-size: 21px; }
.gcbf-result-heading p { margin: 0; color: #555; }
.gcbf-result-grid { display: grid; gap: 14px; }

.gcbf-result-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 14px;
    border: 1px solid #d4d9d6;
    border-radius: 5px;
    background: #fff;
}

.gcbf-result-image img { display: block; width: 100%; height: auto; object-fit: contain; }
.gcbf-result-content h4 { margin: 0 0 6px; font-size: 19px; line-height: 1.25; }
.gcbf-result-content p { margin: 5px 0; }
.gcbf-sku { color: #555; font-size: 14px; }
.gcbf-price { margin: 8px 0; font-weight: 800; }
.gcbf-result-link { min-height: 42px; margin-top: 8px; font-size: 14px; }
.gcbf-phone-wrap { margin-top: 16px; text-align: center; }
.gcbf-phone { width: 100%; }

.gcbf-loader {
    width: 34px;
    height: 34px;
    margin: 18px auto;
    border: 4px solid #ddd;
    border-top-color: var(--gcbf-primary);
    border-radius: 50%;
    animation: gcbf-spin .8s linear infinite;
}

@keyframes gcbf-spin { to { transform: rotate(360deg); } }

@media (max-width: 540px) {
    .gcbf-finder { margin: 12px auto; }
    .gcbf-header { padding: 15px 16px; }
    .gcbf-body { padding: 16px; }
    .gcbf-result-card { grid-template-columns: 86px 1fr; gap: 12px; }
}

@media (max-width: 380px) {
    .gcbf-result-card { grid-template-columns: 1fr; }
    .gcbf-result-image { max-width: 150px; }
}
