/*
Theme Name: WOHH-test
Theme URI: https://workofherhands.com
Author: Work of Her Hands
Author URI: https://workofherhands.com
Description: Custom theme for Work of Her Hands.
Version: 1.1.0
Text Domain: wohh-test
*/

/* =========================
   0) DESIGN TOKENS / ROOT
   ========================= */
:root {
  /* Palette */
  --cozy-parchment: #f7f3ed;
  --cozy-linen: #f2ede6;
  --cozy-beige: #ede7df;
  --cozy-cream: #faf7f2;

  --cozy-green: #6b7c5d;
  --cozy-sage: #6b7c5d;
  --cozy-sage-light: #7a8a6c;
  --cozy-sage-dark: #5c6d4e;

  --cozy-brown: #d4a574;
  --cozy-dark-brown: #4a3829;

  --cozy-accent: #c17854;
  --cozy-accent-light: #d4a574;
  --cozy-accent-dark: #a86642;

  --cozy-text-primary: #3d2f22;
  --cozy-text-secondary: #5a4a3a;

  --cozy-shadow: rgba(139, 111, 71, 0.12);
  --cozy-border: rgba(107, 124, 93, 0.25);

  /* Type & Layout */
  --font-heading: "Dancing Script", cursive;
  --font-body: "Cormorant", Georgia, serif;
  --font-accent: "Cormorant", serif;

  --max-width: 1200px;
  --section-padding: 4rem 2rem;

  /* Motion */
  --float-distance: 15px;
  --float-duration: 12s;
  --sparkle-duration: 4s;
}

/* =========================
   1) RESET / BASE
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--cozy-text-primary);
  background-color: #fbf8f3;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="%23e8dcc0" opacity="0.3"/><circle cx="75" cy="75" r="0.3" fill="%23d4a574" opacity="0.2"/><circle cx="50" cy="10" r="0.4" fill="%23c17854" opacity="0.1"/><circle cx="10" cy="60" r="0.3" fill="%236b7c5d" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>'),
    linear-gradient(180deg, var(--cozy-parchment) 0%, var(--cozy-linen) 50%, var(--cozy-beige) 100%);
  background-repeat: repeat, no-repeat;
  background-size: 200px 200px, cover;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================
   2) BACKGROUND LAYERS
   ========================= */
.background-texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image: radial-gradient(circle at 25% 75%, rgba(93, 74, 55, 0.02) 0%, transparent 60%), radial-gradient(circle at 75% 25%, rgba(107, 122, 93, 0.015) 0%, transparent 65%), radial-gradient(circle at 50% 50%, rgba(139, 111, 71, 0.01) 0%, transparent 70%);
}

/* Decorative page frame */
body::before {
  content: "";
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border: 2px dashed #e2d6c3;
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
  background: radial-gradient(circle at 2rem 2rem, var(--cozy-sage) 3px, transparent 4px), radial-gradient(circle at calc(100% - 2rem) 2rem, var(--cozy-accent) 3px, transparent 4px), radial-gradient(circle at 2rem calc(100% - 2rem), var(--cozy-brown) 3px, transparent 4px),
    radial-gradient(circle at calc(100% - 2rem) calc(100% - 2rem), var(--cozy-sage) 3px, transparent 4px), repeating-linear-gradient(0deg, transparent 0 20px, rgba(107, 124, 93, 0.1) 20px 22px);
  background-size: 4rem 4rem, 4rem 4rem, 4rem 4rem, 4rem 4rem, 100% 100%;
}

/* Soft vignette */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.01) 60%, rgba(0, 0, 0, 0.03) 80%, rgba(0, 0, 0, 0.05) 100%);
}

/* Floating accents containers */
.background-accents,
.border-decorations,
.corner-accents,
.border-patterns,
.floating-elements {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

/* Border emoji ribbons */
.border-decorations::before,
.border-decorations::after,
.border-patterns::before,
.border-patterns::after {
  position: absolute;
  white-space: nowrap;
  opacity: 0.15;
  letter-spacing: 1.5rem;
  animation: float var(--float-duration) ease-in-out infinite;
  color: var(--cozy-sage);
  font-size: 1rem;
  content: "";
}

.border-decorations::before {
  content: "🌿 🧵 ✂️ 🌸 🏠  🌿 🧵 ✂️ 🌸 🏠  🌿 🧵 ✂️ 🌸 🏠";
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 1.2rem;
}

.border-decorations::after {
  content: "🌿 🧵 ✂️ 🌸 🏠  🌿 🧵 ✂️ 🌸 🏠  🌿 🧵 ✂️ 🌸 🏠";
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  color: var(--cozy-accent);
  font-size: 1.2rem;
  animation-direction: reverse;
}

.border-patterns::before {
  content: "✂️ 🌸 🏠 ✂️ 🌸 🏠 ✂️ 🌸 🏠 ✂️ 🌸 🏠 ✂️ 🌸 🏠";
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

.border-patterns::after {
  content: "🌿 💝 🧵 🌿 💝 🧵 🌿 💝 🧵 🌿 💝 🧵 🌿 💝 🧵";
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cozy-brown);
  animation-direction: reverse;
}

/* Corner accents */
.corner-accents::before,
.corner-accents::after {
  position: absolute;
  font-size: 2rem;
  opacity: 0.2;
  content: "";
  animation: float 8s ease-in-out infinite;
}
.corner-accents::before {
  content: "🌿";
  top: 2rem;
  left: 2rem;
  color: var(--cozy-sage);
}
.corner-accents::after {
  content: "🧵";
  right: 2rem;
  bottom: 2rem;
  color: var(--cozy-accent);
  animation-direction: reverse;
}

/* Page trims (top/bottom) */
.page-top-trim,
.page-bottom-trim {
  position: fixed;
  left: 0;
  width: 100%;
  height: 40px;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
  background-repeat: repeat-x;
  background-position: center;
  background-size: 60px 40px;
}
.page-top-trim {
  top: 0;
  background-image: linear-gradient(90deg, transparent 0, var(--cozy-sage) 2px, transparent 4px, transparent 16px, var(--cozy-accent) 18px, transparent 20px, transparent 32px, var(--cozy-brown) 34px, transparent 36px, transparent 48px, var(--cozy-sage) 50px, transparent 52px),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(107, 124, 93, 0.1) 8px 10px);
  border-bottom: 1px dashed rgba(107, 124, 93, 0.2);
}
.page-bottom-trim {
  bottom: 0;
  background-image: linear-gradient(90deg, transparent 0, var(--cozy-brown) 2px, transparent 4px, transparent 16px, var(--cozy-sage) 18px, transparent 20px, transparent 32px, var(--cozy-accent) 34px, transparent 36px, transparent 48px, var(--cozy-brown) 50px, transparent 52px),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(193, 120, 84, 0.1) 8px 10px);
  border-top: 1px dashed rgba(193, 120, 84, 0.2);
}

/* Background accent icons */
.background-accent {
  position: absolute;
  font-size: 4rem;
  opacity: 0.025;
  pointer-events: none;
  color: var(--cozy-sage);
  animation: float 8s ease-in-out infinite;
}
.background-accent.leaf-1 {
  top: 80px;
  left: 40px;
  font-size: 5rem;
  transform: rotate(-15deg);
}
.background-accent.thread-1 {
  top: 150px;
  right: 50px;
  font-size: 4rem;
  color: var(--cozy-accent);
  transform: rotate(25deg);
  animation-delay: 2s;
}
.background-accent.scissors-1 {
  bottom: 60px;
  left: 30px;
  font-size: 3rem;
  color: var(--cozy-brown);
  transform: rotate(-45deg);
  animation-delay: 4s;
}
.background-accent.sparkle-1 {
  top: 40%;
  left: 15%;
  font-size: 2.5rem;
  color: var(--cozy-accent);
  animation: sparkle var(--sparkle-duration) ease-in-out infinite;
}
.background-accent.leaf-2 {
  bottom: 120px;
  right: 80px;
  font-size: 4.5rem;
  transform: rotate(30deg);
  animation-delay: 1s;
}
.background-accent.flower-1 {
  top: 60%;
  right: 10%;
  font-size: 3rem;
  color: var(--cozy-brown);
  transform: rotate(45deg);
  animation-delay: 3s;
}

/* Parallax / hoverable icons (kept minimal for perf) */
.parallax-icon {
  position: absolute;
  opacity: 0.025;
  z-index: -1;
  will-change: transform;
  transition: transform 0.2s ease-out;
  pointer-events: auto;
  cursor: pointer;
}
.parallax-icon:hover {
  animation: gentle-float 1.2s ease-in-out infinite;
  opacity: 0.08;
  z-index: 1;
}

/* =========================
   3) ANIMATIONS
   ========================= */
@keyframes gentle-float {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.08);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--rotation, 0deg));
  }
  50% {
    transform: translateY(var(--float-distance)) rotate(calc(var(--rotation, 0deg) + 5deg));
  }
}
@keyframes sparkle {
  0%,
  100% {
    opacity: 0.035;
    transform: scale(1);
  }
  50% {
    opacity: 0.08;
    transform: scale(1.1);
  }
}
@keyframes gentleFloat {
  0%,
  100% {
    transform: rotate(15deg) translateY(0);
  }
  50% {
    transform: rotate(18deg) translateY(-10px);
  }
}

/* Motion reduction */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================
   4) FOCAL ILLUSTRATIONS
   ========================= */
.focal-background,
.embroidery-hoop {
  position: fixed;
  pointer-events: none;
  z-index: -3;
  opacity: 0.02;
}

.focal-background {
  bottom: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  transform: rotate(15deg);
}
.focal-background::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  animation: gentleFloat 12s ease-in-out infinite;
  background-image: repeating-linear-gradient(0deg, var(--cozy-sage) 0 2px, transparent 2px 12px), repeating-linear-gradient(90deg, var(--cozy-brown) 0 2px, transparent 2px 12px), radial-gradient(circle at 30% 30%, var(--cozy-accent) 20px, transparent 25px), radial-gradient(circle at 70% 40%, var(--cozy-sage) 15px, transparent 20px),
    radial-gradient(circle at 50% 70%, var(--cozy-brown) 18px, transparent 23px), radial-gradient(circle at 20% 80%, var(--cozy-accent) 12px, transparent 17px);
  background-size: 12px 12px, 12px 12px, 80px 80px, 90px 90px, 70px 70px, 60px 60px;
}
.focal-background::after {
  content: "🌸🌿🧵";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  line-height: 1.2;
  opacity: 0.6;
  animation: gentleFloat 15s ease-in-out infinite reverse;
}

