/* Compact public offers use the installed Lumen icons and native popover. */
.availability-primary{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%}
.availability-primary>.ui-badge{min-width:0}
.shop-page .availability-primary .tyre-medals{display:inline-flex;flex-wrap:nowrap;flex-shrink:0;gap:3px;margin:0;align-items:center}
.shop-page .catalog-product-meta .availability-primary .tyre-medals{margin:0}
.shop-page .availability-primary button.tyre-medal{width:24px;height:26px;min-height:26px;border-radius:50%;transform:none}
.shop-page .availability-primary .tyre-medal::before{inset:1px 0;border:1px solid #d5b467;box-shadow:none}
.shop-page .availability-primary .tyre-medal::after{display:none}
.shop-page .availability-primary .tyre-medal lumen-icon{width:15px;height:15px}
.shop-page .availability-primary .tyre-medal:focus-visible{outline:2px solid hsl(var(--brand));outline-offset:3px}
.product-promotions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:8px 0 10px;min-height:24px}
.promotion-badge{display:inline-flex;flex:none}
.shop-page a.promotion-trigger{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;min-height:24px;padding:0;border:1px solid hsl(var(--brand)/.24);border-radius:50%;background:hsl(var(--brand)/.09);color:hsl(var(--brand));text-decoration:none}
.promotion-trigger lumen-icon{width:15px;height:15px;pointer-events:none}
.shop-page a.promotion-trigger:hover,.shop-page a.promotion-trigger[aria-expanded=true]{background:hsl(var(--brand)/.18);border-color:hsl(var(--brand)/.6)}
.promotion-trigger:focus-visible{outline:2px solid hsl(var(--brand));outline-offset:3px}
.promotion-popover{display:none}
.promotion-popover:popover-open{display:block}
.promotion-popover.ui-popover{position:fixed;inset:auto;margin:0;width:320px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);box-sizing:border-box;padding:18px;border:1px solid hsl(var(--line));border-radius:6px;background:hsl(var(--surface));color:hsl(var(--ink));box-shadow:0 12px 36px hsl(var(--ink)/.2);font-size:13px;line-height:1.5;overflow:auto;overflow-wrap:anywhere;text-align:left}
.promotion-popover ul{margin:0;padding:0;list-style:none}
.promotion-popover li{padding:0 20px 0 0}
.promotion-popover li+li{border-top:1px solid hsl(var(--line));margin-top:14px;padding-top:14px}
.promotion-popover strong{display:block;font-size:14px;line-height:1.35;color:hsl(var(--ink))}
.promotion-popover p{margin:7px 0;color:hsl(var(--ink-muted))}
.promotion-popover p.promotion-partial{color:hsl(var(--brand));font-weight:700}
.promotion-popover a{color:hsl(var(--brand));text-underline-offset:3px}
.promotion-popover .promotion-period{font-size:11px}
.promotion-popover button.promotion-close{position:absolute;right:2px;top:2px;display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:5px;border:0;border-radius:4px;background:transparent;color:hsl(var(--ink-muted))}
.promotion-close lumen-icon{width:16px;height:16px}
.promotion-size-link{display:block;margin-top:12px}
.product-promotion-details{margin:28px 0;border-block:1px solid hsl(var(--line));padding:18px 0}
.product-promotion-details>article{padding:14px 0}
.product-promotion-details h3{margin:0 0 8px}
.promotion-status{padding:12px;border:1px solid hsl(var(--line));background:hsl(var(--brand)/.08)}
.shop-page [data-promotion-badge][hidden],.shop-page [data-promotion-offer][hidden],.product-promotions[hidden],.product-promotion-details[hidden]{display:none!important}
.catalog-preview-heading .product-promotions{margin-bottom:0}
html[data-catalog-view=list] .catalog-product:has(>.product-promotions){grid-template-areas:'picture title offer actions' 'picture meta offer actions' 'promotions promotions offer actions'}
html[data-catalog-view=list] .catalog-product>.product-promotions{grid-area:promotions;margin:0;align-self:start}
html[data-catalog-view=list] .catalog-product .catalog-product-offer{align-items:flex-start;text-align:left}
@media(max-width:1100px){
 html[data-catalog-view=list] .catalog-product:has(>.product-promotions){grid-template-areas:'picture title offer' 'picture meta offer' 'promotions promotions offer' 'actions actions actions'}
}
@media(max-width:600px){
 html[data-catalog-view=list] .catalog-product:has(>.product-promotions){grid-template-areas:'picture title' 'picture meta' 'promotions promotions' 'offer offer' 'actions actions'}
}
@media(hover:none),(pointer:coarse){
 .shop-page a.promotion-trigger{width:40px;height:44px;min-height:44px;border:0;background:radial-gradient(circle at center,hsl(var(--brand)/.12) 12px,transparent 13px)}
 .product-promotions{gap:2px;margin-block:2px}
 .promotion-popover button.promotion-close{width:44px;height:44px;min-height:44px}
 .promotion-popover a{display:inline-flex;align-items:center;min-height:44px}
 .promotion-popover li{padding-right:24px}
 .shop-page .availability-primary button.tyre-medal{width:32px;height:44px;min-height:44px}
 .shop-page .availability-primary .tyre-medal::before{inset:10px 4px}
}
