.nutrition-table {
  width: 100%;
  border-collapse: none;
  border: none;
}
.nutrition-table .elementor-icon-list-items {
  justify-content: flex-start !important;
}
.nutrition-table .elementor-icon-list-item {
  height: 100px;
  width: 100px !important;
  margin-inline: 0 !important;
}
.nutrition-table .elementor-icon-list-item svg {
  height: 100% !important;
  width: 100% !important;
}
.nutrition-table thead:first-child tr:first-child th {
  border-top: none;
}
.nutrition-table thead th {
  vertical-align: bottom;
  padding-bottom: 20px;
}
.nutrition-table th,
.nutrition-table td {
  border: none;
  border-bottom: 1px solid #521e1f;
  padding: 5px 10px;
  text-align: center;
  vertical-align: middle;
}
.nutrition-table tbody > tr:nth-child(odd) > td {
  background: #fff;
}
.nutrition-table tbody tr.row-selected {
  /* border: 1px solid #ed1c24; */
}
.nutrition-table td.highlighted,
.nutrition-table tbody tr:hover td,
.nutrition-table tbody tr.row-selected td {
  background-color: #fcf7f2 !important;
}
tr.highlighted {
  background-color: #ffffcc; /* soft yellow */
}
.select-wrapper select {
  padding: 3px 5px;
}
.nutrition-table img {
  vertical-align: middle;
  margin-right: 5px;
}
.product-select-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-top: 20px;
  padding-bottom: 20px;
}
.product-select-wrapper .product-info {
  text-align: left;
}

.product-select-wrapper .product-info .elementor-heading-title a,
.product-select-wrapper .product-info .elementor-heading-title a:hover {
  color: #ed1c24;
}
.product-select-wrapper input[type="checkbox"] {
  transform: scale(1.5);
  margin-top: 5px;
}
.nutrition-table .product-summary {
  display: flex;
}
.nutrition-table .product-summary .product-features {
  width: 335px;
  display: flex;
  align-items: center;
}
.nutrition-table .product-summary .product-select-wrapper {
  width: calc(100% - 335px);
}

.nutrition-table button.nutrition-toggle:focus, 
.nutrition-table button.nutrition-toggle:hover {
  background: #ed1c24;
}
.nutrition-table .nutrition-toggle {
  display: none;
  position: absolute;
  right: 0;
  top: calc(50% - 20px);
  background: #ed1c24;
  border: none;
  font-size: 24px;
  margin-right: 10px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  padding: 0px;
  line-height: 3px;
  color: #fff;
}
.nutrition-table .nutrition-toggle .toggle-icon {
  color: #fff;
  margin-top: -2px;
  display: block;
}
.nutrition-label {
  font-weight: 500;
  display: none;
}
.nutritional-calculator-page .download-pdf {
  width: 32px;
  padding: 5px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  height: 32px;
  display: inline-block;
  position: relative;
}
.nutritional-calculator-page .download-pdf .count-selected {
  display: inline-block;
  background: #fff;
  color: #ed1c24;
  border: 1px solid #ed1c24;
  border-radius: 100%;
  width: 36px;
  height: 36px;
  line-height: 26px;
  font-size: 15px;
  position: absolute;
  top: -8px;
  right: -8px;
  text-align: center;
  font-weight: bold;
}
.nutritional-calculator-page .actions-pdf {
}
.nutritional-calculator-page .actions-pdf img {
  width: 24px;
  height: 24px;
  filter: invert(100%) brightness(200%);
  margin: 0;
}
#nutrition-pdf-email {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  position: relative;
}
.pdf-email-container-wrapper {
  position: relative;
  display: inline-block;
  position: absolute;
  top: -5px;
  right: 0;
  z-index: 10;
  width: 100%;
}
.pdf-email-container-wrapper {
}
body .pdf-multiple.elementor-button,
body #nutrition-pdf-email button {
  cursor: pointer;
  padding: 12px 20px;
  height: fit-content;
  border-radius: 12px;
  font-size: 16px;
}
#pdfEmailContainer {
  width: 100%;
  right: initial;
  background: #fff;
  padding: 15px;
  border: 1px solid #521e1f;
  border-radius: 8px;
  margin-top: -14px;
  top: 0;
}
#pdfMessage {
  position: absolute;
  background: #fff;
  padding: 10px 15px;
  border-radius: 12px;
  text-align: left;
  min-width: 250px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 9;
  display: none;
  top: -50px;
  color: #ed1c24;
}
#nutrition-pdf-email .cancelEmail {
}
.nutrition-table .nutrition-select {
  height: 50px;
  padding: 3px 10px;
  border: none;
}
.nutrition-actions {
  display: flex;
  margin-bottom: 20px;
  justify-content: flex-end;
  gap: 20px;
}
.nutrition-actions-row {
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  align-items: center;
  min-width: 100px;
  
}
.product-select {
  accent-color: #ed1c24;
  width: 16px;
  height: 16px;
}
.nutrition-actions-fixed {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;
  /* padding: 24px 0; */
  text-align: center;
  z-index: 9999;
  transition: 0.3s ease;
  display: block !important;
  background: #521e1f;
  display: none;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  opacity: 0; /* hidden */
  transform: translateY(100%); /* move below view */
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.nutrition-actions-fixed .check-email-submission {
  display
}
.nutrition-actions-fixed .nutrition-actions {
  display: flex !important;
  margin: 0;
  justify-content: space-around;
  align-items: center;
  position: relative;
}
.nutrition-actions-fixed.active {
  bottom: 0;
  padding: 24px 0;
  display: block !important;
  opacity: 1; /* visible */
  transform: translateY(0); /* slide up */
}
.product-selected-notes {
  color: #fff;
  font-size: 18px;
}
.product-selected-notes .count-selected {
  font-weight: 700;
}
.nutrition-actions-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  position: relative;
  width: 50%;
}
.nutrition-actions-buttons .elementor-button {
}
/* Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  margin: 0 auto 15px;
  animation: spin 0.8s linear infinite;
}
.nutrition-actions-icons {
    display: none
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.select-wrapper {
  position: relative;
  width: 80px;
}

.custom-select {
  width: 100%;
  padding: 10px 35px 10px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* V caret */
