.customer-product-media { position: relative; }
.customer-product-info-button { position: absolute; z-index: 2; top: 6px; right: 6px; display: grid; place-items: center; width: 32px; height: 32px; min-height: 0; margin: 0; padding: 0; border: 1px solid #dce4dc; border-radius: 50%; background: #fff; color: #194b3d; box-shadow: 0 1px 5px #192d2412; }
.customer-product-info-button span { display: grid; place-items: center; width: 100%; height: 100%; font: bold 18px Georgia, serif; }
.customer-product-info-button[hidden] { display: none; }
.customer-product-info-button:focus { outline: none; }
.customer-product-info-button:focus-visible { outline: none; box-shadow: inset 0 0 0 2px #194b3d; }
.customer-product-info-button::before { content: ''; position: absolute; inset: -6px; }
.customer-service-paused .customer-product-info-button { pointer-events: auto; }
.product-info-open { overflow: hidden; }
.product-info-dialog { box-sizing: border-box; width: min(440px, calc(100% - 28px)); max-height: calc(100dvh - 28px); margin: auto; padding: 0; border: 1px solid #dce4dc; border-radius: 18px; background: #fff; color: #192d24; box-shadow: 0 18px 50px #192d2440; overflow-y: auto; overscroll-behavior: contain; }
.product-info-dialog::backdrop { background: #192d2459; }
.product-info-toolbar { display: flex; justify-content: flex-end; padding: 6px 8px 0; background: #fff; }
.product-info-close { display: grid; place-items: center; width: 44px; min-height: 44px; margin: 0; padding: 0; background: transparent; color: #192d24; border: 0; border-radius: 8px; box-shadow: none; font-size: 25px; line-height: 1; }
.product-info-close:focus:not(:focus-visible) { outline: none; }
.product-info-close:focus-visible { outline: 2px solid #194b3d; outline-offset: -4px; }
.product-info-content { padding: 0 20px 20px; }
.product-info-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.product-info-title h2 { margin: 0; font-size: 21px; overflow-wrap: anywhere; }
.product-info-title > strong { flex: none; padding-top: 3px; color: #194b3d; font-size: 15px; }
.product-info-description { margin: 10px 0 18px; color: #61716a; font-size: 13px; white-space: pre-line; overflow-wrap: anywhere; }
.product-info-content h3 { margin: 0 0 10px; font-size: 14px; }
.product-info-allergens { margin-top: 18px; font-size: 12px; }
.product-info-allergen-label { margin: 0 0 7px; color: #61716a; }
.product-info-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.product-info-pills span { border-radius: 7px; padding: 6px 10px; background: #f4ecdf; color: #684722; font-size: 12px; }
.product-info-allergens p { overflow-wrap: anywhere; }
.product-info-allergens small { display: block; color: #61716a; margin-top: 10px; font-size: 11px; }
.product-info-nutrition { margin-top: 19px; padding-top: 16px; border-top: 1px solid #e8ece7; }
.product-info-basis { margin: -3px 0 12px; font-size: 12px; color: #61716a; overflow-wrap: anywhere; }
.product-info-nutrition-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 0; }
.product-info-nutrition-grid > div { display: flex; flex-direction: column-reverse; gap: 5px; text-align: center; padding: 10px 3px; border-radius: 8px; background: #f1f5ef; }
.product-info-nutrition-grid dt { font-size: 11px; color: #61716a; overflow-wrap: anywhere; }
.product-info-nutrition-grid dd { margin: 0; font-size: 14px; font-weight: 700; color: #194b3d; overflow-wrap: anywhere; }
.product-allergens-fields h2 small, .product-nutrition-fields h2 small { font-size: 11px; color: #61716a; font-weight: 400; margin-left: 5px; }
.product-field-help { color: #61716a; font-size: 12px; margin: 8px 0 14px; }
.product-allergen-options { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 18px; }
.product-allergen-options label { display: flex; align-items: center; gap: 7px; margin: 0; padding: 8px 10px; border: 1px solid #dce4dc; border-radius: 8px; color: #61716a; font-size: 12px; font-weight: 400; }
.product-allergen-options label:has(input:checked) { background: #eaf1e8; border-color: #b6cbbd; color: #194b3d; }
.product-allergen-options input[type=checkbox] { width: 15px; height: 15px; margin: 0; accent-color: #194b3d; }
.product-nutrition-fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.product-nutrition-fields-grid label { font-size: 12px; }
.product-nutrition-fields [hidden] { display: none; }
.product-preview-information { margin-top: 16px; border-top: 1px solid #dce4dc; padding-top: 15px; font-size: 12px; }
.product-preview-information h3 { margin: 12px 0 7px; font-size: 14px; }
.product-preview-information p { white-space: pre-line; overflow-wrap: anywhere; }
.product-preview-information dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.product-preview-information dd { margin: 0; color: #194b3d; font-weight: 700; }
.product-preview-information[hidden] { display: none; }
@media (max-width: 360px) { .product-info-content { padding: 0 16px 16px; } .product-info-title h2 { font-size: 19px; } .product-info-nutrition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product-editor-page { max-width: 650px; margin: 0 auto; }
.product-editor-back { display: inline-block; margin-bottom: 10px; color: #194b3d; text-decoration: none; }
.product-editor-page h1 { margin: 0 0 8px; }
.product-editor-intro { margin: 0 0 22px; color: #61716a; }
.product-editor-essential { padding: 20px; margin-bottom: 22px; }
.product-editor-price-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 14px; }
.product-editor-price-row > div { min-width: 0; }
.product-editor-optional-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 14px; }
.product-editor-optional-heading span { color: #61716a; font-size: 12px; }
.product-editor-option { background: #fff; border: 1px solid #dce4dc; border-radius: 12px; margin: 10px 0; }
.product-editor-option > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; min-height: 64px; list-style: none; cursor: pointer; }
.product-editor-option > summary::-webkit-details-marker { display: none; }
.product-editor-option > summary::after { content: '+'; color: #194b3d; font-size: 23px; line-height: 1; }
.product-editor-option[open] > summary::after { content: '−'; }
.product-editor-option > summary strong { display: block; font-size: 15px; }
.product-editor-option > summary small { display: block; margin: 3px 0 0; font-size: 12px; color: #61716a; }
.product-editor-option-body { padding: 0 18px 18px; }
.product-editor-option-body .image-preview { max-width: 240px; }
.product-editor-option-body input[type=file] { max-width: 100%; }
.product-editor .menu-form-actions { position: static; background: transparent; display: flex; flex-wrap: wrap; margin-top: 18px; padding: 0; }
.product-editor .menu-form-actions > input[type=submit] { flex: 1; }
.product-editor .menu-form-actions > button { width: auto; }
@media (max-width: 450px) {
  .product-editor-essential { padding: 16px; }
  .product-editor-price-row { grid-template-columns: minmax(0, 1fr) 110px; gap: 12px; }
  .product-editor-option > summary { padding: 15px; }
  .product-editor-option-body { padding: 0 15px 15px; }
  .product-editor .menu-form-actions { gap: 8px; }
  .product-editor .menu-form-actions > input[type=submit], .product-editor .menu-form-actions > button { min-height: 44px; min-width: 0; padding: 10px 12px; }
}
