div#custom-food-ordering {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  min-width: 1140px;
}

div#custom-food-ordering h2,
div#custom-food-ordering h3,
div#custom-food-ordering p {
  margin: 0;
}

#left-sidebar,
#right-sidebar {
  min-width: 250px;
  max-width: 250px;
  position: relative;
}

#right-sidebar .card {
  position: sticky !important;
  top: 30px;
}

#right-sidebar .card .bordered {
  overflow-y: auto;
  max-height: 75svh;
}

/* For Webkit browsers */
#right-sidebar .card .bordered::-webkit-scrollbar {
  width: 6px;
}

#right-sidebar .card .bordered::-webkit-scrollbar-thumb {
  background-color: lightgray;
  border-radius: 0px;
  background-clip: content-box;
}

/* For Firefox */
#right-sidebar .card .bordered {
}

#right-sidebar h2 {
  font-size: 20px;
  font-weight: 700;
}

#right-sidebar ul {
  padding: 0;
  list-style-type: none;
  margin-top: 8px;
  margin-bottom: 20px;
}

#right-sidebar > ul li span {
  max-width: 90%;
  display: inline-block;
  line-height: 1.2;
}

#right-sidebar > ul li:not(:last-of-type) {
  border-bottom: 1px solid lightgray;
  padding-bottom: 10px;
  margin-bottom: 15px;
}
#right-sidebar > ul li:not(:nth-child(1)) {
  padding-top: 15px;
}

.left-sidebar-content {
  position: sticky;
  width: 100%;
  top: 30px;
  left: 0;
  font-size: 16px;
}

#content-area {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

#content-area h2 {
  font-size: 24px !important;
  font-weight: 700;
}

.leftrightwrapper {
  width: 100%;
  display: flex;
}

.left-sidebar-content h2 {
  padding: 10px 0;
}

.left-sidebar-content h2:not(:last-of-type) {
  border-bottom: 1px solid lightgray;
}

.left-sidebar-content a {
  text-decoration: none;
}

.product-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-direction: column;
}

.productinfo p {
  opacity: 0.8;
  font-size: 14px;
  margin-bottom: 5px !important;
}

.producttitle p {
  font-weight: 600;
}
.product-left-section {
  flex: 1;
}

.notification {
  padding: 10px;
  border: 1px solid;
  margin-right: 30px;
}

.notification-error {
  border-color: #96031a;
  background-color: #96031a0a;
  color: #96031a;
}

.notification-info {
  border-color: #d4af37;
  background-color: #d4af370a;
  color: #d4af37;
}

.notification-success {
  border-color: #004d40;
  background-color: #004d400a;
  color: #004d40;
}

.product-right-section {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-direction: column;
}

.product-right-section div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-right-section .add-to-cart-button,
.choose-options-button {
  border-radius: 999px !important;
}

.product-right-section .add-to-cart-button,
.product-right-section .add-to-cart-button__modal {
  min-height: 40px;
  min-width: 40px;
  border: 1px solid lightgray;
  background-color: white !important;
  color: black;
  font-weight: 700;

  background: none;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-to-cart-button svg,
.add-to-cart-button__modal svg {
  float: left;
  width: 20px;
  height: 20px;
}

#modal-add-to-cart svg {
  fill: white;
}

.svg_spinner {
  animation: rotateIndefinitely 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes rotateIndefinitely {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.product-price {
  color: #333;
  font-size: 1rem;
}

.quantity-selector {
  margin-right: 10px;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.card:not(#right-sidebar .card),
#right-sidebar .card .bordered {
  border: 1px solid lightgray;
  padding: 15px;
  border-radius: 8px;
}

.productcatwrapper .product-wrapper:not(:last-of-type) {
  border-bottom: 1px solid lightgray;
}

.product-wrapper {
  padding-bottom: 15px;
  border-radius: 0px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 3px !important;
}

.quantity-controls input[type="number"] {
  background-color: transparent;
}

.quantity-controls button {
  border: 1px solid lightgray;
  background: white;
  border-radius: 999px;
}

.quantity-minus,
.quantity-plus {
  cursor: pointer;
}

.quantity-display {
  padding: 0 10px;
}

.curquant {
  font-size: 12px;
}

.quantity-controls * {
  min-height: 30px;
  padding: 0;
  box-sizing: border-box;
  min-width: 30px;
}

.quantity-controls input {
  max-width: 30px;
  border: none;
  text-align: center;
}

.quantity-controls input::-webkit-outer-spin-button,
.quantity-controls input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.quantity-controls input[type="number"] {
  -moz-appearance: textfield;
}

html {
  scroll-behavior: smooth;
}

.checkmark {
  /* Hide spinner and display checkmark */
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/3/3b/Eo_circle_green_checkmark.svg");
  background-size: cover;
  animation: none;
}

.invisible {
  opacity: 0;
}

.producttitle {
  position: relative;
  display: inline-flex;
  font-weight: 500;
}

.curquant {
  position: absolute;
  right: -25px;
  top: -0px;
  background: darkgray;
  width: 20px;
  height: 20px;
  color: white;
  border-radius: 999px;
  text-align: center;
}

/* Modal */

#product-modal {
  opacity: 0;
  transition: opacity 1s;
}

#product-modal.show {
  opacity: 1;
}

#cart-modal {
  opacity: 0;
  transition: opacity 1s;
}

