/*
Theme Name: WoodCraft Premium
Theme URI: https://woodcraftcorner.com/
Description: A modern, high-quality WordPress theme for woodworking and carpentry.
Version: 1.0.0
Author: Antigravity
Text Domain: woodcraft-premium
*/

/* HEARTBEAT: 2026-03-24 21:15 */
*,
::before,
::after {
  box-sizing: border-box;
}

:root {
  /* Colors */
  --primary: #FACC15;
  /* Warning/Action Yellow */
  --primary-alt: #EAB308;
  --secondary: #2C1E16;
  /* Deeper, richer brown */
  --accent: #D97706;
  /* Warmer, softer orange */
  --bg-warm: #FAFAF9;
  /* Cleaner off-white */
  --bg-wood: #F3E8D6;
  /* More elegant tan */
  --text-dark: #1F2937;
  /* Softer black */
  --text-muted: #6B7280;
  /* Lighter gray for better contrast hierarchy */
  --white: #FFFFFF;

  /* Breakpoints */
  --bp-sm: 576px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1200px;

  /* Typography - Fluid with clamp() */
  --font-headings: 'Oswald', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --fs-h1: clamp(2.25rem, 5vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 4vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 3vw, 1.75rem);
  --fs-body: clamp(1rem, 0.5vw + 0.9rem, 1.125rem);

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.04), 0 1px 2px -1px rgb(0 0 0 / 0.04);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.04), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.04), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  --shadow-float: 0 25px 50px -12px rgb(0 0 0 / 0.1);

  /* Radius - Dynamic */
  --radius-sm: calc(6px * var(--r-scale, 1));
  --radius-md: calc(10px * var(--r-scale, 1));
  --radius-lg: calc(16px * var(--r-scale, 1));
  --radius-xl: calc(24px * var(--r-scale, 1));
  --radius-pill: 9999px;

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1040px;

  /* Spacing Scale (Modular - Compacted) */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
}

body {
  background-color: var(--bg-warm);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* Base Styles */
h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Utilities */
.section-padding {
  padding: var(--space-3xl) 0;
}

.section-padding-sm {
  padding: var(--space-xl) 0;
}

.section-intro {
  text-align: center;
  margin-bottom: var(--space-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-intro h2 {
  margin-bottom: var(--space-2xs);
}

.section-intro p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.grid-responsive {
  display: grid;
  gap: var(--space-lg);
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-cols-auto {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (max-width: 1024px) {
  .grid-cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-lg: 3rem;
  }

  .grid-cols-4,
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {

  .grid-cols-4,
  .grid-cols-3,
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--secondary);
}

.btn-primary:hover {
  background-color: var(--primary-alt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pshop-hero__trust span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/*  Breadcrumbs inside Hero  */
.pshop-hero .woocommerce-breadcrumb {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

/*  Homepage Hero (Asymmetric Artisan)  */
.home-hero {
  padding: calc(6.5rem * var(--hero-padding-factor, 1)) 0 calc(4rem * var(--hero-padding-factor, 1));
  background: #fbf9f6;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: -100px;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.83L1.246 55.044L.416 54.215L54.627 0zM.583 0l.83.83L55.627 55.044l-.83.83L.583 0z' fill='%23C86433' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.15;
  pointer-events: none;
  animation: wc-drift 80s linear infinite;
}

.home-hero__inner {
  display: flex;
  align-items: center;
  gap: 6rem;
  position: relative;
  z-index: 2;
}

.home-hero__text {
  flex: 1.2;
}

.home-hero__visual {
  flex: 0.8;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid rgba(217, 119, 6, 0.1);
  animation: fadeInUp 0.8s ease-out;
}

.hero-eyebrow::before {
  content: '';
}

.home-hero h1 {
  font-size: 3.25rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.home-hero p {
  font-size: 1.35rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.home-hero .btn-group {
  display: flex;
  gap: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

@media (max-width: 640px) {
  .home-hero .btn-group {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }
}

/* Image Stack */
.hero-image-stack {
  position: relative;
  padding: 2rem;
  animation: zoomIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.hero-image-stack img {
  width: 100%;
  border-radius: 40px;
  box-shadow:
    40px 40px 0 var(--primary),
    0 30px 60px -12px rgba(26, 17, 11, 0.3);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-image-stack:hover img {
  transform: translate(-10px, -10px);
}

.artisan-badge-float {
  position: absolute;
  bottom: 0;
  right: -1rem;
  background: var(--secondary);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  animation: wc-float 6s ease-in-out infinite;
}

.artisan-badge-float .icon {
  font-size: 1.75rem;
}

.artisan-badge-float .label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

@media (max-width: 1100px) {
  .home-hero h1 {
    font-size: 3.5rem;
  }

  .home-hero__inner {
    gap: 3rem;
  }
}

@media (max-width: 820px) {
  .home-hero {
    padding: 6rem 0 4rem;
    text-align: center;
  }

  .home-hero__inner {
    flex-direction: column;
    gap: 4rem;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .home-hero .btn-group {
    justify-content: center;
  }

  .hero-image-stack {
    max-width: 480px;
    margin: 0 auto;
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .hero-section .btn-group {
    flex-direction: column;
    padding: 0 2rem;
  }
}

/* Category Pill Cards (Home) */
.category-pill-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(217, 119, 6, 0.12);
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.category-pill-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 15px 30px -10px rgba(217, 119, 6, 0.2);
}

.category-pill-card__emoji {
  font-size: 2.25rem;
  flex-shrink: 0;
}

.category-pill-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary);
}

.category-pill-card__count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Latest from Shop Section */
.latest-posts-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .latest-posts-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
}

/* Artisan Blog Cards (Home) */
.artisan-post-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(217, 119, 6, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.artisan-post-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 30px 60px -15px rgba(26, 17, 11, 0.12);
}

.artisan-post-card__thumb {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--bg-wood);
}

.artisan-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.artisan-post-card:hover .artisan-post-card__thumb img {
  transform: scale(1.08);
}

.artisan-post-card__placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.3;
}

.artisan-post-card__body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.artisan-post-card__cat {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.artisan-post-card__title {
  font-size: 1.45rem;
  line-height: 1.25;
  margin-bottom: 1rem;
  font-weight: 850;
}

.artisan-post-card__title a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.artisan-post-card__title a:hover {
  color: var(--primary);
}

.artisan-post-card__excerpt {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.artisan-post-card__link {
  margin-top: auto;
  font-weight: 800;
  text-decoration: none;
  color: var(--secondary);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.artisan-post-card:hover .artisan-post-card__link {
  color: var(--primary);
}

/* Final CTA Section */
.cta-box {
  background: var(--secondary);
  border-radius: var(--radius-xl);
  padding: 5rem 4rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(26, 47, 36, 0.3);
}

.cta-box__deco {
  position: absolute;
  top: -10%;
  right: -5%;
  font-size: 10rem;
  opacity: 0.05;
  transform: rotate(15deg);
  pointer-events: none;
}

@media (max-width: 768px) {
  .cta-box {
    padding: 3rem 1.5rem;
  }
}


/*  Blog Posts Grid  */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Remove old featured-post */
.featured-post {
  display: contents;
  /* neutralised  no special treatment */
}

/*  Post Card  */
.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.08);
  border-color: rgba(250, 204, 21, 0.2);
}

/*  Thumbnail  */
.post-card-image {
  display: block;
  height: 170px;
  overflow: hidden;
  background: var(--bg-wood);
  flex-shrink: 0;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.06);
}

.post-card-image--placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: .5;
}

/*  Card Content  */
.post-card-content {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Top row: category badge + reading time */
.post-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .6rem;
}

.post-card-readtime {
  font-size: .72rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Category Badge */
.category-label {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  padding: .2rem .6rem;
  background: var(--bg-wood);
  color: var(--accent);
  border-radius: var(--radius-pill);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  transition: background .2s;
  flex-shrink: 0;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-label:hover {
  background: #e8d4a0;
}

/* Title */
.post-title {
  font-size: 1rem;
  margin: 0 0 .5rem;
  line-height: 1.35;
}

.post-title a {
  color: var(--secondary);
  text-decoration: none;
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-title a:hover {
  color: var(--accent);
}

/* Excerpt */
.post-excerpt {
  color: var(--text-muted);
  font-size: .875rem;
  line-height: 1.6;
  margin: 0 0 .75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Card footer: date + read link */
.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding-top: .75rem;
  border-top: 1px solid var(--bg-warm);
  margin-top: auto;
}

.post-meta {
  font-size: .75rem;
  color: var(--text-muted);
}

.read-more {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  font-size: .8rem;
  white-space: nowrap;
  transition: gap .15s;
}

.read-more:hover {
  color: var(--secondary);
}

/*  Category Filter Bar  */
.blog-filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--bg-wood);
  padding: .6rem 0;
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.blog-filter-bar .container {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: nowrap;
}

.blog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .4rem .9rem;
  border-radius: var(--radius-pill);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--secondary);
  background: var(--bg-warm);
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

/*  Pagination  */
.blog-pagination,
.navigation.pagination {
  margin: 3rem 0 5rem;
  text-align: center;
}

.blog-pagination .nav-links,
.navigation.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.blog-pagination .page-numbers,
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  /* Increased slightly for better visual weight */
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1.5px solid var(--bg-wood);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  line-height: 1;
}

.blog-pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
}

.blog-pagination .page-numbers:hover:not(.current),
.navigation.pagination .page-numbers:hover:not(.current) {
  background: var(--bg-wood);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Dots shouldn't have borders or background usually, or just be circles */
.blog-pagination .page-numbers.dots,
.navigation.pagination .page-numbers.dots {
  border: none;
  background: transparent;
  cursor: default;
}

/*  Latest Posts  */
.latest-posts {
  background: var(--bg-warm);
}

.latest-posts-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xl);
  gap: var(--space-md);
}

.latest-posts-header h2 {
  margin-bottom: var(--space-3xs);
}

.latest-posts-header p {
  color: var(--text-muted);
}

.latest-posts-header .view-all {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.latest-posts-header .view-all:hover {
  color: var(--secondary);
}

.post-article {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.post-article:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.08);
  border-color: rgba(250, 204, 21, 0.2);
}

.post-article__thumb {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.post-article__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-article:hover .post-article__thumb img {
  transform: scale(1.05);
}

.post-article__placeholder {
  height: 100%;
  background: var(--bg-wood);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(0, 0, 0, 0.1);
}

.post-article__content {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-article__cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2xs);
}

.post-article__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}

.post-article__title a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.post-article__title a:hover {
  color: var(--accent);
}

.post-article__excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.post-article__cta {
  margin-top: auto;
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.post-article__cta:hover {
  color: var(--accent);
}

.post-article__cta::after {
  content: '';
  transition: transform 0.2s;
}

.post-article__cta:hover::after {
  transform: translateX(4px);
}


/*  Category Cards (front page)  */
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg) !important;
  border-color: var(--primary) !important;
}

/*  Category Hero  */
.cat-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #2a1a0e 100%);
  padding: 7rem 0 4rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cat-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FACC15' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cat-hero__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.cat-hero__emoji {
  font-size: 5rem;
  line-height: 1;
  flex-shrink: 0;
  background: rgba(250, 204, 21, 0.15);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(250, 204, 21, 0.3);
}

.cat-hero__eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.cat-hero__title {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.cat-hero__desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 0 1.5rem;
  line-height: 1.7;
}

.cat-hero__count {
  display: inline-block;
  background: rgba(250, 204, 21, 0.2);
  color: var(--primary);
  border: 1px solid rgba(250, 204, 21, 0.4);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cat-hero__promo {
  flex: 0 0 400px;
}

@media (max-width: 640px) {
  .cat-hero__inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .cat-hero__desc {
    margin: 0 auto 1.5rem;
  }

  .cat-hero__promo {
    flex: 1;
    width: 100%;
  }
}

/*  Category Navigation Strip  */
.cat-nav {
  background: var(--white);
  border-bottom: 1px solid var(--bg-wood);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.cat-nav__list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.cat-nav__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cat-nav__pill:hover {
  background: var(--bg-warm);
  color: var(--secondary);
  border-color: var(--bg-wood);
}

.cat-nav__pill.is-active {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}

/*  Category Posts Area  */
.cat-posts {
  padding: 5rem 0;
}

/*  Empty State  */
.cat-empty {
  text-align: center;
  padding: 5rem 2rem;
  max-width: 480px;
  margin: 0 auto;
}

.cat-empty__icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.4;
}

.cat-empty h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.cat-empty p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/*  Placeholder post image  */
.post-card-image--placeholder {
  background: linear-gradient(135deg, var(--bg-wood) 0%, var(--bg-warm) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  opacity: 0.6;
}

.post-card-image--placeholder a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* 
/* 
   SINGLE POST  Compact Split-Card Hero
 */
.sp-hero {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--bg-wood);
  padding: 6.5rem 0 2rem;
}

.sp-hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}

/*  Breadcrumb  */
.sp-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  margin-bottom: .85rem;
}

.sp-hero__breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.sp-hero__breadcrumb a:hover {
  text-decoration: underline;
}

.sp-hero__breadcrumb span {
  color: var(--text-muted);
}

.sp-hero__breadcrumb-current {
  color: var(--text-muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 260px;
}

/*  Meta row (badge + reading time)  */
.sp-hero__meta {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .85rem;
  flex-wrap: wrap;
}

.sp-hero__cat-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
  font-size: .73rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background .2s;
}

.sp-hero__cat-badge:hover {
  background: var(--accent);
}

.sp-hero__reading-time {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  color: var(--text-muted);
  background: var(--bg-wood);
  padding: .3rem .75rem;
  border-radius: var(--radius-pill);
}

.sp-hero__reading-time::before {
  content: '';
  font-size: .85em;
}

/*  Title  */
.sp-hero__title {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  color: var(--secondary);
  margin: 0 0 1rem;
  line-height: 1.25;
  font-weight: 800;
}

/*  Byline  */
.sp-hero__byline {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.sp-hero__byline img {
  border-radius: 50%;
  border: 2px solid var(--bg-wood);
  display: block;
  flex-shrink: 0;
}

.sp-hero__author-info {
  display: flex;
  flex-direction: column;
  font-size: .82rem;
  line-height: 1.3;
}

.sp-hero__author-info strong {
  color: var(--secondary);
}

.sp-hero__author-info span {
  color: var(--text-muted);
}

/*  Right thumbnail  */
.sp-hero__thumb {
  width: 260px;
  height: 190px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  border: 3px solid var(--white);
  outline: 1px solid var(--bg-wood);
}

.sp-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.sp-hero__thumb:hover img {
  transform: scale(1.04);
}

/*  Two-column Layout  */
.sp-layout {
  display: grid !important;
  grid-template-columns: 3fr 1fr !important;
  gap: 3rem !important;
  align-items: start;
  padding-top: 2.5rem;
  padding-bottom: 5rem;
  max-width: 1040px !important;
  margin: 0 auto;
}

/*  Main Content Column  */
.sp-main {
  min-width: 0;
  /* prevent grid blowout */
}

.sp-article {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.sp-toc-hint {
  display: none;
  /* shown on mobile only */
}

/* Article body typography */
.sp-content {
  padding: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.85;
  color: #2a2a2a;
}

.sp-content h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--bg-wood);
}

.sp-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  color: var(--accent);
}

