/* Wholesome Bakes — brand colors from Logo_nobg.png */
:root {
  --pink: #f28c8c;
  --pink-dark: #e07a7a;
  --pink-glow: rgba(242, 140, 140, 0.45);
  --brown: #723a05;
  --brown-light: #b35d1e;
  --white: #ffffff;
  --cream: #fdfaf7;
  --text: #3d2a1a;
  --text-muted: #6b5344;
  --sidebar-width: 260px;
  --content-max: 960px;
  --font-heading: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 4px 24px rgba(114, 58, 5, 0.14);
  --shadow-lg: 0 12px 40px rgba(114, 58, 5, 0.18);
  --radius: 14px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --green: #2e9b52;
  --green-dark: #248042;
  --green-glow: rgba(46, 155, 82, 0.5);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 var(--pink-glow); }
  50% { box-shadow: 0 0 24px 4px var(--pink-glow); }
}

@keyframes ctaAttention {
  0%, 100% {
    box-shadow: 0 4px 16px var(--green-glow);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 28px rgba(46, 155, 82, 0.65);
    transform: scale(1.04);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brown);
  transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

a:hover {
  color: var(--brown-light);
}

/* Layout */
.site-wrapper {
  display: flex;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: linear-gradient(180deg, var(--pink) 0%, var(--pink-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 1.25rem 1.5rem;
  z-index: 100;
  box-shadow: 4px 0 32px rgba(114, 58, 5, 0.2);
}

.sidebar-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 1.75rem;
  text-decoration: none;
}

.sidebar-logo-ring {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 148px;
  height: 148px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(255, 255, 255, 0.5);
  animation: logoFloat 4s ease-in-out infinite, pulseGlow 3s ease-in-out infinite;
  transition: transform 0.3s var(--ease-out);
}

.sidebar-logo:hover .sidebar-logo-ring {
  transform: scale(1.05);
  animation-play-state: paused;
}

.sidebar-logo img {
  width: 118px;
  height: auto;
}

.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  flex: 1;
}

.sidebar-nav li {
  margin-bottom: 0.4rem;
}

.sidebar-nav a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brown);
  letter-spacing: 0.02em;
  text-align: center;
  transition: background 0.25s var(--ease-out), transform 0.2s var(--ease-out);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--white);
  color: var(--brown);
  transform: translateX(4px);
}

.sidebar-social {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  margin-bottom: 1rem;
}

.btn-social-sidebar {
  display: block;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brown);
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--brown);
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.2s var(--ease-out);
}

.btn-social-sidebar:hover {
  background: var(--brown);
  color: var(--white);
  transform: scale(1.03);
}

.sidebar-footer {
  font-size: 0.8rem;
  color: var(--brown);
  opacity: 0.9;
  line-height: 1.4;
  text-align: center;
  padding-top: 1rem;
  border-top: 2px solid rgba(114, 58, 5, 0.15);
  width: 100%;
}

.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  background: var(--white);
}