.embroidery-hoop {
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  transform: rotate(-20deg);
  opacity: 0.015;
}
.embroidery-hoop::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 8px solid var(--cozy-brown);
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(139, 111, 71, 0.3), 0 0 30px rgba(139, 111, 71, 0.1);
}
.embroidery-hoop::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 2px dashed var(--cozy-sage);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--cozy-accent) 2px, transparent 3px), radial-gradient(circle at 60% 30%, var(--cozy-sage) 1px, transparent 2px), radial-gradient(circle at 30% 70%, var(--cozy-brown) 1.5px, transparent 2.5px);
  background-size: 20px 20px, 15px 15px, 25px 25px;
  animation: gentleFloat 18s ease-in-out infinite reverse;
}

/* =========================
   5) LAYOUT / CONTAINERS
   ========================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.main-content {
  flex: 1;
  padding: 0 2rem;
}

/* =========================
   6) HEADER / LOGO
   ========================= */
.header {
  padding: 2rem 2rem 1rem;
  text-align: center;
}
.logo-container {
  display: inline-block;
  max-width: 100%;
}
.logo-card,
.logo-container {
  background-image: none !important;
  padding: 24px;
  border-radius: 12px;
  position: relative;
  z-index: 5;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--cozy-dark-brown);
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(139, 111, 71, 0.1);
}
.custom-logo-link {
  display: inline-block;
  max-width: 100%;
}
.custom-logo {
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}

• =========================
   7) HERO
   ========================= */
.hero {
  padding: 2rem 0 4rem;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 2px solid var(--cozy-border);
  box-shadow: 0 10px 30px var(--cozy-shadow);
}
.hero-content {
  text-align: left;
}
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    text-align: center;
  }
}

.main-heading {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--cozy-dark-brown);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(139, 111, 71, 0.1);
}
.subtitle {
  font-size: 1.3rem;
  color: var(--cozy-text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* =========================
   8) WELCOME CARD
   ========================= */
.welcome-card {
  background: linear-gradient(135deg, var(--cozy-cream) 0%, var(--cozy-linen) 100%);
  border: 2px solid var(--cozy-border);
  border-radius: 20px;
  padding: 3rem;
  margin: 3rem auto;
  max-width: 800px;
  box-shadow: 0 10px 30px var(--cozy-shadow);
  position: relative;
}
.welcome-card::before {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px dashed var(--cozy-sage);
  border-radius: 15px;
  opacity: 0.4;
  pointer-events: none;
}
.card-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--cozy-dark-brown);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.card-description {
  font-size: 1.1rem;
  color: var(--cozy-text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* =========================
   9) FEATURES GRID
   ========================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.feature-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--cozy-cream);
  border-radius: 15px;
  border: 1px solid rgba(122, 132, 113, 0.2);
}
.feature-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}
.feature-item h3 {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--cozy-text-primary);
  margin-bottom: 0.8rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}
.feature-item p {
  font-size: 0.95rem;
  color: var(--cozy-text-secondary);
  line-height: 1.5;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}

/* =========================
   10) NEWSLETTER / SIGNUP
   ========================= */
.newsletter-section {
  padding: 4rem 0;
  margin: 3rem 0;
  border-radius: 25px;
  border: 2px solid var(--cozy-border);
  background: linear-gradient(135deg, var(--cozy-linen) 0%, var(--cozy-beige) 100%);
}
.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}
.newsletter-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--cozy-dark-brown);
  margin-bottom: 1rem;
  font-weight: 600;
}
.newsletter-description {
  font-size: 1.1rem;
  color: var(--cozy-text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}
.form-group {
  position: relative;
}

.name-input,
.email-input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--cozy-border);
  border-radius: 25px;
  background: var(--cozy-cream);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cozy-dark-brown);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.name-input:focus,
.email-input:focus {
  outline: none;
  border-color: var(--cozy-green);
  background: var(--cozy-parchment);
  box-shadow: 0 0 0 3px rgba(122, 132, 113, 0.1);
  transform: translateY(-1px);
}
.name-input::placeholder,
.email-input::placeholder {
  color: var(--cozy-text-secondary);
  opacity: 0.7;
  font-style: italic;
}

/* Primary CTA */
.submit-button {
  background: linear-gradient(135deg, var(--cozy-green) 0%, var(--cozy-brown) 100%);
  color: var(--cozy-cream);
  border: none;
  border-radius: 25px;
  padding: 16px 30px;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 4px 15px rgba(122, 132, 113, 0.2);
}
.submit-button:hover {
  background: linear-gradient(135deg, var(--cozy-brown) 0%, var(--cozy-dark-brown) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 132, 113, 0.3);
}
.submit-button:active {
  transform: translateY(0);
}

/* Success notice */
.form-success {
  background: rgba(122, 132, 113, 0.1);
  border: 1px solid var(--cozy-green);
  border-radius: 15px;
  padding: 2rem;
  margin-top: 1rem;
}
.form-success h3 {
  font-family: var(--font-heading);
  color: var(--cozy-dark-brown);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}
.form-success p {
  color: var(--cozy-text-secondary);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* Privacy */
.privacy-note {
  font-size: 0.9rem;
  color: var(--cozy-text-secondary);
  margin-top: 1.5rem;
  opacity: 0.8;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
.privacy-icon {
  margin-right: 0.5rem;
}

/* =========================
   11) PERSONAL MESSAGE
   ========================= */
.personal-message {
  padding: 3rem 0;
}
.message-container {
  max-width: 700px;
  margin: 0 auto;
}
.message-card {
  background: var(--cozy-cream);
  border: 2px solid var(--cozy-border);
  border-radius: 20px;
  padding: 3rem;
  border-left: 6px solid var(--cozy-green);
  box-shadow: 0 8px 25px var(--cozy-shadow);
}
.message-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--cozy-dark-brown);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
}
.message-text {
  font-size: 1.1rem;
  color: var(--cozy-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-style: italic;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
.message-signature {
  font-size: 1rem;
  color: var(--cozy-dark-brown);
  text-align: right;
  margin-top: 2rem;
}

/* =========================
   12) FOOTER
   ========================= */
.footer {
  padding: 3rem 2rem 2rem;
  text-align: center;
  border-top: 1px dashed var(--cozy-border);
  margin-top: 3rem;
}
.social-links {
  margin-bottom: 2rem;
}

/* =========================
   13) SMALL INTERACTIONS
   ========================= */
.product-main-image:hover ~ .background-accents .background-accent {
  animation-duration: 3s;
}
.product-title:hover::after {
  animation-duration: 2s;
}

/* =========================
   14) SOCIAL LINKS
   ========================= */
.social-heading {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: var(--cozy-dark-brown);
  margin-bottom: 1rem;
  font-weight: 600;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--cozy-text-secondary);
  text-decoration: none;
  background: rgba(122, 132, 113, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.social-link:hover {
  color: var(--cozy-dark-brown);
  background: rgba(122, 132, 113, 0.2);
  transform: translateY(-2px);
}
.social-icon {
  font-size: 1.2rem;
}

.footer-text {
  color: var(--cozy-text-secondary);
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
.footer-tagline {
  margin-top: 0.5rem;
  font-style: italic;
  opacity: 0.8;
}

/* Dev-only visual check */
.css-test {
  background: var(--cozy-green) !important;
  color: #fff !important;
  padding: 1rem !important;
  text-align: center !important;
  margin: 1rem 0 !important;
  border-radius: 10px !important;
  font-weight: bold !important;
}

/* =========================
   15) PRODUCT PAGE WRAPPER
   ========================= */
.product-page {
  padding: 2rem 0;
  position: relative;
}
.product-hero {
  background: radial-gradient(ellipse at center, rgba(250, 240, 220, 0.5) 0%, transparent 70%);
  padding: 2rem 0;
  position: relative;
}
.product-container {
  max-width: var(--max-width);
  margin: 2rem auto;
  padding: 3rem;
  background: #fffdf9;
  border: 2px dashed #c8b7a2;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}
.product-container::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 248, 236, 0.4) 0%, transparent 70%);
  z-index: -2;
}
.product-container::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(107, 124, 93, 0.2);
  border-radius: 15px;
  pointer-events: none;
  z-index: 1;
}

/* =========================
   16) BREADCRUMB
   ========================= */
.product-breadcrumb {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--cozy-text-secondary);
  background: rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  border: 1px dashed var(--cozy-border);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
.breadcrumb-link {
  font-weight: 600;
  color: var(--cozy-text-secondary);
  text-decoration: none;
  position: relative;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}
.breadcrumb-link:hover {
  color: var(--cozy-accent);
  text-decoration: underline wavy;
  text-underline-offset: 3px;
}
.breadcrumb-separator {
  margin: 0 0.5rem;
  color: var(--cozy-sage);
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.breadcrumb-current {
  color: var(--cozy-text-primary);
  font-weight: 700;
  font-style: italic;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* =========================
   17) PRODUCT CONTENT LAYOUT
   ========================= */
.product-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: start;
}

/* =========================
   18) IMAGES & GALLERY
   ========================= */
.product-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: auto;
  height: auto;
}
/* Enhanced Product Main Image */
.product-main-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 15px;
  border: 3px solid var(--cozy-border);
  box-shadow: 0 8px 25px var(--cozy-shadow);
  cursor: zoom-in;
  transition: all 0.3s ease;
}
.product-main-image:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px var(--cozy-shadow);
  border-color: var(--cozy-sage);
}
.product-main-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.1) 49% 51%, transparent 52%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-main-image:hover::before {
  opacity: 1;
}
.product-main-image::after {
  content: "🔍";
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.product-main-image:hover::after {
  opacity: 1;
}

.main-product-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  transition: transform 0.3s ease;
}
.product-main-image:hover .main-product-image {
  transform: scale(1.05);
}

/* Image Zoom Modal */
.image-zoom-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.image-zoom-modal.active {
  opacity: 1;
  visibility: visible;
}
.zoom-image-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.zoom-image {
  width: 100%;
  height: auto;
  display: block;
}
.close-zoom {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--cozy-text-primary);
  transition: all 0.2s ease;
}
.close-zoom:hover {
  background: white;
  transform: scale(1.1);
}

.product-placeholder {
  position: relative;
  padding: 3rem;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--cozy-cream) 0%, var(--cozy-linen) 100%);
  border: 2px dashed var(--cozy-border);
  text-align: center;
  color: var(--cozy-text-secondary);
  font-family: var(--font-heading);
  box-shadow: 0 4px 15px var(--cozy-shadow);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
.product-placeholder::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, var(--cozy-sage), var(--cozy-brown));
  border-radius: 17px;
  z-index: -1;
  opacity: 0.3;
}
.placeholder-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--cozy-sage);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  filter: brightness(1.1) saturate(1.2);
}

/* Gallery grid */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.5rem;
}
.gallery-item {
  position: relative;
  border: 2px solid var(--cozy-border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.1) 49% 51%, transparent 52%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.gallery-item:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--cozy-sage);
  box-shadow: 0 6px 20px var(--cozy-shadow);
}
.gallery-item:hover::before {
  opacity: 1;
}
.gallery-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* =========================
   19) PRODUCT DETAILS
   ========================= */
