#food-fly-cart .shopio-cart-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 28px;
  height: 28px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gray-color, #888);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
#food-fly-cart .shopio-cart-edit i { font-size: inherit; color: inherit; margin: 0; pointer-events: none; }
#food-fly-cart .shopio-cart-edit:hover { color: var(--main-color, #b84319); }
#food-fly-cart .shopio-cart-edit:focus-visible { outline: 2px solid var(--main-compl-color, var(--main-color, #b84319)); outline-offset: 2px; }
.shopio-attribute-dialog {
  --shopio-accent: var(--main-color, #b84319);
  --shopio-border: var(--gray-color-lightest, #e3e3e3);
  --shopio-text: var(--main-color-dark, #292929);
  --shopio-control-border: var(--gray-color-light, #b2b2b2);
  --shopio-radius: var(--corner-radius, 8px);
  --shopio-surface: #fff;
  --shopio-muted-surface: color-mix(in srgb, var(--shopio-border) 24%, var(--shopio-surface));
  --shopio-hover-surface: color-mix(in srgb, var(--gray-color-lighter, #d0d0d0) 45%, var(--shopio-surface));
  --shopio-error: #a51a1a;
  border: 0;
  border-radius: calc(var(--shopio-radius) + 8px);
  padding: 0;
  margin: auto;
  width: min(680px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  color: var(--shopio-text);
  background: var(--shopio-surface);
  box-shadow: 0 16px 64px color-mix(in srgb, var(--shopio-text) 26%, transparent);
  box-sizing: border-box;
  text-align: start;
  font: inherit;
}
.shopio-attribute-dialog::backdrop { background: color-mix(in srgb, var(--shopio-text) 75%, transparent); }
.shopio-attribute-dialog *, .shopio-attribute-dialog *::before, .shopio-attribute-dialog *::after { box-sizing: border-box; }
/* A site's white menu text must not leak onto the dialog surface. */
.shopio-attribute-dialog :is(h2, p, label, dt, dd, span, strong, legend) { color: var(--shopio-text) !important; }
.shopio-attribute-dialog .shopio-attribute-form { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); margin: 0; }
.shopio-attribute-dialog .shopio-attribute-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--shopio-border); flex-shrink: 0; }
.shopio-attribute-dialog h2 { margin: 0; font-size: 18px; line-height: 1.7; font-weight: 700; overflow-wrap: anywhere; }
.shopio-attribute-dialog button { font: inherit; cursor: pointer; min-height: 44px; transition: background-color .15s, border-color .15s; }
.shopio-attribute-dialog .shopio-attribute-close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--shopio-muted-surface); color: var(--shopio-text); }
.shopio-attribute-dialog .shopio-attribute-close:hover { background: var(--shopio-hover-surface); }
.shopio-attribute-dialog .shopio-attribute-fields { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px; }
.shopio-attribute-dialog .attributes { margin: 0; padding: 0; border: 0; }
.shopio-attribute-dialog .attributes dl { display: grid; grid-template-columns: minmax(112px, 1fr) minmax(0, 3fr); margin: 0; }
.shopio-attribute-dialog .attributes dt, .shopio-attribute-dialog .attributes dd { min-width: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--shopio-border); }
.shopio-attribute-dialog .attributes dt { padding-inline-end: 16px; font-size: 14px; line-height: 1.8; }
.shopio-attribute-dialog .attributes dt label { display: inline; font-weight: 600; }
.shopio-attribute-dialog .attributes .required { color: var(--shopio-error) !important; }
.shopio-attribute-dialog .attribute-description { display: block; font-size: 12px; font-weight: 400; }
.shopio-attribute-dialog :is(input:not([type=radio]):not([type=checkbox]):not([type=hidden]), textarea, select) {
  width: 100%; min-width: 0; max-width: 100%; min-height: 44px; margin: 0; padding: 10px 12px;
  border: 1px solid var(--shopio-control-border); border-radius: var(--shopio-radius); background-color: var(--shopio-surface); color: var(--shopio-text);
  font: inherit; font-size: 14px; line-height: 1.6;
}
.shopio-attribute-dialog select { padding-inline-end: 28px; }
.shopio-attribute-dialog .attributes textarea.textbox { display: block; height: 96px; min-height: 88px; resize: vertical; }
.shopio-attribute-dialog .attribute-choices, .shopio-attribute-dialog .attribute-squares { display: flex; flex-wrap: wrap; gap: 8px; }
.shopio-attribute-dialog .attribute-choices label, .shopio-attribute-dialog .attribute-squares label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 10px 12px; margin: 0;
  border: 1px solid var(--shopio-border); border-radius: var(--shopio-radius); background: var(--shopio-surface); font-size: 13px; font-weight: 400; line-height: 1.6; cursor: pointer;
}
.shopio-attribute-dialog .attribute-choices label:has(input:checked), .shopio-attribute-dialog .attribute-squares label:has(input:checked) {
  border-color: var(--shopio-accent); background: color-mix(in srgb, var(--shopio-accent) 8%, var(--shopio-surface));
}
.shopio-attribute-dialog :is(input[type=radio], input[type=checkbox]) { appearance: auto; flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: var(--shopio-accent); }
.shopio-attribute-dialog .attributes img { max-width: 100%; }
.shopio-attribute-dialog .attributes dd:has([data-public-clock]), .shopio-attribute-dialog .attributes dd:has(input[type=color]) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.shopio-attribute-dialog .attributes dd:has([data-public-clock]) > input:not([type=hidden]), .shopio-attribute-dialog .attributes dd:has(input[type=color]) > input[type=text] { flex: 1; width: 0; min-width: 120px; }
.shopio-attribute-dialog .attributes input[type=color] { flex: 0 0 44px; width: 44px; height: 44px; padding: 4px; }
.shopio-attribute-dialog .attributes dd > button { border: 1px solid var(--shopio-border); border-radius: var(--shopio-radius); padding: 8px 12px; background: var(--shopio-muted-surface); color: var(--shopio-text); }
.shopio-attribute-dialog .attributes dd > .public-clock-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; padding: 8px; }
.shopio-attribute-dialog .shopio-attribute-footer { flex-shrink: 0; padding: 16px 24px; border-top: 1px solid var(--shopio-border); background: var(--shopio-muted-surface); }
.shopio-attribute-dialog .shopio-attribute-summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.shopio-attribute-dialog .shopio-attribute-quantity { display: flex; align-items: center; gap: 12px; }
.shopio-attribute-dialog #shopio-attribute-quantity { width: 80px; min-width: 0; max-width: 80px; text-align: center; }
.shopio-attribute-dialog .shopio-attribute-prices { text-align: end; }
.shopio-attribute-dialog .shopio-attribute-prices p { margin: 0; font-size: 13px; line-height: 1.9; }
.shopio-attribute-dialog .shopio-attribute-prices [data-popup-price] { font-size: 18px; font-weight: 700; white-space: nowrap; }
.shopio-attribute-dialog .shopio-attribute-actions { display: flex; align-items: stretch; gap: 12px; margin-top: 12px; }
.shopio-attribute-dialog .shopio-attribute-actions button { margin: 0; padding: 10px 16px; border: 1px solid var(--shopio-border); border-radius: var(--shopio-radius); font-size: 14px; line-height: 1.6; transform: none; }
.shopio-attribute-dialog .shopio-attribute-actions .button-1 { flex: 1; background-color: var(--shopio-accent); background-image: var(--bg-1, none); color: var(--main-text-color, #fff); border-color: transparent; font-weight: 700; }
.shopio-attribute-dialog .shopio-attribute-actions .button-alternate { background: var(--shopio-surface); color: var(--shopio-text); }
.shopio-attribute-dialog .shopio-attribute-actions .button-alternate:hover { border-color: var(--shopio-accent); }
.shopio-attribute-dialog button:disabled { cursor: not-allowed; opacity: .55; }
.shopio-attribute-dialog [hidden] { display: none !important; }
.shopio-attribute-dialog .shopio-attribute-error, .shopio-attribute-dialog .field-validation-error { color: var(--shopio-error) !important; white-space: pre-line; overflow-wrap: anywhere; }
.shopio-attribute-dialog .shopio-attribute-error:empty, .shopio-attribute-dialog [data-popup-status]:empty { display: none; }
.shopio-attribute-dialog [data-popup-status] { font-size: 12px; line-height: 1.8; margin: 8px 0 0; }
.shopio-attribute-dialog :focus-visible { outline: 2px solid var(--main-compl-color, var(--shopio-accent)); outline-offset: 3px; }
@media (max-width: 600px) {
  .shopio-attribute-dialog { width: calc(100vw - 16px); max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: calc(var(--shopio-radius) + 4px); }
  .shopio-attribute-dialog .shopio-attribute-form { max-height: calc(100dvh - 16px); }
  .shopio-attribute-dialog .shopio-attribute-heading { padding: 12px 16px; }
  .shopio-attribute-dialog h2 { font-size: 16px; }
  .shopio-attribute-dialog .shopio-attribute-fields { padding: 0 16px; }
  .shopio-attribute-dialog .attributes dl { grid-template-columns: minmax(0, 1fr); }
  .shopio-attribute-dialog .attributes dt { border: 0; padding: 14px 0 6px; }
  .shopio-attribute-dialog .attributes dd { padding: 0 0 14px; }
  .shopio-attribute-dialog .shopio-attribute-footer { padding: 12px 16px max(12px, env(safe-area-inset-bottom)); }
  .shopio-attribute-dialog .shopio-attribute-summary { align-items: start; gap: 8px; }
  .shopio-attribute-dialog .shopio-attribute-quantity { flex-direction: column; align-items: start; gap: 4px; font-size: 12px; }
  .shopio-attribute-dialog #shopio-attribute-quantity { width: 64px; max-width: 64px; }
  .shopio-attribute-dialog .shopio-attribute-actions { gap: 8px; }
  .shopio-attribute-dialog .shopio-attribute-actions button { padding: 10px; font-size: 12px; }
}
