/* Speidel Black Week 1.0.1. All campaign styling is scoped. */
.ce_text_header:has(+ .ce_text_standard #speidel-blackweek){display:none}
/* Integrate with the existing Speidel homepage; reuse its sidebar and search. */
.inside:has(> .ce_text_standard #speidel-blackweek){display:grid;grid-template-columns:220px minmax(0,1fr);gap:12px 24px;align-items:start}
.inside:has(> .ce_text_standard #speidel-blackweek)>.ce_text_standard{grid-column:2;grid-row:2;width:100%;max-width:none;margin:0;padding:0;float:none}
.inside:has(> .ce_text_standard #speidel-blackweek)>.clearfix{display:none}
.inside:has(> .ce_text_standard #speidel-blackweek)>.product_sidebar{grid-column:1;grid-row:1 / span 4;width:100%!important;max-width:none!important;margin:0;padding:0;float:none}
.inside:has(> .ce_text_standard #speidel-blackweek)>.product_sidebar>.fix{width:100%!important;max-width:none!important;position:static!important}
.inside:has(> .ce_text_standard #speidel-blackweek) .product_sidebar_inside{width:auto!important;margin:0;padding-top:40px}
.inside:has(> .ce_text_standard #speidel-blackweek)>.shop-teaser-items{display:contents}
.inside:has(> .ce_text_standard #speidel-blackweek)>.shop-teaser-items>#box-search{grid-column:2;grid-row:1;width:100%;margin:0;padding:0}
.inside:has(> .ce_text_standard #speidel-blackweek)>.shop-teaser-items>.shop-teaser-items-ul:first-of-type{display:none}
.inside:has(> .ce_text_standard #speidel-blackweek)>.shop-teaser-items>.shop-teaser-items-header{grid-column:2;grid-row:3;margin-top:0}
.inside:has(> .ce_text_standard #speidel-blackweek)>.shop-teaser-items>.shop-teaser-items-ul:last-of-type{grid-column:2;grid-row:4}
#speidel-blackweek{--bw-yellow:#ffe500;--bw-black:#08090a;color:#fff;container-type:inline-size;line-height:1.3;margin:0 0 32px;isolation:isolate}
#speidel-blackweek *{box-sizing:border-box}
#speidel-blackweek h1,#speidel-blackweek h2,#speidel-blackweek p{padding:0;margin:0;color:inherit;line-height:1.15;text-transform:none;text-indent:0}
#speidel-blackweek h1:before,#speidel-blackweek h2:before{content:none}
#speidel-blackweek a{color:inherit;text-decoration:none}
#speidel-blackweek a:focus-visible{outline:4px solid #ffdf00;outline-offset:-5px}
#speidel-blackweek a:hover .bw-link,#speidel-blackweek a.bw-link:hover{text-decoration:underline}
#speidel-blackweek b{color:var(--bw-yellow);font-weight:400;font-size:1.35em;vertical-align:-.03em}
#speidel-blackweek .bw-preview{background:#fff5bc;color:#171717;border:1px solid #e3bd00;padding:10px 14px;font-size:14px;line-height:1.5;margin-bottom:10px}
#speidel-blackweek .bw-banner{position:relative;display:grid;grid-template-columns:46% 54%;background:#050505;min-height:210px;overflow:hidden;margin-bottom:7px}
#speidel-blackweek .bw-banner>img{position:absolute;left:0;top:0;width:51%;height:100%;object-fit:cover;object-position:50% 38%;max-width:none;mask-image:linear-gradient(90deg,#000 75%,transparent)}
#speidel-blackweek .bw-banner-copy{grid-column:2;position:relative;padding:24px 20px 24px 0;align-self:center}
#speidel-blackweek h1{font-size:clamp(25px,3.6cqw,43px);font-weight:800;letter-spacing:-.025em}
#speidel-blackweek h1 span{display:block;font-size:.86em}
#speidel-blackweek .bw-banner-copy>p{font-size:clamp(14px,2cqw,22px);margin-top:8px;line-height:1.4}
#speidel-blackweek .bw-banner-copy .bw-sale-hint{font-size:clamp(12px,1.5cqw,16px);margin-top:18px;padding-left:45px;position:relative}
#speidel-blackweek .bw-sale-hint:before{content:"";position:absolute;left:0;top:.65em;width:32px;height:3px;background:var(--bw-yellow)}
#speidel-blackweek .bw-grid{display:grid;grid-template-columns:58% 1fr;grid-template-rows:1fr 1fr;gap:7px}
#speidel-blackweek .bw-card{position:relative;display:block;background:var(--bw-black);overflow:hidden}
#speidel-blackweek .bw-main{grid-row:1 / 3;min-height:510px;aspect-ratio:.94}
#speidel-blackweek .bw-card>img{display:block;max-width:none;width:100%;height:100%;position:absolute;object-fit:cover}
#speidel-blackweek .bw-main>img{object-fit:contain;object-position:center top;height:85%;top:0}
#speidel-blackweek .bw-control>img{object-position:center 90%;object-fit:cover;top:0;height:83%}
#speidel-blackweek .bw-caption{position:absolute;left:0;right:0;bottom:0;padding:28px 20px 20px;background:linear-gradient(transparent,rgba(0,0,0,.9) 32%,#090909);z-index:1}
#speidel-blackweek .bw-caption h2{font-weight:800;font-size:clamp(20px,2.65cqw,32px);letter-spacing:-.025em;margin-bottom:8px}
#speidel-blackweek .bw-caption p{font-size:clamp(13px,1.6cqw,17px);line-height:1.4;margin-bottom:10px}
#speidel-blackweek .bw-caption>span{font-size:clamp(14px,1.8cqw,20px);line-height:1.4}
#speidel-blackweek .bw-button{background:var(--bw-yellow);color:#090909;display:inline-block;padding:9px 15px;font-weight:700}
#speidel-blackweek .bw-sprite{background-image:url('approved-motifs.webp?v=1.0.0');background-repeat:no-repeat}
#speidel-blackweek .bw-sprite-beer{width:100%;aspect-ratio:340 / 188;background-size:301.176% auto;background-position:98.83% 42.286%}
#speidel-blackweek .bw-secondary{display:grid;grid-template-columns:39% 1fr;gap:7px;margin-top:7px}
#speidel-blackweek .bw-accessory{min-height:450px}
#speidel-blackweek .bw-sprite-accessory{width:100%;aspect-ratio:324 / 337;background-size:316.049% auto;background-position:27.286% 70.058%}
#speidel-blackweek .bw-link{display:inline-block;border-bottom:2px solid var(--bw-yellow);padding-bottom:5px;font-size:clamp(13px,1.65cqw,18px);line-height:1.5}
#speidel-blackweek .bw-blackeye{display:grid;grid-template-columns:51% 49%;min-height:450px}
#speidel-blackweek .bw-blackeye-copy{position:relative;z-index:1;padding:30px 0 30px 24px;display:flex;flex-direction:column;align-items:flex-start}
#speidel-blackweek .bw-eyebrow{font-size:13px;font-weight:700;letter-spacing:.065em;line-height:1.5}
#speidel-blackweek .bw-blackeye .bw-eyebrow:after{content:"";display:block;width:40px;height:3px;margin:10px 0 20px;background:var(--bw-yellow)}
#speidel-blackweek .bw-blackeye h2{font-size:clamp(26px,3.5cqw,42px);font-weight:800;margin-bottom:8px}
#speidel-blackweek .bw-large{font-size:clamp(22px,2.8cqw,34px);line-height:1.25}
#speidel-blackweek .bw-blackeye-links{margin-top:auto;padding-top:30px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
#speidel-blackweek .bw-sprite-blackeye{width:100%;aspect-ratio:251 / 410;align-self:center;background-size:407.969% auto;background-position:98.965% 74.600%}
#speidel-blackweek .bw-humour{background:linear-gradient(110deg,#050505,#191b1d);margin-top:7px;padding:20px 25px 20px 50px;position:relative}
#speidel-blackweek .bw-humour:before{content:"";position:absolute;top:23px;bottom:23px;left:26px;width:5px;background:var(--bw-yellow)}
#speidel-blackweek .bw-humour>p:last-child{font-size:clamp(21px,3cqw,34px);font-weight:700;margin-top:5px;line-height:1.2}
#speidel-blackweek .bw-assortment{color:#111;background:#fff;padding:28px 12px 0}
#speidel-blackweek .bw-assortment h2{font-size:clamp(24px,3.4cqw,38px);font-weight:800;margin-bottom:15px}
#speidel-blackweek .bw-assortment>div{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}
#speidel-blackweek .bw-assortment a{font-size:20px;border-bottom:2px solid #e2c900;padding:5px 0;font-weight:700}
@container (max-width:650px){
 #speidel-blackweek .bw-banner{min-height:220px;grid-template-columns:36% 64%}
 #speidel-blackweek .bw-banner>img{width:46%}
 #speidel-blackweek .bw-banner-copy{padding:20px 14px 20px 0}
 #speidel-blackweek .bw-banner-copy .bw-sale-hint{padding-left:0}
 #speidel-blackweek .bw-sale-hint:before{display:none}
 #speidel-blackweek .bw-grid{grid-template-columns:1fr;grid-template-rows:auto}
 #speidel-blackweek .bw-main{grid-row:auto;min-height:540px}
 #speidel-blackweek .bw-control,#speidel-blackweek .bw-beer{min-height:300px}
 #speidel-blackweek .bw-control>img{object-position:center 82%;height:92%}
 #speidel-blackweek .bw-sprite-beer{max-width:420px;margin:auto}
 #speidel-blackweek .bw-secondary{grid-template-columns:1fr}
 #speidel-blackweek .bw-accessory{min-height:520px}
 #speidel-blackweek .bw-sprite-accessory{max-width:390px;margin:auto}
 #speidel-blackweek .bw-blackeye{min-height:380px}
 #speidel-blackweek .bw-blackeye-copy{padding:24px 0 24px 20px}
 #speidel-blackweek .bw-caption h2{font-size:26px}
 #speidel-blackweek .bw-humour{padding-left:37px}
 #speidel-blackweek .bw-humour:before{left:18px}
}
@media(max-width:420px){#speidel-blackweek .bw-main{min-height:450px}#speidel-blackweek .bw-accessory{min-height:450px}#speidel-blackweek .bw-assortment a{font-size:17px}}
@media(max-width:767px){
 .inside:has(> .ce_text_standard #speidel-blackweek){grid-template-columns:minmax(0,1fr);gap:8px}
 .inside:has(> .ce_text_standard #speidel-blackweek)>.product_sidebar{display:none}
 .inside:has(> .ce_text_standard #speidel-blackweek)>.ce_text_standard,
 .inside:has(> .ce_text_standard #speidel-blackweek)>.shop-teaser-items>#box-search,
 .inside:has(> .ce_text_standard #speidel-blackweek)>.shop-teaser-items>.shop-teaser-items-header,
 .inside:has(> .ce_text_standard #speidel-blackweek)>.shop-teaser-items>.shop-teaser-items-ul:last-of-type{grid-column:1}
}

/* Sale is the dedicated offers tile; prices and products remain in the native Sale page. */
#speidel-blackweek .bw-sale-hint a{text-decoration:underline;text-underline-offset:3px}
#speidel-blackweek .bw-sale{display:grid;grid-template-columns:30% minmax(0,1fr);gap:20px;align-items:center;min-height:156px;margin:0 0 7px;padding:24px 28px;background:linear-gradient(90deg,rgba(8,9,10,.76),#08090a 62%),url('banner-original.webp') center 42% / cover}
#speidel-blackweek .bw-sale-label{font-size:clamp(32px,6cqw,66px);font-weight:800;letter-spacing:-.04em;color:var(--bw-yellow)}
#speidel-blackweek .bw-sale-copy h2{font-size:clamp(20px,2.6cqw,29px);font-weight:700;line-height:1.2}
#speidel-blackweek .bw-sale-copy p{font-size:16px;line-height:1.4;margin:7px 0 12px}
#speidel-blackweek .bw-sale-copy .bw-button{font-size:15px;line-height:1.3}
@container(max-width:420px){#speidel-blackweek .bw-sale{grid-template-columns:1fr;gap:8px;padding:22px}#speidel-blackweek .bw-sale-label{font-size:38px}}