.product-details {
  padding: 1rem 0;
}
.product-title {
  position: relative;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cozy-text-primary);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.1);
}
.product-title::after {
  content: "🌿";
  margin-left: 0.5rem;
  font-size: 1.5rem;
  color: var(--cozy-sage);
  opacity: 0.7;
  display: inline-block;
  animation: softRotate 5s infinite alternate ease-in-out;
}
@keyframes softRotate {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(3deg);
  }
}

.product-price {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--cozy-cream) 0%, var(--cozy-linen) 100%);
  border: 2px dashed var(--cozy-accent);
  border-radius: 15px;
  box-shadow: 0 4px 15px var(--cozy-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-price:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--cozy-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.product-price::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.1) 49% 51%, transparent 52%);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-price:hover::before {
  opacity: 1;
}

.product-price .price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
  font-family: var(--font-accent);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cozy-text-primary);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.1);
}
.product-price .price::before {
  content: "🧺";
  font-size: 1.8rem;
  animation: gentleBounce 3s ease-in-out infinite;
}

/* Enhanced sale price styling */
.product-price .price del {
  font-size: 1.4rem;
  color: var(--cozy-text-secondary);
  opacity: 0.7;
  text-decoration: line-through;
  margin-right: 0.5rem;
}
.product-price .price ins {
  text-decoration: none;
  color: var(--cozy-accent);
  font-weight: 800;
  position: relative;
}
.product-price .price ins::after {
  content: "✨";
  margin-left: 0.3rem;
  font-size: 1rem;
  animation: sparkle 2s ease-in-out infinite alternate;
}

@keyframes gentleBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
@keyframes sparkle {
  0% {
    opacity: 0.5;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.product-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--cozy-text-secondary);
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.product-description-under-images {
  display: block;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--cozy-text-secondary);
  margin: 1.5rem 0 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid var(--cozy-border);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  min-height: auto;
  height: auto;
  overflow: visible;
  width: calc(100vw - 3rem) !important;
  max-width: calc(100% - 3rem) !important;
}

.product-description-under-images p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.product-description-under-images p:last-child {
  margin-bottom: 0;
}

.product-description-under-images em {
  font-style: italic;
  color: var(--cozy-sage);
  font-weight: 500;
}

.product-description-under-images strong {
  font-weight: 600;
  color: var(--cozy-text-primary);
}

.product-description-under-images ul {
  margin: 1rem 0;
  padding-left: 0;
  list-style: none;
}

.product-description-under-images li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.product-description-under-images li::before {
  content: "•";
  color: var(--cozy-sage);
  font-weight: bold;
  position: absolute;
  left: 0.5rem;
}

/* =========================
   20) FEATURES
   ========================= */
.product-features {
  position: relative;
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--cozy-cream) 0%, #fbf9f6 100%);
  border: 2px dashed var(--cozy-accent);
  box-shadow: 0 4px 15px var(--cozy-shadow);
}
.product-features::before {
  content: "🧵";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  opacity: 0.6;
}
.features-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--cozy-dark-brown);
  margin-bottom: 1rem;
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.3);
  padding: 1rem;
  border-radius: 10px;
  border: 1px dashed rgba(122, 132, 113, 0.2);
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.feature-item:nth-child(even) {
  background: rgba(122, 132, 113, 0.05);
}
.feature-item:hover {
  background: rgba(193, 120, 84, 0.1);
}
.feature-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--cozy-sage);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.feature-text {
  font-family: var(--font-accent);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--cozy-text-secondary);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* =========================
   21) ACTIONS
   ========================= */
.product-actions {
  margin-bottom: 2rem;
}
.add-to-cart-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 1rem;
  padding: 1rem 2rem;
  border-radius: 25px;
  border: 2px dashed transparent;
  background: linear-gradient(135deg, var(--cozy-sage) 0%, var(--cozy-sage-dark) 100%);
  color: #fff;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 15px rgba(107, 124, 93, 0.2);
}
.add-to-cart-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.add-to-cart-btn:hover::before {
  left: 100%;
}
.add-to-cart-btn:hover {
  background: linear-gradient(135deg, var(--cozy-sage-light) 0%, var(--cozy-sage) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 124, 93, 0.3);
  border-color: var(--cozy-sage-light);
}
.cart-note {
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  margin: 0;
  color: var(--cozy-text-secondary);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* =========================
   22) META
   ========================= */
.product-meta {
  position: relative;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--cozy-linen) 0%, #f9f7f2 100%);
  border: 2px dashed var(--cozy-accent);
  box-shadow: 0 4px 15px var(--cozy-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-meta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--cozy-shadow);
}
.product-meta::before {
  content: "📋";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.2rem;
  opacity: 0.7;
}

/* Add a heading for the facts sheet */
.product-meta::after {
  content: "Pattern Details";
  position: absolute;
  top: -0.8rem;
  left: 1.5rem;
  background: var(--cozy-cream);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cozy-dark-brown);
  border: 2px solid var(--cozy-accent);
  box-shadow: 0 2px 8px var(--cozy-shadow);
}
.meta-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  padding: 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(107, 124, 93, 0.15);
  font-family: var(--font-accent);
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(139, 111, 71, 0.08);
}
.meta-item:last-child {
  margin-bottom: 0;
}
.meta-item:hover {
  background: rgba(193, 120, 84, 0.15);
  transform: translateX(3px);
  box-shadow: 0 3px 10px rgba(139, 111, 71, 0.12);
}
.meta-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--cozy-dark-brown);
  font-family: var(--font-accent);
  font-size: 0.95rem;
  flex-shrink: 0;
  min-width: 120px;
}
.meta-label::before {
  content: "🌿";
  font-size: 1rem;
}

/* Special icons for specific meta fields */
.meta-item:has(.meta-label:contains("Difficulty")) .meta-label::before {
  content: "⭐";
}
.meta-item:has(.meta-label:contains("Time")) .meta-label::before {
  content: "⏱️";
}
.meta-item:has(.meta-label:contains("Stitch")) .meta-label::before {
  content: "🧵";
}
.meta-item:has(.meta-label:contains("Size")) .meta-label::before {
  content: "📏";
}
.meta-item:has(.meta-label:contains("Fabric")) .meta-label::before {
  content: "🧶";
}
.meta-item:has(.meta-label:contains("Colors")) .meta-label::before {
  content: "🎨";
}
.meta-item:has(.meta-label:contains("Hoop")) .meta-label::before {
  content: "⭕";
}
.meta-item:has(.meta-label:contains("Kit")) .meta-label::before {
  content: "📦";
}
.meta-item:has(.meta-label:contains("Perfect")) .meta-label::before {
  content: "💝";
}

/* =========================
   23) META VALUE
   ========================= */
.meta-value {
  color: var(--cozy-text-primary);
  font-weight: 500;
  text-align: right;
  line-height: 1.4;
  flex: 1;
  margin-left: 1rem;
}

/* Special styling for difficulty values */
.meta-value[data-difficulty="beginner"] {
  color: var(--cozy-sage);
  font-weight: 600;
}
.meta-value[data-difficulty="intermediate"] {
  color: var(--cozy-accent);
  font-weight: 600;
}
.meta-value[data-difficulty="advanced"] {
  color: var(--cozy-accent-dark);
  font-weight: 600;
}

/* =========================
   24) PRODUCT TABS
   ========================= */
.product-tabs {
  background: var(--cozy-linen);
  padding: 3rem 0;
  border-top: 1px dashed var(--cozy-border);
}
.tabs-container {
  background: var(--cozy-cream);
  border: 2px solid var(--cozy-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px var(--cozy-shadow);
}

/* Tab buttons */
.tab-buttons {
  display: flex;
  background: var(--cozy-beige);
  border-bottom: 2px solid var(--cozy-border);
}
.tab-button {
  flex: 1;
  padding: 1rem 2rem;
  border: none;
  border-right: 1px solid var(--cozy-border);
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cozy-text-secondary);
  background: none;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease, background 0.2s ease;
}
.tab-button:last-child {
  border-right: none;
}
.tab-button:hover {
  background: var(--cozy-cream);
  color: var(--cozy-dark-brown);
}

/* Active tab */
.tab-button.active {
  background: var(--cozy-cream);
  color: var(--cozy-dark-brown);
  position: relative;
}
.tab-button.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--cozy-accent) 0 4px, transparent 4px 8px);
}
.tab-button.active::before {
  content: "🌿";
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: var(--cozy-sage);
  animation: softRotate 6s infinite alternate ease-in-out;
}

/* Panels */
.tab-content {
  min-height: auto;
}
.tab-panel {
  display: none;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tab-panel.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tab-inner {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--cozy-text-secondary);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
.tab-inner h3 {
  font-family: var(--font-heading);
  color: var(--cozy-dark-brown);
  margin-bottom: 1rem;
}
.tab-inner p {
  margin-bottom: 1rem;
}
.tab-inner ul {
  margin: 0 0 1rem 1.5rem;
}
.tab-inner li {
  margin-bottom: 0.5rem;
}

/* =========================
   25) RESPONSIVE DESIGN
   ========================= */

/* --- Tablet & smaller desktop --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 1rem;
  }
  .main-heading {
    font-size: 3rem;
  }

  .coming-soon-card {
    padding: 2.5rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Product */
  .product-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-container {
    padding: 0 1rem;
  }
  .product-title {
    font-size: 2rem;
  }

  .tab-buttons {
    flex-direction: column;
  }
  .tab-button {
    border-right: none;
    border-bottom: 1px solid var(--cozy-border);
  }
  .tab-button:last-child {
    border-bottom: none;
  }
}

