:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --tertiary-color: #f1c40f;
  --accent-color-1: #f1c40f;
  --accent-color-2: #e67e22;
  --accent-color-3: #e74c3c;
  --accent-color-4: #9b59b6;
  --accent-color-5: #34495e;
  --font-stack: 'Helvetica Neue', sans-serif;
  --font-color: #333;
  --base-padding: 1rem;
}

.cursor-pointer {
  cursor: pointer;
}
.letter-spacing-10 {
  letter-spacing: -10px;
}
.line-height-initial {
  line-height: initial;
}
.mb-2 {
  margin-bottom: 15px;
}
.m-0 {
  margin: 0;
}
.p-0 {
  padding: 0;
}
.d-flex {
  display: flex;
}
.flex-direction-column {
  flex-direction: column;
}
.flex-direction-row {
  flex-direction: row;
}
.justify-center {
  justify-content: center;
}
.align-items-center {
  align-items: center;
}
.grid-full-width {
  grid-column: 1 / -1;
  justify-self: center; /* Centers the content horizontally */
  align-self: center; /* Centers the content vertically */
  display: flex; /* Use flexbox inside the grid item for more control */
  justify-content: center; /* Centers the child elements of .full-width horizontally */
  align-items: center; /* Centers the child elements of .full-width vertically */
  width: 100%; /* Ensure it takes up the full width */
}
.box-shadow {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1.entry-title {
  margin-bottom: 40px;
}
.hide-desktop {
  display: none !important;
}
#tip_options input {
  margin: 0;
}
.text-right {
  text-align: right;
}
.p-2 {
  padding: 20px;
}
.p-3 {
  padding-top: 30px;
}
.m-0 {
  margin: 0;
}
.mt-3 {
  margin-top: 30px;
}
.flex-column {
  flex-direction: column;
}
.cart-items {
  margin-top: 10px;
}
.cart-items .row {
  margin-bottom: 10px;
}

