/*
Theme Name: The Bea's Knees
Theme URI: https://thebeasknees.net
Author: Bea + Fred
Description: A warm theme for The Bea's Knees — an online and offline shop in Fort Worth, TX. Here, you'll find handmade goods and gifts.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: the-beas-knees
*/

:root {
  --bea-cream: #f8edd9;
  --bea-cream-light: #fffaf1;
  --bea-charcoal: #514a58;
  --bea-honey: #f6b900;
  --bea-honey-dark: #d79c00;
  --bea-white: #ffffff;
  --bea-border: rgba(81, 74, 88, .18);
  --bea-shadow: 0 16px 40px rgba(81, 74, 88, .10);
  --bea-radius: 22px;
  --bea-body: 'ABeeZee', Arial, sans-serif;
  --bea-script: 'Howell', 'Brush Script MT', 'Segoe Script', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--bea-charcoal);
  background: var(--bea-cream-light);
  font-family: var(--bea-body);
  line-height: 1.65;
}
a { color: var(--bea-charcoal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus { color: var(--bea-honey-dark); }
img { max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 241, .95);
  border-bottom: 1px solid var(--bea-border);
  backdrop-filter: blur(10px);
}
.site-header--banner {
  position: relative;
  top: auto;
  width: 100%;
  background: #fbf0dd;
  border-bottom: 0;
  backdrop-filter: none;
  overflow: hidden;
}
.brand-banner { display: block; width: 100%; line-height: 0; }
.brand-banner img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
.admin-bar .site-header { top: 32px; }
.header-inner, .site-main, .footer-inner {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: 245px; display: block; }
.site-title { font-family: var(--bea-script); font-size: 2rem; text-decoration: none; }
.main-nav ul { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; align-items: center; }
.main-nav a { text-decoration: none; font-size: .95rem; }
.menu-toggle { display: none; border: 0; background: var(--bea-honey); color: var(--bea-charcoal); padding: 10px 14px; border-radius: 999px; font: inherit; }

.hero {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 56px 0 42px;
  background: var(--bea-cream-light);
  overflow: hidden;
}
.hero-card {
  width: min(1080px, calc(100% - 40px));
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(18px, 3.5vw, 42px);
  position: relative;
}
.hero--coming-soon h1 {
  font-family: var(--bea-body);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin: 6px 0 14px;
}
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--bea-honey);
  margin: 4px auto 18px;
}
.hero-divider::before, .hero-divider::after {
  content: '';
  width: 132px;
  height: 1px;
  background: var(--bea-honey);
}
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; }
h1, h2, h3 { line-height: 1.18; color: var(--bea-charcoal); }
h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); margin: 0 0 18px; }
.script { font-family: var(--bea-script); font-weight: 400; }
.hero p { max-width: 660px; margin: 0 auto 28px; font-size: 1.08rem; }
.button, button, input[type='submit'], .wp-block-button__link {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  background: var(--bea-honey);
  color: var(--bea-charcoal);
  padding: 13px 24px;
  font-family: var(--bea-body);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(246,185,0,.18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover, button:hover, input[type='submit']:hover, .wp-block-button__link:hover {
  color: var(--bea-charcoal);
  background: #ffc928;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(246,185,0,.25);
}
.button.secondary { background: transparent; border: 1px solid var(--bea-charcoal); box-shadow: none; }
.button-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.flight-path { width: 150px; height: 48px; margin: 26px auto 0; opacity: .9; }
.flight-path--wide { width: min(720px, 90%); height: auto; margin-top: 34px; }
.flight-path path { fill: none; stroke: var(--bea-charcoal); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1 11; }

.section { padding: 78px 0; }
.section.alt { background: var(--bea-cream); }
.section-heading { text-align: center; max-width: 700px; margin: 0 auto 38px; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 10px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--bea-white);
  border: 1px solid var(--bea-border);
  border-radius: var(--bea-radius);
  padding: 30px;
  box-shadow: 0 8px 30px rgba(81,74,88,.06);
}
.card h3 { margin-top: 0; font-size: 1.25rem; }
.bee-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--bea-honey); display: inline-block; margin-right: 7px; box-shadow: 20px 0 0 rgba(81,74,88,.25); }

.content-wrap { padding: 60px 0 80px; }
.entry { background: #fff; border-radius: var(--bea-radius); border: 1px solid var(--bea-border); padding: clamp(24px, 5vw, 52px); }
.entry-title { margin-top: 0; }

.site-footer { background: var(--bea-charcoal); color: var(--bea-cream); padding: 42px 0; }
.footer-inner { text-align: center; }
.site-footer a { color: var(--bea-cream); }
.social-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 12px; }

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  background: #fff;
  border: 1px solid var(--bea-border);
  border-radius: var(--bea-radius);
  padding: 18px;
  box-shadow: 0 8px 28px rgba(81,74,88,.06);
}
.woocommerce span.onsale { background: var(--bea-honey); color: var(--bea-charcoal); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: var(--bea-honey); color: var(--bea-charcoal); border-radius: 999px; }

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--bea-border);
  border-radius: 12px;
  background: #fff;
  color: var(--bea-charcoal);
  font: inherit;
}

@media (max-width: 800px) {
  .admin-bar .site-header:not(.site-header--banner) { top: 46px; }
  .brand-banner img { min-height: 190px; object-fit: cover; object-position: center; }
  .menu-toggle { display: inline-block; }
  .main-nav { display: none; position: absolute; top: 88px; left: 0; right: 0; background: var(--bea-cream-light); border-bottom: 1px solid var(--bea-border); padding: 18px 20px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; }
  .grid { grid-template-columns: 1fr; }
  .brand img { width: 205px; }
}