/* --- Tablet / Phablet --- */
@media (max-width: 768px) {
  :root {
    --section-padding: 2rem 1rem;
  }

  .header {
    padding: 1.5rem 1rem 1rem;
  }
  .custom-logo {
    max-width: 200px;
  }

  .main-content {
    padding: 0 1rem;
  }
  .main-heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  .subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .coming-soon-card {
    padding: 2rem 1.5rem;
    margin: 2rem 0;
  }
  .card-heading {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  .card-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .feature-item {
    padding: 1.25rem;
  }
  .feature-item h3 {
    font-size: 1.2rem;
  }
  .feature-item p {
    font-size: 0.9rem;
  }

  .newsletter-section {
    padding: 3rem 0;
    margin: 2rem 0;
  }
  .newsletter-container {
    padding: 0 1rem;
  }
  .newsletter-heading {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }
  .newsletter-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .signup-form {
    max-width: 350px;
  }

  /* Inputs – prevent zoom on iOS */
  .email-input,
  .name-input {
    padding: 12px 16px;
    font-size: 16px;
  }
}

/* =========================
   26) MOBILE TWEAKS (CONT.)
   ========================= */
@media (max-width: 768px) {
  .submit-button {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .message-card {
    padding: 2rem 1.5rem;
  }
  .message-heading {
    font-size: 1.8rem;
  }
  .message-text {
    font-size: 1rem;
  }

  /* Product page mobile */
  .product-breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
  .product-title {
    font-size: 1.8rem;
  }
  .product-price .price {
    font-size: 1.5rem;
  }
  .product-features {
    padding: 1.5rem;
  }
  .features-heading {
    font-size: 1.3rem;
  }
  .product-meta {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  .product-meta::after {
    font-size: 1rem;
    top: -0.6rem;
    left: 1rem;
    padding: 0.2rem 0.8rem;
  }
  .meta-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem;
  }
  .meta-label {
    min-width: auto;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
  }
  .meta-value {
    text-align: left;
    margin-left: 0;
    font-size: 0.9rem;
  }
  .tab-panel {
    padding: 1.5rem;
  }
  .product-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Enhanced mobile improvements */
  .product-price {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  .quantity-wrapper {
    width: 100%;
    justify-content: center;
  }
  .quantity-wrapper input[type="number"] {
    width: 100px;
  }
  .quantity-btn {
    width: 50px;
    height: 60px;
  }

  .woocommerce .product-actions .single_add_to_cart_button {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }
  .button.woh-continue {
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
  }

  .product-main-image::after {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  .zoom-image-container {
    max-width: 95vw;
    max-height: 95vh;
  }
  .close-zoom {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  /* Shop page mobile */
  .shop-title {
    font-size: 2.2rem;
  }
  .shop-subtitle {
    font-size: 1.1rem;
  }
  .product-card {
    max-width: 400px;
    margin: 0 auto;
  }
  .shop-newsletter {
    padding: 2rem 1.5rem;
  }
  .features-title {
    font-size: 2rem;
  }

  .woocommerce-product-gallery {
    max-width: 400px; /* Adjust this value as needed */
    width: 90%;
  }

}

/* =========================
   27) IMAGE ZOOM MODAL
   ========================= */
.image-zoom-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.zoom-overlay {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}
.zoomed-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.close-zoom {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cozy-cream);
  color: var(--cozy-dark-brown);
  border: 2px solid var(--cozy-border);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.close-zoom:hover {
  background: var(--cozy-linen);
  transform: scale(1.1);
}

/* =========================
   28) PRODUCT PAGE ENHANCEMENTS
   ========================= */
.main-product-image {
  cursor: zoom-in;
} /* transition set above */

.product-page {
  position: relative;
}
.product-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(circle at 20% 80%, rgba(93, 74, 55, 0.03) 0%, transparent 60%), radial-gradient(circle at 80% 20%, rgba(107, 122, 93, 0.02) 0%, transparent 60%), radial-gradient(circle at 40% 40%, rgba(139, 111, 71, 0.015) 0%, transparent 70%);
}

/* Use existing @keyframes float from earlier */
.product-features::before,
.product-meta::before {
  animation: float 6s ease-in-out infinite;
}

/* Subtle pulse for the basket icon on price */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}
.product-price .price::before {
  animation: pulse 3s ease-in-out infinite;
}

/* Handmade badge */
.product-details {
  position: relative;
  width: calc(100% - 3rem) !important;
  max-width: calc(100% - 3rem);
}
.product-details::after {
  content: "✨ Handmade with Love ✨";
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 10;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-accent);
  color: #fff;
  background: linear-gradient(135deg, var(--cozy-sage) 0%, var(--cozy-sage-light) 100%);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(107, 124, 93, 0.2);
  transform: rotate(15deg);
  opacity: 0.9;
}

/* Enhanced cart note */
.cart-note {
  background: rgba(193, 120, 84, 0.1);
  border: 2px dashed var(--cozy-accent);
  border-radius: 10px;
  padding: 0.75rem;
  margin-top: 1rem;
  font-style: italic;
  text-align: center;
  color: var(--cozy-accent-dark);
}

/* Active thumb */
.gallery-item.active {
  border-color: var(--cozy-green);
  box-shadow: 0 4px 15px var(--cozy-shadow);
}

/* =========================
   29) ACCESSIBILITY / MOTION
   ========================= */
@media (prefers-reduced-motion: reduce) {
  .image-zoom-modal {
    transition: none !important;
  }
  .close-zoom {
    transition: none !important;
  }
  .product-price .price::before {
    animation: none !important;
  }
  .quantity-btn {
    transition: none !important;
  }
  .product-main-image {
    transition: none !important;
  }
  .main-product-image {
    transition: none !important;
  }
  .woocommerce .product-actions .single_add_to_cart_button {
    transition: none !important;
  }
  .button.woh-continue {
    transition: none !important;
  }
  @keyframes gentleBounce {
    0%,
    100% {
      transform: none;
    }
  }
  @keyframes sparkle {
    0%,
    100% {
      transform: none;
      opacity: 1;
    }
  }
}

/* Loading States */
.single_add_to_cart_button.loading {
  position: relative;
  color: transparent !important;
}
.single_add_to_cart_button.loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Focus States for Accessibility */
.quantity-btn:focus,
.close-zoom:focus,
.product-main-image:focus {
  outline: 3px solid var(--cozy-sage);
  outline-offset: 2px;
}
.woocommerce .product-actions .single_add_to_cart_button:focus,
.button.woh-continue:focus {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

/* =========================
   30) PRICE FORMATTING CONSISTENCY
   ========================= */
/* Ensure all price elements display consistently */
.woocommerce .price,
.woocommerce .amount,
.product-price .price,
.main-price,
.woocommerce-Price-amount,
.woocommerce-price-suffix {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Hide price suffix if it's just showing currency again */
.woocommerce-price-suffix:empty {
  display: none;
}

/* Ensure consistent decimal alignment */
.price .woocommerce-Price-amount::after {
  content: "";
  display: inline-block;
  width: 0;
}

/* =========================
   31) WOOCOMMERCE INTEGRATION
   ========================= */
.woocommerce .product-actions .single_add_to_cart_form {
  margin: 0;
}

.woocommerce .product-actions .cart {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Enhanced Quantity Selector */
.woocommerce .product-actions .quantity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

/* Ensure quantity section has proper spacing before buttons */
.woocommerce .product-actions .quantity + .product-action-buttons,
.woocommerce .woocommerce-variation-add-to-cart .quantity + .product-action-buttons {
  margin-top: 1.5rem;
}
.woocommerce .product-actions .quantity label {
  font-family: var(--font-accent);
  font-weight: 600;
  color: var(--cozy-dark-brown);
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

/* Custom Quantity Input Container */
.quantity-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--cozy-cream);
  border: 2px solid var(--cozy-border);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--cozy-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.quantity-wrapper:hover {
  border-color: var(--cozy-sage);
  box-shadow: 0 4px 12px var(--cozy-shadow);
}

/* Quantity Input Field */
.woocommerce .product-actions .quantity input.qty,
.quantity-wrapper input[type="number"] {
  width: 80px !important;
  min-width: 80px !important;
  padding: 1rem 0.5rem;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cozy-text-primary) !important;
  border: none;
  background: transparent;
  outline: none;
  -moz-appearance: textfield; /* Firefox */
  display: block !important;
  visibility: visible !important;
}
/* Hide number input spinners */
.quantity-wrapper input[type="number"]::-webkit-outer-spin-button,
.quantity-wrapper input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Custom Quantity Buttons */
.quantity-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 50px;
  background: linear-gradient(135deg, var(--cozy-sage) 0%, var(--cozy-sage-dark) 100%);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background 0.2s ease, transform 0.1s ease;
  position: relative;
  overflow: hidden;
}
.quantity-btn:hover {
  background: linear-gradient(135deg, var(--cozy-sage-light) 0%, var(--cozy-sage) 100%);
  transform: scale(1.05);
}
.quantity-btn:active {
  transform: scale(0.95);
}
.quantity-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}
.quantity-btn:active::before {
  width: 100px;
  height: 100px;
}

.quantity-btn.minus {
  border-radius: 15px 0 0 15px;
}
.quantity-btn.plus {
  border-radius: 0 15px 15px 0;
}

/* Enhanced Action Buttons */
.product-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.woocommerce .product-actions .single_add_to_cart_button {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 1.2rem 2rem;
  border-radius: 25px;
  border: 3px solid transparent;
  background: linear-gradient(135deg, var(--cozy-sage) 0%, var(--cozy-sage-dark) 100%);
  color: #fff;
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(107, 124, 93, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.woocommerce .product-actions .single_add_to_cart_button::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}
.woocommerce .product-actions .single_add_to_cart_button::after {
  content: "🛒";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  opacity: 0.8;
  transition: transform 0.3s ease;
}
.woocommerce .product-actions .single_add_to_cart_button:hover::before {
  left: 100%;
}
.woocommerce .product-actions .single_add_to_cart_button:hover {
  background: linear-gradient(135deg, var(--cozy-sage-light) 0%, var(--cozy-sage) 100%);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(107, 124, 93, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}
.woocommerce .product-actions .single_add_to_cart_button:hover::after {
  transform: translateY(-50%) scale(1.1);
}
.woocommerce .product-actions .single_add_to_cart_button:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 124, 93, 0.25);
}

/* Secondary Button (Continue Shopping) */
.button.woh-continue {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 20px;
  border: 2px dashed var(--cozy-accent);
  background: linear-gradient(135deg, var(--cozy-cream) 0%, var(--cozy-linen) 100%);
  color: var(--cozy-text-primary);
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px var(--cozy-shadow);
}
.button.woh-continue::after {
  content: "🛍️";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0.7;
  transition: transform 0.3s ease;
}
.button.woh-continue:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--cozy-shadow);
  border-color: var(--cozy-sage);
  background: linear-gradient(135deg, var(--cozy-linen) 0%, var(--cozy-beige) 100%);
}
.button.woh-continue:hover::after {
  transform: translateY(-50%) scale(1.1);
}

/* =========================
   31) SHOP PAGE WRAPPER
   ========================= */
.shop-page {
  padding: 2rem 0;
}
.shop-hero {
  padding: 2rem 0;
  text-align: center;
}
.shop-header {
  margin-bottom: 3rem;
}

.shop-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1.2;
  color: var(--cozy-dark-brown);
  margin-bottom: 1rem;
}
.shop-subtitle {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--cozy-text-secondary);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.products-section {
  padding: 2rem 0;
}
.coming-soon-shop {
  max-width: 1000px;
  margin: 0 auto;
}
.sample-products {
  margin: 3rem 0;
}
.preview-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--cozy-dark-brown);
  text-align: center;
  margin-bottom: 2rem;
}

/* =========================
   32) PRODUCTS GRID / CARDS (SHOP CONTEXT)
   ========================= */
.shop-page .product-card {
  background: var(--cozy-cream);
  border: 2px solid var(--cozy-border);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px var(--cozy-shadow);
}
.shop-page .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--cozy-shadow);
}

