/*
 * BCF-WEB-005B Global UI Foundation v1.0.0
 * Scope: staging product views bearing body.bcf-web005b-ui.
 * No page structure, trust semantics, or workflow behavior is changed here.
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/InterVariable.woff2") format("woff2-variations");
}

body.bcf-web005b-ui {
  --bcf-color-logo-red: #ee3a43;
  --bcf-color-brand: #c12635;
  --bcf-color-brand-hover: #a91f2c;
  --bcf-color-brand-active: #8f1a26;
  --bcf-color-brand-subtle: #fff1f2;
  --bcf-color-text: #171a1f;
  --bcf-color-text-secondary: #3f4752;
  --bcf-color-text-muted: #667085;
  --bcf-color-background: #ffffff;
  --bcf-color-surface: #ffffff;
  --bcf-color-surface-subtle: #f7f8fa;
  --bcf-color-border: #d8dde3;
  --bcf-color-border-strong: #667085;
  --bcf-color-success: #18794e;
  --bcf-color-warning: #8a5a00;
  --bcf-color-error: #b42318;
  --bcf-space-1: 0.25rem;
  --bcf-space-2: 0.5rem;
  --bcf-space-3: 0.75rem;
  --bcf-space-4: 1rem;
  --bcf-space-5: 1.5rem;
  --bcf-space-6: 2rem;
  --bcf-space-7: 3rem;
  --bcf-space-8: 4rem;
  --bcf-radius-sm: 0.25rem;
  --bcf-radius-md: 0.5rem;
  --bcf-radius-lg: 0.75rem;
  --bcf-border-width: 1px;
  --bcf-border-default: 1px solid var(--bcf-color-border);
  --bcf-shadow-surface: 0 1px 2px rgba(16, 24, 40, 0.06);
  --bcf-shadow-overlay: 0 8px 24px rgba(16, 24, 40, 0.12);
  --bcf-container-max: 75rem;
  --bcf-container-gutter: clamp(1rem, 3vw, 2rem);
  --bcf-control-height: 2.75rem;
  --bcf-control-height-lg: 3rem;
  --bcf-transition: 150ms ease-out;
  --bcf-font-family-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bcf-font-size-body: 1rem;
  --bcf-font-size-small: 0.875rem;
  --bcf-font-size-meta: 0.8125rem;
  --bcf-font-size-h1: clamp(2rem, 3vw, 2.75rem);
  --bcf-font-size-h2: clamp(1.75rem, 2.3vw, 2.25rem);
  --bcf-font-size-h3: 1.5rem;
  --bcf-font-size-h4: 1.25rem;
  --bcf-font-size-control: 0.9375rem;
  --bcf-line-body: 1.6;
  --bcf-line-small: 1.5;
  --bcf-line-meta: 1.45;
  --bcf-line-h1: 1.15;
  --bcf-line-h2: 1.2;
  --bcf-line-h3: 1.3;
  --bcf-line-h4: 1.4;
  --bcf-line-control: 1.2;
  --bcf-weight-regular: 400;
  --bcf-weight-medium: 500;
  --bcf-weight-semibold: 600;
  --bcf-weight-bold: 700;
  margin: 0;
  background: var(--bcf-color-background);
  color: var(--bcf-color-text);
  font-family: var(--bcf-font-family-sans);
  font-size: var(--bcf-font-size-body);
  font-weight: var(--bcf-weight-regular);
  line-height: var(--bcf-line-body);
  text-rendering: optimizeLegibility;
}

body.bcf-web005b-ui .bsui,
body.bcf-web005b-ui.bsui {
  --bs-font-sans-serif: var(--bcf-font-family-sans);
  --bs-body-font-family: var(--bcf-font-family-sans);
  --bs-body-font-size: var(--bcf-font-size-body);
  --bs-body-line-height: var(--bcf-line-body);
  --bs-body-color: var(--bcf-color-text);
  --bs-body-bg: var(--bcf-color-background);
  --bs-primary: #c12635;
  --bs-primary-rgb: 193, 38, 53;
  --bs-secondary: #3f4752;
  --bs-secondary-rgb: 63, 71, 82;
  --bs-success: #18794e;
  --bs-success-rgb: 24, 121, 78;
  --bs-warning: #8a5a00;
  --bs-warning-rgb: 138, 90, 0;
  --bs-danger: #b42318;
  --bs-danger-rgb: 180, 35, 24;
  --bs-border-color: var(--bcf-color-border);
  --bs-border-radius: var(--bcf-radius-md);
  --bs-border-radius-sm: var(--bcf-radius-sm);
  --bs-border-radius-lg: var(--bcf-radius-lg);
  --bs-link-color: var(--bcf-color-brand);
  --bs-link-hover-color: var(--bcf-color-brand-hover);
  color: var(--bcf-color-text);
  font-family: var(--bcf-font-family-sans);
}

body.bcf-web005b-ui .wp-site-blocks > .alignfull > .container,
body.bcf-web005b-ui .wp-site-blocks > .container,
body.bcf-web005b-ui main > .container {
  width: min(100% - (2 * var(--bcf-container-gutter)), var(--bcf-container-max));
}

body.bcf-web005b-ui h1,
body.bcf-web005b-ui h2,
body.bcf-web005b-ui h3,
body.bcf-web005b-ui h4 {
  color: var(--bcf-color-text);
  font-family: var(--bcf-font-family-sans);
  letter-spacing: normal;
  text-wrap: balance;
}

body.bcf-web005b-ui h1 {
  font-size: var(--bcf-font-size-h1);
  font-weight: var(--bcf-weight-bold);
  line-height: var(--bcf-line-h1);
}

body.bcf-web005b-ui h2 {
  font-size: var(--bcf-font-size-h2);
  font-weight: var(--bcf-weight-bold);
  line-height: var(--bcf-line-h2);
}

body.bcf-web005b-ui h3 {
  font-size: var(--bcf-font-size-h3);
  font-weight: var(--bcf-weight-semibold);
  line-height: var(--bcf-line-h3);
}

body.bcf-web005b-ui h4 {
  font-size: var(--bcf-font-size-h4);
  font-weight: var(--bcf-weight-semibold);
  line-height: var(--bcf-line-h4);
}

body.bcf-web005b-ui small,
body.bcf-web005b-ui .small,
body.bcf-web005b-ui .fs-sm {
  font-size: var(--bcf-font-size-small);
  line-height: var(--bcf-line-small);
}

body.bcf-web005b-ui .fs-xs,
body.bcf-web005b-ui .geodir_post_meta,
body.bcf-web005b-ui .uwp-meta {
  font-size: var(--bcf-font-size-meta);
  font-weight: var(--bcf-weight-medium);
  line-height: var(--bcf-line-meta);
}

body.bcf-web005b-ui .text-muted,
body.bcf-web005b-ui .form-text,
body.bcf-web005b-ui .nf-field-description {
  color: var(--bcf-color-text-muted);
}

body.bcf-web005b-ui main a:not(.btn):not(.wp-element-button),
body.bcf-web005b-ui .entry-content a:not(.btn):not(.wp-element-button),
body.bcf-web005b-ui .wp-block-post-content a:not(.btn):not(.wp-element-button) {
  color: var(--bcf-color-brand);
  text-decoration-line: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

body.bcf-web005b-ui main a:not(.btn):not(.wp-element-button):hover,
body.bcf-web005b-ui .entry-content a:not(.btn):not(.wp-element-button):hover,
body.bcf-web005b-ui .wp-block-post-content a:not(.btn):not(.wp-element-button):hover {
  color: var(--bcf-color-brand-hover);
  text-decoration-thickness: 0.14em;
}

body.bcf-web005b-ui :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
body.bcf-web005b-ui.bsui :where(.btn, .form-control, .form-select, .page-link, .dropdown-item):focus-visible,
body.bcf-web005b-ui .bsui :where(.btn, .form-control, .form-select, .page-link, .dropdown-item):focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--bcf-color-text);
}

body.bcf-web005b-ui :where(a, button, input, select, textarea, summary, [tabindex]):focus:not(:focus-visible) {
  outline: none;
}

body.bcf-web005b-ui .wp-element-button,
body.bcf-web005b-ui .wp-block-button__link,
body.bcf-web005b-ui.bsui .btn,
body.bcf-web005b-ui .bsui .btn,
body.bcf-web005b-ui .uwp-button,
body.bcf-web005b-ui .nf-form-content input[type="button"],
body.bcf-web005b-ui .nf-form-content input[type="submit"],
body.bcf-web005b-ui .nf-form-content button {
  min-height: var(--bcf-control-height);
  border-radius: var(--bcf-radius-md);
  padding: 0.75rem 1rem;
  font-family: var(--bcf-font-family-sans);
  font-size: var(--bcf-font-size-control);
  font-weight: var(--bcf-weight-semibold);
  line-height: var(--bcf-line-control);
  letter-spacing: normal;
  text-decoration: none;
  transition: color var(--bcf-transition), background-color var(--bcf-transition), border-color var(--bcf-transition);
}

body.bcf-web005b-ui .wp-element-button,
body.bcf-web005b-ui .wp-block-button__link,
body.bcf-web005b-ui.bsui .btn-primary,
body.bcf-web005b-ui .bsui .btn-primary,
body.bcf-web005b-ui .uwp-button,
body.bcf-web005b-ui .nf-form-content input[type="submit"] {
  border: 1px solid var(--bcf-color-brand);
  background: var(--bcf-color-brand);
  color: #ffffff;
  box-shadow: none;
}

body.bcf-web005b-ui .wp-element-button:hover,
body.bcf-web005b-ui .wp-block-button__link:hover,
body.bcf-web005b-ui.bsui .btn-primary:hover,
body.bcf-web005b-ui .bsui .btn-primary:hover,
body.bcf-web005b-ui .uwp-button:hover,
body.bcf-web005b-ui .nf-form-content input[type="submit"]:hover {
  border-color: var(--bcf-color-brand-hover);
  background: var(--bcf-color-brand-hover);
  color: #ffffff;
}

body.bcf-web005b-ui.bsui .btn-primary:active,
body.bcf-web005b-ui .bsui .btn-primary:active,
body.bcf-web005b-ui .wp-element-button:active,
body.bcf-web005b-ui .wp-block-button__link:active {
  border-color: var(--bcf-color-brand-active);
  background: var(--bcf-color-brand-active);
  color: #ffffff;
}

body.bcf-web005b-ui.bsui .btn-secondary,
body.bcf-web005b-ui .bsui .btn-secondary,
body.bcf-web005b-ui .is-style-outline > .wp-block-button__link {
  border: 1px solid var(--bcf-color-border-strong);
  background: var(--bcf-color-surface);
  color: var(--bcf-color-text);
  box-shadow: none;
}

body.bcf-web005b-ui.bsui .btn-secondary:hover,
body.bcf-web005b-ui .bsui .btn-secondary:hover,
body.bcf-web005b-ui .is-style-outline > .wp-block-button__link:hover {
  border-color: var(--bcf-color-text-secondary);
  background: var(--bcf-color-surface-subtle);
  color: var(--bcf-color-text);
}

body.bcf-web005b-ui.bsui .btn-link,
body.bcf-web005b-ui .bsui .btn-link {
  border-color: transparent;
  background: transparent;
  color: var(--bcf-color-brand);
  box-shadow: none;
}

body.bcf-web005b-ui.bsui .btn-link:hover,
body.bcf-web005b-ui .bsui .btn-link:hover {
  background: var(--bcf-color-brand-subtle);
  color: var(--bcf-color-brand-hover);
}

body.bcf-web005b-ui.bsui .btn-danger,
body.bcf-web005b-ui .bsui .btn-danger {
  border-color: var(--bcf-color-error);
  background: var(--bcf-color-error);
  color: #ffffff;
}

body.bcf-web005b-ui :where(button, input[type="button"], input[type="submit"], .btn, .wp-element-button):disabled,
body.bcf-web005b-ui :where(.btn, .wp-element-button).disabled {
  border-color: var(--bcf-color-border);
  background: #f2f4f7;
  color: #5d6673;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

body.bcf-web005b-ui .geodir-search-form-wrapper .geodir-search.row {
  margin-right: 0;
  margin-left: 0;
}

body.bcf-web005b-ui :where(.form-control, .form-select),
body.bcf-web005b-ui .geodir_form_row input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
body.bcf-web005b-ui .geodir_form_row select,
body.bcf-web005b-ui .geodir_form_row textarea,
body.bcf-web005b-ui .uwp_form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
body.bcf-web005b-ui .uwp_form select,
body.bcf-web005b-ui .uwp_form textarea,
body.bcf-web005b-ui .nf-form-content input.ninja-forms-field:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
body.bcf-web005b-ui .nf-form-content select.ninja-forms-field,
body.bcf-web005b-ui .nf-form-content textarea.ninja-forms-field {
  min-height: var(--bcf-control-height);
  border: 1px solid var(--bcf-color-border-strong);
  border-radius: var(--bcf-radius-md);
  background-color: var(--bcf-color-surface);
  color: var(--bcf-color-text);
  font-family: var(--bcf-font-family-sans);
  font-size: var(--bcf-font-size-body);
  font-weight: var(--bcf-weight-regular);
  line-height: 1.5;
  padding: 0.625rem 0.75rem;
}

body.bcf-web005b-ui :where(.form-control, .form-select)::placeholder,
body.bcf-web005b-ui .geodir_form_row input::placeholder,
body.bcf-web005b-ui .geodir_form_row textarea::placeholder,
body.bcf-web005b-ui .uwp_form input::placeholder,
body.bcf-web005b-ui .nf-form-content .ninja-forms-field::placeholder {
  color: var(--bcf-color-text-muted);
  opacity: 1;
}

body.bcf-web005b-ui :where(.form-control, .form-select):focus,
body.bcf-web005b-ui .geodir_form_row :where(input, select, textarea):focus,
body.bcf-web005b-ui .uwp_form :where(input, select, textarea):focus,
body.bcf-web005b-ui .nf-form-content .ninja-forms-field:focus {
  border-color: var(--bcf-color-brand);
}

body.bcf-web005b-ui :where(.form-control, .form-select):disabled,
body.bcf-web005b-ui :where(.form-control, .form-select)[readonly],
body.bcf-web005b-ui .geodir_form_row :where(input, select, textarea):disabled,
body.bcf-web005b-ui .uwp_form :where(input, select, textarea):disabled,
body.bcf-web005b-ui .nf-form-content .ninja-forms-field:disabled {
  border-color: var(--bcf-color-border);
  background: #f2f4f7;
  color: #5d6673;
  opacity: 1;
}

body.bcf-web005b-ui :where(label, .form-label, .nf-field-label label) {
  color: var(--bcf-color-text);
  font-family: var(--bcf-font-family-sans);
  font-size: var(--bcf-font-size-small);
  font-weight: var(--bcf-weight-semibold);
  line-height: var(--bcf-line-small);
}

body.bcf-web005b-ui .uwp_form label,
body.bcf-web005b-ui .geodir_form_row label {
  display: inline-block;
  margin-bottom: var(--bcf-space-2);
}

body.bcf-web005b-ui textarea,
body.bcf-web005b-ui .nf-form-content textarea.ninja-forms-field {
  min-height: 7.5rem;
  resize: vertical;
}

body.bcf-web005b-ui :where(.form-check, .list-checkbox-wrap li, .list-radio-wrap li) {
  min-height: var(--bcf-control-height);
}

body.bcf-web005b-ui :where(input[type="checkbox"], input[type="radio"], .form-check-input) {
  width: 1.25rem;
  min-width: 1.25rem;
  height: 1.25rem;
  min-height: 1.25rem;
  accent-color: var(--bcf-color-brand);
}

body.bcf-web005b-ui :where(.invalid-feedback, .nf-error-msg, .ninja-forms-req-symbol, .uwp-error, .geodir_message_error) {
  color: var(--bcf-color-error);
  font-size: var(--bcf-font-size-small);
  line-height: var(--bcf-line-small);
}

body.bcf-web005b-ui :where(.is-invalid, .nf-error .ninja-forms-field, [aria-invalid="true"]) {
  border-color: var(--bcf-color-error);
}

body.bcf-web005b-ui :where(.valid-feedback, .uwp-success, .geodir_message_success) {
  color: var(--bcf-color-success);
  font-size: var(--bcf-font-size-small);
}

body.bcf-web005b-ui :where(.card, .wp-block-group.is-style-card, .uwp-card) {
  border: var(--bcf-border-default);
  border-radius: var(--bcf-radius-lg);
  background: var(--bcf-color-surface);
  box-shadow: var(--bcf-shadow-surface);
}

body.bcf-web005b-ui :where(.card-body, .wp-block-group.is-style-card, .uwp-card) {
  padding: var(--bcf-space-5);
}

body.bcf-web005b-ui :where(a.card, .card a.stretched-link):focus-visible {
  border-radius: var(--bcf-radius-lg);
}

body.bcf-web005b-ui :where(.badge, .gd-badge) {
  border-radius: var(--bcf-radius-sm);
  font-family: var(--bcf-font-family-sans);
  font-size: var(--bcf-font-size-meta);
  font-weight: var(--bcf-weight-semibold);
  line-height: var(--bcf-line-meta);
  padding: 0.25rem 0.5rem;
}

body.bcf-web005b-ui .bcf-owner-managed .badge {
  --bs-success-rgb: 237, 248, 242;
  border: 1px solid #b8dfcb;
  background: #edf8f2;
  color: var(--bcf-color-success);
}

body.bcf-web005b-ui :where(.alert, .geodir-notification, .nf-response-msg) {
  border: 1px solid currentColor;
  border-radius: var(--bcf-radius-md);
  padding: var(--bcf-space-4);
  box-shadow: none;
}

body.bcf-web005b-ui :where(.alert-info, .alert-primary) {
  border-color: #9db6d0;
  background: #f1f6fb;
  color: #244b73;
}

body.bcf-web005b-ui .alert-success {
  border-color: #98c9ae;
  background: #edf8f2;
  color: var(--bcf-color-success);
}

body.bcf-web005b-ui .alert-warning {
  border-color: #d9bd7a;
  background: #fff8e6;
  color: var(--bcf-color-warning);
}

body.bcf-web005b-ui :where(.alert-danger, .alert-error, .nf-error-msg) {
  border-color: #e3aaa5;
  background: #fff1f0;
  color: var(--bcf-color-error);
}

body.bcf-web005b-ui :where(.breadcrumb, .geodir-breadcrumb) {
  color: var(--bcf-color-text-secondary);
  font-size: var(--bcf-font-size-small);
  line-height: var(--bcf-line-small);
}

body.bcf-web005b-ui :where(.pagination, .page-numbers) {
  gap: var(--bcf-space-1);
}

body.bcf-web005b-ui :where(.page-link, a.page-numbers, span.page-numbers) {
  min-width: var(--bcf-control-height);
  min-height: var(--bcf-control-height);
  border: var(--bcf-border-default);
  border-radius: var(--bcf-radius-md);
  color: var(--bcf-color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.bcf-web005b-ui :where(.page-item.active .page-link, .page-numbers.current) {
  border-color: var(--bcf-color-brand);
  background: var(--bcf-color-brand);
  color: #ffffff;
}

body.bcf-web005b-ui :where(.dropdown-menu, .select2-dropdown) {
  border: var(--bcf-border-default);
  border-radius: var(--bcf-radius-lg);
  background: var(--bcf-color-surface);
  box-shadow: var(--bcf-shadow-overlay);
  color: var(--bcf-color-text);
  font-family: var(--bcf-font-family-sans);
  font-size: var(--bcf-font-size-small);
}

body.bcf-web005b-ui :where(.dropdown-item, .select2-results__option) {
  min-height: var(--bcf-control-height);
  padding: 0.625rem 0.75rem;
}

body.bcf-web005b-ui :where(.dropdown-item, .select2-results__option):hover {
  background: var(--bcf-color-surface-subtle);
  color: var(--bcf-color-text);
}

@media (max-width: 47.999rem) {
  body.bcf-web005b-ui.archive.post-type-archive-gd_place #main > .row > .col > .row {
    margin-right: calc(-1 * var(--bcf-space-2));
    margin-left: calc(-1 * var(--bcf-space-2));
  }

  body.bcf-web005b-ui.archive.post-type-archive-gd_place .geodir-loop-container > .geodir-category-list-view {
    margin-right: calc(-1 * var(--bcf-space-2));
    margin-left: calc(-1 * var(--bcf-space-2));
  }

  body.bcf-web005b-ui :where(.card-body, .wp-block-group.is-style-card, .uwp-card) {
    padding: var(--bcf-space-4);
  }

  body.bcf-web005b-ui .nf-form-cont :where(.one-half, .one-third, .two-thirds, .one-fourth, .three-fourths) {
    float: none;
    width: 100%;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.bcf-web005b-ui *,
  body.bcf-web005b-ui *::before,
  body.bcf-web005b-ui *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}