.sp-content h4 {
  font-size: 1.1rem;
}

.sp-content p {
  margin-bottom: 1.4rem;
}

.sp-content ul,
.sp-content ol {
  padding-left: 1.75rem;
  margin-bottom: 1.4rem;
}

.sp-content li {
  margin-bottom: .5rem;
}

.sp-content strong {
  color: var(--secondary);
}

.sp-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(139, 69, 19, .35);
  text-underline-offset: 3px;
}

.sp-content a:hover {
  color: var(--secondary);
}

.sp-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  margin-bottom: 1.75rem;
}

.sp-content th {
  background: var(--bg-wood);
  color: var(--secondary);
  padding: .6rem .9rem;
  text-align: left;
  font-weight: 700;
}

.sp-content td {
  padding: .55rem .9rem;
  border-bottom: 1px solid #eee;
}

.sp-content tr:hover td {
  background: #fafafa;
}

.sp-content img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  margin: 1rem 0;
}

.sp-content blockquote {
  border-left: 4px solid var(--primary);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--bg-warm);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-style: italic;
  color: var(--text-muted);
}

/*  Affiliate Box  */
.sp-affiliate-box {
  margin: 0 2.5rem 2.5rem;
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-wood) 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.sp-affiliate-box__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sp-affiliate-box__icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.sp-affiliate-box__header h3 {
  margin: 0 0 .3rem;
  font-size: 1.1rem;
}

.sp-affiliate-box__header p {
  margin: 0;
  font-size: .82rem;
  color: var(--text-muted);
}

.sp-affiliate-box__placeholder {
  background: rgba(255, 255, 255, .6);
  border: 1.5px dashed var(--secondary);
  opacity: .7;
  padding: 1.5rem;
  text-align: center;
  border-radius: .5rem;
  font-style: italic;
  font-size: .9rem;
  color: var(--text-muted);
}

/*  Tags  */
.sp-tags {
  padding: 0 2.5rem 1.5rem;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: .85rem;
}

.sp-tags__label {
  font-weight: 700;
  color: var(--text-muted);
}

.sp-tags a {
  background: var(--bg-warm);
  border: 1px solid #e0d5c5;
  padding: .25rem .7rem;
  border-radius: var(--radius-pill);
  color: var(--text-dark);
  text-decoration: none;
  transition: background .2s;
}

