@charset "UTF-8";
/*
Theme Name: Black Hut Design
Theme URI: https://www.blackhutdesign.com
Author: Mark Plante
Author URI: https://www.blackhutdesign.com
Description: A custom handcrafted WordPress theme for showcasing handmade crafts.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blackhutdesign
*/
/* =========================
   CSS RESET / BASE
   ========================= */
/* =========================
   DESIGN VARIABLES
   ========================= */
:root {
  --container-width: 1200px;
  --container-padding: 24px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 48px;
  --space-xl: 64px;
  --color-bg: #f7f6f3;
  --color-surface: #ffffff;
  --color-text: #2e2e2e;
  --color-accent: #3a6b4f;
  --color-head: #ffffff; }

*,
*::before,
*::after {
  box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6; }

body {
  background-color: var(--color-bg);
  color: var(--color-text); }

.site-main {
  padding-block: var(--space-sm); }

/* =========================
   STICKY FOOTER LAYOUT
   ========================= */
html,
body {
  height: 100%; }

body {
  display: flex;
  flex-direction: column; }

.site-main {
  flex: 1; }

/* =========================
   LINKS
   ========================= */
a {
  color: #3a6b4f;
  text-decoration: none; }

a:hover {
  text-decoration: underline; }

/* =========================
   BASIC STRUCTURE
   ========================= */
.site-header,
.site-footer {
  background: #ffffff; }

.site-header__inner,
.site-footer__inner,
.content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px; }

/* =========================
   SITE LOGO
   ========================= */
.site-logo img {
  max-height: 100px;
  width: auto;
  display: block; }

/* =========================
   CONTAINER SYSTEM
   ========================= */
.site-header__inner,
.site-footer__inner,
.content-wrap {
  max-width: var(--container-width);
  padding: var(--container-padding);
  margin: 0 auto;
  flex-wrap: wrap; }

/* =========================
   HEADER LAYOUT
   ========================= */
.site-header {
  background: var(--color-surface); }
  .site-header img {
    max-height: 100px;
    width: auto; }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md); }

.site-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-md); }

.site-navigation a {
  font-weight: 500;
  color: var(--color-text); }

.site-navigation a:hover {
  color: var(--color-accent); }

/* =========================
   PRODUCT ARCHIVE GRID
   ========================= */
.archive-title {
  margin-bottom: var(--space-sm); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg); }

.product-card {
  background: var(--color-surface);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease; }

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); }

.product-card__image img {
  width: 100%;
  height: auto;
  display: block; }

.product-card__content {
  padding: var(--space-md); }

.product-card__title {
  margin: 0 0 var(--space-xs);
  font-size: 1.1rem; }

.product-card__title a {
  color: var(--color-text); }

.product-card__excerpt {
  font-size: 0.95rem;
  margin-bottom: var(--space-sm); }

.product-card__price {
  font-weight: 600;
  color: var(--color-accent); }

/* =========================
   SINGLE PRODUCT
   ========================= */
.single-product__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl); }

@media (max-width: 800px) {
  .single-product__grid {
    grid-template-columns: 1fr; } }

.single-product__featured img {
  width: 100%;
  height: auto;
  border-radius: 6px; }

.single-product__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-md); }

.single-product__gallery img {
  width: 100%;
  border-radius: 4px; }

.single-product__title {
  margin-top: 0; }

.single-product__price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-sm); }

.single-product__badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: var(--space-md); }

.single-product__materials ul,
.single-product__variations ul {
  padding-left: 20px; }

.single-product__order {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: var(--color-surface);
  border-radius: 6px; }

/* =========================
   CATEGORY ENHANCEMENTS
   ========================= */
.archive-hero img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: var(--space-md); }

.subcategory-list {
  margin-bottom: var(--space-xl); }

.subcategory-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-md); }

.subcategory-grid a {
  display: block;
  background: var(--color-surface);
  padding: var(--space-sm);
  border-radius: 6px;
  text-align: center;
  font-weight: 500; }

/* =========================
   HOMEPAGE
   ========================= */
.home-hero {
  text-align: center;
  margin-bottom: var(--space-xl); }

.home-hero h1 {
  margin-bottom: var(--space-sm); }

.home-categories,
.home-products,
.home-order {
  margin-bottom: var(--space-xl); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-lg); }

