.shop-scope {
  --shop-accent: var(--brand, var(--accent, var(--primary, var(--color-primary, var(--color-accent, #1d4ed8)))));
  --shop-on-accent: var(--on-brand, var(--on-accent, #ffffff));
  --shop-muted: color-mix(in srgb, currentColor 72%, transparent);
  --shop-surface: color-mix(in srgb, currentColor 4%, transparent);
  --shop-border: color-mix(in srgb, currentColor 16%, transparent);
  --shop-sale: #b42318;
  --shop-ok: #13795b;
  --shop-radius: var(--r-md, var(--radius, 12px));
  --shop-radius-sm: var(--r-sm, 8px);
  --shop-heading-font: var(--font-display, var(--font-heading, var(--heading-font, inherit)));
  --shop-wrap: var(--wrap, var(--container, 1180px));
  --shop-gap: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  --shop-top: clamp(1.5rem, 1rem + 3vw, 3.5rem);

  box-sizing: border-box;
  width: 100%;
  max-width: var(--shop-wrap);
  margin: 0 auto;
  padding: var(--shop-top) 16px clamp(2.5rem, 2rem + 3vw, 5rem);
  color: var(--shop-text, inherit);
  background: var(--shop-bg, transparent);
  font-family: var(--shop-font, inherit);
  line-height: 1.5;
}
@media (min-width: 720px) { .shop-scope { padding-inline: 24px; } }
.shop-scope { overflow-wrap: break-word; }
.shop-nw { white-space: nowrap; }
.shop-tail { display: inline-block; max-width: 100%; text-indent: 0; }
.shop-scope a[href^="mailto:"] { word-break: normal; overflow-wrap: anywhere; -webkit-hyphens: none; hyphens: none; -webkit-text-decoration-skip: none; text-decoration-skip-ink: none; }
.shop-gl { display: inline-block; max-width: 100%; margin: 0; padding: 0; text-indent: 0; white-space: normal; overflow-wrap: anywhere; word-break: normal; vertical-align: baseline; }
.shop-gl > a, .shop-gl > .shop-gl { display: inline !important; }
.shop-legal h1, .shop-legal h2 { hyphens: auto; }
.shop-scope *, .shop-scope *::before, .shop-scope *::after { box-sizing: border-box; }
.shop-scope [hidden] { display: none !important; }
.shop-scope img { max-width: 100%; height: auto; display: block; }
.shop-scope a { color: inherit; }
.shop-scope :focus-visible { outline: 3px solid var(--shop-accent); outline-offset: 2px; }
.shop-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.shop-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: var(--shop-muted); min-width: 0; }
.shop-crumbs a { text-decoration: none; }
.shop-crumbs a:hover { text-decoration: underline; }
.shop-cartlink { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 600; padding: .5rem .9rem; border: 1px solid var(--shop-border); border-radius: 999px; min-height: 44px; }
.shop-cartlink:hover { border-color: var(--shop-accent); }
.shop-count { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .35rem; border-radius: 999px; background: var(--shop-accent); color: var(--shop-on-accent); font-size: .8rem; font-weight: 700; }
.shop-count.is-bump { animation: shop-bump .35s ease; }
@keyframes shop-bump { 50% { transform: scale(1.25); } }

.shop-head { margin-bottom: 1.25rem; }
.shop-title { font-family: var(--shop-heading-font); font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); line-height: 1.1; margin: 0; }
.shop-lead { font-size: 1.1rem; margin: .75rem 0 1.25rem; }
.shop-empty { color: var(--shop-muted); padding: 2rem 0; }
.shop-hint { color: var(--shop-muted); font-size: .9rem; margin: .5rem 0 0; }
.shop-vat { color: var(--shop-muted); font-size: .85rem; margin: .25rem 0 0; }

.shop-flash { padding: .8rem 1rem; border-radius: var(--shop-radius-sm); margin: 0 0 1rem; border: 1px solid var(--shop-border); background: var(--shop-surface); }
.shop-flash-ok { border-color: color-mix(in srgb, var(--shop-ok) 45%, transparent); }
.shop-flash-error { border-color: color-mix(in srgb, var(--shop-sale) 55%, transparent); }
.shop-live:empty { display: none; }
.shop-live { position: fixed; z-index: 50; left: 50%; bottom: 1rem; transform: translateX(-50%); max-width: calc(100% - 32px); padding: .75rem 1rem; border-radius: var(--shop-radius-sm); background: #111; color: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); font-size: .95rem; }
.shop-live a { color: #fff; font-weight: 700; margin-left: .5rem; }

.shop-cats ul { list-style: none; display: flex; gap: .5rem; flex-wrap: nowrap; overflow-x: auto; margin: 0 0 1.5rem; padding: 0 0 .25rem; scrollbar-width: thin; }
.shop-cats a { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem 1rem; border-radius: 999px; border: 1px solid var(--shop-border); text-decoration: none; white-space: nowrap; font-size: .95rem; }
.shop-cats a:hover { border-color: var(--shop-accent); }
.shop-cats a[aria-current="page"] { background: var(--shop-accent); border-color: var(--shop-accent); color: var(--shop-on-accent); }

.shop-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--shop-gap) clamp(.75rem, .5rem + 1vw, 1.5rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop-card-link { display: block; text-decoration: none; height: 100%; }
.shop-card-media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--shop-radius); overflow: hidden; background: var(--shop-surface); }
.shop-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.shop-card-link:hover .shop-card-media img { transform: scale(1.04); }
.shop-card-noimg { display: block; width: 100%; height: 100%; min-height: 6rem; background: linear-gradient(135deg, var(--shop-surface), color-mix(in srgb, currentColor 10%, transparent)); }
.shop-card-title { font-family: var(--shop-heading-font); font-size: 1.02rem; font-weight: 600; line-height: 1.3; margin: .7rem 0 .2rem; }
.shop-card-link:hover .shop-card-title { text-decoration: underline; text-underline-offset: 3px; }
.shop-card-price { margin: 0; }
.is-soldout .shop-card-media img { opacity: .55; }
.shop-badge { position: absolute; top: .6rem; left: .6rem; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.shop-badge-sale { background: var(--shop-sale); color: #fff; }
.shop-badge-out { background: #111; color: #fff; }
.shop-price { font-weight: 700; }
.shop-price-sale { color: var(--shop-sale); }
.shop-price-was { display: block; color: color-mix(in srgb, currentColor 82%, transparent); font-size: .85rem; font-weight: 400; margin-top: .15rem; }
.shop-price-was s { white-space: nowrap; }

.shop-pages { display: flex; justify-content: center; gap: .4rem; margin-top: 2rem; flex-wrap: wrap; }
.shop-pages a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: var(--shop-radius-sm); border: 1px solid var(--shop-border); text-decoration: none; }
.shop-pages a[aria-current="page"] { background: var(--shop-accent); color: var(--shop-on-accent); border-color: var(--shop-accent); }

.shop-product { display: grid; gap: var(--shop-gap); grid-template-columns: minmax(0, 1fr); }
.shop-product > *, .shop-checkout > *, .shop-order-grid > * { min-width: 0; }
@media (min-width: 860px) { .shop-product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
.shop-gallery-main { border-radius: var(--shop-radius); overflow: hidden; background: var(--shop-surface); aspect-ratio: 1 / 1; }
.shop-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.shop-thumbs { list-style: none; display: flex; gap: .5rem; margin: .75rem 0 0; padding: 0; overflow-x: auto; }
.shop-thumb { padding: 0; border: 2px solid transparent; border-radius: var(--shop-radius-sm); background: none; cursor: pointer; width: 72px; height: 72px; overflow: hidden; flex: none; }
.shop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop-thumb[aria-current="true"] { border-color: var(--shop-accent); }
.shop-buy { display: flex; flex-direction: column; gap: .25rem; }
@media (min-width: 860px) { .shop-buy { position: sticky; top: 6rem; } }
.shop-product-price { font-size: 1.4rem; margin: .5rem 0 0; }
.shop-addform { margin: 1.25rem 0 0; display: grid; gap: 1rem; }
.shop-variants { border: 0; padding: 0; margin: 0; }
.shop-variants legend { font-weight: 600; margin-bottom: .5rem; padding: 0; }
.shop-variant-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.shop-variant { position: relative; }
.shop-variant input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.shop-variant > span { display: inline-flex; align-items: center; min-height: 44px; min-width: 48px; justify-content: center; padding: .45rem 1rem; border: 1px solid var(--shop-border); border-radius: var(--shop-radius-sm); cursor: pointer; }
.shop-variant input:checked + span { border-color: var(--shop-accent); box-shadow: inset 0 0 0 1px var(--shop-accent); font-weight: 600; }
.shop-variant input:focus-visible + span { outline: 3px solid var(--shop-accent); outline-offset: 2px; }
.shop-variant.is-out > span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.shop-stock { margin: 0; font-size: .95rem; color: var(--shop-muted); }
.shop-addrow { display: flex; gap: .75rem; align-items: stretch; flex-wrap: wrap; }
.shop-addrow .shop-btn { flex: 1 1 12rem; }
.shop-qty input { width: 5rem; min-height: 48px; padding: .5rem; text-align: center; font: inherit; color: inherit; background: transparent; border: 1px solid var(--shop-border); border-radius: var(--shop-radius-sm); }
.shop-desc { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--shop-border); }
.shop-desc p { margin: 0 0 1em; }
.shop-desc > :last-child { margin-bottom: 0; }

.shop-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: var(--shop-radius-sm); border: 1px solid var(--shop-border); background: transparent; color: inherit; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, opacity .15s; }
.shop-btn:hover { border-color: var(--shop-accent); }
.shop-btn-primary, .shop-scope a.shop-btn-primary { background: var(--shop-accent); border-color: var(--shop-accent); color: var(--shop-on-accent); }
.shop-btn-primary:hover { opacity: .9; }
.shop-btn[disabled], .shop-btn.is-busy { opacity: .5; cursor: not-allowed; }
.shop-btn-block { width: 100%; }
.shop-linkbtn { background: none; border: 0; padding: .25rem 0; font: inherit; color: var(--shop-muted); text-decoration: underline; cursor: pointer; }

.shop-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--shop-border); }
.shop-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "media info total" "media qty remove"; gap: .5rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--shop-border); align-items: center; }
@media (min-width: 720px) { .shop-line { grid-template-columns: 96px minmax(0, 1fr) auto auto auto; grid-template-areas: "media info qty total remove"; } }
.shop-line-media { grid-area: media; border-radius: var(--shop-radius-sm); overflow: hidden; background: var(--shop-surface); aspect-ratio: 1 / 1; }
.shop-line-media img { width: 100%; height: 100%; object-fit: cover; }
.shop-line-info { grid-area: info; display: flex; flex-direction: column; min-width: 0; }
.shop-line-name { font-weight: 600; text-decoration: none; }
.shop-line-variant, .shop-line-unit { color: var(--shop-muted); font-size: .9rem; }
.shop-line .shop-qty { grid-area: qty; }
.shop-line-total { grid-area: total; font-weight: 700; text-align: right; }
.shop-line .shop-linkbtn { grid-area: remove; justify-self: end; }
.shop-cart-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.shop-totals { margin-left: auto; min-width: min(100%, 20rem); display: grid; gap: .5rem; }
.shop-totals p { margin: 0; display: flex; justify-content: space-between; gap: 1rem; font-size: 1.1rem; }
.shop-totals p.shop-vat { font-size: .85rem; }
@media (max-width: 719px) { .shop-totals { margin-left: 0; min-width: 0; flex: 1 1 100%; } }

.shop-checkout { display: grid; gap: var(--shop-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .shop-checkout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }
.shop-fields { border: 1px solid var(--shop-border); border-radius: var(--shop-radius); padding: 1.25rem; margin: 0 0 1.25rem; }
.shop-fields legend { font-family: var(--shop-heading-font); font-weight: 700; font-size: 1.1rem; padding: 0 .4rem; }
.shop-field { display: grid; gap: .35rem; margin-bottom: 1rem; align-content: start; }
.shop-field:last-child { margin-bottom: 0; }
.shop-field-row .shop-field { margin-bottom: 1rem; }
.shop-field label { font-weight: 600; font-size: .95rem; }
.shop-field input, .shop-field select { width: 100%; min-height: 48px; padding: .6rem .8rem; font: inherit; color: inherit; background: transparent; border: 1px solid var(--shop-border); border-radius: var(--shop-radius-sm); }
.shop-field select option { color: #111; }
.shop-field input[aria-invalid="true"], .shop-field select[aria-invalid="true"] { border-color: var(--shop-sale); }
.shop-field-row { display: grid; gap: 0 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .shop-field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.shop-err { color: var(--shop-sale); font-size: .9rem; }
.shop-ship-list { display: grid; gap: .5rem; }
.shop-ship { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .85rem 1rem; border: 1px solid var(--shop-border); border-radius: var(--shop-radius-sm); cursor: pointer; }
.shop-ship:has(input:checked) { border-color: var(--shop-accent); box-shadow: inset 0 0 0 1px var(--shop-accent); }
.shop-ship input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--shop-accent); }
.shop-ship-name small { display: block; color: var(--shop-muted); }
.shop-ship-price { font-weight: 600; white-space: nowrap; }
@media (max-width: 359px) { .shop-ship { grid-template-columns: auto minmax(0, 1fr); } .shop-ship-price { grid-column: 2; } }
.shop-summary { border: 1px solid var(--shop-border); border-radius: var(--shop-radius); padding: 1.25rem; background: var(--shop-surface); }
@media (min-width: 900px) { .shop-summary { position: sticky; top: 6rem; } }
.shop-summary h2, .shop-order h2 { font-family: var(--shop-heading-font); font-size: 1.15rem; margin: 0 0 1rem; }
.shop-sum-lines { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.shop-sum-lines li { display: flex; justify-content: space-between; gap: 1rem; }
.shop-sum-lines small { color: var(--shop-muted); }
.shop-sum-row { display: flex; justify-content: space-between; gap: 1rem; margin: .4rem 0; }
.shop-sum-total { font-size: 1.2rem; padding-top: .75rem; margin-top: .75rem; border-top: 1px solid var(--shop-border); }
.shop-summary .shop-btn { margin-top: 1.25rem; }

.shop-order { max-width: 52rem; }
.shop-order-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--shop-gap); margin: 1.5rem 0; padding: 1.25rem; border: 1px solid var(--shop-border); border-radius: var(--shop-radius); }
@media (min-width: 720px) { .shop-order-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.shop-address { margin: 0; }
.shop-inline { display: inline; }

.shop-legal-note { color: color-mix(in srgb, currentColor 82%, transparent); font-size: .9rem; margin: .6rem 0 0; }
.shop-legal-note a, .shop-company a, .shop-legal a { text-decoration: underline; text-underline-offset: 2px; }
.shop-totals p.shop-legal-note { display: block; font-size: .9rem; }
.shop-summary .shop-order-line { margin-top: 1rem; }
.shop-summary .shop-order-line + .shop-btn, .shop-summary .shop-legal-note + .shop-btn { margin-top: .75rem; }
.shop-company { font-size: .9rem; margin: 1rem 0 0; padding-top: .9rem; border-top: 1px solid var(--shop-border); overflow-wrap: anywhere; }
.shop-co-row { display: block; overflow-x: clip; padding: 0 4px; margin: 0 -4px; }
.shop-co-in { display: flex; flex-flow: row wrap; justify-content: flex-start; align-items: baseline; margin-left: -1.1em; }
.shop-co-item { display: block; flex: 0 1 auto; min-width: 0; overflow-wrap: break-word; padding-left: 1.1em; text-indent: -1.1em; }
.shop-co-sep { display: inline-block; width: 1.1em; text-align: center; text-indent: 0; white-space: nowrap; }
.shop-co-nw, .shop-co-item a[href^="tel:"] { white-space: nowrap; }
.shop-info { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--shop-border); }
.shop-info h2 { font-family: var(--shop-heading-font); font-size: 1.1rem; margin: 0 0 .75rem; }
.shop-info dl { margin: 0; display: grid; gap: .25rem; }
.shop-info dt { font-weight: 600; margin-top: .5rem; }
.shop-info dt:first-child { margin-top: 0; }
.shop-info dd { margin: 0; overflow-wrap: anywhere; }
.shop-info dd p { margin: 0 0 .5em; }
.shop-legal h2 { font-family: var(--shop-heading-font); font-size: 1.2rem; margin: 2rem 0 .6rem; }
.shop-legal p, .shop-legal li { max-width: 46rem; overflow-wrap: anywhere; }
.shop-legal ul { padding-left: 1.2rem; }
.shop-legal .shop-btn { margin-top: .25rem; text-decoration: none; }
.shop-company a[href^="tel:"], .shop-legal a[href^="tel:"] { white-space: nowrap; }
.shop-modelform { margin-top: 2rem; padding: 1.25rem; border: 1px solid var(--shop-border); border-radius: var(--shop-radius); }
.shop-modelform h2 { margin-top: 0; }
@media (max-width: 359px) { .shop-legal .shop-modelform h2 { font-size: 1rem; } }
.shop-withdraw-form { max-width: 34rem; margin-top: 1.25rem; }
.shop-check { display: flex; align-items: center; gap: .6rem; min-height: 44px; cursor: pointer; }
.shop-check input { width: 1.15rem; height: 1.15rem; margin: 0; flex: none; accent-color: var(--shop-accent); }
.shop-withdraw .shop-sum-lines { margin: 1rem 0 1.25rem; }
.shop-withdraw .shop-title + .shop-flash { margin-top: 1.25rem; }
.shop-legal h1, .shop-legal h2, .shop-withdraw .shop-title { text-wrap: balance; }
.shop-legal p, .shop-legal li, .shop-legal-note, .shop-hint, .shop-vat, .shop-flash, .shop-lead, .shop-ship-name small, .shop-price-was { text-wrap: pretty; }

.shop-standalone { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1a1a1a; background: #fff; }

@media (prefers-reduced-motion: reduce) {
  .shop-scope *, .shop-scope *::before, .shop-scope *::after { animation: none !important; transition: none !important; }
}
