:root {
  --baa-maroon-950: #200302;
  --baa-maroon-900: #360608;
  --baa-maroon-800: #5c0b10;
  --baa-gold-100: #fff0b8;
  --baa-gold-300: #efc86b;
  --baa-gold-500: #d8a928;
  --baa-cream-50: #fff9ea;
  --baa-cream-100: #fbefd3;
  --baa-ink: #35100f;
}

/* Offline Bootstrap Icons compatibility backed by local Font Awesome 4.7. */
.bi {
  display: inline-block;
  font-family: FontAwesome !important;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bi-bell-fill::before { content: "\f0f3"; }
.bi-currency-rupee::before { content: "\f156"; }
.bi-arrow-clockwise::before { content: "\f021"; }
.bi-dash-lg::before { content: "\f068"; }
.bi-graph-up-arrow::before { content: "\f201"; }
.bi-calculator::before { content: "\f1ec"; }
.bi-sliders2-vertical::before { content: "\f1de"; }
.bi-clipboard-check::before { content: "\f0ea"; }
.bi-three-dots::before { content: "\f141"; }
.bi-caret-up-fill::before { content: "\f0d8"; }
.bi-caret-down-fill::before { content: "\f0d7"; }
.bi-chevron-right::before { content: "\f054"; }
.bi-clock-history::before { content: "\f017"; }
.bi-currency-exchange::before { content: "\f0ec"; }
/* Order History footer item: Font Awesome 4.7 "history" glyph (clock + counterclockwise arrow). */
.bi-arrow-counterclockwise::before { content: "\f1da"; }

html,
body {
  min-height: 100%;
}

body,
.body,
.ui-page,
.ui-content {
  color: var(--baa-ink) !important;
  background:
    radial-gradient(circle at 50% -12%, #4b0b0b 0, var(--baa-maroon-950) 46%, #140101 100%) !important;
  text-shadow: none !important;
}

body {
  padding-bottom: 112px;
}

.brand-header,
.brand-header *,
.bottom-nav,
.bottom-nav *,
#mobile-nav,
#mobile-nav * {
  box-sizing: border-box;
  min-width: 0;
}

.brand-header {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 62px;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  min-height: 188px;
  margin: 0 auto;
  padding: 32px 32px 18px;
  background:
    radial-gradient(circle at 52% 16%, rgba(150, 28, 26, 0.28), transparent 44%),
    linear-gradient(180deg, #210202, #2c0304 58%, #3b0608);
}

.brand-logo-img {
  display: block;
  width: 158px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.45));
}

.brand-copy {
  min-width: 0;
}

.brand-copy h1 {
  margin: 0;
  color: transparent;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(38px, 7.1vw, 68px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  white-space: nowrap;
  background: linear-gradient(180deg, #fff3bc 2%, #e0b54a 43%, #835712 90%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.7));
}

.brand-copy h1 span {
  font-size: 0.73em;
}

.brand-copy p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 10px 0 0;
  padding-top: 0;
  color: #ead18c;
  border-top: 0;
  font-family: "Cinzel", "Inter", Georgia, serif;
  font-size: clamp(13px, 2.7vw, 22px);
  font-weight: 600;
  letter-spacing: 0.32em;
  line-height: normal;
  white-space: nowrap;
  text-transform: uppercase;
}

.brand-copy p::before,
.brand-copy p::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  max-width: 90px;
  background: linear-gradient(90deg, rgba(216, 169, 40, 0) 0%, rgba(216, 169, 40, 0.85) 50%, rgba(216, 169, 40, 0) 100%);
}

.brand-copy b {
  color: #f7d780;
  font-weight: 500;
}

.brand-header .icon-button {
  border: 0 !important;
  background: transparent !important;
  color: var(--baa-gold-100);
}

.brand-header .notify-btn {
  align-self: start;
  justify-self: end;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0 !important;
  color: var(--baa-gold-300) !important;
  font-size: 36px;
  line-height: 1;
}

.navbar.nav-bg-white {
  min-height: 118px;
  padding: 14px 14px 10px !important;
  border-bottom: 1px solid rgba(239, 200, 107, 0.45);
  background:
    radial-gradient(circle at 52% 16%, rgba(150, 28, 26, 0.28), transparent 44%),
    linear-gradient(180deg, #210202, #2c0304 58%, #3b0608) !important;
}

.scroll-css {
  display: flex;
  justify-content: center;
  align-items: center;
}

.MainLogo,
.MainLogoMenu {
  width: min(210px, 62vw) !important;
  max-height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.45));
}