#cart-modal.show {
  opacity: 1;
}

.modal-content {
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
  transform: translateY(20px);
  max-width: 500px;
  max-height: 100svh;
  overflow-y: scroll;
}

.modal-content.show {
  opacity: 1;
  transform: translateY(0);
}

h3.addon-category-title {
  font-size: 24px;
}

div#product-modal {
  position: fixed;
  width: 100vw !important;
  height: 100svh !important;
  left: 0;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 50;
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
}

#custom-food-ordering {
  max-width: 1140px;
  margin: 0 auto;
}

.addonflex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 5px;
}

.modal-content {
  background: white;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-radius: 10px;
  max-height: 75vh;
  overflow-y: hidden;
}

.modal-content > div:not(#modalfooter) {
  padding-inline: 40px;
}

/* style the scrollbar */
#addon-wrapper::-webkit-scrollbar {
  width: 6px;
}

#addon-wrapper::-webkit-scrollbar-thumb {
  background-color: lightgray;
  border-radius: 6px;
}

/* style the scrollbar */
div#cart-modal {
  position: fixed;
  width: 100vw !important;
  height: 100dvh !important;
  left: 0;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 50;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hidden-desktop {
  display: none;
}

.modal-content {
}

.btnicon {
  margin-right: 5px;
}
.sidebarbuttons {
  width: 100%;
  padding-block: 15px;
  text-align: center;
  background-color: #1d5628;
  border-radius: 999px;
  margin-top: 10px;
  color: white;
}

span.close-modal {
  font-size: 40px;
  max-height: 20px;
  line-height: 1;
  position: absolute;
  top: 0px;
  right: 20px;
}

#modal-add-to-cart {
  width: 100%;

  border-radius: 999px !important;
  background-color: #1d5628 !important;
}

.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.sidecart__veelgestelde-vragen {
  text-align: center;
  margin-top: 8px;
  opacity: 0.75;
}

.sidecart__veelgestelde-vragen p {
  text-align: center;
  font-size: 14px;
  color: gray;
}

.after-checkoutbutton p,
.after-checkoutbutton a,
.after-checkoutbutton a.sidecart__veelgestelde-vragen,
p.after-checkoutbutton {
  color: gray !important;
  opacity: 1 !important;
}

p.after-checkoutbutton {
  text-align: center;
  margin-top: 10px !important;
}

.after-checkoutbutton a.sidecart__veelgestelde-vragen {
  text-decoration: underline;
}

@media only screen and (max-width: 1190px) {
  .sidecart__veelgestelde-vragen {
    display: flex;
    text-align: center;
    border: 2px solid black;
    margin-top: 0px;
    align-items: center;
    justify-content: center;
    opacity: 1;
  }

  #right-sidebar > .card {
    display: flex;
    gap: 5px;
  }

  .sidebarbuttons {
    width: 50%;
    margin-top: 0;
  }

  .hidden-mobile {
    display: none !important;
  }

  .hidden-desktop {
    display: block !important;
  }

  div#custom-food-ordering {
    flex-direction: column;
    min-width: 100%;
  }

  #left-sidebar,
  #right-sidebar {
    min-width: 100%;
    max-width: 100%;
    position: relative;
  }

  .left-sidebar-content {
    position: relative;
    background: white;
    overflow: hidden;
    top: 0;
  }

  #left-sidebar {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 5;
  }

  #right-sidebar .card {
    position: relative;
    bottom: 0;
    left: 0;
  }

  #right-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
  }

  .right-sidebar-content {
    display: none;
  }
  #right-sidebar > .card > h3 {
    display: none;
  }
  #right-sidebar > .card {
    background: white;
  }
}

