/*========== GOOGLE FONTS ==========*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*========== VARIABLES CSS ==========*/
:root {
  --header-height: 3.5rem;
  --nav-width: 219px;

  /*========== Colors ==========*/
  --first-color: #bd952c;
  --first-color-light: #F4F0FA;
  --title-color: #010100;
  --text-color: #58555E;
  --text-color-light: #A5A1AA;
  --body-color: #F9F6FD;
  --container-color: #FFFFFF;

  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --normal-font-size: 0.875rem;
  --small-font-size: .75rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-fixed: 100;
}

@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 0.875rem;
    --small-font-size: 0.75rem;
    --smaller-font-size: 0.625rem;
  }
}

/*========== Light/Dark Mode ===========*/
/* Light mode (optional, for clarity) */
@media (prefers-color-scheme: light) {
  body {
    background-color: #ffffff;
    color: #000000;
  }

  .menu-option .option-details,
  .menu-search,
  .mbile-catgry,
  .categories.affix-categories {
    background-color: #ffffff;
    color: #000000;
  }

  .bg-app {
    --bs-bg-opacity: 1;
    background-color: #efedea !important;
  }

  .list-group-item {
    border: 1px solid #efedea !important;
  }

}

/*=== Dark mode styles ===*/
@media (prefers-color-scheme: dark) {
  body {
    background-color: #1b1b1b !important;
    color: #ffffff !important;
  }

  .header,
  .header__container,
  .nav__container,
  .nav__list,
  .nav__items,
  .nav__link,
  .nav__dropdown-content,
  .offcanvas,
  .bdy-content,
  .panel,
  .card,
  .form-control,
  .form-control:focus,
  .input-group .form-control,
  .input-group>.form-select,
  .form-select,
  .datepicker table tbody,
  .suggestions-box,
  button#orderTimePicker,
  .local-timeslot .dropdown-menu,
  form.dropdown-content,
  .menu-option .option-details,
  .dropdown-item,
  .menu-search,
  .mbile-catgry,
  .categories.affix-categories,
  .categories.affix-categories .nav-item .nav-link,
  ul.nav.nav-categories .nav-link,
  .bg-app,
  .list-group-item,
  .cart-totals,
  .modal-content,
  .footer {
    background-color: #1e1e1e !important;
    color: #ffffff !important;
  }

  .dropdown-item.active,
  .dropdown-item:active {
    color: #000000 !important;
    text-decoration: none;
    background-color: #E0DCDB !important;
  }

  .dropdown-item:hover,
  .dropdown-item:focus {
    color: #251d1a !important;
    background-color: #E0DCDB !important;
  }

  .app-group,
  .menu-searches,
  .input-group.postcode-group.locate-address,
  .list-group-item {
    border: 1px solid #A5A1AA !important;
  }

  .nav__subtitle,
  .nav__name,
  .nav__dropdown-item,
  .offcanvas-title,
  .modal-title,
  .modal-body {
    color: #dddddd !important;
  }

  .text-muted {
    filter: sepia(1);
  }

  .card a,
  li.breadcrumb-item a,
  .booking-timeslots,
  .text-dark,
  .modal-header a img,
  img.pt-5,
  a.btn-app-empty,
  .offcanvas-header a img,
  #cart-coupon,
  #cart-totals,
  button.locate-address-button img,
  .menu-group .menu-group-item .category-title img,
  .input-group.menu-searches img,
  .nav__dropdown-icon,
  .btn-close,
  .btn-close-white,
  .btn-link,
  .btn-outline-danger,
  .btn-outline-success,
  .btn-outline-primary {
    filter: invert(1);
  }

  .nav__img {
    filter: brightness(0) invert(1);
    /* Makes icons white-ish */
  }

  #togglePasswordIcon {
    /* color: white; */
    filter: brightness(0) invert(1);
  }

  .modal {
    background-color: rgba(18, 18, 18, 0.95) !important;
  }

  .wlcm-text,
  .card a,
  .card .card-body h5,
  td.px-0.border-top.lead.fw-bold,
  table.table.table-borderless {
    color: #ffffff !important;
    filter: none;
  }

  input::placeholder {
    color: #A5A1AA !important;
  }

  #page-wrapper {
    background-color: #1b1b1b !important;
    color: #fff !important;
  }

  body>main {
    background-color: #1b1b1b !important;
  }
}

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

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text-color);
}

