/* Offer eligibility and native popovers are shared across all photo overlays. */
.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}
.promotion-trigger img{display:block;width:32px;height:32px;pointer-events:none}
.shop-page a.promotion-trigger--image{width:32px;height:32px;min-height:32px;border:0;background:transparent}
.shop-page a.promotion-trigger--image:hover,.shop-page a.promotion-trigger--image[aria-expanded=true]{background:transparent;box-shadow:0 0 0 2px hsl(var(--brand)/.35)}
.promotion-picture{position:relative;min-width:0;isolation:isolate}
.promotion-picture>img{display:block}
.product-card-picture{margin:16px 0}
.product-card-picture>.product-picture{margin:0}
.catalog-picture-tools{display:contents}
.promotion-picture>.product-promotions--overlay,.catalog-picture-tools>.product-promotions--overlay{position:absolute;inset:6px auto 6px 6px;z-index:2;width:calc(100% - 12px);display:flex;flex-direction:column;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;gap:4px;min-height:0;margin:0;pointer-events:none}
.product-promotions--overlay .promotion-badge{pointer-events:auto}
.shop-page .product-promotions--overlay a.promotion-trigger{width:32px;height:32px;min-height:32px;background:hsl(var(--image-surface));color:hsl(var(--brand-solid));box-shadow:0 1px 3px hsl(var(--ink)/.14)}
.product-promotions--overlay .promotion-trigger lumen-icon{width:20px;height:20px}
.product-promotions--overlay .promotion-trigger--image{background:transparent}
.home-model-picture .product-promotions--overlay{top:auto;bottom:4px;left:4px;flex-direction:row;width:calc(100% - 8px)}
.shop-page .home-model-picture a.promotion-trigger,.shop-page .catalog-preview-picture a.promotion-trigger{width:24px;height:24px;min-height:24px}
.home-model-picture .promotion-trigger img,.catalog-preview-picture .promotion-trigger img{width:24px;height:24px}
.catalog-preview-picture{width:64px;height:64px;background:hsl(var(--image-surface));border-radius:3px}
.catalog-preview-picture>img{width:100%;height:100%;object-fit:contain}
.catalog-preview-picture .product-promotions--overlay{inset:0;width:100%}
html[data-catalog-view=list] .catalog-product-picture .product-promotions--overlay{inset:0 auto 0 0;width:100%}
html[data-catalog-view=list] .catalog-product-picture .promotion-trigger{width:24px;height:24px;min-height:24px}
html[data-catalog-view=list] .catalog-product-picture .promotion-trigger img{width:24px;height:24px}
html[data-catalog-view=list] .catalog-product-picture:has(.promotion-badge:nth-child(3)){min-height:80px}
html[data-catalog-view=list] .catalog-product-picture:has(.promotion-badge:nth-child(4)){min-height:108px}
html[data-catalog-view=list] .catalog-product-picture:has(.promotion-badge:nth-child(5)){min-height:136px}
.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],[data-promotion-summary][hidden]{display:none!important}
html[data-catalog-view=list] .catalog-product .catalog-product-offer{align-items:flex-start;text-align:left}
@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}
}
.product-promotion-summary{display:grid;gap:10px;margin:10px 0;min-width:0;text-align:left}
.promotion-summary-entry{display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px;font-size:11px;line-height:1.45;min-width:0}
.promotion-summary-mark{display:flex;align-items:flex-start;justify-content:center}
.promotion-summary-mark img,.promotion-summary-mark lumen-icon{width:24px;height:24px;flex:none}
.promotion-summary-entry strong{display:block;color:hsl(var(--ink));font-size:12px;line-height:1.35}
.promotion-summary-entry p{margin:3px 0;color:hsl(var(--ink-muted));overflow-wrap:anywhere}
.promotion-summary-entry a{display:inline-block;color:hsl(var(--brand));text-underline-offset:2px}
.promotion-summary-partial{color:hsl(var(--ink-muted))}
.promotion-detail-heading{display:flex;align-items:center;gap:8px}
.promotion-detail-heading img,.promotion-detail-heading lumen-icon{width:24px;height:24px;flex:none}
.catalog-product-benefits{grid-area:benefits;margin:0 0 10px}
.pair-promotion-summary{grid-column:1/-1;margin:0}
.catalog-preview-heading>.product-promotion-summary{grid-column:1/-1;width:100%;max-height:150px;overflow:auto;margin:0}
html[data-catalog-view=list] .catalog-product:not(.catalog-pair):has(>.catalog-product-benefits){grid-template-areas:'picture title offer actions' 'picture meta offer actions' 'benefits benefits benefits benefits'}
@media(max-width:1100px){
 html[data-catalog-view=list] .catalog-product:not(.catalog-pair):has(>.catalog-product-benefits){grid-template-areas:'picture title offer' 'picture meta offer' 'picture actions actions' 'benefits benefits benefits'}
}
@media(max-width:600px){
 .catalog-page .catalog-grid:not([data-paired=true]){grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
 .catalog-page .catalog-product:not(.catalog-pair) .catalog-product-picture{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:center;background:transparent;height:auto;min-height:0}
 .catalog-page .catalog-product:not(.catalog-pair) .product-picture{height:210px;background:hsl(var(--image-surface));border-radius:3px}
 .catalog-picture-tools{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0}
 .catalog-picture-tools>.product-promotions--overlay{position:static;inset:auto;width:44px;flex-wrap:nowrap;align-items:center;pointer-events:auto}
 .catalog-page .catalog-product .catalog-picture-tools .catalog-picture-hint{position:static;order:2;width:44px;height:44px;min-height:44px;margin:0;padding:11px}
 .catalog-page .catalog-picture-tools a.promotion-trigger{width:40px;height:40px;min-height:40px;background:transparent;box-shadow:none}
 .catalog-page .catalog-product .catalog-picture-tools .promotion-trigger img{width:32px;height:32px}
 html[data-catalog-view=list] .catalog-page .catalog-product:not(.catalog-pair){grid-template-columns:148px minmax(0,1fr)}
 html[data-catalog-view=list] .catalog-page .catalog-product:not(.catalog-pair):has(>.catalog-product-benefits){grid-template-areas:'picture title' 'picture meta' 'benefits benefits' 'offer offer' 'actions actions'}
 html[data-catalog-view=list] .catalog-page .catalog-product:not(.catalog-pair) .catalog-product-picture{width:148px;grid-template-columns:96px 44px}
 html[data-catalog-view=list] .catalog-page .catalog-product:not(.catalog-pair) .product-picture{width:96px;height:96px;padding:6px}
 .product-card-picture:has(>.product-promotions--overlay),.product-detail-picture:has(>.product-promotions--overlay),.catalog-preview-picture:has(>.product-promotions--overlay){display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:center;background:transparent;height:auto;min-height:0}
 :is(.product-card-picture,.product-detail-picture,.catalog-preview-picture)>.product-promotions--overlay{position:static;inset:auto;width:44px;flex-wrap:nowrap;align-items:center;pointer-events:auto}
 :is(.product-card-picture,.product-detail-picture,.catalog-preview-picture)>.product-promotions--overlay a.promotion-trigger{width:40px;height:40px;min-height:40px;box-shadow:none;background:transparent}
 :is(.product-card-picture,.product-detail-picture,.catalog-preview-picture)>.product-promotions--overlay .promotion-trigger img{width:32px;height:32px}
 .product-detail-picture .detail-picture{min-width:0;width:100%;background:hsl(var(--image-surface))}
 .catalog-page .catalog-preview-heading{grid-template-columns:148px minmax(0,1fr)}
 .catalog-preview-heading .catalog-preview-picture{width:148px}
 .catalog-preview-picture>img{width:96px;height:96px;object-fit:contain;background:hsl(var(--image-surface));border-radius:3px}
 .catalog-product-benefits{margin-bottom:4px}
 .catalog-page .catalog-product-meta .availability-primary{flex-wrap:wrap;row-gap:6px}
 .home-model-picture:has(>.product-promotions--overlay){display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:6px;background:transparent}
 .home-model-picture:has(>.product-promotions--overlay)>a:first-child{background:hsl(var(--image-surface));min-width:0}
 .home-model-picture>.product-promotions--overlay{position:static;inset:auto;width:40px;flex-direction:column;flex-wrap:nowrap;align-items:center;justify-content:center;pointer-events:auto}
 .shop-page .home-model-picture>.product-promotions--overlay a.promotion-trigger{width:36px;height:36px;min-height:36px;box-shadow:none}
 .home-model-picture:has(>.product-promotions--overlay) .home-model-favorite{right:50px}
 .promotion-summary-entry a{padding-block:4px}
}
