/* « Mon magasin » (portal spec 131, redesigned 2026-11-11): the brand's own colours (night blue,
   the sign's yellow), the site's sidewall type. One bold thing, the tyre's sidewall at the top with
   the garage's name raised around it; everything under it quiet. */
.pm-shop-link__badge { display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem;
  border-radius: 50%; background: #fff; flex: none; overflow: hidden; }
.pm-shop-link__badge img { width: 1.55rem; height: auto; display: block; }

.pm-shop { --pm-sign: var(--pm-brand-yellow, #fbbc05); --pm-night: var(--pm-navy, #0b2545); --pm-ink: var(--pm-brand-ink, #1c1f24);
  --pm-quiet: var(--pm-muted, #5b6370); --pm-rule: var(--pm-line, #e3e6ee); --pm-ground: var(--pm-concrete, #eef1f4);
  --pm-wall-font: var(--pm-font-sidewall, "Barlow Semi Condensed", system-ui, sans-serif);
  display: grid; gap: 1.6rem; margin: 0 0 3.5rem; color: var(--pm-ink); }
/* The tabs clear of the band's foot */
.pm-wall + .pm-tabs { margin-top: 1.4rem; }
.pm-shop h2, .pm-shop h3 { font-family: var(--pm-wall-font); }

/* ── The sidewall: the page's blue band (spec 140) ────────────────────────── */
/* The theme's page title band is not shown here: the garage's name heads the page */
.entry-title:has(+ .entry-content .pm-shop) { display: none; }
/* The band as on the home page: full width, on from the bar, the same navy and glow; drawn behind
   the block so it always fits it. Kept low, so the tabs show in the first screen */
.pm-wall { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem 3rem;
  padding: .6rem 0 0; color: #fff; }
.pm-wall::before { content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: calc(50% - 50vw); width: 100vw; top: -200vh; bottom: -1.6rem;
  background: radial-gradient(ellipse 30rem 18rem at 78% calc(100% - 9rem), rgba(26, 115, 232, .3), rgba(26, 115, 232, 0) 70%),
              var(--pm-band, linear-gradient(180deg, var(--pm-night) calc(100% - 96px), #13315c 100%)); }
.pm-wall__title { margin: .55rem 0 .2rem; font-family: var(--pm-wall-font); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: .98; letter-spacing: .01em; color: #fff; }
.pm-wall__address { margin: 0 0 .9rem; color: rgba(255, 255, 255, .78); font-size: 1rem; }
.pm-wall__promises { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .3rem; }
.pm-wall__promises li { padding-left: .9rem; border-left: 3px solid var(--pm-sign); font-weight: 600; line-height: 1.35; }
.pm-wall__promises li:last-child { border-left-color: rgba(255, 255, 255, .35); font-weight: 500; color: rgba(255, 255, 255, .82); }
.pm-wall__go { display: flex; flex-wrap: wrap; gap: .6rem; }
.pm-wall__btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.9rem; padding: 0 1.3rem; border-radius: 999px; font-weight: 700;
  text-decoration: none; color: #fff; border: 2px solid rgba(255, 255, 255, .5); }
.pm-wall__btn:hover, .pm-wall__btn:focus-visible { border-color: #fff; color: #fff; }
.pm-wall__btn--sign { background: var(--pm-sign); border-color: var(--pm-sign); color: var(--pm-night); }
.pm-wall__btn--sign:hover, .pm-wall__btn--sign:focus-visible { background: #ffd34d; border-color: #ffd34d; color: var(--pm-night); }
.pm-wall__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.pm-shop .pm-open { display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .8rem; border-radius: 999px; font-size: .84rem;
  font-weight: 700; background: rgba(255, 255, 255, .1); color: #ffb4ab; }
.pm-shop .pm-open::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; }
.pm-shop .pm-open.is-open { color: #7ee2a8; }

.pm-wall__tyre { position: relative; width: 15rem; max-width: 100%; aspect-ratio: 1; justify-self: center; }
.pm-wall__svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.pm-wall__name { font-family: var(--pm-wall-font); font-size: 31px; font-weight: 700; letter-spacing: 5px; fill: #b9c0ca;
  paint-order: stroke; stroke: #0d1014; stroke-width: 1.4px; }
/* Read at a glance as the name above (owner, 2026-11-15: « on n'arrive pas à lire ») */
.pm-wall__mark { font-family: var(--pm-wall-font); font-size: 24px; font-weight: 700; letter-spacing: 4px; fill: #b9c0ca;
  paint-order: stroke; stroke: #0d1014; stroke-width: 1.2px; }
.pm-wall__turn { transform-box: view-box; transform-origin: 50% 50%; animation: pm-wall-turn 1.8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes pm-wall-turn { from { transform: rotate(-110deg); } }
.pm-wall__hub { position: absolute; inset: 22%; display: grid; place-content: center; text-align: center; gap: .2rem; padding: 0 6%; }
.pm-wall__hub b { font-family: var(--pm-wall-font); font-size: 2.2rem; line-height: 1; color: var(--pm-sign);
  font-variant-numeric: tabular-nums; }
.pm-wall__hub span { font-size: .72rem; line-height: 1.2; color: rgba(255, 255, 255, .86); font-weight: 600; }
/* « More than » over the count, down to the hundred (spec 131) */
.pm-wall__pre { font-size: .72rem; line-height: 1; color: rgba(255, 255, 255, .86); font-weight: 600; }

.pm-wall__figures { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .16); padding-top: .9rem; gap: .8rem 0; }
.pm-shop-figure { display: grid; gap: .3rem; align-content: start; padding: 0 1.2rem; color: #fff; text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, .16); }
.pm-shop-figure:first-child { border-left: 0; padding-left: 0; }
.pm-shop-figure b { font-family: var(--pm-wall-font); font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.pm-shop-figure span { font-size: .86rem; line-height: 1.3; color: rgba(255, 255, 255, .72); }
/* « More than 116 000 »: the number as the others, its prefix smaller before it */
.pm-shop-figure b span { font-size: inherit; line-height: inherit; color: inherit; }
.pm-shop-figure b .pm-shop-figure__pre { font-size: .6em; color: rgba(255, 255, 255, .85); }
a.pm-shop-figure:hover b, a.pm-shop-figure:focus-visible b { color: var(--pm-sign); }
/* A tyre not in the stock, asked for (spec 131, 14/11/2026): the one tile that acts, in the sign's
   colour, its words underlined under the pointer */
.pm-shop-figure--ask b { color: var(--pm-sign); font-size: 1.25rem; line-height: 1.1; }
.pm-shop-figure--ask span { color: #fff; }
.pm-shop-figure--ask:hover span, .pm-shop-figure--ask:focus-visible span { text-decoration: underline; }

/* ── The tabs ─────────────────────────────────────────────────────────────── */
.pm-tabs { display: flex; gap: .3rem; border-bottom: 2px solid var(--pm-rule); overflow-x: auto; scrollbar-width: none; margin-bottom: -1rem; }
.pm-tabs::-webkit-scrollbar { display: none; }
.pm-tabs [role="tab"] { flex: none; appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px;
  padding: .8rem 1.1rem; font-family: var(--pm-wall-font); font-size: 1.15rem; font-weight: 700; color: var(--pm-quiet); cursor: pointer; }
.pm-tabs [role="tab"]:hover { color: var(--pm-night); }
.pm-tabs [role="tab"][aria-selected="true"] { color: var(--pm-night); border-bottom-color: var(--pm-sign); }
.pm-tabs [role="tab"]:focus-visible { outline: 3px solid var(--pm-brand-blue, #1a73e8); outline-offset: -3px; border-radius: 6px; }
.pm-panel { padding: 1.5rem 0 0; }
.pm-panel__lead { margin: 0 0 1.1rem; color: var(--pm-quiet); }
/* What a tyre bought in store includes (owner, 2026-11-12): said where the prices are read */
.pm-included { margin: -.3rem 0 1.2rem; padding: .75rem 1rem .75rem 1.1rem; border-radius: 10px; background: #fffbea;
  box-shadow: inset 4px 0 0 var(--pm-sign); font-weight: 600; color: var(--pm-night); line-height: 1.45; }

/* ── The stock ────────────────────────────────────────────────────────────── */
.pm-stock__tools { display: grid; gap: .8rem; margin-bottom: 1.1rem; }
/* The home page's long bar (search.css, spec 080), here over the shop's stock only */
.pm-stock__search { margin: 0; }
.pm-stock__bar { position: relative; }
.pm-stock__bar input { width: 100%; box-sizing: border-box; height: 3.6rem; padding: 0 4rem 0 1.5rem; border: 1px solid #dfe1e5; border-radius: 2rem;
  font-family: var(--pm-wall-font); font-size: 1.25rem; font-weight: 600; letter-spacing: .03em; font-variant-numeric: tabular-nums;
  color: var(--pm-night); background: #fff; -webkit-appearance: none; appearance: none; transition: box-shadow .2s, border-color .2s; }
.pm-stock__bar input::-webkit-search-cancel-button { display: none; }
.pm-stock__bar input::placeholder { font-family: var(--pm-font, inherit); font-size: 1.05rem; font-weight: 400; letter-spacing: 0; color: #80868f; }
.pm-stock__bar input:hover { box-shadow: 0 1px 6px rgba(32, 33, 36, .28); border-color: transparent; }
.pm-stock__bar input:focus { outline: none; border-color: var(--pm-brand-blue, #1a73e8);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, .2), 0 1px 6px rgba(32, 33, 36, .2); }
.pm-stock__bar button { position: absolute; right: .45rem; top: 50%; width: 2.7rem; height: 2.7rem; margin-top: -1.35rem; border: 0;
  border-radius: 50%; background: var(--pm-brand-blue, #1a73e8); color: #fff; display: grid; place-items: center; cursor: pointer; }
.pm-stock__bar button:hover { filter: brightness(.95); }
.pm-stock__bar button:focus-visible { outline: 3px solid var(--pm-night); outline-offset: 2px; }

/* The filter bar: one strip, a select per criterion, the criterion set underlined in the sign's yellow */
/* Not clipped (its lists open below it): each end rounds its own corners */
.pm-filterbar { position: relative; display: flex; align-items: stretch; border: 1px solid var(--pm-rule); border-radius: 14px; background: #fff; }
.pm-filterbar__title { flex: none; display: flex; align-items: center; gap: .45rem; padding: 0 1.1rem; border-radius: 13px 0 0 13px;
  background: var(--pm-night); color: #fff; font-family: var(--pm-wall-font); font-size: 1.05rem; font-weight: 700; line-height: 1; }
.pm-filterbar__item { position: relative; flex: 1 1 0; min-width: 0; display: flex; border-left: 1px solid var(--pm-rule); }
.pm-filterbar__title + .pm-filterbar__item { border-left: 0; }
.pm-filterbar:has(.pm-filterbar__clear[hidden]) .pm-filterbar__item:last-of-type,
.pm-filterbar:has(.pm-filterbar__clear[hidden]) .pm-filterbar__item:last-of-type .pm-drop__button { border-radius: 0 13px 13px 0; }
.pm-drop__button { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: .15rem;
  margin: 0; padding: .55rem 2.6rem .6rem 1rem; border: 0; border-radius: 0; background: transparent; font: inherit; line-height: 1.2;
  text-align: start; color: var(--pm-night); cursor: pointer; -webkit-appearance: none; appearance: none; }
.pm-drop__button::after { content: ""; position: absolute; right: 1rem; top: 50%; width: .95rem; height: .95rem; margin-top: -.475rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230b2545' stroke-width='2.5' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .15s; }
.pm-filterbar__item.is-open .pm-drop__button::after { transform: rotate(180deg); }
.pm-drop__label { display: block; font-size: .74rem; font-weight: 700; color: var(--pm-quiet); }
.pm-drop__value { display: block; font-size: 1rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-drop__button:hover { background: #f7f9fc; }
.pm-drop__button:focus-visible, .pm-filterbar__item.is-open .pm-drop__button { outline: none; background: #f4f7fc;
  box-shadow: inset 0 -3px 0 var(--pm-brand-blue, #1a73e8); }
.pm-filterbar__item.is-set .pm-drop__button { background: #fffbea; box-shadow: inset 0 -3px 0 var(--pm-sign); }
.pm-filterbar__item.is-set .pm-drop__label { color: var(--pm-night); }

/* The list: the site's white card, the choice made in the sign's yellow, the one under the keys in blue */
.pm-drop__list { position: absolute; z-index: 30; top: calc(100% + 6px); left: -1px; min-width: calc(100% + 2px); width: max-content;
  max-width: min(22rem, 90vw); max-height: 20rem; overflow: auto; overscroll-behavior: contain; margin: 0; padding: .35rem; list-style: none;
  background: #fff; border: 1px solid var(--pm-rule); border-radius: 12px; box-shadow: 0 14px 34px rgba(11, 37, 69, .18); }
.pm-filterbar__item:last-of-type .pm-drop__list { left: auto; right: -1px; }
.pm-drop__list:focus { outline: none; }
.pm-drop__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem; margin: 0; padding: .55rem .75rem;
  border-radius: 8px; font-size: .98rem; font-weight: 600; line-height: 1.25; color: var(--pm-night); cursor: pointer; white-space: nowrap; }
.pm-drop__list li small { font-size: .8rem; font-weight: 600; color: var(--pm-quiet); font-variant-numeric: tabular-nums; }
.pm-drop__list li:hover { background: #f4f7fc; }
.pm-drop__list li[aria-selected="true"] { background: #fffbea; box-shadow: inset 3px 0 0 var(--pm-sign); }
.pm-drop__list li.is-active { background: #e8f0fe; box-shadow: inset 3px 0 0 var(--pm-brand-blue, #1a73e8); }

.pm-filterbar__clear { flex: none; padding: 0 1.1rem; border: 0; border-left: 1px solid var(--pm-rule); border-radius: 0 13px 13px 0;
  background: #fff; font: inherit; font-weight: 700; color: var(--pm-brand-blue, #1a73e8); cursor: pointer; }
.pm-filterbar__clear:hover { text-decoration: underline; }
.pm-filterbar__clear:focus-visible { outline: 3px solid var(--pm-brand-blue, #1a73e8); outline-offset: -3px; }
.pm-stock__count { margin: 0 0 .4rem; font-weight: 700; color: var(--pm-night); min-height: 1.4em; }
.pm-stock__asof { margin: -.2rem 0 .6rem; font-size: .85rem; color: #5b6472; }

.pm-stock__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--pm-night); }
/* One grid for the column heads and the rows: logo, name, size, facts, stock, price */
.pm-stock__head, .pm-tyre { display: grid; grid-template-columns: 6.5rem minmax(9rem, 1.3fr) 8.5rem minmax(12rem, 1.6fr) 6rem 7rem;
  align-items: center; gap: .4rem 1rem; }
.pm-tyre { padding: .8rem .4rem; border-bottom: 1px solid var(--pm-rule); }
.pm-tyre:hover { background: #f7f9fc; }
/* The brand's own logo, each one in the same box: as wide as it needs, never taller than the box */
.pm-tyre__logo { width: 6.5rem; height: 2.6rem; display: flex; align-items: center; justify-content: center; padding: .25rem .4rem;
  border-radius: 8px; background: #fff; border: 1px solid var(--pm-rule); }
.pm-tyre__logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pm-tyre__logo.is-word { background: var(--pm-ground); border-color: transparent; }
.pm-tyre__logo.is-word b { font-family: var(--pm-wall-font); font-size: .82rem; letter-spacing: .03em; color: var(--pm-night);
  text-transform: uppercase; text-align: center; line-height: 1.05; overflow-wrap: anywhere; }
.pm-stock__head { padding: .45rem .4rem; border-bottom: 2px solid var(--pm-night); }
.pm-stock__head > :first-child { grid-column: 1 / span 2; }
.pm-stock__head > :last-child { justify-self: end; }
.pm-stock__head button { appearance: none; background: none; border: 0; padding: .2rem 0; font: inherit; font-size: .8rem; font-weight: 700;
  color: var(--pm-quiet); cursor: pointer; text-align: start; }
.pm-stock__head button::after { content: "\2195"; margin-left: .3rem; opacity: .35; }
.pm-stock__head button.is-asc, .pm-stock__head button.is-desc { color: var(--pm-night); }
.pm-stock__head button.is-asc::after { content: "\2191"; opacity: 1; }
.pm-stock__head button.is-desc::after { content: "\2193"; opacity: 1; }
.pm-stock__head button:focus-visible { outline: 3px solid var(--pm-brand-blue, #1a73e8); outline-offset: 2px; border-radius: 4px; }
.pm-pager { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: 1.1rem; }
.pm-pager button { min-width: 2.5rem; height: 2.5rem; padding: 0 .8rem; border-radius: 999px; border: 2px solid var(--pm-rule); background: #fff;
  font: inherit; font-weight: 700; color: var(--pm-night); cursor: pointer; font-variant-numeric: tabular-nums; }
.pm-pager button:hover:not(:disabled) { border-color: var(--pm-night); }
.pm-pager button[aria-current="page"] { background: var(--pm-night); border-color: var(--pm-night); color: #fff; }
.pm-pager button:disabled { opacity: .4; cursor: default; }
.pm-pager button:focus-visible { outline: 3px solid var(--pm-brand-blue, #1a73e8); outline-offset: 2px; }
.pm-pager__pages { display: flex; gap: .35rem; align-items: center; }
.pm-pager__gap { padding: 0 .2rem; color: var(--pm-quiet); }
.pm-pager__size { margin-left: auto; display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--pm-quiet); }
.pm-pager__size select { height: 2.5rem; padding: 0 .6rem; border-radius: 10px; border: 2px solid var(--pm-rule); background: #fff; font: inherit; }
.pm-tyre__name { line-height: 1.3; }
.pm-tyre__name b { font-family: var(--pm-wall-font); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; }
.pm-tyre__size { font-family: var(--pm-wall-font); font-size: 1.12rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pm-tyre__size small { font-size: .9rem; color: var(--pm-quiet); }
/* The markings and the EU label: the home page's chips and pills (search.css), the same colours */
.pm-tyre__facts { display: grid; gap: .35rem; align-content: center; }
.pm-tyre__chips, .pm-tyre__label { display: flex; flex-wrap: wrap; gap: .3rem; }
.pm-tyre__chips:empty { display: none; }
.pm-tyre .pm-icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.pm-tyre .pm-chip, .pm-tyre .pm-pill { display: inline-flex; align-items: center; gap: .25rem; font-size: .8rem; line-height: 1;
  padding: .3rem .55rem; border-radius: 2rem; white-space: nowrap; }
.pm-tyre .pm-chip { background: #f6f8fb; color: #3c4043; border: 1px solid var(--pm-rule); font-weight: 600; }
.pm-tyre .pm-chip--season { padding-left: .22rem; }
.pm-tyre .pm-season-badge { width: 1.5em; height: 1.5em; margin: -.2rem 0; filter: drop-shadow(0 1px 1px rgba(16, 24, 40, .18)); }
.pm-tyre .pm-pill { font-weight: 700; color: #fff; }
.pm-tyre .pm-pill--noise { background: #eef0f5; color: #3c4043; font-weight: 600; }
.pm-tyre .pm-fuel--A { background: #00843d; } .pm-tyre .pm-fuel--B { background: #4ba947; }
.pm-tyre .pm-fuel--C { background: #bfd200; color: #111; } .pm-tyre .pm-fuel--D { background: #f8b100; color: #111; }
.pm-tyre .pm-fuel--E { background: #e5321b; } .pm-tyre .pm-fuel--F, .pm-tyre .pm-fuel--G { background: #b3261e; }
.pm-tyre .pm-wet--A { background: #0b3c8c; } .pm-tyre .pm-wet--B { background: #1f5fb8; } .pm-tyre .pm-wet--C { background: #3b82d6; }
.pm-tyre .pm-wet--D { background: #74aee8; color: #0b2546; } .pm-tyre .pm-wet--E { background: #a9cef2; color: #0b2546; }
.pm-tyre .pm-wet--F, .pm-tyre .pm-wet--G { background: #cfe3f7; color: #0b2546; }
.pm-tyre__qty { font-size: .86rem; font-weight: 600; color: #137333; }
.pm-tyre__price { display: grid; text-align: end; }
.pm-tyre__price b { font-family: var(--pm-wall-font); font-size: 1.3rem; font-variant-numeric: tabular-nums; color: var(--pm-night); }
.pm-tyre__price small { font-size: .74rem; color: var(--pm-quiet); }
.pm-tyre__go { justify-self: end; display: inline-flex; align-items: center; height: 2.5rem; padding: 0 1.1rem; border-radius: 999px;
  background: var(--pm-night); color: #fff; font-weight: 700; text-decoration: none; }
.pm-tyre__go:hover, .pm-tyre__go:focus-visible { background: var(--pm-brand-blue, #1a73e8); color: #fff; }
/* A row opens its sheet */
.pm-tyre[data-id] { cursor: pointer; }
.pm-tyre[data-id]:focus-visible { outline: 3px solid var(--pm-brand-blue, #1a73e8); outline-offset: -3px; border-radius: 6px; }

/* ── A tyre's sheet, sliding from the right (spec 134) ───────────────────── */
html.pm-drawer-open { overflow: hidden; }
.pm-drawer { position: fixed; inset: 0; z-index: 100000; }
.pm-drawer__veil { position: absolute; inset: 0; background: rgba(11, 37, 69, .45); opacity: 0; transition: opacity .25s ease; }
.pm-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(34rem, 100vw); display: flex; flex-direction: column;
  background: #fff; color: var(--pm-ink); box-shadow: -18px 0 40px rgba(11, 37, 69, .22); transform: translateX(100%);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1); outline: none; }
.pm-drawer.is-open .pm-drawer__veil { opacity: 1; }
.pm-drawer.is-open .pm-drawer__panel { transform: none; }
.pm-drawer__close { position: absolute; top: .8rem; right: .8rem; z-index: 2; width: 2.6rem; height: 2.6rem; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--pm-night); cursor: pointer;
  box-shadow: 0 2px 8px rgba(11, 37, 69, .18); }
.pm-drawer__close:hover { background: var(--pm-ground); }
.pm-drawer__close:focus-visible { outline: 3px solid var(--pm-brand-blue, #1a73e8); outline-offset: 2px; }
.pm-drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 1.5rem 2rem; }

.pm-sheet__gallery { margin: 0 -1.5rem 1.2rem; background: var(--pm-ground); padding: 1.2rem 1.5rem 1rem; }
/* The photo held in its frame, whatever its own size: a percentage max-height on a grid item is not
   resolved, and a supplier's 1 000 px picture spilled over the sheet */
.pm-sheet__photo { position: relative; height: clamp(9rem, 30vh, 14rem); display: grid; place-items: center; overflow: hidden; }
.pm-drawer .pm-sheet__photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0;
  object-fit: contain; mix-blend-mode: multiply; }
.pm-sheet__photo.is-empty { gap: .4rem; align-content: center; justify-items: center; color: var(--pm-quiet); font-size: .9rem; }
.pm-sheet__placeholder { width: 5rem; height: 5rem; color: #b6bdc8; }
.pm-sheet__thumbs { display: flex; justify-content: center; gap: .45rem; margin-top: .8rem; }
.pm-sheet__thumbs button { width: 3.4rem; height: 3.4rem; padding: .2rem; border: 2px solid transparent; border-radius: 8px; background: #fff; cursor: pointer; }
.pm-sheet__thumbs button.is-current { border-color: var(--pm-night); }
.pm-sheet__thumbs button:focus-visible { outline: 3px solid var(--pm-brand-blue, #1a73e8); outline-offset: 2px; }
.pm-drawer .pm-sheet__thumbs img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; }

.pm-sheet__head { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.pm-sheet__head .pm-tyre__logo { width: 7.5rem; height: 2.8rem; }
.pm-sheet__head h2 { margin: .2rem 0 0; font-family: var(--pm-wall-font); font-size: 1.75rem; line-height: 1.1; color: var(--pm-night); }
.pm-sheet__head h2 small { display: block; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: var(--pm-quiet); }
.pm-sheet__size { margin: 0; font-family: var(--pm-wall-font); font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pm-sheet__size span { color: var(--pm-quiet); font-size: 1.05rem; }
.pm-sheet__tags { display: flex; flex-wrap: wrap; gap: .3rem; }

.pm-sheet__buy { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .6rem 1rem; padding: 1rem 1.1rem; margin-bottom: 1.4rem;
  border-radius: 14px; background: var(--pm-night); color: #fff; }
.pm-sheet__price b { display: block; font-family: var(--pm-wall-font); font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.pm-sheet__price small { font-size: .82rem; color: rgba(255, 255, 255, .75); }
.pm-sheet__qty { font-size: .88rem; font-weight: 700; color: #7ee2a8; }
.pm-sheet__free { grid-column: 1 / -1; display: flex; align-items: center; gap: .55rem; margin: 0; padding: .65rem .8rem; border-radius: 10px;
  background: var(--pm-sign); color: var(--pm-night); font-weight: 700; line-height: 1.35; }
.pm-sheet__free .pm-icon { width: 1.4rem; height: 1.4rem; }

.pm-sheet__part { margin-bottom: 1.5rem; }
.pm-sheet__part h3 { margin: 0 0 .7rem; font-family: var(--pm-wall-font); font-size: 1.2rem; color: var(--pm-night); }
.pm-sheet__table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.pm-sheet__table th, .pm-sheet__table td { padding: .55rem .2rem; border-bottom: 1px solid var(--pm-rule); text-align: start; vertical-align: top; }
.pm-sheet__table th { width: 45%; font-weight: 500; color: var(--pm-quiet); }
.pm-sheet__table td { font-weight: 600; }
.pm-drawer .pm-chip, .pm-drawer .pm-pill { display: inline-flex; align-items: center; gap: .25rem; font-size: .8rem; line-height: 1;
  padding: .3rem .55rem; border-radius: 2rem; white-space: nowrap; }
.pm-drawer .pm-chip { background: #f6f8fb; color: #3c4043; border: 1px solid var(--pm-rule); font-weight: 600; }
.pm-drawer .pm-chip--season { padding-left: .22rem; }
.pm-drawer .pm-season-badge { width: 1.5em; height: 1.5em; margin: -.2rem 0; }
.pm-drawer .pm-pill { font-weight: 700; color: #fff; }
.pm-drawer .pm-pill--noise { background: #eef0f5; color: #3c4043; font-weight: 600; }
.pm-drawer .pm-icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }

/* The EU label, drawn as the regulation (EU) 2020/740 does (the home page's, search.css) */
.pm-drawer .pm-label { margin: 0; max-width: 22rem; border: 2px solid #1d1d1b; border-radius: 10px; overflow: hidden; background: #fff;
  font-family: Arial, Helvetica, sans-serif; }
.pm-label__head { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; background: #039; color: #fff; font-size: .82rem; line-height: 1.3; }
.pm-label__head small { opacity: .8; }
.pm-label__flag { width: 2.6rem; height: auto; flex: none; border: 1px solid rgba(255, 255, 255, .5); }
.pm-label__scales { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; padding: .9rem .8rem .7rem; }
.pm-label__scale-icon { display: flex; justify-content: center; margin-bottom: .5rem; }
.pm-drawer .pm-label__scale-icon .pm-icon { width: 2rem; height: 2rem; color: #1d1d1b; }
.pm-label__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.pm-label__bars li { position: relative; display: flex; align-items: center; height: 1.3rem; }
.pm-label__bar { height: 100%; display: flex; align-items: center; padding-left: .35rem; font-weight: 700; font-size: .78rem;
  color: #fff; clip-path: polygon(0 0, calc(100% - .6rem) 0, 100% 50%, calc(100% - .6rem) 100%, 0 100%); }
.pm-label__arrow { position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 1.6rem; min-width: 2.1rem;
  display: grid; place-items: center; padding-left: .55rem; box-sizing: border-box; background: #1d1d1b; color: #fff;
  font-weight: 700; font-size: 1rem; clip-path: polygon(.55rem 0, 100% 0, 100% 100%, .55rem 100%, 0 50%); }
.pm-label__foot { display: flex; align-items: center; justify-content: center; gap: 1.2rem; padding: .7rem .8rem .9rem; border-top: 2px solid #1d1d1b; }
.pm-label__noise { display: flex; align-items: center; gap: .5rem; }
.pm-drawer .pm-label__noise .pm-icon { width: 2rem; height: 2rem; }
.pm-label__noise b { font-size: 1.6rem; line-height: 1; }
.pm-label__noise b small { font-size: .8rem; margin-left: .15rem; }
.pm-label__classes { display: inline-flex; border: 1.5px solid #1d1d1b; border-radius: 4px; overflow: hidden; }
.pm-label__classes i { font-style: normal; font-weight: 700; font-size: .85rem; padding: .15rem .45rem; color: #9a9a9a; }
.pm-label__classes i.is-current { background: #1d1d1b; color: #fff; }
.pm-drawer .pm-label__snow .pm-icon { width: 2.2rem; height: 2.2rem; color: #1d1d1b; }
.pm-label__legend { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .55rem; font-size: .84rem; line-height: 1.45; color: #4a4f57; }
.pm-label__legend li { display: flex; gap: .55rem; align-items: flex-start; }
.pm-drawer .pm-label__legend .pm-icon { margin-top: .15rem; color: var(--pm-quiet); }
.pm-label__legend b { color: var(--pm-ink); font-weight: 600; }
.pm-eprel { margin: .9rem 0 0; font-size: .88rem; }
.pm-eprel a { color: var(--pm-brand-blue, #1a73e8); }
/* The grades' colours, for the pills and the label's bars alike */
.pm-drawer .pm-fuel--A { background: #00843d; } .pm-drawer .pm-fuel--B { background: #4ba947; }
.pm-drawer .pm-fuel--C { background: #bfd200; color: #111; } .pm-drawer .pm-fuel--D { background: #f8b100; color: #111; }
.pm-drawer .pm-fuel--E { background: #e5321b; } .pm-drawer .pm-fuel--F, .pm-drawer .pm-fuel--G { background: #b3261e; }
.pm-drawer .pm-wet--A { background: #0b3c8c; } .pm-drawer .pm-wet--B { background: #1f5fb8; } .pm-drawer .pm-wet--C { background: #3b82d6; }
.pm-drawer .pm-wet--D { background: #74aee8; color: #0b2546; } .pm-drawer .pm-wet--E { background: #a9cef2; color: #0b2546; }
.pm-drawer .pm-wet--F, .pm-drawer .pm-wet--G { background: #cfe3f7; color: #0b2546; }
@media (prefers-reduced-motion: reduce) { .pm-drawer__panel, .pm-drawer__veil { transition: none; } }

.pm-stock__none { margin: 1rem 0 0; padding: 1rem 1.2rem; border-radius: 12px; background: var(--pm-ground); }
.pm-stock__none a { font-weight: 700; }

/* ── The prices (spec 138): the fittings by rim, the options, one line each ── */
.pm-prices { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.4rem; align-items: start; }
.pm-price-group > header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-bottom: .6rem; border-bottom: 2px solid var(--pm-night); }
.pm-price-group > header h2 { margin: 0; font-size: 1.3rem; font-weight: 700; color: var(--pm-night); }
.pm-price-group > header p { margin: 0; font-size: .84rem; color: var(--pm-quiet); white-space: nowrap; }
.pm-shop .pm-fit, .pm-shop .pm-acts { list-style: none; margin: 0; padding: 0; }
/* A rim: its diameter large on the left, its acts on the right */
.pm-fit > li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 1rem; align-items: start;
  padding: .7rem 0; border-bottom: 1px solid var(--pm-rule); }
.pm-fit__rim { display: grid; place-items: center; height: 2.6rem; border-radius: 10px; background: var(--pm-night); color: #fff;
  font-family: var(--pm-wall-font); font-size: 1.35rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.pm-fit__rim small { font-size: .8em; color: var(--pm-sign); margin-left: .05em; }
.pm-fit .pm-acts { display: grid; gap: .15rem; align-self: center; }
.pm-fit .pm-acts li { padding: .3rem 0; }
.pm-fit .pm-acts li + li { border-top: 1px dashed var(--pm-rule); }
/* An act: its words (they wrap), its price (it never does) */
.pm-acts li { display: flex; align-items: baseline; gap: 1rem; }
.pm-acts--options li { padding: .75rem 0; border-bottom: 1px solid var(--pm-rule); }
.pm-act__name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; line-height: 1.4; }
.pm-act__price { flex: 0 0 auto; display: inline-flex; align-items: baseline; gap: .35rem; white-space: nowrap; }
.pm-act__price b { font-family: var(--pm-wall-font); font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--pm-night); }
.pm-act__price small { font-size: .78rem; color: var(--pm-quiet); }
.pm-free { padding: .15rem .55rem; border-radius: 999px; background: #e6f4ea; color: #137333; font-size: .82rem; font-weight: 700; }

/* ── Hours and access (spec 138) ──────────────────────────────────────────── */
.pm-visit { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2.4rem; align-items: start; }
.pm-visit h2 { margin: 0 0 .8rem; font-size: 1.3rem; color: var(--pm-night); }
.pm-today { margin-bottom: 2rem; }
.pm-today h2 { margin-bottom: .2rem; }
.pm-today__state { margin: 0 0 2.6rem; font-size: 1.05rem; font-weight: 600; color: #b3261e; }
.pm-today__state.is-open { color: #137333; }
.pm-today__state::before { content: ""; display: inline-block; width: .6rem; height: .6rem; margin-right: .5rem; border-radius: 50%;
  background: currentColor; vertical-align: .08em; }
.pm-day__track { position: relative; height: 2.8rem; border-radius: 10px; background: var(--pm-ground); }
.pm-day__open { position: absolute; top: .3rem; bottom: .3rem; border-radius: 7px; background: #c9d3e3; }
.pm-day__open.is-now { background: var(--pm-night); }
/* The time: a down arrow above the track, an up arrow below, a thin line between; it moves with the
   minutes and waits at an edge outside the timeline (owner, 2026-11-13). Green open, orange between
   two of the day's ranges, red closed. */
.pm-day__now { --now: #b3261e; position: absolute; top: -.6rem; bottom: -.6rem; width: 2px; margin-left: -1px; background: var(--now);
  z-index: 1; transition: left .8s ease; }
.pm-day__now.is-open { --now: #137333; }
.pm-day__now.is-between { --now: #e37400; }
.pm-day__now::before, .pm-day__now::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  border-left: 7px solid transparent; border-right: 7px solid transparent; }
.pm-day__now::before { top: 0; border-top: 8px solid var(--now); }
.pm-day__now::after { bottom: 0; border-bottom: 8px solid var(--now); }
.pm-day__now i { position: absolute; top: -1.85rem; left: 50%; transform: translateX(-50%); padding: .05rem .4rem; border-radius: 5px;
  background: var(--now); color: #fff; font-style: normal; font-size: .72rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pm-day__now.is-end i { left: auto; right: -7px; transform: none; }
.pm-day__now.is-start i { left: -7px; transform: none; }
@media (prefers-reduced-motion: reduce) { .pm-day__now { transition: none; } }
.pm-day__scale { position: relative; height: 1.1rem; margin-top: .8rem; font-size: .72rem; color: var(--pm-quiet); font-variant-numeric: tabular-nums; }
/* Today's times, each under its bar's edge with a small tick */
.pm-day__scale { height: 1.4rem; }
.pm-day__scale span { position: absolute; top: .35rem; transform: translateX(-50%); font-weight: 600; color: var(--pm-night); }
.pm-day__scale span::before { content: ""; position: absolute; left: 50%; top: -.4rem; width: 1px; height: .3rem; background: var(--pm-quiet); }
/* Around the small gap: the end reads left of its tick, the next start right of it */
.pm-day__scale span.is-end { transform: translateX(calc(-100% + 2px)); }
.pm-day__scale span.is-end::before { left: auto; right: 1px; }
.pm-day__scale span.is-start { transform: translateX(-2px); }
.pm-day__scale span.is-start::before { left: 1px; }
/* The week: day, morning, afternoon in columns that line up */
.pm-shop .pm-hours { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--pm-night); }
.pm-shop .pm-hours li { display: grid; grid-template-columns: minmax(6rem, 1fr) auto auto; gap: 0 1.6rem; align-items: center;
  padding: .6rem .8rem; border-bottom: 1px solid var(--pm-rule); font-variant-numeric: tabular-nums; }
.pm-hours__range { text-align: end; font-weight: 600; white-space: nowrap; }
.pm-hours__range.is-whole { grid-column: 2 / 4; }
.pm-shop .pm-hours li.is-closed .pm-hours__day, .pm-shop .pm-hours li.is-closed .pm-hours__range { color: var(--pm-quiet); font-weight: 400; }
.pm-shop .pm-hours li.is-today { background: #fffbea; box-shadow: inset 3px 0 0 var(--pm-sign); }
.pm-shop .pm-hours li.is-today .pm-hours__day { font-weight: 700; }
/* Where: a card, the route first and wide, the phone and the message side by side */
.pm-visit__where { padding: 1.4rem; border: 1px solid var(--pm-rule); border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(17, 19, 24, .05), 0 6px 20px rgba(17, 19, 24, .05); }
.pm-visit__address { margin: 0 0 1.2rem; font-size: 1.05rem; line-height: 1.45; }
.pm-visit__go { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.pm-visit__go .pm-btn { width: 100%; padding-left: .8rem; padding-right: .8rem; white-space: nowrap; }
/* Flat buttons on this page (owner, 2026-11-13: not the domed ones): no gradient, no shadow, soft corners */
.pm-shop .pm-btn, .pm-shop .pm-wall__btn { border-radius: 10px; box-shadow: none; }
.pm-shop .pm-btn--primary, .pm-shop .pm-btn--primary:hover:not(:disabled) { background: var(--pm-brand-blue, #1a73e8); box-shadow: none; }
.pm-shop .pm-btn--primary:hover:not(:disabled) { filter: brightness(.92); }
.pm-shop .pm-btn--ghost { border-color: var(--pm-rule); }
.pm-shop .pm-btn--ghost:hover:not(:disabled) { border-color: var(--pm-night); }
.pm-shop .pm-btn:active:not(:disabled) { transform: none; }
/* Directions beside « Write to us », then the numbers two by two (owner, 2026-11-15) */
.pm-visit__icon { width: 1.1rem; height: 1.1rem; flex: none; }

/* ── Two ways to come ─────────────────────────────────────────────────────── */
.pm-ways { padding-top: 1rem; border-top: 1px solid var(--pm-rule); }
.pm-ways > h2 { margin: 0 0 1rem; font-size: 1.5rem; }
.pm-ways__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.4rem 2.4rem; }
.pm-way h3 { margin: 0 0 .4rem; font-size: 1.15rem; color: var(--pm-night); }
.pm-way p { margin: 0 0 .5rem; color: var(--pm-quiet); line-height: 1.5; max-width: 34rem; }
.pm-way a { font-weight: 700; }
.pm-ways__note { margin: 1.2rem 0 0; font-size: .92rem; color: var(--pm-quiet); }

@media (prefers-reduced-motion: reduce) { .pm-wall__turn { animation: none; } }

@media (max-width: 900px) {
  .pm-tyre { grid-template-columns: 5.5rem 1fr auto; grid-template-areas: "logo name price" "logo size price" "logo facts qty"; }
  .pm-tyre__logo { width: 5.5rem; }
  .pm-stock__head { grid-template-columns: repeat(4, auto); justify-content: start; gap: .3rem 1.2rem; }
  .pm-stock__head > :first-child { grid-column: auto; }
  .pm-stock__head > span { display: none; }
  .pm-tyre__logo { grid-area: logo; align-self: start; }
  .pm-tyre__name { grid-area: name; } .pm-tyre__size { grid-area: size; } .pm-tyre__facts { grid-area: facts; }
  .pm-tyre__qty { grid-area: qty; } .pm-tyre__price { grid-area: price; align-self: start; } .pm-tyre__go { grid-area: go; align-self: end; }
  .pm-prices, .pm-visit { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pm-wall { grid-template-columns: 1fr; gap: .6rem; }
  .pm-wall__tyre { order: -1; width: 10rem; }
  .pm-wall__hub b { font-size: 1.6rem; }
  .pm-wall__hub span { font-size: .62rem; }
  .pm-shop-figure { padding: 0 .9rem; }
  .pm-shop-figure:nth-child(odd) { border-left: 0; padding-left: 0; }
  .pm-wall__figures { grid-template-columns: 1fr 1fr; }
  /* Prices and hours on a phone (spec 138): narrower rim, tighter week, the buttons one per line */
  .pm-fit > li { grid-template-columns: 3.3rem minmax(0, 1fr); gap: .8rem; }
  .pm-fit__rim { height: 2.3rem; font-size: 1.15rem; }
  .pm-price-group > header { flex-wrap: wrap; gap: .2rem 1rem; }
  .pm-shop .pm-hours li { grid-template-columns: minmax(4.6rem, 1fr) auto auto; gap: 0 .8rem; padding: .55rem .5rem; font-size: .92rem; }
  .pm-visit__where { padding: 1.1rem; }
  .pm-visit__go { grid-template-columns: 1fr; }
  /* The filter bar on a phone: its title on top, the criteria two by two */
  .pm-filterbar { flex-wrap: wrap; }
  .pm-filterbar__title { flex-basis: 100%; padding: .6rem 1rem; border-radius: 13px 13px 0 0; }
  .pm-filterbar__item { flex: 1 1 40%; border-top: 1px solid var(--pm-rule); }
  .pm-filterbar__item:nth-of-type(odd) { border-left: 0; }
  .pm-filterbar:has(.pm-filterbar__clear[hidden]) .pm-filterbar__item:last-of-type,
  .pm-filterbar:has(.pm-filterbar__clear[hidden]) .pm-filterbar__item:last-of-type .pm-drop__button { border-radius: 0 0 13px 13px; }
  .pm-filterbar__item:nth-of-type(odd) .pm-drop__list { left: -1px; right: auto; }
  .pm-filterbar__item:nth-of-type(even) .pm-drop__list { left: auto; right: -1px; }
  .pm-filterbar__clear { flex: 1 1 100%; padding: .75rem 1rem; border-left: 0; border-top: 1px solid var(--pm-rule); border-radius: 0 0 13px 13px; }
  .pm-stock__bar input { height: 3.3rem; padding-left: 1.2rem; font-size: 1.1rem; }
}
