/* Paul Meccanico: brand tokens + what classes cannot carry (stylesheet "Paul Meccanico" in Etch).
   ACSS settings in build/acss.json: base #ffffff (page), primary #ffc615 (yellow), text-dark #141414, fonts self-hosted woff2
   (Archivo Black 400 for headings, Inter 400-700 for text). Mobile first, desktop from 900px.
   Here: tokens, base element rules, the markup jb.web renders (jb-*), keyframes, View Transitions, reduced motion. */
:root {
  --pm-yellow: #ffc615;
  --pm-black: #141414;
  --pm-ink: #141414;
  --pm-grey: #555555;
  --pm-grey-on-black: #b3b3b3;
  --pm-line: #e5e5e5;
  --pm-soft: #f4f4f4;
  --pm-white: #ffffff;
  --pm-radius: 4px;
  --pm-pill: 999px;
  --pm-gutter: 16px;
  --pm-max: 1240px;
  --pm-header-h: 64px;
  --pm-display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --pm-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pm-ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 900px) {
  :root { --pm-gutter: 32px; }
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--pm-header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html,
body {
  background-color: var(--pm-white);
}
body {
  margin: 0;
  color: var(--pm-ink);
  font-family: var(--pm-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
}
img {
  max-width: 100%;
  height: auto;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--pm-yellow);
  outline-offset: 2px;
}
body.is-locked {
  overflow: hidden;
}

/* ---------- product cards, photos and buy form (rendered by jb.web inside .product-grid / .product__photos / .buybar) ---------- */
.jb-card {
  display: block;
  position: relative;
  color: inherit;
  text-decoration: none;
  transition: transform .25s var(--pm-ease);
}
.jb-card:hover {
  transform: translateY(-4px);
}
.jb-card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--pm-radius);
  background: var(--pm-soft);
  transition: transform .6s var(--pm-ease);
}
picture.jb-card-photo {
  overflow: hidden;
}
picture.jb-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jb-card-name,
.jb-card-title {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}
.jb-card-price {
  display: block;
  font-size: 14px;
}
.jb-card-price del {
  color: var(--pm-grey);
  margin-right: 6px;
}
.jb-card-stock,
.jb-card-date,
.jb-card-author,
.jb-card-category {
  display: block;
  font-size: 12px;
  color: var(--pm-grey);
}
.jb-card-excerpt {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--pm-grey);
}
.jb-sold-out .jb-card-photo {
  opacity: .55;
}
.jb-empty {
  grid-column: 1 / -1;
  color: var(--pm-grey);
}
.jb-photo {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  scroll-snap-align: start;
  background: var(--pm-soft);
}
@media (min-width: 900px) {
  .jb-photo:first-child { grid-column: 1 / -1; }
}
.jb-buy {
  display: grid;
  gap: 10px;
}
.jb-buy-choice,
.jb-buy-quantity {
  display: grid;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}
.jb-buy-choice select,
.jb-buy-quantity input {
  height: 48px;
  padding: 0 14px;
  border: 2px solid var(--pm-black);
  border-radius: var(--pm-pill);
  background: var(--pm-white);
  font: 15px var(--pm-body);
  color: var(--pm-ink);
}
.jb-buy-quantity input {
  width: 96px;
}
.jb-buy-button {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: var(--pm-pill);
  background: var(--pm-yellow);
  color: var(--pm-black);
  font: 17px var(--pm-display);
  cursor: pointer;
}
.jb-buy-button:hover {
  background: var(--pm-black);
  color: var(--pm-yellow);
}
.jb-buy-button.is-stamped {
  animation: pm-stamp .5s var(--pm-ease) both;
}
.jb-buy-note {
  margin: 0;
  font-size: 14px;
}
.jb-buy-note:empty {
  display: none;
}
.jb-variants {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
}

/* ---------- categories, blog lists, pager (jb.web) ---------- */
.jb-category-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 2px solid var(--pm-black);
  border-radius: var(--pm-pill);
  background: var(--pm-white);
  color: var(--pm-ink);
  font: 600 14px var(--pm-body);
  text-decoration: none;
  white-space: nowrap;
}
.jb-category-link.jb-active,
.jb-category-link[aria-current] {
  background: var(--pm-black);
  color: var(--pm-yellow);
}
.jb-pager-newer,
.jb-pager-older {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: inherit;
}

