  .progress-container {
      width: 100%;
      background-color: #f3f3f3;
      height: 4px;
      margin-top: 5px;
      border-radius: 2px;
      overflow: hidden;
  }

  .progress-bar {
      width: 0;
      height: 100%;
      background-color: #4caf50;
      border-radius: 2px;
      transition: width 1.5s ease-in-out;
  }

  #loading-indicator {
      margin-top: 10px;
      font-size: 14px;
      color: #333;
      display: none;
  }

  #redirect-message {
      font-size: 14px;
      color: green;
      display: none;
  }

  #total-price {
      font-weight: bold;
      font-size: 20px;
      color: #94524A;
  }

  #discount-note {
      font-size: 12px;
      color: #666;
      font-style: italic;
  }



  .dish-item {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 10px;
      border: 1px solid #e0e0e0;
      border-radius: 10px;
      background-color: white;
      text-align: center;
      height: 100%;
      box-sizing: border-box;
      max-width: 100%;
  }

  @media (max-width: 768px) {
      .dish-item {
          padding: 5px;
      }
  }

  .dish-image img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
  }



  @media (min-width: 1025px) {
      .dish-bundle-grid-item 
          .dish-size-row:first-of-type .dish-size {
              width: calc(50% - 5px);
              min-width: auto;
          }
      }

  @media (max-width: 1024px) and (min-width: 769px) {
      .dish-size-row:first-of-type .dish-size {
          width: calc(50% - 5px);
      }
  }

  @media (max-width: 768px) {
      .dish-size-row:first-of-type .dish-size {
          width: 100%;
      }
  }



  @media (max-width: 1024px) and (min-width: 768px) {
      .dish-size label {
          font-size: 14px;
          margin-bottom: 0px;
      }

      .dish-size-price {
          font-size: 12px;
          margin-top: 8px;
      }
  }

  @media (max-width: 767px) and (min-width: 450px) {
      .dish-size label {
          font-size: 14px;
          margin-bottom: 0px;
      }

      .dish-size-price {
          font-size: 12px;
          margin-top: 5px;
      }
  }

  .dish-size input[type="number"]::-webkit-outer-spin-button,
  .dish-size input[type="number"]::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
  }

  .dish-size input[type="number"] {
      -moz-appearance: textfield;
  }
 




/************ Variants summary ************/
.variation-summary {
  margin: 0;
  font-size: .9em;
}
.variation-summary .variation-quantities span {
  display: none !important;
}

.dt-layout-row {
    display: none !important;
}

.dt-layout-row.dt-layout-table {
    display: inline !important;
}



/************ Only hide inside the grid ************/
.dish-bundle-grid .dish-sizes {
  display: none;
  margin: 0;
  padding: 0;
  height: 0;
  overflow: hidden;
}

/* 1) In the GRID, hide all size-labels & buttons by default */
.dish-bundle-grid .dish-size .size-label-price .dish-size-price,
.dish-bundle-grid .dish-size .size-label-price label,
.dish-bundle-grid .dish-size .quantity-buttons .dish-quantity, 
.dish-bundle-grid .dish-size .quantity-buttons button {
  display: none;
}

/* 2) When an item has .has-quantity, show only the label + input */
.dish-bundle-grid .dish-sizes.has-quantity .dish-size .size-label-price label,
.dish-bundle-grid .dish-sizes.has-quantity .dish-size input {
  display: inline-flex;
}
.dish-bundle-grid .dish-sizes.has-quantity {
  display: flex;
  height: auto;
  overflow: visible;
  margin-bottom: 8px;
}

/* 3) In the modal everything’s always visible */
.grab-modal-body .dish-size .size-label-price .dish-size-price,
.grab-modal-body .dish-size .size-label-price label,
.grab-modal-body .dish-size .quantity-buttons .dish-quantity, 
.grab-modal-body .dish-size .quantity-buttons button {
  display: inline-flex !important;
}







/********* Sticky-bottom-bar *********/
/********* Sticky-bottom-bar *********/

.sticky-bottom-bar {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #FAF9F6;
    border-top: 2px solid #e0e0e0;
    z-index: 1000;
    padding: 10px 20px 30px 20px;
    box-sizing: border-box;
    margin-top: 10px;
}

.dish-bundle-product-form {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.dish-bundle-grid {
    flex-grow: 1;
}


.sticky-bottom-bar .summary-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.summary-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
}

.summary-center {
    justify-content: center;
    text-align: center;
}

.summary-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .sticky-bottom-bar .summary-content {
        display: flex;
        gap: 5px;
        max-width: 700px;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .sticky-bottom-bar {
        padding: 10px 10px;
    }
    
    .summary-left {
        justify-content: center;
        text-align: center;
    }
    
    .summary-center {
        justify-content: center;
        text-align: right;
    }
    
    .summary-right {
        justify-content: center;
    }
    
    #add-to-cart-button {
        width: 100%;
        max-width: 150px;
        margin-left: 10px;
    }
}



