/* ==========================================================================
   Warung Bu Ratna — custom styles di atas Bootstrap 5
   ========================================================================== */

:root {
  --cream: #faf3e4;
  --cream-2: #f4e9d4;
  --paper: #fffdf8;
  --ink: #2b1d14;
  --muted: #75614f;
  --sambal: #b33a26;
  --sambal-dark: #8e2b1b;
  --leaf: #2f6b4f;
  --wa: #1f9d55;
  --wa-dark: #178046;
  --gold: #e2ae57;
  --line: rgba(43, 29, 20, 0.12);

  --radius: 20px;
  --shadow-sm: 0 18px 40px -34px rgba(43, 29, 20, 0.55);
  --shadow-md: 0 26px 60px -32px rgba(43, 29, 20, 0.45);

  --bs-body-color: var(--ink);
  --bs-body-bg: var(--cream);
  --bs-border-color: var(--line);
  --bs-link-color: var(--sambal);
  --bs-link-hover-color: var(--sambal-dark);
}

* {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(900px 420px at 85% -60px, rgba(226, 174, 87, 0.18), transparent 70%),
    radial-gradient(700px 400px at 0% 10%, rgba(179, 58, 38, 0.06), transparent 70%);
  background-repeat: no-repeat;
  padding-bottom: 0;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.015em;
}

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

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Tombol
   -------------------------------------------------------------------------- */