/* ---------- basket panel (jb.web basket.js fills [data-jb-basket="list"]) ---------- */
.jb-basket-none {
  color: var(--pm-grey);
}
.jb-basket-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--pm-line);
}
.jb-basket-photo {
  grid-row: span 2;
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--pm-radius);
  background: var(--pm-soft);
}
.jb-basket-name {
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}
.jb-basket-quantity {
  width: 64px;
  height: 36px;
  border: 1px solid var(--pm-grey);
  border-radius: var(--pm-radius);
  padding: 0 8px;
  font: inherit;
}
.jb-basket-price {
  font-weight: 600;
}
.jb-basket-remove {
  min-height: 36px;
  border: 0;
  background: none;
  color: var(--pm-grey);
  text-decoration: underline;
  cursor: pointer;
  font: 13px var(--pm-body);
}
.jb-basket-total {
  margin: 16px 0;
  font: 18px var(--pm-display);
}
.jb-basket-empty:empty,
[data-jb-basket="count"]:empty {
  display: none;
}

/* ---------- blog post body (jb.blog) ---------- */
figure.jb-figure {
  margin: 24px 0;
}
figure.jb-figure img {
  border-radius: var(--pm-radius);
}
.jb-align-center {
  text-align: center;
}
p.jb-button-row a.jb-button {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--pm-pill);
  background: var(--pm-black);
  color: var(--pm-yellow);
  font-weight: 600;
  text-decoration: none;
}
hr.jb-divider {
  border: 0;
  border-top: 2px solid var(--pm-black);
  margin: 32px 0;
}
div.jb-columns {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  div.jb-columns-2 { grid-template-columns: 1fr 1fr; }
  div.jb-columns-3 { grid-template-columns: repeat(3, 1fr); }
  div.jb-columns-2-1 { grid-template-columns: 2fr 1fr; }
  div.jb-columns-1-2 { grid-template-columns: 1fr 2fr; }
}
figure.jb-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
table.jb-table {
  width: 100%;
  border-collapse: collapse;
}
table.jb-table td,
table.jb-table th {
  border-bottom: 1px solid var(--pm-line);
  padding: 8px;
  text-align: left;
}
.jb-share-label {
  font-weight: 600;
  margin-right: 8px;
}

