/*
Theme Name: neworder
Theme URI: https://www.capstylus.com/
Author: Local Build
Author URI: https://www.capstylus.com/
Description: Mirror-powered WordPress restore theme for CapStylus local testing.
Version: 1.2.4
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: capstylus-clone
*/

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, "Helvetica Neue", sans-serif;
  background: #f6f7f9;
  color: #1f2328;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.container {
  width: min(960px, 92vw);
  margin: 0 auto;
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
}

.site-branding {
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.site-branding img {
  display: block;
  max-height: 46px;
  width: auto;
}

.section {
  padding: 48px 0;
}

.footer {
  border-top: 1px solid #e5e7eb;
  background: #fff;
  padding: 24px 0;
  color: #6b7280;
  font-size: 0.92rem;
}

/*
 * Order form: mirrored CF7 injects ajax-loader.gif from the original host (broken here).
 * Hide it; order-submit-mirror.js shows .neworder-submit-spinner during fetch.
 */
/* CF7 gif often 404 on mirrors; hide anywhere the order modal form lives */
#formWrap img.ajax-loader,
.formWrap img.ajax-loader {
  display: none !important;
}

.neworder-submit-spinner {
  display: none;
  vertical-align: middle;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.65rem;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-top-color: rgba(0, 0, 0, 0.72);
  border-radius: 50%;
  animation: neworder-submit-spin 0.65s linear infinite;
}

.neworder-submit-spinner.is-active {
  display: inline-block;
}

@keyframes neworder-submit-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .neworder-submit-spinner.is-active {
    animation: none;
    border-color: rgba(0, 0, 0, 0.35);
    border-top-color: rgba(0, 0, 0, 0.72);
  }
}
