/* ================================================================
   Cache Valley Bee Supply, Main Stylesheet
   Clean rebuild from Weebly migration. Preserves original design.
   ================================================================ */

/* ─── Reset & Base ───────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { text-decoration: none; border: 0; }
a img { border: 0; }
img { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 10050;
  background: #111;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
}

/* ─── Typography & Colors ────────────────────────────────────────── */

:root {
  --color-brown: #aa5922;
  --color-brown-dark: #9d4f16;
  --color-orange: #d75f04;
  --color-orange-dark: #c45603;
  --color-gold: #f0a030;
  --color-cream: #f9f7f4;
  --color-bg: #f1f1f1;
  --color-white: #ffffff;
  --color-text: #666666;
  --color-text-dark: #333333;
  --color-text-light: #999999;
  --color-border: #e5e0d8;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-display: Georgia, 'Times New Roman', serif;
  --max-width: 1100px;
}

html { height: 100%; }

body {
  width: 100%;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-orange);
  transition: all 0.3s ease-in-out;
}
a:hover { color: var(--color-orange-dark); }

a:focus,
a:focus-visible,
button:focus-visible,
input:focus-visible,
label[for]:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

h2 {
  line-height: 1.2;
  color: var(--color-text-dark);
  font-size: 1.875em;
  font-weight: normal;
  margin: 0 auto 0.25em;
}

p, .paragraph {
  font-family: var(--font-serif);
  font-size: 1em;
  line-height: 1.5;
  padding: 0.5em 0;
  color: #0c0b0b;
}

blockquote {
  font-family: var(--font-body);
  font-size: 1.25em;
  font-style: italic;
  line-height: 1.5em;
  color: #999;
  padding: 0 1em 1em 1.7em;
  margin: 1em;
}

/* ─── Layout ─────────────────────────────────────────────────────── */

.container {
  margin: 0 auto;
  width: 100%;
  max-width: var(--max-width);
  padding: 0 2.5em;
}

#main-wrap {
  min-height: 100%;
  right: 0;
  background: var(--color-white);
  z-index: 2;
  transition: all 300ms cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

#main-wrap, #footer-wrap {
  width: 100%;
  overflow: hidden;
}

#banner-wrap {
  width: 100%;
}

#main-content {
  position: relative;
  background: var(--color-white);
  z-index: 2;
  padding: 2.5em;
}

/* ─── Breadcrumb Navigation ─────────────────────────────────────── */

.breadcrumb {
  margin-bottom: 1.25rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25em;
  font-size: 0.85em;
  color: var(--color-text-light);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "\203A";
  margin-right: 0.25em;
}

.breadcrumb-item a {
  color: var(--color-text-light);
}

.breadcrumb-item a:hover {
  color: var(--color-brown);
}

.breadcrumb-item span[aria-current] {
  color: var(--color-text);
}

/* ─── Banner / Header ────────────────────────────────────────────── */

#banner-wrap {
  background: url('/images/1104149591.jpg') no-repeat 0% 31.48% / 100%;
  background-color: transparent;
  background-attachment: scroll;
  background-size: cover;
}

@media (min-width: 769px) {
  #banner-wrap {
    background-attachment: fixed;
  }
}

#header-wrap {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 5;
}

#header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5em;
}

/* Nav */
#nav-wrap {
  overflow: visible;
}

#main-content:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.nav-menu li {
  display: inline-block;
}

.nav-menu li a {
  display: block;
  font-family: var(--font-body);
  color: #ffffff;
  padding: 20px 15px;
  font-size: 0.8em;
  font-weight: bold;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-menu li a:hover,
.nav-menu li.active a {
  color: var(--color-gold);
}

.nav-menu li.has-children {
  position: relative;
}

.nav-menu li.has-children > a .caret {
  font-size: 0.7em;
  margin-left: 2px;
  vertical-align: middle;
}

.nav-menu .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: rgba(0, 0, 0, 0.85);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  display: none;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.nav-menu li.has-children:hover > .submenu,
.nav-menu li.has-children:focus-within > .submenu {
  display: block;
}

.nav-menu .submenu li {
  display: block;
}

.nav-menu .submenu li a {
  padding: 10px 18px;
  font-size: 0.78em;
  white-space: nowrap;
}

/* Banner content */
#banner {
  display: table;
  vertical-align: middle;
  height: 15em;
}

