/* (2026-10-24) The pizza preview, rebuilt in one place (loaded last, so the older patches can't move it):
   a square disc holds the crust, sauce and toppings at one size and centre, the board sits under it a little larger,
   and every topping fills the sauce circle exactly. */
.pizza-preview-card .pizza-preview-image.pizza-layer-stack{position:relative;overflow:hidden;container-type:size;
  background:radial-gradient(ellipse at 50% 45%,#3a2516 0%,#1d130c 55%,#0f0b08 100%)}
.pizza-preview-image.pizza-layer-stack .pz-stage{position:absolute;left:50%;top:50%;width:min(100cqw,98cqh);aspect-ratio:1;transform:translate(-50%,-50%)}
/* the board: its round top is 1.12x the crust, centred under it (measured off pizza-board.png: circle centre 557,632, radius 560) */
.pizza-preview-image.pizza-layer-stack .pz-stage img.pz-board{position:absolute;left:3.58%;top:-0.95%;width:92.83%;height:auto;max-width:none;object-fit:fill;
  -webkit-mask-image:linear-gradient(#0000,#000 9%,#000 91%,#0000);mask-image:linear-gradient(#0000,#000 9%,#000 91%,#0000)}
.pizza-preview-image.pizza-layer-stack .pz-disc{position:absolute;inset:0;filter:drop-shadow(0 14px 18px #0009)}
.pizza-preview-image.pizza-layer-stack .pz-disc img.pz-crust,.pizza-preview-image.pizza-layer-stack .pz-disc img.pz-sauce{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
/* the sauce circle (pizza-sauce-base.png: 61..537 x 64..537 of 600) - the toppings live only inside it */
.pizza-preview-image.pizza-layer-stack .pz-surface{position:absolute;left:10.2%;top:10.3%;width:79.4%;height:79.4%;border-radius:50%;overflow:hidden}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-side="Left"]{clip-path:inset(0 50% 0 0)}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-side="Right"]{clip-path:inset(0 0 0 50%)}
.pizza-preview-image.pizza-layer-stack [hidden]{display:none!important}
/* the half line runs across the pizza only */
.pizza-preview-card .pizza-preview-image.pizza-layer-stack:after{top:calc(50% - min(112cqw,108cqh)*.42);bottom:auto;height:calc(min(112cqw,108cqh)*.84);z-index:4}
/* the preview stays in view beside the long topping list: the pizza on top, the half buttons right under it */
@media(min-width:1100px){
  .pizza-studio-layout .pizza-preview-card{align-self:start;position:sticky;top:14px;min-height:0}
  .pizza-preview-card .pizza-preview-image.pizza-layer-stack{flex:none;min-height:0;aspect-ratio:1/1.02}
}
/* whole pizzas only (no half-and-half): no centre line */
.pizza-preview-card .pizza-preview-image.pizza-layer-stack:after{display:none}

/* (2026-10-24, Mike: "make the toppings cover the sauce area") each topping picture scaled so its pieces reach the
   sauce edge - measured from each picture's own spread of pieces (regenerate if a picture changes) */
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-pizza-layer="Bacon"]{transform:scale(1.139) translate(-0.89%,0.55%)}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-pizza-layer="Black Olives"]{transform:scale(1.180) translate(0.12%,0.24%)}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-pizza-layer="Chicken"]{transform:scale(1.131) translate(-0.76%,0.92%)}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-pizza-layer="Extra Mozzarella"]{transform:scale(1.183) translate(-0.08%,0.36%)}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-pizza-layer="Garlic"]{transform:scale(1.183) translate(-1.52%,-0.24%)}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-pizza-layer="Ginger"]{transform:scale(1.165) translate(0.16%,-0.32%)}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-pizza-layer="Green Peppers"]{transform:scale(1.182) translate(0.04%,-0.32%)}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-pizza-layer="Ham"]{transform:scale(1.177) translate(-0.52%,1.36%)}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-pizza-layer="Italian Sausage"]{transform:scale(1.138) translate(-0.00%,-0.24%)}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-pizza-layer="Mushrooms"]{transform:scale(1.243) translate(-0.60%,-0.96%)}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-pizza-layer="Onion"]{transform:scale(1.131) translate(-0.92%,-0.76%)}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-pizza-layer="Pepperoni"]{transform:scale(1.233) translate(-1.40%,-0.64%)}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-pizza-layer="Pineapple"]{transform:scale(1.215) translate(-0.64%,-0.56%)}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-pizza-layer="Salami"]{transform:scale(1.227) translate(-1.44%,-0.68%)}
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top[data-pizza-layer="Tomatoes"]{transform:scale(1.138) translate(-0.80%,-1.28%)}
/* the donair builder: the open pita on the same board, its fillings stacked on it */
.pizza-preview-image.pizza-layer-stack .dz-disc{position:absolute;inset:3%;filter:drop-shadow(0 14px 18px #0009);transform:rotate(6deg) scale(1.02)}   /* (Mike: "turn the pita long ways for a bigger wrap surface") its long side straight across the board, filling it */
.pizza-preview-image.pizza-layer-stack .dz-disc img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.priced-choice span{display:grid;gap:2px}.priced-choice small{color:#bfa77c;font:12px Arial,sans-serif}
.donair-studio .pizza-controls .choice-group h3 small{margin-left:10px;text-align:left}
/* the fillings spread along the wrap's long side (the old layer pictures sit on a small round pita in the middle) */
.pizza-preview-image.pizza-layer-stack .dz-disc img.dz-layer{transform:scale(1.55,1.2)}
.hot-level{display:grid;gap:6px;margin-top:10px;color:#dfaa46;font:700 11px Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.priced-choice select{margin-left:auto;background:#0f0c0a;color:#fff4df;border:1px solid #6b4f2e;border-radius:6px;padding:4px 6px}
.extra-sauce{display:grid;gap:6px;margin-top:12px}.extra-sauce>span{color:#dfaa46;font:700 11px Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}.extra-sauce small{color:#bfa77c;letter-spacing:0;text-transform:none}
/* the clearer remade layers (1000 px) cover the same frame as the old ones */
.pizza-preview-image.pizza-layer-stack .dz-disc img.dz-layer.v2{transform:scale(1.55,1.2)}
/* an extra topping: the same layer once more, turned so the second helping lands between the first */
.pizza-preview-image.pizza-layer-stack .pz-surface img.pz-top.pz-extra{rotate:137deg}
/* donair meat cards: picture, name and price stacked beside the radio */
.donair-studio .priced-choice.food-choice{grid-template-columns:54px minmax(0,1fr) 18px}
.donair-studio .priced-choice.food-choice input{order:3}
.donair-studio .food-choice img{width:52px;height:48px;object-fit:cover;border-radius:4px}
/* donair cards sit on a soft warm board tone so dark pieces (olives, beef) read */
.donair-studio .food-choice img{background:radial-gradient(circle at 50% 45%,#d9b98c 0%,#b48957 70%,#8a6238 100%)}

/* (2026-10-28) sauce covers the whole pizza, under everything else */
.pz-top[data-category="Sauces"]{transform:scale(1.2)}