.shop-page .product-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cozy-linen);
  border-bottom: 2px solid var(--cozy-border);
}
.shop-page .product-image .product-placeholder {
  color: var(--cozy-text-secondary);
  text-align: center;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
.shop-page .product-image .placeholder-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

.shop-page .product-info {
  padding: 1.5rem;
}
.shop-page .product-name {
  font-family: var(--font-heading);
  font-size: 1.3em;
  color: var(--cozy-dark-brown);
  margin-bottom: 0.5rem;
}

/* Card price/description scoped to avoid conflict with single product page */
.shop-page .product-card .product-price {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cozy-sage);
  margin-bottom: 0.75rem;
}
.shop-page .product-card .product-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--cozy-text-secondary);
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.product-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--cozy-sage) 0%, var(--cozy-brown) 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.product-link:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--cozy-brown) 0%, var(--cozy-dark-brown) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--cozy-shadow);
}
.product-link:disabled {
  background: var(--cozy-beige);
  color: var(--cozy-text-secondary);
  cursor: not-allowed;
  opacity: 0.7;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* Shop newsletter & features */
.shop-newsletter {
  background: var(--cozy-linen);
  border: 2px solid var(--cozy-border);
  border-left: 6px solid var(--cozy-sage);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  margin-top: 3rem;
}
.shop-features {
  background: var(--cozy-linen);
  padding: 4rem 0;
  margin-top: 3rem;
  border-top: 1px dashed var(--cozy-border);
}
.features-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--cozy-dark-brown);
  text-align: center;
  margin-bottom: 3rem;
}

/* =========================
   33) EXTRA MOBILE TWEAKS
   (integrated into the 768px block)
   ========================= */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 1rem 1.5rem;
  }

  .social-icons {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }
  .social-link {
    padding: 0.75rem 1.5rem;
    min-width: 150px;
    justify-content: center;
  }

  .float-icon {
    font-size: 1.5rem;
    opacity: 0.05;
  } /* less distracting on mobile */

}

/* =========================
   34) MOBILE PHONES <480px
   ========================= */
@media (max-width: 480px) {
  .header {
    padding: 1rem 0.5rem 0.5rem;
  }
  .logo-text {
    font-size: 1.8rem;
  }
  .custom-logo {
    max-width: 150px;
  }

  .main-content {
    padding: 0 0.5rem;
  }
  .main-heading {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }
  .subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  .coming-soon-card {
    padding: 1.5rem 1rem;
    margin: 1.5rem 0;
    border-radius: 15px;
  }
  .card-heading {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }
  .card-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .features-grid {
    gap: 1rem;
  }
  .feature-item {
    padding: 1rem;
  }
  .feature-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }
  .feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .feature-item p {
    font-size: 0.85rem;
  }

  .newsletter-section {
    padding: 2rem 0;
    margin: 1.5rem 0;
    border-radius: 20px;
  }
  .newsletter-container {
    padding: 0 0.5rem;
  }
  .newsletter-heading {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  .newsletter-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  .signup-form {
    max-width: 300px;
    gap: 0.8rem;
  }

  .email-input,
  .name-input {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 20px; /* iOS zoom fix */
  }
  .submit-button {
    padding: 16px 20px;
    font-size: 0.95rem;
    border-radius: 20px;
    min-height: 44px; /* iOS touch target */
  }

  .privacy-note {
    font-size: 0.8rem;
    margin-top: 1rem;
    padding: 0 0.5rem;
  }

  .personal-message {
    padding: 2rem 0;
  }
  .message-card {
    padding: 1.5rem 1rem;
    border-radius: 15px;
  }
  .message-heading {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  .message-text {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  .message-signature {
    font-size: 0.9rem;
    margin-top: 1.5rem;
  }

  .footer {
    padding: 1.5rem 0.5rem 1rem;
  }
  .social-heading {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  .social-icons {
    gap: 0.8rem;
  }
  .social-link {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    min-width: 140px;
    min-height: 44px;
  }
  .footer-text,
  .footer-tagline {
    font-size: 0.8rem;
  }

  .float-icon {
    display: none;
  } /* hide decorative floats */
}

/* =========================
   35) EXTRA SMALL <360px
   ========================= */
@media (max-width: 360px) {
  .custom-logo {
    max-width: 120px;
  }
  .header {
    padding: 0.8rem 0.5rem 0.3rem;
  }
  .main-heading {
    font-size: 1.8rem;
  }
  .coming-soon-card {
    padding: 1rem 0.8rem;
  }
}

/* =========================
   36) HOME PAGE – CATEGORIES
   ========================= */
.categories-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--cozy-linen) 0%, var(--cozy-beige) 100%);
  position: relative;
}
.categories-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 20% 20%, rgba(107, 124, 93, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(193, 120, 84, 0.02) 0%, transparent 50%);
}

.categories-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--cozy-dark-brown);
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
}
.section-subtitle {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
  font-style: italic;
  text-align: center;
  color: var(--cozy-text-secondary);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Cards */
.category-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--cozy-cream) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 2px solid var(--cozy-border);
  box-shadow: 0 8px 25px rgba(139, 111, 71, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(107, 124, 93, 0.05) 50%, transparent 70%);
  transition: opacity 0.3s ease;
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(139, 111, 71, 0.15);
  border-color: var(--cozy-sage);
}
.category-card:hover::before {
  opacity: 1;
}

.category-icon {
  display: block;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(2px 2px 4px rgba(139, 111, 71, 0.1));
}
.category-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cozy-dark-brown);
  margin-bottom: 1rem;
}
.category-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--cozy-text-secondary);
  margin-bottom: 2rem;
}
.category-link {
  display: inline-block;
  position: relative;
  z-index: 2;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--cozy-accent) 0%, var(--cozy-accent-dark) 100%);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(193, 120, 84, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.category-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 120, 84, 0.4);
  background: linear-gradient(135deg, var(--cozy-accent-dark) 0%, var(--cozy-accent) 100%);
}

/* Category images / hybrid */
.category-illustration {
  border: 2px solid var(--cozy-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--cozy-cream);
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px var(--cozy-shadow);
}
.category-illustration img {
  display: block;
  width: 100%;
  height: auto;
}

.category-photo {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 0.75rem;
  border-radius: 16px;
  border: 2px solid var(--cozy-border);
  box-shadow: 0 8px 24px var(--cozy-shadow);
}
.category-card .category-illustration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 120px;
  border-radius: 10px;
  border: 2px dashed var(--cozy-border);
  background: rgba(250, 247, 242, 0.9);
  box-shadow: 0 6px 18px var(--cozy-shadow);
}
.category-card .category-illustration img {
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .category-card .category-illustration {
    position: static;
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* =========================
   37) HOME PAGE – FEATURED
   ========================= */
.featured-section {
  padding: 4rem 0;
  background: var(--cozy-parchment);
}
.featured-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.featured-item {
  border: 2px solid var(--cozy-border);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cozy-cream) 0%, rgba(255, 255, 255, 0.9) 100%);
  box-shadow: 0 8px 25px rgba(139, 111, 71, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.featured-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(139, 111, 71, 0.15);
  border-color: var(--cozy-sage);
}

.featured-image-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(135deg, var(--cozy-linen) 0%, var(--cozy-beige) 100%);
  border-bottom: 2px solid var(--cozy-border);
  position: relative;
}
.featured-image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(45deg, transparent 0 10px, rgba(107, 124, 93, 0.03) 10px 20px);
}
.placeholder-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(2px 2px 4px rgba(139, 111, 71, 0.1));
  position: relative;
  z-index: 1;
}
.placeholder-text {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--cozy-text-secondary);
  position: relative;
  z-index: 1;
}

.featured-content {
  padding: 2rem;
}
.featured-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cozy-dark-brown);
  margin-bottom: 1rem;
}
.featured-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--cozy-text-secondary);
}
.featured-link {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border-radius: 20px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--cozy-sage) 0%, var(--cozy-sage-dark) 100%);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(107, 124, 93, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.featured-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 124, 93, 0.4);
  background: linear-gradient(135deg, var(--cozy-sage-dark) 0%, var(--cozy-sage) 100%);
}

/* =========================
   38) ABOUT
   ========================= */
.about-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--cozy-linen) 0%, var(--cozy-beige) 100%);
}
.about-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text {
  padding-right: 2rem;
}
.about-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--cozy-text-secondary);
  margin-bottom: 1.5rem;
}
.about-signature {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--cozy-border);
}
.about-signature p {
  color: var(--cozy-text-secondary);
  font-style: italic;
  margin-bottom: 0.5rem;
}
.signature-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--cozy-dark-brown);
  font-weight: 600;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-image-placeholder {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cozy-border);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--cozy-cream) 0%, var(--cozy-linen) 100%);
}
.about-image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 30% 30%, rgba(107, 124, 93, 0.05) 0%, transparent 50%), radial-gradient(circle at 70% 70%, rgba(193, 120, 84, 0.03) 0%, transparent 50%);
}
.about-image-placeholder .placeholder-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.about-image-placeholder .placeholder-text {
  color: var(--cozy-text-secondary);
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* =========================
   39) VALUES
   ========================= */
.values-section {
  padding: 4rem 0;
  background: var(--cozy-parchment);
}
.values-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-item {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--cozy-cream) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 2px solid var(--cozy-border);
  box-shadow: 0 8px 25px rgba(139, 111, 71, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.value-item::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(107, 124, 93, 0.03) 50%, transparent 70%);
  transition: opacity 0.3s ease;
}
.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(139, 111, 71, 0.15);
  border-color: var(--cozy-sage);
}
.value-item:hover::before {
  opacity: 1;
}

.value-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(2px 2px 4px rgba(139, 111, 71, 0.1));
  position: relative;
  z-index: 1;
}
.value-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cozy-dark-brown);
  margin-bottom: 1rem;
}
.value-description {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--cozy-text-secondary);
}

/* Hide Woo reset variations link */
.variations_form .reset_variations {
  display: none !important;
}

/* =========================
   40) WOO – ADD-TO-CART BLOCK & FIELDS
   ========================= */
.woocommerce div.product form.cart {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
}
/* Labels */
.product-format-label,
.product-qty-label,
.variations .label label {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.product-qty-label {
  margin: 8px 0 4px;
}

/* Inputs */
.woocommerce .variations select,
.woocommerce .quantity input.qty {
  width: 100%;
  padding: 6px 8px;
  font-size: 1rem;
  border: 1px solid var(--cozy-border);
  border-radius: 6px;
}

/* Buttons — reuse shared cart style */
.woocommerce .single_add_to_cart_button,
.button.woh-continue {
  /* Apply shared look (defined earlier as .btn-cartish) */
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 25px;
  border: 2px dashed transparent;
  background: linear-gradient(135deg, var(--cozy-sage) 0%, var(--cozy-sage-dark) 100%);
  color: #fff;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 15px rgba(107, 124, 93, 0.2);
}

/* Fixed quantity styling for digital downloads in cart */
.quantity-fixed {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--cozy-linen);
  border: 1px solid var(--cozy-accent);
  border-radius: 8px;
  font-weight: 600;
  color: var(--cozy-text-primary);
  text-align: center;
  min-width: 3rem;
}

