/* Driftskrav: https://sportmann.info/sportmann/DRIFTSKRAV-WEBHUSET.txt */
/* Twentyfour campaign. Scoped to this banner; no font resources or native product controls are changed. */
.category-view:has(#sm-tf-banner){width:100%;max-width:none;padding-inline:24px}
.category-view:has(#sm-tf-banner)>div:has(.category-description),.category-description:has(#sm-tf-banner){width:100%!important;max-width:none;margin:0;padding:0}
.category-description:has(#sm-tf-banner) [data-element="inner"]{padding:0!important;margin:0!important}
.category-description:has(#sm-tf-banner)>[data-content-type="row"]{padding:0!important;max-width:none}
#sm-tf-banner{--tf-green:#233f34;--tf-cream:#f4f0e7;--tf-gold:#ead5a1;box-sizing:border-box;display:grid;grid-template-columns:minmax(210px,.92fr) minmax(0,3fr);gap:28px;align-items:center;padding:28px;background:var(--tf-cream);color:var(--tf-green);border-top:4px solid var(--tf-green);margin:0 auto 24px;max-width:1680px}
#sm-tf-banner *,#sm-tf-banner *::before,#sm-tf-banner *::after{box-sizing:border-box}
#sm-tf-banner .tf-intro{padding:8px 4px}
#sm-tf-banner .tf-brand{font-size:25px;line-height:1.2;font-weight:750;letter-spacing:.08em;margin:0 0 24px}
#sm-tf-banner .tf-offer{font-size:23px;line-height:1.15;margin:0 0 20px;font-weight:400}
#sm-tf-banner .tf-offer strong{display:block;font-size:clamp(64px,7vw,100px);font-weight:800;letter-spacing:-.055em;line-height:1.05}
#sm-tf-banner .tf-lead{font-size:17px;line-height:1.5;margin:0 0 26px;max-width:235px;color:#4b5a51}
#sm-tf-banner .tf-all{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 17px;background:var(--tf-green);color:var(--tf-cream);font-size:12px;font-weight:700;letter-spacing:.025em;text-decoration:none}
#sm-tf-banner .tf-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-width:0}
#sm-tf-banner .tf-card{position:relative;display:flex;flex-direction:column;min-width:0;background:var(--tf-green);color:var(--tf-cream);text-decoration:none;border:1px solid #c9c6b8;transition:box-shadow .16s ease}
#sm-tf-banner .tf-card:hover{box-shadow:0 5px 16px #233f3426}
#sm-tf-banner a:focus-visible{outline:3px solid #b78330;outline-offset:4px}
#sm-tf-banner .tf-photo-frame{position:relative;overflow:hidden;min-width:0;width:100%;aspect-ratio:1/1.1;flex:none;background:#eeede8}
#sm-tf-banner .tf-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center 27%;margin:0;transform:scale(1.04)}
#sm-tf-banner .tf-saving{position:absolute;top:12px;right:12px;background:var(--tf-gold);color:var(--tf-green);padding:7px 9px;font-size:11px;font-weight:750;line-height:1.2;letter-spacing:.035em}
#sm-tf-banner .tf-info{display:flex;flex-direction:column;flex:1;padding:16px}
#sm-tf-banner .tf-name{font-size:19px;font-weight:700;line-height:1.2;letter-spacing:0;margin:0 0 6px;color:inherit}
#sm-tf-banner .tf-colour{font-size:12px;line-height:1.3;color:#d8dfd7;margin:0 0 14px}
#sm-tf-banner .tf-prices{margin-top:auto;display:flex;align-items:baseline;flex-wrap:wrap;gap:9px}
#sm-tf-banner .tf-price{font-size:38px;font-weight:750;line-height:1.1;letter-spacing:-.035em;white-space:nowrap}
#sm-tf-banner .tf-price small{font-size:12px;letter-spacing:0;font-weight:400}
#sm-tf-banner .tf-old{font-size:12px;color:#d8dfd7;white-space:nowrap}
#sm-tf-banner .tf-cta{align-self:flex-start;display:inline-block;margin-top:16px;background:var(--tf-gold);color:var(--tf-green);padding:10px 13px;font-size:11px;font-weight:750;line-height:1.2;letter-spacing:.025em}
#sm-tf-banner:not(.tf-ready){grid-template-columns:1fr;text-align:center}
#sm-tf-banner:not(.tf-ready) .tf-lead{max-width:none}
#sm-tf-banner:not(.tf-ready) .tf-cards{display:none}
@media(min-width:1680px){#sm-tf-banner .tf-photo-frame{aspect-ratio:1.05/1}}
@media(max-width:1050px){#sm-tf-banner{grid-template-columns:1fr;padding:22px;gap:22px}#sm-tf-banner .tf-intro{text-align:center;padding:0}#sm-tf-banner .tf-brand{margin-bottom:8px;font-size:25px}#sm-tf-banner .tf-offer{display:flex;align-items:baseline;justify-content:center;gap:8px;margin-bottom:10px;font-size:20px}#sm-tf-banner .tf-offer strong{display:inline;font-size:60px}#sm-tf-banner .tf-lead{max-width:none;font-size:15px;margin:0}#sm-tf-banner .tf-all{margin-top:14px;padding:10px 16px}#sm-tf-banner .tf-name{font-size:18px}#sm-tf-banner .tf-price{font-size:34px}}
@media(max-width:600px){.category-view:has(#sm-tf-banner){padding-inline:12px}#sm-tf-banner{padding:20px 12px 12px;gap:18px;margin-bottom:16px}#sm-tf-banner .tf-brand{font-size:22px}#sm-tf-banner .tf-offer strong{font-size:58px}#sm-tf-banner .tf-cards{grid-template-columns:1fr;gap:10px}#sm-tf-banner .tf-card{display:grid;grid-template-columns:43% 57%;min-height:220px}#sm-tf-banner .tf-photo-frame{height:100%;min-height:220px;aspect-ratio:auto}#sm-tf-banner .tf-photo{height:100%;min-height:220px;object-position:center}#sm-tf-banner .tf-info{padding:14px 12px}#sm-tf-banner .tf-saving{top:auto;bottom:8px;right:auto;left:8px;font-size:9px;padding:6px}#sm-tf-banner .tf-name{font-size:18px}#sm-tf-banner .tf-colour{margin-bottom:12px;font-size:11px}#sm-tf-banner .tf-price{font-size:32px}#sm-tf-banner .tf-prices{gap:5px 8px}#sm-tf-banner .tf-old{font-size:11px}#sm-tf-banner .tf-cta{margin-top:12px;font-size:10px;padding:9px 11px}}
@media(prefers-reduced-motion:reduce){#sm-tf-banner .tf-card{transition:none}}

/* Plain category introduction remains when Webhuset CSS is unavailable. */
#sm-tf-fallback{display:none}

/* Edge-to-edge campaign immediately below the header, scoped to Twentyfour. */
#html-body.ambrand-index-index:has(#sm-tf-banner) .page-title-wrapper{display:none}
#html-body.ambrand-index-index:has(#sm-tf-banner) .page-main:has(.page-title-wrapper){margin:0;padding:0}
#category-view-container:has(#sm-tf-banner){padding-inline:0}
#sm-tf-banner{width:100%;max-width:none}
@media(min-width:1051px){#sm-tf-banner{padding-inline:max(28px,calc((100% - 1624px)/2))}}