.category-card {
  display: block;
  background: var(--color-surface);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  font-weight: 500; }

.category-card img {
  width: 100%;
  height: auto;
  display: block; }

.category-card span {
  display: block;
  padding: var(--space-sm); }

.home-order {
  background: var(--color-surface);
  padding: var(--space-lg);
  border-radius: 6px; }

/* =========================
   PRIMARY NAVIGATION – BASE
   ========================= */
.site-navigation {
  position: relative;
  margin-left: auto; }

.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  align-items: center; }

/* Top-level links */
.primary-menu > li > a {
  display: block;
  padding: 8px 4px;
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none; }

/* =========================
   DROPDOWN STRUCTURE (DESKTOP)
   ========================= */
.primary-menu li {
  position: relative; }

/* Level 2 */
.primary-menu ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-surface);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 100; }

/* Level 3 fly-out */
.primary-menu ul ul {
  top: 0;
  left: 100%; }

/* Submenu links */
.primary-menu ul li a {
  display: block;
  padding: 10px 16px;
  white-space: nowrap;
  color: var(--color-text); }

/* Hover states */
.primary-menu ul li a:hover {
  background: rgba(0, 0, 0, 0.05); }

/* Desktop hover behavior */
@media (min-width: 901px) {
  .primary-menu li:hover > ul {
    display: block; } }

/* =========================
   HAMBURGER BUTTON
   ========================= */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px; }

.menu-toggle__bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  margin: 6px 0; }

/* =========================
   MOBILE MENU (SLIDE)
   ========================= */
@media (max-width: 900px) {
  .menu-toggle {
    display: block; }
  /*
  .primary-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    flex-direction: column;
    gap: 0;

    background: var(--color-surface);
    border-radius: 6px;
    overflow: hidden;

    max-height: 0;
    opacity: 0;
    pointer-events: none;

    transition:
      max-height 0.35s ease,
      opacity 0.25s ease;
  }

  */
  .primary-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--color-surface);
    border-radius: 6px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease; }
  .primary-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto; }
  /* OPEN STATE */
  .primary-menu.is-open {
    max-height: 1000px;
    /* big enough for animation */
    opacity: 1;
    pointer-events: auto; }
  .primary-menu > li > a {
    padding: 14px 16px; }
  /* Disable hover dropdowns */
  .primary-menu ul {
    position: static;
    box-shadow: none;
    display: none;
    padding: 0; }
  /* Mobile submenu open */
  .primary-menu li.is-open > ul {
    display: block; }
  /* Indentation */
  .primary-menu ul li a {
    padding-left: 32px; }
  .primary-menu ul ul li a {
    padding-left: 48px; } }

.site-navigation {
  position: relative; }

@media (max-width: 900px) {
  .menu-toggle {
    display: block; }
  .primary-menu {
    position: fixed;
    top: 80px;
    /* adjust to match header height */
    left: 0;
    right: 0;
    width: 100vw;
    flex-direction: column;
    gap: 0;
    background: var(--color-surface);
    border-radius: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    z-index: 9999; }
  .primary-menu.is-open {
    max-height: 100vh;
    opacity: 1;
    pointer-events: auto; }
  .primary-menu > li > a {
    padding: 16px 20px; }
  /* Submenus */
  .primary-menu ul {
    position: static;
    box-shadow: none;
    display: none;
    padding: 0; }
  .primary-menu li.is-open > ul {
    display: block; }
  .primary-menu ul li a {
    padding-left: 36px; }
  .primary-menu ul ul li a {
    padding-left: 56px; } }

body.menu-open {
  overflow: hidden; }

/* =========================
   PRODUCT AVAILABILITY
   ========================= */
.product-status {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em; }