/* PAYMENT */
.payment-information {
  margin-top: 20px;
}
.checkout-total strong {
  font-size: 24px;
}
input#payButton {
  color: rgb(255, 255, 255);
  border-color: rgb(255, 255, 255);
  font-style: normal;
  text-transform: initial;
  background-color: rgb(23, 46, 80);
  max-width: 300px;
  padding: 20px;
  cursor: pointer;
  font-size: 18px;
  letter-spacing: 1px;
}
input#payButton:hover {
  background: #184587 !important;
  border-color: #184587 !important;
  color: #ffffff !important;
}
/* CART */
.cart-items {
  margin: 0 1s0px;
}
.loading {
  position: relative;
}
.loading:before {
  background: white;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
  z-index: 0;
}
/* .loading:after {
  content: '';
  display: block;
  width: 125px;
  height: 125px;
  margin: 40px auto;
  background-image: url('../img/pizza.svg');
  background-repeat: no-repeat;
  background-size: 100%;
  opacity: 0.1;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  animation-name: spinning;
  animation-duration: 1.5s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  display: block;
} */
span.checkout-total {
  /* min-width: 50px; */
  display: inline-block;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-content: flex-start;
  align-items: flex-start;
  flex-direction: row;
  gap: 10px;
  border-bottom: 1px solid rgba(1, 1, 1, 0.3);
  padding: 0 0 15px;
  margin-bottom: 15px;
}
.cart-item__image {
  width: 75px;
  height: 75px;
  color: black;
  display: flex;
  justify-content: center;
}
.cart-item__image img {
  width: auto;
  height: 100%;
}
.cart-item:last-child {
  border: 0;
}
.cart-item__details {
  flex-grow: 1;
  max-width: 350px;
}
.cart-item__links {
  display: flex;
  gap: 10px;
}
.cart-item__addon {
  display: flex;
  gap: 10px;
}
.cart-item__empty {
  padding: 0;
  text-align: center;
  font-weight: bold;
  margin: 0;
  font-size: 20px;
}
/* .cart-item__empty::before {
  content: '';
  display: block;
  width: 125px;
  height: 125px;
  margin: 40px auto;
  background-image: url('../img/pizza.svg');
  background-repeat: no-repeat;
  background-size: 100%;
  opacity: 0.1;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  animation-name: spinning;
  animation-duration: 1.5s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  display: block;
} */
@keyframes spinning {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* NAVIGATION */
.menu-link.menu-icon {
  cursor: pointer;
  padding: 5px 0;
  position: relative;
  display: flex;
  align-items: center;
  margin-left: -5px;
}
.qbutton a {
  background-color: #a21d22 !important;
  color: #ffffff !important;
  border-color: #a21d22 !important;
  padding: 5px 17px;
  border-radius: 4px;
}
.qbutton a:hover {
  background-color: #d60000 !important;
}
.qbutton a:hover:before,
.qbutton a:active:before,
.qbutton a:focus:before {
  content: none !important;
}
.current_page_item.qbutton a::before {
  content: none !important;
}
.menu-link.menu-icon.show-mobile {
  display: none;
}
#counter {
  background: blue;
  color: white;
  font-weight: bold;
  height: 22px;
  width: 22px;
  border-radius: 50%;
  position: absolute;
  font-size: 10px;
  line-height: initial;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  position: absolute;
  right: -14px;
  top: 0;
}
/* PATTERNS */
.checkerboard {
  /* height: 60px; */
  width: 100%;
  background: conic-gradient(
    #fff 90deg,
    #cf2e2e 90deg 180deg,
    #fff 180deg 270deg,
    #cf2e2e 270deg
  );
  background-repeat: repeat;
  background-size: 60px 60px;
  background-position: top left;
}
/* SWITCHER */
.order-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.order-toggle-container {
  display: inline-block;
  position: relative;
  width: 200px;
  height: 42px;
  background: #f4f4f4;
  border-radius: 50px;
  align-self: flex-end;
  /* margin-bottom: 20px; */
}
div#selectedDateTime {
  position: relative;
  height: 42px;
  align-items: center;
  display: flex;
  border: 1px solid black;
  padding: 0 20px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  min-width: 200px;
  justify-content: center;
  font-weight: bold;
}

.order-toggle-container input[type='radio'] {
  display: none;
}

.order-toggle-label {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  /* right: 0; */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: 0.4s;
  color: #000;
  font-size: 14px;
  font-weight: bold;
  width: 50%;
  transition: color 0.35s;
}
.order-toggle-label[for='delivery'] {
  left: auto;
  right: 0;
}

#pickup:checked + .order-toggle-label:nth-of-type(1),
#delivery:checked + .order-toggle-label:nth-of-type(2) {
  background-color: #4caf50;
}

.order-toggle-slider {
  position: absolute;
  height: 100%;
  width: 50%;
  /* background-color: #2196f3; */
  /* background-color: #0f9015; */
  background-color: #0b650c;
  z-index: 1;
  transition: 0.4s;
  border-radius: 50px;
}
input#pickup:checked ~ .order-toggle-label[for='pickup'],
input#delivery:checked ~ .order-toggle-label[for='delivery'] {
  color: #fff;
}
#delivery:checked ~ .order-toggle-slider {
  transform: translateX(100%);
}

#pickup:checked ~ .order-toggle-slider {
  transform: translateX(0);
}

#addressError {
  color: red;
  margin-bottom: 10px;
  margin-top: -10px;
}
#addressSuccess {
  color: green;
  margin-bottom: 10px;
  margin-top: -10px;
}

