/* Right-to-left copy of store.css, made by tools/rtl_flip.py. Do not edit: change store.css and run the tool again. */
/* BMW Parts Store pages (views/store.xml): the classic online parts-store
   layout (breadcrumbs, left column with My Garage and the category list,
   picture tiles, diagram + parts table) in the 97 Service gold and black:
   brushed-metal page like the shop, black panels with gold edges and gold
   buttons. Scoped to #wrapwrap .pstore. Theme variables: vehicle_website.css. */

/* Keep the scrollbar's room reserved, so the page does not jump left and
   right when a list opens or closes and the page gets taller or shorter
   (owner, 2026-09-28 07:35). This file loads only on the store pages. */
html { overflow-y: scroll; }
@supports (scrollbar-gutter: stable) { html { overflow-y: auto; scrollbar-gutter: stable; } }

#wrapwrap .pstore {
    --ps-gold: var(--s97-gold, #c99a43);
    --ps-gold-d: var(--s97-gold-deep, #8f6827);
    --ps-gold-l: #e4c47f;
    --ps-edge: #8a6526;
    --ps-panel: linear-gradient(180deg, #171613 0%, #0b0b0a 100%);
    --ps-paper: #fbfaf6;
    --ps-line: #ddd6c6;
    --ps-text: #1c1a16;
    --ps-muted: #6f6758;
    background-color: #cfcfcb;
    background-image: var(--s97-brushed);
    color: var(--ps-text);
    font-family: var(--s97-cond, 'Roboto Condensed', Arial, sans-serif);
    font-size: 14px;
    line-height: 1.45;
    padding: 22px 0 56px;
}
#wrapwrap .pstore a { color: var(--ps-gold-d); text-decoration: none; }
#wrapwrap .pstore a:hover { color: #5e4316; text-decoration: underline; }
#wrapwrap .pstore h1, #wrapwrap .pstore h2 { font-family: var(--s97-head, Montserrat, Arial, sans-serif); color: #111; letter-spacing: 0; }
/* one width on every store page, so going from one page to another does not
   move the page left or right (owner, 2026-09-28 07:35) */
.pstore .ps-in { max-width: calc(1360 * var(--u)); margin: 0 auto; padding: 0 16px; }

/* breadcrumbs */
.pstore .ps-crumbs { font-size: 16px; color: #4d4638; margin-bottom: 18px; }
/* breadcrumb bigger so the customer sees where he is (owner, 2026-10-13 00:01) */
.pstore .ps-crumbs { font-size: 20px; }
@media (max-width: 959.98px) { .pstore .ps-crumbs { font-size: 17px; } }
.pstore .ps-crumbs .ps-sep { margin: 0 8px; color: var(--ps-gold-d); }
#wrapwrap .pstore .ps-crumbs a { color: #3a2e18; font-weight: 700; }
#wrapwrap .pstore .ps-crumbs a:hover { color: var(--ps-gold-d); }

/* two columns */
.pstore .ps-cols { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 26px; align-items: start; }
.pstore .ps-main { min-width: 0; }

/* left column: black panels with a gold top edge */
.pstore .ps-side { background: var(--ps-panel); border: 1px solid var(--ps-edge); border-top: 3px solid var(--ps-gold); border-radius: 4px; color: #cfc6b4; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); overflow: hidden; }
.pstore .ps-box { padding: 14px 16px 12px; border-bottom: 1px solid rgba(201, 154, 67, .28); }
.pstore .ps-box-h { display: flex; align-items: center; gap: 8px; font: 700 17px/1.2 var(--s97-head, Montserrat, Arial, sans-serif); color: var(--ps-gold-l); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 9px; }
.pstore .ps-box-h svg { width: 24px; height: 24px; fill: var(--ps-gold-l); }
#wrapwrap .pstore .ps-garage-v { display: block; font-weight: 700; font-size: 18px; color: #fff; }
#wrapwrap .pstore .ps-garage-v:hover { color: var(--ps-gold-l); }
.pstore .ps-garage-t { color: #a89e8a; font-size: 15px; }
#wrapwrap .pstore .ps-garage-c:hover, #wrapwrap .pstore .ps-cats-top a:hover { color: #fff; }
#wrapwrap .pstore .ps-garage-c { display: inline-block; margin-top: 10px; font-size: 15px; color: var(--ps-gold-l); }
.pstore .ps-cats { border-bottom: 0; padding-bottom: 4px; }
.pstore .ps-cats-top, .pstore .ps-catlist, .pstore .ps-catlist ul { list-style: none; margin: 0; padding: 0; }
.pstore .ps-cats-top li { border-right: 2px solid #4a4336; padding-right: 8px; font-size: 16px; }
.pstore .ps-cats-top li.on { border-right-color: var(--ps-gold); }
#wrapwrap .pstore .ps-cats-top a { color: #e8dcc3; }
#wrapwrap .pstore .ps-cats-top li.on a { color: var(--ps-gold-l); font-weight: 700; }
.pstore .ps-catlist { font-size: 16.5px; padding: 6px 16px 16px; }
.pstore .ps-catlist > li { padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
#wrapwrap .pstore .ps-catlist a { color: #e2d7c1; }
#wrapwrap .pstore .ps-catlist a:hover { color: var(--ps-gold-l); text-decoration: none; }
#wrapwrap .pstore .ps-catlist li.on > a { color: var(--ps-gold-l); font-weight: 700; }
.pstore .ps-catlist ul { margin: 6px 12px 4px 0; padding-right: 8px; border-right: 1px solid rgba(201, 154, 67, .35); }
.pstore .ps-catlist ul li { padding: 3px 0; font-size: 15px; }
#wrapwrap .pstore .ps-catlist ul a { color: #b9ae99; }
#wrapwrap .pstore .ps-catlist ul li.on > a { color: var(--ps-gold-l); font-weight: 700; }
#wrapwrap .pstore .ps-catlist ul li.ps-cat-all > a { color: var(--ps-gold-l); font-weight: 700; }

/* headings */
#wrapwrap .pstore .ps-h1 { font-size: 23px; font-weight: 800; margin: 0 0 10px; text-transform: uppercase; }
#wrapwrap .pstore .ps-h2 { font-size: 15px; font-weight: 700; margin: 18px 0 12px; color: #3a2e18; text-transform: uppercase; letter-spacing: .04em; }
.pstore .ps-lede { color: #3f392e; margin: 0 0 14px; font-size: 15px; }
.pstore .ps-alert { background: #fff6e0; border: 1px solid var(--ps-gold); padding: 9px 13px; margin-bottom: 12px; }

/* picture tiles, laid out like the big parts stores: the part on top, its
   name underneath, no box. Without a photo of its own a tile shows the
   closest gold part photo from the design (store_icons.photo_for). */
.pstore .ps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
.pstore .ps-sec { margin-bottom: 26px; padding-bottom: 8px; border-bottom: 1px solid rgba(138, 101, 38, .35); }
.pstore .ps-sec:last-child { border-bottom: 0; }
#wrapwrap .pstore .ps-sec .ps-h2 { margin: 6px 0 16px; font-size: 17px; }
#wrapwrap .pstore .ps-sec .ps-h2 a { color: #1c1a16; }
#wrapwrap .pstore .ps-sec .ps-h2 a:hover { color: var(--ps-gold-d); }
#wrapwrap .pstore .ps-tile { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ps-gold-d); padding: 4px; }
#wrapwrap .pstore .ps-tile:hover { color: #5e4316; text-decoration: none; }
.pstore .ps-tile-img { width: 100%; height: 136px; display: flex; align-items: center; justify-content: center; }
.pstore .ps-tile-img img { max-width: 100%; max-height: 136px; object-fit: contain; mix-blend-mode: multiply; transition: transform .2s; }
.pstore .ps-tile:hover .ps-tile-img img { transform: scale(1.06); }
.pstore .ps-tile-img img.ps-gold { mix-blend-mode: normal; max-width: 92%; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .35)); }
.pstore .ps-tile-img img.ps-ico { mix-blend-mode: normal; width: auto; height: 78%; max-height: 120px; aspect-ratio: 1; border-radius: 10px; box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }
.pstore .ps-tile-n { margin-top: 10px; font-size: 17px; font-weight: 700; line-height: 1.25; }
.pstore .ps-tile:hover .ps-tile-n { text-decoration: underline; }
.pstore .ps-tile-c { font-size: 12.5px; color: var(--ps-muted); margin-top: 2px; }

/* vehicle picker */
.pstore .ps-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: end; background: var(--ps-panel); border: 1px solid var(--ps-edge); border-top: 3px solid var(--ps-gold); border-radius: 4px; padding: 16px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.pstore .ps-picker label { display: flex; flex-direction: column; gap: 5px; margin: 0; font-size: 12px; color: var(--ps-gold-l); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.pstore .ps-picker select { height: 38px; border: 1px solid var(--ps-edge); border-radius: 3px; background: #fff; padding: 0 9px; font: 500 14.5px var(--s97-cond, Arial, sans-serif); color: #111; }
.pstore .ps-picker select:focus { outline: 2px solid var(--ps-gold); outline-offset: 1px; }
.pstore .ps-picker select:disabled { background: #cfcac0; color: #6d6659; }
.pstore .ps-models { list-style: none; padding: 0; margin: 0; columns: 4 150px; font-size: 14px; }
.pstore .ps-models li { padding: 3px 0; break-inside: avoid; }
#wrapwrap .pstore .ps-models a { color: #2b2415; font-weight: 700; }
#wrapwrap .pstore .ps-models a:hover { color: var(--ps-gold-d); }
#wrapwrap .pstore .ps-link-strong { font-weight: 700; font-size: 16px; }

/* gold buttons */
#wrapwrap .pstore .ps-btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 38px; padding: 0 20px; border: 1px solid var(--ps-gold-d); border-radius: 3px;
    background: var(--s97-btn, #c99a43); color: #1a1208; font: 700 14px var(--s97-cond, Arial, sans-serif);
    text-transform: uppercase; letter-spacing: .04em; cursor: pointer; white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}
#wrapwrap .pstore .ps-btn:hover { filter: brightness(1.08); color: #1a1208; text-decoration: none; }
#wrapwrap .pstore .ps-btn:disabled { opacity: .6; cursor: wait; }
#wrapwrap .pstore .ps-btn-o { background: #111; color: var(--ps-gold-l); border-color: var(--ps-gold); box-shadow: none; }
#wrapwrap .pstore .ps-btn-o:hover { color: #fff; }

/* diagram thumbnails */
.pstore .ps-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; }
#wrapwrap .pstore .ps-thumb { flex: 0 0 108px; border: 1px solid var(--ps-edge); border-radius: 3px; padding: 4px; text-align: center; color: var(--ps-gold-l); font-size: 12px; background: #111; }
#wrapwrap .pstore .ps-thumb:hover { border-color: var(--ps-gold); color: #fff; text-decoration: none; }
#wrapwrap .pstore .ps-thumb.on { border: 2px solid var(--ps-gold-l); padding: 3px; color: #fff; box-shadow: 0 0 0 2px rgba(228, 196, 127, .25); }
.pstore .ps-thumb img { display: block; width: 100%; height: 62px; object-fit: contain; margin-bottom: 4px; background: #fff; border-radius: 2px; }
.pstore .ps-thumb span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* diagram card + parts table */
.pstore .ps-diagram { background: var(--ps-paper); border: 1px solid var(--ps-edge); border-radius: 4px; margin-bottom: 20px; overflow: hidden; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.pstore .ps-diagram-h { display: flex; justify-content: space-between; align-items: center; background: var(--ps-panel); border-bottom: 2px solid var(--ps-gold); padding: 9px 14px; color: var(--ps-gold-l); font: 700 14px var(--s97-head, Montserrat, Arial, sans-serif); text-transform: uppercase; letter-spacing: .04em; }
.pstore .ps-badge { min-width: 26px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--s97-btn, #c99a43); color: #1a1208; font: 700 12px var(--s97-cond, Arial, sans-serif); display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0; }
.pstore .ps-diagram-pic { padding: 16px; text-align: center; border-bottom: 1px solid var(--ps-line); background: #fff; }
.pstore .ps-pic { position: relative; display: inline-block; max-width: 100%; border: 1px solid #2a2a2a; background: #fff; }
.pstore .ps-pic img { display: block; max-width: 100%; max-height: 520px; cursor: zoom-in; }
.pstore .ps-pic.zoom img { max-height: none; cursor: zoom-out; }
.pstore .ps-mark {
    position: absolute; transform: translate(50%, -50%);
    min-width: 22px; height: 20px; padding: 0 4px; border: 1px solid var(--ps-gold-d); border-radius: 2px;
    background: rgba(255, 250, 238, .95); color: #5e4316; font: 700 11.5px/18px var(--s97-cond, Arial, sans-serif); cursor: pointer;
}
.pstore .ps-mark.hl, .pstore .ps-mark:hover { background: var(--s97-btn, #c99a43); color: #1a1208; }
.pstore .ps-table { width: 100%; border-collapse: collapse; }
.pstore .ps-table th { text-align: right; font-size: 12.5px; padding: 9px 12px; border-bottom: 1px solid var(--ps-line); color: #5e4316; text-transform: uppercase; letter-spacing: .05em; background: #f3efe5; }
.pstore .ps-table td { padding: 13px 12px; border-bottom: 1px solid #ebe5d8; vertical-align: top; }
.pstore .ps-table tbody tr:last-child td { border-bottom: 0; }
.pstore .ps-table tr.hl td { background: #fbf1d8; }
.pstore .ps-c-no { width: 44px; font: 800 16px var(--s97-head, Montserrat, Arial, sans-serif); color: var(--ps-gold-d); }
.pstore .ps-c-img { width: 122px; }
.pstore .ps-c-img img { width: 106px; height: 82px; object-fit: contain; mix-blend-mode: multiply; background: #fff; border: 1px solid #ebe5d8; border-radius: 3px; }
.pstore .ps-c-price { width: 170px; }
#wrapwrap .pstore .ps-pname { font-weight: 700; font-size: 16px; color: #111; }
#wrapwrap .pstore .ps-pname:hover { color: var(--ps-gold-d); }
.pstore .ps-pn { color: var(--ps-gold-d); font-weight: 700; font-size: 13.5px; margin: 2px 0 5px; letter-spacing: .02em; }
.pstore .ps-brand { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--ps-gold-l); background: #111; border-radius: 2px; padding: 1px 7px; margin-bottom: 5px; letter-spacing: .05em; }
.pstore .ps-meta { font-size: 13px; color: #4f4839; }
.pstore .ps-meta b { color: #1c1a16; }
.pstore .ps-msrp { font-size: 12.5px; color: #000; }
.pstore .ps-price { font: 800 18px var(--s97-head, Montserrat, Arial, sans-serif); color: #e0201b; margin-bottom: 8px; }
.pstore .ps-qty { display: inline-flex; border: 1px solid var(--ps-edge); border-radius: 3px; margin-bottom: 8px; background: #fff; overflow: hidden; }
.pstore .ps-qty-b { width: 28px; height: 28px; border: 0; background: #111; color: var(--ps-gold-l); font-size: 15px; cursor: pointer; }
.pstore .ps-qty-b:hover { background: #2a2418; }
.pstore .ps-qty input { width: 38px; height: 28px; border: 0; text-align: center; font: 700 14px var(--s97-cond, Arial, sans-serif); color: #111; -moz-appearance: textfield; }
.pstore .ps-qty input::-webkit-outer-spin-button, .pstore .ps-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#wrapwrap .pstore .ps-c-price .ps-btn { display: flex; width: 100%; max-width: 150px; }
.pstore .ps-empty { padding: 14px; color: #4f4839; margin: 0; }
.pstore .ps-none { background: var(--ps-panel); border: 1px solid var(--ps-edge); border-top: 3px solid var(--ps-gold); border-radius: 4px; padding: 20px; color: #cfc6b4; }
.pstore .ps-none p { margin: 0 0 10px; }
.pstore .ps-none b { color: #fff; }

/* toast */
.pstore .ps-toast { position: fixed; left: 18px; bottom: 18px; z-index: 1050; max-width: 330px; background: #111; color: #eee; border: 1px solid var(--ps-gold); border-radius: 4px; padding: 11px 15px; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); font-size: 14px; }
#wrapwrap .pstore .ps-toast a { color: var(--ps-gold-l); font-weight: 700; }

/* vehicle page (/parts/<vehicle>): the 16 category tiles at the same size
   and lettering as the home page tiles (.s97-t16 in catalog.css); the
   page gets wider so the tiles have the home page's room next to the
   left column. */
.pstore.ps-home16 .ps-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: calc(30 * var(--u)) calc(20 * var(--u)); }
.pstore.ps-home16 .ps-tile-img { height: calc(150 * var(--u)); }
.pstore.ps-home16 .ps-tile-img img { max-height: 100%; }
#wrapwrap .pstore.ps-home16 .ps-grid + .ps-h2 { margin-top: calc(40 * var(--u)); }
.pstore.ps-home16 .ps-tile-n { margin-top: calc(10 * var(--u)); font: 700 calc(19 * var(--u))/1.25 'Roboto Condensed', 'Arial Narrow', sans-serif; }

/* category tiles drop down their parts groups on hover or tap (like the
   in-page catalog): the chosen tile gets a gold frame and a panel opens under
   its row. */
.pstore .ps-dropgrid .ps-tile { border: 1px solid transparent; border-radius: 4px; position: relative; }
.pstore .ps-dropgrid .ps-tile.open { border-color: var(--ps-gold); background: rgba(255, 255, 255, .35); }
.pstore .ps-dropgrid .ps-tile.open::after { content: ""; position: absolute; right: 50%; bottom: -9px; margin-right: -9px; border: 9px solid transparent; border-bottom: 0; border-top-color: var(--ps-gold); }
.pstore .ps-drop { grid-column: 1 / -1; background: var(--ps-paper); border: 1px solid var(--ps-gold); border-radius: 4px; padding: 16px 20px 18px; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
#wrapwrap .pstore .ps-drop h3 { margin: 0 0 10px; font: 700 18px/1.2 var(--s97-cond, 'Roboto Condensed', Arial, sans-serif); color: #1c1a16; }
.pstore .ps-drop ul { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 24px; }
.pstore .ps-drop li { padding: 4px 0; break-inside: avoid; }
#wrapwrap .pstore .ps-drop a { color: #5b5346; font-size: 14px; }
#wrapwrap .pstore .ps-drop a:hover { color: var(--ps-gold-d); }
#wrapwrap .pstore .ps-drop .ps-drop-all { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--ps-gold-d); }

/* narrower screens */
@media (max-width: 991.98px) {
    .pstore .ps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pstore.ps-home16 .ps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pstore .ps-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pstore .ps-picker .ps-btn { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
    .pstore .ps-cols { grid-template-columns: 1fr; }
    .pstore .ps-side { order: 2; }
    .pstore .ps-catlist { columns: 2; }
    .pstore .ps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
    .pstore .ps-tile-img { height: 110px; }
    .pstore .ps-drop ul { columns: 1; }
    .pstore.ps-home16 .ps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
    .pstore.ps-home16 .ps-tile-img { height: 120px; }
    .pstore.ps-home16 .ps-tile-n { font-size: 17px; margin-top: 8px; }
    .pstore .ps-c-img { display: none; }
    .pstore .ps-table td, .pstore .ps-table th { padding: 10px 7px; }
    .pstore .ps-c-price { width: 122px; }
}
@media (max-width: 479.98px) {
    .pstore .ps-picker { grid-template-columns: 1fr; }
    .pstore .ps-table thead { display: none; }
    .pstore .ps-table tr { display: block; position: relative; border-bottom: 1px solid #ebe5d8; }
    .pstore .ps-table td { display: block; border: 0; width: auto; }
    .pstore .ps-table td.ps-c-img { display: none; }
    .pstore .ps-table td.ps-c-no { position: absolute; right: 0; top: 0; }
    .pstore .ps-table td.ps-c-no ~ td { padding-right: 42px; }
    .pstore .ps-table td.ps-c-price { width: auto; padding-top: 0; }
}

/* ---------------------------------------------------------------------
   Parts listing of a vehicle (views/store.xml store_listing; owner,
   2026-10-01 23:24): filters on the left, banner, results bar, product
   cards in a grid (or a list), pages, a short text at the bottom. Laid out
   like europarts360.com, in our black and gold.
   --------------------------------------------------------------------- */
.pstore.ps-list .ps-cols { grid-template-columns: 260px minmax(0, 1fr); }
.pstore .pl-side { position: sticky; top: calc(76 * var(--u)); }
.pstore .pl-filter .ps-box-h { justify-content: space-between; font-size: 15px; }
#wrapwrap .pstore .pl-reset { font: 700 12.5px var(--s97-cond, Arial, sans-serif); color: var(--ps-gold-l); text-transform: none; letter-spacing: 0; }
.pstore .pl-opts { list-style: none; margin: 0; padding: 0; max-height: 330px; overflow-y: auto; }
.pstore .pl-opts li { margin: 0; }
#wrapwrap .pstore .pl-opts a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 3px; color: #e2d7c1; font-size: 15px; text-decoration: none; }
#wrapwrap .pstore .pl-opts a:hover { background: rgba(201, 154, 67, .14); color: var(--ps-gold-l); }
#wrapwrap .pstore .pl-opts li.on > a { background: rgba(201, 154, 67, .22); color: var(--ps-gold-l); font-weight: 700; }
.pstore .pl-opts i { font-style: normal; font-size: 12px; min-width: 26px; text-align: center; padding: 1px 6px; border-radius: 10px; background: #2a261f; color: #cdbf9f; }
.pstore .pl-price label { display: grid; grid-template-columns: 44px 14px minmax(0, 1fr); align-items: center; gap: 4px; margin: 0 0 8px; font-size: 14px; color: #cfc6b4; }
.pstore .pl-price label b { color: var(--ps-gold-l); font-weight: 700; }
.pstore .pl-price input { height: 34px; width: 100%; border: 1px solid var(--ps-edge); border-radius: 3px; background: #fff; padding: 0 8px; font: 500 14px var(--s97-cond, Arial, sans-serif); color: #111; }
#wrapwrap .pstore .pl-price .ps-btn { width: 100%; margin-top: 4px; }

.pstore .pl-banner { background: var(--ps-panel); border: 1px solid var(--ps-edge); border-right: 4px solid var(--ps-gold); border-radius: 4px; padding: 18px 22px; margin-bottom: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
#wrapwrap .pstore .pl-banner h1 { margin: 0; color: var(--ps-gold-l); font-size: 28px; font-weight: 800; }
.pstore.pl-store .pl-banner h1 .pl-banner-make { font-size: 32px; line-height: 1.1; }
.pstore .pl-banner p { margin: 4px 0 0; color: #cfc6b4; font-size: 15px; }
.pstore.pl-store .pl-banner-branded { display: flex; align-items: center; gap: 16px; overflow: hidden; }
.pstore.pl-store .pl-banner-branded .pl-banner-logo { display: block; flex: 0 0 64px; width: 64px; height: 64px; max-width: 100%; object-fit: contain; }
.pstore.pl-store .pl-banner-branded .pl-banner-logo[src$="/bmw.svg"] { filter: brightness(0) invert(1); }
/* Make Audi and Mercedes marks visible on the black Store Parts banner. */
.pstore.pl-store .pl-banner-branded .pl-banner-logo[src$="/audi.svg"],
.pstore.pl-store .pl-banner-branded .pl-banner-logo[src$="/mercedes-benz.png"],
.pstore.pl-store .pl-banner-branded .pl-banner-logo[src$="/land-rover.png"] { filter: brightness(0) invert(1); }

.pstore.pl-store .pl-banner-copy { flex: 1 1 auto; min-width: 0; }
#wrapwrap .pstore.pl-store .pl-banner-branded h1 { overflow-wrap: anywhere; line-height: 1.1; }
.pstore.pl-store .pl-banner-branded p { overflow-wrap: anywhere; }
@media (max-width: 575.98px) {
    .pstore.pl-store .pl-banner-branded { gap: 12px; padding: 12px 14px; }
    .pstore.pl-store .pl-banner-branded .pl-banner-logo { flex-basis: 48px; width: 48px; height: 48px; }
    #wrapwrap .pstore.pl-store .pl-banner-branded h1 { font-size: 24px; }
    .pstore.pl-store .pl-banner-branded h1 .pl-banner-make { font-size: 26px; }
    .pstore.pl-store .pl-banner-branded p { font-size: 13px; }
}


.pstore .pl-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.pstore .pl-count { color: #3f392e; font-size: 15px; margin-left: auto; }
.pstore .pl-sort { display: flex; align-items: center; gap: 8px; margin: 0; }
.pstore .pl-sort label { margin: 0; font-size: 14px; color: #3f392e; }
.pstore .pl-sort select { height: 34px; border: 1px solid var(--ps-edge); border-radius: 3px; background: #fff; padding: 0 8px; font: 600 14px var(--s97-cond, Arial, sans-serif); color: #111; }
.pstore .pl-views { display: flex; gap: 4px; }
#wrapwrap .pstore .pl-views a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--ps-edge); border-radius: 3px; background: #fff; }
.pstore .pl-views svg { width: 15px; height: 15px; fill: #6f6758; }
#wrapwrap .pstore .pl-views a.on { background: #111; }
.pstore .pl-views a.on svg { fill: var(--ps-gold-l); }

.pstore .pl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pstore .pl-card { display: flex; flex-direction: column; background: var(--ps-paper); border: 1px solid var(--ps-line); border-radius: 4px; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.pstore .pl-card:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .18); transform: translateY(-2px); border-color: var(--ps-gold); }
/* every card's picture box is the same fixed square; the photo is fitted
   inside it whatever its own size or shape (owner, 2026-10-05 10:48) */
.pstore .pl-img { position: relative; display: block; flex: 0 0 auto; aspect-ratio: 1 / 1; min-height: 0; overflow: hidden; background: #fff; border-bottom: 3px solid var(--ps-gold); }
.pstore .pl-img img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); max-width: none; object-fit: contain; background: #fff; transition: transform .25s ease; }
.pstore .pl-card:hover .pl-img img { transform: scale(1.04); }
.pstore .pl-body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.pstore .pl-brand { font-size: 11.5px; font-weight: 700; color: var(--ps-muted); text-transform: uppercase; letter-spacing: .06em; }
#wrapwrap .pstore .pl-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 3px 0 4px; min-height: 2.6em; color: #1c1a16; font-size: 15.5px; font-weight: 700; line-height: 1.3; }
#wrapwrap .pstore .pl-name:hover { color: var(--ps-gold-d); text-decoration: none; }
.pstore .pl-pn { font-size: 12.5px; color: var(--ps-muted); }
.pstore .pl-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.pstore .pl-price b { font-size: 19px; font-weight: 800; color: #e0201b; }
.pstore .pl-price s { margin-right: 10px; font-size: 13px; font-weight: 400; color: #000; }
#wrapwrap .pstore .pl-cart { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--ps-gold-d); border-radius: 50%; background: #111; color: var(--ps-gold-l); cursor: pointer; padding: 0; }
#wrapwrap .pstore .pl-cart:hover { background: var(--s97-btn, #c99a43); color: #111; }
#wrapwrap .pstore .pl-cart.done { background: #2e7d32; border-color: #2e7d32; color: #fff; }
.pstore .pl-cart svg { width: 19px; height: 19px; }
#wrapwrap .pstore .pl-ask { font-size: 13px; font-weight: 700; }

/* list view: picture on the left, details on the right */
.pstore .pl-grid.pl-as-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pstore .pl-as-list .pl-card { flex-direction: row; }
.pstore .pl-as-list .pl-img { flex: 0 0 170px; width: 170px; height: 170px; aspect-ratio: auto; border-bottom: 0; border-left: 3px solid var(--ps-gold); }
.pstore .pl-as-list .pl-name { -webkit-line-clamp: 3; min-height: 0; font-size: 17px; }

.pstore .pl-pages { display: flex; justify-content: center; gap: 6px; margin: 26px 0 8px; }
#wrapwrap .pstore .pl-pages a, .pstore .pl-pages span { display: flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--ps-edge); border-radius: 3px; background: #fff; color: #2b2415; font-weight: 700; }
#wrapwrap .pstore .pl-pages a:hover { background: #111; color: var(--ps-gold-l); text-decoration: none; }
.pstore .pl-pages span.on { background: #111; color: var(--ps-gold-l); border-color: var(--ps-gold); }
.pstore .pl-pages span.pl-gap { border: 0; background: none; min-width: 20px; }

.pstore .pl-about { margin-top: 28px; background: var(--ps-paper); border: 1px solid var(--ps-line); border-top: 3px solid var(--ps-gold); border-radius: 4px; padding: 20px 24px; }
#wrapwrap .pstore .pl-about h2 { margin: 0 0 8px; font-size: 20px; font-weight: 800; }
.pstore .pl-about p { margin: 0; color: #3f392e; font-size: 15px; }

@media (max-width: 1199.98px) { .pstore .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
    .pstore.ps-list .ps-cols { grid-template-columns: minmax(0, 1fr); }
    .pstore .pl-side { position: static; }
    .pstore .pl-opts { max-height: 220px; }
    .pstore .pl-grid { gap: 10px; }
    .pstore .pl-body { padding: 9px 10px 11px; }
    #wrapwrap .pstore .pl-name { font-size: 14px; }
    .pstore .pl-price b { font-size: 16px; }
    .pstore .pl-as-list .pl-img { flex-basis: 110px; width: 110px; height: 110px; }
    .pstore .pl-img img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
    .pstore .pl-count { width: 100%; }
}

/* Store Parts (owner, 2026-10-02 20:50): on phones the filters (brand,
   category, price) come before the parts */
@media (max-width: 767.98px) {
    .pstore.pl-store .ps-side { order: 0; }
}


/* Store Parts product rows: keep this layout isolated from vehicle listings. */
.pstore.pl-store .pl-brandline { display: flex; align-items: center; gap: 6px; min-height: 20px; }
.pstore.pl-store .pl-brand-logo { display: block; width: 18px; height: 18px; object-fit: contain; flex: 0 0 18px; }
.pstore.pl-store .pl-info .pl-brand { line-height: 1; }
.pstore.pl-store .pl-meta { color: var(--ps-muted); font-size: 12px; margin-top: 3px; }
.pstore.pl-store .pl-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.35; }
.pstore.pl-store .pl-stock { color: #c21e18; font-size: 12px; font-weight: 700; margin-top: 4px; }
.pstore.pl-store .pl-actions { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
.pstore.pl-store .pl-buy { display: flex; align-items: center; gap: 8px; }
.pstore.pl-store .pl-buy .ps-qty { margin: 0; flex: 0 0 auto; }
#wrapwrap .pstore.pl-store .pl-add-button { width: auto; min-width: 116px; min-height: 34px; padding: 7px 12px; white-space: nowrap; }
.pstore.pl-store .pl-as-list .pl-card { min-height: 146px; }
.pstore.pl-store .pl-as-list .pl-img { flex: 0 0 142px; width: 142px; height: 142px; }
.pstore.pl-store .pl-as-list .pl-img img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
.pstore.pl-store .pl-as-list .pl-body { display: grid; grid-template-columns: minmax(0, 1fr) 222px; align-items: center; gap: 14px; padding: 12px 16px; }
.pstore.pl-store .pl-as-list .pl-info { min-width: 0; }
.pstore.pl-store .pl-as-list .pl-name { margin: 4px 0 3px; }
.pstore.pl-store .pl-as-list .pl-actions { grid-column: 2; grid-row: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.pstore.pl-store .pl-as-list .pl-buy { flex-direction: column; align-items: stretch; width: 100%; }
.pstore.pl-store .pl-as-list .pl-qty { align-self: flex-start; }
.pstore.pl-store .pl-as-list .pl-buy .pl-add-button { width: 100%; }

@media (max-width: 575.98px) {
    .pstore.pl-store .pl-as-list .pl-img { flex-basis: 112px; width: 112px; height: 112px; }
    .pstore.pl-store .pl-as-list .pl-body { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px; }
    .pstore.pl-store .pl-as-list .pl-actions { grid-column: 1; grid-row: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 7px; margin-top: 2px; }
    .pstore.pl-store .pl-as-list .pl-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; }
    .pstore.pl-store .pl-as-list .pl-buy { flex-direction: row; align-items: center; width: 100%; }
    .pstore.pl-store .pl-as-list .pl-buy .ps-qty { flex: 0 0 auto; }
    .pstore.pl-store .pl-as-list .pl-buy .pl-add-button { flex: 1 1 auto; width: auto; min-width: 0; }
}


/* Vehicle fitment results: Store Parts controls in RTL list rows. */
.pstore.ps-list:not(.pl-store) .pl-as-list .pl-body { display: grid; grid-template-columns: minmax(0, 1fr) 222px; align-items: center; gap: 14px; padding: 12px 16px; }
.pstore.ps-list:not(.pl-store) .pl-as-list .pl-info { min-width: 0; }
.pstore.ps-list:not(.pl-store) .pl-as-list .pl-name { margin: 4px 0 3px; }
.pstore.ps-list:not(.pl-store) .pl-as-list .pl-actions { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.pstore.ps-list:not(.pl-store) .pl-as-list .pl-buy { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
.pstore.ps-list:not(.pl-store) .pl-as-list .pl-qty { align-self: flex-start; }
.pstore.ps-list:not(.pl-store) .pl-as-list .pl-buy .pl-add-button { width: 100%; }

@media (max-width: 575.98px) {
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-img { flex-basis: 112px; width: 112px; height: 112px; }
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-body { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px; }
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-actions { grid-column: 1; grid-row: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 7px; margin-top: 2px; }
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; }
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-buy { flex-direction: row; align-items: center; width: 100%; }
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-buy .ps-qty { flex: 0 0 auto; }
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-buy .pl-add-button { flex: 1 1 auto; width: auto; min-width: 0; }
}


/* Keep list-view brand marks and product details legible on vehicle results. */
.pstore.ps-list:not(.pl-store) .pl-as-list .pl-brandline { display: flex; align-items: center; gap: 6px; min-height: 20px; }
.pstore.ps-list:not(.pl-store) .pl-as-list .pl-brand-logo { display: block; width: 18px; height: 18px; object-fit: contain; flex: 0 0 18px; }
.pstore.ps-list:not(.pl-store) .pl-as-list .pl-info .pl-brand { line-height: 1; }
@media (max-width: 991.98px) {
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-img { flex-basis: 132px; width: 132px; height: 132px; }
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-body { grid-template-columns: minmax(0, 1fr) 170px; gap: 10px; padding: 10px; }
}

/* Phones (owner, 2026-10-11 14:41, redone to his red frame at 15:12): in the
   list rows the price, the old price under it, the quantity and a small Add
   to Cart sit in a narrow column on the right of the row, all centred in the
   column and level with the part's description (Store Parts, Body Kit and
   vehicle results). Desktop unchanged. */
@media (max-width: 959.98px) {
    .pstore.pl-store .pl-as-list .pl-body,
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-body { grid-template-columns: minmax(0, 1fr) 68px; align-items: center; gap: 8px; padding: 10px 8px; }
    .pstore.pl-store .pl-as-list .pl-actions,
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-actions { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 68px; margin: 0; padding: 0; }
    .pstore.pl-store .pl-as-list .pl-actions .pl-price,
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-actions .pl-price { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; }
    .pstore .pl-as-list .pl-actions .pl-price b { font-size: 14px; line-height: 1.2; white-space: nowrap; }
    .pstore .pl-as-list .pl-actions .pl-price s { margin: 0; font-size: 11px; line-height: 1.2; white-space: nowrap; }
    .pstore.pl-store .pl-as-list .pl-buy,
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-buy { display: flex; flex-direction: column; align-items: stretch; gap: 5px; width: 66px; }
    .pstore .pl-as-list .pl-buy .ps-qty { flex: none; margin: 0; align-self: stretch; }
    .pstore .pl-as-list .pl-buy .ps-qty-b { flex: 0 0 18px; width: 18px; height: 22px; padding: 0; font-size: 12px; }
    .pstore .pl-as-list .pl-buy .ps-qty input { flex: 1 1 auto; width: 28px; min-width: 0; height: 22px; padding: 0; font-size: 12px; }
    #wrapwrap .pstore .pl-as-list .pl-buy .pl-add-button { flex: none; width: 100%; min-width: 0; min-height: 0; padding: 5px 2px; font-size: 9.5px; line-height: 1.2; letter-spacing: 0; white-space: nowrap; }
    .pstore .pl-as-list .pl-actions .pl-ask { font-size: 11px; line-height: 1.25; text-align: center; }
}

/* Arrows on part card pictures (owner, 2026-10-11 20:17; 22:50: no visible
   arrow): the left and the right side of the picture are invisible tap
   areas, a third each, that show the previous / next picture; the middle
   third still opens the part. Every screen size; the picture size is not changed
   (static/src/store/store.js). */
.pstore .pl-img .pl-arrow {
    position: absolute; top: 0; bottom: 0; z-index: 2;
    width: 33%; height: auto; padding: 0; border: 0; border-radius: 0;
    background: transparent; box-shadow: none; color: transparent;
    cursor: pointer; opacity: 1; -webkit-tap-highlight-color: transparent;
}
.pstore .pl-img .pl-arrow svg { display: none; }
.pstore .pl-img .pl-arrow:focus-visible { outline: 2px solid #c99a43; outline-offset: -2px; }
.pstore .pl-img .pl-arrow-prev { left: 0; }
.pstore .pl-img .pl-arrow-next { right: 0; }

/* Store Parts categories (owner, 2026-10-11 21:29): every main category with
   its sub categories under it and their counts, in one list down the side */
.pstore .pl-tree-list, .pstore .pl-tree-list ul { list-style: none; margin: 0; padding: 0; }
.pstore .pl-tree-list > li { margin: 0; padding: 2px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
#wrapwrap .pstore .pl-tree-list a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 3px; color: #e2d7c1; font-size: 15px; text-decoration: none; }
#wrapwrap .pstore .pl-tree-list a:hover { background: rgba(201, 154, 67, .14); color: var(--ps-gold-l); }
#wrapwrap .pstore .pl-tree-list li.on > a { background: rgba(201, 154, 67, .22); color: var(--ps-gold-l); font-weight: 700; }
.pstore .pl-tree-list ul { margin: 0 0 6px 12px; padding-left: 6px; border-left: 1px solid rgba(201, 154, 67, .35); }
#wrapwrap .pstore .pl-tree-list ul a { padding: 3px 8px; font-size: 13.5px; color: #b9ae99; }
.pstore .pl-tree-list i { font-style: normal; font-size: 12px; min-width: 26px; text-align: center; padding: 1px 6px; border-radius: 10px; background: #2a261f; color: #cdbf9f; }

/* Vehicle pages: number of parts beside each category, like Store Parts (owner, 2026-10-12 23:37) */
#wrapwrap .pstore .ps-catlist > li > a.ps-cat-n, #wrapwrap .pstore .ps-cats-top a.ps-cat-n { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pstore .ps-catlist > li > a > i, .pstore .ps-cats-top a > i { font-style: normal; font-size: 12px; min-width: 26px; text-align: center; padding: 1px 6px; border-radius: 10px; background: #2a261f; color: #cdbf9f; }

/* List rows, desktop (owner, 2026-10-13 08:52): one narrow column on the right like the
   phone rows: new price, old price under it, then quantity and Add to Cart at the same
   width. Store Parts, Body Kit and the vehicle (search) results. Card size unchanged. */
@media (min-width: 960px) {
    .pstore.pl-store .pl-as-list .pl-body,
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-body { grid-template-columns: minmax(0, 1fr) 104px; }
    .pstore.pl-store .pl-as-list .pl-actions,
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-actions { align-items: center; justify-content: center; gap: 6px; width: 104px; }
    .pstore.pl-store .pl-as-list .pl-actions .pl-price,
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-actions .pl-price { display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center; }
    .pstore .pl-as-list .pl-actions .pl-price b { font-size: 17px; line-height: 1.2; white-space: nowrap; }
    .pstore .pl-as-list .pl-actions .pl-price s { position: relative; display: inline-block; margin: 0; font-size: 11px; line-height: 1.3; text-decoration: none; white-space: nowrap; }
    .pstore .pl-as-list .pl-actions .pl-price s::after { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: currentColor; transform: translateY(-50%); pointer-events: none; }
    .pstore.pl-store .pl-as-list .pl-buy,
    .pstore.ps-list:not(.pl-store) .pl-as-list .pl-buy { display: flex; flex-direction: column; align-items: stretch; gap: 6px; width: 104px; }
    .pstore .pl-as-list .pl-buy .ps-qty { display: flex; flex: none; margin: 0; align-self: stretch; width: 100%; }
    .pstore .pl-as-list .pl-buy .ps-qty-b { flex: 0 0 28px; width: 28px; height: 26px; padding: 0; font-size: 14px; }
    .pstore .pl-as-list .pl-buy .ps-qty input { flex: 1 1 auto; width: 40px; min-width: 0; height: 26px; padding: 0; font-size: 13px; }
    #wrapwrap .pstore .pl-as-list .pl-buy .pl-add-button { flex: none; width: 100%; min-width: 0; min-height: 0; height: 30px; padding: 0 4px; font-size: 11px; line-height: 30px; letter-spacing: 0; white-space: nowrap; }
    .pstore .pl-as-list .pl-actions .pl-ask { width: 104px; font-size: 12px; line-height: 1.25; text-align: center; }
}

/* Old price (all store pages, grid and list, computer and phone): the line goes through
   the middle of the number in every browser font (owner, 2026-10-13 09:14) */
.pstore .pl-price s { position: relative; display: inline-block; text-decoration: none; white-space: nowrap; }
.pstore .pl-price s::after { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: currentColor; transform: translateY(-50%); pointer-events: none; }