/* Available */
.product-status--available {
  background: #e6f4ea;
  color: #216e39; }

/* Made to order */
.product-status--custom {
  background: #e8eef9;
  color: #1e3a8a; }

/* Sold */
.product-status--sold {
  background: #fbeaea;
  color: #8a1e1e; }

.product-status--sold {
  opacity: 0.85; }

/* =========================
   CONTACT FORM
   ========================= */
.contact-form {
  max-width: 600px; }

.contact-form label {
  display: block;
  margin-bottom: var(--space-md);
  font-weight: 500; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border-radius: 4px;
  border: 1px solid #ccc; }

.contact-form button {
  padding: 10px 18px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer; }

.contact-product {
  background: #f2f2f2;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: var(--space-md); }

/* =========================
   HONEYPOT FIELD
   ========================= */
.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden; }

/* =========================
   STICKY HEADER
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-head);
  transition: padding 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease; }

/* Default header spacing */
.site-header__inner {
  padding: 18px 0;
  transition: padding 0.25s ease; }

/* Scrolled state */
.site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); }

.site-header.is-scrolled .site-header__inner {
  padding: 10px 0; }

/* Ensure mobile menu sits below header */
@media (max-width: 900px) {
  .primary-menu {
    top: var(--header-height, 80px); } }

/* =========================
   EVENTS PAGE
   ========================= */
.events-list {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-lg); }

.event-card {
  background: var(--color-surface);
  padding: var(--space-lg);
  border-radius: 6px; }

.event-title {
  margin-bottom: 6px; }

.event-meta {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 8px; }

.event-notes {
  margin-top: 8px; }

/* =========================
   SKIP LINK
   ========================= */
.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 10000; }

.skip-link:focus {
  top: 10px; }

:focus-visible {
  outline: 2px solid var(--color-accent, #333);
  outline-offset: 2px; }

/* =========================
   UNIFORM PRODUCT IMAGES
   ========================= */
.product-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  /* Square images */
  overflow: hidden;
  background: #f4f4f4; }

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; }

.product-card__image img {
  transition: transform 0.3s ease; }

.product-card:hover .product-card__image img {
  transform: scale(1.05); }

/* =========================
   UNIFORM CATEGORY IMAGES
   ========================= */
.category-card {
  display: block;
  text-decoration: none;
  color: inherit; }

.category-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 6px; }

.category-card span {
  display: block;
  padding: 10px;
  font-weight: 500;
  text-align: center; }

.category-card img {
  transition: transform 0.3s ease; }

.category-card:hover img {
  transform: scale(1.05); }

/* =========================
   SOFT TINT SECTIONS
   ========================= */
.home-about,
.home-order,
.home-events {
  margin-bottom: var(--space-xl); }

/* =========================
   SOFT PANEL SECTIONS
   ========================= */
.home-about,
.home-order {
  background: rgba(0, 0, 0, 0.03);
  padding: var(--space-xl);
  border-radius: 8px;
  margin-bottom: var(--space-xl); }

.home-about,
.home-order {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04); }

.home-order {
  background: rgba(0, 0, 0, 0.05); }

@media (max-width: 600px) {
  .home-about,
  .home-order {
    padding: var(--space-lg); } }

/* =========================
   ABOUT THE WORK – IMAGE LAYOUT
   ========================= */
.home-about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: center; }

.home-about__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; }

/* Mobile stacking */
@media (max-width: 800px) {
  .home-about__inner {
    grid-template-columns: 1fr; } }

.home-about__image {
  aspect-ratio: 4 / 3;
  overflow: hidden; }

.home-about__image img {
  height: 100%;
  object-fit: cover; }

.home-about__caption {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #666; }

/* =========================
   SITE FOOTER
   ========================= */
.site-footer {
  margin-top: var(--space-xl);
  padding: var(--space-lg) 0;
  background: #f7f7f7;
  font-size: 0.85rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05); }

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center; }

.site-footer__copyright {
  color: #666; }

/* =========================
   FOOTER MENU (HORIZONTAL)
   ========================= */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  /* force horizontal */
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  /* wrap nicely on small screens */ }

.footer-menu li {
  margin: 0; }

.footer-menu a {
  text-decoration: none;
  color: #444;
  font-weight: 400; }

.footer-menu a:hover {
  text-decoration: underline; }

/* =========================
   FOOTER (FINAL OVERRIDE)
   ========================= */
.site-footer {
  margin-top: var(--space-xl);
  padding: var(--space-lg) 0;
  background: #f7f7f7;
  font-size: 0.85rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05); }

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center; }

/* FORCE footer nav to ignore main nav rules */
.site-footer nav,
.site-footer nav ul,
.site-footer nav li {
  display: block;
  margin: 0;
  padding: 0; }

/* FOOTER MENU — HORIZONTAL */
.site-footer .footer-menu {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  gap: 18px;
  list-style: none; }

.site-footer .footer-menu > li {
  display: inline-flex !important;
  width: auto !important; }

