.item-tools{position:absolute;top:8px;right:8px;z-index:5;display:flex;gap:5px;width:auto;margin:0;padding:0;border:0}.item-tools button{display:inline-grid;place-items:center;width:32px;height:32px;min-height:32px;padding:0;border:1px solid #ded5c9;border-radius:50%;background:#fffefaed;color:#761b34;box-shadow:0 1px 5px #3c27151a;cursor:pointer}.item-tools button:hover{background:#fff;border-color:#aa834e}.item-tools button:focus-visible,.item-share-dialog :focus-visible{outline:3px solid #b98a47;outline-offset:2px}.item-tools svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.65}.item-tools button:disabled{opacity:.6;cursor:wait}.item-tools button[aria-busy=true] svg{animation:item-tool-pulse .8s ease infinite alternate}.item-tool-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.product-image,.builder-item-photo,.box-photo-wrap,.detail-photo-wrap{position:relative}.detail-photo-wrap>img{display:block;width:100%}.detail-photo-wrap #detail-item-tools .item-tools{right:52px;top:12px}.detail-photo-wrap.no-photo{min-height:50px}.product.restaurant-item{position:relative}.product.restaurant-item>.item-tools{top:8px;right:8px}.product.restaurant-item .product-body{padding-top:45px}.box-photo-wrap{display:block;min-width:0;width:100%}.box-photo-wrap>img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:contain;background:#f6f4eb}.empty-box-option .box-photo-wrap .item-tools,.builder-item-photo .item-tools{top:5px;right:5px;margin:0;padding:0;border:0;width:auto;gap:4px}.empty-box-option .box-photo-wrap .item-tools button,.builder-item-photo .item-tools button{width:27px;height:27px;min-height:27px;padding:0}.empty-box-option .box-photo-wrap .item-tools svg,.builder-item-photo .item-tools svg{width:15px;height:15px}.product .product-image .item-tools{margin:0;padding:0;border:0}@keyframes item-tool-pulse{to{opacity:.25}}@media(max-width:600px){.item-tools{top:5px;right:5px;gap:4px}.item-tools button{width:29px;height:29px;min-height:29px;padding:0}}@media(prefers-reduced-motion:reduce){.item-tools button[aria-busy=true] svg{animation:none}}
.item-share-dialog{position:fixed;inset:0;margin:auto;width:min(460px,calc(100% - 32px));max-height:85svh;overflow:auto;box-sizing:border-box;padding:30px;border:1px solid #c9aa7b;border-radius:14px;background:#fff8ee;color:#49382f;box-shadow:0 22px 90px #27101d55;z-index:110}.item-share-dialog::backdrop{background:#27141db3;backdrop-filter:blur(3px)}.item-share-close{position:absolute;right:12px;top:8px;background:none;border:0;color:#761b34;font-size:30px;cursor:pointer}.item-share-eyebrow{font:700 9px Arial,sans-serif;letter-spacing:2px;color:#a17a3e;margin:7px 0 15px}.item-share-dialog h2{font:26px Georgia,serif;color:#761b34;margin:0 0 14px}.item-share-dialog p:not(.item-share-eyebrow){font:13px/1.6 Arial,sans-serif}.item-share-whatsapp,.item-copy{display:block;text-align:center;padding:13px;margin-top:12px;border-radius:6px;font:700 13px Arial,sans-serif;text-decoration:none;width:100%;box-sizing:border-box;cursor:pointer}.item-share-whatsapp{background:#761b34;color:white}.item-copy{background:#f0e5d3;color:#761b34;border:1px solid #dcc6aa}.item-share-label{display:block;margin-top:20px;font:12px Arial,sans-serif}.item-share-label input{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:10px;border:1px solid #dcc6aa;border-radius:5px;background:white;color:#624b40;font-size:12px}.item-share-status{min-height:20px;color:#761b34}@media(max-width:420px){.item-share-dialog{padding:25px}}

/* Catalogue actions occupy the existing category line, leaving photos and card dimensions intact. */
.product .product-body{position:relative}.product .product-body>.item-tools{position:absolute;top:0;right:0;gap:4px}.product .product-body>.item-tools button{width:24px;height:24px;min-height:24px;border:0;border-radius:4px;background:transparent;box-shadow:none;color:#8b7363}.product .product-body>.item-tools button:hover{background:#eadfcd;color:#761b34}.product .product-body>.item-tools svg{width:15px;height:15px}.product .product-body>.product-category{padding-right:60px}.product.restaurant-item .product-body{padding-top:0}

/* Builder utilities follow catalogue actions, within the existing text and controls areas. */
.empty-box-copy{position:relative}.empty-box-copy>.item-tools{top:7px;right:7px;margin:0;padding:0;border:0;gap:3px}.empty-box-copy>strong{padding-right:56px}.builder-category-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}.builder-category-tools>.item-tools{position:static;margin:0;padding:0;border:0;gap:3px}.empty-box-copy>.item-tools button,.builder-category-tools>.item-tools button{width:24px;height:24px;min-height:24px;padding:0;border:0;border-radius:4px;background:transparent;box-shadow:none;color:#8b7363}.empty-box-copy>.item-tools button:hover,.builder-category-tools>.item-tools button:hover{background:#eadfcd;color:#761b34}.empty-box-copy>.item-tools svg,.builder-category-tools>.item-tools svg{width:15px;height:15px}