body>main {
  padding-top: 30px !important;
}

h3 {
  margin: 0;
}

a {
  text-decoration: none !important;
}

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

#notification {
  top: 64px !important;
}

.pac-container {
  z-index: 99999 !important;
}

#cart-box-modal {
  top: 60px !important;
  padding-bottom: 60px;
}

a.btn-app-empty {
  padding: 7px 12px;
  color: #242e30;
  display: inline-flex;
  align-items: center;
  border: 1px solid #242e30;
  border-radius: 12px;
}

a.btn-app-empty:hover {
  color: #bd952c;
  font-weight: 600;
}

/*========== HEADER ==========*/
.header {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--container-color);
  box-shadow: 0 1px 0 rgba(22, 8, 43, 0.1);
  padding: 0 4px;
  z-index: var(--z-fixed);
}

.header__container {
  display: flex;
  align-items: center;
  height: var(--header-height);
  justify-content: space-between;
  margin-left: 40px;
  margin-right: 20px;
}

.count {
  min-width: 20px;
  min-height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  font-size: 12px;
  box-sizing: border-box;
  position: absolute;
  border-radius: 50%;
  color: #fff;
  background-color: #ef1010;
  font-weight: 600;
  margin-left: 36px;
  top: 5px;
}

.nav1__link {
  color: #010100;
  text-align: center;
  width: 68px;
  border-top: 2px solid transparent;
  padding-top: 8px;
  padding-bottom: 8px;
}

.nav__img {
  max-width: 24px;
  height: 24px;
}

.nav1__link:hover {
  color: #bd952c;
}

.nav1__link>.active>a {
  color: #bd952c;
  transition: background-color 0.3s, color 0.3s;
  transition: 0.3s transform ease-in-out;
}

.btn.nav1__link.active:focus {
  box-shadow: none !important;
  transition: background-color 0.3s, color 0.3s;
  transition: 0.3s transform ease-in-out;
}

.nav1__link.active {
  color: #bd952c;
  border-top: 2px solid;
  padding-top: 8px;
  padding-bottom: 8px;
  transition: background-color 0.3s, color 0.3s;
  transition: 0.3s transform ease-in-out;
}

.nav1__link.active span.nav__name:active {
  color: #bd952c;
  transition: background-color 0.3s, color 0.3s;
  transition: 0.3s transform ease-in-out;
}

.nav1__link:focus-visible {
  outline-offset: 0px !important;
  outline: 0 !important;
}

.bx-x {
  content: url(../icons/close-regular-24.png);
  max-width: 19.2px;
  height: 19.2px;
}

.nav__icon1 {
  font-size: 1.2rem;
  max-width: 19.2px;
  height: 19.2px;
}

.header__img {
  width: auto;
  height: auto;
  border-radius: 20%;
}

.header__logo {
  color: var(--title-color);
  font-weight: var(--font-medium);
  display: none;
}

.header__search {
  display: flex;
  padding: .40rem .75rem;
  border-radius: .25rem;
}

.header__input {
  width: 100%;
  border: none;
  outline: none;
  background-color: var(--first-color-light);
}

.header__input::placeholder {
  font-family: var(--body-font);
  color: var(--text-color);
}

.header__icon,
.header__toggle {
  font-size: 1.2rem;
}

.header__toggle {
  color: var(--title-color);
  cursor: pointer;
}

/*========== Cart Offcanvas ========== */
.offcanvas-start {
  border: 0 !important;
  width: 300px !important;
}

