/* Foodyar menu controls - scoped override */

html body .fy-option-row {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
}

html body .fy-option-row .fy-qty-control,
html body .cartItem .fy-cart-qty,
html body .fy-line-item-control .fy-qty-control {
  display: inline-flex !important;
  flex-direction: row !important;
  direction: ltr !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;

  width: auto !important;
  min-width: 104px !important;
  max-width: 118px !important;
  height: 38px !important;

  padding: 4px 6px !important;
  border-radius: 14px !important;
  background: #fffaf5 !important;
  border: 1px solid #eadfd4 !important;
  box-shadow: none !important;
}

html body .fy-option-row .fy-qty-control > button.fy-step-btn,
html body .cartItem .fy-cart-qty > button.fy-step-btn,
html body .fy-line-item-control .fy-qty-control > button.fy-step-btn,
html body .fy-small-add {
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;

  padding: 0 !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #f1ede8 !important;
  color: #2f231d !important;
  border: 0 !important;
  box-shadow: none !important;

  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

html body .fy-option-row .fy-qty-control > button.fy-trash-btn,
html body .cartItem .fy-cart-qty > button.fy-trash-btn,
html body .fy-line-item-control .fy-qty-control > button.fy-trash-btn {
  background: #fee2e2 !important;
  color: #8a1f1f !important;
  font-size: 15px !important;
}

html body .fy-option-row .fy-qty-control > span,
html body .cartItem .fy-cart-qty > span,
html body .fy-line-item-control .fy-qty-control > span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 24px !important;
  min-width: 24px !important;
  height: 30px !important;

  text-align: center !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  color: #221813 !important;
}

/* option modal typography */
html body .fy-option-info {
  text-align: right !important;
  display: grid !important;
  gap: 4px !important;
}

html body .fy-option-info strong {
  font-size: 17px !important;
  font-weight: 850 !important;
  color: #221813 !important;
}

html body .fy-option-info small {
  font-size: 12px !important;
  color: #766a61 !important;
}

html body .fy-option-info span {
  font-size: 15px !important;
  font-weight: 900 !important;
  color: #177245 !important;
}

/* cart item layout */
html body .cartItem {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
}

html body .cartItem > div:first-child {
  min-width: 0 !important;
  text-align: right !important;
}

html body .cartItem strong {
  font-size: 17px !important;
  font-weight: 850 !important;
  color: #221813 !important;
}

html body .cartItem .muted {
  font-size: 14px !important;
  line-height: 1.8 !important;
}

/* product-card selected state */
html body .fy-line-item-control {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}

html body .fy-line-item-summary {
  min-width: 0 !important;
  text-align: right !important;
}

html body .fy-line-item-summary span {
  font-size: 12px !important;
  color: #766a61 !important;
}

html body .fy-line-item-summary strong {
  font-size: 15px !important;
  font-weight: 900 !important;
  color: #221813 !important;
}

@media (max-width: 420px) {
  html body .fy-option-row .fy-qty-control,
  html body .cartItem .fy-cart-qty,
  html body .fy-line-item-control .fy-qty-control {
    min-width: 98px !important;
    max-width: 108px !important;
    gap: 5px !important;
  }

  html body .fy-option-row .fy-qty-control > button.fy-step-btn,
  html body .cartItem .fy-cart-qty > button.fy-step-btn,
  html body .fy-line-item-control .fy-qty-control > button.fy-step-btn,
  html body .fy-small-add {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    font-size: 18px !important;
  }

  html body .fy-option-row .fy-qty-control > span,
  html body .cartItem .fy-cart-qty > span,
  html body .fy-line-item-control .fy-qty-control > span {
    font-size: 19px !important;
    width: 22px !important;
    min-width: 22px !important;
  }
}

/* DELETE ICON POLISH START */
html body .fy-delete-btn-polished{
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  border-radius: 12px !important;
  border: 1px solid #f1c7c7 !important;
  background: #fff3f3 !important;
  color: #b42318 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

html body .fy-delete-btn-polished svg{
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

html body .fy-delete-btn-polished:hover,
html body .fy-delete-btn-polished:active{
  background: #fdeaea !important;
  color: #912018 !important;
}
/* DELETE ICON POLISH END */