.main-container,
.container.main-container,
.container {
  max-width: 740px;
}

.main-container,
.container,
[data-role="content"],
.ui-content {
  color: var(--baa-ink);
}

/* .main-container,
[data-role="content"],
.ui-content > .container,
body > .container {
  border: 2px solid var(--baa-gold-300);
  border-radius: 24px;
  background: linear-gradient(180deg, #fbf2df 0%, #f8ead0 100%);
  box-shadow:
    inset 0 0 0 3px rgba(136, 90, 19, 0.28),
    0 9px 21px rgba(0, 0, 0, 0.45);
} */

#mobile-nav {
  position: fixed;
  top: 0 !important;
  bottom: 0 !important;
  left: -110% !important;
  z-index: 1100 !important;
  width: 100% !important;
  overflow-y: auto !important;
  border-right: 2px solid var(--baa-gold-300);
  background: linear-gradient(180deg, #5c0b10, #210202) !important;
  box-shadow: 12px 0 24px rgba(0, 0, 0, 0.45);
  transition: left 0.5s;
}

body.active #mobile-nav,
body.baa-menu-open #mobile-nav {
  left: 0 !important;
}

body.baa-menu-open {
  overflow: hidden !important;
}

.mobile-nav-box {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-bottom: 28px !important;
  background: transparent !important;
}

.baa-menu-version {
  margin-top: auto;
  padding: 18px 16px 0;
  color: rgba(255, 244, 217, 0.72);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
}

.baa-menu-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: block;
  width: 100%;
}

.mobile-logo {
  display: grid;
  grid-template-columns: clamp(64px, 22vw, 88px) minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px !important;
  border-bottom: 1px solid rgba(239, 200, 107, 0.35);
  background: linear-gradient(180deg, #2d0405, #5c0b10);
  text-align: left !important;
}

#mobile-nav .baa-menu-logo,
#mobile-nav .MainLogoMenu {
  display: block;
  width: 100% !important;
  max-width: 88px;
  max-height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.45));
}

.baa-menu-brand-copy {
  width: 100%;
  min-width: 0;
}

.baa-menu-brand-copy h2 {
  margin: 0;
  color: transparent;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(20px, 8vw, 45px);
  font-weight: 900;
  line-height: 0.95;
  white-space: nowrap;
  background: linear-gradient(180deg, #fff3bc 2%, #e0b54a 43%, #835712 90%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.7));
}

.baa-menu-brand-copy h2 span {
  font-size: 0.73em;
}

.baa-menu-brand-copy p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  margin: 6px 0 0;
  color: #ead18c;
  font-family: "Cinzel", "Inter", Georgia, serif;
  font-size: clamp(8px, 2.4vw, 12px);
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1.1;
  white-space: nowrap;
  text-transform: uppercase;
}

.baa-menu-brand-copy p::before,
.baa-menu-brand-copy p::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  max-width: 42px;
  background: linear-gradient(90deg, rgba(216, 169, 40, 0) 0%, rgba(216, 169, 40, 0.85) 50%, rgba(216, 169, 40, 0) 100%);
}

.baa-menu-brand-copy b {
  color: #f7d780;
  font-weight: 500;
}

.baa-menu-close {
  position: static;
  justify-self: end;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(239, 200, 107, 0.7);
  border-radius: 50%;
  color: var(--baa-gold-100);
  background: rgba(32, 3, 2, 0.8);
  font-size: 22px;
  line-height: 28px;
}

.baa-generated-menu {
  margin: -5px 5px 5px !important;
}

#mobile-nav .menu {
  width: 33.333% !important;
  padding: 10px 5px;
  vertical-align: top;
}

#mobile-nav .menu a {
  display: block;
  min-height: 92px;
  padding: 10px 4px;
  border: 1px solid rgba(239, 200, 107, 0.28);
  border-radius: 12px;
  color: #fff4d9 !important;
  background: rgba(32, 3, 2, 0.45);
  text-align: center;
  text-decoration: none !important;
}

#mobile-nav .menu img {
  width: 34px;
  height: 34px;
  margin-bottom: 7px;
  object-fit: contain;
}

#mobile-nav .menu span,
#mobile-nav .d-block {
  color: #fff4d9 !important;
  font-size: 11px;
  line-height: 1.2;
  text-shadow: none;
}