/* Centered page content */
.content-centered {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section,
.hero {
  padding-left: 2rem;
  padding-right: 2rem;
}

.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-alt {
  background: linear-gradient(135deg, var(--cream) 0%, #fff5f0 50%, var(--white) 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--brown);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin: 0 0 0.75rem;
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-tagline {
  margin-bottom: 1rem;
}

.usp {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, var(--cream) 100%);
  border: 2px solid rgba(114, 58, 5, 0.12);
  padding: 0.65rem 1.35rem;
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--brown);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.gluten-friendly-term {
  display: inline;
  padding: 0 0.2em;
  margin: 0;
  font: inherit;
  font-weight: 800;
  color: var(--brown);
  background: linear-gradient(180deg, transparent 55%, rgba(255, 230, 150, 0.85) 55%);
  border: none;
  border-bottom: 2px solid var(--brown-light);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: background 0.2s ease, color 0.2s ease;
}

.gluten-friendly-term:hover,
.gluten-friendly-term:focus-visible {
  color: var(--brown-light);
  background: rgba(255, 230, 150, 0.95);
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.toast {
  z-index: 300;
  max-width: min(92vw, 380px);
  padding: 1.25rem 2.5rem 1.25rem 1.35rem;
  background: var(--white);
  border: 3px solid var(--pink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: left;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  pointer-events: auto;
}

.toast--anchored {
  position: fixed;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}

.toast p:first-child {
  margin-bottom: 0.35rem;
  color: var(--brown);
}

.toast-close {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 50%;
  background: var(--cream);
  color: var(--brown);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.toast-close:hover {
  background: var(--pink);
}

.location-tag {
  display: block;
  font-size: 1rem;
  color: var(--brown-light);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.hero-readable {
  display: inline-block;
  max-width: 38rem;
  margin: 0.75rem auto 0;
  padding: 1rem 1.35rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.hero-readable .lead {
  margin: 0;
  color: var(--text);
}

.hero-title-block {
  margin-bottom: 0.75rem;
}

.hero-title-block h1 {
  margin: 0;
  -webkit-text-fill-color: var(--brown);
  text-shadow: none;
}

.hero-order-cta {
  margin-top: 2rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 2rem 2.5rem;
  background-color: var(--cream);
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 252, 250, 0.44) 0%,
      rgba(255, 255, 255, 0.39) 45%,
      rgba(255, 255, 255, 0.41) 100%
    ),
    url("../Assets/Product%20Images/20.jpg");
  background-size: cover;
  background-position: center 100%;
  background-repeat: no-repeat;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--pink), var(--brown-light), var(--pink)) 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shimmer 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}


.hero-inner {
  position: relative;
  z-index: 1;
}

/* Big contact CTA */
.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-light) 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(242, 140, 140, 0.25), transparent 55%);
  pointer-events: none;
}

.contact-cta-phone {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  line-height: 1.2;
  font-size: clamp(2rem, 6vw, 3.25rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
}

.contact-cta a,
.contact-cta a:hover,
.contact-cta a:focus-visible {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.contact-cta-note {
  position: relative;
  z-index: 1;
  max-width: 22rem;
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.contact-cta-note--checkout {
  max-width: none;
  margin: 0.5rem 0 0.75rem;
  color: var(--text-muted);
}

.contact-cta-email {
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  opacity: 0.95;
  word-break: break-word;
}

.contact-cta-label {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 3.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--white);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.28s var(--ease-out);
  pointer-events: none;
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(61, 42, 26, 0.55);
  cursor: pointer;
}

.contact-modal-dialog {
  position: relative;
  z-index: 1;
  width: max-content;
  max-width: min(94vw, 640px);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.28s var(--ease-out);
}

.contact-modal.is-open .contact-modal-dialog {
  transform: scale(1) translateY(0);
}

.contact-modal-close {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid var(--brown);
  border-radius: 50%;
  background: var(--white);
  color: var(--brown);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: var(--shadow);
}

.contact-modal-close:hover {
  background: var(--pink);
}

.contact-cta--modal {
  margin: 0;
  width: max-content;
  max-width: min(94vw, 640px);
  padding: 2rem 2.75rem;
  text-align: center;
}

.contact-cta--modal .contact-cta-note {
  max-width: 20rem;
}

.contact-cta--modal .contact-cta-label {
  white-space: nowrap;
}

@media (max-width: 400px) {
  .contact-cta--modal {
    padding: 1.75rem 1.25rem;
  }

  .contact-cta--modal .contact-cta-phone {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
}

.checkout-phone-link {
  display: inline;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 800;
  color: var(--brown);
  background: none;
  border: none;
  border-bottom: 2px solid var(--brown-light);
  cursor: pointer;
  text-decoration: none;
}

.checkout-phone-link:hover {
  color: var(--brown-light);
}

/* Animations on scroll / load */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .animate-in:nth-child(1) { transition-delay: 0.05s; }
.hero .animate-in:nth-child(2) { transition-delay: 0.15s; }
.hero .animate-in:nth-child(3) { transition-delay: 0.25s; }
.hero .animate-in:nth-child(4) { transition-delay: 0.35s; }
.hero .animate-in:nth-child(5) { transition-delay: 0.45s; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

button.btn {
  appearance: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-light) 100%);
  color: var(--white);
  border-color: transparent;
}

.btn-primary:hover {
  color: var(--white);
  filter: brightness(1.08);
}

.btn-outline {
  background: var(--white);
  color: var(--brown);
  border-color: var(--brown);
}

.btn-outline:hover {
  background: var(--cream);
  color: var(--brown);
}

.btn-cta {
  background: var(--green);
  color: var(--white);
  border: 2px solid var(--green-dark);
  animation: ctaAttention 2.2s ease-in-out infinite;
}

.btn-cta:hover {
  background: #34ad5c;
  border-color: var(--green-dark);
  color: var(--white);
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 32px rgba(46, 155, 82, 0.55);
}

/* Featured product rows (landing page layout) */
.section-featured {
  text-align: center;
}

.section-intro {
  max-width: 38rem;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
}

.product-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto 3.5rem;
  text-align: left;
}

.product-feature:last-child {
  margin-bottom: 0;
}

.product-feature-content {
  padding: 0.5rem 0;
}

.product-feature-content h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}