.offcanvas-end {
  border: 0 !important;
  width: 432px !important;
}

.offcanvas {
  transition: transform 0.25s ease !important;
  overflow: hidden;
  overflow-y: auto;
  top: 0;
  width: 300px;
}

.offcanvas-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 15px !important;
  border-bottom: 1px solid #000000 !important;
}

.offcanvas-title {
  flex: 1 1 auto;
  font-size: 18px;
  color: #000000;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.offcanvas-header .btn-close {
  padding: 0.5rem 0.5rem;
  margin-top: -0.5rem;
  margin-right: -0.5rem;
  margin-bottom: -0.5rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
  font-size: 13px;
  padding-right: 18px;
  position: relative;
  cursor: pointer;
}

.cart-bdy {
  margin-bottom: 0;
  position: relative;
  flex: 1 1 auto;
  display: flex;
}

.bdy-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.offcanvas-body {
  padding: 8px !important;
}

.cart-items {
  padding: 0px 1.25rem 15px 1.25rem !important;
  max-height: 40vh !important;
}

.cart-bottoms {
  margin-top: 4rem;
  margin-bottom: 3.125rem;
  position: fixed;
  z-index: 1030;
  bottom: 0;
}

.coupons-link {
  font-size: 15px;
  font-weight: 800;
  margin-right: 67px;
  margin-bottom: 10px;
  padding-left: 0;
}

.tips-link {
  font-size: 15px;
  font-weight: 800;
  margin-left: 67px;
  margin-bottom: 10px;
  padding-right: 0;
}

@media (max-width: 567px) {
  .offcanvas-end {
    width: 90% !important;
  }

}

#togglePassword img {
  width: 18px;
  max-width: 18px;
  height: 18px;
  max-height: 18px;
}

#toggleConfirmPasswordIcon {
  width: 18px;
  max-width: 18px;
  height: 18px;
  max-height: 18px;
}

#toggleConfirmPassword img {
  width: 18px;
  max-width: 18px;
  height: 18px;
  max-height: 18px;
}

#toggleNewPassword img {
  width: 18px;
  max-width: 18px;
  height: 18px;
  max-height: 18px;
}

#toggleOldPassword img {
  width: 18px;
  max-width: 18px;
  height: 18px;
  max-height: 18px;
}

.menu-group .menu-group-item .category-title img {
  transition: 0.3s transform ease-in-out;
  max-width: 18px;
  width: 18px;
  height: 18px;
}

.menu-group .menu-group-item .category-title.collapsed img {
  transform: rotate(180deg);
  max-width: 18px;
  width: 18px;
  height: 18px;
}

.menu-group .menu-group-item .category-title.collapsed img {
  transform: rotate(180deg);
  max-width: 18px;
  width: 18px;
  height: 18px;
}

