body {
    background-color: lightgray;
}

html, body, #root, .app-wrapper {
    height: 100%;
}

.app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-content {
    flex: 1;
}

.dish-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
}
.dish-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.dish-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.dish-detail img {
    max-height: 400px;
    object-fit: cover;
}


.dish-card button {
    background-color: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.spinner {
  width: 56px;
  height: 56px;
  display: inline-block;
  border-radius: 50%;
  border: 4px solid #e5e7eb;
  border-top-color: #ff6900;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.loading-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  z-index: 9999;
}

@import "@flaticon/flaticon-uicons/css/all/all";

:root {
  /*  colors  */
  --theme-primary: #ff6900;
  --theme-secondary: #ffb100;
  --theme-accent: #ffb100;
  --theme-body: #282828;
  /*  typography*/
  --theme-font: "Montserrat", sans-serif;
}

body {
  background: #f8f8f8;
  font-family: var(--theme-font);
  font-size: 18px;
  color: var(--theme-body);
}

.bg-doodle {
  background-image: url("../images/page-bg.png");
  background-size: auto;
  background-position: center;
  background-repeat: repeat;
}

.aj-drop-shadow {
  box-shadow: 0px 0px 10px rgba(159, 159, 159, 0.3);
}

.min-height-600 {
  min-height: 600px;
}

.text-primary {
  color: var(--theme-primary) !important;
}

.text-secondary {
  color: var(--theme-secondary) !important;
}

.text-accent {
  color: var(--theme-accent) !important;
}

.text-body {
  color: var(--theme-body) !important;
}

.background-primary {
  background-color: var(--theme-primary) !important;
}

.background-secondary {
  background-color: var(--theme-secondary) !important;
}

.background-white {
  background-color: #ffffff !important;
}

h1 {
  font-weight: 700;
  font-size: 56px;
  line-height: 1.4;
  margin-bottom: 0px;
}

h2 {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 0px;
}

h3 {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 0px;
}

h4 {
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 0px;
}

.body-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.body-text-small {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.body-text-extra-small {
  font-size: 12px;
  font-weight: 400;
  line-height: 22px;
}

a {
  text-decoration: none;
  color: var(--theme-primary);
  font-weight: 600;
}

.aj-site-logo {
  color: var(--theme-primary) !important;
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
}

.border-right-divider {
  border-right: 2px dashed var(--theme-body);
}

.border-left-divider {
  border-left: 2px dashed var(--theme-body);
}

.text-divider {
  display: flex;
  align-items: center;
}

.text-divider::before,
.text-divider::after {
  flex: 1;
  content: "";
  padding: 1px;
  background-color: var(--theme-accent);
  margin: 10px;
}

.mh-0 {
  min-height: 1px !important;
}

.aj-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--theme-accent);
  padding: 0px 14px;
  border-radius: 100px;
}

.aj-link {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

/*//////////////////////////////////*/
/*//////////// Buttons ////////////*/

.btn-primary {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  background-color: var(--theme-primary);
  border-color: var(--theme-primary);
  border-radius: 4px;
  max-width: 160px;
  width: 160px;
  padding: 8px 12px;
}

.btn-transparent {
  background: none;
  padding: 0px;
  margin: 0px;
  line-height: 1;
  border: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--theme-accent);
  border-color: var(--theme-accent);
}

.btn-primary.background-secondary:hover,
.btn-primary.background-secondary:focus {
  background-color: var(--theme-accent) !important;
  border-color: var(--theme-accent) !important;
}

.btn-transparent:hover,
.btn-transparent:focus {
  color: var(--theme-accent) !important;
}

.aj-button {
  width: auto !important;
  max-width: none !important;
  padding: 8px 60px;
}

.aj-button.w-100 {
  width: 100% !important;
  max-width: 100% !important;
}

.btn-transparent.aj-button {
  background: none;
  color: var(--theme-primary);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  background-color: transparent;
  border: 1px solid var(--theme-primary);
  border-radius: 4px;
  max-width: 160px;
  width: 160px;
  padding: 8px 12px;
  line-height: 1.6;
}

.btn-transparent.aj-button:hover,
.btn-transparent.aj-button:focus {
  background-color: var(--theme-accent);
  border-color: var(--theme-accent);
  color: #fff !important;
}

.btn-close {
  background: transparent;
  color: var(--theme-accent);
  font-size: 24px;
  margin: 0px;
  line-height: 1;
  opacity: 1;
  padding: 0;
}

.btn-close:hover {
  color: var(--theme-primary);
}

.btn-danger {
  background-color: #F23737;
  border-color: #F23737;
}

.btn-danger:hover {
  background-color: #EB5757;
  border-color: #F23737;
}

