/*
Theme Name: Open Border Demo
Description: Repository-owned presentation theme for the PAY-335 WooCommerce sandbox fixture.
Version: 1.0.0
Requires at least: 7.0
Requires PHP: 8.3
Text Domain: openborder-demo
*/

:root {
  color-scheme: light;
  --ob-ink: #17212b;
  --ob-muted: #5f6b76;
  --ob-line: #dce3e8;
  --ob-brand: #0b6bcb;
  --ob-brand-dark: #084f97;
  --ob-surface: #ffffff;
  --ob-wash: #f3f7fa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ob-wash);
  color: var(--ob-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--ob-brand);
}

a:hover,
a:focus-visible {
  color: var(--ob-brand-dark);
}

.ob-shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.ob-site-header {
  border-bottom: 1px solid var(--ob-line);
  background: rgba(255, 255, 255, 0.96);
}

.ob-site-header .ob-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.ob-brand {
  color: var(--ob-ink);
  font-size: 1.05rem;
  font-weight: 750;
  text-decoration: none;
}

.ob-mode {
  border: 1px solid #9bc6ef;
  border-radius: 999px;
  background: #eaf4fd;
  color: #084f97;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ob-main {
  min-height: calc(100vh - 145px);
  padding-block: 2.25rem 3.5rem;
}

.ob-card,
.woocommerce form.checkout,
.woocommerce form.login,
.woocommerce form.register,
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-cart {
  border: 1px solid var(--ob-line);
  border-radius: 16px;
  background: var(--ob-surface);
  box-shadow: 0 12px 35px rgba(28, 47, 65, 0.07);
  padding: clamp(1rem, 3vw, 2rem);
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.wp-element-button,
button.wc-block-components-button {
  border-radius: 8px;
  background: var(--ob-brand);
  color: #fff;
  font-weight: 700;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.wp-element-button:hover,
button.wc-block-components-button:hover {
  background: var(--ob-brand-dark);
  color: #fff;
}

input,
select,
textarea {
  max-width: 100%;
}

.ob-site-footer {
  border-top: 1px solid var(--ob-line);
  background: var(--ob-surface);
  color: var(--ob-muted);
  padding-block: 1.25rem;
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .ob-site-header .ob-shell {
    min-height: 64px;
  }

  .ob-main {
    padding-top: 1.25rem;
  }
}