@media screen and (max-width: 768px) {
  img.custom-logo {
    max-width: 250px;
  }
  .site-branding img {
    max-width: 250px !important;
  }
  ul#primary-menu .menu-icon {
    display: none;
  }
  .order-toggle-wrapper {
    flex-direction: column;
  }
  .order-toggle-container {
    width: 100%;
  }
  div#selectedDateTime {
    width: 100%;
    max-width: 100%;
  }
  .menu-link.menu-icon.show-mobile {
    display: flex;
    margin: -10px 30px 0 30px;
  }
  .menu-link.menu-icon.show-mobile svg {
    width: 40px;
    height: 40px;
  }
  .menu-link.menu-icon.show-mobile #counter {
    top: 39px;
  }
  .menu-wrapper .nav-wrapper {
    z-index: 99;
    border-bottom: 1px solid;
    background: white;
    padding-top: 20px;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }
  .section {
    padding: 30px 0;
  }
  .order-toggle-container {
    align-self: center;
  }
  .product .product-image {
    width: 300px;
    height: auto;
  }

  #carousel-container .caption h2 {
    font-size: 1.75rem !important;
    max-width: 80% !important;
  }
  #carousel-container #prev {
    left: -10px !important;
  }
  #carousel-container #next {
    right: -10px !important;
  }

  .extras {
    flex-direction: column !important;
  }
  .files {
    justify-content: space-evenly !important;
    justify-items: center !important;
    align-content: space-evenly !important;
    align-items: center !important;
  }
  .files a {
    text-wrap: wrap !important;
    white-space: wrap !important;
    max-width: 90% !important;
    width: 100% !important;
    text-align: center !important;
  }
}
/* END SWITCHER */
.nav-wrapper {
  padding-top: 40px;
}
.nav {
  position: sticky;
  top: 0;
  width: 200px;
  background-color: #fff;
  height: 100%;
  padding: 40px 0 20px 0;
}

.nav a {
  font-weight: bold;
  font-size: 20px;
  display: block;
  padding: 5px 10px;
  text-decoration: none !important;
  color: #000;
  position: relative;
}

.nav a.active {
  /* color: #f2002d; */
  color: #cf2e2e;
  /* text-decoration: underline !important; */
}

.section {
  /* min-height: 300px; */
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px 0;
}

.section:nth-child(odd) {
  /* background-color: green; */
}

.section:nth-child(even) {
  /* background-color: #f2f2f2; */
}
.menu-wrapper {
  display: flex;
  flex-direction: row;
}
.section-wrapper {
  flex-grow: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  margin-bottom: 75px;
}
.section-wrapper h2 {
  color: #cf2e2e;
  margin-bottom: 10px;
}
.section-wrapper p {
  margin-bottom: 15px;
}

/* FOOD ITEMS */
.food-item {
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  grid-template-columns: 1fr 100px;
  grid-template-rows: auto auto;
  gap: 0;
  width: 100%;
  border: 1px solid #868181;
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 13px 20px 15px;
}
.food-item .food-item__title {
  font-weight: bold;
  grid-column: 1;
  grid-row: 1;
  font-size: 18px;
}
.food-item .food-item__description {
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 20px;
}
.food-item .food-item__price {
  font-weight: bold;
  /* grid-column: 2; */
  grid-row: 1 / span 2;
  text-align: right;
  font-style: italic;
}
.food-item__price ~ .food-item__price::before {
  content: '- ';
}

.switch-field {
  display: flex;
  margin: 10px 0 20px;
  overflow: hidden;
}

.switch-field h4 {
  margin: 0 20px 0 0;
  font-size: 14px;
  font-weight: bold;
  align-self: center;
}

.switch-field input {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  border: 0;
  overflow: hidden;
}

.switch-field label {
  background-color: transparent;
  border-radius: 4px;
  color: black;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  padding: 12px 16px;
  margin-right: 0;
  transition: all 0.1s ease-in-out;
}

.switch-field label:hover {
  cursor: pointer;
}

.switch-field input[type='radio']:checked + label {
  background-color: #cf2e2e;
  box-shadow: none;
  color: white;
}

.switch-field label:first-of-type {
  border-radius: 4px;
}

.switch-field label:last-of-type {
  /* border-radius: 0 4px 4px 0; */
}