#mobile-nav hr {
  width: calc(100% - 28px);
  margin: 8px auto;
  border-color: rgba(239, 200, 107, 0.32);
}

.baa-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: none;
  background: rgba(0, 0, 0, 0.62);
}

body.baa-menu-open .baa-menu-overlay,
body.active .baa-menu-overlay {
  display: block;
}

.footer,
.bottom-nav {
  position: fixed !important;
  right: auto;
  bottom: 0 !important;
  left: 50% !important;
  z-index: 1000 !important;
  width: 100% !important;
  max-width: 100%;
  min-height: 75px;
  transform: translateX(-50%);
  border-top: 1px solid rgba(224, 187, 92, 0.28);
  background: linear-gradient(180deg, #681016, #46080c) !important;
  color: rgba(248, 224, 154, 0.88) !important;
}

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  margin: 0 auto;
  padding: 4px 21px calc(5px + env(safe-area-inset-bottom));
}

.bottom-nav button {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 60px;
  margin: 0;
  padding: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 500;
}

.bottom-nav button.active {
  color: #ffe58d !important;
}

.bottom-nav button.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: min(46px, 70%);
  height: 3px;
  border-radius: 999px;
  background: #ffdf6a;
}

/* Menu (More) footer item never shows the active underline indicator. */
.bottom-nav button.second-nav-toggler.active::after {
  content: none;
  display: none;
}

.footer-menu {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  min-height: 76px;
  padding: 5px 8px calc(6px + env(safe-area-inset-bottom));
}

.footer-menu .col-xs-3,
.footer-menu .col-xs-2 {
  display: block !important;
  width: auto !important;
  text-align: center;
}

.footer-menu a,
.footer-menu button,
.bottom-nav a,
.bottom-nav button {
  color: rgba(248, 224, 154, 0.9) !important;
  text-decoration: none !important;
}

.footer-menu button,
.bottom-nav button {
  border: 0 !important;
  background: transparent !important;
}

.footer-menu img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: sepia(1) saturate(1.7) hue-rotate(350deg) brightness(1.35);
}

.footer-menu i,
.bottom-nav i {
  color: #ffe58d !important;
  font-size: 25px;
  line-height: 1;
}

.footer-menu .font_footer1,
.footer-menu .d-block1,
.bottom-nav span {
  display: block;
  margin-top: 3px;
  color: rgba(248, 224, 154, 0.9) !important;
  font-size: 9px !important;
  line-height: 1.1;
  text-shadow: none;
}

.footer-copyright {
  display: none !important;
}

@media (max-width: 620px) {
  body {
    padding-bottom: 88px;
  }

  .brand-header {
    grid-template-columns: 96px minmax(0, 1fr) 34px;
    gap: 8px;
    min-height: 110px;
    padding: 17px 14px 10px;
  }

  .brand-logo-img {
    width: 86px;
  }

  .brand-copy h1 {
    font-size: clamp(30px, 9vw, 43px);
  }

  .brand-copy p {
    gap: 8px;
    margin-top: 6px;
    padding-top: 0;
    font-size: clamp(10px, 2.6vw, 14px);
    letter-spacing: 0.22em;
  }

  .brand-copy p::before,
  .brand-copy p::after {
    max-width: 48px;
  }

  .brand-header .notify-btn {
    font-size: 24px;
  }

  .navbar.nav-bg-white {
    min-height: 96px;
    padding: 10px 10px 8px !important;
  }

  .MainLogo,
  .MainLogoMenu {
    width: min(178px, 56vw) !important;
    max-height: 74px;
  }

  .main-container,
  [data-role="content"],
  .ui-content > .container,
  body > .container {
    margin-right: 6px !important;
    margin-left: 6px !important;
    border-radius: 20px;
  }
}

/* Keep the brand and tagline centered within the available header column. */
.brand-header .brand-copy {
  container-type: inline-size;
  align-self: center;
  text-align: center;
}
.brand-header .brand-copy h1 { line-height: 1.1; }
.brand-header .brand-copy p {
  gap: 6px;
  margin: 6px 0 0;
  line-height: 1.4;
  letter-spacing: 0.18em;
}
@supports (font-size: 1cqw) {
  .brand-header .brand-copy h1 { font-size: min(68px, 16cqw); }
  .brand-header .brand-copy p { font-size: min(22px, 5.5cqw); }
}