/* Finalized shopping page and home popular shelf. Retired design rules are archived. */
/* ---- Which parts of the page the shop drew are in view ----
   The shop page: only the cheat sheet section and the Smart Bundles section. The home page: everything but the section. */
html.sp-shop #main>:not(#shop):not(#smart){display:none!important}
html.sp-home #main>#shop{display:none!important}
html:not(.sp-home) #main>.sp-shelf{display:none}

/* The page's side gutter, as the shop's own .wrap has it on a phone. */
:root{--sp-gutter:20px}
@media(max-width:360px){:root{--sp-gutter:16px}}

/* ---- A cover, drawn by show-pages.js and sized from its own width. A bundle is a stack of pages. ---- */
.sp-pic,.sp-cover{display:block;flex:none;width:58px;border:1px solid var(--line-strong);border-radius:4px;background:#fff}
.sp-pic .pg,.sp-cover .pg{display:block;border-radius:3px}
.sp-pic.is-stack{border-color:var(--forest);box-shadow:2px -2px 0 0 #fff,3px -3px 0 0 var(--forest)}

/* ---- The shop's signs where a sheet is not for sale: a bundle in the cart brings it, or it is owned ---- */
.sp-sign{display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;min-height:36px;padding:0 12px;border:1.5px solid transparent;border-radius:10px;background:transparent;font:600 14px/1.2 var(--sans);white-space:nowrap}
.sp-sign .icon{flex:none;width:16px;height:16px}
.sp-sign.is-bundle{background:var(--forest);color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sp-sign.is-owned{background:#fff;border-color:var(--green);color:var(--green)}
.sp-sign.is-owned .icon{stroke-width:2.6}
/* A press on "In bundle": the sign dips, as it does in the shop's rows (the movement is the rows study's own). */
@media(prefers-reduced-motion:no-preference){.sp-sign.ov-no{animation:ov-dip .36s cubic-bezier(.3,.7,.3,1) both}}

/* ---- The shop page ---- */
/* It starts as a page does, not as a section part-way down one. */
html.sp-shop #shop{padding:26px 0 36px;border-top:0}
/* The line that counted the sheets and held the List / Cards switch: the bundle card says how many, and on this page a
   sheet is always a picture row. */
html.sp-shop #shopResults .results-heading{display:none}
html.sp-shop #shopResults .subject-bundle{margin-bottom:6px}

/* The list loses its outline: each row has a picture now, so a thin rule between rows is enough (the search's rows). */
html.sp-shop #shopResults .product-list{border:0;border-radius:0;overflow:visible}
/* A row: the cover, the words, then the price over Add. Each part is put in its column by name, so a row measures the
   same before its cover is in (the owned and in-bundle rows are measured by their own study as the shop draws them). */
html.sp-shop #shopResults .product-list .product-row{grid-template-columns:58px minmax(0,1fr) 84px;grid-template-rows:auto;column-gap:13px;row-gap:0;align-items:center;padding:14px 0;min-height:112px;box-sizing:border-box}
html.sp-shop #shopResults .product-list .product-row:last-child{border-bottom:0}
html.sp-shop #shopResults .product-row>.sp-cover{grid-column:1;grid-row:1;align-self:start;padding:0;color:inherit;font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
html.sp-shop #shopResults .product-row>div:not(.product-bottom){grid-column:2;grid-row:1;align-self:start;min-width:0}
html.sp-shop #shopResults .product-row>.product-bottom{grid-column:3;grid-row:1}
/* The price's column keeps one width, 84px, and Add fills it: Added is wider than Add, and a name must not take another
   line because its sheet went into the cart. (The search's rows: 58, the words, 84.) */
html.sp-shop #shopResults .product-row>.product-bottom .small-button{width:100%}
/* The words, at the search's sizes: a name a parent can read, the facts and the link at 14px. */
html.sp-shop #shopResults .product-row .product-title{min-height:0;font-size:16.5px;font-weight:650;line-height:1.28;letter-spacing:-.01em;overflow-wrap:anywhere}
html.sp-shop #shopResults .product-row .product-meta{margin-top:3px;font-size:14px;line-height:1.35;flex-wrap:wrap;column-gap:4px}
/* The link's line is as tall as the sign that takes its place on an owned or in-bundle row (36px), so such a row is
   never taller than it was when it was for sale. */
html.sp-shop #shopResults .product-row .product-more{min-height:36px;padding:7px 0;font-size:14px;line-height:1.3}

/* A sheet you own, or one a bundle in the cart brings (the shop's settled rows, overlap-studies: .ovd-low on a phone,
   .ovd-side on a laptop): the name keeps the full width beside the cover. The facts take the full width too, so a
   long line of facts ("18 pages · PDF · Papers 1-2") stays on one line, and the sign sits on the link's line, where
   Add was. */
html.sp-shop #shopResults .ov .product-row:is(.ovd-low,.ovd-side){grid-template-columns:58px minmax(0,1fr) auto;column-gap:13px;row-gap:0;align-content:center}
html.sp-shop #shopResults .ov :is(.ovd-low,.ovd-side)>div:not(.product-bottom){display:contents}
html.sp-shop #shopResults .ov :is(.ovd-low,.ovd-side)>.sp-cover{grid-column:1;grid-row:1/4;align-self:center}
html.sp-shop #shopResults .ov :is(.ovd-low,.ovd-side) .product-title{grid-column:2/-1;grid-row:1;justify-self:start}
html.sp-shop #shopResults .ov :is(.ovd-low,.ovd-side) .product-meta{grid-column:2/-1;grid-row:2}
html.sp-shop #shopResults .ov :is(.ovd-low,.ovd-side) .product-more{grid-column:2;grid-row:3;justify-self:start}
html.sp-shop #shopResults .ov :is(.ovd-low,.ovd-side) .product-bottom{grid-column:3;grid-row:3;align-self:center;width:auto}

/* The grade's other subjects, under the sheets. */
.sp-more{margin-top:34px}
.sp-more h3{margin:0;font:650 20px/1.25 var(--sans);letter-spacing:-.015em;color:var(--forest)}
.sp-subjects{margin-top:6px}
.sp-subject{display:flex;align-items:center;gap:14px;width:100%;min-height:68px;padding:11px 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sp-subject:last-child{border-bottom:0}
.sp-subject .sp-pic{width:32px;margin:3px 3px 0 0}
.sp-subject-text{display:block;flex:1;min-width:0}
.sp-subject-text b{display:block;font-size:16.5px;font-weight:650;line-height:1.28;color:var(--ink)}
.sp-subject-text small{display:block;margin-top:2px;font-size:14px;line-height:1.35;color:var(--muted)}
.sp-subject>.icon{flex:none;width:20px;height:20px;color:var(--quiet)}

/* The Smart Bundles section follows on the same page. */
html.sp-shop #smart{border-top:1px solid var(--line)}

/* ---- Menus stay in view (round three): the page's top is the two menus and nothing else, and they stay ----
   No heading and no subtitle in sight (the heading is still there for a screen reader). The menus, without their labels
   ("Grade 12" and "Maths" say what they are), are a white bar from edge to edge, 64px, held under the shop's top bar
   while the cheat sheets are in view; it leaves with them, before the Smart Bundles. */
html[data-sp-kind="page-stay"].sp-shop #shop{padding-top:0}
html[data-sp-kind="page-stay"].sp-shop #findStudy{position:sticky;top:var(--sp-top,57px);z-index:30;margin:0 calc(var(--sp-gutter)*-1) 16px;padding:8px var(--sp-gutter);border-bottom:1px solid var(--line);background:#fff}
html[data-sp-kind="page-stay"].sp-shop #findStudy .fs-top{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[data-sp-kind="page-stay"].sp-shop #findStudy .fs-label{display:none}
html[data-sp-kind="page-stay"].sp-shop #findStudy .fs-bar{margin-top:0}

/* ---- The home page: the shelf where the section was ---- */
.sp-shelf{padding:40px 0 36px;border-top:0}
.sp-shelf .wrap{display:flex;flex-direction:column}
/* On a phone the button comes after the sheets; on a laptop it sits beside the heading (below). */
.sp-shelf-head{display:contents}
.sp-shelf h2{margin:0;font:600 34px/1.15 var(--serif);letter-spacing:-.035em;color:var(--ink)}
.sp-rows{order:1;margin-top:10px}
.sp-all{order:2;display:flex;width:100%;margin-top:18px}
/* One sheet: the cover and the words open it; the price and Add sit at the right (the search's Picture rows). */
.sp-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px 0;border-bottom:1px solid var(--line);min-height:112px;box-sizing:border-box}
.sp-open{display:flex;align-items:flex-start;gap:13px;min-width:0;border:0;padding:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sp-text{display:block;min-width:0}
.sp-text b{display:block;font-size:16.5px;font-weight:650;line-height:1.28;color:var(--ink);overflow-wrap:anywhere}
.sp-text small{display:block;margin-top:3px;font-size:14px;line-height:1.35;color:var(--muted)}
.sp-text small span{white-space:nowrap}
.sp-see{display:inline-block;margin-top:5px;font-size:14px;font-weight:600;line-height:1.3;color:var(--green-hover);text-decoration:underline;text-decoration-color:#8cba9f;text-underline-offset:4px}
/* The price over Add, in a column 84px wide like the shop page's rows: the shop's own price and its small button. */
.sp-buy{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none;min-width:84px}
.sp-buy .small-button{width:84px;padding:8px 10px;gap:5px;font-size:14px}
.sp-buy .small-button .icon{width:16px;height:16px}
.sp-row.is-owned .sp-text b{color:var(--muted)}

/* A small phone: the price and Add go under the words, so a name keeps its room. */
@media(max-width:350px){
 .sp-row{grid-template-columns:minmax(0,1fr);gap:8px}
 .sp-row .sp-buy{flex-direction:row;align-items:center;justify-content:space-between;padding-left:71px}
 html.sp-shop #shopResults .product-list .product-row{grid-template-columns:58px minmax(0,1fr);row-gap:8px}
 html.sp-shop #shopResults .product-row>.sp-cover{grid-row:1/3}
 html.sp-shop #shopResults .product-row>.product-bottom{grid-column:2;grid-row:2;flex-direction:row;align-items:center;justify-content:space-between}
 html.sp-shop #shopResults .product-row>.product-bottom .small-button{width:84px}
 /* The sign of an owned sheet, or of one a bundle brings, takes the line the price and Add had, at its right. */
 html.sp-shop #shopResults .ov .product-row.ovd-low{grid-template-columns:58px minmax(0,1fr);row-gap:0}
 html.sp-shop #shopResults .ov .ovd-low>.sp-cover{grid-row:1/5;align-self:start}
 html.sp-shop #shopResults .ov .ovd-low .product-bottom{grid-column:2;grid-row:4;justify-self:end;margin-top:8px}
}

/* ---- The laptop (round three, 8 October 2026; wider than 600px; made at 1366 by 657) ----
   The same page. Under the shop's own heading and toolbar the subject is one block, three across on the shop's page
   width: the bundle card in the first place, two rows tall, and the sheets beside and under it as picture cards, each
   the size of a phone's row. A subject of seven is three rows, 370px: it is in view without scrolling. */
@media(width > 600px){
 html.sp-shop #shop{padding:34px 0 48px}
 html.sp-shop #findStudy{margin-bottom:22px}
 /* What the section's search finds is named above the cards; nothing is, otherwise. Never the List / Cards switch. */
 html.sp-shop.fs-searching #shopResults .results-heading{display:flex;grid-column:1/-1;margin:0}
 html.sp-shop #shopResults .view-toggle{display:none}
 html.sp-shop #shopResults{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 html.sp-shop #shopResults>:is(.shop-bottom-note,.empty){grid-column:1/-1}
 /* The shop's list gives its rows to this grid: each row is a card in it. */
 html.sp-shop #shopResults>.product-list{display:contents}
 html.sp-shop #shopResults>.product-list::after{content:none}
 html.sp-shop #shopResults .product-list .product-row,
 html.sp-shop #shopResults .product-list .product-row:last-child{padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}
 html.sp-shop #shopResults .product-row>.product-bottom{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:8px;width:84px}
 html.sp-shop #shopResults .product-row .product-title{cursor:pointer}
 /* The sign of an owned or in-bundle card sits on the link's line and is that line's height (a laptop's rows give it
    140 by 44, the room of the price and button; here it has the link's line, as on a phone). */
 html.sp-shop #shopResults .ov .ovd-side .ov-badge{width:auto;min-width:124px;min-height:36px}
 /* The bundle: the first place, two rows tall, laid out as the phone's card is (its words above, its price and
    buttons at the foot), with the phone's mark. One dark surface. */
 html.sp-shop:not([data-sp-bundle="home"]) #shopResults>.subject-bundle{grid-column:1;grid-row:span 2;display:flex;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:22px 24px 20px;border-radius:14px}
 html.sp-shop:not([data-sp-bundle="home"]) #shopResults>.subject-bundle h3{max-width:none;font-size:29px;letter-spacing:-.04em}
 html.sp-shop:not([data-sp-bundle="home"]) #shopResults>.subject-bundle .bundle-meta{margin:10px 0 0;font-size:14px}
 html.sp-shop:not([data-sp-bundle="home"]) #shopResults>.subject-bundle .bundle-buy{margin-top:auto;align-items:stretch;gap:0;min-width:0}
 html.sp-shop:not([data-sp-bundle="home"]) #shopResults>.subject-bundle .bundle-caption{margin-top:4px;font-size:14px}
 html.sp-shop:not([data-sp-bundle="home"]) #shopResults>.subject-bundle .actions{margin-top:14px;justify-content:space-between;flex-wrap:nowrap}
 html.sp-shop[data-sp-kind]:not([data-sp-bundle="home"]) #shopResults .subject-bundle:not(.embedded-bundle,.owned) .bundle-glyph{top:50%;right:-242px;width:453px}

 /* The grade's other subjects: ten, five across. */
 .sp-more{margin-top:40px}
 .sp-subjects{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:14px}
 .sp-subject,.sp-subject:last-child{min-height:66px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;gap:12px}
 .sp-subject:hover{border-color:var(--line-strong)}
 .sp-subject>.icon{display:none}
 .sp-subject-text b{font-size:16px}

 /* The home page's shelf: the heading with the button beside it, then six sheets, three across. */
 .sp-shelf{padding:64px 0 56px}
 .sp-shelf-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
 .sp-shelf h2{font-size:clamp(30px,3.1vw,43px)}
 .sp-all{order:0;width:auto;margin:0}
 .sp-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:26px}
 .sp-row{padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}
 .sp-open:hover .sp-text b{text-decoration:underline;text-decoration-color:#8cba9f;text-underline-offset:4px}
}
/* ---- Menus stay in view on a laptop (round five). The phone's top, with the laptop's own toolbar: no heading in
   sight (it is still there for a screen reader); the grade buttons, the Subject menu and the grade's search are a white
   bar, 72px, from edge to edge, held under the shop's top bar while the cheat sheets are in view. ---- */
@media(width > 600px){
 html[data-sp-bar="stay"].sp-shop #shop{padding-top:0}
 html[data-sp-bar="stay"].sp-shop #findStudy{position:sticky;top:var(--sp-top,77px);z-index:30;margin:0 0 20px;padding:12px 0;border:0}
 html[data-sp-bar="stay"].sp-shop #findStudy::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc(var(--sp-bleed-l,0px)*-1);right:calc(var(--sp-bleed-r,0px)*-1);background:#fff;border-bottom:1px solid var(--line)}
 html[data-sp-bar="stay"].sp-shop #findStudy .fs-top{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 html[data-sp-bar="stay"].sp-shop #findStudy .fs-bar{margin-top:0}
}
/* ---- List, two columns (round eight; "a list version done really well but we make it look like a shop").
   It has the room of the home page's own list on a laptop (the owner: "why u not giving it breathing room like the home
   version of the list?"): the department's name over its count, the bundle as one line of offer, then the list in one
   outlined box, two across with a rule down the middle, a row 114px tall with 16px and 20px round its words, the name
   at 18px. What it adds to the home's list is a cover on every row. ---- */
@media(width > 600px){
 html[data-sp-card="list"][data-sp-kind].sp-shop #findStudy{margin-bottom:22px}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults{display:block}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .results-heading{display:block;margin:0 0 18px}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .results-heading .view-toggle{display:none}
 /* The bundle: one line. Its name at the left; its price, with what it saves under it; then its link and button. */
 html[data-sp-card="list"]:not([data-sp-bundle="home"])[data-sp-kind].sp-shop #shopResults>.subject-bundle{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:32px;align-items:center;min-height:0;margin:0 0 24px;padding:24px 32px;border-radius:14px}
 html[data-sp-card="list"]:not([data-sp-bundle="home"])[data-sp-kind].sp-shop #shopResults>.subject-bundle h3{font-size:29px}
 html[data-sp-card="list"]:not([data-sp-bundle="home"])[data-sp-kind].sp-shop #shopResults>.subject-bundle .bundle-meta{margin:6px 0 0;font-size:14px}
 html[data-sp-card="list"]:not([data-sp-bundle="home"])[data-sp-kind].sp-shop #shopResults>.subject-bundle .bundle-buy{position:relative;display:grid;grid-template-columns:auto auto;column-gap:36px;align-items:center;min-width:0;margin:0}
 html[data-sp-card="list"]:not([data-sp-bundle="home"])[data-sp-kind].sp-shop #shopResults>.subject-bundle .bundle-price{grid-column:1;grid-row:1;margin:0}
 html[data-sp-card="list"]:not([data-sp-bundle="home"])[data-sp-kind].sp-shop #shopResults>.subject-bundle .bundle-price .price{font-size:30px}
 html[data-sp-card="list"]:not([data-sp-bundle="home"])[data-sp-kind].sp-shop #shopResults>.subject-bundle .bundle-caption{grid-column:1;grid-row:2;margin:3px 0 0;font-size:14px;white-space:nowrap}
 html[data-sp-card="list"]:not([data-sp-bundle="home"])[data-sp-kind].sp-shop #shopResults>.subject-bundle .actions{grid-column:2;grid-row:1/3;flex-wrap:nowrap;gap:22px;margin:0}
 html[data-sp-card="list"]:not([data-sp-bundle="home"])[data-sp-kind].sp-shop #shopResults .subject-bundle:not(.embedded-bundle,.owned) .bundle-glyph{top:50%;right:auto;left:44%;width:72px}
 /* The bundle owned whole: its own study lays "You own it" and the ring over the room the price and buttons had,
    measured for a taller card. In this one line they are set in a row instead: the words, the link, the ring. */
 html[data-sp-card="list"]:not([data-sp-bundle="home"])[data-sp-kind].sp-shop #shopResults>.subject-bundle.bs-all .bundle-buy{display:flex!important;flex-direction:row!important;align-items:center!important;gap:28px;min-height:0!important;height:auto!important}
 html[data-sp-card="list"]:not([data-sp-bundle="home"])[data-sp-kind].sp-shop #shopResults>.subject-bundle.bs-all .bs-ghost{display:none}
 html[data-sp-card="list"]:not([data-sp-bundle="home"])[data-sp-kind].sp-shop #shopResults>.subject-bundle.bs-all .bs-say{position:static!important;height:auto!important;margin:0!important}
 html[data-sp-card="list"]:not([data-sp-bundle="home"])[data-sp-kind].sp-shop #shopResults>.subject-bundle.bs-all .bs-ring{position:relative!important;right:auto!important;bottom:auto!important;order:3;flex:none;width:58px!important;height:58px!important;margin:0!important;font-size:15px}
 html[data-sp-card="list"]:not([data-sp-bundle="home"])[data-sp-kind].sp-shop #shopResults>.subject-bundle.bs-all .actions{order:2;white-space:nowrap;margin:0!important;min-height:0!important}
 /* The list: one outlined box, two across. */
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.product-list{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row,
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row:last-child{display:grid;grid-template-columns:58px minmax(0,1fr) auto;grid-template-rows:auto;column-gap:16px;row-gap:0;align-items:center;align-content:center;min-height:114px;padding:16px 20px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff;box-sizing:border-box}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row:nth-child(odd){border-right:1px solid var(--line)}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row:last-child,
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row:nth-last-child(2):nth-child(odd){border-bottom:0}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row>.topic-icon{display:none}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row>.sp-cover{grid-column:1;grid-row:1;align-self:center;width:58px}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row>div:not(.product-bottom){display:block;grid-column:2;grid-row:1;align-self:center;min-width:0}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row .product-title{font-size:18px;font-weight:600;line-height:1.3;text-align:left}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row .product-meta{margin-top:4px;font-size:14px;line-height:1.35}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row .product-more{display:inline-block;min-height:0;margin:6px 0 0;padding:0;font-size:14px;line-height:1.3}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row>.product-bottom{grid-column:3;grid-row:1;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:18px;width:154px;height:44px;margin:0}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row>.product-bottom .price{min-width:44px;font-size:19px;text-align:right}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row>.product-bottom .small-button{width:92px;min-width:0}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row>.product-bottom .ov-badge{width:132px;min-width:0;height:44px;min-height:0}
}
@media(width > 600px) and (max-width:999px){
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.product-list{grid-template-columns:minmax(0,1fr)}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row:nth-child(odd){border-right:0}
 html[data-sp-card="list"][data-sp-kind].sp-shop #shopResults .product-list .product-row:nth-last-child(2):nth-child(odd){border-bottom:1px solid var(--line)}
}
/* The list's bundle in one line, set out again (version three; "keeping this height but omprove layout of information
   and watermark"). Two parts: what it is, at the left (its name; under it its facts with "What's inside" beside them);
   what it costs, at the right (the price with what it saves under it, then the button). The mark is the home card's:
   large, at the right end, cut by the card's edge. */
@media(width > 600px){
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle:not(.bs-all){grid-template-columns:auto auto minmax(0,1fr) auto auto;grid-template-rows:36px 24px;column-gap:0;row-gap:4px;padding:22px 32px}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle:not(.bs-all)>div:first-child{display:contents}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle:not(.bs-all) h3{grid-column:1/4;grid-row:1}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle:not(.bs-all) .bundle-meta{grid-column:1;grid-row:2;margin:0;align-self:center}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle:not(.bs-all) .bundle-buy,
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle:not(.bs-all) .actions{display:contents}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle:not(.bs-all) .actions>.text-button{grid-column:2;grid-row:2;align-self:center;justify-self:start;min-height:0;margin-left:20px;padding:0;font-size:15px;line-height:1.4}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle:not(.bs-all) :is(h3,.bundle-meta,.bundle-price,.bundle-caption,.actions>*){position:relative;z-index:1}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle:not(.bs-all) .bundle-glyph{z-index:0}
 /* A bundle partly owned: its ring (its own study's) stands just left of the price. */
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle:not(.bs-all)>.po-ring{position:relative!important;top:auto!important;right:auto!important;z-index:1;grid-column:3;grid-row:1/3;justify-self:end;align-self:center;margin-right:28px}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle:not(.bs-all) .bundle-price{grid-column:4;grid-row:1;justify-self:end;align-self:end}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle:not(.bs-all) .bundle-caption{grid-column:4;grid-row:2;justify-self:end;align-self:center;margin:0}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle:not(.bs-all) .actions>.button{grid-column:5;grid-row:1/3;align-self:center;margin-left:28px}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults .subject-bundle:not(.embedded-bundle,.owned) .bundle-glyph{top:38%;left:auto;right:-96px;width:453px}
}
/* Narrower than 1180px a card three across would be too narrow for a name (601 to 1179px, not looked at by the owner):
   two across, then one. */
@media(width > 600px) and (max-width:1179px){
 html.sp-shop #shopResults,.sp-rows{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sp-subjects{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(width > 600px) and (max-width:899px){
 .sp-subjects{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(width > 600px) and (max-width:719px){
 html.sp-shop #shopResults,.sp-rows{grid-template-columns:minmax(0,1fr)}
 html.sp-shop #shopResults>.subject-bundle{grid-row:auto}
 .sp-subjects{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sp-shelf-head{display:block}
 .sp-all{margin-top:16px}
}

/* Audit batch 4: the owned tablet bundle keeps the for-sale strip's two rows.
   The old nested price layout reserved 120px beside the statement and squeezed
   the title column to zero. Keep every label in the same 108px strip. */
@media(width > 600px) and (width < 1024px){
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle.bs-all{grid-template-columns:auto auto minmax(0,1fr) auto 58px;grid-template-rows:36px 24px;gap:4px 0;padding:22px 32px}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle.bs-all>div:first-child,
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle.bs-all .bundle-buy,
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle.bs-all .actions{display:contents!important}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle.bs-all h3{grid-column:1/5;grid-row:1}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle.bs-all .bundle-meta{grid-column:1;grid-row:2;margin:0;align-self:center}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle.bs-all .bs-open{grid-column:2;grid-row:2;align-self:center;margin-left:20px;min-height:0;padding:0}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle.bs-all .bs-say{grid-column:4;grid-row:2;align-self:center;padding:0 16px 0 12px!important}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle.bs-all .bs-words{font-size:16px;white-space:nowrap}
 html[data-sp-bundle="zones"][data-sp-card="list"][data-sp-kind].sp-shop #shopResults>.subject-bundle.bs-all .bs-ring{grid-column:5;grid-row:1/3;align-self:center}
}