.product-feature-content p:not(.product-price) {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.product-feature-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--pink);
}

.product-feature-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.product-feature:hover .product-feature-media img {
  transform: scale(1.04);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brown-light);
  margin: 0.25rem 0 0.75rem;
}

/* Baker spotlight */
.baker-spotlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.baker-spotlight img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--pink);
  width: 100%;
  max-width: min(100%, 480px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s var(--ease-out);
}

.baker-spotlight:hover img {
  transform: scale(1.02) rotate(-0.5deg);
}

/* CTA block */
.cta-block {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, var(--brown) 0%, #5a2e04 50%, var(--brown-light) 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(242, 140, 140, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-block h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-block p {
  margin: 0 auto 1.5rem;
  opacity: 0.95;
  max-width: 36rem;
  position: relative;
}

.cta-block .btn-cta {
  position: relative;
}

/* Cart badge */
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  margin-left: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--brown);
  color: var(--white);
  border-radius: 999px;
}

.cart-badge[hidden] {
  display: none;
}

.cart-badge--inline {
  margin-left: 0.5rem;
}

.sidebar-cart-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Sticky cart button */
.sticky-cart-btn {
  position: fixed;
  z-index: 150;
  bottom: 1.25rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--white);
  background: var(--green);
  border: 2px solid var(--green-dark);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(46, 155, 82, 0.5);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.25s var(--ease-out);
  pointer-events: none;
}

.sticky-cart-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cart-btn[hidden] {
  display: none !important;
}

.sticky-cart-btn:hover,
.sticky-cart-btn:focus-visible {
  color: var(--white);
  background: #34ad5c;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(46, 155, 82, 0.6);
  outline: none;
}

.sticky-cart-btn:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

/* Catalogue */
.catalogue-toolbar {
  margin-bottom: 2rem;
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.catalogue-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid rgba(114, 58, 5, 0.08);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.catalogue-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.catalogue-card-image {
  border-bottom: 4px solid var(--pink);
  overflow: hidden;
}

.catalogue-card-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out), opacity 0.45s var(--ease-out);
}

.catalogue-card-image--rotator {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--cream);
}

.catalogue-card-image--rotator img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  opacity: 0;
}

.catalogue-card-image--rotator img.is-active {
  opacity: 1;
}

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

.catalogue-card:hover .catalogue-card-image--rotator img {
  transform: none;
}

.catalogue-card:hover .catalogue-card-image--rotator img.is-active {
  transform: scale(1.05);
}

.catalogue-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.catalogue-card-body h3 {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.catalogue-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 0.65rem;
}

.catalogue-price {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--brown-light);
  margin: 0 0 1rem;
}

.catalogue-price span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.catalogue-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.qty-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown);
}

.catalogue-qty {
  width: 3.5rem;
  padding: 0.4rem 0.5rem;
  border: 2px solid var(--pink);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-body);
  margin-left: 0.25rem;
}