.sp-tags a:hover {
  background: var(--bg-wood);
}

/*  Author Box  */
.sp-author-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin: 0 2.5rem 2.5rem;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.sp-author-box__avatar img {
  border-radius: 50%;
  border: 3px solid var(--primary);
  display: block;
  flex-shrink: 0;
}

.sp-author-box__info h4 {
  color: var(--white);
  margin: 0 0 .5rem;
  font-size: 1rem;
}

.sp-author-box__info p {
  font-size: .88rem;
  opacity: .8;
  margin: 0 0 1rem;
  line-height: 1.6;
}

/*  Post Navigation  */
.sp-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--bg-wood);
  border-top: 2px solid var(--bg-wood);
}

.sp-post-nav__prev,
.sp-post-nav__next {
  background: var(--white);
}

.sp-post-nav a {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1.25rem 1.75rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: background .2s;
  height: 100%;
}

.sp-post-nav a:hover {
  background: var(--bg-warm);
}

.sp-post-nav__next a {
  text-align: right;
}

.sp-post-nav__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}

.sp-post-nav__title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--secondary);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/*  Related Posts  */
.sp-related {
  margin-top: 3rem;
}

.sp-related__heading {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--bg-wood);
}

.sp-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.sp-related__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}

.sp-related__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sp-related__card-img img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.sp-related__card-img--placeholder {
  height: 120px;
  background: var(--bg-wood);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.sp-related__card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}

.sp-related__card-body h4 {
  font-size: .92rem;
  color: var(--secondary);
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.sp-related__card-meta {
  font-size: .78rem;
  color: var(--text-muted);
}

/* 
   SIDEBAR  Base
 */
.sp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/*  Widget Base  */
.sw-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, .05);
}

.sw-widget__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0 0 1.1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--bg-wood);
}

/*  About Widget  */
.sw-about {
  text-align: center;
  background: linear-gradient(135deg, var(--secondary), #4a3020);
  color: var(--white);
  border: none;
}

.sw-about .sw-about__icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
  display: block;
}

.sw-about h3 {
  color: var(--white);
  margin: 0 0 .6rem;
  font-size: 1.1rem;
}

.sw-about p {
  font-size: .875rem;
  opacity: .8;
  margin: 0 0 1rem;
  line-height: 1.65;
}

.sw-about__link {
  display: inline-block;
  background: var(--primary);
  color: var(--secondary);
  font-weight: 700;
  font-size: .82rem;
  padding: .4rem 1rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform .2s;
}

.sw-about__link:hover {
  transform: translateY(-2px);
}

/*  Recent Posts List  */
.sw-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.sw-list__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding: 0.85rem 0;
}

.sw-list__item:first-child {
  padding-top: 0;
}

.sw-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sw-list__link {
  display: flex;
  gap: 0.85rem;
  text-decoration: none;
  align-items: flex-start;
  transition: all 0.25s ease;
}

.sw-list__link:hover .sw-list__headline {
  color: var(--accent);
}

.sw-list__link:hover .sw-list__thumb img {
  transform: scale(1.08);
}

.sw-list__thumb {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.sw-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.sw-list__text {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.sw-list__headline {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 0.2rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  transition: color 0.2s ease;
}

.sw-list__date {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/*  Categories Widget  */
.sw-categories {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.sw-categories__link {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  padding: .5rem .75rem;
  border-radius: .5rem;
  transition: background .2s;
  color: var(--text-dark);
}

.sw-categories__link:hover {
  background: var(--bg-warm);
}

.sw-categories__emoji {
  font-size: 1.1rem;
}

.sw-categories__name {
  flex: 1;
  font-size: .9rem;
  font-weight: 600;
  color: var(--secondary);
}

.sw-categories__count {
  background: var(--bg-wood);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: var(--radius-pill);
}

/*  Pro Tip Box  */
.sw-tip-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid var(--primary);
  border-left-width: 4px;
}

.sw-tip-box__icon {
  font-size: 1.75rem;
  margin-bottom: .5rem;
  display: block;
}

.sw-tip-box__heading {
  color: var(--secondary);
  font-size: .95rem;
  margin: 0 0 .5rem;
}

.sw-tip-box p {
  font-size: .875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/*  Newsletter Widget  */
.sw-newsletter {
  background: var(--bg-warm);
  border: 2px solid var(--bg-wood);
  text-align: center;
}

.sw-newsletter__icon {
  font-size: 2rem;
  margin-bottom: .5rem;
  display: block;
}

.sw-newsletter h3 {
  font-size: 1rem;
  margin: 0 0 .5rem;
}

.sw-newsletter p {
  font-size: .875rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.sw-newsletter .btn {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.88rem;
  box-sizing: border-box;
}

/* 
   RESPONSIVE BREAKPOINTS
 */

/* Tablet: collapse to single column, sidebar goes below */
@media (max-width: 1024px) {
  .sp-layout {
    grid-template-columns: 1fr;
    max-width: 780px;
  }

  .sp-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .sw-about {
    grid-column: 1 / -1;
  }

  .sp-related__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile: single full column */
@media (max-width: 700px) {

  /* Compact hero  stack vertically, hide thumbnail */
  .sp-hero {
    padding: 1.25rem 0;
  }

  .sp-hero__inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sp-hero__thumb {
    display: none;
  }

  /* hide image on mobile  saves space */
  .sp-hero__title {
    font-size: 1.35rem;
  }

  .sp-hero__breadcrumb-current {
    max-width: 180px;
  }

  /* Layout */
  .sp-layout {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
  }

  .sp-sidebar {
    grid-template-columns: 1fr;
  }

  .sp-content {
    padding: 1.5rem;
    font-size: 1rem;
  }

  .sp-affiliate-box,
  .sp-author-box,
  .sp-tags {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }

  .sp-author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sp-related__grid {
    grid-template-columns: 1fr;
  }

  .sp-post-nav {
    grid-template-columns: 1fr;
  }

  .sp-post-nav__next a {
    text-align: left;
  }

  .sp-toc-hint {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.5rem;
    background: var(--bg-warm);
    border-bottom: 1px solid var(--bg-wood);
    font-size: .85rem;
    color: var(--text-muted);
  }
}

/* Tablet: shrink thumbnail slightly */
@media (max-width: 900px) and (min-width: 701px) {
  .sp-hero__inner {
    gap: 1.25rem;
  }

  .sp-hero__thumb {
    width: 200px;
    height: 150px;
  }

  .sp-hero__title {
    font-size: 1.5rem;
  }
}


/* 
   SITE HEADER & NAVIGATION (Full Rebuild)
 */

/*  Sticky outer shell  */
.site-header {
  position: fixed;
  /* Keep fixed to prevent positioning jumps */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  /* Slightly more air at the top initially */
  background: transparent;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  will-change: padding, transform;
  /* Hardware acceleration hint */
}

.site-header.is-scrolled {
  padding: .55rem 0;
  background: transparent;
}

/*  The Pill Container  */
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--secondary);
  border-radius: var(--radius-pill);
  padding: var(--space-2xs) var(--space-md);
  box-shadow: 0 8px 32px rgba(59, 42, 26, .35), 0 2px 8px rgba(0, 0, 0, .12);
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  pointer-events: auto;
}

.site-header.is-scrolled .nav-container {
  padding-top: .38rem;
  padding-bottom: .38rem;
  transform: translateY(6px);
  /* Better visual weight when scrolled */
  box-shadow: 0 16px 48px rgba(26, 17, 11, .5), 0 4px 12px rgba(0, 0, 0, .2);
}

/*  Logo  */
.nav-logo {
  flex-shrink: 0;
}

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.nav-logo a:hover {
  transform: scale(1.02);
}

.nav-logo__text {
  color: var(--white);
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-logo__text strong {
  color: var(--primary);
  font-weight: 800;
}

/*  Unified Breadcrumbs  */
.woocommerce-breadcrumb {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem !important;
  font-weight: 500;
  color: rgba(59, 42, 26, 0.45);
  margin-bottom: 1.25rem !important;
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
}

.woocommerce-breadcrumb a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.woocommerce-breadcrumb a:hover {
  color: #C86433 !important;
}

.woocommerce-breadcrumb .breadcrumb-sep {
  opacity: 0.35;
  font-size: 0.9em;
  font-weight: 400;
}

.sp-summary .woocommerce-breadcrumb {
  margin-bottom: 0.75rem !important;
}

/*  Desktop Nav  */
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: .15rem;
  align-items: center;
  flex-wrap: nowrap;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  color: rgba(255, 255, 255, .75);
  font-size: .855rem;
  font-weight: 600;
  text-decoration: none;
  padding: var(--space-2xs) var(--space-sm);
  border-radius: var(--radius-pill);
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.main-navigation a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, .08);
}

/* Active / current page states */
.main-navigation .current-menu-item>a,
.main-navigation .current-menu-ancestor>a,
.main-navigation .current_page_item>a,
.main-navigation .current_page_ancestor>a {
  color: var(--primary);
  background: rgba(250, 204, 21, .13);
}

/*  Right-side Actions  */
.nav-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* CTA Pill Button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3xs);
  background: var(--primary);
  color: var(--secondary) !important;
  font-weight: 700;
  font-size: .82rem;
  padding: var(--space-2xs) var(--space-md);
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--primary-alt);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(250, 204, 21, .4);
}

