/* Spain shop pages and the shop index (pages/shop_facts.py): facts block, price position, league table. */
.sf-note{margin:0 0 18px;max-width:72ch;font-size:14.5px}.sf-small{color:var(--muted);font-size:12.5px}
.sf-stamp{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0 0 18px;padding:0;list-style:none;color:var(--muted);font-size:14px}
.sf-stamp b{color:var(--ink)}.sf-r{text-align:right}.sf-table td,.sf-table th{padding:10px 12px}
.sf-table .sf-me{background:var(--paper-2)}.sf-q{display:block;margin:4px 0 0;color:var(--muted);font-size:13.5px;quotes:"«" "»"}
.sf-two{display:grid;grid-template-columns:1fr 1fr;gap:22px}.sf-two ul{margin:8px 0 0;padding-left:20px}.sf-two li{margin:0 0 8px}
.sf-cats a,.sf-cats span{display:inline-block;margin:0 14px 6px 0}
.sf-facts .v,.sf-position p{overflow-wrap:anywhere}
@media (max-width:760px){.sf-two{grid-template-columns:1fr}}
/* 390 px: a table that would scroll inside its frame becomes one block per row, label on the left and value on the right. */
@media (max-width:640px){
 .tw .cat.sf-stack{min-width:0}
 .sf-stack thead{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
 .sf-stack,.sf-stack tbody,.sf-stack tr,.sf-stack td{display:block;width:100%}
 .sf-stack tr{padding:12px 14px;border-bottom:1px solid var(--rule)}
 .sf-stack td{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:5px 0;border:0;text-align:right}
 .sf-stack td::before{content:attr(data-label);flex:0 0 auto;color:var(--muted);font-size:13px;text-align:left}
 .sf-stack td.n{display:none}
 .sf-stack td.sf-model,.sf-stack td.sf-shop{display:block;text-align:left;padding-bottom:6px}
 .sf-stack td.sf-model::before,.sf-stack td.sf-shop::before{content:none}
}
/* 4 Nov gate: a shop logo in the dark photo banner sits on a light plate (the refurbed mark is dark blue and vanished) */
.banner.photo .logo-chip.plate-logo:not(.text):not(.dark){background:#fff;padding:6px 12px;border-radius:4px}
/* 4 Nov gate: on a phone the stacked comparison card showed the cheapest shop's logo at full size, taller than the text around it */
@media(max-width:640px){.sf-stack .logo-chip img{width:auto!important;height:auto!important;max-height:24px;max-width:110px}}
