/* Lecko Mio V3: zentrale Zutaten, Mengenwahl (+/-) und Teigalternativen.
   Markenfarbe und schwebendes Original-Logo bleiben unveraendert. */
.ingredient-picker-sections{display:grid;gap:18px}
.ingredient-picker-group{padding:0 17px 5px;background:#fff;border:1px solid #dfebdd;border-radius:17px;min-width:0;overflow:hidden}
.ingredient-picker-group[hidden]{display:none!important}
.picker-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:18px 1px 13px;border-bottom:1px solid #e6efe5}
.picker-section-head h3{margin:0;color:#155b34;font-size:1.1rem;line-height:1.3}
.picker-section-head small{color:#7d907d;font-size:.74rem;line-height:1.35;text-align:right}
.ingredient-picker-rows{display:grid}
.ingredient-picker-row{min-width:0;display:grid;grid-template-columns:49px minmax(0,1fr) auto;align-items:center;gap:11px;padding:14px 0;border-bottom:1px solid #ecf1e9}
.ingredient-picker-row:last-child{border-bottom:0}
.ingredient-thumbnail{width:47px;height:47px;display:flex;align-items:center;justify-content:center;background:#f3f7f0;border:1px solid #e1ecdc;border-radius:11px;font-size:1.6rem;flex-shrink:0}
.ingredient-name{min-width:0}
.ingredient-name strong{display:block;color:#193d26;font-size:.96rem;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
.ingredient-name small{display:block;color:#697b6b;font-size:.73rem;font-weight:500;line-height:1.4;margin-top:4px;overflow-wrap:anywhere}
.ingredient-stepper{display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
.ingredient-stepper button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;background:#eaf4e9;color:#124c2a;border-radius:50%;border:1px solid transparent;font-size:1.3rem;font-weight:750;line-height:1;cursor:pointer;transition:background .15s,transform .15s}
.ingredient-stepper button:not([disabled]):hover{background:#cbe8d1;transform:translateY(-1px)}
.ingredient-stepper button:focus-visible,.dough-choice:focus-visible,.recipe-check:focus-within{outline:3px solid #62a77a;outline-offset:2px}
.ingredient-stepper button:disabled{background:#f2f4f0;color:#b3c0b5;cursor:not-allowed}
.ingredient-stepper output{display:inline-block;text-align:center;min-width:18px;font-size:1rem;font-weight:900;color:#183e27}
.dough-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:14px 0}
.dough-choice{min-width:0;display:flex;align-items:center;gap:8px;text-align:left;background:#fbfdf9;color:#19472d;border:1px solid #dcebdc;border-radius:12px;padding:13px 12px;min-height:60px;cursor:pointer}
.dough-choice.selected{border:2px solid #248d4b;background:#ecf8ef;padding:12px 11px}
.dough-choice span:first-child{font-size:1.4rem}
.dough-choice span:nth-child(2){flex:1;min-width:0;font-size:.85rem;font-weight:800;overflow-wrap:anywhere}
.dough-choice strong{font-size:.73rem;color:#27864e;white-space:nowrap}
.dough-choice i{font-style:normal;color:#248d4b;font-size:1rem}
.v3-custom-content{scrollbar-color:#9dc4a2 transparent}
.v3-custom-content #customHint{margin-bottom:17px}
.custom-modal:has(.v3-custom-content){width:min(700px,calc(100vw - 24px));max-height:min(92vh,880px)}
/* Admin: Rezepturen aus einem gemeinsamen Katalog auswaehlen */
.recipe-picker{border:1px solid #dbeadb;padding:16px;border-radius:13px;margin:5px 0;background:#fbfefa;min-width:0}
.recipe-picker legend{font-weight:850;color:#185b34;padding:0 7px;font-size:.95rem}
.recipe-picker .setting-note{margin:0 0 13px;font-size:.8rem}
.recipe-group-title{display:block;color:#176337;font-size:.84rem;margin:15px 0 7px}
.recipe-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.form-stack .recipe-check{display:flex;align-items:center;gap:9px;border-radius:10px;border:1px solid #dcebdc;background:#fff;padding:12px 10px;cursor:pointer;min-width:0;font-weight:700;color:#234632}
.recipe-check input{width:21px;height:21px;accent-color:#218c47;flex-shrink:0;margin:0}
.recipe-check span{font-size:.85rem;line-height:1.25;min-width:0;overflow-wrap:anywhere}
.recipe-check small{display:block;color:#718c77;font-size:.7rem;font-weight:500;margin-top:4px}
.catalog-section{margin-bottom:22px}
.catalog-section h3{font-size:1.08rem;color:#185732;margin:18px 0 12px}
.catalog-section h3 small,.menu-edit-list h2 small{font-size:.75rem;font-weight:650;color:#6a8d72}
.catalog-layout .product-edit summary>span{font-size:.73rem;text-align:right}
.catalog-form label.checkline{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px}
.catalog-form label.checkline input{width:19px;height:19px;accent-color:#218c47;flex-shrink:0}
.catalog-form label.checkline small{width:100%;margin-left:27px}
@media(max-width:760px){
 .ingredient-picker-group{padding:0 11px 4px}
 .ingredient-picker-row{gap:8px;grid-template-columns:40px minmax(0,1fr) auto;padding:13px 0}
 .ingredient-thumbnail{width:38px;height:38px;font-size:1.3rem}
 .ingredient-name strong{font-size:.86rem}
 .ingredient-name small{font-size:.68rem}
 .ingredient-stepper button{width:36px;height:36px}
 .ingredient-stepper{gap:3px}
 .picker-section-head{flex-direction:column;align-items:flex-start;gap:4px}
 .picker-section-head small{text-align:left}
 .dough-choices{grid-template-columns:1fr}
 .recipe-checks{grid-template-columns:1fr}
}
@media(max-width:390px){
 .ingredient-picker-row{grid-template-columns:32px minmax(0,1fr) auto}
 .ingredient-thumbnail{width:31px;height:31px;font-size:1.1rem}
 .ingredient-stepper button{width:33px;height:33px;font-size:1.1rem}
 .ingredient-stepper output{min-width:12px;font-size:.9rem}
}
@media(prefers-reduced-motion:reduce){.ingredient-stepper button{transition:none}}

.ingredient-subgroup{border-bottom:1px solid #e4eee2}.ingredient-subgroup:last-child{border-bottom:0}.ingredient-subgroup h4{margin:12px 0 2px;color:#36754b;font-size:.82rem;text-transform:uppercase;letter-spacing:.05em}.ingredient-subgroup .ingredient-picker-row:last-child{border-bottom:0}


/* Lecko Mio V3.1: Produktfotos und Mengenwahl vor dem Warenkorb */
.pizza-card-art.has-photo{overflow:hidden;background:#e6efe3}
.pizza-card-art.has-photo:before{display:none}
.pizza-card-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .35s ease}
.pizza-card:hover .pizza-card-photo{transform:scale(1.045)}
.pizza-card-art.has-photo .pizza-number{z-index:1}
.pizza-photo-field{border:1px solid #d9e9d6;background:#f7fcf5;padding:15px;border-radius:13px;display:grid;gap:12px}
.pizza-photo-field label{min-width:0}
.pizza-photo-field input[type=file]{max-width:100%;font-size:.82rem;cursor:pointer}
.pizza-photo-preview{height:145px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:#eef5e9;border:1px dashed #b2d6b0;border-radius:11px;color:#6c8571}
.pizza-photo-preview img{height:100%;width:100%;object-fit:contain;border-radius:11px}
.pizza-photo-preview>span{font-size:2.3rem}
.pizza-photo-preview small{font-size:.72rem;padding:0 8px;text-align:center}
.pizza-photo-field .checkline{display:flex;align-items:center;gap:9px;font-size:.8rem}
.pizza-photo-field .checkline input{accent-color:#218c47;min-width:18px;min-height:18px;width:auto}
.custom-footer-v31{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:17px;align-items:center}
.pizza-qty-label{display:block;font-size:.74rem;font-weight:760;color:#53765c;margin-bottom:8px;white-space:nowrap}
.pizza-qty-stepper{display:flex;align-items:center;gap:5px}
.pizza-qty-stepper button{border:1px solid #d5e6d1;background:#fff;color:#155e34;border-radius:50%;width:44px;height:44px;font-size:1.3rem;cursor:pointer;font-weight:800;line-height:1;display:grid;place-items:center}
.pizza-qty-stepper button:disabled{opacity:.38;cursor:not-allowed}
.pizza-qty-stepper button:not(:disabled):hover{background:#dcefd9}
.pizza-qty-stepper button:focus-visible{outline:3px solid #218c47;outline-offset:2px}
.pizza-qty-stepper output{min-width:28px;text-align:center;font-weight:900;font-size:1.18rem;color:#173c29}
.pizza-order-price{display:flex;justify-content:flex-end;align-items:center;gap:18px;min-width:0}
.pizza-order-price>span{display:block;font-size:.73rem;color:#56715b;white-space:nowrap}
.pizza-order-price strong{display:block;font-size:1.15rem;color:#145f33;line-height:1.3;margin-top:3px}
.pizza-order-price span:last-child strong{font-size:1.48rem}
.pizza-order-error{grid-column:1/-1;margin:0;font-weight:700;color:#a33524;font-size:.78rem;background:#fff1eb;padding:8px 11px;border-radius:9px}
.pizza-order-error[hidden]{display:none}
.custom-footer-v31 #customSave{padding:15px 18px}
.cart-line-icon img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
@media(max-width:740px){
 .custom-footer-v31{grid-template-columns:1fr 1fr;gap:11px}
 .pizza-order-price{justify-content:flex-end;gap:10px}
 .pizza-order-price>span{font-size:.7rem}
 .pizza-order-price strong{font-size:1rem}
 .pizza-order-price span:last-child strong{font-size:1.27rem}
 .custom-footer-v31 #customSave{grid-column:1/-1;width:100%;padding:13px 18px}
}
@media(max-width:380px){
 .pizza-order-price{gap:6px}
 .pizza-order-price>span{font-size:.63rem}
 .pizza-order-price strong{font-size:.95rem}
 .pizza-order-price span:last-child strong{font-size:1.15rem}
 .pizza-qty-stepper button{width:39px;height:39px}
}
@media(prefers-reduced-motion:reduce){.pizza-card-photo{transition:none}}
