:root {
  --gold: #f5d687;
  --brown: #79502b;
  --cream: #fef5cc;
  --blush: #ebcab2;
  --ink: #4f3219;
  --white: #fffdf7;
  --shadow: 0 18px 45px rgba(121, 80, 43, 0.15);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fffef9 0%, var(--cream) 100%);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1290px, calc(100% - 2rem));
  margin: 0 auto;
}
.section {
  padding: 5.5rem 0;
}
.section-light {
  background: rgba(254, 245, 204, 0.56);
}
.section-accent {
  background: linear-gradient(
    180deg,
    rgba(235, 202, 178, 0.35),
    rgba(254, 245, 204, 0.85)
  );
}
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown);
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.topbar {
  position: sticky;
  top: 1px;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(254, 245, 204, 0.82);
  border-bottom: 1px solid rgba(121, 80, 43, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  color: var(--brown);
}
.brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.nav nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.nav nav a {
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
}
.nav nav a:hover {
  background: rgba(121, 80, 43, 0.08);
}

.announcement-banner {
  position: sticky;
  top: 0;
  width: 100%;
  background: #79502b;
  color: #fef5cc;
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: 600;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.menu-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center center;
  border-radius: 16px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.menu-image:hover {
  transform: scale(1.03);
}

.add-to-cart-btn {
  width: 100%;
  margin-top: auto;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 999px;
  background: var(--brown);
  color: var(--white);
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 10px 24px rgba(121, 80, 43, 0.16);
}

.add-to-cart-btn:hover {
  background: #5d3d22;
  transform: translateY(-2px);
}

.add-to-cart-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(121, 80, 43, 0.18);
}

.add-to-cart-btn:active {
  transform: scale(0.96);
  background: #4a301b;
  box-shadow: 0 4px 12px rgba(121, 80, 43, 0.2);
}

.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(121, 80, 43, 0.18);
}

.cart-row:last-child {
  border-bottom: none;
}