/*========== NAV ==========*/
.header__toggle {
  position: relative;
  width: 30px;
  height: 30px;
  margin-right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.header__toggle .nav__img {
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hover effect */
.header__toggle:hover {
  transform: scale(1.1);
}

.header__toggle:hover .nav__img {
  filter: brightness(0.8);
}

/* Active state (when menu is open) */
.header__toggle[aria-expanded="true"] {
  transform: rotate(180deg);
}

.header__toggle[aria-expanded="true"] .nav__img {
  content: url(../icons/close-regular-24.png);
  transform: rotate(180deg);
}

.nav-fb {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100vh;
  padding: 1rem 1rem 0;
  background-color: var(--container-color);
  box-shadow: 1px 0 0 rgba(22, 8, 43, 0.1);
  z-index: var(--z-fixed);
  transition: .4s;
}

.nav__container {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: 3rem;
  overflow: auto;
  scrollbar-width: none;
  /* For mozilla */
}

/* For Google Chrome and others */
.nav__container::-webkit-scrollbar {
  display: none;
}

.nav__logo {
  font-weight: var(--font-semi-bold);
  margin-bottom: 24px;
}

.nav__list,
.nav__items {
  display: grid;
}

.nav__list {
  row-gap: 2.5rem;
}

.nav__items {
  row-gap: 1.5rem;
}

.nav__subtitle {
  font-size: var(--normal-font-size);
  text-transform: uppercase;
  letter-spacing: .1rem;
  color: var(--text-color-light);
}

.nav__link {
  display: flex;
  align-items: center;
  color: var(--text-color);
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__icon {
  font-size: 1.2rem;
  margin-right: .5rem;
}

.nav__name {
  font-size: 8px;
  font-weight: 600;
  margin-top: 3px;
  color: #010100;
  display: block;
}

.nav__logout {
  margin-top: 5rem;
  margin-bottom: 3rem;
}

/* Dropdown */
.nav__dropdown {
  overflow: hidden;
  max-height: 21px;
  transition: .4s ease-in-out;
}

.nav__dropdown-collapse {
  background-color: #fff;
  border-radius: .25rem;
  margin-top: 1rem;
}

.nav__dropdown-content {
  display: grid;
  row-gap: .5rem;
  padding: .75rem 2.5rem .75rem 1.8rem;
}

.nav__dropdown-item {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
}

.nav__dropdown-item:hover {
  color: var(--first-color);
}

.nav__dropdown-icon {
  margin-left: auto;
  transition: .4s;
  max-width: 16px;
  width: 16px;
  height: 16px;
}

.nav__dropdown-icon {
  width: 16px;
}

/* Show dropdown collapse */
.nav__dropdown:hover {
  max-height: 100rem;
}

/* Rotate icon arrow */
.nav__dropdown:hover .nav__dropdown-icon {
  transform: rotate(180deg);
}

.nav__dropdown:active .nav__dropdown-icon {
  transform: rotate(180deg);
}

/*===== Show menu =====*/
.show-menu {
  left: 0;
}

/*===== Active link =====*/
.active {
  color: #bd952c;
}

.infos-btn {
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  background-color: #ece8e4;
  border: 0;
}

.infos-btn:hover {
  background-color: #dcd4cd;
}

.default-delivery-btn {
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  background-color: #bd952c;
  border: 0;
}

.default-delivery-btn:hover {
  background-color: #bd952c;
}

.input-group.postcode-group.locate-address {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 1px solid #242e30;
  border-radius: 12px;
}

.locate-address-button {
  display: inline-block;
  font-weight: 600;
  line-height: 1.5;
  color: #1d1b1b;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 0;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.locate-address-button:hover:active:focus {
  background-color: transparent;
  border: 0 !important;
}

.togg-btn {
  font-weight: 600 !important;
  border: 0;
  font-size: 13px !important;
  box-shadow: none !important;
}

.togg-btn:hover:active:focus {
  box-shadow: none !important;
}

#openinghours .card.card-body {
  margin-top: 35px;
  width: 100%;
}

.localbox-buttons {
  display: grid;
  gap: 0.5rem;
  float: right;
}

#deliveryModal {
  top: 60px;
}

.booking-timeslots {
  color: #010100;
  width: 160px;
  min-width: 120px;
  min-height: 20px;
  background: transparent;
  border: 1px solid #010100;
  margin: 8px 12px;
  letter-spacing: 0.5px;
}

.booking-timeslots:hover {
  background: #bd952c;
  border: 1px solid #bd952c;
  color: #fff;
  font-weight: 600;
}

@media (min-width: 991px) {
  #infosModal {
    top: 60px;
  }

}

/* ========== MEDIA QUERIES ==========*/
/* For small devices reduce search*/
@media screen and (max-width: 567px) {
  .header__container {
    margin-left: 0;
    margin-right: 0;
  }

}