.site-footer .footer-menu > li > a {
  display: inline-block;
  text-decoration: none;
  color: #444;
  font-weight: 400; }

.site-footer .footer-menu > li > a:hover {
  text-decoration: underline; }

/* Footer menu horizontal (plain CSS) */
.footer-navigation {
  display: flex;
  justify-content: center; }

.footer-navigation ul {
  display: flex;
  gap: 10vh;
  list-style: none;
  margin: 0;
  padding: 0; }

.footer-navigation ul li {
  display: inline-flex;
  margin: 0 2vh;
  text-transform: uppercase; }

@media (max-width: 800px) {
  .footer-navigation ul {
    display: block;
    flex-direction: column;
    gap: 10px;
    align-items: center; } }

/* =========================
   BREADCRUMBS
   ========================= */
.breadcrumbs {
  font-size: 0.85rem;
  margin-bottom: var(--space-md); }

.breadcrumbs__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px; }

.breadcrumbs__item {
  color: #666; }

.breadcrumbs__item a {
  text-decoration: none;
  color: #444; }

.breadcrumbs__item a:hover {
  text-decoration: underline; }

.breadcrumbs__item::after {
  content: '›';
  margin: 0 6px;
  color: #999; }

.breadcrumbs__item:last-child::after {
  content: ''; }

/* =========================
   BREADCRUMB SPACING TWEAK
   ========================= */
.breadcrumbs {
  margin-top: 0;
  margin-bottom: var(--space-sm); }

.content-wrap > .breadcrumbs {
  margin-top: 0; }

/* =========================
   HEADER SOCIAL LINKS
   ========================= */
.header-social {
  display: flex;
  justify-content: center;
  margin-top: var(--space-sm); }

.header-social-widget {
  display: flex;
  gap: 12px; }

.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none; }

/* Optional: icon hover polish */
.header-social a:hover {
  opacity: 0.75; }

@media (max-width: 700px) {
  .header-social {
    display: none; } }

/* =========================
   HEADER SOCIAL PLACEMENT FIX
   ========================= */
.header-social {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: var(--space-sm); }

/* =========================
   HOMEPAGE EVENTS PREVIEW
   ========================= */
.home-events-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0; }

.home-event-item {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem; }

.home-event-head {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: var(--space-sm);
  background: var(--color-accent);
  color: var(--color-head);
  font-size: 0.9rem; }
  .home-event-head div {
    padding: 1px 10px; }

.home-event-location {
  color: #666; }

/* =========================
   EVENTS ARCHIVE
   ========================= */
.events-list {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0 0; }

.event-item {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08); }

.event-title {
  margin-bottom: 4px; }

.event-date {
  font-weight: 500; }

.event-location {
  color: #666; }

.event-notes {
  margin-top: 6px; }

.event-link a {
  text-decoration: underline;
  font-size: 0.9rem; }

/* =========================
   SINGLE EVENT
   ========================= */
.single-event {
  margin-inline: auto; }

.single-event__header {
  margin-bottom: var(--space-md); }

.single-event__date {
  font-weight: 500;
  color: #555; }

.single-event__details p {
  margin-bottom: var(--space-sm); }

.single-event__location {
  color: #444; }

.single-event__notes {
  margin-top: var(--space-md); }

.single-event__link a {
  text-decoration: underline;
  font-weight: 500; }

/* =========================
   EVENTS ARCHIVE – POLISH
   ========================= */
.events-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
  list-style: none;
  padding: 0;
  margin-top: var(--space-lg); }

.event-item {
  background: #fff;
  padding: var(--space-md);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06); }

.event-title {
  margin-bottom: 6px;
  font-size: 1.05rem; }

.event-title a {
  text-decoration: none;
  color: inherit; }

.event-title a:hover {
  text-decoration: underline; }

.event-date {
  font-weight: 500;
  margin-bottom: 4px; }

.event-location {
  font-size: 0.9rem;
  color: #555; }

.event-notes {
  margin-top: 8px;
  font-size: 0.9rem; }

.event-date::before {
  content: "📅 "; }

.event-location::before {
  content: "📍 "; }

.event-item {
  transition: transform 0.15s ease, box-shadow 0.15s ease; }

.event-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06); }

.event-item.is-next {
  border-color: #c89b3c;
  background: #fffdf6; }

img {
  height: auto; }

/*# sourceMappingURL=style.map */