.catalogue-add {
  flex: 1;
  min-width: 120px;
}

.catalogue-options {
  margin: 0 0 1rem;
}

.catalogue-fieldset {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 2px solid rgba(114, 58, 5, 0.1);
  border-radius: 10px;
  background: var(--cream);
}

.catalogue-fieldset legend {
  padding: 0 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.catalogue-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
}

.catalogue-choice:last-child {
  margin-bottom: 0;
}

.catalogue-choice input {
  margin-top: 0.2rem;
  accent-color: var(--brown);
}

#featured-products .product-feature {
  margin-bottom: 3.5rem;
}

#featured-products .product-feature:last-child {
  margin-bottom: 0;
}

/* Checkout */
.checkout-empty {
  max-width: 28rem;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

.checkout-summary {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.checkout-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.checkout-line {
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 2px solid var(--cream);
}

.checkout-line-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--pink);
}

.checkout-line-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.checkout-line-details strong {
  font-family: var(--font-heading);
  color: var(--brown);
}

.checkout-line-details span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.checkout-line-total {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--brown-light);
  white-space: nowrap;
}

.checkout-remove {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: var(--cream);
  color: var(--brown);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.checkout-remove:hover {
  background: var(--pink);
  color: var(--brown);
}

.checkout-estimated {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.checkout-message {
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
  border: 3px solid var(--pink);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.checkout-message p {
  margin: 0 0 0.75rem;
}

.checkout-message p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

.checkout-message a {
  color: var(--brown);
  font-weight: 800;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.checkout-form {
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
  border: 3px solid var(--pink);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}

.checkout-form-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--brown);
  margin: 0 0 0.5rem;
  text-align: center;
}

.checkout-form-lead {
  margin: 0 0 1.25rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.checkout-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.checkout-field {
  margin-bottom: 1rem;
}

.checkout-field label,
.checkout-field legend {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.35rem;
}

.checkout-fieldset {
  border: none;
  margin: 0 0 1rem;
  padding: 0;
}

.checkout-fieldset legend {
  padding: 0;
}

.checkout-field input[type="text"],
.checkout-field input[type="tel"],
.checkout-field input[type="email"],
.checkout-field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 2px solid var(--pink);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--brown);
  box-sizing: border-box;
}

.checkout-field textarea {
  resize: vertical;
  min-height: 4.5rem;
}

.checkout-field input:focus,
.checkout-field textarea:focus {
  outline: none;
  border-color: var(--brown-light);
  box-shadow: 0 0 0 3px rgba(196, 120, 90, 0.2);
}

.checkout-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  cursor: pointer;
}

.checkout-radio input {
  accent-color: var(--brown-light);
}

.checkout-required {
  color: var(--brown-light);
}

.checkout-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.checkout-error {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #fff0f0;
  border: 2px solid #e8a0a0;
  color: #8b3030;
  font-size: 0.95rem;
  text-align: center;
}

.checkout-success {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.checkout-success .checkout-message {
  margin-bottom: 1.5rem;
}

.checkout-success .checkout-message a {
  color: var(--brown);
  font-weight: 800;
}

/* Gallery slideshow (legacy) */
.slideshow {
  max-width: 920px;
  margin: 0 auto;
}

.slideshow-main-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.slideshow-main {
  flex: 1;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--pink);
  background: var(--cream);
  aspect-ratio: 16 / 10;
  position: relative;
}

.slideshow-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s var(--ease-out);
}

.slideshow-main img.is-fading {
  opacity: 0;
}

.slideshow-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--brown);
  background: var(--white);
  color: var(--brown);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.slideshow-arrow:hover {
  background: var(--brown);
  color: var(--white);
  transform: scale(1.08);
}

.slideshow-dock {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  padding: 0 0.5rem;
}

.slideshow-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 10px;
  background: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  opacity: 0.65;
}

.slideshow-dock-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.slideshow-dock-item .dock-thumb {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--cream);
}