.quantity-fixed::after {
  content: " (Digital)";
  font-size: 0.8rem;
  color: var(--cozy-text-secondary);
  font-weight: normal;
  margin-left: 0.25rem;
}
.woocommerce .single_add_to_cart_button::before,
.button.woh-continue::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.woocommerce .single_add_to_cart_button:hover::before,
.button.woh-continue:hover::before {
  left: 100%;
}
.woocommerce .single_add_to_cart_button:hover,
.button.woh-continue:hover {
  background: linear-gradient(135deg, var(--cozy-sage-light) 0%, var(--cozy-sage) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 124, 93, 0.3);
  border-color: var(--cozy-sage-light);
}
.woocommerce .single_add_to_cart_button:active,
.button.woh-continue:active {
  transform: translateY(0);
}

/* Tiny differences */
.woocommerce .single_add_to_cart_button {
  margin-bottom: 0.5rem;
}
.woocommerce a.button.woh-continue {
  text-decoration: none;
}

/* =========================
   41) RESPONSIVE (ABOUT / VALUES / FEATURED / CATEGORIES)
   ========================= */
@media (max-width: 768px) {
  .categories-grid,
  .featured-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .about-text {
    padding-right: 0;
  }

  .section-heading {
    font-size: 2rem;
  }

  .category-card,
  .featured-item,
  .value-item {
    padding: 2rem 1.5rem;
  }
}
@media (max-width: 480px) {
  .section-heading {
    font-size: 1.8rem;
  }
  .category-card,
  .featured-item,
  .value-item {
    padding: 1.5rem 1rem;
  }
  .category-icon,
  .placeholder-icon {
    font-size: 2.5rem;
  }
  .about-image-placeholder {
    height: 250px;
  }
}

/* =========================
   42) WOO CATEGORY PAGE – HERO
   ========================= */
.woocommerce-category-page {
  background: var(--cozy-parchment);
}

.category-hero {
  position: relative;
  padding: 3rem 0 2rem;
  background: linear-gradient(135deg, var(--cozy-linen) 0%, var(--cozy-beige) 100%);
}
.category-hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.category-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}
.category-thumbnail {
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 20px;
  border: 3px solid var(--cozy-border);
  box-shadow: 0 8px 25px var(--cozy-shadow);
}
.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-info {
  text-align: left;
}
.category-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600;
  color: var(--cozy-dark-brown);
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
}
.category-description {
  max-width: 600px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--cozy-text-secondary);
  margin-bottom: 1.5rem;
}

/* Breadcrumb */
.category-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}
.category-breadcrumb .breadcrumb-link {
  color: var(--cozy-sage);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.category-breadcrumb .breadcrumb-link:hover {
  color: var(--cozy-sage-dark);
}
.category-breadcrumb .breadcrumb-separator {
  color: var(--cozy-text-secondary);
  font-weight: bold;
}
.category-breadcrumb .breadcrumb-current {
  color: var(--cozy-text-primary);
  font-weight: 600;
}

/* Stitched divider */
.stitched-border {
  position: relative;
  margin-top: 2rem;
  height: 20px;
  background-image: repeating-linear-gradient(90deg, var(--cozy-sage) 0 8px, transparent 8px 16px);
}
.stitched-border::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cozy-brown);
  transform: translateY(-50%);
}

/* =========================
   43) WOO CATEGORY – FILTERS
   ========================= */
.category-filters {
  padding: 2rem 0;
  background: var(--cozy-cream);
  border-bottom: 2px solid var(--cozy-border);
}
.filters-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.filters-bar {
  padding: 1.5rem;
  border-radius: 15px;
  border: 2px solid var(--cozy-border);
  background: linear-gradient(135deg, var(--cozy-linen) 0%, var(--cozy-beige) 100%);
  box-shadow: 0 4px 15px var(--cozy-shadow);
}

/* Toggle (mobile) */
.filters-toggle {
  display: none;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-family: var(--font-body);
  color: #fff;
  background: var(--cozy-sage);
  transition: background 0.2s ease;
}
.filters-toggle:hover {
  background: var(--cozy-sage-dark);
}

.filters-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.filter-label {
  white-space: nowrap;
  font-weight: 600;
  font-family: var(--font-accent);
  color: var(--cozy-dark-brown);
}
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-option {
  display: inline-block;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  color: var(--cozy-text-primary);
  background: var(--cozy-cream);
  border: 2px solid var(--cozy-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-option:hover,
.filter-option.active {
  background: var(--cozy-sage);
  color: #fff;
  border-color: var(--cozy-sage);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(107, 124, 93, 0.3);
}

.clear-filters {
  display: inline-block;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--cozy-accent);
  transition: transform 0.2s ease, background 0.2s ease;
}
.clear-filters:hover {
  background: var(--cozy-accent-dark);
  transform: translateY(-2px);
}

/* =========================
   44) WOO CATEGORY – PRODUCTS GRID
   ========================= */
.category-products {
  padding: 3rem 0;
}
.products-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Card (category context) */
.woocommerce-category-page .product-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--cozy-cream) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 2px solid var(--cozy-border);
  box-shadow: 0 8px 25px var(--cozy-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.woocommerce-category-page .product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(45deg, transparent 30%, rgba(107, 124, 93, 0.03) 50%, transparent 70%);
  transition: opacity 0.3s ease;
}
.woocommerce-category-page .product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--cozy-shadow);
  border-color: var(--cozy-sage);
}
.woocommerce-category-page .product-card:hover::before {
  opacity: 1;
}

.woocommerce-category-page .product-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.woocommerce-category-page .product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3) 1px, transparent 1px), radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.3) 1px, transparent 1px), linear-gradient(135deg, var(--cozy-linen) 0%, var(--cozy-beige) 100%);
  background-size: 20px 20px, 20px 20px, 100% 100%;
  border: 3px solid var(--cozy-border);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.woocommerce-category-page .product-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.woocommerce-category-page .product-card:hover .product-thumbnail {
  transform: scale(1.05);
}

.woocommerce-category-page .product-placeholder {
  text-align: center;
  color: var(--cozy-text-secondary);
}
.woocommerce-category-page .product-placeholder .placeholder-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
  filter: drop-shadow(2px 2px 4px rgba(139, 111, 71, 0.1));
}
.woocommerce-category-page .product-placeholder .placeholder-text {
  font-size: 1rem;
  font-style: italic;
}

.woocommerce-category-page .product-info {
  position: relative;
  z-index: 1;
  padding: 1rem;
}
.woocommerce-category-page .product-name {
  font-family: var(--font-heading);
  font-size: 1.3em;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cozy-dark-brown);
  margin-bottom: 0.8rem;
}
.woocommerce-category-page .product-price {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cozy-sage);
  margin-bottom: 1rem;
}
.woocommerce-category-page .product-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--cozy-text-secondary);
  margin-bottom: 1.5rem;
}

.woocommerce-category-page .product-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.woocommerce-category-page .product-attribute {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  color: var(--cozy-sage-dark);
  background: rgba(107, 124, 93, 0.1);
  border: 1px solid rgba(107, 124, 93, 0.2);
}
.attribute-icon {
  font-size: 0.9rem;
}

.woocommerce-category-page .product-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--cozy-accent) 0%, var(--cozy-accent-dark) 100%);
  box-shadow: 0 4px 15px rgba(193, 120, 84, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.woocommerce-category-page .product-card:hover .product-button {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 120, 84, 0.4);
  background: linear-gradient(135deg, var(--cozy-accent-dark) 0%, var(--cozy-accent) 100%);
}
.button-arrow {
  transition: transform 0.2s ease;
}
.woocommerce-category-page .product-card:hover .button-arrow {
  transform: translateX(3px);
}

/* =========================
   45) WOO CATEGORY – EMPTY STATE
   ========================= */
.no-products-found {
  text-align: center;
  padding: 4rem 2rem;
}
.no-products-card {
  max-width: 500px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 20px;
  border: 2px solid var(--cozy-border);
  background: linear-gradient(135deg, var(--cozy-cream) 0%, var(--cozy-linen) 100%);
  box-shadow: 0 8px 25px var(--cozy-shadow);
}
.no-products-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1.5rem;
  filter: drop-shadow(2px 2px 4px rgba(139, 111, 71, 0.1));
}
.no-products-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--cozy-dark-brown);
  margin-bottom: 1rem;
}
.no-products-message {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--cozy-text-secondary);
}
.no-products-message a {
  color: var(--cozy-sage);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}
.no-products-message a:hover {
  color: var(--cozy-sage-dark);
  text-decoration: underline;
}

/* =========================
   46) CATEGORY PAGINATION
   ========================= */
.category-pagination {
  text-align: center;
  margin-top: 3rem;
}
.woocommerce-pagination {
  display: inline-block;
  padding: 1rem;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--cozy-cream) 0%, var(--cozy-linen) 100%);
  border: 2px solid var(--cozy-border);
  box-shadow: 0 4px 15px var(--cozy-shadow);
}
.woocommerce-pagination ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-pagination li {
  margin: 0;
}
.woocommerce-pagination a,
.woocommerce-pagination span {
  display: block;
  min-width: 44px;
  padding: 0.8rem 1.2rem;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  color: var(--cozy-text-primary);
  background: var(--cozy-cream);
  border: 2px solid var(--cozy-border);
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.woocommerce-pagination a:hover {
  background: var(--cozy-sage);
  color: #fff;
  border-color: var(--cozy-sage);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(107, 124, 93, 0.3);
}
.woocommerce-pagination .current {
  background: var(--cozy-sage);
  color: #fff;
  border-color: var(--cozy-sage);
}

/* =========================
   47) CATEGORY PAGE – RESPONSIVE
   ========================= */
@media (max-width: 768px) {
  .category-header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .category-thumbnail {
    margin: 0 auto;
  }
  .category-title {
    font-size: 2.5rem;
  }

  .filters-toggle {
    display: flex;
  }
  .filters-content {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--cozy-border);
  }
  .filters-content.active {
    display: flex;
  }
  .filter-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .woocommerce-category-page .product-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .woocommerce-pagination ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .category-title {
    font-size: 2rem;
  }
  .category-thumbnail {
    width: 100px;
    height: 100px;
  }
  .woocommerce-category-page .product-info {
    padding: 1.5rem;
  }
  .woocommerce-category-page .product-image {
    height: 200px;
  }
  .no-products-card {
    padding: 2rem;
  }
  .no-products-icon {
    font-size: 3rem;
  }
  .no-products-title {
    font-size: 1.5rem;
  }
}