#banner-inner {
  display: table-cell;
  vertical-align: middle;
  padding: 1em 0;
}

#banner-inner table {
  border-collapse: collapse;
  width: auto;
}

.site-title {
  font-family: var(--font-serif);
  font-size: 45px;
  font-weight: 700;
  color: var(--color-brown-dark);
  display: block;
  line-height: 1.2;
}

.site-title:hover {
  color: var(--color-brown);
}

.site-tagline {
  font-family: var(--font-body);
  font-size: 1.1em;
  color: #a85f2e;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-top: 4px;
}

/* Hamburger */
.mobile-trigger { display: none; }
#nav-trigger { display: none; }

.hamburger {
  cursor: pointer;
  width: 28px;
  height: 22px;
  display: block;
  position: relative;
}

.hamburger::before {
  content: "";
  display: block;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 22" fill="white"><rect width="28" height="3" rx="1"/><rect y="9" width="28" height="3" rx="1"/><rect y="18" width="28" height="3" rx="1"/></svg>') no-repeat center center;
  width: 28px;
  height: 22px;
  background-size: contain;
}

/* ─── Mobile Nav ─────────────────────────────────────────────────── */

#navmobile {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1;
  width: 260px;
  height: 100%;
  padding: 50px 0;
  background: var(--color-bg);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0s 0.5s ease-in-out;
}

#navmobile .nav-menu {
  display: block;
}

#navmobile .nav-menu li {
  display: block;
}

#navmobile .nav-menu li a {
  display: block;
  padding: 15px;
  text-align: center;
  line-height: 1.2;
  border-top: 1px solid #d9d9d9;
  color: var(--color-text);
  font-size: 1.1em;
  text-transform: none;
}

#navmobile .nav-menu > li:last-child > a,
#navmobile .nav-menu > li.mobile-group:last-child details {
  border-bottom: 1px solid #e1e1e1;
}

#navmobile .mobile-group details {
  border-top: 1px solid #d9d9d9;
}

#navmobile .mobile-group summary {
  display: block;
  padding: 15px 30px 15px 15px;
  text-align: center;
  line-height: 1.2;
  color: var(--color-text);
  font-size: 1.1em;
  cursor: pointer;
  list-style: none;
  position: relative;
}

#navmobile .mobile-group summary:focus-visible {
  background: #fff8f0;
}

#navmobile .mobile-group summary::-webkit-details-marker {
  display: none;
}

#navmobile .mobile-group summary::after {
  content: "\25BE";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  color: #888;
  transition: transform 0.2s;
}

#navmobile .mobile-group details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

#navmobile .mobile-subgroup {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.04);
}

#navmobile .mobile-subgroup li a {
  padding: 12px 15px 12px 35px;
  text-align: left;
  font-size: 1em;
  color: #555;
  border-top: 1px solid #e1e1e1;
}

#navmobile .mobile-subgroup li.active a {
  color: var(--color-gold);
  font-weight: 600;
}

body.menu-open #navmobile {
  opacity: 1;
  transition: opacity 0s 0s ease-in-out;
}

body.menu-open #main-wrap,
body.menu-open #main-wrap #header-wrap {
  left: 260px;
}

/* ─── Affiliate Disclosure ───────────────────────────────────────── */

.affiliate-note {
  font-family: var(--font-body);
  font-size: 0.85em;
  color: #6b7280;
  margin-top: 12px;
  line-height: 1.5;
}

.affiliate-note--product {
  margin-top: 10px;
  max-width: 32rem;
}

/* ─── Buttons ────────────────────────────────────────────────────── */

.btn {
  background: var(--color-orange);
  color: #fff;
  border-radius: 3px;
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1em;
  font-weight: 400;
  padding: 0.65em 1.75em;
  line-height: 1.25;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover { background: var(--color-orange-dark); color: #fff; }

.btn-large {
  font-size: 1.25em;
  padding: 0.65em 2em;
}

.btn-outline {
  background: transparent;
  color: var(--color-orange);
  border: 2px solid var(--color-orange);
}

.btn-outline:hover {
  background: var(--color-orange);
  color: #fff;
}

/* ─── Homepage Hero CTAs & Trust Strip ───────────────────────────── */

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  flex-wrap: wrap;
  text-align: center;
}

.trust-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  flex-wrap: wrap;
  margin-top: 1.25em;
  text-align: center;
  font-size: 0.9em;
  color: var(--color-text-dark);
}