.btn {
  font-weight: 600;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.btn-lg {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
}

.btn-sambal {
  background: var(--sambal);
  border: 1px solid var(--sambal);
  color: #fff;
  padding: 0.66rem 1.35rem;
  box-shadow: 0 14px 26px -16px rgba(179, 58, 38, 0.75);
}

.btn-sambal:hover,
.btn-sambal:focus {
  background: var(--sambal-dark);
  border-color: var(--sambal-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-ink {
  border: 1px solid rgba(43, 29, 20, 0.28);
  color: var(--ink);
  background: transparent;
  padding: 0.66rem 1.35rem;
}

.btn-outline-ink:hover,
.btn-outline-ink:focus {
  background: rgba(43, 29, 20, 0.06);
  border-color: var(--ink);
  color: var(--ink);
}

.btn-wa {
  background: var(--wa);
  border: 1px solid var(--wa);
  color: #fff;
  padding: 0.7rem 1.35rem;
  box-shadow: 0 14px 26px -16px rgba(31, 157, 85, 0.8);
}

.btn-wa:hover,
.btn-wa:focus {
  background: var(--wa-dark);
  border-color: var(--wa-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-cream {
  border: 1px solid rgba(250, 243, 228, 0.4);
  color: var(--cream);
  background: transparent;
  padding: 0.66rem 1.35rem;
}

.btn-outline-cream:hover,
.btn-outline-cream:focus {
  background: rgba(250, 243, 228, 0.12);
  border-color: var(--cream);
  color: #fff;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Topbar
   -------------------------------------------------------------------------- */

.topbar {
  background: #2b1d14;
  color: rgba(250, 243, 228, 0.82);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  letter-spacing: 0.01em;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-item i {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */

.site-nav {
  background: rgba(255, 253, 248, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  transition: box-shadow 0.25s ease;
}

.site-nav.scrolled {
  box-shadow: 0 16px 36px -30px rgba(43, 29, 20, 0.8);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sambal);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex: 0 0 auto;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 0.18rem;
}

.site-nav .nav-link {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  background: rgba(179, 58, 38, 0.08);
  color: var(--sambal);
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.35rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.btn-cart {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  position: relative;
}

.btn-cart:hover {
  background: #fff;
  border-color: rgba(43, 29, 20, 0.3);
  color: var(--ink);
}

.cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--sambal);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.cart-badge.is-visible {
  opacity: 1;
  transform: scale(1);
}

.cart-badge.pop {
  animation: badgePop 0.4s ease;
}

@keyframes badgePop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

@media (max-width: 991.98px) {
  #navMenu {
    padding-top: 0.75rem;
  }
  #navMenu .navbar-nav {
    border-top: 1px dashed var(--line);
    padding-top: 0.5rem;
  }
  .site-nav .nav-link {
    padding: 0.6rem 0.4rem;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: 64px 0 72px;
  position: relative;
  overflow: clip;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sambal);
  margin-bottom: 0.9rem;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sambal);
  box-shadow: 0 0 0 4px rgba(179, 58, 38, 0.12);
}

.hero-title {
  font-size: clamp(2.45rem, 4.6vw, 3.9rem);
  line-height: 1.04;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-title .hl {
  position: relative;
  white-space: nowrap;
  background: linear-gradient(transparent 64%, rgba(226, 174, 87, 0.62) 64%);
  padding: 0 0.06em;
}

.hero-lead {
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 33rem;
  margin-bottom: 1.8rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.9rem;
  border-top: 1px dashed var(--line);
  padding-top: 1.3rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.1;
}

.hero-stat strong span {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-stat small {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-figure {
  position: relative;
  margin: 0 0 0 14px;
}

.hero-img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 26px;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-md);
  background: var(--cream-2);
}

.hero-card {
  position: absolute;
  left: -22px;
  bottom: 26px;
  width: min(330px, calc(100% - 24px));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  box-shadow: 0 22px 44px -26px rgba(43, 29, 20, 0.55);
}

.pill-hot {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sambal);
  background: rgba(179, 58, 38, 0.1);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}

.stars {
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.hero-card-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.hero-card-note {
  font-size: 0.76rem;
  color: var(--muted);
  margin: 0.15rem 0 0;
}

.hero-card-price {
  font-weight: 700;
  color: var(--sambal);
  font-size: 1rem;
  white-space: nowrap;
}

.hero-stamp {
  position: absolute;
  top: -20px;
  right: -12px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px dashed rgba(179, 58, 38, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  transform: rotate(9deg);
  box-shadow: 0 14px 26px -20px rgba(43, 29, 20, 0.6);
  text-align: center;
}

.hero-stamp span {
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-stamp strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  color: var(--sambal);
  line-height: 1;
}

@media (max-width: 575.98px) {
  .hero {
    padding: 40px 0 56px;
  }
  .hero-figure {
    margin: 0;
  }
  .hero-card {
    position: static;
    width: 100%;
    margin-top: -26px;
    margin-left: 12px;
    margin-right: 12px;
    width: calc(100% - 24px);
    position: relative;
    left: auto;
    bottom: auto;
  }
  .hero-stamp {
    width: 78px;
    height: 78px;
    top: -12px;
    right: 4px;
  }
  .hero-stamp strong {
    font-size: 1.05rem;
  }
  .hero-stats {
    gap: 1.4rem;
  }
}

/* --------------------------------------------------------------------------
   Strip keunggulan
   -------------------------------------------------------------------------- */

.strip {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.strip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.strip-item i {
  font-size: 1.15rem;
  color: var(--sambal);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(179, 58, 38, 0.08);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.strip-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.strip-item span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

/* --------------------------------------------------------------------------
   Section umum
   -------------------------------------------------------------------------- */

.section {
  padding: 84px 0;
}

.section-alt {
  background: #f6ebd7;
  border-top: 1px solid rgba(43, 29, 20, 0.06);
  border-bottom: 1px solid rgba(43, 29, 20, 0.06);
}

.section-tint {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head.center .section-note {
  max-width: 34rem;
}

.section-title {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin: 0;
}

.section-note {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 24rem;
  margin: 0;
}

.section-note strong {
  color: var(--ink);
}

.section-lead {
  color: var(--muted);
  line-height: 1.75;
  margin: 1rem 0 1.2rem;
}

/* --------------------------------------------------------------------------
   Filter chip
   -------------------------------------------------------------------------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.42rem 1.05rem;
  border-radius: 999px;
  transition: all 0.18s ease;
}

.chip:hover {
  border-color: rgba(179, 58, 38, 0.4);
  color: var(--sambal);
}

.chip.active {
  background: var(--sambal);
  border-color: var(--sambal);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Kartu menu
   -------------------------------------------------------------------------- */

.menu-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.menu-thumb {
  position: relative;
  overflow: hidden;
  background: var(--cream-2);
}

.menu-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.menu-card:hover .menu-thumb img {
  transform: scale(1.04);
}

.menu-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--sambal);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.menu-body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  height: calc(100% - 1px);
}

.menu-name {
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
}

.menu-desc {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.menu-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px dashed var(--line);
  padding-top: 0.85rem;
}

.price {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--sambal);
}

.btn-add {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--cream);
  font-size: 0.82rem;
  padding: 0.45rem 0.95rem;
}

.btn-add:hover,
.btn-add:focus {
  background: var(--sambal);
  border-color: var(--sambal);
  color: #fff;
}

.btn-add.added {
  background: var(--leaf);
  border-color: var(--leaf);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Langkah pesan
   -------------------------------------------------------------------------- */

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(179, 58, 38, 0.1);
  color: var(--sambal);
  border: 1px dashed rgba(179, 58, 38, 0.45);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.step p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Tentang
   -------------------------------------------------------------------------- */

.about-figure {
  position: relative;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 26px;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-md);
}

.about-caption {
  position: absolute;
  left: 18px;
  bottom: -22px;
  right: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--sambal);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.about-caption i {
  color: var(--sambal);
  margin-right: 0.25rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.check-list i {
  color: var(--leaf);
  font-size: 1.05rem;
  flex: 0 0 auto;
  margin-top: 1px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  border-top: 1px dashed var(--line);
  padding-top: 1.2rem;
}

.about-stats strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.55rem;
  color: var(--sambal);
  line-height: 1.1;
}

.about-stats span {
  font-size: 0.76rem;
  color: var(--muted);
}

@media (max-width: 991.98px) {
  .about-figure {
    margin-bottom: 2rem;
  }
}

/* --------------------------------------------------------------------------
   Testimoni
   -------------------------------------------------------------------------- */

.quote-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.quote-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 1.2rem;
}

.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
}

.quote-card figcaption strong {
  display: block;
  font-size: 0.88rem;
}

.quote-card figcaption span:not(.avatar) {
  font-size: 0.76rem;
  color: var(--muted);
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Lokasi
   -------------------------------------------------------------------------- */

.location-card {
  background: #2b1d14;
  background-image:
    radial-gradient(520px 300px at 90% 0%, rgba(226, 174, 87, 0.16), transparent 70%),
    radial-gradient(400px 260px at 0% 100%, rgba(179, 58, 38, 0.35), transparent 70%);
  color: rgba(250, 243, 228, 0.86);
  border-radius: 28px;
  padding: clamp(1.6rem, 4vw, 3.2rem);
  box-shadow: var(--shadow-md);
}

.eyebrow-light {
  color: var(--gold);
}

.eyebrow-light .dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(226, 174, 87, 0.16);
}

.text-cream {
  color: var(--cream);
}

.location-lead {
  line-height: 1.75;
  max-width: 30rem;
  margin: 0.9rem 0 1.4rem;
}

.location-info p {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
}

.location-info i {
  color: var(--gold);
  margin-top: 2px;
}

.hours-card {
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(250, 243, 228, 0.16);
  border-radius: 20px;
  padding: 1.4rem 1.4rem 1.1rem;
}

.hours-card h3 {
  font-size: 1.1rem;
  color: var(--cream);
  margin: 0;
}

.open-status {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9be3b5;
  background: rgba(47, 107, 79, 0.4);
  border: 1px solid rgba(155, 227, 181, 0.35);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.open-status.is-closed {
  color: #f3b3a9;
  background: rgba(179, 58, 38, 0.25);
  border-color: rgba(243, 179, 169, 0.35);
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0.9rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(250, 243, 228, 0.16);
  font-size: 0.9rem;
}

.hours-list li:last-child {
  border-bottom: 0;
}

.hours-list strong {
  color: var(--cream);
  font-weight: 600;
  white-space: nowrap;
}

.hours-note {
  font-size: 0.76rem;
  color: rgba(250, 243, 228, 0.6);
  margin: 0;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 56px 0 24px;
}

.brand-footer .brand-name {
  font-size: 1.3rem;
}

.brand-footer .brand-sub {
  color: var(--muted);
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 24rem;
  margin-top: 1rem;
}

.footer-title {
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.footer-links a,
.footer-links span {
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-links a:hover {
  color: var(--sambal);
}

.footer-links i {
  color: var(--sambal);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Tombol WhatsApp mengambang
   -------------------------------------------------------------------------- */

.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 16px 30px -12px rgba(37, 211, 102, 0.7);
  z-index: 1035;
  transition: transform 0.2s ease;
}

.wa-fab:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

/* --------------------------------------------------------------------------
   Offcanvas keranjang
   -------------------------------------------------------------------------- */

.cart-panel {
  --bs-offcanvas-width: 440px;
  background: var(--paper);
  color: var(--ink);
  border-left: 1px solid var(--line);
}

.cart-head {
  align-items: flex-start;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--line);
}

.cart-title {
  font-size: 1.4rem;
  margin: 0;
}

.cart-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.15rem 0 0;
}

.cart-clear {
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-clear:hover {
  color: var(--sambal);
}

.cart-clear.d-none {
  display: none !important;
}

.cart-panel .offcanvas-body {
  padding: 1.15rem 1.35rem 1.5rem;
}

.cart-empty {
  text-align: center;
  padding: 2.2rem 0.5rem;
}

.cart-empty-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--sambal);
  display: inline-grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
}

.cart-empty h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.cart-empty p {
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 16rem;
  margin: 0 auto 1.1rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.95rem 0;
  border-bottom: 1px dashed var(--line);
}

.cart-item:first-child {
  padding-top: 0;
}

.cart-item-name {
  font-size: 0.94rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}

.cart-item-price {
  font-size: 0.74rem;
  color: var(--muted);
  margin: 0.1rem 0 0.5rem;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.12rem 0.3rem;
  background: var(--cream);
}

.qty-btn {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(43, 29, 20, 0.12);
}

.qty-btn:hover {
  background: var(--sambal);
  color: #fff;
}

.qty-val {
  min-width: 16px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
}

.cart-item-sub {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  white-space: nowrap;
}

.cart-remove {
  border: 0;
  background: none;
  padding: 0;
  font-size: 0.85rem;
  color: rgba(43, 29, 20, 0.38);
  line-height: 1;
}

.cart-remove:hover {
  color: var(--sambal);
}

.order-form {
  margin-top: 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.form-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.label-soft {
  font-weight: 500;
  color: var(--muted);
}

.form-control,
.form-select {
  border-radius: 12px;
  border-color: rgba(43, 29, 20, 0.16);
  background-color: #fff;
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  color: var(--ink);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(179, 58, 38, 0.6);
  box-shadow: 0 0 0 3px rgba(179, 58, 38, 0.12);
}

.form-control::placeholder {
  color: rgba(43, 29, 20, 0.35);
}

.field-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0.4rem 0 0;
  display: flex;
  gap: 0.35rem;
}

.cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
  padding: 0.9rem 0;
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.cart-total-row strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  color: var(--ink);
}

.cart-hint {
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  margin: 0.7rem 0 0;
}

@media (max-width: 575.98px) {
  .cart-panel {
    --bs-offcanvas-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast-wrap {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 1090;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  pointer-events: none;
  width: min(92vw, 380px);
}

.toast-wrap .toast {
  pointer-events: auto;
  background: #2b1d14;
  color: var(--cream);
  border-radius: 999px;
  width: auto;
  max-width: 100%;
  box-shadow: 0 18px 34px -20px rgba(0, 0, 0, 0.7);
}

.toast-wrap .toast-body {
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.toast-wrap .toast-body::before {
  content: "\F26B";
  font-family: "bootstrap-icons";
  color: #9be3b5;
}

/* --------------------------------------------------------------------------
   Aksesibilitas & animasi
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 991.98px) {
  .section {
    padding: 64px 0;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 52px 0;
  }
  .hero-title {
    font-size: clamp(2.1rem, 9vw, 2.7rem);
  }
}