/* =========================
   48) HOME (REDESIGN) – HERO
   ========================= */
.hero-banner {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-banner-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-banner-image {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.3) 100%);
}
.hero-content-overlay {
  position: relative;
  z-index: 3;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}
.hero-text-content {
  max-width: 800px;
  color: #fff;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-subtitle {
  font-size: 1.4rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.btn-primary,
.btn-secondary {
  padding: 1rem 2rem;
  border-radius: 25px;
  border: 2px solid transparent;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--cozy-sage) 0%, var(--cozy-sage-dark) 100%);
  box-shadow: 0 4px 15px rgba(107, 124, 93, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--cozy-sage-light) 0%, var(--cozy-sage) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 124, 93, 0.4);
}
.btn-secondary {
  color: var(--cozy-dark-brown);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-secondary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* =========================
   49) HOME – WELCOME MESSAGE
   ========================= */
.welcome-message {
  padding: 4rem 0;
  background: var(--cozy-cream);
}
.welcome-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.welcome-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--cozy-text-secondary);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* =========================
   50) HOME – FEATURED COLLECTIONS
   ========================= */
.featured-collections {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--cozy-linen) 0%, var(--cozy-beige) 100%);
}
.featured-collections-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.featured-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.featured-image-section {
  position: relative;
}
.featured-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 3px solid var(--cozy-border);
  box-shadow: 0 10px 30px var(--cozy-shadow);
}
.featured-text-section {
  padding: 2rem 0;
}
.featured-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.mini-category {
  background: var(--cozy-cream);
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--cozy-border);
  border-radius: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mini-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--cozy-shadow);
}
.mini-category .category-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.mini-category h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--cozy-dark-brown);
  margin-bottom: 0.8rem;
}
.mini-category p {
  color: var(--cozy-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.mini-category-link {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--cozy-sage) 0%, var(--cozy-brown) 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.mini-category-link:hover {
  background: linear-gradient(135deg, var(--cozy-brown) 0%, var(--cozy-dark-brown) 100%);
  transform: translateY(-2px);
}

/* =========================
   51) HOME – DAILY BREAD
   ========================= */
.daily-bread-section {
  padding: 5rem 0;
  background: var(--cozy-parchment);
}
.daily-bread-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.daily-bread-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.daily-bread-text {
  padding: 2rem 0;
}
.bread-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.bread-feature {
  background: var(--cozy-cream);
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--cozy-border);
  border-radius: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bread-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--cozy-shadow);
}
.bread-feature .feature-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.bread-feature h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--cozy-dark-brown);
  margin-bottom: 0.8rem;
}
.bread-feature p {
  color: var(--cozy-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.feature-link {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--cozy-sage) 0%, var(--cozy-brown) 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.feature-link:hover {
  background: linear-gradient(135deg, var(--cozy-brown) 0%, var(--cozy-dark-brown) 100%);
  transform: translateY(-2px);
}

.daily-bread-image {
  position: relative;
}
.bread-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 3px solid var(--cozy-border);
  box-shadow: 0 10px 30px var(--cozy-shadow);
}

/* =========================
   52) HOME (REDESIGN) – RESPONSIVE
   ========================= */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .featured-content-wrapper,
  .daily-bread-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-content-overlay {
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .btn-primary,
  .btn-secondary {
    padding: 0.9rem 1.4rem;
    font-size: 1rem;
  }
}

/* =========================
   53) ADDITIONAL CATEGORIES
   ========================= */
.additional-categories {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--cozy-linen) 0%, var(--cozy-beige) 100%);
}
.additional-categories-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.additional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.additional-card {
  background: var(--cozy-cream);
  padding: 2.5rem;
  text-align: center;
  border: 2px solid var(--cozy-border);
  border-radius: 20px;
  box-shadow: 0 4px 15px var(--cozy-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.additional-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px var(--cozy-shadow);
}
.additional-card .category-icon {
  display: block;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
.additional-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--cozy-dark-brown);
  margin-bottom: 1rem;
}
.additional-card p {
  color: var(--cozy-text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.additional-link {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--cozy-sage) 0%, var(--cozy-brown) 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.additional-link:hover {
  background: linear-gradient(135deg, var(--cozy-brown) 0%, var(--cozy-dark-brown) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 111, 71, 0.3);
}

/* =========================
   54) CATEGORY GRID – COMPACT
   ========================= */
.products-grid.products {
  list-style: none;
  margin: 0;
  padding: 0;
}
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}
@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.products-grid.products[class*="columns-"] > li {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

/* Enhanced compact card (standalone grid style) */
.product-card.enhanced-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #f4efe7;
  border: 1px solid var(--cozy-border);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(30, 20, 10, 0.07);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card.enhanced-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(30, 20, 10, 0.12);
}
.product-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.product-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #efe8de;
}
.product-image img.product-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Badges */
.skill-badge,
.format-badge {
  position: absolute;
  top: 10px;
  padding: 0.3rem 0.55rem;
  font-size: 0.8rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(3px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.skill-badge {
  left: 10px;
}
.format-badge {
  right: 10px;
}
.skill-badge.beginner {
  border: 1px solid #e6d9b8;
}
.skill-badge.intermediate {
  border: 1px solid #c9d7f0;
}

/* Compact info */
.product-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 0.9rem 1rem;
}
.product-name {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  color: #3b2f23;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: nowrap;
}
.product-pricing .main-price {
  font-weight: 700;
  color: #5a4636;
}
.product-pricing .price-context .context-text {
  font-size: 0.8rem;
  color: #7b6a58;
}
.product-description {
  font-size: 0.92rem;
  color: #6b5a48;
}

/* Hide heavy features in grid */
.woocommerce-category-page .product-features {
  display: none;
}

.product-button.enhanced-button {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  font-weight: 700;
  color: #3b2f23;
  background: #e7dac5;
  border: 1px solid var(--cozy-border);
  transition: background 0.15s ease, transform 0.15s ease;
}
.product-button.enhanced-button:hover {
  background: #ecdfcb;
  transform: translateY(-1px);
}

/* =========================
   55) ABOUT US
   ========================= */
.about-us-section {
  padding: 5rem 0;
  background: var(--cozy-cream);
}
.about-us-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-top: 3rem;
}
.about-text {
  max-width: 800px;
  margin: 0 auto;
}
.about-paragraph {
  font-size: 1.2rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--cozy-text-secondary);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* renamed to avoid clash with section 39 .value-item */
.about-value-item {
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--cozy-linen);
  border: 2px solid var(--cozy-border);
  border-radius: 20px;
  box-shadow: 0 4px 15px var(--cozy-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.about-value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--cozy-shadow);
}
.about-value-item .value-icon {
  display: block;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
.about-value-item h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--cozy-dark-brown);
  margin-bottom: 1rem;
}
.about-value-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--cozy-text-secondary);
}

/* =========================
   56) ENHANCED COLLECTION PAGE
   ========================= */
.collection-overview {
  padding: 4rem 0;
  background: var(--cozy-cream);
  border-bottom: 3px solid var(--cozy-border);
}
.overview-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.overview-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--cozy-dark-brown);
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.6);
}
.overview-description {
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--cozy-text-secondary);
}