/*  Hamburger Toggle  */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .1);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background .2s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, .18);
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .32s ease, opacity .25s ease, width .25s ease;
  transform-origin: center;
}

/* Animated X */
.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 
   MOBILE DRAWER
 */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 12, 7, .6);
  animation: wc-fade-in .25s ease forwards;
}

@keyframes wc-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(310px, 85vw);
  height: 100%;
  background: var(--secondary);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -6px 0 40px rgba(0, 0, 0, .3);
  animation: wc-slide-in .28s cubic-bezier(.4, 0, .2, 1) forwards;
}

@keyframes wc-slide-in {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}


/*  Mobile Drawer  */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  transition: visibility 0.4s;
}

.mobile-drawer.is-open {
  visibility: visible;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 47, 36, 0.8);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-drawer.is-open .mobile-drawer__backdrop {
  opacity: 1;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--bg-warm);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__head {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bg-wood);
}

.mobile-drawer__head .nav-logo__text {
  flex: 1;
  font-size: 1.1rem;
}

.mobile-drawer__close {
  background: var(--bg-wood);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--secondary);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.mobile-drawer__close:hover {
  background: var(--accent);
  color: var(--white);
}

.mobile-drawer__nav {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-drawer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-drawer__nav li {
  margin-bottom: 0.5rem;
}

.mobile-drawer__nav a {
  display: block;
  color: var(--secondary);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.mobile-drawer__nav a:hover,
.mobile-drawer__nav .current-menu-item>a,
.mobile-drawer__nav .current_page_item>a {
  background: var(--bg-wood);
  color: var(--primary);
  transform: translateX(8px);
}

.mobile-drawer__footer {
  padding: 1.5rem;
  border-top: 1px solid var(--bg-wood);
  background: var(--white);
}

/*  Responsive  */
@media (max-width: 900px) {
  .nav-container {
    height: 70px;
  }

  .main-navigation {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Single Post Responsive Fixes */
  .sp-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .sp-hero__meta,
  .sp-hero__byline,
  .woocommerce-breadcrumb {
    justify-content: center;
  }

  .sp-hero__thumb {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 16/9;
    margin: 0 auto;
  }

  .sp-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    padding-top: 1.5rem;
  }

  .sp-content {
    padding: 1.5rem;
  }

  .sp-affiliate-box {
    margin: 0 1.5rem 1.5rem;
    padding: 1.25rem;
  }

  .sp-tags {
    padding: 0 1.5rem 1.5rem;
  }

  .sp-author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  .sp-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .sp-nav__link {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .nav-container {
    padding: .45rem 1rem;
  }

  .nav-logo__text {
    font-size: .92rem;
  }

  .nav-cta {
    font-size: .76rem;
    padding: .35rem .8rem;
  }
}

/*  Force Emoji Font Render on Windows  */
.sp-affiliate-box__icon,
.blog-header__label,
.cat-hero__eyebrow {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important;
}

/*  About Page (Artisan Story)  */
/*  About Hero (Harmonized)  */
.about-hero {
  background: #fbf9f6;
  padding: 6.5rem 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: -100px;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.83L1.246 55.044L.416 54.215L54.627 0zM.583 0l.83.83L55.627 55.044l-.83.83L.583 0z' fill='%23C86433' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.15;
  pointer-events: none;
  animation: wc-drift 80s linear infinite;
}

.about-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.about-hero__title {
  font-size: 3.25rem;
  line-height: 1.25;
  margin-bottom: 2rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.about-hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.about-story-section {
  padding: 3rem 0 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 35% 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.about-image-column {
  position: sticky;
  top: 2rem;
}

.about-portrait-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(26, 47, 36, 0.15);
  margin-bottom: 2rem;
  position: relative;
}

.about-portrait-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  pointer-events: none;
}

.about-portrait {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-portrait-wrapper:hover .about-portrait {
  transform: scale(1.03);
}

.about-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  background: #f4efeb;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(26, 47, 36, 0.05);
}

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #C86433;
  font-family: var(--font-body);
}

.stat-label {
  font-size: 0.85rem;
  color: #3b2a1a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.about-content-column {
  padding-top: 1rem;
}

.about-prose {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
}

.about-prose p {
  margin-bottom: 1.8rem;
}

.drop-cap::first-letter {
  float: left;
  font-size: 4.5rem;
  line-height: 0.75;
  padding-top: 10px;
  padding-right: 12px;
  padding-left: 3px;
  color: #C86433;
  font-family: var(--font-body);
  font-weight: 700;
}

.about-quote {
  font-size: 1.35rem;
  font-style: italic;
  color: #3b2a1a;
  border-left: 4px solid #C86433;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  background: #f9f7f4;
  border-radius: 0 8px 8px 0;
  line-height: 1.6;
}

.about-signature {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(26, 47, 36, 0.1);
}

.signature-name {
  font-family: var(--font-body);
  font-size: 2rem;
  color: #3b2a1a;
  margin-bottom: 0.25rem;
}

.signature-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #C86433;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-column {
    position: static;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-hero__title {
    font-size: 2.5rem;
  }

  .drop-cap::first-letter {
    font-size: 3.5rem;
  }
}

/*  Contact Page  */
/*  Contact Hero (Harmonized)  */
.contact-hero {
  background: #fbf9f6;
  padding: 6.5rem 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: -100px;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.83L1.246 55.044L.416 54.215L54.627 0zM.583 0l.83.83L55.627 55.044l-.83.83L.583 0z' fill='%23C86433' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.15;
  pointer-events: none;
  animation: wc-drift 80s linear infinite;
}

.contact-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}

.contact-hero__title {
  font-size: 3.25rem;
  line-height: 1.25;
  margin-bottom: 2rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.contact-hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.contact-content-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: flex-start;
}

.contact-prose {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 3rem;
}

.contact-prose p {
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.detail-icon {
  font-size: 1.75rem;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

.detail-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  color: #1A2F24;
  margin: 0 0 0.25rem 0;
}

.detail-text {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.detail-text a {
  color: #C86433;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.detail-text a:hover {
  color: #9A4B24;
}

.contact-social {
  border-top: 1px solid rgba(26, 47, 36, 0.1);
  padding-top: 2rem;
}

.social-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1A2F24;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  color: #C86433;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: #1A2F24;
}

.contact-form-wrapper {
  background: #ffffff;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(26, 47, 36, 0.05);
  border: 1px solid rgba(26, 47, 36, 0.05);
}

.form-heading {
  font-size: 2rem;
  font-family: var(--font-body);
  color: #3b2a1a;
  margin-bottom: 0.5rem;
}

.form-subheading {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.woodcraft-contact-form .form-group {
  margin-bottom: 1.5rem;
}

.woodcraft-contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1A2F24;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.woodcraft-contact-form input[type="text"],
.woodcraft-contact-form input[type="email"],
.woodcraft-contact-form select,
.woodcraft-contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #e0dfdc;
  border-radius: 6px;
  background: #fdfdfc;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #333;
  transition: all 0.2s ease;
}

.woodcraft-contact-form input:focus,
.woodcraft-contact-form select:focus,
.woodcraft-contact-form textarea:focus {
  outline: none;
  border-color: #C86433;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200, 100, 51, 0.1);
}

.woodcraft-contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1.1rem;
  background-color: #C86433;
  color: #fff;
}

.btn-submit:hover {
  background-color: #A64E22;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-form-wrapper {
    padding: 2rem;
  }

  .contact-hero__title {
    font-size: 2.5rem;
  }
}

/* 
   BLOG & ARCHIVES (index.php / category.php)
 */

/*  Blog Header / Category Hero (Refined Artisan)  */
.blog-header,
.cat-hero {
  background: #fbf9f6;
  padding: 6.5rem 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.blog-header::before,
.cat-hero::before {
  content: '';
  position: absolute;
  inset: -100px;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.83L1.246 55.044L.416 54.215L54.627 0zM.583 0l.83.83L55.627 55.044l-.83.83L.583 0z' fill='%23C86433' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.15;
  pointer-events: none;
  animation: wc-drift 80s linear infinite;
}

.blog-header__inner,
.cat-hero__inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.blog-header__text,
.cat-hero__text {
  flex: 1.2;
}

.blog-header__promo,
.cat-hero__promo {
  flex: 0.8;
}

.blog-header__breadcrumb,
.cat-hero .woocommerce-breadcrumb {
  justify-content: flex-start;
  margin-bottom: 2rem !important;
  animation: fadeInUp 0.8s ease-out;
}

.blog-header__meta,
.cat-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.blog-header__label,
.cat-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  background: rgba(217, 119, 6, 0.05);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(217, 119, 6, 0.1);
}