@media screen and (min-width: 6666px) {
  body {
    padding: 1rem 3rem 0 6rem;
  }

  .header {
    padding: 0 3rem 0 6rem;
  }

  .header__container {
    height: calc(var(--header-height) + .5rem);
  }

  .header__search {
    width: 300px;
    padding: .55rem .75rem;
  }

  .header__toggle {
    display: none;
  }

  .header__logo {
    display: block;
  }

  .header__img {
    width: 40px;
    height: 40px;
    order: 1;
  }

  .nav-fb {
    left: 0;
    padding: 1.2rem 1.5rem 0;
    width: 68px;
    /* Reduced navbar */
  }

  .nav__items {
    row-gap: 1.7rem;
  }

  .nav__icon {
    font-size: 1.3rem;
  }

  /* Element opacity */
  .nav__logo-name,
  .nav__name,
  .nav__subtitle,
  .nav__dropdown-icon {
    opacity: 0;
    transition: .3s;
  }


  /* Navbar expanded */
  .nav-fb:hover {
    width: var(--nav-width);
  }

  /* Visible elements */
  .nav-fb:hover .nav__logo-name {
    opacity: 1;
  }

  .nav-fb:hover .nav__subtitle {
    opacity: 1;
  }

  .nav-fb:hover .nav__name {
    opacity: 1;
  }

  .nav-fb:hover .nav__dropdown-icon {
    opacity: 1;
  }
}

/* Home Page */
.wlcm-text {
  font-size: 19px;
  font-weight: 900;
  color: #191818;
  letter-spacing: 1.5px;
  margin-top: 12px;
  margin-bottom: 6px;
  font-family: "Lato", sans-serif;
}

.pfl-link {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #bd952c;
  text-align: center;
  text-decoration: underline !important;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.pfl-link:hover {
  color: #bd952c;
  font-weight: 500;
}

.card-body h5 {
  font-size: 16px;
  font-weight: 700;
  color: #191818;
  letter-spacing: 0.7px;
  margin-top: 4px;
  margin-bottom: 4px;
  font-family: "Lato", sans-serif;
}


li.breadcrumb-item a {
  color: #010100 !important;
}

.form-control-lg,
.input-lg {
  min-height: calc(1.5em + 1rem + 2px);
  padding: 0.5rem 1rem;
  font-size: 14px !important;
  border-radius: 0.3rem;
}

.btn-apps {
  display: inline-block;
  height: auto;
  padding: 10px 20px;
  background: #bd952c;
  color: #fff !important;
  letter-spacing: 0.03em;
  font-family: "Lato", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  border: 1px solid #bd952c;
  border-radius: 12px;
}

.btn-apps:hover {
  border-color: #d7b454;
  background: #d7b454;
  color: #000000 !important;
  font-weight: 800;
  transition: all 0.5s;
}

/* Tip Form */

.tip-form {
  background-color: transparent;
  border: 1px solid transparent;
}

.cart-tip {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.tip-form .btn-outline-primary.active {
  background-color: #bd952c;
  color: #fff;
}

.tip-form .btn-outline-primary {
  transition: background-color 0.3s, color 0.3s;
}

.tip-form .btn-outline-primary:hover {
  background-color: #198754;
  color: #fff;
}

.input-group .form-control {
  border-radius: 0.375rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.input-group .btn-primary {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-weight: bold;
}

/***** Menu Page *****/

#infosModal .modal-content .modal-body .togg-btn img {
  transition: 0.3s transform ease-in-out;
}

#infosModal .modal-content .modal-body .togg-btn.collapsed img {
  transform: rotate(180deg);
}

.menu-group .menu-group-item .category-title img {
  transition: 0.3s transform ease-in-out;
}

.menu-group .menu-group-item .category-title.collapsed img {
  transform: rotate(180deg);
}

.app-group {
  padding: 3px;
  border: 1px solid #242e30;
  border-radius: 12px;
}

.appicon-button {
  display: inline-block;
  font-weight: 600;
  line-height: 1.5;
  color: #1d1b1b;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 0;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: transparent !important;
}