/* SerieCentrum theme, variant A "clean" - PROVISIONAL (the owner has not chosen between A and the comic variant B yet).
   Loaded after OpenCart's own stylesheet by the sc_theme event (extension/sc_theme/catalog/controller/event/ui.php). No core file is edited.
   Everything that can change between variants lives in the custom properties below: colours, fonts, spacing, shape.
   To try variant B later, replace the values in :root (and add the comic rules) - the markup stays the same.
   Fonts are self-hosted (fonts/Oswald-variable.ttf, SIL OFL). Two families: Oswald (headings) + the system font. */
@font-face { font-family: "Oswald"; src: url("fonts/Oswald-variable.ttf") format("truetype"); font-weight: 200 700; font-display: swap; }

:root {
  --sc-red: #B01319; --sc-red-dark: #8F0F14; --sc-red-logo: #EB2229;
  --sc-blue: #2E4390; --sc-blue-link: #34499A;
  --sc-ink: #1A1A1A; --sc-muted: #4D4D4D; --sc-paper: #FFFFFF; --sc-surface: #F6F4EF; --sc-line: #E2DED6;
  --sc-ok: #155F2E; --sc-amber: #6E4700; --sc-field-border: #8A8576; --sc-error: #A11D2B; --sc-highlight: #FFD23F;
  --sc-font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --sc-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sc-space-1: 4px; --sc-space-2: 8px; --sc-space-3: 12px; --sc-space-4: 16px; --sc-space-5: 24px; --sc-space-6: 32px; --sc-space-7: 48px;
  --sc-radius: 6px; --sc-shadow: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.06);
  /* map onto Bootstrap 5.3 */
  --bs-body-font-family: var(--sc-font-body); --bs-body-color: var(--sc-ink); --bs-link-color: var(--sc-blue-link); --bs-link-hover-color: var(--sc-blue);
  --bs-link-color-rgb: 52, 73, 154; --bs-link-hover-color-rgb: 38, 55, 120; --bs-border-color: var(--sc-line);
}
body { font-family: var(--sc-font-body); color: var(--sc-ink); font-size: 17px; line-height: 1.55; }   /* 17 px / 1.55: easier for older readers (item 16) */
h1, h2, h3, h4, h5, h6 { color: var(--sc-ink); }
h1, h2, h3, h5, .sc-section-title { font-family: var(--sc-font-display); font-weight: 700; letter-spacing: .01em; line-height: 1.15; }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(22px, 2.6vw, 28px); }
:focus-visible { outline: 3px solid var(--sc-highlight) !important; outline-offset: 2px; box-shadow: 0 0 0 5px var(--sc-ink) !important; }
.btn-primary { --bs-btn-bg: var(--sc-red); --bs-btn-border-color: var(--sc-red); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--sc-red-dark); --bs-btn-hover-border-color: var(--sc-red-dark); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--sc-red-dark); --bs-btn-active-border-color: var(--sc-red-dark); --bs-btn-disabled-bg: var(--sc-red); --bs-btn-disabled-border-color: var(--sc-red); font-weight: 700; }
.btn-outline-dark { --bs-btn-color: var(--sc-ink); --bs-btn-border-color: var(--sc-ink); --bs-btn-hover-bg: var(--sc-ink); --bs-btn-hover-border-color: var(--sc-ink); --bs-btn-hover-color: #fff; font-weight: 700; }
.btn { border-radius: var(--sc-radius); }

/* page frame: normal flow instead of the stock absolutely positioned footer */
#container { position: static; min-height: 0; margin-bottom: 0; }
#content, #column-left, #column-right { padding-bottom: 0 !important; }
main { padding-bottom: var(--sc-space-6); }

/* top strip + header */
#top { background: var(--sc-ink); border: 0; margin-bottom: 0; padding: 0; }
#top .list-inline-item > a, #top .list-inline-item .dropdown > a, #top .list-inline-item .dropdown > span { color: #fff; font-size: 15px; line-height: 44px; padding: 0; display: inline-block; }
#top .col-4::before { content: "Butik i Trelleborg sedan 1990 \00B7  Frakt 89 kr \00B7  Betala mot faktura"; color: #fff; font-size: 14px; line-height: 44px; white-space: nowrap; }
#top #wishlist-total { display: none; }
header { padding: var(--sc-space-3) 0; border-bottom: 1px solid var(--sc-line); margin-bottom: var(--sc-space-3); }
#logo { margin: 0; }
#logo img { max-width: 230px; height: auto; }
header .form-control-lg { border: 2px solid var(--sc-ink); border-radius: var(--sc-radius) 0 0 var(--sc-radius); font-size: 16px; height: 48px; padding: 0 14px; }
header .input-group .btn { background: var(--sc-ink); border: 2px solid var(--sc-ink); color: #fff; border-radius: 0 var(--sc-radius) var(--sc-radius) 0; text-shadow: none; padding: 0 18px; }
#cart { margin-bottom: 0; align-self: center; }
#cart .btn-lg { background: var(--sc-red); border-color: var(--sc-red); color: #fff; font-size: 16px; font-weight: 700; padding: 12px 16px; line-height: 22px; }
#cart .dropdown-menu { background: #fff; }
/* Search and cart on one line, same height, centred with the logo (owner, 2026-11-15). Only when they sit side by side (md+);
   stacked on phones they keep their spacing. */
@media (min-width: 768px) {
  header > .container > .row { align-items: center; }
  header form.input-group { margin-bottom: 0 !important; }
  #cart { margin-bottom: 0 !important; }
  #cart .btn-lg { height: 48px; padding-top: 0; padding-bottom: 0; display: flex !important; align-items: center; justify-content: center; gap: 6px; }
}

/* main menu: the shop's sections, flat */
#menu { background: var(--sc-blue) !important; background-image: none !important; border: 0; border-radius: var(--sc-radius); min-height: 0; padding: 0 var(--sc-space-3); margin-bottom: var(--sc-space-5); }
#menu .navbar-nav { flex-wrap: wrap; }
#menu .navbar-nav > li > a, #menu .navbar-nav > li > a.dropdown-item { color: #fff; text-shadow: none; font: 600 16px var(--sc-font-display); letter-spacing: .04em; text-transform: uppercase; padding: 12px 14px; background: transparent; min-height: 44px; }
#menu .navbar-nav > li > a:hover, #menu .navbar-nav > li > a:focus { background: rgba(255,255,255,.14); box-shadow: inset 0 -4px 0 var(--sc-red-logo); color: #fff; }
#category { color: #fff; text-shadow: none; font-family: var(--sc-font-display); text-transform: uppercase; letter-spacing: .04em; line-height: 48px; }
#menu .navbar-toggler { border-color: rgba(255,255,255,.6); }

/* breadcrumb */
.breadcrumb { flex-wrap: wrap; background: none; border: 0; padding: 0; margin: 0 0 var(--sc-space-3); font-size: 15px; }
.breadcrumb > li.breadcrumb-item { text-shadow: none; padding: 0 var(--sc-space-2) 0 0; white-space: normal; }
.breadcrumb > li.breadcrumb-item:after { display: none; }
.breadcrumb > li.breadcrumb-item + li:before { content: "/"; padding-right: 8px; color: var(--sc-muted); }

/* ---------- home ---------- */
.sc-section-title { margin: 0 0 var(--sc-space-4); }
.sc-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--sc-space-6); align-items: center; background: var(--sc-surface); border-radius: 8px; padding: var(--sc-space-7) var(--sc-space-6); margin-bottom: var(--sc-space-6); }
.sc-hero h1 { font-size: clamp(30px, 4.4vw, 50px); }
.sc-hero h1 em { font-style: normal; color: var(--sc-red); }
/* "Sedan 1990." always on its own line and never split (owner, 2026-11-15); table = new line but only as wide as the text */
.sc-hero h1 em { display: table; white-space: nowrap; }
.sc-hero p { font-size: 18px; max-width: 34em; }
.sc-btn-row { display: flex; gap: var(--sc-space-3); flex-wrap: wrap; margin-top: var(--sc-space-5); }
.sc-btn-row .btn { padding: 14px 22px; font-size: 17px; }
.sc-hero-covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sc-space-3); transform: rotate(-2deg); }
.sc-hero-covers img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px; box-shadow: var(--sc-shadow); background: #fff; }
.sc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sc-space-4); margin-bottom: var(--sc-space-6); }
.sc-tile { position: relative; display: block; border-radius: var(--sc-radius); overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 4 / 3; background: var(--sc-ink); }
.sc-tile img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.sc-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 85%; background: linear-gradient(transparent, rgba(0,0,0,.9)); }   /* keeps the white caption readable on bright covers (measured, see wcag-contrast.ps1) */
.sc-tile span { position: absolute; z-index: 1; left: 14px; right: 10px; bottom: 12px; font: 700 22px var(--sc-font-display); text-transform: uppercase; letter-spacing: .03em; }
.sc-tile span small { display: block; font: 500 15px var(--sc-font-body); text-transform: none; letter-spacing: 0; }
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: var(--sc-space-5) var(--sc-space-4); margin-bottom: var(--sc-space-6); }
.sc-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sc-space-5); background: var(--sc-surface); border-radius: 8px; padding: var(--sc-space-5); }
.sc-band b { display: block; font: 700 17px var(--sc-font-display); text-transform: uppercase; letter-spacing: .03em; }
.sc-band span { font-size: 15px; color: var(--sc-muted); }

/* ---------- product cards (home, category, related): title area grows, price+grade, stock and button are stacked at the bottom ---------- */
#product-list { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: var(--sc-space-5) var(--sc-space-4); margin: 0; }
#product-list > .col { width: auto; max-width: none; padding: 0; margin: 0 !important; }
.product-thumb { border: 0; display: flex; flex-direction: column; height: 100%; min-width: 0; }
.sc-grid-item, #product-list > .col { min-width: 0; }
.product-thumb .image { background: var(--sc-surface); border-radius: var(--sc-radius); padding: 10px; aspect-ratio: 2 / 3; display: flex; align-items: center; justify-content: center; }
.product-thumb .image img { max-height: 100%; width: auto; box-shadow: var(--sc-shadow); }
.product-thumb .content { display: flex; flex-direction: column; flex: 1 1 auto; }
.product-thumb .description { padding: 0; margin: 0; flex: 1 1 auto; }
.product-thumb .description h3 { font: 600 16px/1.35 var(--sc-font-body); margin: 8px 0; min-height: calc(1.35em * 2); overflow-wrap: anywhere; }   /* no line clamp: long titles wrap instead of being cut (1.4.12) */
.product-thumb .description h3 a { color: var(--sc-ink); text-decoration: none; }
.sc-buy { display: flex; flex-direction: column; gap: 6px; }
.sc-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 34px; }
.price { color: var(--sc-ink); }
.price-new { font: 700 20px var(--sc-font-price); white-space: nowrap; }
.price-old { color: var(--sc-red); text-decoration: line-through; }
.sc-grade { display: inline-block; font: 700 13px/1 var(--sc-font-body); text-transform: uppercase; letter-spacing: .04em; padding: 6px 8px; border-radius: 3px; border: 1.5px solid var(--sc-ink); color: var(--sc-ink); background: #fff; white-space: nowrap; }   /* item 108: one style for every grade, black frame and black text, no colour per grade */
.sc-stock { font-size: 15px; color: var(--sc-ok); }   /* wraps instead of being cut off (1.4.10) */
.sc-stock.sc-out { color: var(--sc-muted); }
.sc-add { width: 100%; padding: 10px 12px; font-size: 16px; min-height: 44px; }

/* ---------- category page ---------- */
#compare-total, #button-list, #button-grid, .btn-group:has(#button-list) { display: none !important; }
#column-left .list-group-item { border: 0; padding: 8px 0; background: none; color: var(--sc-ink); font-size: 16px; }
#column-left .list-group-item.active { background: none; color: var(--sc-ink); font-weight: 700; }
#content > h1 { margin-bottom: var(--sc-space-3); }
hr { border-color: var(--sc-line); opacity: 1; }

/* ---------- product page ---------- */
.sc-product-facts p { margin: var(--sc-space-2) 0; }
.sc-facts { margin: var(--sc-space-3) 0; font-size: 16px; }
.sc-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--sc-line); }
.sc-facts li span:last-child { text-align: right; }
#content .price-new { font-size: inherit; }
#content h2 .price-new { font: 700 40px var(--sc-font-price); }
#button-cart { font-size: 18px; }

