/* NOMVEX Food v2 · Photo → recette + price lab. Rules taken from the live page's CSS for the same
   markup, with the serif display face replaced by Inter (platform font) and v2 button styles. */
.photo-kitchen{margin:16px 0 30px;padding:clamp(18px,3.4vw,40px);border-radius:22px;background:#f0eee5;color:#183e31;border:1px solid #d1dccf;box-shadow:0 22px 65px #153c2915}
.photo-head{display:flex;justify-content:space-between;gap:28px;align-items:start;border-bottom:1px solid #c5d5c7;padding-bottom:20px;margin-bottom:22px}
.photo-head p{font-size:16px;line-height:1.55;max-width:65ch;color:#445c4b;margin:0}
.photo-grid{display:grid;grid-template-columns:minmax(250px,.82fr) minmax(0,1.18fr);gap:16px}
.photo-upload-panel,.photo-review{border:1px solid #d3ddd0;border-radius:16px;padding:22px;background:#fff;min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:14px}
.photo-icon{width:60px;height:60px;border-radius:18px;background:#ebf5ed;display:grid;place-items:center;color:#215c43}
.photo-picker{display:flex;align-items:center;justify-content:center;cursor:pointer;text-align:center;position:relative}
.photo-picker input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;min-height:0}
.photo-picker:focus-within{outline:3px solid #275d47;outline-offset:4px}
.photo-upload-panel>button,.photo-review>button{align-self:start}
#photo-preview{width:100%;max-height:260px;object-fit:contain;background:#f6f6f0;border-radius:9px}
#photo-preview[hidden],.photo-output[hidden]{display:none}
.photo-kitchen label:not(.photo-picker){font-size:14px;font-weight:750;color:#183e31}
.photo-kitchen textarea,.photo-kitchen select{width:100%;padding:12px;border:1px solid #c0d0c1;border-radius:10px;background:#fff;font:inherit;font-size:16px;color:#183e31}
.photo-add{display:flex;gap:8px}
.photo-note,#photo-status{font-size:13px;line-height:1.5;color:#55665a}
.photo-note{margin:0}
#photo-status{font-weight:750;min-height:2em}
.photo-output{margin-top:23px;border-top:1px solid #c5d5c7;padding-top:22px}
.photo-output h3{font-size:clamp(20px,2.2vw,26px);font-weight:780;letter-spacing:-.02em;line-height:1.15;margin:12px 0 16px}
.photo-found{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.photo-ingredient{display:flex;align-items:start;gap:10px;border:1px solid #c2d6c7;background:#fff;padding:14px;border-radius:10px;cursor:pointer}
.photo-ingredient input{accent-color:#186741;flex:none;width:20px;height:20px;min-height:0}
.photo-ingredient strong,.photo-ingredient small{display:block}
.photo-ingredient small{font-size:12px;color:#5e7465;margin-top:5px;line-height:1.3;overflow-wrap:anywhere}
.photo-manual{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.photo-manual button{background:#226148;color:#fff;border:0;border-radius:30px;padding:9px 14px;min-height:44px;cursor:pointer}
.photo-actions{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:22px 0}
.photo-actions label{min-width:180px;flex:1}
.photo-actions select{margin-top:6px}
.photo-recipes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.photo-recipe{display:flex;flex-direction:column;gap:8px;background:#173a2c;color:#fff;min-height:220px;padding:18px;border-radius:12px}
.photo-recipe span{color:#b4dbb9;font-size:12px;letter-spacing:.08em}
.photo-recipe h3{font-size:19px;line-height:1.15;margin:5px 0;color:#fff}
.photo-recipe p{margin:0;font-weight:750}
.photo-recipe small{font-size:12.5px;line-height:1.4;color:#d4e5d6}
.photo-recipe button{align-self:start;margin-top:auto;border:0;color:#173a2c;background:#e8efb5;border-radius:8px;padding:10px 12px;min-height:44px;font-weight:800;cursor:pointer}
.photo-empty{padding:20px 0}
.photo-kitchen .primary,.photo-kitchen .secondary,.photo-add button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 18px;border-radius:12px;border:1.5px solid #254f3b;font-weight:720;font-size:15px;cursor:pointer}
.photo-kitchen .primary{background:#254f3b;color:#fff}
.photo-kitchen .secondary,.photo-add button{background:#fffef9;color:#254f3b}
.photo-kitchen button[disabled]{opacity:.55;cursor:not-allowed}
.photo-price-lab{margin-top:30px;padding:24px;border:1px solid #afc9b6;border-radius:18px;background:linear-gradient(180deg,#fbfff9,#edf5ec)}
.photo-price-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.photo-price-head p{margin:0;color:#52685a;max-width:760px}
.live-price-badge{flex:none;background:#173a2c;color:#e8efb5;border-radius:999px;padding:7px 10px;font-weight:800;font-size:11px;letter-spacing:.07em}
.photo-price-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:20px 0 10px}
.photo-price-controls label{min-width:160px}
.photo-price-controls select{margin-top:6px}
.photo-price-status{margin:12px 0;color:#4b6052;font-size:14px;font-weight:700}
.photo-price-summary{display:grid;gap:10px;margin:14px 0}
.price-recommendation,.price-basket{padding:15px 17px;border-radius:12px;border:1px solid #c2d5c5;background:#fff}
.price-recommendation strong,.price-basket strong{display:block;font-size:18px;margin-bottom:4px}
.price-recommendation small,.price-basket small{color:#5c6f62}
.photo-price-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.price-item{padding:14px;border:1px solid #d0dbd0;border-radius:11px;background:#fff;min-width:0}
.price-item-top{display:flex;justify-content:space-between;gap:10px;align-items:start}
.price-value{font-weight:800;font-size:17px;color:#1c5b3b;white-space:nowrap}
.price-item small{display:block;margin-top:5px;color:#5e6e62;font-size:12px;line-height:1.35}
.price-item.no-price{background:#f4f2e9}
.photo-price-source{margin:14px 0 0;font-size:12px;color:#5e6e62;line-height:1.45}
@media(max-width:1050px){.photo-recipes{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-found{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.photo-kitchen{padding:20px 14px}.photo-grid{grid-template-columns:1fr}.photo-head{display:block}
 .photo-recipes,.photo-found{grid-template-columns:1fr}.photo-add{flex-wrap:wrap}.photo-actions{align-items:stretch;flex-direction:column}
 .photo-actions label,.photo-actions button{width:100%;max-width:none}.photo-price-lab{padding:16px}.photo-price-head{display:block}
 .photo-price-controls{align-items:stretch;flex-direction:column}.photo-price-controls label,.photo-price-controls button{width:100%}.photo-price-results{grid-template-columns:1fr}}
