/* CafePilot v5.2: thumb-friendly menu studio and order customization */
.studio-categories,.studio-products{margin:0 0 22px;background:#fff;border:1px solid #e5ebf1;border-radius:18px;padding:20px;box-shadow:0 4px 16px #16335006}
.studio-section-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}
.studio-section-top h2{font-size:18px;margin:0}.studio-section-top span{font-size:12px;color:#7d8a9b}
.studio-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.studio-category{display:flex;align-items:center;gap:12px;background:#f7f9fb;border:1px solid #e9eef4;padding:13px;border-radius:13px;min-width:0}
.studio-category-icon{display:grid;place-items:center;border-radius:12px;background:#e9f8c9;width:42px;height:42px;font-size:21px;flex-shrink:0}
.studio-category>div:nth-child(2){min-width:0;flex:1}.studio-category strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.studio-category small{display:block;color:#718197;font-size:11px;margin-top:4px}
.studio-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(214px,1fr));gap:15px}
.studio-product{display:flex;flex-direction:column;border:1px solid #e7ebf2;border-radius:15px;overflow:hidden;background:white}
.studio-product-photo{height:136px;position:relative;display:flex;align-items:center;justify-content:center;background:#f2f5f9;font-size:52px}
.studio-product-photo img,.product-visual img,.order-row-icon img,.image-upload-preview img,.customize-product img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.studio-fav{position:absolute;top:9px;right:9px;background:#d9ff6e;color:#203514;border-radius:30px;font-size:9px;font-weight:900;padding:4px 9px}
.studio-fav:empty{display:none}.studio-product-info{padding:13px;flex:1}.studio-product-info>strong{display:block;line-height:1.4;font-size:14px}
.studio-product-info small{display:block;color:#748398;font-size:11px;margin:5px 0 10px}.studio-product-price{display:flex;justify-content:space-between;align-items:center;font-size:13px;gap:6px}
.studio-product-buttons{border-top:1px solid #ebf0f4;padding:9px;display:flex;flex-wrap:wrap;gap:5px}.studio-product-buttons .button{flex:1;font-size:11px;white-space:nowrap;padding:5px 7px;min-height:34px}
.premium-product .product-visual{overflow:hidden}.premium-product .product-visual img{border-radius:10px;aspect-ratio:1/1}
.order-row-icon{overflow:hidden}.order-row-icon img{border-radius:10px}
.customization-details{display:block!important;color:#356579!important;background:#eaf8fb;border-radius:6px;padding:4px 6px;line-height:1.5;white-space:normal;margin:5px 0}
.kitchen-option{display:block;color:#45677b;font-size:12px;margin:3px 0 7px 23px;line-height:1.6}
.customize-options{display:flex;flex-direction:column;gap:9px;margin:13px 0 20px;max-height:280px;overflow:auto}
.customize-option{display:flex;align-items:center;gap:10px;min-height:52px;border:1px solid #dce4ed;border-radius:12px;padding:11px;cursor:pointer}
.customize-option input{width:19px;height:19px;accent-color:#7ab64e}.customize-option span{flex:1;font-weight:700}
.customize-option strong{color:#258c51;white-space:nowrap}.customize-product{display:flex;align-items:center;gap:14px;padding:12px;border-radius:12px;background:#f4f8ef}
.customize-product>span{width:62px;height:62px;border-radius:10px;background:white;display:grid;place-items:center;overflow:hidden;font-size:31px}
.customize-product>strong{font-size:21px}.options-list{margin-bottom:16px;border:1px solid #e7ebf0;border-radius:12px;max-height:250px;overflow:auto}
.option-row{display:flex;align-items:center;justify-content:space-between;padding:11px;border-bottom:1px solid #edf1f4;gap:8px}
.option-row:last-child{border:0}.option-row span{display:grid;gap:4px}.option-row small{font-size:11px;color:#667589}
.icon-presets{display:flex;flex-wrap:wrap;gap:7px;margin:-5px 0 16px}.icon-presets button{width:38px;height:38px;border:1px solid #dce4eb;border-radius:9px;background:#fff;font-size:20px;cursor:pointer}
.icon-presets button:hover{background:#eaffc7}.checkbox-enhanced{margin:10px 0 14px;padding:10px;border-radius:10px;background:#f5faeb;font-weight:700}
.image-upload-preview{width:145px;height:145px;display:flex;align-items:center;justify-content:center;margin:5px auto 20px;border:1px solid #dae4e9;background:#f5f7f9;border-radius:18px;font-size:62px;overflow:hidden}
.menu-upgrade-notice{margin-bottom:18px}
@media(max-width:700px){.studio-category-grid{grid-template-columns:1fr}.studio-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.studio-categories,.studio-products{padding:13px;margin-bottom:14px}.studio-product-buttons{padding:8px}.studio-product-buttons .button{flex-basis:45%}.studio-product-photo{height:113px}.studio-section-top h2{font-size:16px}.customize-option{min-height:60px}}