.slideshow-dock-item.is-prev .dock-thumb,
.slideshow-dock-item.is-next .dock-thumb {
  width: 72px;
  height: 72px;
}

.slideshow-dock-item.is-current {
  opacity: 1;
  border-color: var(--brown);
  transform: scale(1.05);
}

.slideshow-dock-item.is-current .dock-thumb {
  width: 110px;
  height: 110px;
  border: 3px solid var(--pink);
}

.slideshow-dock-item:hover {
  opacity: 1;
  transform: translateY(-4px);
}

.dock-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brown-light);
}

.slideshow-dock-item.is-current .dock-label {
  color: var(--brown);
}

.slideshow-counter {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About */
.about-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.about-photo-main {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--brown);
  max-width: 420px;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s var(--ease-out);
}

.about-photo-main:hover {
  transform: scale(1.02);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.events-grid img {
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--pink);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.events-grid img:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}

.bio-placeholder {
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid rgba(114, 58, 5, 0.1);
  box-shadow: var(--shadow);
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
}

.page-header {
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--pink), var(--brown-light)) 1;
}

.page-header .lead,
.page-header .usp {
  margin-left: auto;
  margin-right: auto;
}

/* Mobile */
.menu-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 200;
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  color: var(--white);
  border: none;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.35s var(--ease-out);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section,
  .hero {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .product-feature,
  .product-feature--flip {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .product-feature-content {
    text-align: center;
    order: 2;
  }

  .product-feature-media {
    order: 1;
  }

  .product-feature--flip .product-feature-content {
    order: 2;
  }

  .product-feature--flip .product-feature-media {
    order: 1;
  }

  .baker-spotlight img {
    max-width: min(100%, 360px);
  }

  .slideshow-main-wrap {
    gap: 0.35rem;
  }

  .slideshow-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .slideshow-dock-item.is-prev .dock-thumb,
  .slideshow-dock-item.is-next .dock-thumb {
    width: 56px;
    height: 56px;
  }

  .slideshow-dock-item.is-current .dock-thumb {
    width: 88px;
    height: 88px;
  }

  .checkout-line {
    grid-template-columns: 56px 1fr auto;
    gap: 0.75rem;
  }

  .checkout-line-total {
    grid-column: 2;
    justify-self: start;
  }

  .checkout-remove {
    grid-row: 1 / span 2;
    grid-column: 3;
  }

  .catalogue-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 100%;
  }

  .catalogue-card-body {
    padding: 1rem 1.1rem 1.2rem;
  }

  .catalogue-card-body h3 {
    font-size: 1.05rem;
  }

  .catalogue-desc {
    font-size: 0.9rem;
  }

  .catalogue-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .catalogue-add {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .catalogue-qty {
    font-size: 16px;
  }

  .catalogue-toolbar .btn-cta {
    width: 100%;
    max-width: 20rem;
  }

  .contact-cta-phone {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
    white-space: normal;
  }

  .contact-cta {
    padding: 1.5rem 1rem;
    margin-top: 2rem;
  }

  .sticky-cart-btn {
    left: 50%;
    right: auto;
    bottom: 1rem;
    min-width: 9.5rem;
    transform: translateX(-50%) translateY(16px);
  }

  .sticky-cart-btn.is-visible {
    transform: translateX(-50%) translateY(0);
  }

  .sticky-cart-btn:hover,
  .sticky-cart-btn:focus-visible {
    transform: translateX(-50%) translateY(-2px);
  }

  .main-content--has-sticky-cart .section:last-child {
    padding-bottom: 5rem;
  }
}

@media (min-width: 901px) {
  .main-content--has-sticky-cart .section:last-child {
    padding-bottom: 5rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }

  .section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .page-header h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .page-header .lead {
    font-size: 1.05rem;
  }

  .page-header .usp {
    font-size: 0.95rem;
    padding: 0.55rem 1rem;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-logo-ring {
    width: 120px;
    height: 120px;
  }

  .sidebar-logo img {
    width: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .animate-in {
    opacity: 1;
    transform: none;
  }

  .btn-cta {
    animation: none;
  }
}