.trust-item {
  white-space: nowrap;
  color: var(--color-brown);
  font-weight: 500;
}

/* ─── Content Elements ───────────────────────────────────────────── */

.text-center { text-align: center; }

.styled-hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 20px 0;
}

.spacer { height: 20px; }
.spacer-lg { height: 40px; }

/* Headline style */
.page-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 2.25em;
  text-align: center;
  color: var(--color-brown);
}

.home-hero-title {
  margin: 0;
}

.home-hero-subtitle {
  margin-top: 0.5rem;
  font-size: 1.5em;
}

.home-hero-copy {
  margin-top: 0.5rem;
  font-size: 1.1em;
}

/* ─── Homepage Banded Hero ───────────────────────────────────────── */

.home-hero-banner {
  position: relative;
  width: 100%;
  min-height: 360px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: #2c2419;
}

.home-hero-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

.home-hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}

.home-hero-banner-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5em 1.5em 2em;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}

.home-hero-banner .page-headline,
.home-hero-banner .home-hero-subtitle,
.home-hero-banner .home-hero-copy {
  color: #fff;
}

@media (min-width: 768px) {
  .home-hero-banner { min-height: 480px; }
  .home-hero-banner-inner { padding: 3em 2.5em 2.5em; }
}

/* Two-column layout */
.columns {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
}

.columns > * { flex: 1; min-width: 250px; }

/* ─── Hero Categories (Homepage) ─────────────────────────────────── */

.hero-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.hero-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-body);
  color: #555;
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.15s;
  cursor: pointer;
  text-align: center;
}

.hero-cat:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: var(--color-gold);
  color: var(--color-brown);
}

.hero-cat .hc-icon {
  font-size: 2em;
  margin-bottom: 6px;
  display: block;
}

.hero-cat .hc-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  display: block;
}

/* ─── Category SEO Body ──────────────────────────────────────────── */

.category-seo-body {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  max-width: 760px;
}

.category-seo-body h2 {
  margin-top: 1.5em;
}

.category-seo-body h3 {
  margin-top: 1.2em;
  font-size: 1.05em;
}

.category-seo-body p,
.category-seo-body ul {
  margin-bottom: 1em;
}

/* ─── Homepage Local Block ───────────────────────────────────────── */

.home-local-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.home-local-block h2 {
  margin-bottom: 0.5em;
}

.home-local-block p {
  max-width: 720px;
}

.home-local-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding: 0;
  margin: 0.5em 0 0;
}

.home-local-list li {
  font-weight: 600;
}

/* ─── Store Layout ───────────────────────────────────────────────── */

.store-layout {
  display: flex;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 60vh;
}

