/*
Theme Name: Batherra Waffle
Theme URI: https://batherra.com
Author: Batherra
Author URI: https://batherra.com
Description: A focused B2B WordPress theme for Batherra, a 1000gsm waffle bath mat manufacturer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: batherra-waffle
*/

:root {
  --bg: #fbfaf7;
  --paper: #ffffff;
  --ink: #1f2428;
  --muted: #65707a;
  --line: #e7e1d8;
  --brand: #87623f;
  --brand-dark: #5f432b;
  --soft: #f3ede5;
  --accent: #c8945a;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 247, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .02em;
}
.brand span { color: var(--brand); }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-nav a { color: #333; font-size: 14px; font-weight: 600; }
.main-nav .quote-link > a,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  border-radius: 3px;
}
.btn.secondary {
  background: transparent;
  color: var(--brand-dark);
}
.hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(251,250,247,.96) 0%, rgba(251,250,247,.82) 46%, rgba(251,250,247,.28) 100%),
    url("assets/img/waffle-weave-lg.jpg") center right / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  color: var(--brand);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
}
h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.08;
  margin: 0;
}
h1 { max-width: 760px; margin-top: 18px; font-size: clamp(44px, 7vw, 86px); }
h2 { font-size: clamp(34px, 4vw, 54px); }
h3 { font-size: 25px; }
.lead { max-width: 720px; color: var(--muted); font-size: 18px; margin: 22px 0 0; }
.hero-actions, .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.trust-item {
  background: var(--brand-dark);
  color: #fff;
  padding: 28px;
}
.trust-item strong { display: block; font-size: 22px; }
.trust-item span { color: rgba(255,255,255,.74); font-size: 14px; }
.section { padding: 92px 0; }
.section.alt { background: var(--paper); }
.section-head { max-width: 820px; margin-bottom: 42px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 6px;
}
.product-card { padding: 0; overflow: hidden; }
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); }
.product-card .body { padding: 24px; }
.tag {
  display: inline-flex;
  color: var(--brand);
  background: var(--soft);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.muted { color: var(--muted); }
.feature-list, .check-list { margin: 18px 0 0; padding: 0; list-style: none; }
.feature-list li, .check-list li { padding: 7px 0 7px 24px; position: relative; }
.feature-list li:before, .check-list li:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 17px;
}
.page-hero {
  padding: 88px 0;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.page-content { padding: 72px 0; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th { width: 240px; background: var(--soft); }
.form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 6px;
}
.batherra-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 3px;
  padding: 13px 14px;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
.notice { padding: 14px 16px; border-radius: 4px; margin-bottom: 18px; }
.notice.success { background: #eaf7ef; color: #176235; }
.notice.error { background: #fff1f1; color: #8a2020; }
.site-footer {
  background: #211a15;
  color: #fff;
  padding: 64px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 42px; }
.site-footer h4 { margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.74); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 42px; padding-top: 22px; color: rgba(255,255,255,.58); font-size: 14px; }

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; padding: 18px 0; flex-direction: column; }
  .main-nav ul { flex-wrap: wrap; gap: 14px; }
  .hero { min-height: 560px; background-position: center; }
  .trust-row, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2, .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .section { padding: 64px 0; }
  .trust-row, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
}
