:root{--ed-shop-primary:#07843f;--ed-shop-text:#17212b;--ed-shop-muted:#58636a;--ed-shop-surface:#fff;--ed-shop-border:#dde5e0;--ed-shop-card-border:#efdfd3;--ed-shop-radius:10px;--ed-shop-control-radius:7px;--ed-shop-gap:16px;--ed-shop-scrollbar:#9eaca3;scrollbar-color:var(--ed-shop-scrollbar) transparent;scrollbar-width:thin}
*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-thumb{background:var(--ed-shop-scrollbar);border:2px solid #fff;border-radius:8px}*::-webkit-scrollbar-thumb:hover{background:#6a8171}*::-webkit-scrollbar-track{background:#fff}
.ed-shop,.ed-shop *{box-sizing:border-box}.ed-shop{width:calc(100% - 2 * var(--ed-site-gutter,24px));max-width:calc(var(--ed-site-width,1400px) - 2 * var(--ed-site-gutter,24px));margin:0 auto;color:var(--ed-shop-text);font:14px/1.45 Arial,"Helvetica Neue",sans-serif;text-align:left}.ed-shop [hidden]{display:none!important}.ed-shop button,.ed-shop select,.ed-shop input{font:inherit;color:inherit}.ed-shop button,.ed-shop select,.ed-shop summary,.ed-shop input[type=checkbox],.ed-shop input[type=range]{cursor:pointer}.ed-shop button{border:1px solid var(--ed-shop-border);background:var(--ed-shop-surface)}.ed-shop :is(button,a,input,select,summary):focus-visible{outline:3px solid #07843f80;outline-offset:3px}.ed-shop a{text-decoration:none!important;color:inherit!important}.ed-shop button:disabled{cursor:not-allowed;opacity:.5}.ed-shop button[aria-busy=true]{pointer-events:none;opacity:.6}
.ed-shop--listing{display:grid;grid-template-columns:244px minmax(0,1fr);gap:var(--ed-shop-gap);align-items:start}.ed-shop__main{min-width:0}.ed-shop__filters{border:1px solid var(--ed-shop-border);border-radius:var(--ed-shop-radius);overflow:hidden;background:#fff}.ed-shop__options{display:grid;gap:12px;margin-top:18px}.ed-shop__check{display:grid;grid-template-columns:17px 1fr auto;align-items:start;gap:9px;cursor:pointer;font-size:12px;line-height:1.5}.ed-shop__check input{accent-color:var(--ed-shop-primary);width:16px;height:16px;margin:1px 0 0}.ed-shop__check small{font-size:11px;color:var(--ed-shop-muted)}
.ed-shop__range{margin-top:20px}.ed-shop__sliders{height:24px;position:relative;margin:0 5px 12px}.ed-shop__sliders:before{content:'';position:absolute;top:10px;left:0;right:0;height:4px;border-radius:2px;background:linear-gradient(to right,var(--ed-shop-border) var(--range-start,0%),var(--ed-shop-primary) var(--range-start,0%),var(--ed-shop-primary) var(--range-end,100%),var(--ed-shop-border) var(--range-end,100%))}.ed-shop__sliders input{position:absolute;inset:0;width:100%;height:24px;margin:0;appearance:none;background:transparent;pointer-events:none;border:0}.ed-shop__sliders input::-webkit-slider-thumb{appearance:none;background:var(--ed-shop-primary);border:2px solid white;box-shadow:0 0 0 1px #8bb69d;width:15px;height:15px;border-radius:50%;pointer-events:auto}.ed-shop__sliders input::-moz-range-thumb{background:var(--ed-shop-primary);border:2px solid white;width:13px;height:13px;border-radius:50%;pointer-events:auto}.ed-shop__range-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ed-shop__range-fields label{font-size:11px;color:var(--ed-shop-muted)}.ed-shop__range-fields input{display:block;margin-top:5px;width:100%;height:38px;border:1px solid var(--ed-shop-border);border-radius:5px;padding:7px;background:#fff;font-size:12px}.ed-shop__reset{display:block;margin:12px auto 16px;border:0!important;padding:6px;background:none!important;color:var(--ed-shop-primary)!important;text-decoration:underline}
.ed-shop__toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;min-height:42px;margin-bottom:14px}.ed-shop__toolbar-controls{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-left:auto}.ed-shop__count{font-size:12px;color:var(--ed-shop-muted);white-space:nowrap}.ed-shop__sort{border:1px solid var(--ed-shop-border);border-radius:var(--ed-shop-control-radius);padding:8px 10px;font-size:11px;color:var(--ed-shop-muted)}.ed-shop__sort select{max-width:165px;background:white;border:0;font-size:12px}.ed-shop__views{display:flex;border:1px solid var(--ed-shop-border);border-radius:7px;overflow:hidden}.ed-shop__views button{width:34px;height:34px;border:0;padding:9px}.ed-shop__views button[aria-pressed=true]{background:#e7f5ed;color:var(--ed-shop-primary)}.ed-shop__views svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}.ed-shop__chips{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.ed-shop__chip{font-size:12px!important;border:0!important;padding:6px 9px!important;border-radius:5px!important;background:var(--ed-shop-primary)!important;color:white!important}.ed-shop__chip:hover{background:#066b34!important}
.ed-shop__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;clear:both}.ed-shop--recommendations .ed-shop__grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ed-shop-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--ed-shop-card-border);border-radius:var(--ed-shop-radius);background:#fff;overflow:hidden;transition:border-color .15s}.ed-shop-card:hover{border-color:#93b8a1}.ed-shop-card__media{display:block;position:relative;aspect-ratio:1;overflow:hidden;background:#f8faf9}.ed-shop-card__image{width:100%;height:100%;object-fit:contain;display:block;position:absolute;inset:0;transition:opacity .2s}.ed-shop-card__image--hover{opacity:0}.ed-shop-card__media:hover .ed-shop-card__image--hover.is-ready,.ed-shop-card__media:focus-visible .ed-shop-card__image--hover.is-ready{opacity:1}.ed-shop-card__discount{position:absolute;top:9px;left:9px;background:#ff8900;color:#fff;padding:3px 7px;border-radius:5px;font-size:11px;font-weight:700}.ed-shop-card__availability{position:absolute;left:8px;bottom:8px;border-radius:5px;background:#ffffffed;color:#247044;padding:4px 7px;font-size:10px;font-weight:700}.ed-shop-card__body{display:flex;flex-direction:column;flex:1;padding:12px}.ed-shop-card__title{font-weight:700;font-size:14px;line-height:1.35;min-height:38px;display:block}.ed-shop-card__title:hover{color:var(--ed-shop-primary)!important}.ed-shop-card__description{font-size:12px;line-height:1.45;color:var(--ed-shop-muted);margin:12px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.ed-shop-card__variant{display:block;margin:12px 0;font-size:11px;color:var(--ed-shop-muted)}.ed-shop-card__variant select{display:block;max-width:100%;width:100%;height:37px;padding:7px;margin-top:4px;border:1px solid var(--ed-shop-border);border-radius:var(--ed-shop-control-radius);background:#fff;font-size:12px}.ed-shop-card__bottom{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:space-between;margin-top:auto;padding-top:14px}.ed-shop-card__price{font-size:18px;font-weight:700;white-space:nowrap}.ed-shop-card__old{font-size:11px;color:#89918c;margin-left:5px;white-space:nowrap}.ed-shop-card__action{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border:0!important;border-radius:var(--ed-shop-control-radius);background:var(--ed-shop-primary)!important;color:#fff!important;font-size:13px!important;line-height:1.3;text-decoration:none;cursor:pointer}.ed-shop a.ed-shop-card__action{color:white!important}.ed-shop-card__action:hover{background:#066b34!important}
.ed-shop__more{display:block;width:100%;min-height:45px;margin-top:20px;border-radius:7px;font-weight:700;background:#f8faf9!important}.ed-shop__more:hover{border-color:var(--ed-shop-primary)}.ed-shop__empty{padding:30px 12px;color:var(--ed-shop-muted);grid-column:1/-1;text-align:center}.ed-shop__error{margin-bottom:12px;padding:12px;color:#8f2424;border:1px solid #e6bfbf;background:#fff4f4;border-radius:7px}.ed-shop__error button{margin-left:8px;padding:6px;border-radius:5px}.ed-shop__pending{padding:15px;color:var(--ed-shop-muted);font-size:12px}.ed-shop__mobile-filters{display:none}.ed-shop[data-view=list] .ed-shop__grid{grid-template-columns:1fr}.ed-shop[data-view=list] .ed-shop-card{display:grid;grid-template-columns:160px 1fr}.ed-shop[data-view=list] .ed-shop-card__title{min-height:0}.ed-shop[data-view=list] .ed-shop-card__description{-webkit-line-clamp:2}.ed-preview-banner{padding:12px 20px;text-align:center;background:#fff4cc;color:#57440a;font:14px/1.5 Arial,sans-serif}.ed-shop-page{box-sizing:border-box;width:100%;max-width:var(--ed-site-width,1400px);margin:auto;padding:24px var(--ed-site-gutter,24px)}.ed-shop-page>h1{font:700 32px/1.25 Arial,sans-serif;margin:0 0 16px}.ed-shop-page>p{font:16px/1.6 Arial,sans-serif;margin-bottom:25px}.ed-shop-page .ed-shop{width:100%;max-width:100%;padding:0}

@media(max-width:1000px){.ed-shop--listing{grid-template-columns:220px minmax(0,1fr)}.ed-shop__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ed-shop--recommendations .ed-shop__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ed-shop__sort{flex:1}.ed-shop-card__bottom{align-items:flex-start}}
@media(max-width:760px){.ed-shop--listing{display:block}.ed-shop__mobile-filters{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:12px 15px;border-radius:7px;margin-bottom:12px;font-weight:700!important}.ed-shop__filters{display:none;margin-bottom:16px}.ed-shop__filters.is-open{display:block}.ed-shop__toolbar-controls{margin-left:0;width:100%;justify-content:space-between}.ed-shop-card__body{padding:10px}.ed-shop-card__price{font-size:16px}.ed-shop-card__title{font-size:13px}.ed-shop-card__action{width:100%;font-size:12px!important}.ed-shop-card__bottom>div{width:100%}.ed-shop__grid,.ed-shop--recommendations .ed-shop__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ed-shop[data-view=list] .ed-shop-card{grid-template-columns:120px 1fr}.ed-shop[data-view=list] .ed-shop-card__bottom>div{width:auto}}
@media(max-width:419px){.ed-shop__views{display:none}.ed-shop-card__title{min-height:0}.ed-shop-card__bottom>div{width:auto}.ed-shop-card__action{width:auto}.ed-shop[data-view=list] .ed-shop-card{display:flex}.ed-shop-page>h1{font-size:26px}}
@media(prefers-reduced-motion:reduce){.ed-shop *{transition:none!important;scroll-behavior:auto!important}}@media(forced-colors:active){:root{scrollbar-color:auto}.ed-shop-card__action{border:1px solid ButtonText!important}.ed-shop :focus-visible{outline:2px solid Highlight}}

.ed-shop .ed-shop-card__actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;width:100%}.ed-shop .ed-shop-card__actions .ed-shop-card__action{width:100%;padding:8px 5px;font-size:12px!important}.ed-shop a.ed-shop-card__action--secondary{background:white!important;color:var(--ed-shop-primary)!important;border:1px solid var(--ed-shop-primary)!important}.ed-shop a.ed-shop-card__action--secondary:hover{background:#e7f5ed!important}.ed-shop .ed-shop-card__actions button:disabled{background:#e4e9e6!important;color:#58636a!important;opacity:1}

/* Section navigation follows the existing public URLs; parameters follow the selected section. */
.ed-shop__navigation { padding: 16px 12px; border-bottom: 1px solid var(--ed-shop-border); }
.ed-shop__navigation > p { margin: 0 4px 10px !important; font: 700 14px/1.4 Arial,sans-serif; }
.ed-shop .ed-shop__navigation a { display: flex; align-items: center; min-height: 38px; padding: 8px; border-radius: 7px; font-size: 13px; line-height: 1.35; }
.ed-shop__navigation a:hover { background: #eef8f2; }
.ed-shop .ed-shop__navigation a[aria-current="page"] { background: #def2e5; color: #067437 !important; font-weight: 700; }
.ed-shop__section-group { margin: 0; }
.ed-shop__section-group > summary { display: flex; align-items: stretch; justify-content: space-between; list-style: none; border-radius: 7px; cursor: pointer; }
.ed-shop__section-group > summary::-webkit-details-marker { display: none; }
.ed-shop__section-group > summary > .ed-shop__section-label { display: flex; flex: 1; align-items: center; min-width: 0; min-height: 38px; padding: 8px; border-radius: 7px; font-size: 13px; line-height: 1.35; }
.ed-shop__section-group > summary:hover { background: #eef8f2; }
.ed-shop__section-label[aria-current="page"] { background: #def2e5; color: #067437; font-weight: 700; }
.ed-shop__subsections { margin: 2px 0 7px 10px; padding-left: 6px; border-left: 1px solid var(--ed-shop-border); }
.ed-shop .ed-shop__subsections a { font-size: 12px; }
.ed-shop__additional-label { padding: 17px 14px 0; color: var(--ed-shop-muted); font-size: 12px; }
.ed-shop__check.is-unavailable { color: #78817c; }
.ed-shop__check.is-unavailable input { cursor: not-allowed; }
.ed-shop__filter-dialog { width: min(520px, 100%); max-width: 100%; max-height: 100dvh; margin: auto; padding: 0; border: 0; border-radius: 14px; color: var(--ed-shop-text); background: #fff; }
.ed-shop__filter-dialog::backdrop { background: #17212b66; }
.ed-shop__filter-dialog:not([open]) { display: none; }
.ed-shop__filter-dialog[open] { display: flex; flex-direction: column; }
.ed-shop__filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: none; padding: 14px 18px; border-bottom: 1px solid var(--ed-shop-border); }
.ed-shop__filter-heading h2 { margin: 0; font: 700 20px/1.3 Arial,sans-serif; }
.ed-shop__filter-heading button { width: 40px; height: 40px; padding: 0; font-size: 26px; }
.ed-shop [data-shop-filter-body] { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.ed-shop__filter-dialog .ed-shop__filters { display: block; margin: 0; border: 0; border-radius: 0; }
.ed-shop__filter-footer { flex: none; padding: 12px 18px calc(12px + env(safe-area-inset-bottom,0px)); border-top: 1px solid var(--ed-shop-border); background: #fff; }
.ed-shop__filter-footer button { width: 100%; min-height: 46px; }
body:has(.ed-shop__filter-dialog[open]) { overflow: hidden; }
@media (max-width: 760px) {
    .ed-shop__filter-dialog { height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border-radius: 0; }
}

/* The section browser follows price and height on every listing. */
.ed-shop__section-browser { border-bottom: 1px solid var(--ed-shop-border); }
.ed-shop__section-browser > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 14px; list-style: none; cursor: pointer; font-weight: 700; }
.ed-shop__section-browser > summary::-webkit-details-marker { display: none; }
.ed-shop__section-browser .ed-shop__navigation { padding-top: 0; border-bottom: 0; }

/* Keep every chevron fixed at the row centre, including during disclosure motion. */
.ed-shop__filter-group { margin: 0; padding: 0; border-bottom: 1px solid var(--ed-shop-border); }
.ed-shop__filter-content { display: flow-root; padding: 0 14px 16px; }
.ed-shop__filter-group > summary,
.ed-shop__section-browser > summary,
.ed-shop__section-group > summary {
    position: relative; display: flex; align-items: center; min-height: 52px;
    margin: 0; padding: 14px 44px 14px 14px; list-style: none; font-weight: 700;
    translate: none !important; transform: none !important;
}
.ed-shop__filters summary::-webkit-details-marker { display: none; }
.ed-shop__filters summary::marker { content: ''; }
.ed-shop__chevron {
    position: absolute; right: 14px; top: 50%; width: 16px; height: 16px;
    translate: 0 -50%; rotate: 0deg; transform-origin: center;
    fill: none; stroke: currentColor; stroke-width: 1.5;
    stroke-linecap: round; stroke-linejoin: round;
    pointer-events: none; transition: rotate 240ms cubic-bezier(.2,0,0,1);
}
.ed-shop__filters details[open]:not(.is-closing) > summary > .ed-shop__chevron { rotate: 180deg; }
.ed-shop__section-group > summary { min-height: 38px; padding: 0 32px 0 0; font-weight: 400; }
.ed-shop__section-group > summary > .ed-shop__chevron { right: 8px; }
@media (prefers-reduced-motion: reduce) {
    .ed-shop__chevron { transition: none; }
}

/* A separate button keeps the image link and favourite action independent. */
.ed-shop-card__picture{position:relative;min-width:0;width:100%;align-self:start}
.ed-shop button.ed-shop-card__wish{z-index:2;top:10px;right:10px;width:38px;height:38px;min-height:0;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid var(--ed-shop-border);border-radius:50%;background:#fff!important;color:var(--ed-shop-primary)!important;line-height:1}
.ed-wish-button svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.ed-wish-button[aria-pressed=true] svg{fill:currentColor}
.ed-shop button.ed-shop-card__wish:hover{border-color:var(--ed-shop-primary)}
.ed-shop button.ed-shop-card__wish[aria-busy=true]{opacity:.65}

#allrecords button.ed-wish-button,.ed-wishlist-modal button.ed-wish-button{border-radius:50%!important}

.ed-shop button.ed-shop-card__wish[aria-pressed=true]{color:#d9303e!important}

/* Keep SSR links for crawlers and no-JS visitors; mobile JS starts with four rows. */
@media (max-width: 1000px) {
    .ed-shop[data-ed-listing="true"]:not([data-shop-ready="true"]):not([data-shop-static="true"]) [data-shop-grid] > .ed-shop-card:nth-child(n+9) { display: none; }
    .ed-shop-card--incoming { animation: ed-card-reveal 220ms ease-out both; }
}
@keyframes ed-card-reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .ed-shop-card--incoming { animation: none; } }

@media(max-width:960px){
 .ed-shop .ed-shop__grid,.ed-shop--recommendations .ed-shop__grid,.ed-shop[data-view=list] .ed-shop__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .ed-shop[data-view=list] .ed-shop-card{display:flex}
 .ed-shop .ed-shop__views{display:none}
}
@media(max-width:359px){.ed-shop .ed-shop-card__actions{grid-template-columns:minmax(0,1fr)}}

/* Mobile category rail and left filter drawer, following the elka.me shop pattern. */
.ed-shop__quick-categories { display: none; }
@media (max-width: 760px) {
    .ed-shop__quick-categories {
        display: flex; gap: 10px; width: calc(100% + 20px); max-width: calc(100% + 20px);
        margin: 0 -10px 14px; padding: 3px 10px 7px; overflow-x: auto;
        scroll-snap-type: x mandatory; scroll-padding-inline: 10px; scrollbar-width: none;
        overscroll-behavior-x: contain;
    }
    .ed-shop__quick-categories::-webkit-scrollbar { display: none; }
    .ed-shop a.ed-shop__quick-category {
        display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center;
        flex: 0 0 min(225px, 72vw); min-width: 0; min-height: 84px; padding: 0 10px 0 0;
        overflow: hidden; border: 1px solid var(--ed-shop-border); border-radius: 10px;
        background: #fff; scroll-snap-align: start; font-size: 14px; font-weight: 700; line-height: 1.3;
    }
    .ed-shop__quick-image { display: block; width: 76px; height: 100%; min-height: 82px; overflow: hidden; background: #f3f6f4; border-right: 1px solid #edf1ee; }
    .ed-shop__quick-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
    .ed-shop__quick-label { min-width: 0; padding-left: 10px; overflow-wrap: anywhere; }
    .ed-shop a.ed-shop__quick-category.is-active { border-color: #83c9a3; background: #f3faf5; color: var(--ed-shop-primary) !important; }
    .ed-shop__filter-dialog {
        inset: 0 auto 0 0; width: min(390px, calc(100% - 28px)); max-width: calc(100% - 28px);
        height: 100vh; height: 100dvh; max-height: 100dvh; margin: 0 auto 0 0;
        border-radius: 0 14px 14px 0; box-shadow: 12px 0 36px rgb(7 33 19 / 18%);
    }
    .ed-shop__filter-dialog::backdrop { background: rgb(15 29 21 / 38%); backdrop-filter: blur(2px); }
    .ed-shop__filter-dialog[open]::backdrop { animation: ed-filter-backdrop-in 220ms ease both; }
    .ed-shop__filter-dialog.is-closing::backdrop { animation: ed-filter-backdrop-out 220ms ease both; }
    .ed-shop [data-shop-filter-body] { flex: 1 1 auto; overflow-x: hidden; }
}
@media (max-width: 420px) {
    .ed-shop a.ed-shop__quick-category { flex-basis: min(210px, 72vw); min-height: 76px; grid-template-columns: 68px minmax(0, 1fr); }
    .ed-shop__quick-image { width: 68px; min-height: 74px; }
}
@keyframes ed-filter-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ed-filter-backdrop-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ed-shop__filter-dialog::backdrop { animation: none !important; } }

/* Transparent alternate photos must not reveal the first photo beneath them. */
.ed-shop-card__media:has(.ed-shop-card__image--hover.is-ready):hover .ed-shop-card__image:not(.ed-shop-card__image--hover),
.ed-shop-card__media:has(.ed-shop-card__image--hover.is-ready):focus-visible .ed-shop-card__image:not(.ed-shop-card__image--hover){opacity:0}

/* A prominent catalogue action, sharing the storefront's primary colour. */
#allrecords .ed-shop--listing .ed-shop__more {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin-top: 28px;
    padding: 16px 24px;
    border: 1px solid var(--ed-shop-primary, #07843f) !important;
    border-radius: var(--ed-shop-radius, 10px);
    background: var(--ed-shop-primary, #07843f) !important;
    color: #fff !important;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    box-shadow: 0 6px 16px rgb(7 132 63 / 16%);
    transition: background-color .2s, border-color .2s, box-shadow .2s;
}
#allrecords .ed-shop--listing .ed-shop__more:hover {
    background: #066b33 !important;
    border-color: #066b33 !important;
    box-shadow: 0 8px 20px rgb(7 132 63 / 22%);
}
#allrecords .ed-shop--listing .ed-shop__more:focus-visible {
    outline: 3px solid #07843f80;
    outline-offset: 4px;
}

/* Match ten desktop rows before catalog data arrives; no-JS and request-error fallbacks keep every card. */
@media(min-width:1001px){.ed-shop[data-ed-listing="true"]:not([data-shop-ready="true"]):not([data-shop-static="true"]) [data-shop-grid]>.ed-shop-card:nth-child(n+13){display:none}}
@media(min-width:961px) and (max-width:1000px){.ed-shop[data-ed-listing="true"]:not([data-shop-ready="true"]):not([data-shop-static="true"]) [data-shop-grid]>.ed-shop-card:nth-child(n+9){display:none}}

/* Numbered catalogue pages: four rows per viewport, no infinite scrolling. */
.ed-shop .ed-shop__pagination { margin-top:28px; }
.ed-shop .ed-shop__pagination[hidden] { display:none!important; }
.ed-shop .ed-shop__pagination-pages { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; }
#allrecords .ed-shop .ed-shop__page { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; min-width:42px; min-height:42px; padding:9px 13px; border:1px solid #dbe5df; border-radius:10px; background:#fff; color:#07843f; font:600 14px/1.4 Arial,sans-serif; text-decoration:none; }
#allrecords .ed-shop a.ed-shop__page:hover { background:#e8f5ed; border-color:#07843f; }
#allrecords .ed-shop a.ed-shop__page:focus-visible { outline:2px solid #07843f; outline-offset:3px; }
#allrecords .ed-shop .ed-shop__page.is-current { border-color:#07843f; background:#07843f; color:#fff; }
#allrecords .ed-shop .ed-shop__page.is-disabled { color:#88978f; background:#f5f7f6; }
.ed-shop .ed-shop__page-gap { padding:6px; color:#6d8177; }
.ed-shop .ed-shop__pagination-summary { margin-top:12px; text-align:center; color:#6d8177; font:13px/1.5 Arial,sans-serif; }
.ed-shop .ed-shop__toolbar { scroll-margin-top:170px; }
@media(max-width:560px){#allrecords .ed-shop .ed-shop__page{min-width:36px;min-height:40px;padding:8px 10px;font-size:13px}.ed-shop .ed-shop__pagination-pages{gap:6px}.ed-shop .ed-shop__toolbar{scroll-margin-top:140px}}

/* Owner-controlled product badges share the same position in every card. */
.ed-product__photo-stage{position:relative}
.ed-product-badge{position:absolute;z-index:2;pointer-events:none;font-family:Arial,sans-serif}
.ed-product-badge--sale{top:12px;left:12px;padding:6px 11px;border-radius:4px;background:#d71920;color:#fff;font-size:14px;font-weight:700;line-height:20px;box-shadow:0 1px 3px #0002}
.ed-product-badge--hit{top:-2px;left:-2px;display:block;width:100px;height:92px;object-fit:contain}
@media(max-width:560px){.ed-product-badge--sale{top:9px;left:9px;padding:4px 8px;font-size:12px;line-height:18px}.ed-product-badge--hit{width:70px;height:auto}}