/* Sidebar */
.store-sidebar {
  width: 240px;
  min-width: 240px;
  background: var(--color-cream);
  border-right: 1px solid var(--color-border);
  padding: 16px 0;
  align-self: flex-start;
  position: sticky;
  top: 60px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

.store-sidebar__title {
  font-family: var(--font-body);
  font-size: 0.7em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #999;
  padding: 0 16px 8px;
  margin: 0;
}

.sb-list, .sb-list ul, .sb-list li { list-style: none; margin: 0; padding: 0; }

.sb-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  font-family: var(--font-body);
  font-size: 0.93em;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.sb-btn:hover { background: #f0ece6; color: var(--color-brown); }
.sb-btn.active { background: #fff8f0; color: var(--color-brown); border-left-color: var(--color-gold); }

.sb-arrow {
  font-size: 0.6em;
  color: #ccc;
  transition: transform 0.25s, color 0.2s;
  margin-left: 6px;
}

.sb-btn:hover .sb-arrow,
.sb-btn.active .sb-arrow { color: var(--color-brown); }
.sb-btn.active .sb-arrow { transform: rotate(180deg); }

.sb-subs {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease;
}

.sb-item:hover > .sb-subs,
.sb-item:focus-within > .sb-subs,
.sb-item.open > .sb-subs {
  max-height: 300px;
  opacity: 1;
}

.sb-sub {
  display: block;
  padding: 7px 16px 7px 32px;
  color: #777;
  text-decoration: none;
  font-size: 0.87em;
  font-family: var(--font-body);
  cursor: pointer;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  width: 100%;
  text-align: left;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.sb-sub:hover { background: #ede8e0; color: var(--color-brown); }
.sb-sub.active { color: var(--color-brown); font-weight: 600; border-left-color: var(--color-gold); background: #fff8f0; }

/* Main store area */
.store-main {
  flex: 1;
  padding: 20px 28px 40px;
  min-width: 0;
}

.store-title {
  font-family: var(--font-serif);
  font-size: 1.5em;
  color: var(--color-brown);
  margin: 0 0 4px;
}

.store-breadcrumb {
  font-size: 0.85em;
  color: #999;
  margin-bottom: 20px;
}

.category-intro {
  color: #555;
  font-size: 1.05em;
  line-height: 1.6;
  max-width: 680px;
  margin: 0.25rem 0 1.5rem;
}

.store-breadcrumb a { color: #999; }
.store-breadcrumb a:hover { color: var(--color-brown); }

.store-welcome {
  text-align: center;
  padding: 80px 20px;
  color: #999;
}

.store-welcome h2 {
  font-family: var(--font-serif);
  color: var(--color-brown);
  font-size: 1.5em;
  margin: 0 0 10px;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

.prod-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.prod-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  color: inherit;
}

.prod-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f5f5f5;
}

.prod-info {
  padding: 10px 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prod-name {
  font-family: var(--font-body);
  font-size: 0.9em;
  font-weight: 600;
  color: var(--color-brown);
  margin: 0 0 6px;
  line-height: 1.3;
}

.prod-price {
  font-size: 0.85em;
  color: var(--color-text-dark);
  margin-top: auto;
}

/* Rich product cards (category pages) */
.prod-card--rich {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.prod-card--rich .prod-card__image {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #f5f5f5;
}

.prod-card--rich .prod-card__image img {
  max-width: 160px;
  max-height: 160px;
  object-fit: contain;
}

.prod-card--rich .prod-card__fallback {
  font-size: 4rem;
}

.prod-card--rich .prod-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.prod-card--rich .prod-name {
  font-size: 1.05rem;
  margin: 0;
}

.prod-card--rich .prod-name a {
  color: inherit;
  text-decoration: none;
}

.prod-card--rich .prod-name a:hover {
  text-decoration: underline;
}

.prod-card--rich .prod-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0;
}

.prod-description {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

.prod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.prod-btn {
  display: inline-block;
  padding: 0.6rem 0.9rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9em;
  text-align: center;
  transition: opacity 0.15s;
}

.prod-btn:hover { opacity: 0.85; }

.prod-btn--details {
  background: #f5f0e6;
  color: #333;
  border: 1px solid #ddd;
}

.prod-btn--amazon {
  background: #f0b90b;
  color: #111;
}

/* Category overview grid (store landing page) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 1rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.15s;
  text-align: center;
}

.category-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  color: inherit;
}

.category-card__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.category-card__name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-brown);
}

.category-card__count {
  font-size: 0.85rem;
  color: #999;
}

/* Sidebar link styling (converted from button) */
a.sb-btn, a.sb-sub {
  text-decoration: none;
}

/* Product detail */
.product-detail { background: #fff; }

.detail-back {
  display: inline-block;
  padding: 8px 0;
  color: var(--color-brown);
  font-size: 0.9em;
  margin-bottom: 16px;
  cursor: pointer;
}

.detail-back:hover { text-decoration: underline; }

.detail-layout {
  display: flex;
  gap: 30px;
}

.detail-image {
  flex: 0 0 45%;
  max-width: 45%;
}

.detail-image img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #eee;
}

.detail-info { flex: 1; }

.detail-info h1 {
  font-family: var(--font-serif);
  font-size: 1.4em;
  color: var(--color-text-dark);
  margin: 0 0 10px;
}

.detail-price {
  font-size: 1.2em;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 16px;
}

.detail-desc {
  font-size: 0.95em;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ─── Blog ───────────────────────────────────────────────────────── */

.blog-hero {
  background: var(--color-text-dark);
  color: #fff;
  padding: 60px 24px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 32px;
}

.blog-hero h1 {
  font-family: var(--font-serif);
  font-size: 2.2em;
  margin: 0 0 8px;
}

.blog-hero p {
  color: #ccc;
  font-family: var(--font-body);
  font-size: 1.05em;
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
}

.blog-list {
  max-width: 800px;
  margin: 0 auto;
}

.blog-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}

.blog-card:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); }

.blog-card .eyebrow {
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.blog-card h2 {
  font-family: var(--font-body);
  font-size: 1.3em;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0 0 8px;
}

.blog-card h2 a { color: var(--color-text-dark); }
.blog-card h2 a:hover { color: var(--color-brown); }

.blog-card p {
  font-family: var(--font-body);
  color: #777;
  font-size: 0.95em;
  line-height: 1.5;
  padding: 0;
}

.blog-card .read-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--color-brown);
  font-weight: 600;
  font-size: 0.9em;
}

/* Article layout */
.article-hero {
  text-align: center;
  padding: 40px 0;
  margin-bottom: 24px;
}

.article-hero .eyebrow {
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.article-hero h1 {
  font-family: var(--font-serif);
  font-size: 2em;
  color: var(--color-text-dark);
  margin: 0 0 12px;
}

.article-hero .subtitle {
  font-family: var(--font-body);
  color: #777;
  font-size: 1.05em;
  max-width: 600px;
  margin: 0 auto;
}

.article-hero .meta {
  font-size: 0.85em;
  color: #999;
  margin-top: 12px;
}

.article-layout {
  display: flex;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.article-body {
  flex: 1;
  min-width: 0;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.5em;
  color: var(--color-text-dark);
  margin: 2em 0 0.5em;
  padding-bottom: 0.25em;
  border-bottom: 2px solid var(--color-border);
}

.article-body h3 {
  font-family: var(--font-body);
  font-size: 1.15em;
  color: var(--color-text-dark);
  margin: 1.5em 0 0.5em;
}

.article-body figure {
  margin: 2.25em 0;
}

.article-body figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.article-body figcaption {
  margin-top: 0.6em;
  font-size: 0.9em;
  color: var(--color-text-light);
  font-style: italic;
  line-height: 1.45;
}

.related-posts,
.social-share {
  margin: 2.5rem 0 0;
  padding: 1.25rem;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.related-posts-title,
.social-share-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

.related-posts-copy,
.social-share-copy {
  padding: 0.5rem 0 0;
  color: var(--color-text);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.related-post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.related-post-card-image-link {
  display: block;
  aspect-ratio: 16 / 9;
  background: #f3efe6;
}

.related-post-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-post-card-body {
  padding: 1rem;
}

.related-post-card-body h3 {
  margin: 0;
  font-size: 1rem;
}

.related-post-card-body h3 a {
  color: var(--color-text-dark);
}

.related-post-card-body p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.products-referenced {
  margin: 2.5rem 0 0;
  padding: 1.25rem;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.products-referenced-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

.products-referenced-copy {
  padding: 0.5rem 0 0;
  color: var(--color-text);
}

.products-referenced-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.product-referenced-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-text-dark);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.product-referenced-card:hover,
.product-referenced-card:focus-visible {
  border-color: var(--color-accent, #c79a2b);
  transform: translateY(-1px);
}

.product-referenced-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.product-referenced-name {
  font-size: 0.85rem;
  line-height: 1.3;
  font-weight: 500;
}

.inline-product {
  float: right;
  width: 180px;
  margin: 0.25rem 0 1rem 1.25rem;
  padding: 0.6rem;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  clear: right;
}

.inline-product-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-text-dark);
}

.inline-product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
}

.inline-product-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
  line-height: 1.3;
}

.inline-product-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  font-weight: 700;
}

.inline-product-name {
  font-weight: 600;
}

.inline-product-cta {
  color: var(--color-accent, #c79a2b);
  font-size: 0.8rem;
}

.inline-product-link:hover .inline-product-cta,
.inline-product-link:focus-visible .inline-product-cta {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .inline-product {
    float: none;
    width: 100%;
    margin: 1rem 0;
  }
}


.social-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--color-brown);
  color: var(--color-brown-dark);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}

.social-share-link:hover {
  background: var(--color-brown);
  border-color: var(--color-brown);
  color: var(--color-white);
}

.article-sidebar {
  width: 260px;
  min-width: 260px;
  align-self: flex-start;
  position: sticky;
  top: 80px;
}

.article-sidebar .sidebar-box {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.article-sidebar .sidebar-box h4 {
  font-family: var(--font-body);
  font-size: 0.85em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-dark);
  margin: 0 0 12px;
}

/* Callout boxes */
.callout {
  background: var(--color-cream);
  border-left: 4px solid var(--color-gold);
  padding: 16px 20px;
  margin: 1.5em 0;
  border-radius: 0 8px 8px 0;
}

.callout strong { color: var(--color-text-dark); }

.callout.affiliate-disclosure {
  padding: 10px 16px;
  font-size: 0.85em;
  border-left-color: var(--color-border);
  background: transparent;
  color: var(--color-text-muted, #666);
}

/* Kit widget sections */
.kit-section {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  margin: 1.5em 0;
}

.kit-section-title {
  font-size: 1.15em;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.kit-section-desc {
  font-size: 0.95em;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.5;
}

.kit-persuasion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.kit-persuasion-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.kit-persuasion-card p {
  margin: 0;
  font-size: 0.92em;
  line-height: 1.5;
  color: var(--color-text);
}

.kit-persuasion-label {
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-orange-dark);
  margin-bottom: 6px;
}

.kit-section-details {
  margin-bottom: 16px;
}

.kit-section-details summary {
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--color-orange);
}

.kit-section-details summary:hover {
  color: var(--color-orange-dark);
}

.kit-section-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 8px;
}

.kit-section-list li {
  font-size: 0.9em;
  color: var(--color-text);
  padding: 3px 0;
}

.kit-section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.kit-add-to-cart-btn {
  display: inline-block;
  padding: 0.6em 1.4em;
  background: var(--color-orange);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.95em;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.kit-add-to-cart-btn:hover {
  background: var(--color-orange-dark);
}

/* Equipment grid */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin: 1em 0;
}

.equipment-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
}

.equipment-card .icon { font-size: 2em; margin-bottom: 8px; }

.equipment-card h4 {
  font-family: var(--font-body);
  font-size: 1em;
  color: var(--color-text-dark);
  margin: 0 0 8px;
}

/* Checklist */
.checklist { margin: 1em 0; }

.checklist li {
  padding: 6px 0 6px 28px;
  position: relative;
  line-height: 1.5;
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 4px;
  color: var(--color-gold);
  font-weight: 700;
}

/* Season table */
.season-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}

.season-table th,
.season-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 0.95em;
  line-height: 1.4;
}