.blog-header__count,
.cat-hero__count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
}

.blog-header__title,
.cat-hero__title {
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--secondary);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.blog-header__desc,
.cat-hero__desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 0 2.5rem;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.cat-hero__emoji {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  animation: wc-float 6s ease-in-out infinite;
}

@media (max-width: 900px) {

  .blog-header__inner,
  .cat-hero__inner {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .blog-header__breadcrumb,
  .cat-hero .woocommerce-breadcrumb {
    justify-content: center;
  }

  .blog-header__desc,
  .cat-hero__desc {
    margin: 0 auto;
  }

  .blog-header__promo,
  .cat-hero__promo {
    width: 100%;
  }
}

@keyframes wc-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/*  Filter Bar  */
.blog-filter-bar,
.cat-nav {
  background: var(--white);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(26, 17, 11, 0.05);
  position: sticky;
  top: 0;
  /* Adjusted in header sync */
  z-index: 90;
}

.blog-filter-bar .container,
.cat-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.blog-filter-btn,
.cat-nav__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.15rem;
  background: var(--bg-wood);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid transparent;
}

.blog-filter-btn:hover,
.cat-nav__pill:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.blog-filter-btn.active,
.cat-nav__pill.is-active {
  background: var(--secondary) !important;
  color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(26, 17, 11, 0.2);
}

/*  Blog Grid  */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 4rem 0 6rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 17, 11, 0.05);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(26, 17, 11, 0.08);
  border-color: rgba(26, 17, 11, 0.1);
}

.post-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-wood);
  display: block;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.05);
}

.post-card-image--placeholder::before {
  content: '';
  /* Default tool */
  font-size: 4rem;
  filter: grayscale(1) opacity(0.3);
}

.post-card-image:nth-child(2n) .post-card-image--placeholder::before {
  content: '';
}

.post-card-image:nth-child(3n) .post-card-image--placeholder::before {
  content: '';
}

.post-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.category-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #C86433;
  text-decoration: none;
}

.post-card-readtime {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.post-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 0.85rem;
}

.post-title a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.post-title a:hover {
  color: #C86433;
}

.post-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.post-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(26, 17, 11, 0.04);
}

.post-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: #C86433;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.read-more:hover {
  gap: 0.5rem;
}

/* Featured Post (first in category/archive) */
@media (min-width: 768px) {
  .featured-post {
    grid-column: span 2;
    flex-direction: row;
    min-height: 480px;
    background: var(--secondary);
    border: none;
  }

  .featured-post .post-card-image {
    width: 55%;
    aspect-ratio: auto;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
  }

  .featured-post .post-card-content {
    width: 45%;
    padding: 3.5rem 2.5rem;
    justify-content: center;
    color: var(--white);
  }

  .featured-post .post-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
  }

  .featured-post .post-title a {
    color: var(--white);
  }

  .featured-post .post-excerpt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  .featured-post .post-card-footer {
    border-color: rgba(255, 255, 255, 0.1);
  }

  .featured-post .post-meta {
    color: rgba(255, 255, 255, 0.4);
  }

  .featured-post .read-more {
    color: var(--primary);
  }

  /* Flip every other featured post if multiple existed, but here we just have one */
}

/*  SVGs & Icons  */
svg {
  display: inline-block;
  vertical-align: middle;
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
}

svg[stroke] {
  fill: none;
}

.site-footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.site-footer__social a {
  color: var(--white);
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-footer__social a:hover {
  opacity: 1;
  color: var(--primary);
}

.site-footer__social svg {
  width: 1.5rem;
  height: 1.5rem;
}

.pshop-hero__badge-icon,
.nav-shop-item__icon,
.mobile-drawer__item-icon,
.nav-cta__icon {
  margin-right: 0.5rem;
}

.hero-tool-icon {
  width: 1.4rem;
  height: 1.4rem;
}

/* Pagination */
.blog-pagination nav.pagination,
.blog-pagination nav.navigation {
  display: flex;
  justify-content: center;
  margin-bottom: 6rem;
}

.blog-pagination .nav-links {
  display: flex;
  gap: 0.75rem;
}

.blog-pagination .page-numbers {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-wood);
  color: var(--secondary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.blog-pagination .page-numbers:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: #C86433;
}

.blog-pagination .page-numbers.current {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
}

/* Back to site */
.shop-header__back {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(59, 42, 26, 0.5);
  text-decoration: none;
  flex-shrink: 0;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.shop-header__back:hover {
  color: #3b2a1a;
  background: rgba(59, 42, 26, 0.05);
}

.shop-header__back-icon {
  font-style: normal;
}

/* Shop logo */
.shop-header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0.35rem 0.75rem 0.35rem 0.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #5C3317, #8B5430);
  transition: opacity 0.2s;
}

.shop-header__logo:hover {
  opacity: 0.9;
}

.shop-header__logo-icon {
  font-size: 1.1rem;
}

.shop-header__logo-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1;
}

.shop-header__logo-text strong {
  color: #FACC15;
  font-weight: 800;
}

/*  Shop Pill Nav  */
.shop-pill-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.shop-pill-nav__list,
.shop-pill-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: #f5f0ea;
  border-radius: 9999px;
  padding: 0.3rem;
}

.shop-pill-nav__list li a,
.shop-pill-nav ul li a {
  display: block;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(59, 42, 26, 0.65);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}

.shop-pill-nav__list li a:hover,
.shop-pill-nav ul li a:hover,
.shop-pill-nav__list li.is-active a,
.shop-pill-nav ul li.is-active a,
.shop-pill-nav__list li.current-menu-item a,
.shop-pill-nav ul li.current-menu-item a {
  background: linear-gradient(135deg, #5C3317, #C86433);
  color: #fff;
}

/*  Shop Header Right Actions  */
.shop-header__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
}

.shop-header__action {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #3b2a1a;
  transition: background 0.2s;
  position: relative;
}

.shop-header__action:hover {
  background: rgba(59, 42, 26, 0.06);
}

.shop-header__action-icon {
  font-size: 1rem;
}

.shop-header__cart {
  position: relative;
}

.shop-header__cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #C86433;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.shop-header__mob-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(59, 42, 26, 0.15);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 1.1rem;
  cursor: pointer;
  color: #3b2a1a;
}

/* Mobile drawer */
.shop-mob-drawer {
  display: none;
  position: fixed;
  inset: 64px 0 0;
  background: #fff;
  z-index: 999;
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.shop-mob-drawer.is-open {
  transform: translateX(0);
}

.shop-mob-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-mob-nav__list li {
  border-bottom: 1px solid rgba(59, 42, 26, 0.07);
}

.shop-mob-nav__list li a {
  display: block;
  padding: 0.9rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: #3b2a1a;
  text-decoration: none;
}

@media (max-width: 820px) {
  .shop-pill-nav {
    display: none;
  }

  .shop-header__back-text {
    display: none;
  }

  .shop-header__action-label {
    display: none;
  }

  .shop-header__mob-toggle {
    display: block;
  }

  .shop-mob-drawer {
    display: block;
  }
}

/*  */
/* PREMIUM SHOP ARCHIVE                                                    */
/*  */

/*  Hero  */
.pshop-hero {
  position: relative;
  background: #fbf9f6;
  padding: 8rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(59, 42, 26, 0.08);
}

.pshop-hero__bg {
  display: none;
}

.pshop-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.pshop-hero__badge {
  display: inline-block;
  background: rgba(200, 100, 51, 0.08);
  color: #C86433;
  border: 1px solid rgba(200, 100, 51, 0.2);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.pshop-hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1a1208;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.pshop-hero__sub {
  font-size: 1.15rem;
  color: rgba(59, 42, 26, 0.6);
  line-height: 1.8;
  margin: 0 0 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Search bar */
.pshop-hero__search {
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.pshop-hero__search-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 9999px;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  box-shadow: 0 10px 30px rgba(59, 42, 26, 0.08);
  border: 1px solid rgba(59, 42, 26, 0.1);
  transition: box-shadow 0.3s ease;
}

.pshop-hero__search-wrap:focus-within {
  box-shadow: 0 14px 40px rgba(59, 42, 26, 0.12);
  border-color: rgba(200, 100, 51, 0.3);
}

.pshop-hero__search-icon {
  font-size: 1.1rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
  opacity: 0.6;
}

.pshop-hero__search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: var(--font-body);
  color: #1a1208;
  background: transparent;
}

.pshop-hero__search-input::placeholder {
  color: rgba(59, 42, 26, 0.4);
}

.pshop-hero__search-btn {
  background: #1a1208;
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
  font-family: var(--font-body);
}

.pshop-hero__search-btn:hover {
  background: #C86433;
}

/* Trust badges row */
.pshop-hero__trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(59, 42, 26, 0.5);
}

.pshop-hero__trust span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/*  Layout  */
.pshop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  padding: 3rem 0 5rem;
  align-items: flex-start;
}