.addon-group fieldset {
  width: 100%;
  padding: 8px 10px 20px;
  border: 2px solid #f1f1f1;
  border-radius: 6px;
  position: relative;
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.addon-group fieldset legend {
  text-transform: uppercase;
  font-weight: bold;
  margin: 0 !important;
  padding: 0 !important;
}
.addon-group fieldset label {
  display: block;
  margin: 0;
  margin-bottom: 0px;
  /* background-color: #f1f1f1; */
  padding: 5px 10px;
  border-radius: 4px;
  display: block;
  font-size: 14px !important;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  line-height: 1;
  flex: 0 0 calc(100% / 3);
}
.addon-group fieldset label input {
  margin-right: 5px;
  width: 20px;
  height: 20px;
}
.food-item__size {
  text-align: right;
  font-weight: bold;
  font-style: italic;
}

/** SMP LOADER **/
.agc-loader,
.loading {
  font-size: 24px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: last baseline;
  gap: 25px;
}
.dot-flashing {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #0b650c;
  color: #0b650c;
  animation: dot-flashing 1s infinite linear alternate;
  animation-delay: 0.5s;
}
.dot-flashing::before,
.dot-flashing::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
}
.dot-flashing::before {
  left: -15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #0b650c;
  color: #0b650c;
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 0s;
}
.dot-flashing::after {
  left: 15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #0b650c;
  color: #0b650c;
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 1s;
}

@keyframes dot-flashing {
  0% {
    background-color: #0b650c;
  }
  50%,
  100% {
    background-color: rgba(57, 192, 138, 0.2);
  }
}

/* FORM */
form.styled {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  /* width: 600px; */
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 30px;
  margin-top: 20px;
}

form.styled label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