/* ---------- motion ---------- */
@keyframes pm-marquee {
  to { transform: translateX(-50%); }
}
@keyframes pm-stamp {
  0% { transform: rotate(-16deg) scale(1.6); opacity: 0; }
  70% { transform: rotate(-3deg) scale(.95); opacity: 1; }
  100% { transform: none; }
}
@keyframes pm-fade-out {
  to { opacity: 0; }
}
@keyframes pm-fade-in {
  from { opacity: 0; transform: translateY(8px); }
}
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: pm-fade-out .18s ease both;
}
::view-transition-new(root) {
  animation: pm-fade-in .28s var(--pm-ease) both;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@keyframes basket-in {
  from { transform: translateX(100%); }
}

/* Reveal on scroll: hidden only with JS (head script sets html.js) and when motion is allowed; header script adds .is-in. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--pm-ease), transform .7s var(--pm-ease);
  }
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}
.post-grid .jb-card-photo {
  aspect-ratio: 3 / 2;
}

/* Models banner in the shop: only on the shop's main page (modelbanner.js marks .is-root, removes it on category pages); smooth open */
.model-banner:not(.is-root) { display: none; }
.model-banner { interpolate-size: allow-keywords; }
.model-banner::details-content { block-size: 0; overflow: clip; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
.model-banner[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .model-banner::details-content { transition: none; } }

/* ---------- 26-11: jb.shop markup (layer of 26-11) ---------- */
/* Product photos are cut-outs (transparent PNG, 4:3 or 3:2): show them whole on a light card, never cropped. */
.jb-card-photo,
.jb-photo {
  object-fit: contain;
  background: var(--pm-soft);
}
/* One line under the price: collection (UNIQUE PIECES / Limited Edition / Art Collection) or the edition number. */
.jb-card-label,
.jb-card-edition {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: var(--pm-pill);
  background: var(--pm-black);
  color: var(--pm-yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.jb-card-label-limited-edition,
.jb-card-edition {
  background: var(--pm-yellow);
  color: var(--pm-black);
}
.jb-card-label-art-collection {
  background: #e8e8e8;
  color: var(--pm-black);
}
.jb-badge-sale {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: var(--pm-pill);
  background: var(--pm-yellow);
  color: var(--pm-black);
  font-size: 12px;
  font-weight: 700;
}
.jb-card-price del {
  color: var(--pm-grey);
}
/* Category chips: jb.shop also has internal top categories (PM shop, vouchers, SOLD, TEST …): only the shop's collections show. */
[data-jb-categories] .jb-category-link {
  display: none;
}
[data-jb-categories] .jb-category-link:is([href$="/unique-pieces/"], [href$="/limited-edition/"], [href$="/art-collection/"], [href$="/bags/"],
  [href$="/accessories/"], [href$="/cases/"], [href$="/women/"], [href$="/men/"], [href$="/new-arrivals/"], [href$="/pm-gift-cards/"]) {
  display: inline-flex;
}
/* Search form (data-jb-search) */
.jb-search {
  display: flex;
  gap: 8px;
}
.jb-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 0 18px;
  border: 2px solid var(--pm-black);
  border-radius: var(--pm-pill);
  background: var(--pm-white);
  font: 16px var(--pm-body);
  color: var(--pm-ink);
}
.jb-search button {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--pm-pill);
  background: var(--pm-black);
  color: var(--pm-yellow);
  font: 600 15px var(--pm-body);
  cursor: pointer;
}
/* Filters (data-jb-filters: model, stock, sort) */
.jb-filter {
  display: flex;
  gap: 6px;
  align-items: center;
  overflow-x: auto;
  max-width: 100%;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
}
.jb-filter-name {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  margin-right: 4px;
}
.jb-filter-value {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--pm-black);
  border-radius: var(--pm-pill);
  color: var(--pm-ink);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.jb-filter-active {
  background: var(--pm-black);
  color: var(--pm-yellow);
}
.jb-filter-count {
  font-size: 11px;
  opacity: .7;
}
/* Basket count: jb.web writes "0" with .jb-basket-empty */
.jb-basket-empty {
  display: none !important;
}
.jb-card-photo {
  aspect-ratio: 1 / 1;
}
.jb-photo {
  aspect-ratio: 1 / 1;
}
/* 02-12: the quantity field stays, also for a piece that exists once (like INOOUT) */

/* ---------- 02-12: shop like INOOUT (filters.js sticky bar, colour swatches, cards) ---------- */
/* Filter bar: desktop = one button per filter opening a small panel; phone = "Filtri" button opening a bottom sheet. */
.shop-bar .shop-bar__panel .jb-filter { display: none; }
.shop-bar .shop-bar__panel .jb-filter.is-open { display: flex; flex-wrap: wrap; gap: 8px; width: fit-content; max-width: min(760px, 100%); margin-top: 6px;
  padding: 14px; overflow: visible; border: 1px solid var(--pm-line); border-radius: 8px; background: var(--pm-white); box-shadow: 0 12px 32px rgb(20 20 20 / .14); }
.shop-bar .shop-bar__panel .jb-filter.is-open .jb-filter-name { display: none; }
@media (max-width: 767.98px) { .shop-bar > .shop-bar__panel { display: none; } }
.shop-bar__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid rgb(20 20 20 / .25); border-radius: var(--pm-pill);
  background: var(--pm-white); color: var(--pm-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.shop-bar__btn::after { content: ""; width: 7px; height: 7px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate .2s; }
.shop-bar__btn[aria-expanded="true"]::after { rotate: -135deg; translate: 0 2px; }
.shop-bar__btn:hover { border-color: var(--pm-black); }
.shop-bar__btn:focus-visible, .shop-bar__open:focus-visible { outline: 2px solid var(--pm-black); outline-offset: 2px; }
.shop-bar__btn.is-active { background: var(--pm-black); border-color: var(--pm-black); color: var(--pm-yellow); }
.shop-bar__val { font-weight: 400; opacity: .85; }
.shop-bar__val:empty { display: none; }
.shop-bar__clear[hidden] { display: none; }
.shop-bar .jb-filter-value, .shop-sheet .jb-filter-value { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border: 1px solid rgb(20 20 20 / .25); border-radius: var(--pm-pill); background: var(--pm-white); color: var(--pm-ink); font-size: 14px; text-decoration: none; white-space: nowrap; }
.shop-bar .jb-filter-value:hover, .shop-sheet .jb-filter-value:hover { border-color: var(--pm-black); }
.shop-bar .jb-filter-active, .shop-sheet .jb-filter-active { background: var(--pm-black); border-color: var(--pm-black); color: var(--pm-yellow); font-weight: 600; }
.shop-bar .jb-filter-count, .shop-sheet .jb-filter-count { font-size: .8em; opacity: .6; }
.shop-sheet { width: 100%; max-width: none; max-height: 85dvh; margin: auto 0 0; padding: 0; border: 0; border-radius: 16px 16px 0 0;
  background: var(--pm-white); color: var(--pm-ink); overscroll-behavior: contain; }
.shop-sheet[open] { display: flex; flex-direction: column; }
.shop-sheet::backdrop { background: rgb(20 20 20 / .5); }
.shop-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--pm-line); font-size: 18px; }
.shop-sheet__close { width: 44px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--pm-ink); cursor: pointer; }
.shop-sheet__body { overflow-y: auto; padding: 4px 20px; }
.shop-sheet__body .jb-filter { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; overflow: visible; border-bottom: 1px solid var(--pm-line); }
.shop-sheet__body .jb-filter-name { flex-basis: 100%; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.shop-sheet__foot { padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--pm-line); }
.shop-sheet__done { width: 100%; min-height: 48px; border: 0; border-radius: var(--pm-pill); background: var(--pm-black); color: var(--pm-yellow); font: inherit; font-weight: 600; cursor: pointer; }
/* Search in the bar: a pill with a round magnifier button */
.shop-bar .jb-search { display: flex; align-items: center; width: 100%; min-height: 40px; gap: 0; padding: 0 4px 0 16px;
  border: 1px solid rgb(20 20 20 / .25); border-radius: var(--pm-pill); background: var(--pm-white); }