@media (max-width: 960px) {
  .pshop-layout {
    grid-template-columns: 1fr;
  }
}

/*  Sidebar  */
.pshop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pshop-widget {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 10px rgba(59, 42, 26, 0.05);
  border: 1px solid rgba(59, 42, 26, 0.06);
}

.pshop-widget__title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(59, 42, 26, 0.45);
  margin: 0 0 1.1rem;
}

.pshop-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pshop-cat-item a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.18s;
}

.pshop-cat-item a:hover {
  background: rgba(200, 100, 51, 0.07);
}

.pshop-cat-item.is-active a {
  background: rgba(200, 100, 51, 0.1);
}

.pshop-cat-item.is-active .pshop-cat-item__name {
  color: #C86433;
  font-weight: 700;
}

.pshop-cat-item__icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.pshop-cat-item__name {
  font-size: 0.88rem;
  color: #3b2a1a;
  font-weight: 500;
  flex: 1;
}

.pshop-cat-item__count {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(59, 42, 26, 0.35);
  background: rgba(59, 42, 26, 0.05);
  border-radius: 9999px;
  padding: 0.1rem 0.45rem;
}

/* Price filter */
.pshop-price-filter__links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pshop-price-filter__link {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  font-size: 0.86rem;
  color: #3b2a1a;
  text-decoration: none;
  transition: background 0.18s;
}

.pshop-price-filter__link:hover {
  background: rgba(200, 100, 51, 0.07);
}

.pshop-price-filter__link--clear {
  color: rgba(59, 42, 26, 0.4);
  font-size: 0.78rem;
}

/* Promo widget */
.pshop-widget--promo {
  background: linear-gradient(135deg, #3b2a1a 0%, #5C3317 100%);
  border: none;
}

.pshop-promo-badge {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.pshop-promo-badge__icon {
  font-size: 1.5rem;
  background: rgba(250, 204, 21, 0.15);
  padding: 0.5rem;
  border-radius: 8px;
  flex-shrink: 0;
}

.pshop-promo-badge__text strong {
  display: block;
  font-size: 0.92rem;
  color: #FACC15;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.pshop-promo-badge__text span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .pshop-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .pshop-sidebar {
    grid-template-columns: 1fr;
  }
}

/*  Main Product Area  */
.pshop-main {
  min-width: 0;
}

/* Toolbar */
.pshop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(59, 42, 26, 0.08);
  gap: 1rem;
}

.pshop-toolbar .woocommerce-result-count {
  margin: 0 !important;
  font-size: 0.85rem;
  color: rgba(59, 42, 26, 0.5);
}

.pshop-toolbar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pshop-view-toggle {
  display: flex;
  gap: 0.2rem;
}

.pshop-view-btn {
  background: none;
  border: 1px solid rgba(59, 42, 26, 0.12);
  border-radius: 6px;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  color: rgba(59, 42, 26, 0.45);
  transition: all 0.18s;
}

.pshop-view-btn.is-active,
.pshop-view-btn:hover {
  background: #3b2a1a;
  color: #FACC15;
  border-color: #3b2a1a;
}

.pshop-toolbar .woocommerce-ordering select {
  border: 1px solid rgba(59, 42, 26, 0.12);
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  font-size: 0.84rem;
  font-family: var(--font-body);
  color: #3b2a1a;
  background: #fff;
}

/* Product grid in list mode */
.products--list {
  grid-template-columns: 1fr !important;
}

.products--list li.product {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
}

.products--list li.product a img {
  width: 180px !important;
  height: auto !important;
  aspect-ratio: 1 !important;
  flex-shrink: 0;
}

/* Empty state */
.pshop-empty {
  text-align: center;
  padding: 5rem 2rem;
}

.pshop-empty__icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.pshop-empty h2 {
  font-size: 1.75rem;
  color: #3b2a1a;
  margin-bottom: 0.5rem;
}

.pshop-empty p {
  color: rgba(59, 42, 26, 0.5);
  margin-bottom: 1.75rem;
}

/* Pagination */
.pshop-pagination {
  margin-top: 2.5rem;
}

.woocommerce nav.woocommerce-pagination ul {
  border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li .page-numbers {
  border-radius: 8px !important;
  border: 1px solid rgba(59, 42, 26, 0.12) !important;
  color: #3b2a1a !important;
  font-weight: 600 !important;
  padding: 0.5rem 0.85rem !important;
}

.woocommerce nav.woocommerce-pagination ul li .page-numbers.current,
.woocommerce nav.woocommerce-pagination ul li .page-numbers:hover {
  background: #C86433 !important;
  color: #fff !important;
  border-color: #C86433 !important;
}

/*  Reassurance Strip  */
.pshop-reassurance {
  background: #fff;
  border-top: 1px solid rgba(59, 42, 26, 0.08);
  padding: 3rem 0;
}

.pshop-reassurance__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 860px) {
  .pshop-reassurance__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .pshop-reassurance__grid {
    grid-template-columns: 1fr;
  }
}

.pshop-reassurance__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.pshop-reassurance__icon {
  font-size: 2rem;
}

.pshop-reassurance__item strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #3b2a1a;
}

.pshop-reassurance__item span {
  font-size: 0.82rem;
  color: rgba(59, 42, 26, 0.55);
  line-height: 1.5;
}

/* Legacy shop-body kept for non-archive WC pages */
.shop-body {
  padding: 3rem 0 5rem;
}

.shop-hero {
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-wood) 100%);
  padding: 5rem 0 3.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(59, 42, 26, 0.1);
}

.shop-hero__title {
  font-size: 3rem;
  font-weight: 700;
  color: #3b2a1a;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.shop-hero__subtitle {
  font-size: 1.2rem;
  color: rgba(59, 42, 26, 0.7);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Old shop-bar CSS kept for any pages still using it */
.shop-bar {
  display: none;
}

/* Hidden now  shop header handles nav */

/* Responsive hero text */
@media (max-width: 720px) {
  .pshop-hero__title {
    font-size: 2.25rem;
  }

  .pshop-hero {
    padding: 3.5rem 1.25rem 3rem;
  }
}




.shop-bar__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0.55rem 1.5rem;
  gap: 0;
}

/* Brand label */
.shop-bar__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
  margin-right: 1.25rem;
}

.shop-bar__brand-icon {
  font-size: 1rem;
}

.shop-bar__brand-text {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0;
}

.shop-bar__brand:hover .shop-bar__brand-text {
  color: #fff;
}

/*  CTA Box (Enhanced)  */
.cta-box {
  background: var(--secondary);
  color: var(--white);
  padding: var(--space-3xl) var(--space-xl);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(250, 204, 21, 0.08), transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  color: var(--primary);
  font-weight: 800;
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
  position: relative;
}

.cta-box p {
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  line-height: 1.6;
  position: relative;
}

.cta-box .btn {
  padding: 1.25rem 3.5rem;
  font-size: 1.15rem;
  position: relative;
}

.cta-box__deco {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  opacity: 0.8;
  display: block;
}

/*  Footer  */
.site-footer {
  background: var(--secondary);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: var(--space-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-col h3 {
  color: var(--primary);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  font-size: 0.9rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-newsletter p {
  margin-bottom: 1rem;
}

.footer-newsletter form {
  display: flex;
  gap: 0.5rem;
}

.footer-newsletter input {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: none;
  flex: 1;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
  .footer-newsletter form {
    flex-direction: column;
  }
}

/* Vertical divider */
.shop-bar__divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  margin-right: 1.25rem;
  flex-shrink: 0;
}

/* Nav links */
.shop-bar__nav {
  flex: 1;
}

.shop-bar__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
}

.shop-bar__nav ul li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.55rem 0.9rem;
  border-radius: 4px;
  display: block;
  transition: background 0.2s, color 0.2s;
}

.shop-bar__nav ul li a:hover,
.shop-bar__nav ul li.current-menu-item a {
  background: rgba(255, 255, 255, 0.1);
  color: #FACC15;
}

/* Right actions */
.shop-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.shop-bar__action {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}

.shop-bar__action:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FACC15;
}

.shop-bar__action-icon {
  font-size: 0.95rem;
}

.shop-bar__badge {
  background: #FACC15;
  color: #3b2a1a;
  font-size: 0.65rem;
  font-weight: 800;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.15rem;
}

/*  WooCommerce Shop Page Layout  */
.shop-hero {
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-wood) 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid rgba(59, 42, 26, 0.1);
}