.cart-row > span:first-child {
  font-weight: 700;
  line-height: 1.35;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.cart-controls button {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.cart-controls button:hover {
  background: #5d3d22;
  transform: translateY(-1px);
}

.cart-controls span {
  min-width: 22px;
  text-align: center;
  font-weight: 800;
}

.empty-cart {
  margin: 0;
  color: #6d4b2b;
  line-height: 1.6;
}

.flatpickr-day.today.flatpickr-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.order-error {
  display: none;
  background: #fff3f0;
  color: #a64b2a;
  border-left: 5px solid #a64b2a;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  font-weight: 600;
}

.order-error.show {
  display: block;
}

.form-error {
  border: 3px solid #d62828 !important;
  box-shadow: 0 0 10px rgba(214, 40, 40, 0.3);

  animation:
    shake 4.8s ease-in-out,
    errorPulse 6.5s ease-in-out;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  10% {
    transform: translateX(-8px);
  }
  20% {
    transform: translateX(8px);
  }
  30% {
    transform: translateX(-8px);
  }
  40% {
    transform: translateX(8px);
  }
  50% {
    transform: translateX(-6px);
  }
  60% {
    transform: translateX(6px);
  }
  70% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
  90% {
    transform: translateX(-2px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes errorPulse {
  0% {
    box-shadow: 0 0 0 rgba(214, 40, 40, 0);
  }
  25% {
    box-shadow: 0 0 25px rgba(214, 40, 40, 0.8);
  }
  50% {
    box-shadow: 0 0 15px rgba(214, 40, 40, 0.5);
  }
  75% {
    box-shadow: 0 0 25px rgba(214, 40, 40, 0.8);
  }
  100% {
    box-shadow: 0 0 10px rgba(214, 40, 40, 0.3);
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(rgba(254, 245, 204, 0.85), rgba(245, 214, 135, 0.75)),
    url("images/sourdough-loaves-alt.jpeg");

  background-size: cover;
  background-position: center;

  opacity: 0.95;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(121, 80, 43, 0.08) 0.8px,
    transparent 0.8px
  );
  background-size: 24px 24px;
  opacity: 0.35;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  position: relative;
}
.hero-copy h1,
.section h2,
.order-card h3,
.menu-item h3,
.footer h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
  margin: 0 0 1rem;
  color: var(--brown);
}
.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
}
.hero-copy p {
  font-size: 1.1rem;
  max-width: 58ch;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.98rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--brown);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #5d3d22;
}
.btn-secondary {
  background: transparent;
  color: var(--brown);
  border-color: rgba(121, 80, 43, 0.25);
}
.btn-secondary:hover {
  background: rgba(121, 80, 43, 0.08);
}
.hero-card {
  background: rgba(255, 255, 255, 0.65);
  padding: 1.1rem;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
}
.hero-card img {
  border-radius: var(--radius);
  min-height: 330px;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .hero-card img {
    object-fit: contain;
    min-height: auto;
    height: auto;
  }
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: start;
}
.section h2 {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
}
.section-heading {
  max-width: 650px;
  margin-bottom: 2rem;
}
.section-heading p {
  line-height: 1.7;
}
.pillars {
  display: grid;
  gap: 1rem;
}
.pillars article,
.order-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(121, 80, 43, 0.08);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 10px 30px rgba(121, 80, 43, 0.06);
}

.menu-item {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(121, 80, 43, 0.08);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 10px 30px rgba(121, 80, 43, 0.06);

  display: flex;
  flex-direction: column;
  height: 100%;
}

.pillars article h3 {
  margin-top: 0;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.menu-item h3 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.menu-item p {
  min-height: 72px;
  line-height: 1.6;
}
.menu-item strong {
  display: block;
  font-size: 1.15rem;
  color: var(--ink);
}

.order-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  align-items: start;
}
.order-copy p {
  line-height: 1.75;
}
.order-card h3 {
  font-size: 2rem;
}
.order-total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(121, 80, 43, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-total strong {
  font-size: 1.35rem;
}
.order-form {
  background: rgba(255, 255, 255, 0.82);
  padding: 1.4rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(121, 80, 43, 0.1);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group,
.fieldset {
  margin-bottom: 1rem;
}
.form-group.full,
.fieldset.full {
  width: 100%;
}
label,
legend {
  display: block;
  font-weight: 700;
  margin-bottom: 0.45rem;
}
label span,
legend span {
  color: #a64b2a;
}
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  border: 1px solid rgba(121, 80, 43, 0.2);
  background: #fffdf8;
  color: var(--ink);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  font-family: inherit;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(121, 80, 43, 0.12);
}
.fieldset {
  border: 1px solid rgba(121, 80, 43, 0.12);
  border-radius: 20px;
  padding: 1rem;
}
.field-note {
  margin-top: -0.25rem;
  color: #6d4b2b;
  font-size: 0.95rem;
  line-height: 1.5;
}
.check-item,
.radio-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: rgba(254, 245, 204, 0.55);
  margin-top: 0.65rem;
  cursor: pointer;
  transition: 0.2s ease;
}
.check-item:hover,
.radio-item:hover {
  background: rgba(245, 214, 135, 0.33);
}
.check-item input,
.radio-item input {
  margin-top: 0.25rem;
  accent-color: var(--brown);
}
.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.submit-btn {
  width: 100%;
  margin-top: 0.35rem;
  font-size: 1rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(121, 80, 43, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

#faq {
  padding: 0rem 0 5.5rem;
}

.footer {
  background: var(--brown);
  color: var(--cream);
  padding: 2rem 0;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer .btn-secondary {
  color: var(--cream);
  border-color: rgba(254, 245, 204, 0.3);
}
.footer .btn-secondary:hover {
  background: rgba(254, 245, 204, 0.1);
}

.pickup-date-banner {
  background: #f8f4ec;
  border: 1px solid #d6c7a1;
  color: #5c4b2c;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (max-width: 930px) {
  .hero-grid,
  .intro-grid,
  .order-layout,
  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }
  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-grid,
  .intro-grid,
  .order-layout,
  .form-grid,
  .radio-grid,
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 4.5rem 0;
  }
  .hero {
    padding-top: 3rem;
  }
  .hero-copy h1 {
    font-size: clamp(2.6rem, 10vw, 4.1rem);
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}


.thankyou-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fef5cc;
  transition: 0.2s ease;
}

.footer-social a
{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fef5cc;
  transition: 0.2s ease;
}

.thankyou-social {
  margin: 1.5rem 0 1rem;
  padding: 1rem;
  justify-content: center;
  border-radius: 18px;
  background: rgba(121, 80, 43, 0.08);
}

.thankyou-social p {
  margin: 0 0 0.65rem;
  font-weight: 700;
}

.thankyou-social a {
  color: var(--brown);
}

.footer-social a:hover,
.thankyou-social a:hover {
  color: #f5d687;
  transform: translateY(-2px);
}

.thankyou-social a:hover {
  color: #5d3d22;
}

.footer-social i,
.thankyou-social i {
  font-size: 1.4rem;
}