/*///////////////////////////////////*/

/*//////////////////////////////////*/
/*///////// Form Elements /////////*/

.form-control,
.form-select {
  border: 3px solid var(--theme-primary);
  border-radius: 4px;
  font-size: 16px;
  padding: 8px 20px;
  color: var(--theme-body);
  font-weight: 500;
  /* min-height: 42px; */
}

.form-check-input[type="checkbox"] {
  border-radius: 4px;
  border: 3px solid var(--theme-primary);
}

/*///////////////////////////////////*/

/*//////////////////////////////////*/
/*//////////// HEADER /////////////*/

.navbar-nav .nav-item .nav-link {
  font-size: 16px;
  font-weight: 500;
  padding: 8px 12px;
  color: var(--theme-body);
}

.navbar-nav .nav-item .nav-link.active,
.navbar-nav .nav-item .nav-link:hover {
  color: var(--theme-primary);
}

.navbar-nav .dropdown i {
  font-size: 18px;
  line-height: 18px;
}

.navbar-nav .dropdown i:before {
  line-height: 18px;
}

.navbar-nav .dropdown .dropdown-menu {
  padding: 0px;
  border: none;
  border-radius: 6px;
}

.navbar-nav .dropdown .dropdown-menu .dropdown-item {
  font-size: 14px;
  font-weight: 400;
  padding: 12px 16px;
}

.navbar-nav .dropdown .dropdown-menu .dropdown-divider {
  margin: 0px 8px;
}

.navbar-nav .dropdown .dropdown-menu .dropdown-item:focus,
.navbar-nav .dropdown .dropdown-menu .dropdown-item:hover {
  background-color: var(--theme-primary);
  color: #ffffff;
  font-weight: 500;
}

/*///////////////////////////////////*/

/*//////////////////////////////////*/
/*//////////// FOOTER /////////////*/

.footer-menu {
  list-style: none;
  padding: 0px;
}

.footer-menu li a {
  color: var(--theme-body);
  text-decoration: none;
}

.footer-menu li a:hover,
.footer-menu li.active a,
.social-icon-menu li a:hover {
  color: var(--theme-primary);
  font-weight: 500;
}

.social-icon-menu li {
  display: inline-block;
  padding-right: 20px;
}

.social-icon-menu li a {
  font-size: 22px;
}

.copyright-bar p,
.copyright-bar ul {
  margin-bottom: 0px;
}

.copyright-menu li {
  display: inline-block;
  padding-left: 20px;
}

.copyright-menu li a {
  color: #ffffff;
}

/*///////////////////////////////////*/

/*//////////////////////////////////*/
/*//////////// LANDING ////////////*/

.banner-section {
  background-image: url("../images/home-bg.png");
  min-height: 700px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-section {
  background-image: url("../images/cta-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.recipe-card img.card-img-top {
  height: 160px;
  object-fit: cover;
}

/*///////////////////////////////////*/

/*//////////////////////////////////*/
/*////////// SINGLE PAGE //////////*/

.product-page {
  background-image: url("../images/page-bg.png");
  background-position: center;
  background-repeat: repeat;
}

#pills-tab button {
  padding: 0px;
  background: transparent;
  border: none;
  font-weight: 500;
}

#pills-tab button.active {
  text-decoration: underline;
  text-decoration-color: var(--theme-primary);
  text-underline-offset: 8px;
  text-decoration-thickness: 3px;
}

.quantity-wrapper {
  border: solid 2px var(--theme-primary);
  border-radius: 6px;
}

.product-page .quantity-wrapper .form-control {
  width: auto;
  max-width: 75px;
}

.product-page .quantity-wrapper button {
  border-radius: 0px;
  min-width: 45px !important;
  max-width: 45px !important;
  width: 100% !important;
}

/*///////////////////////////////////*/

/*//////////////////////////////////*/
/*///////////// POPUP /////////////*/

.modal-dialog {
  max-width: 560px;
}

.modal-content {
  border-radius: 24px;
}

.modal-body {
  padding: 10px 20px;
}

/*///////////////////////////////////*/

/*//////////////////////////////////*/
/*///////// MEDIA QUREIES /////////*/

@media (max-width: 992px) {
  .aj-site-logo {
    position: static !important;
    transform: none !important;
    text-align: center;
    display: block;
  }

  .aj-navbar-left,
  .aj-navbar-right {
    justify-content: center;
    width: 100%;
    text-align: center;
    flex-direction: column;
  }

  .navbar>.container-fluid {
    align-items: flex-start;
  }
}

@media (max-width:767px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 28px;
  }

  h4 {
    font-size: 22px;
  }

}