.shop-hero__title {
  font-size: 3rem;
  font-weight: 700;
  color: #3b2a1a;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.shop-hero__subtitle {
  font-size: 1.2rem;
  color: rgba(59, 42, 26, 0.7);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

.shop-hero .woocommerce-breadcrumb {
  margin-bottom: 1.5rem !important;
}

.shop-body {
  padding: 3rem 0 5rem;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(59, 42, 26, 0.08);
}

/*  WooCommerce Artisan Card (in grid)  */
.wc-artisan-card__image {
  position: relative;
  overflow: hidden;
}

.wc-artisan-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

li.product:hover .wc-artisan-card__img {
  transform: scale(1.04);
}

.wc-artisan-card__body {
  padding: 1.1rem 1.25rem 0.75rem;
}

.wc-artisan-card__excerpt {
  font-size: 0.875rem;
  color: #666;
  margin: 0.25rem 0 0.75rem;
  line-height: 1.5;
}

.wc-artisan-card__type {
  font-size: 0.75rem;
  color: rgba(59, 42, 26, 0.55);
  display: block;
  margin-top: 0.4rem;
}

.wc-artisan-card__footer {
  padding: 0 1.25rem 1.25rem;
}

li.product .wc-artisan-card__footer .button {
  display: block !important;
  width: 100%;
  text-align: center;
}

@media (max-width: 600px) {
  .shop-bar__inner {
    flex-wrap: wrap;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }

  .shop-bar__divider {
    display: none;
  }

  .shop-bar__brand {
    width: 100%;
  }

  .shop-hero__title {
    font-size: 2rem;
  }
}

/*  Free Plans Landing Page  */
.plans-hero {
  padding: 6.5rem 0 4rem;
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
  /* Added to contain drafting animations */
}

.plans-hero::before {
  content: '';
  position: absolute;
  inset: -100px;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.83L1.246 55.044L.416 54.215L54.627 0zM.583 0l.83.83L55.627 55.044l-.83.83L.583 0z' fill='%23C86433' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  animation: wc-drift 60s linear infinite;
}

@keyframes wc-drift {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(60px, 60px);
  }
}

.lp-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.lp-eyebrow {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
}

.lp-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.lp-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.25s both;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(217, 119, 6, 0.15);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.stat-pill::before {
  content: '';
  color: var(--primary);
}

.lp-text {
  font-size: 1.35rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.plans-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 0;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.plans-check-list li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.1rem;
}

.plans-check-list li svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.lp-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  padding: 3.5rem;
  border-radius: 32px;
  box-shadow:
    0 25px 50px -12px rgba(26, 17, 11, 0.15),
    0 0 0 1px rgba(217, 119, 6, 0.1);
  position: relative;
  animation: zoomIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

.lp-card h3 {
  margin-bottom: 2rem !important;
  font-size: 1.75rem !important;
  font-weight: 850 !important;
  text-align: center;
}

.lp-form {
  display: grid;
  gap: 1.25rem;
}

.lp-form input {
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1.5px solid #F3E8D6;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.lp-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.1);
}

.lp-form button {
  padding: 1.25rem;
  font-size: 1.15rem;
  letter-spacing: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.lp-form button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  border-radius: inherit;
  z-index: -1;
  animation: btn-pulse 2.5s ease-out infinite;
  opacity: 0;
}

@keyframes btn-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.2, 1.4);
    opacity: 0;
  }
}

.lp-privacy {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1.5rem;
}

.lp-visual {
  position: relative;
  animation: fadeInLeft 1s ease-out 0.4s both;
}

.lp-image-wrapper {
  aspect-ratio: 4/5;
  background: var(--bg-wood);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 40px 40px 0 var(--primary);
  position: relative;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lp-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.plans-badge {
  position: absolute;
  bottom: -3rem;
  right: -3rem;
  background: var(--secondary);
  color: var(--white);
  padding: 2.5rem 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  animation: wc-float 6s ease-in-out infinite;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 10;
}

.plans-badge .count {
  font-size: 3rem;
  font-weight: 950;
  line-height: 1;
  color: var(--primary);
  display: block;
}

.plans-badge .label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* 
   SPLIT-HERO SYSTEM (High-Impact Pages)
 */
.split-hero-page {
  background-color: #fbf9f6;
  /* Matching .home-hero */
  position: relative;
  overflow: hidden;
  padding-top: 6.5rem;
  /* Space for fixed header */
}

.split-hero-container {
  display: flex;
  flex-direction: var(--split-direction, row);
  min-height: calc(100vh - 6.5rem);
  align-items: center;
  gap: 4rem;
  padding-bottom: 4rem;
}

.about-split-content,
.about-split-visual,
.contact-split-info,
.contact-split-form {
  flex: 1;
}

/* About Split Specialization */
.about-split-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-high-impact-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  z-index: 2;
  position: relative;
  transform: rotate(-2deg);
}

.about-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(250, 204, 21, 0.4);
  z-index: 3;
  animation: wc-float 6s ease-in-out infinite;
}

.about-stat-card-1 {
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}

.about-stat-card-2 {
  bottom: 15%;
  left: 5%;
  animation-delay: 1s;
}

@keyframes wc-float {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

/* Contact Split Specialization */
.contact-split-form-wrapper {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--bg-wood);
  position: relative;
  z-index: 5;
}

.contact-split-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-pill-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.contact-pill-item:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateX(10px);
}

.contact-pill-icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

/* Texture Overlay (Matching .home-hero pattern) */
.hero-texture-overlay {
  position: absolute;
  inset: -100px;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.83L1.246 55.044L.416 54.215L54.627 0zM.583 0l.83.83L55.627 55.044l-.83.83L.583 0z' fill='%23C86433' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
  animation: wc-drift 80s linear infinite;
}

@keyframes wc-drift {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(60px, 60px);
  }
}

/* Responsive Stacks */
@media (max-width: 992px) {
  .split-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-top: 2rem;
  }

  .about-split-visual {
    order: -1;
    margin-bottom: 2rem;
  }

  .about-high-impact-img {
    max-width: 400px;
  }

  .contact-split-info {
    text-align: left;
  }
}

/* 
   ==========================================================================
   High-Conversion 3-Step Funnel: CONVERSION OPTIMIZED
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;900&display=swap');

:root {
  --funnel-font: 'Outfit', sans-serif;
  --funnel-radius: 20px;
  --funnel-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  --funnel-transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.funnel-master {
  font-family: var(--funnel-font);
  background: #fdfdfd;
  color: #1a1a1a;
  line-height: 1.5;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.funnel-master .container {
  width: 100%;
  max-width: var(--funnel-max-width, 600px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  overflow-x: hidden;
}

/* Minimalist Step Indicator (Integrated) */
.funnel-steps-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0 0.5rem;
  margin-bottom: 0;
}

.step-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--bg-warm);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--funnel-transition);
  border: 1.5px solid var(--bg-wood);
}

.step-pill i {
  width: 20px;
  height: 20px;
  background: var(--bg-wood);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-style: normal;
  color: var(--secondary);
}

.step-pill.active {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  box-shadow: 0 8px 20px rgba(26, 17, 11, 0.2);
}

.step-pill.active i {
  background: var(--primary);
  color: var(--secondary);
}

.step-pill.completed {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}

.step-pill.completed i {
  background: var(--secondary);
  color: var(--primary);
  font-size: 0;
  /* Hide the index number */
}

.step-pill.completed i::after {
  content: '';
  font-size: 11px;
  font-weight: 900;
}

/* 
   WOODCRAFT FUNNEL  High-Conversion System
    */

:root {
  --funnel-radius: calc(20px * var(--r-scale, 1));
  --funnel-shadow: 0 20px 40px -10px rgba(26, 17, 11, 0.1);
  --funnel-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.funnel-hero {
  padding: calc(1rem * var(--hero-padding-factor, 1)) 0;
  text-align: center;
}

.funnel-master h1 {
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
  line-height: 1.05;
  color: var(--secondary);
}

.funnel-master .lead {
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.lp-card {
  background: #fff;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border-radius: var(--funnel-radius);
  box-shadow: var(--funnel-shadow);
  border: 1px solid rgba(0, 0, 0, 0.03);
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: var(--funnel-max-width, 600px);
  margin-left: auto;
  margin-right: auto;
}

.lead-social-proof {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 1.5rem;
}

/* Stage Transitions */
.funnel-stage {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--funnel-transition);
  display: none;
}

.funnel-stage.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: var(--funnel-transition);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Form Polish */
.lp-form input {
  width: 100%;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 2px solid var(--bg-wood);
  border-radius: var(--radius-md);
  font-size: 1rem;
  background: var(--bg-warm);
  transition: var(--transition-smooth);
}

.lp-form input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.btn-funnel,
.btn-upgrade {
  display: block;
  width: 100%;
  background: var(--funnel-primary, var(--primary));
  color: var(--secondary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 1.15rem;
  border-radius: 12px;
  /* Less pill-y, more modern */
  border: none;
  box-shadow: 0 8px 25px -5px rgba(217, 119, 6, 0.25);
  transition: var(--transition-smooth);
  cursor: pointer;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
}

.btn-funnel:hover,
.btn-upgrade:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -10px rgba(217, 119, 6, 0.3);
}

.btn-funnel-link {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-top: 0.5rem;
}

.btn-funnel-link:hover {
  color: var(--secondary);
  opacity: 0.8;
}

/* Step Indicator */
.funnel-steps-indicator {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
  padding: 0.5rem;
}

.step-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--bg-wood);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.step-pill.active {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.step-pill.completed {
  background: var(--primary);
  color: var(--secondary);
}

.step-pill i {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  font-style: normal;
  font-size: 0.75rem;
}

.step-pill.completed i::before {
  content: '';
}

/* OTO Section */
.funnel-heading-oto {
  font-size: 2.25rem;
  line-height: 1.2;
}

.email-success-alert {
  background: #dcfce7;
  color: #166534;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.problem-solution-box {
  background: #fff;
  border-radius: var(--funnel-radius);
  padding: 2rem;
  border: 1px solid var(--bg-wood);
  margin-bottom: 2rem;
  text-align: left;
}

.problem-headline {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--secondary);
}