.shop-bar .jb-search:focus-within { border-color: var(--pm-black); }
.shop-bar .jb-search input { flex: 1; min-width: 0; height: 38px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--pm-ink); outline: none; }
.shop-bar .jb-search button { flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; font-size: 0; cursor: pointer;
  background: var(--pm-black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc615' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.shop-bar .jb-search:focus-within:has(input:focus-visible) { outline: 2px solid var(--pm-black); outline-offset: 2px; }
/* Colour filter (jb.shop property "colore", same values as INOOUT): round swatch before the name */
[data-property="colore"] .jb-filter-value[href*="colore="]::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--swatch, var(--pm-soft)); box-shadow: inset 0 0 0 1px rgb(20 20 20 / .18); }
[data-property="colore"] .jb-filter-active[href*="colore="]::before { box-shadow: inset 0 0 0 1px rgb(20 20 20 / .18), 0 0 0 2px var(--pm-yellow); }
[data-property="colore"] .jb-filter-value:is([href*="colore=nero&"], [href$="colore=nero"]) { --swatch: #141210; }
[data-property="colore"] .jb-filter-value:is([href*="colore=bianco&"], [href$="colore=bianco"]) { --swatch: #ffffff; }
[data-property="colore"] .jb-filter-value:is([href*="colore=verde&"], [href$="colore=verde"]) { --swatch: #3f8f4f; }
[data-property="colore"] .jb-filter-value:is([href*="colore=blu&"], [href$="colore=blu"]) { --swatch: #2f5fb3; }
[data-property="colore"] .jb-filter-value:is([href*="colore=rosa&"], [href$="colore=rosa"]) { --swatch: #ec8fb6; }
[data-property="colore"] .jb-filter-value:is([href*="colore=giallo&"], [href$="colore=giallo"]) { --swatch: #f2c94c; }
[data-property="colore"] .jb-filter-value:is([href*="colore=rosso&"], [href$="colore=rosso"]) { --swatch: #c33a2b; }
[data-property="colore"] .jb-filter-value:is([href*="colore=arancione&"], [href$="colore=arancione"]) { --swatch: #ee8a2f; }
[data-property="colore"] .jb-filter-value:is([href*="colore=viola&"], [href$="colore=viola"]) { --swatch: #7d4fa8; }
[data-property="colore"] .jb-filter-value:is([href*="colore=grigio&"], [href$="colore=grigio"]) { --swatch: #9a958d; }
[data-property="colore"] .jb-filter-value:is([href*="colore=marrone&"], [href$="colore=marrone"]) { --swatch: #7a5233; }
[data-property="colore"] .jb-filter-value:is([href*="colore=bianco&"], [href$="colore=bianco"])::before { box-shadow: inset 0 0 0 1.5px rgb(20 20 20 / .45); }
[data-property="colore"] .jb-filter-value:is([href*="colore=multicolore&"], [href$="colore=multicolore"]) { --swatch: conic-gradient(#c33a2b, #ee8a2f, #f2c94c, #3f8f4f, #2f5fb3, #7d4fa8, #c33a2b); }
/* Category FAQ (data-jb-category="faq") */
.shop-faq__list .jb-faq-item { border-bottom: 1px solid var(--pm-line); padding: 12px 0; }
.shop-faq__list .jb-faq-item summary { font-weight: 600; cursor: pointer; }
.shop-faq__list .jb-faq-item p { max-width: 62ch; color: var(--pm-grey); }

/* Cards: the photos are 4:3 on white -> a 4:3 white frame, no grey bars (was 1:1 on grey). */
.jb-card-wrap { position: relative; display: flex; flex-direction: column; min-width: 0; }
.jb-card-wrap > .jb-card { flex: 1 0 auto; min-width: 0; }
.jb-card { display: flex; flex-flow: row wrap; align-content: flex-start; align-items: baseline; }
.jb-card > * { flex: 0 0 100%; min-width: 0; }
.product-grid .jb-card-photo { aspect-ratio: 4 / 3; object-fit: contain; background: var(--pm-white); border: 1px solid var(--pm-line); }
.jb-photo { aspect-ratio: 4 / 3; background: var(--pm-white); }
.jb-card-label, .jb-card-edition { order: 1; flex: 0 1 auto; margin-top: 8px; margin-right: 4px; }
.jb-card-name { order: 2; margin-top: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.jb-card-category-head { display: none; }
.jb-card-category { order: 3; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.jb-card-price { order: 4; margin-top: 2px; font-weight: 700; }
.jb-card-price:has(.jb-sku-label) { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .5em; }
.jb-card-price .jb-sku-label { order: 2; margin-left: auto; font-size: 11px; font-weight: 400; color: var(--pm-grey); white-space: nowrap; }
.jb-card-stock { order: 6; }
/* Points: one quiet line of its own, never wrapping next to the label */
.jb-card-points { order: 7; margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--pm-grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jb-card-points::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: .5em; border-radius: 50%; background: var(--pm-yellow); vertical-align: middle; }
/* Heart + add to bag on the card (data-jb-card-buy) */
.jb-card-wrap > .jb-wish { position: absolute; z-index: 2; top: 8px; right: 8px; width: 36px; height: 36px; }
.jb-card-wrap > .jb-card-buy { position: absolute; z-index: 2; top: 0; left: 10px; width: calc(100% - 20px); margin-top: calc(75% - 54px);
  min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--pm-pill); background: var(--pm-black); color: var(--pm-yellow);
  font: 600 14px/1 var(--pm-body); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s ease, transform .35s var(--pm-ease); }
.jb-card-wrap:hover > .jb-card-buy, .jb-card-wrap:focus-within > .jb-card-buy { opacity: 1; transform: none; pointer-events: auto; }
.jb-card-wrap > .jb-card-buy.jb-added { opacity: 1; transform: none; background: var(--pm-yellow); color: var(--pm-black); }
@media (hover: none) { .jb-card-wrap > .jb-card-buy { opacity: 1; transform: none; pointer-events: auto; } }
@media (max-width: 767.98px) {
  .jb-card-wrap > .jb-card-buy { left: auto; right: 8px; width: 40px; height: 40px; min-height: 40px; margin-top: calc(75% - 48px); padding: 0; font-size: 0;
    background: var(--pm-black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc615' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 12H7L6 8z'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0'/%3E%3Cpath d='M12 12v4M10 14h4'/%3E%3C/svg%3E") center / 20px no-repeat; }
  .jb-card-label, .jb-card-edition { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .jb-card-wrap > .jb-card-buy { transition: none; } }

/* ---------- 02-12: product page tidy-up (proposal) ---------- */
/* One badge: for a unique piece the collection "Pezzi unici" already says it, so the edition's "Pezzo unico" goes */
.product__badges .jb-edition-unique { display: none; }
/* Buy row: quantity on its own row, then the button with the heart beside it (same height), the message under both */
.buybar { grid-template-columns: minmax(0, 1fr) 56px; grid-template-areas: "var var" "qty qty" "btn wish" "note note"; align-items: center; }
.buybar > [data-jb-product="buy"], .buybar .jb-buy { display: contents; }
.buybar__variants { grid-area: var; }
.buybar .jb-buy-choice { grid-column: 1 / -1; }
.buybar .jb-buy-quantity { grid-area: qty; display: flex; align-items: center; gap: 12px; }
.buybar .jb-buy-button { grid-area: btn; }
.buybar .buybar__wish { grid-area: wish; }
.buybar .jb-buy-note { grid-area: note; }
.buybar .jb-buy-quantity input { width: 80px; height: 44px; text-align: center; }
/* 02-12 (Jeroen 00:40): nothing on the product page moves after "add": no message line, no stamp; the basket count + panel say it */
.product .jb-buy-note, .buybar .jb-buy-note { display: none !important; }
.jb-buy-button.is-stamped { animation: none; }
/* 02-12 (Jeroen 00:49): search button inside the field – ACSS gives every button min-height 44px, which made it a 32×44 oval
   sticking out of the 44px field. Now: field 46px, round 36px button with 5px around it, nothing overflows. */
.shop-bar .jb-search { box-sizing: border-box; height: 46px; min-height: 0; padding: 0 4px 0 16px; overflow: hidden; }
.shop-bar .jb-search input { height: 100%; min-height: 0; }
.shop-bar .jb-search button { width: 36px; height: 36px; min-width: 0; min-height: 0; margin: 0; padding: 0; border-radius: 50%; box-sizing: border-box; flex: 0 0 36px; }
/* 02-12 (Jeroen 00:51): "Load more" under the cards (layer: p.jb-more > a.jb-more-link[data-jb-more] + span.jb-more-count)
   as a clear centred button in the shop's style; full width on the phone; the count quietly under it. */
.jb-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 48px 0 16px; text-align: center; }
.jb-more-link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; min-width: 260px; padding: 0 32px;
  border-radius: var(--pm-pill); background: var(--pm-black); color: var(--pm-yellow); font: 600 16px var(--pm-body); text-decoration: none; }
.jb-more-link:hover { background: var(--pm-yellow); color: var(--pm-black); }
.jb-more-link:focus-visible { outline: 2px solid var(--pm-black); outline-offset: 3px; }
.jb-more-link[aria-busy="true"] { opacity: .6; pointer-events: none; }
.jb-more-count { font-size: 13px; color: var(--pm-grey); }
@media (max-width: 767.98px) { .jb-more { margin-top: 32px; } .jb-more-link { width: 100%; min-width: 0; } }
