/* Aunty Bakery storefront theme — intentionally scoped after the shared styles. */
:root {
  --ink: #32231d;
  --muted: #75645c;
  --paper: #fffdf8;
  --soft: #f5eee3;
  --line: #dfd2c2;
  --brand: #9f3f2f;
  --brand-dark: #54281f;
  --accent: #e7ad54;
  --rust: #bc5b3f;
  --shadow: 0 24px 60px rgba(71, 42, 28, .12);
}

body {
  background-color: var(--paper);
  background-image: radial-gradient(rgba(92, 57, 36, .045) .8px, transparent .8px);
  background-size: 18px 18px;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.navbar {
  min-height: 82px;
  background: rgba(255, 253, 248, .94) !important;
  border-bottom: 1px solid rgba(84, 40, 31, .12) !important;
  backdrop-filter: blur(14px);
}

.navbar-brand {
  color: var(--brand-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(84, 40, 31, .16);
  border-radius: 50% 50% 42% 42%;
  color: var(--brand-dark);
  background: var(--accent);
  font-size: 1.15rem;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .34);
}

.nav-link {
  position: relative;
  color: #59483f;
  font-size: .91rem;
  font-weight: 700;
}

.nav-link::after {
  position: absolute;
  right: .5rem;
  bottom: .25rem;
  left: .5rem;
  height: 2px;
  content: "";
  background: var(--brand);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }

.btn { border-radius: 999px; }
.btn-dark { border-color: var(--brand-dark); background: var(--brand-dark); }
.btn-dark:hover, .btn-dark:focus { border-color: var(--brand); background: var(--brand); }
.btn-outline-dark { border-color: var(--brand-dark); color: var(--brand-dark); }
.btn-icon { border-radius: 50%; background: #fff; }

.hero-section {
  min-height: 88vh;
  align-items: flex-end;
  padding: 150px 0 94px;
  background:
    linear-gradient(90deg, rgba(45, 27, 19, .93) 0%, rgba(75, 40, 27, .72) 44%, rgba(75, 40, 27, .08) 76%),
    url("https://images.unsplash.com/photo-1555507036-ab1f4038808a?auto=format&fit=crop&w=1900&q=88") center 55%/cover;
}

.hero-copy { max-width: 700px; }
.hero-copy::before {
  display: block;
  width: 72px;
  height: 3px;
  margin-bottom: 20px;
  content: "";
  background: var(--accent);
}

.hero-section .index-heading .eyebrow {
  color: #f4c774;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-section .index-heading h1 {
  max-width: 650px;
  margin: 0;
  color: #fff9eb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.15rem, 5.2vw, 5.35rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.045em;
}

.hero-section .index-heading .lead {
  max-width: 625px;
  color: rgba(255, 249, 235, .82);
  font-size: 1.08rem;
}

.hero-section .btn-light { color: var(--brand-dark); background: #fff7e8; border-color: #fff7e8; }
.hero-section .btn-outline-light { border-color: rgba(255,255,255,.58); }

.section-pad { padding: 108px 0; }
.bakery-category-section { background: transparent; }
.section-heading { margin-bottom: 48px; }
.index-heading .eyebrow {
  color: var(--brand);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.index-heading h2,
.section-heading h2 {
  color: var(--brand-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -.045em;
}

.bakery-category-card {
  min-height: 330px;
  border: 8px solid #fff;
  border-radius: 160px 160px 18px 18px;
  box-shadow: var(--shadow);
}

.bakery-category-card::after {
  position: absolute;
  inset: 42% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(42, 24, 17, .82));
}

.bakery-category-card img { height: 330px; opacity: .94; }
.bakery-category-card span {
  z-index: 1;
  bottom: 24px;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
}

#bakery.bg-soft { background: #efe5d7; }
.filter-form {
  padding: 12px;
  border: 1px solid rgba(84, 40, 31, .12);
  border-radius: 22px;
  background: rgba(255,255,255,.66);
}
.form-control, .form-select { border-radius: 12px; background-color: rgba(255,255,255,.82); }

.product-card {
  border: 0;
  border-radius: 26px 26px 12px 12px;
  background: #fffdf9;
  box-shadow: 0 14px 38px rgba(71, 42, 28, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.product-media { aspect-ratio: 1.25; border-radius: 26px 26px 0 0; }
.product-media img { transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.045); }
.product-body { gap: 10px; padding: 25px 25px 27px; }
.product-body h3 { color: var(--brand-dark); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 600; }
.category-name { color: var(--brand); letter-spacing: .12em; }
.rating {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  align-self: flex-start;
  gap: 3px;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf4e9;
  font-size: .72rem;
  line-height: 1;
}
.sale-chip { border-radius: 999px; box-shadow: 0 4px 16px rgba(0,0,0,.14); }
.price-line strong { color: var(--brand-dark); font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; }
.delivery-note { border: 0; background: #f5eee5; }

#contact.bg-soft {
  position: relative;
  overflow: hidden;
  background: var(--brand-dark);
  color: #fff8eb;
}
#contact.bg-soft::before {
  position: absolute;
  top: -140px;
  right: -110px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018);
}
#contact .container { position: relative; }
#contact .index-heading h2, #contact .index-heading .eyebrow { color: #f4c774; }
#contact .index-heading p { color: rgba(255,248,235,.7); }
.contact-panel span { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.065); color: #fff8eb; }
.contact-panel i { color: #f4c774; }
.account-message-required, .contact-form, .google-map { border: 0; border-radius: 24px; box-shadow: 0 28px 65px rgba(18,8,5,.28); }
.account-message-required h3 { color: var(--brand-dark); font-family: Georgia, "Times New Roman", serif; }
.google-map { border: 6px solid rgba(255,255,255,.18); }

.site-footer { padding: 38px 0; background: #251914; }
.site-footer strong { margin-right: 12px; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.whatsapp-float { border-radius: 999px; }

@media (max-width: 991.98px) {
  .navbar-collapse { margin-top: 12px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
  .hero-section { min-height: 72vh; padding: 130px 0 72px; }
  .section-pad { padding: 78px 0; }
  .bakery-category-card, .bakery-category-card img { min-height: 270px; height: 270px; }
}

@media (max-width: 575.98px) {
  .hero-section { min-height: 680px; background-position: 62% center; }
  .hero-section .index-heading h1 { max-width: 330px; font-size: 3rem; }
  .hero-section .index-heading .lead { font-size: 1rem; }
  .hero-section .btn { width: 100%; }
  .section-pad { padding: 64px 0; }
  .index-heading h2, .section-heading h2 { font-size: 2.65rem; }
  .bakery-category-card, .bakery-category-card img { min-height: 210px; height: 210px; }
  .bakery-category-card { border-width: 5px; border-radius: 110px 110px 14px 14px; }
  .bakery-category-card span { bottom: 15px; font-size: 1.05rem; }
  .filter-form { grid-template-columns: 1fr; }
  .product-footer { align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card, .product-media img, .nav-link::after { transition: none; }
}
