/*
Theme Name: CustomWireRopeSlings Industrial Theme
Theme URI: https://customwireropeslings.com/
Author: Nantong Qisheng
Description: A professional industrial WordPress block theme for wire rope, rigging, and custom lifting solutions.
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 7.4
Version: 0.1.0
Text Domain: customwireropeslings
*/

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--wp--preset--color--accent);
  outline-offset: 3px;
}

.wp-site-blocks {
  min-height: 100vh;
}

.site-header {
  border-bottom: 1px solid var(--wp--preset--color--border);
}

.site-header .wp-block-site-title a,
.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

:where(.wpcf7-form, .fluentform) label {
  color: var(--wp--preset--color--secondary);
  display: block;
  font-weight: 700;
  margin-bottom: var(--wp--preset--spacing--small);
}

:where(.wpcf7-form, .fluentform) :where(input, select, textarea) {
  background: var(--wp--preset--color--background);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--cwr-radius);
  box-sizing: border-box;
  color: var(--wp--preset--color--text);
  font: inherit;
  max-width: 100%;
  padding: var(--wp--preset--spacing--small) var(--wp--preset--spacing--medium);
  width: 100%;
}

:where(.wpcf7-form, .fluentform) :where(input[type="checkbox"], input[type="radio"]) {
  width: auto;
}

:where(.wpcf7-form, .fluentform) textarea {
  min-height: 10rem;
  resize: vertical;
}

:where(.wpcf7-form, .fluentform) :where(button, input[type="submit"]) {
  background: var(--wp--preset--color--primary);
  border: 0;
  color: var(--wp--preset--color--background);
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  width: auto;
}

:where(.wpcf7-form, .fluentform) :where(button, input[type="submit"]):hover {
  background: var(--wp--preset--color--primary-dark);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