.season-table th {
  background: var(--color-cream);
  font-weight: 700;
  color: var(--color-text-dark);
}

/* ─── Footer ─────────────────────────────────────────────────────── */

#footer-wrap {
  background: none;
  overflow: visible;
  text-align: left;
  padding: 0;
}

#cvbs-footer {
  background: #333;
  color: #ccc;
  padding: 40px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
}

#cvbs-footer a { color: var(--color-gold); transition: color 0.2s; }
#cvbs-footer a:hover { color: #fff; }

.cvbs-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.cvbs-footer-col { flex: 1; min-width: 180px; }

.cvbs-footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cvbs-footer-col ul { margin: 0; padding: 0; }
.cvbs-footer-col ul li { margin-bottom: 8px; }
.cvbs-footer-col p { margin: 0 0 10px; color: #aaa; }

.cvbs-social-links {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.cvbs-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
  transition: background 0.2s, color 0.2s;
}

.cvbs-social-links a:hover { background: var(--color-gold); color: #333; }

.cvbs-payment-icons {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

.cvbs-payment-icons span {
  background: #fff;
  color: #333;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
}

.cvbs-amazon-note { font-size: 12px; color: #888; margin-top: 6px; }

.cvbs-footer-bottom {
  margin-top: 32px;
  padding: 16px 24px;
  border-top: 1px solid #444;
  text-align: center;
  font-size: 12px;
  color: #888;
}

.cvbs-footer-bottom a { color: #999; }
.cvbs-footer-bottom a:hover { color: var(--color-gold); }

/* ─── Email Signup ───────────────────────────────────────────────── */

.email-signup {
  background: var(--color-brown);
  color: #fff;
  padding: 40px 24px;
  margin: 40px 0;
  border-radius: 6px;
}

.email-signup__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.email-signup__heading {
  font-size: 1.5em;
  color: #fff;
  margin-bottom: 10px;
}

.email-signup__desc {
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  font-size: 1em;
  line-height: 1.6;
}

.email-signup__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: flex-end;
}

.email-signup__field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 180px;
  min-width: 160px;
  max-width: 260px;
}

.email-signup__label {
  font-size: 0.82em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 4px;
  font-weight: 600;
}

.email-signup__input {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 4px;
  font-size: 0.95em;
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: #fff;
}

.email-signup__input:focus {
  outline: 3px solid var(--color-gold);
  outline-offset: 1px;
}

.email-signup__btn {
  flex-shrink: 0;
  align-self: flex-end;
  white-space: nowrap;
}

.email-signup__fine {
  margin-top: 12px;
  font-size: 0.8em;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.email-signup__fine a {
  color: var(--color-gold);
}

@media (max-width: 600px) {
  .email-signup__row { flex-direction: column; align-items: stretch; }
  .email-signup__field { max-width: 100%; }
  .email-signup__btn { width: 100%; }
}

/* ─── Cart Drawer ────────────────────────────────────────────────── */

#cart-icon-wrap {
  position: fixed;
  right: 16px;
  top: 14px;
  z-index: 1000;
}

#cart-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s;
}

#cart-icon:hover { background: rgba(0, 0, 0, 0.8); }

.hamburger[aria-expanded="true"]::before {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 22" fill="white"><path d="M5.4 3.3L14 11.9l8.6-8.6 2.1 2.1-8.6 8.6 8.6 8.6-2.1 2.1L14 16.1l-8.6 8.6-2.1-2.1 8.6-8.6-8.6-8.6z"/></svg>') no-repeat center center;
  background-size: contain;
}

#cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #c0392b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

#cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  animation: fadeIn 0.2s;
}

#cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 420px;
  max-width: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s;
}