.problem-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.problem-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.problem-list li::before {
  content: '';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: 900;
}

.bonus-stack-title {
  color: #999;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.bonus-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--bg-warm);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition-smooth);
  margin-bottom: 1rem;
  text-align: left;
}

.bonus-card:hover {
  transform: translateX(10px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.bonus-icon {
  font-size: 2rem;
}

.bonus-title {
  font-weight: 900;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.bonus-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.price-comparison {
  background: var(--bg-wood);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.old-price {
  display: block;
  text-decoration: line-through;
  color: #999;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.new-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
}

.price-notice {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #059669;
  margin-top: 1rem;
  letter-spacing: 0.1em;
}

.guarantee-box {
  background: #fffcf0;
  border: 1px dashed var(--accent);
  padding: 2.5rem;
  border-radius: var(--funnel-radius);
  text-align: center;
}

.guarantee-headline {
  font-weight: 900;
  font-size: 1.25rem;
}

/* Download Phase */
.funnel-heading-download {
  font-size: 2.5rem;
}

.check-icon {
  width: 64px;
  height: 64px;
  font-size: 1.5rem;
  background: #dcfce7;
  color: #166534;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.dl-section {
  background: #fff;
  border: 1px solid var(--bg-wood);
  padding: 3rem 2.5rem;
  border-radius: var(--funnel-radius);
  text-align: center;
}

.dl-section.oto-download-section {
  border: 2px solid var(--funnel-primary, var(--primary));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.dl-item-title {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  display: block;
}

.tool-grid-title {
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--secondary);
  opacity: 0.7;
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.tool-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--bg-wood);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition-smooth);
}

.tool-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tool-name {
  font-weight: 900;
  margin: 0;
  font-size: 1rem;
}

.btn-amazon {
  background: #FF9900;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-amazon:hover {
  background: #E68A00;
}

/* Global Header & Footer Sync */
.funnel-header {
  width: 100%;
  max-width: var(--funnel-max-width, 600px);
  margin-left: auto;
  margin-right: auto;
  background: transparent !important;
  border: none !important;
  padding: 0.75rem 0;
}

.funnel-header .container {
  display: flex;
  justify-content: center;
  padding: 0;
}

.branding-pill {
  background: var(--funnel-secondary, #4B3621);
  padding: 8px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.branding-pill a {
  text-decoration: none;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.branding-pill strong {
  color: var(--funnel-primary);
}

/* Minimalist Funnel Footer */
.funnel-footer-minimal {
  padding: 3rem 0;
  width: 100%;
  max-width: var(--funnel-max-width, 600px);
  margin: 0 auto;
  text-align: center;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-legal .copyright {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
  font-weight: 600;
}

.policy-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.policy-links a {
  font-size: 0.7rem;
  color: #bbb;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.policy-links a:hover {
  color: var(--funnel-secondary);
}

/* Social Proof Popup */
.social-popup {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 100px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(150%);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9999;
  border: 1px solid var(--bg-wood);
}

.social-popup.show {
  transform: translateY(0);
}

.social-popup img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.social-buyer {
  font-weight: 900;
  color: #111;
  margin-right: 4px;
}

.social-msg {
  color: #666;
  font-size: 0.85rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .funnel-hero {
    padding: 1rem 0 2rem;
  }

  .funnel-master h1 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
  }

  .funnel-master .lead {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .lp-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .step-pill span {
    display: none;
  }

  .step-pill.active span {
    display: inline-block;
  }

  .funnel-heading-oto {
    font-size: 1.75rem;
  }

  .new-price {
    font-size: 2.5rem;
  }

  .tool-card {
    flex-direction: column;
    text-align: center;
  }

  .social-popup {
    left: 1rem !important;
    right: 1rem !important;
    bottom: auto !important;
    top: 1rem !important;
    transform: translateY(-150%);
  }

  .social-popup.show {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .funnel-hero {
    padding-top: 0.25rem;
  }

  .funnel-steps-indicator {
    gap: 0.5rem;
    padding: 0.25rem 0;
  }

  .step-pill {
    padding: 0.4rem 0.6rem;
  }

  .step-pill span {
    display: none !important;
  }

  .lp-form input {
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
  }

  .btn-funnel,
  .btn-upgrade {
    padding: 1.15rem 1rem;
    font-size: 1rem;
    line-height: 1.2;
  }
}

/* Fallback for Pre-CSS load (Minimal Layout) */
.funnel-steps-indicator:not(.ready) {
  visibility: visible;
}

/* 
   CUSTOM BRAND LOGO
 */
.custom-brand-logo {
  height: var(--custom-logo-height, 54px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 
   PERFORMANCE OPTIMIZATIONS
   Improve Core Web Vitals (LCP, CLS, FID) especially on mobile
 */

/* 1. Prevent CLS from font swaps  reserve space with size-adjust */
@font-face {
  font-family: 'Inter-fallback';
  src: local('Arial');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Oswald-fallback';
  src: local('Arial Narrow'), local('Arial');
  size-adjust: 88%;
  ascent-override: 105%;
  descent-override: 27%;
}

body {
  font-family: 'Inter', 'Inter-fallback', system-ui, -apple-system, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Oswald', 'Oswald-fallback', sans-serif;
}

/* 2. Disable backdrop-filter on mobile (very GPU expensive) */
@media (max-width: 768px) {

  .category-pill-card,
  .wc-side-cart__panel,
  [style*="backdrop-filter"],
  .glass,
  .glassmorphism {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* 3. Reduce/remove animations on mobile to improve LCP and TTI */
@media (max-width: 768px) {
  .home-hero::before {
    animation: none;
    /* Remove infinite drift animation */
  }

  .artisan-badge-float {
    animation: none;
    /* Remove float animation */
  }

  .hero-image-stack,
  .hero-eyebrow,
  .home-hero h1,
  .home-hero p,
  .home-hero .btn-group {
    animation: none;
    /* Remove fadeInUp delays  show immediately */
    opacity: 1;
  }

  /* Reduce transition complexity on mobile */
  .artisan-post-card,
  .category-pill-card,
  .post-card {
    transition: box-shadow 0.2s ease;
    /* Simpler transition, no transform */
  }

  .artisan-post-card:hover,
  .category-pill-card:hover,
  .post-card:hover {
    transform: none;
    /* No translateY on touch devices */
  }
}

/* 4. Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 5. Contain layout for cards to prevent reflow spreading */
.post-card,
.artisan-post-card,
.category-pill-card {
  contain: layout style;
}

/* 6. Avoid layout shifts from images before they load */
.post-card-image,
.artisan-post-card__thumb {
  background-color: var(--bg-wood);
}

.post-card-image img,
.artisan-post-card__thumb img {
  will-change: auto;
  /* Avoid excessive GPU layers */
}

/* 7. Mobile hero: show image below fold at smaller size to reduce LCP byte size */
@media (max-width: 767px) {
  .hero-image-stack img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }

  .home-hero__visual {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* 8. Optimize paint for header on scroll */
.site-header {
  will-change: transform;
  contain: layout;
}

/* =========================================================================
   DEFINITIVE HEADER OVERLAP FIX
   ========================================================================= */
.single-product .site-main,
.post-type-archive-product .site-main,
.tax-product_cat .site-main {
  margin-top: 90px !important;
  padding-bottom: 80px !important;
}

.site-header {
  z-index: 9999 !important;
}

.single-product h2,
.single-product h3,
.single-product .woocommerce-tabs,
.single-product #tab-description,
.single-product #tab-additional_information,
.single-product #tab-reviews,
.single-product .related.products,
.single-product .upsells.products,
.post-type-archive-product .woocommerce-products-header__title {
  scroll-margin-top: 160px !important;
}

@media (max-width: 768px) {

  .single-product .site-main,
  .post-type-archive-product .site-main,
  .tax-product_cat .site-main {
    margin-top: 90px !important;
  }
}