/* Mobile Responsive */
@media (max-width: 768px) {
  .sticky-bottom-bar .summary-content {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding-right: 0px;
    padding-left: 0px;
  }

  /* Top row: each takes half the width */
  
/* Row 1: full width loading bar */
.loading-indicator {
  flex: 1 1 100%;
}

/* Row 2: two halves */
.summary-left,
.summary-center {
  flex: 1 1 50%;
}

/* Row 3: full width summary-right */
.summary-right {
  flex: 1 1 100%;
}

  .summary-left {
    text-align: left;
    max-width: 60%;
  }

  .summary-center {
    justify-content: flex-end;
    text-align: right;
  }

  .summary-right {
    text-align: center;
  }

  #add-to-cart-button {
    width: 100%;
    max-width: 300px;
  }
  #total-dishes, #total-price {
    font-weight: bold;
    font-size: 13px !important;
  }
  #discount-note {
    font-size: 12px !important;
    color: #666;
    font-style: italic;
  }
}

#total-dishes, #total-price {
    font-weight: bold;
    font-size: 16px;
}

#discount-note {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

#add-to-cart-button {
    background: #94524A;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

#add-to-cart-button:hover:not(:disabled) {
    background: #005a87;
}

#add-to-cart-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#minimum-warning {
    font-size: 14px;

}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.dish-bundle-product-form {
    flex-grow: 1;
}





/*** Dish Sizes ***/

.modal-dish-sizes.dish-sizes,
.dish-sizes.modal-dish-sizes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 0px;
}


/* Supersize Variant Box */
.dish-size-supersize,
.dish-size .dish-size-supersize {
  flex-direction: row !important;
  align-items: center;
  gap: 0;
  position: relative; /* needed for tooltip */
  grid-column: span 2;
  color: #fff;
  border-radius: 8px;
  margin-top: 0.2em;
}



/* Input cleanup */
.dish-size input[type="number"]::-webkit-outer-spin-button,
.dish-size input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.dish-size input[type="number"] {
    -moz-appearance: textfield;
    padding: 0.3rem 0.1rem;
}


/* Core Dish Item Layout */
.dish-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: white;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
    max-width: 100%;
    padding: var(--dish-item-padding, 10px);
}

@media (max-width: 768px) {
    .dish-item {
        padding: 5px;
    }
}




/* Optional: Widget title */
.dish-bundle-widget h4 {
    font-size: 16px;
}

.dish-size-4 {
  /* Add custom styles for the 4th variation here */
  background-color: #f0f0f0;
  border: 2px solid #ccc;
}




.cym-product-banner {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 4px;
    z-index: 10;
    pointer-events: none;
}

@media (max-width: 767px) {
    .cym-product-banner {
    position: absolute;
    top: 8px;
    left: 7px;
    padding: 5px 5px;
    font-size: 0.85em;
    font-weight: bold;
    border-radius: 4px;
    z-index: 10;
    pointer-events: none;
    }
}
.product-image-wrapper {
    position: relative;
}


.variation-summary .var-s,
.var-m,
.var-l,
.var-xl {

  font-size: 0.9em;
  color: #161B33;
}
.variation-summary .variation-total-price {
  font-weight: bold;
  color: #94524A;
}





.dish-size-supersize .woocommerce-Price-amount {
  color: #161B33;
}

.dish-size.dish-size-supersize .size-label-price label {
  color: #161B33 !important;
  font-weight: bold !important;
  margin-bottom: 0.1em;
  line-height: 1em;
}

/* Supersize Hover Tooltip */
.dish-size-supersize:hover::after {
  content: 'Medium size + extra protein';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  margin-top: -110px;
  width: 120px;
  white-space: wrap;
  background: #94524A;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  z-index: 100;
}



/*** Quantity Selectors ***/

/* Wrapper */
.quantity-buttons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-left: 0;
}

/* Buttons */
.quantity-buttons button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f3f3f3;
  border: 1px solid #ddd;
  cursor: pointer;
  font-size: 18px;
  width: 28px;
  height: 30px;
  padding: 0;
  touch-action: manipulation;
}

.quantity-buttons button:focus {
  outline: none;
}

@media (max-width: 1024px) {
  .quantity-buttons button {
    width: 28px;
    height: 30px;
  }
}

@media (max-width: 767px) {
  .quantity-buttons button {
    width: 25px;
    height: 30px;
  }
}

/* Input */
.quantity-buttons input {
  font-size: 14px;
  width: 30px;
  height: 30px;
  padding: 3px 5px;
  text-align: center;
  border: 1px solid #ddd;
  touch-action: manipulation;
}

.quantity-buttons input:focus {
  outline: none;
}

@media (max-width: 1024px) {
  .quantity-buttons input {
    width: 35px;
  }
}

@media (max-width: 767px) {
  .dish-quantity {
    width: 25px !important;
    font-size: 16px !important;
    text-align: left;
  }
  .dish-size .size-label-price label {
    font-weight: bold !important;
    font-size: 1em !important;
    margin-bottom: 0.1em;
    line-height: 1em;
  }
}

.jby-selection-bar {
    position: sticky;
    bottom: 0;
    width: 100%;
    background: #333;
    color: #fff;
    padding: 8px 12px;
    font-size: 14px;
    text-align: center;
    z-index: 20;
}

.jby-selection-bar.jby-pulse {
    background: #444;
    transition: background 0.2s ease-in-out;
}
