/* Owl Web CMS 2.1 - the Shop add-on: shop, product, cart, checkout and order pages.
   Colours come from the website's palette (--c-*), and borders are mixed from the text colour so the
   light and dark themes both work. */
.shop-main, .shop-embed { --shop-line: color-mix(in srgb, currentColor 16%, transparent); --shop-soft: color-mix(in srgb, currentColor 5%, transparent); --shop-radius: 16px; }
.shop-hero--product h1, .shop-hero--flow h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 26ch; }
.shop-hero--product, .shop-hero--flow { padding-top: clamp(1.6rem, 4vw, 3rem); }
.shop-hero--product .sweep, .shop-hero--flow .sweep { height: clamp(24px, 4vw, 56px); }
.shop-section { padding-top: clamp(1.5rem, 4vw, 3rem); }
.shop-crumbs ol { list-style: none; margin: 0 0 .9rem; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem .5rem; font-size: .92rem; }
.shop-crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.shop-crumbs a { color: inherit; opacity: .8; }
.shop-crumbs [aria-current] { opacity: .65; }

/* cart link in the menu */
.shop-nav-cart a { display: inline-flex; align-items: center; gap: .35rem; }
.shop-cart-count { margin-left: .15rem; display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem; border-radius: 999px; background: var(--c-accent, var(--c-primary)); color: #fff; font-size: .78rem; font-weight: 700; line-height: 1; }
.shop-cart-count[hidden] { display: none; }

/* categories and the product grid */
.shop-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.6rem; }
.shop-cats a { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--shop-line); text-decoration: none; color: inherit; font-size: .95rem; }
.shop-cats a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.shop-cats a[aria-current] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.shop-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); }
.shop-card__link { display: flex; flex-direction: column; gap: .35rem; height: 100%; text-decoration: none; color: inherit; }
.shop-card__media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--shop-radius); overflow: hidden; background: var(--shop-soft); margin-bottom: .45rem; }
.shop-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.shop-card__link:hover .shop-card__media img { transform: scale(1.04); }
.shop-card__noimg { position: absolute; inset: 0; background: linear-gradient(135deg, color-mix(in srgb, var(--c-primary) 14%, transparent), color-mix(in srgb, var(--c-accent, var(--c-primary)) 14%, transparent)); }
.shop-card__name { font-family: var(--font-heading); font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.shop-card__link:hover .shop-card__name { color: var(--c-primary); }
.shop-card__summary { font-size: .92rem; opacity: .75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-card__price { margin-top: auto; padding-top: .2rem; font-size: 1.05rem; }
.shop-card.is-out .shop-card__media img { opacity: .55; }
.shop-now { font-weight: 700; }
.shop-now small { font-weight: 400; font-size: .85em; opacity: .75; }
.shop-was { opacity: .72; margin-right: .15rem; }
.shop-badge { position: absolute; top: .7rem; left: .7rem; padding: .25rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; background: var(--c-accent, var(--c-primary)); color: #fff; }
.shop-badge--out { left: auto; right: .7rem; background: #1c2733; }
.shop-badge[hidden] { display: none; }
.shop-empty, .shop-loading { padding: 2rem 0; opacity: .75; }

/* product page */
.shop-product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.shop-gallery__main { border-radius: var(--shop-radius); overflow: hidden; background: var(--shop-soft); aspect-ratio: 1; }
.shop-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-gallery__main--empty { background: linear-gradient(135deg, color-mix(in srgb, var(--c-primary) 14%, transparent), color-mix(in srgb, var(--c-accent, var(--c-primary)) 14%, transparent)); }
.shop-gallery__thumbs { list-style: none; margin: .7rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.shop-gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; width: 72px; height: 72px; display: block; }
.shop-gallery__thumbs button[aria-current] { border-color: var(--c-primary); }
.shop-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-buy__price { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .2rem; font-family: var(--font-heading); }
.shop-buy__gst, .shop-buy__sku, .shop-hint { font-size: .88rem; opacity: .7; margin: .2rem 0 .8rem; }
.shop-buy__summary { font-size: 1.1rem; margin: .6rem 0 1.2rem; }
.shop-buy__form { display: grid; gap: 1rem; margin-top: 1.2rem; }
.shop-buy__row { display: flex; gap: .8rem; align-items: end; flex-wrap: wrap; }
.shop-buy__row .btn { flex: 1 1 12rem; }
.shop-buy__stock { margin: 0; font-size: .95rem; min-height: 1.3em; }
.shop-buy__stock.is-out { color: #b3261e; font-weight: 600; }
.shop-buy__stock.is-low { color: #9a5b00; font-weight: 600; }
.shop-buy__added { margin: 0; padding: .7rem 1rem; border-radius: 12px; background: color-mix(in srgb, #1e8e3e 12%, transparent); border: 1px solid color-mix(in srgb, #1e8e3e 35%, transparent); }
.shop-buy__added[hidden] { display: none; }
.shop-desc { margin-top: clamp(2rem, 5vw, 3.5rem); padding-top: clamp(1.5rem, 4vw, 2.5rem); border-top: 1px solid var(--shop-line); max-width: 46rem; }
.shop-desc h2 { margin-top: 0; }

/* fields */
.shop-field { display: block; font-weight: 600; font-size: .95rem; }
.shop-field > input, .shop-field > select, .shop-field > textarea, .shop-field > .shop-code__row { margin-top: .3rem; }
.shop-field small { font-weight: 400; opacity: .7; }
.shop-field input, .shop-field select, .shop-field textarea { width: 100%; font-weight: 400; }
.shop-main input[type=number] { font: inherit; font-size: 1.05rem; padding: .75rem .9rem; border: 2px solid color-mix(in srgb, var(--c-primary) 18%, white); border-radius: 12px; background: #fff; color: var(--c-ink); }
.shop-field--qty { width: 6.5rem; flex: 0 0 auto; }
.shop-field [aria-invalid="true"] { border-color: #b3261e !important; }
.shop-field__err { color: #b3261e; font-weight: 600; font-size: .88rem; margin: .3rem 0 0; flex-basis: 100%; }
.shop-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.shop-three { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 1rem; }
.shop-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.shop-note { padding: .9rem 1.1rem; border-radius: 12px; background: var(--shop-soft); border: 1px solid var(--shop-line); margin: 0 0 1.2rem; }
.shop-note p { margin: 0 0 .5rem; } .shop-note p:last-child { margin-bottom: 0; }
.shop-note--warn { background: color-mix(in srgb, #e8a100 14%, transparent); border-color: color-mix(in srgb, #e8a100 45%, transparent); }
.shop-note--good { background: color-mix(in srgb, #1e8e3e 12%, transparent); border-color: color-mix(in srgb, #1e8e3e 35%, transparent); }
.shop-note[hidden] { display: none; }

/* cart */
.shop-cart__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.shop-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--shop-line); }
.shop-line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--shop-line); align-items: center; }
.shop-line__img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; background: var(--shop-soft); display: block; }
.shop-line__name { font-family: var(--font-heading); font-weight: 600; text-decoration: none; color: inherit; }
.shop-line__name:hover { color: var(--c-primary); }
.shop-line__meta { font-size: .9rem; opacity: .75; margin: .15rem 0 .5rem; }
.shop-line__controls { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.shop-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--shop-line); border-radius: 999px; overflow: hidden; }
.shop-qty button { width: 2.2rem; height: 2.2rem; border: 0; background: none; color: inherit; font-size: 1.1rem; cursor: pointer; }
.shop-qty button:hover:not(:disabled) { background: var(--shop-soft); }
.shop-qty button:disabled { opacity: .35; cursor: default; }
.shop-qty span { min-width: 2rem; text-align: center; font-weight: 600; }
.shop-link { background: none; border: 0; padding: 0; color: inherit; opacity: .75; text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; }
.shop-link:hover { opacity: 1; color: var(--c-primary); }
.shop-line__total { font-weight: 700; text-align: right; white-space: nowrap; }
.shop-summary { padding: 1.3rem 1.4rem; border-radius: var(--shop-radius); border: 1px solid var(--shop-line); background: var(--shop-soft); position: sticky; top: 6rem; }
.shop-summary h2 { margin: 0 0 .8rem; font-size: 1.25rem; }
.shop-totals { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; }
.shop-totals dt { opacity: .8; } .shop-totals dd { margin: 0; text-align: right; font-weight: 600; }
.shop-totals .is-total { font-size: 1.25rem; font-weight: 700; opacity: 1; padding-top: .6rem; border-top: 1px solid var(--shop-line); margin-top: .3rem; }
.shop-totals .is-note { grid-column: 1 / -1; font-size: .85rem; opacity: .7; text-align: right; font-weight: 400; }
.shop-summary .btn { width: 100%; margin-top: 1.1rem; text-align: center; justify-content: center; }
.shop-summary__lines { list-style: none; margin: 0 0 1rem; padding: 0 0 1rem; border-bottom: 1px solid var(--shop-line); display: grid; gap: .55rem; font-size: .95rem; }
.shop-summary__lines li { display: grid; grid-template-columns: 1fr auto; gap: .8rem; }
.shop-summary__lines small { display: block; opacity: .7; }
.shop-code { margin-top: 1.1rem; }
.shop-code__row { display: flex; gap: .5rem; }
.shop-code__row input { flex: 1 1 auto; width: auto; min-width: 0; text-transform: uppercase; }
.shop-code__row .btn, .shop-summary .shop-code__row .btn { flex: 0 0 auto; width: auto; margin-top: 0; }
.shop-code .shop-hint { margin: .4rem 0 0; }

/* checkout */
.shop-checkout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.shop-checkout[hidden] { display: none; }
.shop-checkout fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; display: grid; gap: 1rem; min-width: 0; }
.shop-checkout legend { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; padding: 0; margin-bottom: .8rem; }
.shop-checkout legend small { font-size: .8rem; font-weight: 400; opacity: .7; }
.shop-choices { display: grid; gap: .6rem; }
.shop-choice { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .8rem; align-items: start; padding: .85rem 1rem; border: 1.5px solid var(--shop-line); border-radius: 12px; cursor: pointer; }
.shop-choice:has(input:checked) { border-color: var(--c-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 18%, transparent); }
.shop-choice input { margin-top: .3rem; accent-color: var(--c-primary); }
.shop-choice strong { font-weight: 600; }
.shop-choice small { grid-column: 2 / -1; opacity: .75; font-size: .88rem; }
.shop-choice__price { font-weight: 600; white-space: nowrap; }
.shop-address { display: grid; gap: 1rem; margin-top: .4rem; }
.shop-address[hidden] { display: none; }
.shop-check { display: flex; flex-wrap: wrap; gap: .2rem .6rem; align-items: flex-start; margin: 0 0 1.2rem; }
.shop-check input { margin-top: .3rem; accent-color: var(--c-primary); }
.shop-place { width: 100%; justify-content: center; text-align: center; }
.shop-place:disabled { opacity: .6; cursor: progress; }

/* order received */
.shop-received { max-width: 44rem; }
.shop-received h2 { margin-top: 2rem; font-size: 1.3rem; }
.shop-bank { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.2rem; margin: .6rem 0; }
.shop-bank dt { opacity: .75; } .shop-bank dd { margin: 0; font-weight: 600; }

@media (max-width: 860px) {
  .shop-product, .shop-cart__grid, .shop-checkout { grid-template-columns: minmax(0, 1fr); }
  .shop-summary { position: static; }
  .shop-checkout .shop-summary { order: -1; }
}
@media (max-width: 560px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
  .shop-two, .shop-three { grid-template-columns: 1fr; }
  .shop-line { grid-template-columns: 64px minmax(0, 1fr); }
  .shop-line__img { width: 64px; height: 64px; }
  .shop-line__total { grid-column: 2; text-align: left; }
}
.shop-checkout__form, .shop-checkout fieldset { min-width: 0; }
.shop-field textarea { max-width: 100%; }

/* Digital products and the library (Owl Web CMS 3.6) */
.shop-buy__digital { margin: .9rem 0 0; font-size: .95rem; color: var(--c-ink, #1c2733); opacity: .85; }
.shop-library { max-width: 860px; }
.shop-library-ready .btn { margin-top: .3rem; }
.lib-signin { max-width: 520px; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--shop-line); border-radius: 16px; background: #fff; }
.lib-signin h2 { margin-top: 0; font-size: 1.4rem; }
.lib-form { display: grid; gap: 1rem; margin-top: 1rem; }
.lib-form .btn { justify-self: start; }
.lib-who { margin: 0 0 1.2rem; }
.lib-items { display: grid; gap: 1.2rem; }
.lib-item { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 1.2rem; border: 1px solid var(--shop-line); border-radius: 16px; background: #fff; }
.lib-item__img { width: 140px; height: 140px; object-fit: cover; border-radius: 12px; }
.lib-item h2 { margin: 0 0 .4rem; font-size: 1.35rem; }
.lib-item h3 { margin: 1rem 0 .4rem; font-size: 1rem; }
.lib-item p { margin: 0 0 .8rem; }
.lib-files { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.lib-files a { font-weight: 600; }
.lib-files small { opacity: .7; }
.lib-out { margin-top: 2rem; }
@media (max-width: 600px) { .lib-item { grid-template-columns: 1fr; } .lib-item__img { width: 100%; height: auto; aspect-ratio: 16 / 9; } }
/* 3.6: hidden parts of the checkout (Delivery, for an order with nothing to deliver) stay hidden whatever the layout's styles say */
.shop-checkout [hidden], .shop-library [hidden] { display: none !important; }

/* 3.7: subscriptions */
.shop-per { font-weight: 400; font-size: .7em; opacity: .75; white-space: nowrap; }
.shop-card__price .shop-per { font-size: .85em; }
.shop-note--sub p { margin: 0 0 .5rem; } .shop-note--sub p:last-child { margin-bottom: 0; }
.shop-summary__lines li > span:last-child small { display: block; text-align: right; opacity: .7; font-size: .85em; }
.lib-h { font-size: 1.3rem; margin: 2rem 0 .8rem; }
.lib-h:first-of-type { margin-top: .5rem; }
.lib-sub { grid-template-columns: 1fr; }
.lib-sub.is-ended { opacity: .75; }
.lib-sub__price { font-size: 1.1rem; font-weight: 700; }
.lib-sub__state { padding: .55rem .8rem; border-radius: 10px; background: var(--shop-soft); }
.lib-sub__state--past_due { background: color-mix(in srgb, #e8a100 14%, transparent); }
.lib-sub__tools { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: .2rem 0 .8rem; }
.lib-sub__tools form { margin: 0; }
.lib-confirm .lib-sub__tools { margin-top: 1.2rem; }
.lib-sub__price small { font-weight: 400; opacity: .75; }

/* 4.20: the postcode for Australia Post prices, and tracking numbers on the order page */
.shop-field--pc { margin: 0 0 .9rem; max-width: 14rem; }
.shop-field__hint { margin: .35rem 0 0; font-weight: 400; font-size: .9rem; opacity: .8; }
.shop-tracking { padding-left: 1.2rem; }
.shop-tracking li { margin: .3rem 0; }

/* 4.21: the shop page's layout, filters, and products on other pages */
.shop-grid--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shop-grid--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-grid--c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shop-grid--c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .shop-grid--c5 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .shop-grid--c4, .shop-grid--c5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .shop-grid--c3, .shop-grid--c4, .shop-grid--c5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 340px) { .shop-grid--c2, .shop-grid--c3, .shop-grid--c4, .shop-grid--c5 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .shop-grid--c2, .shop-grid--c3, .shop-grid--c4, .shop-grid--c5 { gap: 1.2rem .8rem; } .shop-card__name { font-size: 1rem; } .shop-card__btn { padding: .45rem .8rem; font-size: .88rem; } }
.shop-grid--portrait .shop-card__media { aspect-ratio: 4 / 5; }
.shop-grid--landscape .shop-card__media { aspect-ratio: 4 / 3; }
.shop-grid--whole .shop-card__media { aspect-ratio: 1; background: var(--shop-soft); }
.shop-grid--whole .shop-card__media img { object-fit: contain; }
.shop-grid--whole .shop-card__link:hover .shop-card__media img { transform: none; }
.shop-grid--center .shop-card { text-align: center; }
.shop-grid--center .shop-card__buy { justify-content: center; }
.shop-card { display: flex; flex-direction: column; }
.shop-card[hidden] { display: none; }
.shop-card__link { flex: 1 1 auto; height: auto; }
.shop-card__buy { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; margin-top: .7rem; }
.shop-card__btn { padding: .5rem 1rem; font-size: .92rem; }
.shop-card__btn[disabled] { opacity: .55; cursor: not-allowed; }
.shop-card__added { font-size: .88rem; }
.shop-card__added:empty { display: none; }

.shop-browse { display: block; }
.shop-browse__main { min-width: 0; }
.shop-f { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .7rem; margin: 0 0 1rem; }
.shop-f[hidden] { display: none; }
.shop-f__search { flex: 1 1 14rem; max-width: 24rem; }
.shop-f__search input { width: 100%; }
.shop-f__toggle { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; padding: .62rem 1.1rem; border: 1px solid var(--shop-line); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-weight: 600; }
.shop-f__toggle::before { content: ""; width: 1rem; height: .7rem; background: linear-gradient(currentColor, currentColor) 0 0 / 100% 2px, linear-gradient(currentColor, currentColor) 50% 50% / 70% 2px, linear-gradient(currentColor, currentColor) 50% 100% / 40% 2px; background-repeat: no-repeat; }
.shop-f__toggle[aria-expanded="true"], .shop-f__toggle:hover { border-color: var(--c-primary); color: var(--c-primary); }
.shop-f__n { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem; border-radius: 999px; background: var(--c-primary); color: #fff; font-size: .78rem; line-height: 1; }
.shop-f__n[hidden] { display: none; }
.shop-f__groups { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 1rem 2rem; padding: 1.1rem 1.2rem; border: 1px solid var(--shop-line); border-radius: var(--shop-radius); }
.shop-f__groups[hidden] { display: none; }
.shop-f__group { border: 0; margin: 0; padding: 0; min-width: 9rem; }
.shop-f__group legend { font-weight: 700; padding: 0; margin-bottom: .45rem; }
.shop-f__check { display: flex; align-items: center; gap: .45rem; margin: .25rem 0; cursor: pointer; }
.shop-f__check input { width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--c-primary); }
.shop-f__price label { display: inline-flex; align-items: center; gap: .4rem; margin: 0 .8rem .5rem 0; }
.shop-f__money { display: inline-flex; align-items: center; gap: .2rem; }
.shop-f__money input { width: 6rem; }
.shop-f__actions { flex-basis: 100%; margin: 0; }
.shop-f__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin: 0 0 1rem; }
.shop-f__count { margin: 0; font-size: .95rem; opacity: .75; }
.shop-f__sort { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.shop-f__sort select { width: auto; font-weight: 400; }
.shop-browse__none { padding: 1.5rem 0; }
.shop-browse__none[hidden], .shop-more [hidden] { display: none; }
.shop-link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--c-primary); text-decoration: underline; cursor: pointer; }
.shop-more { text-align: center; margin: 1.6rem 0 0; }
@media (min-width: 900px) {
  .shop-browse--side { display: grid; grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
  .shop-browse--side .shop-f { flex-direction: column; flex-wrap: nowrap; position: sticky; top: 6rem; }
  .shop-browse--side .shop-f__search { flex: none; width: 100%; max-width: none; }
  .shop-browse--side .shop-f__toggle { display: none; }
  .shop-browse--side .shop-f__groups, .shop-browse--side .shop-f__groups[hidden] { display: flex; flex: none; width: 100%; flex-direction: column; gap: 1.3rem; padding: 0; border: 0; }
  .shop-browse--side .shop-f__money input { width: 5rem; }
}

/* [product:...] and [products:...] on other pages */
.shop-embed { margin: clamp(1.5rem, 4vw, 2.5rem) 0; }
.shop-embed .shop-cats { margin-bottom: 1rem; }
.shop-plist__more { margin: 1.4rem 0 0; text-align: center; }
.shop-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: center; text-align: left; }
.shop-feature__media a { display: block; position: relative; aspect-ratio: 1; border-radius: var(--shop-radius); overflow: hidden; background: var(--shop-soft); }
.shop-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-feature__name { margin: 0 0 .4rem; font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.shop-feature__name a { color: inherit; text-decoration: none; }
.shop-feature__name a:hover { color: var(--c-primary); }
.shop-feature .shop-buy__form { margin-top: .8rem; }
.shop-feature__more { margin: .8rem 0 0; }
@media (max-width: 720px) { .shop-feature { grid-template-columns: minmax(0, 1fr); } }
.shop-f input[type=search], .shop-f input[type=number], .shop-field--qty input[type=number] { width: 100%; font: inherit; font-size: 1rem; color: inherit; padding: .62rem .9rem; border-radius: 12px; background: transparent; border: 2px solid var(--shop-line); }
.shop-f input[type=search]:focus, .shop-f input[type=number]:focus, .shop-field--qty input[type=number]:focus { outline: none; border-color: var(--c-secondary, var(--c-primary)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-secondary, var(--c-primary)) 22%, transparent); }
.shop-f__money input[type=number] { width: 6.5rem; }
.shop-f__sort select { padding: .55rem 2rem .55rem .8rem; }
.shop-embed .shop-grid, .shop-embed .shop-cats { padding: 0; margin-left: 0; list-style: none; }
.shop-embed .shop-grid > li { margin: 0; padding: 0; }
.shop-embed .shop-grid > li::before, .shop-embed .shop-grid > li::marker { content: none; }
.shop-badge--sale { background: color-mix(in srgb, var(--c-accent, var(--c-primary)) 58%, #111); }   /* 4.21: white text needs a dark enough badge with light accent colours */