@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ─── Responsive ─────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  body { font-size: 13px; }

  #main-content { padding: 2em; }

  #nav-wrap .nav-menu li { display: none; }
  #nav-wrap .submenu { display: none !important; }
  #nav-trigger { display: block; float: left; margin: 13px 0 15px; cursor: pointer; }
  #header { padding: 0; }
  #header .container { padding: 0 1em; }
  #navmobile { display: block; }

  #main-wrap {
    position: relative;
    background: var(--color-bg);
    box-shadow: 1px 0 0 0 rgba(0, 0, 0, 0.1);
  }

  .article-layout { flex-direction: column; }
  .article-sidebar { width: 100%; min-width: 100%; position: static; }
  .related-posts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .store-layout { flex-direction: column; }

  .store-sidebar {
    width: 100%;
    min-width: 100%;
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 10px 0;
  }

  .sb-list {
    display: flex;
    flex-wrap: wrap;
    padding: 4px 12px;
    gap: 4px;
  }

  .sb-btn {
    padding: 8px 14px;
    border-left: none;
    border-radius: 20px;
    font-size: 0.85em;
    white-space: nowrap;
    background: #ede8e0;
  }

  .sb-btn:hover, .sb-btn.active { background: #fff8f0; border-left: none; }
  .sb-arrow { display: none; }

  .sb-subs {
    position: absolute;
    z-index: 100;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    min-width: 180px;
    top: 100%;
    left: 0;
  }

  .sb-item { position: relative; }
  .sb-sub { padding: 8px 16px; border-left: none; }
  .store-sidebar__title { display: none; }
  .store-main { padding: 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .category-card { padding: 1.25rem 0.75rem; }
  .category-card__icon { font-size: 2rem; }
  .detail-layout { flex-direction: column; }
  .detail-image { flex: none; max-width: 100%; }
}

@media (max-width: 767px) {
  body { font-size: 12px; }

  .columns { flex-direction: column; }

  #banner-inner { width: 100%; }
  .site-title { font-size: 1.75em; }
  #banner { height: 14em; }

  .cvbs-footer-inner { flex-direction: column; gap: 24px; }
  .cvbs-footer-col { min-width: 100%; }
  #cvbs-footer { padding: 30px 0 0; }
  .cvbs-footer-bottom { margin-top: 24px; }

  .hero-cats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-cat { padding: 14px 8px; }
  .hero-cat .hc-icon { font-size: 1.6em; }
  .hero-cat .hc-name { font-size: 11px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .prod-actions { flex-direction: column; }
}

/* Locations index grid */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 1.5em 0;
}

.location-card {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 18px 20px;
}

.location-card h2 {
  margin: 0 0 6px;
  font-size: 1.2em;
}

.location-card .location-meta {
  font-size: 0.85em;
  color: var(--color-text-muted, #666);
  margin: 0 0 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