form.styled input,
form.styled select {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
form.styled .wrapper {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
}
form.styled .field {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.modal__btn {
  max-width: 300px;
}
@media screen and (max-width: 768px) {
  form.styled .wrapper {
    flex-direction: column;
    gap: 0;
  }
  form.styled .field {
    width: 100%;
  }
}

/* FOOTER */
.footer-widget-area h3.wp-block-heading {
  color: white;
  border-bottom: 2px solid #cf2e2e;
  display: inline-block;
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
  .food-item {
    display: block;
  }
  .food-item__price {
    display: inline-block;
  }
  h1.wp-block-heading {
    font-size: 100px !important;
  }
  .wp-block-heading.letter-spacing-10.line-height-initial.m-0 {
    font-size: 7rem !important;
  }
  .nav {
    display: flex;
    width: 100%;
    overflow: auto;
  }
  .nav a {
    white-space: nowrap;
  }
  .menu-wrapper {
    flex-direction: column;
  }
  .section-wrapper {
    padding: 0;
  }
  .section {
    padding: 10px 0;
  }
  fieldset {
    gap: 2px;
    flex-direction: column;
  }

  p.cart-item__empty {
    position: absolute;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9;
  }

  .product-details .buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

/** PRODUCTS **/
.products {
  padding-top: 40px;
  padding-bottom: 40px;
}
.product {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product a {
  color: #000;
  text-decoration: none;
}
.product .prices {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
}
.product .price-current {
  font-size: 16px;
  background-color: #00f;
  color: #fff;
  padding: 1px 7px;
  font-weight: bold;
}
.product .price-original {
  text-decoration: line-through;
}
.single-product {
  margin: 2.5rem 0;
}
.single-product h1 {
  margin: 0;
  text-align: left;
}
.product h3 {
  margin: 5px;
}
.single-product .description {
  text-align: left;
}
.product-details {
  padding: 0 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  text-align: center;
}
.product-details .attributes {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
}
.product-details .buttons {
  display: flex;
  gap: 10px;
}
.product-image {
  text-align: center;
}
.single-product .product-details {
  justify-content: flex-start;
  justify-content: flex-start;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-left: 40px;
  text-align: center;
}
.single-product .prices {
  display: flex;
  gap: 20px;
  font-size: 20px;
}
.single-product .prices .price-original {
  text-decoration: line-through;
  opacity: 0.8;
}
body:not(.home) #primary {
  /* padding-bottom: 70px; */
  /* padding-top: 40px; */
}
.quantity {
  display: flex;
}
.quantity button {
  border: 1px solid;
  border-radius: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
input.item_quantity {
  width: 50px;
  height: 30px;
  text-align: center;
  border: 1px solid;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}
input.item_quantity {
  color: #666;
  border: 1px solid #ccc;

  border-radius: 0 !important;
  padding: 5px;
  border: 1px solid #333 !important;
  width: 100px;
}
/* CATEGORIES */
.categories {
  margin-top: 30px;
  padding-top: 0;
}
.categories h3 {
  font-size: 16px;
  text-align: center;
  padding: 10px 10px 0 10px;
}
.categories h3 a {
  color: black;
  text-decoration: none;
}
.categories h3 a:hover {
  color: #cf2e2e;
}
.categories h4 {
  margin: 0;
  padding: 0;
  font-size: 16px;
}
.categories .product-image {
  position: relative;
  position: relative;
  min-width: 300px;
  min-height: 300px;
}
.categories .product-image a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.categories .product-image img {
  object-fit: cover;
  height: 300px;
}
.categories .category-image img {
  object-fit: cover;
  height: 200px;
}
.extras {
  display: flex;
  flex-direction: row;
  gap: 40px;
}
.extras h2 {
  font-size: 18px;
  font-weight: normal;
  line-height: 30px;
  margin-bottom: 30px;
}
.files {
  display: grid;
  flex-direction: column;
  justify-content: flex-start;
  align-content: stretch;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 30px;
  min-width: 380px;
}
.files h3 {
  font-size: 22px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 15px;
}
.files a {
  text-decoration: none;
  padding: 10px 20px;
  margin: 0;
  display: inline-block;
  font-size: 13px;
  letter-spacing: 1px;
  text-wrap: nowrap;
  white-space: nowrap;
}
/* PRODUCT IMAGE CAROUSEL */
.image-carousel {
  width: 100%;
  text-align: center;
}

#mainImage img {
  width: 100%;
  max-width: 400px; /* Adjust based on preference */
  height: auto;
  margin-bottom: 20px;
  /* max-height: 400px;
  object-fit: contain; */
  height: 400px;
  object-fit: cover;
}

.thumbnails img {
  width: 75px; /* Adjust thumbnail size as needed */
  /* height: auto; */
  margin: 5px;
  cursor: pointer;
  opacity: 0.6;
  height: 75px;
  object-fit: cover;
}

.thumbnails img:hover {
  opacity: 1;
}

/*  BUTTONS */
button.btn {
  padding: 10px 20px;
  border: 0;
  border-radius: 4px;
  background-color: #306cf2;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.35s;
}
button.btn:hover {
  filter: brightness(0.85);
}
button.btn.primary {
  background-color: #306cf2;
  border: transparent;
  box-shadow: none;
  font-weight: bold;
  color: #fff;
}
span.badge.badge-primary {
  background: #31bc6b;
  color: white;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  min-height: 22px;
  font-weight: bold;
}
button.btn.btn-secondary {
  background: #172e50 !important;
}
button.btn.btn-secondary:hover {
  background: #184587 !important;
}

/** FORMS **/
div.wpforms-container-full .wpforms-field-label {
  margin-bottom: 15px;
}
div.wpforms-container-full .wpforms-confirmation-container-full,
div[submit-success]
  > .wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
  background: transparent;
  border: none;
  box-sizing: border-box;
  padding: 0;
  font-size: 16px;
}

/* ERRORS */
.error {
  border: 1px solid red !important;
}
#validationErrors {
  margin: 20px 0;
  text-align: center;
}

/* BLOCK BUTTONS */
.wp-block-button__link {
  color: #fff;
  background-color: #a21d22 !important;
  border-radius: 10px;
  box-shadow: none;
  text-decoration: none;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  font-size: 1.125em;
}
.wp-block-button__link:hover {
  color: #fff;
}