/* ---------- cart / checkout / account ---------- */
.card, .table { --bs-border-color: var(--sc-line); }
.form-control, .form-select { border: 1.5px solid var(--sc-field-border); border-radius: var(--sc-radius); min-height: 44px; }   /* 3:1 against white (1.4.11), 44 px high (2.5.5) */
.form-control::placeholder { color: #555; opacity: 1; }
label, .form-label { font-size: 16px; font-weight: 600; }
.alert { border-radius: var(--sc-radius); }

/* ---------- footer ---------- */
.sc-footer { position: static; width: auto; border: 0; background: var(--sc-ink); color: #EEEEEE; font-size: 16px; padding: var(--sc-space-6) 0 0; margin-top: var(--sc-space-6); }
.sc-footer .sc-footer-title { color: #fff; font-size: 17px; line-height: 1.3; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 8px; }
.sc-footer a { color: #fff; }
.sc-footer ul { line-height: 1.5; }
.sc-footer hr { border-color: #333; margin: var(--sc-space-4) 0 0; opacity: 1; }
.sc-legal { display: flex; justify-content: space-between; gap: 8px; padding: 12px 0; flex-wrap: wrap; }
.sc-paylogos { display: flex; gap: 8px; flex-wrap: wrap; }
.sc-paylogos span { border: 1px solid #aaa; border-radius: 4px; padding: 3px 8px; color: #fff; font-weight: 600; }

/* ---------- phones and small tablets ---------- */
@media (max-width: 991.98px) {
  .sc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  #top .col-4 { display: none; }
  #top .col { text-align: right; }
  #logo a { display: block; width: 93px; height: 48px; overflow: hidden; }          /* compact phone logo: SC + SERIE CENTRUM (left 69 % of the recreated logo), tagline cropped */
  #logo img { height: 48px; width: auto; max-width: none; }
  .sc-hero { grid-template-columns: minmax(0, 1fr); padding: var(--sc-space-6) var(--sc-space-4); }
  .sc-hero-covers { display: none; }
  .sc-btn-row .btn { width: 100%; text-align: center; }
  .sc-tiles { gap: 10px; }
  .sc-tile span { font-size: 18px; }
  .sc-grid, #product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sc-space-4) 12px; }
  .sc-grid-item:nth-child(5):last-child { display: none; }
  .sc-meta { flex-direction: column; align-items: flex-start; gap: 6px; min-height: 66px; }
  .sc-band { gap: var(--sc-space-4); padding: var(--sc-space-4); }
  .sc-footer .row > div { margin-bottom: var(--sc-space-3); }
}


.input-group > .form-select, .input-group > .form-control { min-width: 0; }

.pagination { flex-wrap: wrap; row-gap: 4px; }
#product-list + .row, .pagination { margin-top: var(--sc-space-5); }
.pagination { --bs-pagination-color: var(--sc-blue-link); --bs-pagination-active-bg: var(--sc-blue); --bs-pagination-active-border-color: var(--sc-blue); --bs-pagination-hover-color: var(--sc-blue); --bs-pagination-focus-color: var(--sc-blue); }
.accordion-header { font-family: var(--sc-font-body); font-size: 16px; }
@media (max-width: 768px) { #input-sort, #input-limit { min-width: 0; } .input-group > .input-group-text[for="input-sort"], .input-group > .input-group-text[for="input-limit"] { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; } }   /* label stays for screen readers (4.1.2), was display: none */
.sc-ok { color: var(--sc-ok); }
.sc-vat { font-size: 15px; color: var(--sc-muted); list-style: none; }


/* ---------- items 7-12 (new): works with either design variant, only custom properties are used ---------- */
:root { --sc-empty: #6B6B6B; --sc-empty-bg: #F1EFEA; }

/* item 8: empty categories are grey text that is not a link (still readable: 5.3:1 on white) */
.sc-empty { color: var(--sc-empty); cursor: default; }
.list-group-item.sc-empty { background: var(--sc-empty-bg); }
.sc-empty-banner { display: inline-block; opacity: .4; filter: grayscale(100%); cursor: default; }
.sc-empty-banner img { max-width: 100%; height: auto; }
.sc-subcats { columns: 4 220px; column-gap: var(--sc-space-5); padding: 0; margin: 0 0 var(--sc-space-5); }
.sc-subcats li { break-inside: avoid; padding: 2px 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* item 7: the news block on the home page (the owner edits it in Extensions > Modules) */
.sc-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--sc-space-5); background: var(--sc-surface); border-radius: 8px; padding: var(--sc-space-5); margin-bottom: var(--sc-space-6); align-items: start; }
.sc-news h3 { font: 700 22px var(--sc-font-display); margin: 0 0 var(--sc-space-3); }
.sc-news-links a { margin-right: var(--sc-space-4); font-weight: 700; }
/* Event: poster floats left, everything else flows beside/below it. A float (not a grid) so the layout survives
   the admin editor, which wraps the image in <p>, adds width/height styles and moves headings around (owner, 2026-11-15).
   !important beats the inline width/height the editor writes. */
.sc-news-event { display: flow-root; }
/* row 220 (owner 2026-11-19): the image fills the block width (never wider), text below, whatever size the editor stored on it */
.sc-news-event img { display: block; float: none; width: 100% !important; max-width: 100% !important; height: auto !important; margin: 0 0 var(--sc-space-3); border-radius: var(--sc-radius); }
/* row 223: opt-out size classes for a news image (default stays full width, row 220). Higher specificity + !important beat the default; under 576 px both go full width. */
.sc-news-event img.sc-bild-halv { width: 50% !important; max-width: 50% !important; margin: 0 auto var(--sc-space-3); }
.sc-news-event img.sc-bild-liten { float: left; width: 200px !important; max-width: 45% !important; margin: 0 var(--sc-space-4) var(--sc-space-3) 0; }
@media (max-width: 575.98px) { .sc-news-event img.sc-bild-halv, .sc-news-event img.sc-bild-liten { float: none; width: 100% !important; max-width: 100% !important; margin: 0 0 var(--sc-space-3); } }
.sc-news-event p:has(> img:only-child) { margin: 0; }
.sc-news-event h3 { overflow: hidden; }
/* Price list (owner, 2026-11-15): under the poster at full box width, 2 balanced columns (8 items = 4/4, odd = x+1/x);
   one column when the box is too narrow for two. The "Produkter:" line goes with it. */
.sc-news-event p:has(+ ul), .sc-news-event ul { clear: left; }
.sc-news-event p:has(+ ul) { padding-top: var(--sc-space-3); }
.sc-news-event ul { columns: 2 11em; column-gap: var(--sc-space-5); column-fill: balance; list-style: none; padding: 0; margin: 0 0 var(--sc-space-3); }
/* Any list the owner makes in the editor gets the price-row look: name left, BOLD price right, dotted line between rows */
.sc-news-event ul li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sc-space-3); padding: 2px 0; border-bottom: 1px dotted var(--sc-line); break-inside: avoid; }
.sc-news-event ul li > b, .sc-news-event ul li > strong { margin-left: auto; white-space: nowrap; }
.sc-news-prices { list-style: none; padding: 0; margin: 0; }
.sc-news-prices li { display: flex; justify-content: space-between; gap: var(--sc-space-3); padding: 2px 0; border-bottom: 1px dotted var(--sc-line); break-inside: avoid; }

/* item 9: account page */
.sc-account-links li { padding: 6px 0; font-size: 18px; }

/* 4c: "Fler exemplar av samma titel" */
.sc-copies { margin: var(--sc-space-5) 0; }
.sc-copies-table { max-width: 640px; }
.sc-copies-table td, .sc-copies-table th { vertical-align: middle; }

/* 4c: sticky buy bar on phones (price + quantity + button stay in reach) */
.sc-bar-price { display: none; }
@media (max-width: 767.98px) {
  #product #form-product > .mb-3 { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: var(--sc-paper); border-top: 1px solid var(--sc-line); box-shadow: 0 -2px 10px rgba(0,0,0,.12); padding: var(--sc-space-2) var(--sc-space-3) calc(var(--sc-space-2) + env(safe-area-inset-bottom, 0px)); margin: 0 !important; display: flex; align-items: center; gap: var(--sc-space-3); }
  #product #form-product > .mb-3 .input-group { flex: 1 1 auto; flex-wrap: nowrap; }
  #product #form-product .input-group-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }   /* label stays for screen readers (was display: none) */
  #product #form-product #input-quantity { max-width: 56px; text-align: center; }
  #product #form-product #button-cart { flex: 1 1 auto; }
  .sc-bar-price { display: block; font: 700 20px var(--sc-font-price); white-space: nowrap; }
  #error-quantity:empty { display: none; }
  body:has(#form-product) footer { padding-bottom: 84px; }
  .sc-news { grid-template-columns: minmax(0, 1fr); padding: var(--sc-space-4); }
  .sc-copies-table { font-size: 16px; }
}
/* images inside category and information texts (old banners) never exceed the column */
#product-category #content img, #information-information #content img { max-width: 100%; height: auto; }
#product-category #content .col-9 { min-width: 0; overflow-wrap: anywhere; }

/* ---------- item 14: home page, hero and "Aktuellt" side by side (desktop), stacked below lg; hero full width when Aktuellt is empty ---------- */
/* The modules are siblings inside #content. An empty news module renders nothing at all (event ui.emptyHtml), so then the hero is the only block and keeps the full width.
   Works the same in both design variants: only custom properties and the existing classes are used. :has() is supported by every current browser; an old one just stacks the blocks. */
/* row 226: sticky left block (desktop, tall windows only). The sticky element is the hero INSIDE its grid cell: the cell stretches over the whole row, so the hero can never slide down into the next section. top = under the fixed top bar + the menu bar (same offset as html scroll-padding-top) */
@media (min-width: 992px) and (min-height: 700px) {
  #common-home #content > div:has(> .sc-hero):has(+ div > .sc-news) > .sc-hero { position: sticky; top: 140px; transition: top .25s ease; }
  /* row 227: when the hide-on-scroll script slides the blue menu bar away (class sc-menu-hidden on its wrapper, sc-header.js), the hero moves up under the top bar only: no gap */
  body:has(.sc-menu-hidden) #common-home #content > div:has(> .sc-hero):has(+ div > .sc-news) > .sc-hero { top: calc(var(--sc-top-h) + 16px); }
  @media (prefers-reduced-motion: reduce) { #common-home #content > div:has(> .sc-hero):has(+ div > .sc-news) > .sc-hero { transition: none; } }}
@media (min-width: 992px) {
  #common-home #content { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sc-space-5); }
  #common-home #content > * { grid-column: 1 / -1; min-width: 0; }
  #common-home #content > div:has(> .sc-hero):has(+ div > .sc-news) { grid-column: 1 / span 6; margin-bottom: var(--sc-space-6); }
  #common-home #content > div:has(> .sc-hero) + div:has(> .sc-news) { grid-column: 7 / span 6; margin-bottom: var(--sc-space-6); }
  /* row 226: the two blocks have independent heights. The left block (hero) keeps its own height, content at the top, and sticks under the sticky header while a long Aktuellt scrolls by
     (only when the window is tall enough to show the whole block; never on phones/tablets, which stack the blocks). The Aktuellt block still fills its grid row. */
  #common-home #content > div:has(> .sc-hero):has(+ div > .sc-news) > .sc-hero { margin-bottom: 0; box-sizing: border-box; }
  #common-home #content > div:has(> .sc-hero) + div > .sc-news { height: 100%; margin-bottom: 0; box-sizing: border-box; }

  /* hero in the narrower column: text on top, the three covers as a small row below */
  #common-home #content > div:has(> .sc-hero):has(+ div > .sc-news) > .sc-hero { grid-template-columns: minmax(0, 1fr); align-content: start; padding: var(--sc-space-6) var(--sc-space-5); gap: var(--sc-space-5); }
  #common-home #content > div:has(> .sc-hero):has(+ div > .sc-news) .sc-hero h1 { font-size: clamp(28px, 3.2vw, 42px); }
  #common-home #content > div:has(> .sc-hero):has(+ div > .sc-news) .sc-hero p { font-size: 17px; }
  #common-home #content > div:has(> .sc-hero):has(+ div > .sc-news) .sc-hero-covers { margin: 0; }
  /* the news box in the narrower column: one column, poster beside the text, poster height capped */
  #common-home #content > div > .sc-news { grid-template-columns: minmax(0, 1fr); gap: var(--sc-space-4); padding: var(--sc-space-5); }
}

/* ---------- item 15a: the category picture as a banner across the content width (original file, never stretched beyond its own size, no box when there is none) ---------- */
.sc-cat-banner { display: block; width: 100%; max-width: 100%; height: auto; box-sizing: border-box; margin: 0 0 var(--sc-space-4); border-radius: var(--sc-radius); }   /* item 198 (batch 16): the category banner fills the content column (picture 575 px wide, scaled, aspect ratio kept) */
.sc-cat-description { min-width: 0; overflow-wrap: anywhere; }

/* ---------- item 15b: Serier A-Ö letter buttons (the migration puts them in alphabetical order in .sc-letter-grid): 3 columns reading down, one column on a phone ---------- */
.sc-letter-grid { column-count: 3; column-gap: var(--sc-space-4); max-width: 900px; margin: 0 0 var(--sc-space-4); }
.sc-letter-grid > a, .sc-letter-grid > .sc-empty-banner { display: block; break-inside: avoid; margin: 0 0 var(--sc-space-2); }
.sc-letter-grid img { display: block; width: 100%; max-width: 100%; height: auto; }
@media (max-width: 767.98px) { .sc-letter-grid { column-count: 1; max-width: 420px; } }

/* ---------- item 15c: series banners 2 per row (1 on a phone), letters as headings across the row ---------- */
.sc-banner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sc-space-3) var(--sc-space-4); margin: 0 0 var(--sc-space-4); align-items: start; }
.sc-banner-grid > a, .sc-banner-grid > .sc-empty-banner { display: block; min-width: 0; }
.sc-banner-grid > .sc-empty-banner { display: block; }
.sc-banner-grid img { display: block; max-width: 100%; height: auto; }
.sc-banner-grid > .sc-letter, .sc-banner-grid > .sc-grid-text { grid-column: 1 / -1; margin: var(--sc-space-3) 0 0; }
.sc-banner-grid > .sc-letter { font-size: 24px; border-bottom: 2px solid var(--sc-line); padding-bottom: 4px; }
@media (max-width: 767.98px) { .sc-banner-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- item 15d: picture deterrent (storefront only; the script is sc-protect.js) ---------- */
img { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; }

/* ---------- accessibility, WCAG 2.2 AA (2026-11-15) ---------- */
.sc-skip { position: absolute; left: 8px; top: -120px; z-index: 3000; background: var(--sc-ink); color: #fff; padding: 12px 20px; font-weight: 700; font-size: 18px; border-radius: 0 0 var(--sc-radius) var(--sc-radius); text-decoration: underline; }
.sc-skip:focus { top: 0; color: #fff; }
#content:focus { outline: none !important; box-shadow: none !important; }   /* skip-link target: focused by script, not a control */
#top .dropdown > button.sc-top-btn { background: none; border: 0; color: #fff; font-size: 15px; line-height: 44px; padding: 0; min-height: 44px; }
/* links inside running text are told apart by more than colour (1.4.1) */
#content p a:not(.btn), #content label a, #content td a:not(.btn), #content .alert a, #content .sc-news-event li a, footer p a { text-decoration: underline; text-underline-offset: 2px; }
div.required .form-label::before, div.required .col-form-label::before, .sc-req-star { color: var(--sc-red) !important; }
.sc-required-note { font-size: 15px; margin: 0 0 var(--sc-space-3); }
.btn-close { box-sizing: border-box; width: 44px; height: 44px; padding: 0; background-position: center; background-size: 16px; }   /* 2.5.8 / 2.5.5: message and dialog close buttons */
.sc-summary { position: relative; margin: 0 0 var(--sc-space-4); padding-right: 56px; }
.sc-summary .btn-close { position: absolute; top: 4px; right: 4px; }
#alert .alert ul { padding-left: 1.2em; }
.sc-apply { flex: 0 0 auto; }
/* ---------- item 16, beyond AA: bigger targets (2.5.5), form controls, focus, motion, short windows ---------- */
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.btn-sm { min-height: 44px; padding-left: 14px; padding-right: 14px; font-size: 16px; }
.pagination .page-link { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.nav-tabs .nav-link { min-height: 44px; display: flex; align-items: center; }
.breadcrumb > li.breadcrumb-item > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }   /* 2.5.8 needs 24 px; 44 px for older users */
.sc-news-links a { display: inline-block; padding: 9px 0; }
.sc-footer li a { display: inline-block; padding: 10px 0; }
.form-check { min-height: 44px; display: flex; align-items: center; gap: 10px; padding-left: 0; }
.form-check, .form-check-reverse { padding: 0 !important; text-align: left; }
.form-check .form-check-input, .form-check-reverse .form-check-input, .form-switch .form-check-input { float: none !important; margin: 0 !important; flex: 0 0 auto; }
.form-check-reverse { flex-direction: row-reverse; justify-content: flex-end; }
.form-check-input { width: 1.5em; height: 1.5em; border: 2px solid var(--sc-field-border); background-color: #fff; }
.form-check-input[type=checkbox], .form-switch .form-check-input { border-radius: .3em; }
.form-switch .form-check-input { width: 1.5em; margin-left: 0; background-image: none; background-position: center; }
.form-check-input:checked { background-color: var(--sc-blue); border-color: var(--sc-blue); }
.form-check-input[type=checkbox]:checked, .form-switch .form-check-input:checked { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e"); background-position: center; }
.form-check-input[type=radio]:checked { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e"); }
.form-check-label { cursor: pointer; padding: 8px 0; }
:root { --bs-form-invalid-color: var(--sc-error); --bs-form-invalid-border-color: var(--sc-error); }
.invalid-feedback { color: var(--sc-error); font-size: 16px; font-weight: 600; }
.is-invalid { border-width: 2px !important; }
html { scroll-padding-bottom: 96px; scroll-padding-top: 12px; }      /* a focused control is never left under the sticky buy bar (2.4.11) */
@media (max-height: 520px) { #product #form-product > .mb-3 { position: static !important; box-shadow: none; } body:has(#form-product) footer { padding-bottom: 0; } }   /* very short windows (400 % zoom): no sticky bar */
@media (prefers-reduced-motion: reduce) { *, ::before, ::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
.sc-card-title { margin: 0; }
/* the asterisk of a required field is not read as part of the field's name (the second declaration is ignored by browsers that do not know the alt-text syntax) */
div.required .form-label::before, div.required .col-form-label::before { content: "* "; content: "* " / ""; }
.sc-more { display: inline-block; padding: 9px 4px; }
.sc-subcats li { padding: 0; }
.sc-subcats li a, .sc-subcats li .sc-empty { display: inline-block; padding: 2px 0; line-height: 1.35; min-height: 24px; }   /* item 105: tighter rows; the target is still at least 24 x 24 px (WCAG 2.5.8) */
.btn { min-width: 44px; }
.navbar-toggler { min-height: 44px; min-width: 44px; }
#column-left .list-group-item, #column-right .list-group-item { display: flex; align-items: center; min-height: 44px; }
.form-check-label { padding: 10px 0; }
input[name=quantity] { min-width: 56px; }
#top .list-inline-item > a, #top .dropdown > button.sc-top-btn { min-width: 44px; text-align: center; }.form-check-inline { display: inline-flex; margin-right: 1rem; }
.product-thumb .description h3 a { display: flex; align-items: center; min-height: 44px; }
.breadcrumb > li.breadcrumb-item:first-child > a { min-width: 44px; justify-content: center; }
.input-group > input[name=quantity].form-control { min-width: 56px; }
.sc-product-facts p a { display: inline-block; padding: 10px 0; }
/* line length (beyond AA, 1.4.8): running text in information pages, product and category descriptions stays under about 80 characters per line */
#information-information #content p, #information-information #content li, #product #tab-description p, .sc-cat-description p { max-width: 42em; }
#content td a:not(.btn) { display: inline-block; padding: 9px 0; }   /* cart and order tables: product links are 44 px high */
#content form a:not(.btn):not(.modal-link) { display: inline-block; padding: 9px 0; }   /* e.g. Glömt lösenord */
#alert { top: 8px; }   /* OpenCart puts the message box at 30 % of the window height, over the middle of the page */

/* item 18: "Karta / Hitta oss": the self-drawn route map beside the directions text (stacked on phones). Colours of the drawing itself are inside the SVG. */
.sc-map { display: grid; grid-template-columns: 1fr; gap: var(--sc-space-5); align-items: start; margin: var(--sc-space-4) 0; }
.sc-map-figure { margin: 0; }
.sc-map-figure img { display: block; width: 100%; max-width: 600px; height: auto; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); background: #F4F1E8; }
.sc-map-figure figcaption { font-size: 15px; color: var(--sc-muted); margin-top: var(--sc-space-2); }
.sc-map-text h2 { font-size: 1.5rem; margin-top: 0; }
.sc-map-text .btn { display: inline-flex; align-items: center; min-height: 48px; }
.sc-map-note { font-size: 15px; color: var(--sc-muted); }
@media (min-width: 992px) { .sc-map { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }.sc-map-link { margin: var(--sc-space-3) 0; }
.sc-map-link a { display: inline-block; padding: 10px 0; font-weight: 600; }

/* item 20: spam-protection honeypot: out of sight and out of the tab order (the input also has tabindex=-1, aria-hidden and autocomplete=off) */
.sc-hp{position:absolute !important;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

/* item 20: tables in the owner's information pages (Marknader 2025) must not make the page scroll sideways on a phone: cells wrap at any point */
#information-information table { width: 100%; max-width: 100%; }
#information-information table td, #information-information table th { overflow-wrap: anywhere; }
@media (max-width: 575.98px) { #information-information table td, #information-information table th { padding: 4px 3px; font-size: 16px; } }

/* Item 23b: the "Butiken" dropdown in the main menu (a real button; entries Hitta oss, Bilder). Same look as the other menu entries; works with keyboard, touch and the collapsed phone menu */
#menu .navbar-nav > li > button.nav-link { color: #fff; background: transparent; border: 0; border-radius: 0; text-shadow: none; font: 600 16px var(--sc-font-display); letter-spacing: .04em; text-transform: uppercase; padding: 12px 14px; min-height: 44px; display: inline-flex; align-items: center; gap: .4em; }
#menu .navbar-nav > li > button.nav-link:hover, #menu .navbar-nav > li > button.nav-link:focus, #menu .navbar-nav > li > button.nav-link.show { background: rgba(255,255,255,.14); box-shadow: inset 0 -4px 0 var(--sc-red-logo); color: #fff; }
#menu .sc-menu-dropdown .dropdown-menu { background: #fff; border: 2px solid var(--sc-ink); border-radius: var(--sc-radius); padding: var(--sc-space-2) 0; min-width: 12rem; }
#menu .sc-menu-dropdown .dropdown-item { color: var(--sc-ink); font: 600 17px var(--sc-font-body); min-height: 44px; display: flex; align-items: center; padding: 8px 18px; background: transparent; text-transform: none; letter-spacing: 0; }
#menu .sc-menu-dropdown .dropdown-item:hover, #menu .sc-menu-dropdown .dropdown-item:focus { background: var(--sc-surface); color: var(--sc-blue); }
@media (max-width: 991.98px) { #menu .sc-menu-dropdown .dropdown-menu { border-width: 0 0 0 4px; border-color: var(--sc-red-logo); border-radius: 0; margin: 0 0 var(--sc-space-2) var(--sc-space-3); } }#menu .sc-menu-dropdown > button.dropdown-toggle::after { display: inline-block; content: ""; margin-left: .1em; border-top: .35em solid; border-right: .3em solid transparent; border-bottom: 0; border-left: .3em solid transparent; }

/* ---- item 35: the order button is grey until the order can be placed; the list of what is missing ---- */
.btn.sc-btn-inactive, .btn.sc-btn-inactive:hover, .btn.sc-btn-inactive:active, .btn.sc-btn-inactive:focus {
	background: #E4E4E4 !important; border-color: #8A8A8A !important; color: #4A4A4A !important; box-shadow: none !important; transform: none !important; cursor: default;
}
.btn.sc-btn-inactive:focus-visible { outline: 3px solid var(--sc-focus, #1B2A6B); outline-offset: 3px; }
.sc-missing { margin-top: .75rem; padding: .75rem 1rem; border: 2px solid #8A8A8A; border-radius: .5rem; background: #fff; color: #1a1a1a; }
.sc-missing[hidden] { display: none; }
.sc-flat-note { font-size: 1rem; }

/* =====================================================================================================================================================
   Item 25 (owner, 2026-11-15): variant B "comic" is the design. The variant-A rules above stay as the base; everything here overrides tokens and looks.
   Page background (item 25b): data-sc-bg="paper" (default, warm off-white) or "sky" (light blue) on <html>, set from the setting sc_theme_background (Butiksinfo).
   Rules kept: yellow is only a BACKGROUND behind near-black text (never yellow text on a light surface); no text sits on a textured area except on a very faint halftone
   (dots at 6 % ink, text stays near-black); fonts: Bangers for headings (self-hosted, SIL OFL), system font for text,
   and since row 295 Luckiest Guy for the digits in prices and counts only (self-hosted, Apache License 2.0, fonts/LICENSE-LuckiestGuy.txt).
   ===================================================================================================================================================== */
@font-face { font-family: "Bangers"; src: url("fonts/Bangers-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
/* row 295 (owner 2026-11-26): in Bangers 1 and 7 are both a single slanted stroke ("15 KR" vs "75 KR"). On PRICES and COUNTS only (owner's choice) the digits 0-9
   come from Luckiest Guy (comic too, 1 with flag and foot, 7 with a flat bar; Apache 2.0, google/fonts commit 6ebe737e); letters stay Bangers. Headings, menus and
   buttons keep Bangers digits. size-adjust 92 %: the digits as tall as Bangers capitals. Weight range 100-900: one static face, never a synthesised bold. */
@font-face { font-family: "ScDigits"; src: url("fonts/LuckiestGuy-Regular.ttf") format("truetype"); font-weight: 100 900; font-display: swap; unicode-range: U+0030-0039; size-adjust: 92%; }
:root {
  --sc-font-display: "Bangers", Impact, "Arial Black", sans-serif;
  --sc-font-price: "ScDigits", "Bangers", Impact, "Arial Black", sans-serif;   /* row 295: prices and counts */
  --sc-ink: #111111; --sc-yellow: #FFD23F; --sc-yellow-soft: #FFE98A; --sc-highlight: #FFD23F;
  --sc-line: #111111; --sc-radius: 4px; --sc-pop: 4px 4px 0 #111; --sc-shadow: 3px 3px 0 #111;
  --sc-bg: #FBF7EE; --sc-surface: #F2EBDA; --sc-empty-bg: #ECE6D8;
  --sc-page: #FBF7EE;   /* owner 2026-11-17: the page background is static warm off-white; only boxes (header, sc-band, picture boxes, dialogs) follow the sc_theme_background choice */
  --sc-dots: radial-gradient(rgba(17,17,17,.07) 1.4px, transparent 1.8px) 0 0 / 9px 9px;
}
:root[data-sc-bg="sky"] { --sc-bg: #EEF5FB; --sc-surface: #DFEBF6; --sc-empty-bg: #DCE5EE; }
:root[data-sc-bg="yellow"] { --sc-bg: #FFE98A; --sc-surface: #FFF3C2; --sc-empty-bg: #F2DC7C; }   /* item 87: the yellow of the info strip (--sc-yellow-soft) as the third choice */
body { background: var(--sc-page); }
h1, h2, h3, h5, .sc-section-title { font-weight: 400; letter-spacing: .03em; text-transform: uppercase; line-height: 1.05; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
.sc-section-title, #content > h1 { background: linear-gradient(transparent 58%, var(--sc-yellow) 58%); display: inline-block; padding: 0 4px; }
.sc-news h2.sc-section-title { display: inline-block; }
.sc-copies h2, #column-left h2, .sc-footer h2, .sc-cat-description h2, .h3, .h4, .h5 { background: none; display: block; }
.sc-copies h2 { font-size: 26px; }
.sc-product-facts, .sc-facts, .sc-facts li { text-transform: none; }

/* top strip, header, menu */
#top { background: var(--sc-yellow); border-bottom: 3px solid var(--sc-ink); }
#top .col-4::before { color: var(--sc-ink); font-weight: 600; }
#top .list-inline-item > a, #top .list-inline-item .dropdown > a, #top .list-inline-item .dropdown > span, #top .dropdown > button.sc-top-btn { color: var(--sc-ink); font-weight: 600; }
header { background: var(--sc-bg) var(--sc-dots); border-bottom: 4px solid var(--sc-ink); margin-bottom: var(--sc-space-4); }
header .form-control-lg { border-width: 3px; }
header .input-group .btn { background: var(--sc-red); border-width: 3px; border-color: var(--sc-ink); box-shadow: none; }
#cart .btn-lg { border: 3px solid var(--sc-ink); box-shadow: var(--sc-pop); font: 400 20px var(--sc-font-price); letter-spacing: .05em; text-transform: uppercase; }
#menu { border-bottom: 4px solid var(--sc-ink); border-radius: 0; }
#menu .navbar-nav > li > a, #menu .navbar-nav > li > a.dropdown-item, #menu .navbar-nav > li > button.nav-link { font: 400 20px var(--sc-font-display); letter-spacing: .05em; }
#menu .navbar-nav > li > a:hover, #menu .navbar-nav > li > a:focus, #menu .navbar-nav > li > button.nav-link:hover, #menu .navbar-nav > li > button.nav-link:focus, #menu .navbar-nav > li > button.nav-link.show { background: var(--sc-yellow); color: var(--sc-ink); box-shadow: none; }
#menu .sc-menu-dropdown .dropdown-menu { box-shadow: var(--sc-pop); }
#menu .sc-menu-dropdown .dropdown-item:hover, #menu .sc-menu-dropdown .dropdown-item:focus { background: var(--sc-yellow); color: var(--sc-ink); }
#category { font-size: 20px; }

/* buttons */
.btn { font: 400 20px var(--sc-font-display); letter-spacing: .05em; text-transform: uppercase; border: 3px solid var(--sc-ink); box-shadow: var(--sc-pop); transition: transform .08s, box-shadow .08s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--sc-ink); }
.btn-primary { --bs-btn-border-color: var(--sc-ink); --bs-btn-hover-border-color: var(--sc-ink); --bs-btn-active-border-color: var(--sc-ink); --bs-btn-disabled-border-color: var(--sc-ink); }
.btn-outline-dark { background: var(--sc-yellow); --bs-btn-color: var(--sc-ink); --bs-btn-hover-bg: var(--sc-ink); --bs-btn-hover-color: var(--sc-yellow); }
.btn-sm { font-size: 18px; }
.btn.sc-btn-inactive { box-shadow: none !important; }
.sc-add { font-size: 20px; }

/* home: hero as a speech balloon on the page, tiles with a yellow caption label, bands */
.sc-hero { background: #fff; border: 3px solid var(--sc-ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--sc-ink); }
.sc-hero h1 { font-size: clamp(36px, 5.4vw, 64px); }
.sc-hero h1 em { color: var(--sc-ink); background: var(--sc-yellow); border: 3px solid var(--sc-ink); padding: 0 .18em; box-shadow: 3px 3px 0 var(--sc-red); transform: rotate(-2deg); }
.sc-hero-covers { transform: rotate(3deg); }
.sc-hero-covers img { border: 3px solid var(--sc-ink); border-radius: 2px; box-shadow: 5px 5px 0 var(--sc-ink); }
.sc-news { background: #fff; border: 3px solid var(--sc-ink); border-radius: var(--sc-radius); box-shadow: var(--sc-pop); }
.sc-tile { border: 3px solid var(--sc-ink); box-shadow: var(--sc-pop); background: var(--sc-bg) var(--sc-dots); }   /* owner 2026-11-17: same themed box background as header, sc-band and picture boxes */
.sc-tile img { opacity: 1; }
.sc-tile::after { display: none; }
.sc-tile span { left: 0; right: auto; bottom: 0; max-width: 92%; background: var(--sc-yellow); color: var(--sc-ink); padding: 6px 12px 7px; border-top: 3px solid var(--sc-ink); border-right: 3px solid var(--sc-ink); font: 400 24px var(--sc-font-display); letter-spacing: .04em; }
.sc-tile span small { color: var(--sc-ink); font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* owner 2026-11-17: one line on every width; the texts in home\tiles.html are short enough, the ellipsis is only a safety net */
.sc-tile span small.sc-tl-short { display: none; }   /* long sub-line from 576 px, short one on phones (only one is ever displayed, so a screen reader reads one) */
@media (max-width: 575.98px) {
  .sc-tile span small.sc-tl-long { display: none; }
  .sc-tile span small.sc-tl-short { display: block; font-size: 13px; }
  .sc-tile span { right: 0; max-width: none; padding: 5px 8px 6px; }
}
.sc-band { background: var(--sc-bg) var(--sc-dots); border: 3px solid var(--sc-ink); border-radius: var(--sc-radius); box-shadow: var(--sc-pop); }
.sc-band b { font: 400 24px var(--sc-font-display); letter-spacing: .04em; }
.sc-band span { color: var(--sc-ink); font-weight: 500; }

/* product cards */
.product-thumb { background: #fff; border: 3px solid var(--sc-ink); border-radius: var(--sc-radius); box-shadow: var(--sc-pop); padding: 10px; }
.product-thumb .image { background: var(--sc-bg) var(--sc-dots); border: 2px solid var(--sc-ink); border-radius: 2px; }
.product-thumb .image img { box-shadow: 3px 3px 0 rgba(17,17,17,.55); }
.price-new { background: var(--sc-yellow); color: var(--sc-ink); border: 2px solid var(--sc-ink); padding: 0 8px; font: 400 24px var(--sc-font-price); letter-spacing: .03em; display: inline-block; transform: rotate(-2deg); }
.price-old { color: #8F0F14; }
#content h2 .price-new { font: 400 44px var(--sc-font-price); padding: 0 12px; }
.sc-grade { border-width: 2px; box-shadow: 2px 2px 0 var(--sc-ink); }
.sc-stock { font-weight: 600; }
.sc-stock.sc-out { color: #4D4D4D; }
.sc-copies { border: 3px solid var(--sc-ink); box-shadow: var(--sc-pop); background: #fff; padding: var(--sc-space-3); }
.sc-facts li { border-bottom: 2px dashed var(--sc-ink); }

/* category and information pages, forms, cards */
.sc-subcats, .sc-cat-description { background: none; }
.card, .table { --bs-border-color: var(--sc-ink); }
.card { border: 3px solid var(--sc-ink); box-shadow: var(--sc-pop); border-radius: var(--sc-radius); background: #fff; }
.form-control, .form-select { border: 2px solid var(--sc-ink); background-color: #fff; }
.list-group-item { background: transparent; }
#column-left .list-group { border: 3px solid var(--sc-ink); background: #fff; border-radius: var(--sc-radius); box-shadow: var(--sc-pop); padding: 4px 12px; }
#column-left .list-group-item.active { background: var(--sc-yellow); color: var(--sc-ink); padding-left: 8px; }
.list-group-item.sc-empty { background: var(--sc-empty-bg); }
hr { border-color: var(--sc-ink); }
.sc-banner-grid > .sc-letter { border-bottom: 3px solid var(--sc-ink); font-family: var(--sc-font-display); font-weight: 400; }
.sc-cat-banner, .sc-banner-grid img, .sc-letter-grid img { border: 3px solid var(--sc-ink); box-shadow: 3px 3px 0 var(--sc-ink); }
.sc-text-tile { box-sizing: border-box; }
.sc-map-figure img { border: 3px solid var(--sc-ink); }

/* footer */
.sc-footer { border-top: 8px solid var(--sc-yellow); }
.sc-footer .sc-footer-title { color: var(--sc-yellow); font: 400 22px var(--sc-font-display); letter-spacing: .04em; }
.sc-footer hr { border-color: var(--sc-yellow); }
.sc-paylogos span { border: 2px solid var(--sc-yellow); color: var(--sc-yellow); border-radius: 3px; }
@media (max-width: 768px) {
  .sc-hero { border-radius: 18px; box-shadow: 4px 4px 0 var(--sc-ink); }
  .btn { box-shadow: 3px 3px 0 var(--sc-ink); }
  .product-thumb { box-shadow: 2px 2px 0 var(--sc-ink); padding: 8px; }
  .sc-tile, .sc-news, .sc-band, .sc-copies, .card { box-shadow: 3px 3px 0 var(--sc-ink); }
  #menu .navbar-nav > li > a, #menu .navbar-nav > li > button.nav-link { font-size: 18px; }
  .sc-tile span { font-size: 19px; }
  .price-new { font-size: 22px; }
}

/* item 82: the whole picture shows (no cropping): contain, centred above the caption strip (the padding keeps it clear of the caption), the tile's own background fills the gaps */
.sc-tile img { object-fit: contain; object-position: 50% 50%; box-sizing: border-box; padding: 8px 8px 64px; }

/* items 26/33: automatic series lists (built from the category tree). A series without a picture is a text tile in the comic title style (real text, WCAG 1.4.5). */
.sc-text-tile { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 86px; padding: 10px 14px; box-sizing: border-box; background: var(--sc-yellow-soft); color: var(--sc-ink); border: 3px solid var(--sc-ink); box-shadow: 3px 3px 0 var(--sc-ink); text-decoration: none; font: 400 26px/1.1 var(--sc-font-display); letter-spacing: .04em; text-transform: uppercase; overflow-wrap: anywhere; }
a.sc-text-tile:hover { background: var(--sc-yellow); color: var(--sc-ink); }
.sc-text-tile.sc-empty { background: var(--sc-empty-bg); color: #4D4D4D; border-color: #6B6B6B; box-shadow: none; cursor: default; }
.sc-banner-grid.sc-auto > .sc-empty-banner { display: block; }
.sc-banner-grid > .sc-letter:first-child { margin-top: 0; }

/* item 29a: sold-out product page */
.sc-soldout { margin: var(--sc-space-4) 0; padding: var(--sc-space-3) var(--sc-space-4); background: #fff; border: 3px solid var(--sc-ink); box-shadow: var(--sc-pop); border-radius: var(--sc-radius); }

/* item 32c: the hero's "Extra rad" (text + link, e.g. the Tradera hint). Spacing is kept small so the hero does not grow taller than Aktuellt on a desktop. */
.sc-hero-extra { margin-top: var(--sc-space-4); padding: var(--sc-space-3) var(--sc-space-4); background: var(--sc-yellow-soft); color: var(--sc-ink); border: 3px solid var(--sc-ink); border-radius: var(--sc-radius); box-shadow: 3px 3px 0 var(--sc-ink); }
.sc-hero-extra p { font-size: 16px; margin: 0 0 var(--sc-space-2); max-width: none; }
.sc-hero-extra .btn { font-size: 18px; }
@media (max-width: 768px) { .sc-hero-extra .btn { width: 100%; } }


/* =====================================================================================================================================================
   Tester queue run, 2026-11-16 (items 37-57)
   ===================================================================================================================================================== */

/* item 40: halftone dots can be switched off in Butiksinfo (data-sc-dots on <html>, set by ui.php icons(); a missing setting = on) */
:root[data-sc-dots="off"] { --sc-dots: none; }

/* items 37, 46, 53: the main menu bar: home button, the section links, "Mer" and Butiken as link + arrow */
#menu .navbar-nav > li > a.nav-link { color: #fff; text-shadow: none; font: 400 20px var(--sc-font-display); letter-spacing: .05em; text-transform: uppercase; padding: 12px 14px; background: transparent; min-height: 44px; display: inline-flex; align-items: center; }
#menu .navbar-nav > li > a.nav-link:hover, #menu .navbar-nav > li > a.nav-link:focus { background: var(--sc-yellow); color: var(--sc-ink); box-shadow: none; }
#menu .sc-menu-home > a { gap: .5em; min-width: 44px; justify-content: center; }
#menu .sc-menu-home .fa-house { font-size: 20px; }
@media (min-width: 992px) { #menu .sc-menu-home .sc-home-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; } }
#menu .sc-menu-more > .dropdown-menu { flex: 0 0 100%; }
@media (min-width: 992px) { #menu .sc-menu-dropdown > .dropdown-menu { right: 0; left: auto; } #menu .navbar-nav > li.sc-menu-dropdown:not(:last-child):not(.sc-menu-more) > .dropdown-menu { left: 0; right: auto; } }
@media (max-width: 991.98px) { #menu .navbar-nav > li > a.nav-link { font-size: 18px; } #menu .navbar-nav { padding: var(--sc-space-2) 0; } }

/* item 48: one outline + offset shadow on every boxed element (same tokens as the comic boxes: 3 px ink, --sc-pop) */
header form.input-group { box-shadow: var(--sc-pop); border-radius: var(--sc-radius); flex-wrap: nowrap; }
header form.input-group .form-control-lg { border-radius: var(--sc-radius) 0 0 var(--sc-radius); box-shadow: none; }
#menu { border: 3px solid var(--sc-ink); box-shadow: var(--sc-pop); border-radius: 0; }
.input-group { box-shadow: var(--sc-shadow); border-radius: var(--sc-radius); }
.input-group > .form-control, .input-group > .form-select, .input-group > .input-group-text, .input-group > .btn { box-shadow: none; }
.input-group > .input-group-text { border: 2px solid var(--sc-ink); background: var(--sc-yellow-soft); color: var(--sc-ink); }
.form-control, .form-select { border: 3px solid var(--sc-ink); box-shadow: var(--sc-shadow); }
.form-control:focus, .form-select:focus { box-shadow: var(--sc-shadow); border-color: var(--sc-ink); }
.alert { border: 3px solid var(--sc-ink); box-shadow: var(--sc-pop); }
.dropdown-menu { border: 3px solid var(--sc-ink); box-shadow: var(--sc-pop); border-radius: var(--sc-radius); background: #fff; }
.modal-content { border: 3px solid var(--sc-ink); box-shadow: var(--sc-pop); border-radius: var(--sc-radius); }
.table-responsive { border: 3px solid var(--sc-ink); box-shadow: var(--sc-pop); background: #fff; border-radius: var(--sc-radius); margin-bottom: var(--sc-space-4); }
.table-responsive > .table { margin-bottom: 0; }
.img-thumbnail { border: 3px solid var(--sc-ink); box-shadow: var(--sc-shadow); border-radius: var(--sc-radius); background: #fff; }
.sc-missing { border-width: 3px; border-color: var(--sc-ink); box-shadow: var(--sc-pop); }
.accordion-item { border: 3px solid var(--sc-ink); box-shadow: var(--sc-shadow); }
.pagination .page-link { border: 2px solid var(--sc-ink); }
.sc-map-figure img { box-shadow: var(--sc-pop); }
.card-header { border-bottom: 3px solid var(--sc-ink); }
#cart .dropdown-menu { background: #fff; }

/* item 49: breadcrumb inside the content column; the "/" separators sit on the same line as the text (Bootstrap floats them, which put them high) */
.breadcrumb { align-items: center; margin-bottom: var(--sc-space-2); }
.breadcrumb > li.breadcrumb-item { display: inline-flex; align-items: center; padding-left: 0; }
.breadcrumb > li.breadcrumb-item + li.breadcrumb-item::before { float: none; display: inline-block; padding: 0 8px 0 0; line-height: 1; color: var(--sc-ink); font-weight: 700; }
nav[aria-label="Brödsmulor"] { margin: 0 0 var(--sc-space-2); }

/* item 50, 52: footer, Följ oss under Trygg handel with icon + text; the account column */
.sc-footer .sc-footer-sub { font-size: 20px; margin: var(--sc-space-4) 0 4px; }
.sc-social li a { display: inline-flex; align-items: center; gap: 10px; }
.sc-social .sc-ico { flex: 0 0 auto; }

/* item 39b: the tile "Serier #" first in the letter grid, and the note on a letter page */
.sc-letter-grid > a.sc-text-tile { display: flex; min-height: 100px; width: 100%; box-sizing: border-box; }
.sc-hash-note { margin: var(--sc-space-3) 0; }

/* item 55: the account menu on the left like the other side menus; landing page boxes, the order table, the phone back link */
#column-left .sc-accountlist { margin-top: 0; }
.sc-account-box .card-body { padding: var(--sc-space-4); }
.sc-account-box h2 { background: none; display: block; margin-bottom: var(--sc-space-2); }
.sc-orders-table th, .sc-orders-table td { vertical-align: middle; }
.sc-account-back { margin: 0 0 var(--sc-space-3); }
.sc-account-back a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
@media (max-width: 575.98px) {
  .sc-orders-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .sc-orders-table tr { display: block; padding: 8px 0; border-bottom: 2px dashed var(--sc-ink); }
  .sc-orders-table td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 2px 10px; }
  .sc-orders-table td::before { content: attr(data-label); font-weight: 700; }
  .sc-orders-table td:last-child::before { content: none; }
}

/* item 46: between 992 and 1199 px the bar would wrap to two rows; slightly smaller type and padding keep the ten entries on one row */
@media (min-width: 992px) and (max-width: 1199.98px) { #menu .navbar-nav > li > a.nav-link, #menu .navbar-nav > li > a.dropdown-item, #menu .navbar-nav > li > button.nav-link { font-size: 17px; padding-left: 8px; padding-right: 8px; } }


/* =====================================================================================================================================================
   Tester queue run 2, 2026-11-16 (items 58-70)
   ===================================================================================================================================================== */

/* item 66: the menu bar ("Kategorier" on narrow screens) has the same rounded corners as the other boxes at every width. No overflow:hidden, so the dropdowns are not clipped. */
#menu { border-radius: var(--sc-radius); }
#menu .navbar-toggler { border-radius: var(--sc-radius); }

/* item 70: every dropdown in the bar opens BELOW the bar item (top: 100% of the item). Without it a dropdown in the flex item "Butiken" could start at the item's own top edge and cover the Butiken link. */
@media (min-width: 992px) { #menu .sc-menu-dropdown > .dropdown-menu { top: 100%; margin-top: 2px; } }

/* item 65: header at high zoom. Below 992 px (150 % zoom and more on a 1280 px screen) the logo column is narrow, so the compact logo (SC + SERIE CENTRUM, tagline cropped) is used from here, and the
   tagline strip in the top bar (too long for the width, it ran under the icons) is left out like on phones. */
@media (max-width: 991.98px) {
  #top .col-4 { display: none; }
  #top .col { text-align: right; }
  #logo a { display: block; width: 93px; height: 48px; overflow: hidden; }
  #logo img { height: 48px; width: auto; max-width: none; }
}

/* item 67: the letter button "Serier #" as real text, in the look of the picture buttons (yellow centre to orange edges, black bold italic serif, 3 px outline + offset shadow, 575:100) */
.sc-letter-btn { display: block; container-type: inline-size; aspect-ratio: 575 / 100; box-sizing: border-box; width: 100%; text-decoration: none; color: #000;
  border: 3px solid var(--sc-ink); box-shadow: 3px 3px 0 var(--sc-ink), inset 0 0 10px rgba(0,0,0,.35);
  background: linear-gradient(to bottom, rgba(0,0,0,.06), rgba(0,0,0,0) 20%, rgba(0,0,0,0) 80%, rgba(0,0,0,.14)),
    linear-gradient(90deg, var(--sc-lb-1) 0, var(--sc-lb-2) 3.5%, var(--sc-lb-3) 10.5%, var(--sc-lb-4) 21%, var(--sc-lb-5) 35%, var(--sc-lb-6) 50%, var(--sc-lb-5) 65%, var(--sc-lb-4) 79%, var(--sc-lb-3) 89.5%, var(--sc-lb-2) 96.5%, var(--sc-lb-1) 100%); }
.sc-letter-btn > span { display: flex; align-items: center; justify-content: center; height: 100%; font: italic 700 22px/1 "Times New Roman", Times, "Liberation Serif", "Nimbus Roman", Georgia, serif; word-spacing: .25em; white-space: nowrap; }
@supports (font-size: 1cqw) { .sc-letter-btn > span { font-size: 10.8cqw; } }
.sc-letter-btn:hover { color: #000; filter: brightness(1.06); }
.sc-letter-grid > a.sc-letter-btn { display: block; }
.sc-cat-banner.sc-letter-btn { margin: 0 0 var(--sc-space-4); }   /* item 198: full column width like the picture banner (no 575 px limit) */

/* item 59: the series names as real text below a picture list (pages whose own sub-category list does not hold them) */
.sc-series-text { columns: 3 220px; column-gap: var(--sc-space-4); margin: 0 0 var(--sc-space-4); }
.sc-series-text li { break-inside: avoid; margin: 0 0 6px; }
.sc-series-text .sc-empty { color: #4D4D4D; }

/* item 58: a series without any picture is a text tile as high as a banner */
.sc-banner-grid > .sc-text-tile { min-height: 100px; }

/* item 68: the footer logos (official files, unaltered; the Tradera symbol has no colour of its own and is painted in the text colour with a mask) */
.sc-social .sc-ico { width: 24px; height: 24px; display: inline-block; flex: 0 0 24px; }
.sc-social .sc-ico-tradera { background-color: currentColor; -webkit-mask: url(../../../assets/logos/tradera_symbol.svg) center / contain no-repeat; mask: url(../../../assets/logos/tradera_symbol.svg) center / contain no-repeat; }
/* item 71: side column sections with an arrow button that opens/closes the sub-list in place (sc-sidemenu.js, overrides/module-category.twig) */
#column-left .sc-cat-row { display: flex; align-items: stretch; }
#column-left .sc-cat-row > .list-group-item { flex: 1 1 auto; min-width: 0; }
#column-left .sc-cat-toggle { flex: 0 0 44px; width: 44px; min-height: 44px; padding: 0; margin: 0; border: 0; border-left: 2px solid var(--sc-ink); background: transparent; color: var(--sc-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 0; }
#column-left .sc-cat-toggle[hidden] { display: none; }
#column-left .sc-cat-toggle:hover { background: var(--sc-yellow); }
#column-left .sc-cat-arrow { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; transition: transform .15s ease; }
#column-left .sc-cat-toggle[aria-expanded="true"] .sc-cat-arrow { transform: rotate(90deg); }
#column-left .sc-cat-sub[hidden] { display: none; }
/* item 88: second level rows (link + arrow like the first level); entries without a third level keep an empty 44 px column with the same border, so every highlight ends at the arrow column's line */
#column-left .sc-cat-pad { flex: 0 0 44px; width: 44px; border-left: 2px solid var(--sc-ink); }
#column-left .sc-cat-l2 > .sc-cat-row > .list-group-item { border-radius: 0; }
#column-left .list-group-item.sc-anc { font-weight: 700; }
#column-left .sc-cat-sub { display: block; }
@media (prefers-reduced-motion: reduce) { #column-left .sc-cat-arrow { transition: none; } }
#column-left .sc-cat-toggle:focus-visible { outline: 3px solid var(--sc-highlight) !important; outline-style: solid !important; outline-offset: -3px; }

/* item 72 (b): OpenCart's stylesheet opens every #menu dropdown on :hover from 960 px, so a click that closed a list (Butiken, Mer) left it visible while the mouse (or the last touch) was over it: it "stuck".
   The bar's dropdowns open by click, tap, Enter or Space only (Bootstrap closes them on a second click, Esc, a click outside, choosing an entry and when focus leaves). */
#menu .dropdown:hover .dropdown-menu:not(.show) { display: none; }
/* item 76: links inside the running text of information pages are underlined (WCAG 1.4.1: not distinguishable by colour alone) */
#information-information #content p a, #information-information #content li a { text-decoration: underline; }

/* Item 79: the non-blocking Swedish postcode hint (sc-address.js). Neutral info look, not an error: no red, ink on the light surface (contrast > 12:1). Empty = not shown. */
.sc-pc-hint { margin-top: .35rem; padding: .35rem .6rem; border: 1px solid var(--sc-muted, #4D4D4D); border-left-width: 4px; border-radius: var(--sc-radius, 6px); background: var(--sc-surface, #F6F4EF); color: var(--sc-ink, #1A1A1A); font-size: .9375rem; line-height: 1.4; }
.sc-pc-hint:empty { display: none; }

/* ---- queue run 5, batch 1 ---- */
/* item 101: an amount never breaks across lines ("124 / kr"); the label column gives way instead. The currency symbol itself has a non-breaking space ("124 kr"). */
.table td.text-end, .table th.text-end, #checkout-confirm td, #checkout-confirm th.text-end, #cart .table td.text-end { white-space: nowrap; }
.table td:first-child, .table th:first-child { white-space: normal; }
/* item 106: "Lägg i varukorg" and the stock line stay on one line on narrow product cards (the card is the container, so it also works in the 2-column phone grid) */
.sc-buy { container-type: inline-size; }
.sc-add { white-space: nowrap; }
@container (max-width: 215px) { .sc-add { font-size: 17px; letter-spacing: 0; padding-left: 4px; padding-right: 4px; } .sc-stock { font-size: 14px; white-space: nowrap; } .sc-stock-d { display: none; } }

/* item 102: order details in Mitt konto. The action cell is no longer 1 px wide and nowrap (it cut "KÖP IGEN" and "RETURNERA" off); no sideways scroll at 1280 px; stacked rows on phones. */
.sc-order-table td.sc-actions { white-space: normal; width: 1%; min-width: 9.5rem; }
.sc-order-table .sc-act { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.sc-order-table .sc-act .btn { white-space: normal; min-height: 44px; width: 100%; }
.sc-return-done { display: inline-block; padding: 8px 10px; border: 2px solid var(--sc-ink); border-radius: var(--sc-radius); background: #fff; font-weight: 700; text-align: center; }
.sc-return-note { margin: -.25rem 0 1rem; }
.sc-order-table { width: 100%; }
.sc-order-table td:first-child { overflow-wrap: anywhere; }
@media (max-width: 575.98px) {
  .sc-order-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sc-order-table, .sc-order-table tbody, .sc-order-table tr { display: block; width: 100%; }
  .sc-order-table tr { border-bottom: 3px solid var(--sc-ink); padding: 6px 0; }
  .sc-order-table td { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 0; padding: 4px 8px; text-align: right; }
  .sc-order-table td:empty { display: none; }
  .sc-order-table tr[id^="product-row"] td:first-child { display: block; text-align: left; font-weight: 700; }
  .sc-order-table tr[id^="product-row"] td:nth-child(2)::before { content: "Antal"; font-weight: 400; }
  .sc-order-table tr[id^="product-row"] td:nth-child(3)::before { content: "Pris"; font-weight: 400; }
  .sc-order-table tr[id^="product-row"] td:nth-child(4)::before { content: "Summa"; font-weight: 400; }
  .sc-order-table td.sc-actions { display: block; width: auto; min-width: 0; text-align: center; }
  .sc-order-table .sc-act { flex-direction: row; flex-wrap: wrap; }
  .sc-order-table .sc-act .btn, .sc-order-table .sc-act .sc-return-done { flex: 1 1 9rem; }
}
.sc-dialog { max-width: min(32rem, calc(100vw - 24px)); width: 100%; border: 3px solid var(--sc-ink); border-radius: var(--sc-radius); box-shadow: var(--sc-pop); background: var(--sc-bg); color: var(--sc-ink); padding: 18px; }
.sc-dialog::backdrop { background: rgba(17,17,17,.55); }
.sc-dialog-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.sc-dialog-buttons .btn { min-height: 44px; }
/* item 100 (owner 2026-11-16): 4 products per row at 1280 px (also with the side column), 3 per row from 576 px, 2 on phones; 24/48/72/96 fill every row count */
@media (min-width: 1200px) { #product-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 576px) and (max-width: 1199.98px) { #product-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* items 107/109: previous/next buttons (years under a category's product grid, issues below a product) and the Tillbaka link on the product page */
.sc-pager { display: flex; justify-content: space-between; align-items: stretch; gap: var(--sc-space-3, 12px); margin: var(--sc-space-4, 16px) 0; }
.sc-pager-gap { flex: 1 1 0; }
.sc-pager-btn, .sc-back { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 44px; min-width: 44px; padding: .45rem 1rem; font-weight: 700; text-decoration: none; color: var(--sc-ink); background: var(--sc-surface, #fff); border: 3px solid var(--sc-ink); border-radius: var(--sc-radius); box-shadow: 3px 3px 0 var(--sc-ink); }
.sc-pager-btn:hover, .sc-back:hover { background: var(--sc-yellow); color: var(--sc-ink); }
.sc-pager-btn:focus-visible, .sc-back:focus-visible { outline: 3px solid var(--sc-highlight); outline-offset: 2px; }
.sc-pager-next { margin-left: auto; }
.sc-back-wrap { margin: 0 0 var(--sc-space-3, 12px); }
.sc-back { box-shadow: none; border-width: 2px; font-weight: 600; padding: .3rem .85rem; }
@media (max-width: 575.98px) { .sc-pager { flex-direction: column; } .sc-pager-gap { display: none; } .sc-pager-btn { width: 100%; } }
/* items 83-85: pinned yellow bar with the logo (84, 85) and the blue menu bar that comes back on scroll up (83). Pinning is switched off in short windows (200-400 % zoom): max-height 520px. */
:root { --sc-top-h: 52px; }
#top { position: sticky; top: 0; z-index: 1030; height: var(--sc-top-h); }
#top .list-inline { margin: 0; }
#top > .container, #top > .container > .row { height: 100%; }
#top > .container > .row { flex-wrap: nowrap; align-items: center; }
#top .sc-top-logo { padding-top: 2px; padding-bottom: 2px; }
#top .sc-top-logo #logo a { display: block; width: 87px; height: 44px; overflow: hidden; }
#top .sc-top-logo #logo img { height: 44px; width: auto; max-width: none; }
#top .col-4 { flex: 1 1 auto; width: auto; max-width: none; padding-left: 20px; }
#top .col { flex: 0 0 auto; width: auto; margin-left: auto; }
@media (max-width: 1199.98px) { #top .col-4 { display: none; } }
@media (max-width: 575.98px) { #top .sc-top-logo { padding-right: 0; } }
main > .container:has(> #menu) { position: sticky; top: var(--sc-top-h); z-index: 1020; background: var(--sc-page); padding-top: 6px; padding-bottom: 8px; margin-bottom: var(--sc-space-2, 8px); transition: transform .25s ease; }
main > .container:has(> #menu) > #menu { margin-bottom: 0; }
main > .container.sc-menu-hidden:has(> #menu) { transform: translateY(calc(-100% - 8px)); }
@media (prefers-reduced-motion: reduce) { main > .container:has(> #menu) { transition: none; } }
html { scroll-padding-top: 140px; }
#navbar-menu.show, #navbar-menu.collapsing { max-height: calc(100vh - 170px); overflow-y: auto; }
@media (max-height: 520px) {
  #top, main > .container:has(> #menu) { position: static; transform: none !important; }
  html { scroll-padding-top: 12px; }
  #navbar-menu.show, #navbar-menu.collapsing { max-height: none; overflow: visible; }
}
#top .col-4 ul { display: none; }
#top .col-4::before { line-height: 1.2; }
@media (min-width: 992px) {
  :root { --sc-top-h: 60px; }
  #top .sc-top-logo #logo a { width: 100px; height: 50px; }
  #top .sc-top-logo #logo img { height: 50px; }
}

/* item 86: the changed button is a link: same look, one line on phones */
.sc-add.sc-added { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; }
@container (max-width: 215px) { .sc-add.sc-added { font-size: 15px; letter-spacing: 0; } }
@container (max-width: 160px) { .sc-add.sc-added { font-size: 13.5px; } }

/* item 94: the grade explanation under "Vad betyder skicket?" */
.sc-tip { display: inline-block; position: relative; }
.sc-tip-btn { background: none; border: 0; padding: 0; color: var(--sc-blue); font: inherit; text-decoration: underline; cursor: pointer; min-height: 24px; }
.sc-tip-btn:hover { color: var(--sc-ink); }
.sc-tip-btn:focus-visible { outline: 3px solid var(--sc-highlight); outline-offset: 2px; }
.sc-tip-box { display: block; margin-top: var(--sc-space-2, 8px); padding: 10px 14px; max-width: 34rem; background: var(--sc-yellow-soft); color: var(--sc-ink); border: 3px solid var(--sc-ink); border-radius: var(--sc-radius); box-shadow: 3px 3px 0 var(--sc-ink); font-weight: 500; line-height: 1.4; }
.sc-tip-box[hidden] { display: none; }
.sc-tip-box a { color: var(--sc-ink); font-weight: 700; }

/* Item 112: product counters in the start page hero: the covers on the left and the counter box on the right, on the same row (phones: the covers are hidden, the box sits below the text). */
.sc-hero-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sc-space-4); align-items: center; min-width: 0; }
.sc-hero-side > .sc-hero-covers { max-width: 300px; }
.sc-hero-count { display: grid; gap: var(--sc-space-1); margin: 0; padding: var(--sc-space-3) var(--sc-space-4); background: var(--sc-yellow-soft); color: var(--sc-ink); border: 3px solid var(--sc-ink); border-radius: var(--sc-radius); box-shadow: 3px 3px 0 var(--sc-ink); font-size: 17px; line-height: 1.35; }
.sc-hero-count-row { display: block; }
.sc-hero-count strong { display: block; font: 400 30px/1.15 var(--sc-font-price); letter-spacing: .04em; white-space: nowrap; }   /* row 213 (owner 2026-11-19): the number in the comic display font (Bangers), like the buttons */
.sc-hero-side > .sc-hero-count:only-child { grid-column: 1 / -1; }
@media (max-width: 768px) { .sc-hero-side { grid-template-columns: minmax(0, 1fr); } }
/* ---------- item 116: one button style. Primary = the red cart button (.btn-primary). Secondary = the yellow outline button (.btn-outline-dark, .btn-light and the link-buttons .sc-pager-btn / .sc-back). Same font, size, radius, border and shadow tokens as .btn. Left alone on purpose: the letter picture buttons (item 67), .btn-close, side-column toggles, the tip toggle link (item 94), the header search button, the disabled-look order button (item 35). ---------- */
.btn-light { --bs-btn-color: var(--sc-ink); --bs-btn-bg: var(--sc-yellow); --bs-btn-border-color: var(--sc-ink); --bs-btn-hover-bg: var(--sc-ink); --bs-btn-hover-border-color: var(--sc-ink); --bs-btn-hover-color: var(--sc-yellow); --bs-btn-active-bg: var(--sc-ink); --bs-btn-active-color: var(--sc-yellow); --bs-btn-active-border-color: var(--sc-ink); }
.sc-pager-btn, .sc-back { font: 400 20px/1.2 var(--sc-font-display); letter-spacing: .05em; text-transform: uppercase; padding: .375rem .75rem; background: var(--sc-yellow); color: var(--sc-ink); border: 3px solid var(--sc-ink); border-radius: var(--sc-radius); box-shadow: 3px 3px 0 var(--sc-ink); transition: transform .08s, box-shadow .08s; }
.sc-pager-btn:hover, .sc-back:hover { background: var(--sc-ink); color: var(--sc-yellow); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--sc-ink); }
#content a.sc-back, #content a.sc-pager-btn { text-decoration: none; font-style: normal; }

/* item 121: "Sortera" and "Visa" on phones: each select + its button on its own full-width row, nothing past the screen edge at 320/375 px and 200 % zoom (labels stay tied to the selects, 44 px height) */
@media (max-width: 575.98px) {
  #content .row > div:has(> .input-group > #input-sort), #content .row > div:has(> .input-group > #input-limit) { flex: 0 0 100%; width: 100%; max-width: 100%; margin-left: 0; }
  #content .input-group:has(#input-sort), #content .input-group:has(#input-limit) { flex-wrap: nowrap; }
  #input-sort, #input-limit { flex: 1 1 0; width: 1%; min-width: 0; }
  .input-group > .sc-apply { flex: 0 0 auto; white-space: nowrap; }
}
#content p a.sc-back:not(.sc-x), #content a.sc-pager-btn:not(.sc-x) { text-decoration: none; font-style: normal; }

/* item 123: the product counter as its own strip on the start page, between "Senast inkommet" and the yellow info strip */
.sc-counter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sc-space-4); margin: 0 0 var(--sc-space-5); }
.sc-counter-box { padding: var(--sc-space-3) var(--sc-space-4); background: var(--sc-yellow-soft); color: var(--sc-ink); border: 3px solid var(--sc-ink); border-radius: var(--sc-radius); box-shadow: 3px 3px 0 var(--sc-ink); font-size: 18px; line-height: 1.35; text-align: center; }
.sc-counter-box strong { display: block; font: 400 30px/1.15 var(--sc-font-price); letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 575.98px) { .sc-counter { grid-template-columns: minmax(0, 1fr); gap: var(--sc-space-3); } }
/* item 152: both labels say web shop; in the two-column range (576-991 px) the short text is shown instead of the long one (display:none keeps the hidden one away from screen readers too) */
.sc-counter .sc-ct-short { display: none; }
@media (min-width: 576px) and (max-width: 991.98px) { .sc-counter .sc-ct-long { display: none; } .sc-counter .sc-ct-short { display: inline; } }
#product #form-product #button-cart, #button-cart { font-size: 20px; }   /* item 116: same size as every other button (its square corners are by design: it is joined to the quantity field) */

/* item 134: the single 'Visa alla <serie>' button above Förfina sökning (secondary button style from 116) */
.sc-alla-wrap { margin: 0 0 var(--sc-space-4, 16px); }
.sc-alla-btn { white-space: normal; }

/* item 142: login page = one block, full width on a phone, at most 32rem on a desktop; "Skapa konto" sits below it */
.sc-login-wrap { max-width: 32rem; }
.sc-login-create .btn { min-width: 10rem; }

/* item 149: the header cart dropdown must open ABOVE the sticky blue menu bar (main > .container, z-index 1020, comes later in the page); the sticky yellow bar #top (1030) stays above both. */
header { position: relative; z-index: 1025; }
#cart .dropdown-menu { z-index: 1026; min-width: 16rem; }
#cart .dropdown-menu li.text-center { white-space: nowrap; }

/* item 148: quantity drop-down / fixed '1 st' next to the Antal label */
.input-group .form-select#input-quantity { max-width: 6rem; min-height: 48px; }
.input-group .sc-qty-one { max-width: 6rem; display: flex; align-items: center; background: var(--sc-paper, #fff); font-weight: 700; }

/* item 161: letter-page text tiles (series without a picture) get exactly the height of the picture tiles (575:100 content box + the same 3 px border as the img) and centred text, at every width */
.sc-banner-grid > .sc-text-tile { display: flex; align-items: center; justify-content: center; text-align: center; box-sizing: content-box; aspect-ratio: 575 / 100; min-height: 0; padding: 0; overflow: hidden; container-type: inline-size; }
.sc-banner-grid > .sc-text-tile > .sc-text-title { display: block; max-width: 100%; padding: 0 8px; box-sizing: border-box; font-size: clamp(13px, 5.2cqw, 26px); line-height: 1.1; }

/* item 162: the quantity row of the product page: the button always fills the rest of the frame (stock 1 "1 st" and the drop-down alike) */
#form-product .input-group > #button-cart { flex: 1 1 auto; }
#form-product .input-group { flex-wrap: wrap; }

/* items 175 + 176: "Tillagd i varukorg" (a link that replaces the button) fills the frame exactly like the button did, so the row does not jump; the frame has a max width on desktop (phones stay full width) */
#form-product .input-group > #button-cart, #form-product .input-group > .sc-added, #product #form-product .input-group > #button-cart, #product #form-product .input-group > .sc-added { flex: 1 1 0%; }   /* basis 0: both states split the frame the same way (the quantity box does not shrink for the longer text) */
#form-product .input-group > .sc-added { font-size: 20px; display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; }
@media (min-width: 768px) { #form-product .input-group { max-width: 30rem; } }

/* item 204 (batch 16): the description excerpt under the name of a product card (Serietidningar pages). 3 lines at most, the card keeps its layout. */
.sc-card-desc { margin: var(--sc-space-1, 4px) 0 0; font-size: 14px; line-height: 1.35; color: var(--sc-ink); display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }

/* item 197 (batch 18): on the wide bar the top-level entries are spread over the whole blue bar (each grows with the free space, text centred); the home button keeps its size. Phone menu unchanged. Dropdowns still open under their entry (rules above). */
@media (min-width: 992px) {
  #menu .navbar-nav { width: 100%; justify-content: space-between; }
  #menu .navbar-nav > li { flex: 1 1 auto; text-align: center; }
  #menu .navbar-nav > li.sc-menu-home { flex: 0 0 auto; }
  #menu .navbar-nav > li > a.nav-link, #menu .navbar-nav > li > button.nav-link { width: 100%; justify-content: center; }
}

/* items 169/209 (batch 18): ONE letter-button component (.sc-letter-btn). The colours are tokens: yellow = Serier (unchanged), blue = Böcker Boktitel, green = Böcker Författare. Label is black on every colour (contrast >= 6:1 at the darkest edge). */
.sc-letter-btn { --sc-lb-1: #FD9C00; --sc-lb-2: #FFA200; --sc-lb-3: #FFB400; --sc-lb-4: #FED000; --sc-lb-5: #FFF000; --sc-lb-6: #FFFF01; }
.sc-letter-btn.sc-lb-books { --sc-lb-1: #3A8FD0; --sc-lb-2: #429AD9; --sc-lb-3: #55AAE4; --sc-lb-4: #6FBBEE; --sc-lb-5: #86C9F6; --sc-lb-6: #92D0FB; }
.sc-letter-btn.sc-lb-authors { --sc-lb-1: #3FAE5A; --sc-lb-2: #48B864; --sc-lb-3: #5CC574; --sc-lb-4: #76D48B; --sc-lb-5: #8DE09F; --sc-lb-6: #9BE8AB; }
.sc-letter-grid > .sc-letter-btn { display: block; break-inside: avoid; margin: 0 0 var(--sc-space-2); }
.sc-letter-btn.sc-lb-empty { filter: grayscale(1); opacity: .45; cursor: not-allowed; }
.sc-letter-btn.sc-lb-empty:hover { filter: grayscale(1); }

/* row 219: live search list under the header search field (listbox); items are 44 px tall (touch target), the list never needs scrolling at the counts the script asks for */
.sc-live-list { position: absolute; z-index: 1200; top: 100%; left: 0; right: 0; margin: 2px 0 0; padding: 0; list-style: none; background: var(--sc-paper, #fff); border: 2px solid var(--sc-ink); border-radius: var(--sc-radius); box-shadow: 0 6px 14px rgba(0,0,0,.18); max-height: 70vh; overflow-y: auto; }
.sc-live-list[hidden] { display: none; }
.sc-live-list a { display: block; min-height: 44px; padding: 10px 14px; color: var(--sc-ink); text-decoration: none; line-height: 1.3; border-bottom: 1px solid var(--sc-line); overflow-wrap: anywhere; }
.sc-live-list a:hover, .sc-live-list a.sc-live-active { background: var(--sc-yellow, #ffe14d); outline: 2px solid var(--sc-ink); outline-offset: -2px; }
/* row 237: each hit is Name | Grade | Price. Only the name wraps; grade and price stay together at the right edge, never on the left; no divider characters */
.sc-live-list a { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.sc-live-name { flex: 1 1 auto; min-width: 0; }
.sc-live-meta { flex: 0 0 auto; display: flex; align-items: baseline; justify-content: flex-end; gap: 1rem; margin-left: auto; white-space: nowrap; }
.sc-live-price { font-weight: 700; min-width: 3.5em; text-align: right; }
.sc-live-list .sc-live-all a { font-weight: 700; border-bottom: 0; text-decoration: underline; text-underline-offset: 2px; }

/* row 217: named buttons of any length stay inside the column */
.sc-pager-products .sc-pager-btn { min-width: 0; max-width: 100%; overflow-wrap: anywhere; text-align: center; }

/* row 216: the long grade "Oöppnad i originalplast" (now shown on cards and pages) wraps inside its box instead of overflowing; short grades still never wrap */
.sc-grade { max-width: 100%; white-space: normal; line-height: 1.15; }

/* rows 239/256/257 (batch 22): the box title is ONE line (an older, longer stored title is cut with an ellipsis instead of wrapping and shrinking the picture); a box without a title has no yellow block and the picture uses the space; the picture is the whole photo (sc_tile_resize adds no white bars, the box's dotted background shows around it) */
.sc-tile span .sc-tl-title { display: block; font-weight: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-tile-nocap img { padding: 8px; }@media (max-width: 575.98px) { .sc-tile span .sc-tl-title { font-size: 16px; } }   /* row 239: 18 characters fit on one line in the two-column phone grid (measured at 375 and 320 px, layout-assert block 239) */
@media (max-width: 359.98px) { .sc-tile span .sc-tl-title { font-size: 14px; } }


/* row 284 (batch 27): a long product name stayed on one line (#checkout-confirm td is nowrap and out-ranked the first-column rule), so the right column's minimum width grew past the free space and the whole column wrapped under the form (one column at desktop width). The name wraps, and the column may shrink. */
#checkout-confirm td:first-child, #checkout-confirm th:first-child { white-space: normal; overflow-wrap: anywhere; }
#checkout-checkout .row > .col { min-width: 0; }

/* row 285 (batch 27): the caption label spans the full tile width at every width (it was a shrink-to-fit strip on desktop that cut "DVD-FILMER/BLU-RAY" at 92 %), title and sub-line centred; ONE sub-line (the old long/short pair is merged: the short text is shown everywhere), it wraps instead of ending in "...". */
.sc-tile span { left: 0; right: 0; max-width: none; text-align: center; border-right: 0; }
.sc-tile span small, .sc-tile span small.sc-tl-sub { display: block; white-space: normal; overflow: visible; text-overflow: clip; font-size: 14px; line-height: 1.25; }
@media (max-width: 575.98px) { .sc-tile span small.sc-tl-sub { font-size: 13px; } }