@media (max-width: 768px) {
  .product-right-section > div {
    flex-direction: column !important;
    align-items: end;
  }

  .add-to-cart-button {
    font-size: 14px;
    padding: 8px 12px;
  }
  .left-sidebar-content.card {
    padding: 10px 10px !important;
    margin-left: -10px;
    width: 100vw;
  }
}

p.customcart_waarborg {
  display: none;
}

.modalform h3 {
  margin-bottom: 5px;
}

.modalform input {
  width: 100%;
  padding: 10px !important;
  margin-bottom: 10px;
  border: 1px solid lightgray !important;
  border-radius: 8px;
}

.formgroup h3 {
  margin-bottom: 8px;
  font-family: "Quicksand", Sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px;
}

.formgroup {
  margin-bottom: 25px;
}

.productdescription p {
  margin-bottom: 50px;
}

.productdescription p:first-of-type {
  display: none;
}

.titlepricewrapper {
  padding-top: 40px;
}

.titlepricewrapper h2,
.titlepricewrapper h3 {
  margin: 0 !important;
}

.kies-zelf-groenten {
  margin-top: 8px;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #1d5628;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #1d5628 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cart-product-details {
  font-size: 13px;
  margin-bottom: 0px !important;
  margin-top: 0px !important;
}

.cartuser {
  font-weight: 600;
}

.cartproduct {
  font-weight: 600;
  font-size: 13px;
}

.cart-opmerking {
  margin-top: 16px !important;
  font-style: italic;
}

.cart-item {
  display: flex;
  justify-content: space-between;
}

.cart-item-name,
.cart-item-price {
  display: inline-block;
}

.trashcan-button {
  padding: 0;
  width: 15px;
  height: 15px;
  border: 0;
}

.trashcan-button svg {
  width: 15px;
  height: 15px;
}

.woocommerce-checkout .trashcan-button {
  display: none;
}

.productdetailscart {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

/* Hide the meta label when it only contains a colon */

span.cart-item-price {
  display: block;
  min-width: 40px !important;
  text-align: right;
}

div#order_review li.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0px !important;
}

.category-banner-image {
  aspect-ratio: 4/1;
  object-fit: cover;
  object-position: center;
  margin-bottom: 30px;
  border-radius: 8px !important;
}

strong.wc-item-meta-label {
  display: none !important;
}

ul.wc-item-meta {
  padding-left: 0px;
}

td.woocommerce-table__product-name.product-name > a,
strong.product-quantity {
  font-weight: 600 !important;
  pointer-events: none;
}

.category-description {
  margin-top: 30px;
}

.category-description ul {
  padding-left: 20px !important;
}

.category-description ul li:not(:last-of-type) {
  margin-bottom: 5px;
}

.afhaaltimerwrapper {
  width: 100%;
  text-align: center;
  padding-block: 20px;
  border-bottom: 1px solid lightgray;
  position: sticky;
  top: 0;
  font-weight: bold;
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: #1d5628;
}

.formgroup label {
  margin-top: -5px;
  margin-left: 3px;
}
.formgroup input {
  margin-bottom: 10px;
}

input#product_persoonnaam {
  border: 1px solid lightgray;
  padding: 10px !important;
}

#custom-food-ordering h2,
#custom-food-ordering h3 {
  color: #1d5628 !important;
}

.formgroup h3 span {
  font-weight: 400;
}

/* sticky footer */
#addon-wrapper {
  overflow-y: auto; /* Makes the modal itself scrollable */
  position: relative; /* Needed for sticky positioning context */
  max-height: 50vh;
}

#modalfooter {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%; /* Adjust the width as necessary */
  z-index: 100; /* Ensure it's above other content */
  border-top: 1px solid lightgray;
  background: rgb(248, 248, 248);
  padding: 20px;
}

#custom-h3-heading h3 {
  font-size: 32px;
}

.woocommerce-order h2,
.woocommerce-order h3 {
  color: #1d5628;
}
