/* MarvelCards design "D": ink header, vermilion accent, cut-corner panels.
   Loaded after style.css and overrides it. Remove its <link> in index.html to revert.
   Fonts (self-hosted, SIL OFL): Unbounded (headlines), Schibsted Grotesk (text), Bricolage Grotesque (numbers). */
@font-face{font-family:'Unbounded';src:url('/fonts/Unbounded-latin-ext.woff2') format('woff2');font-weight:200 900;font-style:normal;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Unbounded';src:url('/fonts/Unbounded-latin.woff2') format('woff2');font-weight:200 900;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Schibsted Grotesk';src:url('/fonts/SchibstedGrotesk-latin-ext.woff2') format('woff2');font-weight:400 900;font-style:normal;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Schibsted Grotesk';src:url('/fonts/SchibstedGrotesk-latin.woff2') format('woff2');font-weight:400 900;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Bricolage Grotesque';src:url('/fonts/BricolageGrotesque-latin-ext.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Bricolage Grotesque';src:url('/fonts/BricolageGrotesque-latin.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---- tokens (html:root beats the older :root blocks) ---- */
html:root{--font-head:'Unbounded','Arial Narrow',sans-serif;--font-body:'Schibsted Grotesk',Arial,sans-serif;--font-num:'Public Sans','Schibsted Grotesk',Arial,sans-serif;
--radius:2px;--bg:#E9E7E2;--surface:#FFFFFF;--surface2:#F4F3EF;--line:#D3D0C8;--hover:#FAF3EF;--text:#15161D;--muted:#63646F;
--head-bg:#15161D;--head-text:#FFFFFF;--head-muted:#A3A4B2;--accent:#FF3B1D;--accent-ink:#FFFFFF;--good:#087548;--bad:#E0301E}
/* dark palette is defined for later; nothing sets data-mode yet */
html[data-mode=dark]:root{--bg:#0E0F14;--surface:#171922;--surface2:#1D2029;--line:#2B2E3B;--hover:#1D2029;--text:#F1EFEA;--muted:#9B9CAA;--head-bg:#08090C;--good:#3DDC97;--bad:#FF6B5B}

/* ---- page, text ---- */
html body,html body .sealed-comparison-page{background:var(--bg)!important;color:var(--text)!important;font-family:var(--font-body)!important}
html body .comparison-intro h1{font-family:var(--font-head)!important;font-weight:700!important;font-size:26px!important;line-height:1.2!important;letter-spacing:-.045em!important;color:var(--text)!important}
html body .comparison-intro p,html body .delivery-selector{color:var(--muted)!important;font-size:14px}

/* ---- header: logo, tabs, utility links on one row ---- */
html body .site-header{background:var(--head-bg)!important;color:var(--head-text)!important;border-bottom:0!important;position:relative;background-image:radial-gradient(circle,rgba(255,59,29,.6) 1.3px,transparent 1.7px)!important;background-size:9px 9px!important}
html body .site-header:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,var(--head-bg) 45%,transparent 100%);pointer-events:none}
html body .site-header>*{position:relative;z-index:1}
html body .site-header .brand-wordmark{width:150px!important;height:auto!important}
html body .site-header .brand>.brand-tagline{font-family:var(--font-body)!important;font-size:10px!important;font-weight:600;letter-spacing:.09em!important;text-transform:uppercase;color:var(--head-muted)!important;white-space:nowrap;position:static!important;margin:2px 0 0 0!important}
html body .site-header .brand{padding-bottom:8px!important}
html body .site-header nav a{color:var(--head-text)!important;font-family:var(--font-body)!important}
html body .site-header .hdr-tabs a{font:700 13px/1 var(--font-body)!important;letter-spacing:.06em;text-transform:uppercase;color:var(--head-muted)!important;padding:12px 18px 11px!important;border-top:3px solid transparent;text-decoration:none;display:block}
html body .site-header .hdr-tabs a:hover{color:#fff!important;background:rgba(255,255,255,.06)}
html body .site-header .hdr-tabs a[aria-current]{background:var(--bg);color:var(--text)!important;border-top-color:var(--accent)}
html body .site-header .hdr-tabs a:last-child{font-weight:500!important}
@media(min-width:769px){
html body .site-header{display:grid!important;grid-template-columns:auto 1fr auto!important;grid-template-areas:"brand tabs util"!important;align-items:end!important;column-gap:16px!important;padding:8px 28px 0!important;height:auto!important;min-height:0!important}
html body .site-header .brand{grid-area:brand;align-self:center}
html body .site-header .desktop-brand-nav{display:contents!important}
.hdr-tabs{position:relative;z-index:1;grid-area:tabs;display:flex;gap:2px;align-items:flex-end;margin-left:20px}
.hdr-util{position:relative;z-index:1;grid-area:util;display:flex;align-items:center;gap:16px;align-self:center;margin-bottom:6px}
.hdr-util a{font-size:13px!important;font-weight:600;text-transform:none;letter-spacing:0;border:0!important}
.hdr-util a:first-child:before{content:'♡ ';color:var(--accent)}
html body .site-header .hdr-util a:last-child{background:var(--accent);color:#fff!important;font-weight:700;padding:9px 16px;clip-path:polygon(0 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%)}
}

/* ---- panels, filters ---- */
html body .comparison-filters,html body .comparison-module{background:var(--surface)!important;border:1px solid var(--line)!important;border-top:3px solid var(--text)!important;border-radius:var(--radius)!important;clip-path:polygon(0 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%)}
html body .comparison-filter-fields select,html body .comparison-filters input,html body .delivery-selector select,html body .comparison-pagination button{background:var(--surface2)!important;color:var(--text)!important;border:1px solid var(--line)!important;border-radius:0!important;font-family:var(--font-body)!important}
html body .filter-chips button{background:transparent!important;color:var(--text)!important;border:1px solid var(--line)!important;border-radius:2px!important;font-family:var(--font-body)!important;font-weight:600;clip-path:polygon(0 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%)}
html body .filter-chips button:hover{border-color:var(--accent)!important}
html body .filter-chips button[aria-pressed=true]{background:var(--text)!important;color:var(--bg)!important;border-color:var(--text)!important}
html body .comparison-filter-actions a,html body a.clear,html body [data-clear]{color:var(--text)!important}
html body .comparison-module-heading{border-color:var(--line)!important}
html body .comparison-module h2{font-family:var(--font-head)!important;font-weight:700!important;font-size:15px!important;color:var(--text)!important;letter-spacing:-.04em}
html body .comparison-module-heading>span{font-family:var(--font-body)!important;color:var(--muted)!important;font-size:11px!important;letter-spacing:.04em;text-transform:uppercase}

/* ---- table ---- */
html body .comparison-table,html body .comparison-table tr{background:transparent!important}
html body .comparison-table th{background:var(--surface2)!important;color:var(--muted)!important;font-family:var(--font-body)!important;font-size:11px!important;font-weight:500!important;letter-spacing:.04em!important;text-transform:uppercase;border-color:var(--line)!important}
html body .comparison-table th button{color:var(--muted)!important;font-family:var(--font-body)!important;text-transform:uppercase;letter-spacing:.04em}
html body .comparison-table td{border-color:var(--line)!important;vertical-align:middle}
html body .comparison-table tbody tr:hover{background:var(--hover)!important}
html body .comparison-table tbody tr:hover td:first-child{box-shadow:inset 3px 0 0 var(--accent)}
html body .comparison-table .comparison-name{font-family:var(--font-body)!important;font-weight:600!important;color:var(--text)!important}
html body .comparison-product small{color:var(--muted)!important}
html body .comparison-watch{color:var(--muted)!important}
html body .comparison-watch:hover{color:var(--accent)!important}
html body .comparison-table a:hover{color:var(--accent)!important}

/* product photos, larger */
html body .comparison-table .comparison-thumb{background:#fff;border:1px solid var(--line);border-radius:2px;overflow:hidden}
@media(min-width:901px){
html body .comparison-table .comparison-thumb{width:76px!important;height:76px!important;flex:0 0 76px!important;padding:5px;display:flex;align-items:center;justify-content:center}
html body .comparison-table .comparison-thumb img{width:100%!important;height:100%!important;object-fit:contain!important}
html body .comparison-table .comparison-product{gap:14px}
html body .comparison-table .comparison-name{font-size:14px!important}
html body .comparison-table td{padding-top:12px!important;padding-bottom:12px!important}
}

/* numbers */
html body .comparison-table .comparison-price>a,html body .comparison-spread,html body .comparison-shops a,html body .comparison-ebay-count a{font-family:var(--font-num)!important;font-feature-settings:'tnum' 1;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
html body .comparison-table .ebay-price>a{color:var(--muted)!important;font-size:14px!important;font-weight:400!important}
html body .comparison-table .comparison-shops a,html body .comparison-table .comparison-ebay-count a{color:var(--muted)!important}
html body .comparison-table .price-missing{color:var(--muted)!important;font-weight:400!important}

/* best shop price: plain green text, as in the original design */
html body .comparison-table td.shop-price{white-space:nowrap;padding-right:20px!important}
html body .comparison-table .shop-price>a:not(.price-missing):not(.price-stale){background:none!important;color:#087548!important;font-size:15px!important;font-weight:600!important;letter-spacing:0!important;padding:0!important;display:inline-block;vertical-align:middle;box-shadow:none;clip-path:none}
/* stale price: plain, grey, struck through. The "Last seen" text is not shown in the table (it is the tooltip on the price) */
html body .comparison-table .shop-price>a.price-stale{background:none!important;color:var(--muted)!important;font-size:16px!important;font-weight:400!important;text-decoration:line-through;text-decoration-color:#c9ccc8}
html body .comparison-table .price-age{display:none!important}
html body .comparison-table .shop-price>small.price-age{display:none!important}

/* 30-day trend: sparkline + percentage, left of the price */
html body .comparison-table .price-trend{display:inline-flex!important;align-items:center;gap:6px;margin:0 12px 0 0!important;vertical-align:middle}
html body .comparison-table .price-trend small{display:none}
html body .comparison-table .spark{width:48px;height:24px;flex:none;overflow:visible}
html body .comparison-table .spark path{fill:none;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
html body .comparison-table .spark-avg{display:none}
html body .comparison-table .spark-down path{stroke:#087548}html body .comparison-table .spark-down circle{fill:#087548}
html body .comparison-table .spark-up path{stroke:#D6342C}html body .comparison-table .spark-up circle{fill:#D6342C}
html body .comparison-table .spark-flat path{stroke:#9A9AA6}html body .comparison-table .spark-flat circle{fill:#9A9AA6}
html body .comparison-table .vs-avg{background:none!important;padding:0!important;border-radius:0;font-family:var(--font-num);font-size:12px!important;font-weight:600;min-width:30px;text-align:right;font-feature-settings:'tnum' 1}
html body .comparison-table .vs-avg.down{color:#087548!important}html body .comparison-table .vs-avg.up{color:#C62F1E!important}

/* ---- footer ---- */
html body footer{background:var(--head-bg)!important;color:var(--head-muted)!important;border-top:3px solid var(--accent)!important}
html body footer a,html body footer p,html body footer summary{color:var(--head-muted)!important}
html body a:hover{color:var(--accent)}

/* ---- other pages: same background and headline font, no layout change ---- */
html body main,html body .sealed-product-page,html body .watch-page{background:transparent!important;color:var(--text)!important}
html body .sealed-product-page h1,html body .watch-page h1,html body .comparison-hero h1,html body .detail-title h1{font-family:var(--font-head)!important;font-weight:700!important;letter-spacing:-.04em!important;color:var(--text)!important}
html body .sealed-product-page h2,html body .watch-page h2{font-family:var(--font-head)!important;font-weight:700!important;letter-spacing:-.04em!important;font-size:17px!important}

/* seven columns: product | best shop price | total to <country> | shops | spread | best eBay | eBay offers */
@media(min-width:901px){
html body .comparison-table col:nth-child(1){width:38%}
html body .comparison-table col:nth-child(2){width:19%}
html body .comparison-table col:nth-child(3){width:10%}
html body .comparison-table col:nth-child(4){width:6%}
html body .comparison-table col:nth-child(5){width:8%}
html body .comparison-table col:nth-child(6){width:11%}
html body .comparison-table col:nth-child(7){width:8%}
}
@media(min-width:601px){
html body .comparison-table th:nth-child(n+2),html body .comparison-table td:nth-child(n+2){text-align:right}
html body .comparison-table th:nth-child(4),html body .comparison-table td:nth-child(4),html body .comparison-table th:nth-child(7),html body .comparison-table td:nth-child(7){text-align:center}
html body .comparison-table th:nth-child(n),html body .comparison-table .comparison-total-head{display:table-cell}
}
@media(min-width:601px) and (max-width:900px){
html body .comparison-table col:nth-child(n){display:table-column}
html body .comparison-table col:nth-child(1){width:30%}html body .comparison-table col:nth-child(2){width:21%}html body .comparison-table col:nth-child(3){width:13%}html body .comparison-table col:nth-child(4){width:7%}html body .comparison-table col:nth-child(5){width:10%}html body .comparison-table col:nth-child(6){width:12%}html body .comparison-table col:nth-child(7){width:7%}
html body .comparison-table td:nth-child(n){display:table-cell}
}
/* total column */
html body .comparison-table .comparison-total{white-space:nowrap}
html body .comparison-table .comparison-total .delivered-total{font-family:var(--font-num)!important;font-size:15px!important;font-weight:500!important;color:var(--text)!important;text-decoration:none;font-feature-settings:'tnum' 1}
html body .comparison-table .comparison-total .delivered-total:hover{color:var(--accent)!important;text-decoration:underline;text-underline-offset:3px}
html body .comparison-table .comparison-total-head{text-align:right}
@media(max-width:600px){
html body .comparison-table .comparison-total{grid-column:1;grid-row:3}
html body .comparison-table .comparison-shops{grid-row:4}
html body .comparison-table .comparison-ebay-count{grid-row:4}
html body .comparison-table .comparison-spread{grid-row:5}
}
}

/* ---- phones ---- */
@media(max-width:768px){
html body .site-header:before{background:linear-gradient(90deg,var(--head-bg) 78%,transparent 100%)}
html body .site-header .brand>.brand-tagline{font-size:8px!important;letter-spacing:.05em!important}
html body .comparison-intro h1{font-size:20px!important}
html body .comparison-filter-fields select,html body .comparison-filters input{font-size:13px!important}
}

/* delivered total under the price: normal figures (tabular figures stretch the decimal point), quieter, readable */
html body .comparison-table .delivered-line{display:block;margin-top:5px;font-size:12px;line-height:1.3;font-variant-numeric:normal;font-feature-settings:normal}
html body .comparison-table .delivered-line a{font-family:var(--font-body)!important;font-size:12px!important;font-weight:500!important;font-variant-numeric:normal;font-feature-settings:normal;letter-spacing:0;color:var(--muted)!important;text-decoration:none;border-bottom:1px dotted var(--line)}
html body .comparison-table .delivered-line a:hover{color:var(--accent)!important;border-bottom-color:var(--accent)}
html body .comparison-table .delivered-line a b{color:var(--text);font-weight:600;font-family:var(--font-body)}

/* trend sits in its own left lane of the price cell, price stays right-aligned */
@media(min-width:601px){
html body .comparison-table td.shop-price{position:relative}
html body .comparison-table td.shop-price .price-trend{position:absolute;left:10px;top:50%;transform:translateY(-50%);margin:0!important}
}
@media(min-width:601px){html body .comparison-table td.shop-price .spark{width:40px}}

/* heading for the trend lane, left of "Best shop price" */
@media(min-width:601px){
html body .comparison-table th:nth-child(2){position:relative}
html body .comparison-table th:nth-child(2):before{content:'Trend';position:absolute;left:10px;top:50%;transform:translateY(-50%);font-family:var(--font-body);font-size:11px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
}

/* stale price: age shown in the trend lane (a stale price never has a trend) */
html body .comparison-table .stale-age{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:500;color:var(--muted);white-space:nowrap}
html body .comparison-table .stale-age i{width:11px;height:11px;border:1.5px solid currentColor;border-radius:50%;position:relative;flex:none}
html body .comparison-table .stale-age i:before{content:'';position:absolute;left:3.5px;top:1px;width:1.5px;height:3.5px;background:currentColor}
html body .comparison-table .stale-age i:after{content:'';position:absolute;left:3.5px;top:4px;width:3px;height:1.5px;background:currentColor}
@media(min-width:601px){html body .comparison-table td.shop-price .stale-age{position:absolute;left:10px;top:50%;transform:translateY(-50%)}}

/* wider page and roomier product names */
html body .sealed-comparison-page,html body .sealed-product-page{max-width:1320px}
@media(min-width:901px){html body .comparison-table .comparison-name{font-size:13px!important;line-height:1.35}}
html body .comparison-table .comparison-product>div:not(.comparison-thumb){min-width:0;flex:1}

/* table headings: one baseline, same edges as the numbers below them */
@media(min-width:601px){
html body .comparison-table thead th{vertical-align:bottom!important;padding-top:12px!important;padding-bottom:10px!important;line-height:1.25}
html body .comparison-table thead th button{display:inline;text-align:inherit;padding:0}
html body .comparison-table thead th:nth-child(2){padding-right:20px!important}
html body .comparison-table thead th:nth-child(1),html body .comparison-table tbody td:nth-child(1){text-align:left!important}
html body .comparison-table thead th:nth-child(4),html body .comparison-table tbody td:nth-child(4),html body .comparison-table thead th:nth-child(7),html body .comparison-table tbody td:nth-child(7){text-align:center!important}
html body .comparison-table thead th:nth-child(2):before{top:auto;bottom:10px;transform:none}
}

/* column widths for single-line headings (laptop and up) */
@media(min-width:901px){
html body .comparison-table col:nth-child(1){width:37%}
html body .comparison-table col:nth-child(2){width:20%}
html body .comparison-table col:nth-child(3){width:10%}
html body .comparison-table col:nth-child(4){width:7%}
html body .comparison-table col:nth-child(5){width:8%}
html body .comparison-table col:nth-child(6){width:10%}
html body .comparison-table col:nth-child(7){width:8%}
html body .comparison-table thead th{white-space:nowrap;font-size:10.5px!important;letter-spacing:.03em!important;padding-left:8px!important;padding-right:8px!important}
html body .comparison-table thead th:nth-child(1){padding-left:14px!important}
html body .comparison-table thead th:nth-child(2){padding-right:20px!important}
html body .comparison-table td{padding-left:8px!important;padding-right:8px!important}
html body .comparison-table td:nth-child(1){padding-left:14px!important}
html body .comparison-table td.shop-price{padding-right:20px!important}
}

/* narrow laptops: hide the Spread column so names and headings keep their room */
@media(min-width:901px) and (max-width:1180px){
html body .comparison-table col:nth-child(5),html body .comparison-table thead th:nth-child(5),html body .comparison-table tbody td:nth-child(5){display:none!important}
html body .comparison-table col:nth-child(1){width:40%}
html body .comparison-table col:nth-child(2){width:20%}
html body .comparison-table col:nth-child(3){width:11%}
html body .comparison-table col:nth-child(4){width:7%}
html body .comparison-table col:nth-child(6){width:11%}
html body .comparison-table col:nth-child(7){width:11%}
}

/* price column: heading centred over the price, trend keeps its own lane on the left */
@media(min-width:601px){
html body .comparison-table thead th:nth-child(2){text-align:center!important;padding-left:100px!important;padding-right:8px!important}
html body .comparison-table td.shop-price{text-align:center!important;padding-left:100px!important;padding-right:8px!important}
html body .comparison-table td.shop-price>a{display:inline-block!important;min-width:76px;text-align:right}
}

/* intro headline and subtitle: hidden visually, kept for screen readers and search engines; content moves up */
html body .comparison-intro{position:absolute!important;width:1px;height:1px;margin:-1px!important;padding:0!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html body main:has(>.sealed-comparison-page){padding-top:20px!important}
html body .sealed-comparison-page{padding-top:0!important}