.skill-levels,
.format-options {
  display: grid;
  gap: 2rem;
  margin: 2rem 0 3rem;
}
.skill-levels {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.format-options {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.skill-level,
.format-option {
  padding: 2.5rem 2rem;
  text-align: center;
  border: 2px solid var(--cozy-border);
  border-radius: 20px;
  box-shadow: 0 4px 15px var(--cozy-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.skill-level:hover,
.format-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--cozy-shadow);
}
.skill-level .skill-icon,
.format-option .format-icon {
  display: block;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.enhanced-card {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--cozy-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.enhanced-card:hover {
  transform: translateY(-8px);
  border-color: var(--cozy-sage);
  box-shadow: 0 15px 40px var(--cozy-shadow);
}
.enhanced-card .product-info {
  padding: 2rem;
}
.enhanced-card .product-name {
  font-size: 1.3em;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.skill-badge,
.format-badge {
  top: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.skill-badge {
  left: 1rem;
  background: linear-gradient(135deg, var(--cozy-sage) 0%, var(--cozy-sage-dark) 100%);
}
.skill-badge.beginner {
  background: linear-gradient(135deg, #7a8471 0%, #6b7562 100%);
}
.skill-badge.intermediate {
  background: linear-gradient(135deg, #8b6f47 0%, #7a5f3a 100%);
}
.format-badge {
  right: 1rem;
  background: linear-gradient(135deg, var(--cozy-brown) 0%, var(--cozy-dark-brown) 100%);
}
.format-badge.digital {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
}
.format-badge.kit {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.main-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cozy-dark-brown);
  margin-bottom: 0.3rem;
}
.price-context {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--cozy-text-secondary);
}

.enhanced-button {
  display: inline-block;
  padding: 1rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--cozy-sage) 0%, var(--cozy-sage-dark) 100%);
  box-shadow: 0 4px 15px rgba(107, 124, 93, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.enhanced-button:hover {
  background: linear-gradient(135deg, var(--cozy-sage-light) 0%, var(--cozy-sage) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 124, 93, 0.4);
}
.enhanced-button .button-text {
  margin-right: 0.5rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .overview-heading {
    font-size: 2rem;
  }
  .overview-description {
    font-size: 1.1rem;
  }
  .skill-levels,
  .format-options {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .enhanced-card .product-info {
    padding: 1.5rem;
  }
  .skill-badge,
  .format-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}
@media (max-width: 480px) {
  .skill-badge,
  .format-badge {
    position: static;
    margin-bottom: 1rem;
  }
  .enhanced-card .product-image {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* =========================
   57) ENHANCED HEADER NAVIGATION
   ========================= */
.header {
  position: relative;
  z-index: 100;
  background: linear-gradient(135deg, var(--cozy-cream) 0%, var(--cozy-linen) 100%);
  border-bottom: 3px solid var(--cozy-border);
  box-shadow: 0 4px 20px var(--cozy-shadow);
}
.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.logo-section,
.navigation-section {
  display: flex;
  justify-content: center;
  width: 100%;
}

.logo-card {
  padding: 1rem 1.5rem;
  border: 2px solid var(--cozy-border);
  border-radius: 20px;
  background: var(--cozy-parchment);
  box-shadow: 0 4px 15px var(--cozy-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--cozy-shadow);
}
.logo-text {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cozy-dark-brown);
}
.logo-tagline {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--cozy-text-secondary);
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--cozy-text-primary);
  background: var(--cozy-parchment);
  border: 2px solid var(--cozy-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.nav-link:hover {
  background: linear-gradient(135deg, var(--cozy-sage-light) 0%, var(--cozy-sage) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(107, 124, 93, 0.3);
}
.nav-link.active {
  background: linear-gradient(135deg, var(--cozy-sage) 0%, var(--cozy-sage-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(107, 124, 93, 0.4);
}

/* Mobile nav */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.5rem;
  border: none;
  background: none;
  cursor: pointer;
}
.hamburger-line {
  width: 25px;
  height: 3px;
  border-radius: 2px;
  background: var(--cozy-dark-brown);
  transition: all 0.3s ease;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 1024px) {
  .header-container {
    padding: 1.5rem;
    gap: 1.2rem;
  }
  .nav-link {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }
  .nav-text {
    display: none;
  }
  .nav-icon {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 1.5rem 1rem;
    gap: 1rem;
    position: relative;
  }

  /* Override navigation section centering for mobile */
  .navigation-section {
    justify-content: flex-start;
  }

  /* Create a simple flex container for mobile controls */
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    padding-bottom: 0 !important;
    min-height: 44px; /* Ensure adequate height for touch targets */
  }

  .mobile-menu-toggle {
    display: flex;
    position: static;
    flex-shrink: 0;
  }

  /* Position cart button on the right */
  .header .header-cart {
    position: static !important;
    right: auto !important;
    top: auto !important;
    margin: 0 !important;
    flex-shrink: 0;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    flex-direction: column;
    min-width: 280px;
    padding: 1rem 0;
    gap: 0;
    background: var(--cozy-cream);
    border: 2px solid var(--cozy-border);
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--cozy-shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 100%;
    z-index: 1000;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
    margin: 0;
  }

  .nav-link:hover {
    background: var(--cozy-sage-light);
    transform: none;
    box-shadow: none;
  }

  .nav-text {
    display: inline;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--cozy-linen);
    margin-left: 1rem;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .logo-tagline {
    font-size: 0.8rem;
  }
}

/* =========================
   MOBILE NAV TWEAKS (<=480px)
   ========================= */
@media (max-width: 480px) {
  .header-container {
    padding: 1rem 0.5rem;
    gap: 0.8rem;
  }
  .logo-card {
    padding: 0.8rem 1rem;
  }
  .logo-text {
    font-size: 1.3rem;
  }
  .nav-menu {
    min-width: 260px;
  } /* consolidated (was 240/260 in duplicates) */

  /* Ensure mobile controls maintain layout on small screens */
  .nav-container {
    justify-content: space-between;
    min-height: 40px;
  }

  /* Make cart button slightly smaller on very small screens */
  .header .cart-link {
    padding: 0.45rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* =========================
   NEWSLETTER SECTION
   ========================= */
.newsletter-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--cozy-sage-light) 0%, var(--cozy-sage) 100%);
  color: #fff;
}
.newsletter-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.newsletter-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.newsletter-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter-form .form-group {
  position: relative;
}
.newsletter-form input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  color: var(--cozy-dark-brown);
  transition: all 0.3s ease;
}
.newsletter-form input:focus {
  outline: none;
  border-color: #fff;
  background: #fff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}
.newsletter-form .submit-button {
  background: linear-gradient(135deg, var(--cozy-brown) 0%, var(--cozy-dark-brown) 100%);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.newsletter-form .submit-button:hover {
  background: linear-gradient(135deg, var(--cozy-dark-brown) 0%, #5a4428 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.success-message {
  background: rgba(255, 255, 255, 0.9);
  color: var(--cozy-dark-brown);
  padding: 2rem;
  border-radius: 20px;
  margin-top: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.success-message h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--cozy-sage-dark);
}

/* =========================
   STARTER PACK / DOWNLOADS
   ========================= */
.download-page .download-hero {
  text-align: center;
  padding: 3rem 1rem;
}
.download-page .download-title {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}
.download-page .download-intro {
  max-width: 720px;
  margin: 0 auto;
}
.download-page .download-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}
.download-page .download-items {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}
.download-page .download-items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  margin: 0.5rem 0;
}

.wohh-button {
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.wohh-button-primary {
  background: #8b6f47;
  color: #fff;
  border-color: #8b6f47;
}
.wohh-button-primary:hover {
  filter: brightness(1.05);
}

.soft-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.12), transparent);
  margin: 2rem 0;
}
.scripture {
  font-style: italic;
  opacity: 0.9;
  border-left: 4px solid rgba(139, 111, 71, 0.35);
  padding: 0.5rem 1rem;
}
.tiny-note {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.subscription-success .success-hero {
  text-align: center;
  padding: 4rem 1rem;
}
.subscription-success .download-container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.subscription-success .tiny-note {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* =========================
   SOCIAL LINKS (FOOTER ROW)
   ========================= */
.social-links {
  text-align: center;
}
.social-links .social-icons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}
.social-links .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(122, 132, 113, 0.12);
  border: 1px solid rgba(122, 132, 113, 0.25);
  text-decoration: none;
  color: #3a2e1f;
  width: auto;
  max-width: none;
}
.social-links .social-icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
}
.social-links .social-link:hover {
  background: rgba(122, 132, 113, 0.18);
  border-color: rgba(122, 132, 113, 0.45);
  transform: translateY(-1px);
}
.social-links .social-link:focus-visible {
  outline: 3px solid #8b6f47;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .social-link {
    transition: none;
  }
}

/* =========================
   NEWSLETTER – RESPONSIVE
   ========================= */
@media (max-width: 768px) {
  .newsletter-form {
    gap: 0.8rem;
  }
  .newsletter-form input,
  .newsletter-form .submit-button {
    padding: 0.8rem 1.2rem;
  }
  .newsletter-heading {
    font-size: 2rem;
  }
  .newsletter-subtitle {
    font-size: 1.1rem;
  }
}

/* =========================
   CANONICAL PRODUCTS GRID (FLEX-CENTERED)
   ========================= */
/* Center the Woo products list and create tidy rows */
ul.products-grid.products {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 2rem !important;
  justify-content: center !important; /* centers every row */
  align-content: flex-start !important; /* avoid vertical centering */
  list-style: none !important;
  margin: 0 0 3rem 0 !important;
  padding: 0 !important;
}

/* Neutralize Woo 'columns-*' floats */
ul.products-grid.products[class*="columns-"] > li {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

/* Each item: consistent card width, still responsive */
ul.products-grid.products > li {
  flex: 0 1 320px !important; /* target width; wraps as needed */
  min-width: 280px !important; /* keeps breakpoints tidy */
  max-width: 360px !important;
  display: flex !important; /* equal-height card setup */
}

/* Make each card fill its li uniformly */
ul.products-grid.products .product-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
}

/* Let the content grow and the CTA sit at the bottom */
ul.products-grid.products .product-info {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}
ul.products-grid.products .product-button,
ul.products-grid.products .product-button.enhanced-button,
ul.products-grid.products .product-link.button,
ul.products-grid.products .product-link .button {
  margin-top: auto !important;
}

/* One image sizing model — consistent aspect ratio */
ul.products-grid.products .product-image {
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
  overflow: hidden !important;
  display: block !important;
}
ul.products-grid.products .product-image img.product-thumbnail {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Mobile: single centered column */
@media (max-width: 768px) {
  ul.products-grid.products > li {
    flex-basis: 100% !important;
    max-width: 400px !important;
  }
}

/* =========================
   HEADER CART – POSITIONING
   ========================= */
/* Make the nav container a positioning context (desktop only) */
@media (min-width: 769px) {
  .main-navigation .nav-container {
    position: relative;
    padding-bottom: 3.25rem; /* reserve space for the cart button below */
  }
}

/* Move the cart button below the pills, bottom-right (desktop only) */
@media (min-width: 769px) {
  .header .header-cart {
    position: absolute;
    right: 0;
    top: calc(100% - 6px);
    margin: 0;
    z-index: 5;
  }
}

/* Button look */
.header .cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cozy-sage);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  font-family: var(--font-accent);
  font-weight: 700;
  text-decoration: none;
  border: 2px dashed transparent;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.06s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.header .cart-link:hover {
  background: var(--cozy-sage-dark);
  transform: translateY(-1px);
}

/* Count pill */
.header .cart-count {
  display: inline-block;
  min-width: 1.55em;
  padding: 0 0.45em;
  text-align: center;
  background: #fff;
  color: var(--cozy-sage);
  border-radius: 999px;
  font-size: 0.85em;
  font-weight: 800;
  border: 2px solid rgba(0, 0, 0, 0.06);
}

/* Mobile: keep it inline near the burger/menu instead of floating below */
@media (max-width: 900px) {
  .main-navigation .nav-container {
    padding-bottom: 0;
  }
}

/* For screens larger than 768px but smaller than 900px, keep cart on the right */
@media (min-width: 769px) and (max-width: 900px) {
  .header .header-cart {
    position: static;
    margin-left: auto;
  }
}

/* Shared button style */
.product-actions .single_add_to_cart_button,
.product-actions .woh-continue {
  flex: 1; /* take equal width */
  padding: 1rem 2rem;
  border-radius: 25px;
  border: 2px dashed transparent;
  background: linear-gradient(135deg, var(--cozy-sage) 0%, var(--cozy-sage-dark) 100%);
  color: #fff;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 15px rgba(107, 124, 93, 0.2);
  text-align: center;
}

/* Hover state */
.product-actions .single_add_to_cart_button:hover,
.product-actions .woh-continue:hover {
  background: linear-gradient(135deg, var(--cozy-sage-light) 0%, var(--cozy-sage) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 124, 93, 0.3);
}

/* Flex layout for buttons */
.product-actions .woocommerce-variation-add-to-cart,
.product-actions .woh-actions,
.product-action-buttons,
.woh-continue-wrapper {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Button layout for simple products */
.product-action-buttons {
  flex-direction: column;
}

.product-action-buttons .single_add_to_cart_button,
.product-action-buttons .woh-continue {
  width: 100%;
}

/* Variable product quantity and button layout */
.woocommerce-variation-add-to-cart {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.woocommerce-variation-add-to-cart .quantity {
  margin-bottom: 0.5rem;
}

/* Ensure consistent spacing for all product types */
.woocommerce .product-actions form.cart {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Make sure quantity appears before buttons in all contexts */
.woocommerce .product-actions .quantity {
  order: 1;
}

.woocommerce .product-actions .product-action-buttons,
.woocommerce .product-actions .woocommerce-variation-add-to-cart .product-action-buttons {
  order: 2;
}

/* Variable product continue button styling */
.woh-continue-wrapper {
  margin-top: 0.5rem;
}

.woh-continue-wrapper .woh-continue {
  width: 100%;
  background: linear-gradient(135deg, var(--cozy-cream) 0%, var(--cozy-linen) 100%);
  color: var(--cozy-text-primary);
  border: 2px dashed var(--cozy-accent);
}

.woh-continue-wrapper .woh-continue:hover {
  background: linear-gradient(135deg, var(--cozy-linen) 0%, var(--cozy-beige) 100%);
  border-color: var(--cozy-sage);
}

/* WooCommerce product title override */
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
  padding: 0.5em 0;
  margin: 0;
  font-size: 1.3em !important;
}