.select-wrapper::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

/* focus */
.custom-select:focus {
  outline: none;
  border-color: #0073aa;
}
@media (max-width: 1024px) {
  .nutrition-table .nutrition-toggle {
    display: block;
  }
  .nutrition-table .nutrition-data {
    display: none;
  }
  .nutrition-table .product-main-cell {
    position: relative;
  }
  .nutrition-table thead {
    display: none;
  }
  .nutrition-actions-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
   justify-content: flex-end;
  }
  .nutrition-actions-icons {
    display: none !important;
    gap: 5px;
    align-items: center;
  }
  .nutrition-table tr {
    display: block;
    border: 1px solid #e5e7eb;
    margin-bottom: 15px;
    border-radius: 10px;
  }
  .nutrition-table tbody tr {
    display: flex;
    flex-direction: column;
  }

  .nutrition-table td {
    display: block;
    width: 100%;
  }
  .nutrition-table .product-summary {
    padding-right: 45px;
    flex-direction: column;
  }
  .nutrition-table td.product-main-cell {
    border-bottom: none;
  }
  /* Hide nutrition values by default */
  .nutrition-data {
    display: none;
  }
  .nutrition-label {
    display: inline-block;
  }
  /* Show when expanded */
  tr.expanded .nutrition-data {
    display: flex;
    justify-content: space-between;
  }
  tr.expanded .nutrition-data span {
    display: block;
  }
  .nutrition-actions-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .nutrition-actions-fixed .nutrition-actions {
    flex-direction: column;
    gap: 32px;
    padding-top: 8px;
  }
  .pdf-email-container-wrapper {
    padding-left: 6px;
    padding-right: 6px;
  }
  .nutrition-table .product-summary .product-features {
      width: 330px;
  }  
  .nutrition-table .elementor-icon-list-item {
      height: 70px;
      width: 70px !important;
      margin-inline: 0 !important;
  }  
  .nutrition-table .product-summary .product-select-wrapper,
  .nutrition-table .product-summary .product-features{
    width: auto;
  }
  .nutrition-table .product-summary .product-features {
    
  }
}
@media (max-width: 768px) {
}