/* P!NK UX — front-end modules. All rules are prefixed with .ppx- to stay out of the theme's way. */
:root { --ppx-accent: #e0157f; --ppx-accent-ink: #c2126d; --ppx-ink: #1b1830; --ppx-muted: #6a6679; --ppx-line: #ece9f1; --ppx-soft: #fff1f8; }
/* Text and filled buttons need 4.5:1 on white: a slightly deeper shade of the brand colour. */
@supports (color: color-mix(in srgb, red 50%, black)) { :root { --ppx-accent-ink: color-mix(in srgb, var(--ppx-accent) 84%, #000); } }

/* Buttons */
.ppx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--ppx-accent); border-radius: 4px; font-size: 14px; font-weight: 600; letter-spacing: .02em; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: background .15s, color .15s; }
.ppx-btn--primary { background: var(--ppx-accent-ink) !important; border-color: var(--ppx-accent-ink) !important; color: #fff !important; }
.ppx-btn--primary:hover { filter: brightness(.92); }
.ppx-btn--ghost { background: #fff !important; border-color: var(--ppx-accent-ink) !important; color: var(--ppx-accent-ink) !important; }
.ppx-btn--ghost:hover { background: var(--ppx-soft) !important; }
.ppx-btn:focus-visible { outline: 2px solid var(--ppx-accent); outline-offset: 2px; }

/* Small icons drawn with CSS masks (no icon font needed) */
.ppx-ico { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ppx-ico--lock { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.ppx-ico--truck { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3zM14 9h4l3 3v4h-7z'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E"); }
.ppx-ico--clock { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
.ppx-ico--shield { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v5c0 4.5 3 8 7 10 4-2 7-5.5 7-10V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.ppx-ico--return { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7 4 12l5 5'/%3E%3Cpath d='M4 12h11a5 5 0 0 1 0 10h-2'/%3E%3C/svg%3E"); }
.ppx-ico--phone { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a1 1 0 0 1-1 1A16 16 0 0 1 4 5a1 1 0 0 1 1-1z'/%3E%3C/svg%3E"); }

/* Guest price box (single product) and label (product cards) */
.ppx-guestbox { margin: 6px 0 16px; padding: 16px 18px; border: 1px solid #f6c6df; border-left: 3px solid var(--ppx-accent); border-radius: 6px; background: var(--ppx-soft); }
.ppx-guestbox__title { display: flex; align-items: center; gap: 8px; margin: 0 0 4px !important; color: var(--ppx-ink); font-size: 15px; font-weight: 700; }
.ppx-guestbox__title .ppx-ico { color: var(--ppx-accent); }
.ppx-guestbox__text { margin: 0 0 12px !important; color: var(--ppx-muted); font-size: 14px; line-height: 1.5; }
.ppx-guestbox__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; }
.ppx-guestprice { display: inline-flex; align-items: center; gap: 6px; color: var(--ppx-muted); font-size: 13px; font-weight: 500; }
.ppx-guestprice .ppx-ico { width: 14px; height: 14px; color: var(--ppx-accent); }
a.button.ppx-loop-login { background: #fff !important; color: var(--ppx-accent) !important; border: 1px solid var(--ppx-accent) !important; }
a.button.ppx-loop-login:hover { background: var(--ppx-accent) !important; color: #fff !important; }

/* Live search dropdown */
.ppx-ac { position: absolute; z-index: 100000; left: 0; right: 0; top: calc(100% + 4px); min-width: 320px; max-height: min(72vh, 560px); overflow-y: auto; overscroll-behavior: contain; padding: 6px 6px 0; background: #fff; border: 1px solid var(--ppx-line); border-radius: 10px; box-shadow: 0 16px 40px rgba(27, 24, 48, .16); text-align: left; color: var(--ppx-ink); font-size: 14px; line-height: 1.35; }
.ppx-ac[hidden] { display: none; }
.ppx-ac button { font-family: inherit; letter-spacing: normal; text-transform: none; box-shadow: none; }
.ppx-ac__head { display: flex; align-items: center; justify-content: space-between; margin: 8px 8px 4px; color: var(--ppx-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ppx-ac__clear { padding: 2px 4px !important; border: 0 !important; background: none !important; color: var(--ppx-accent) !important; font-size: 12px !important; font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer; min-height: 0 !important; }
.ppx-ac__note { margin: 2px 2px 6px; padding: 8px 10px; border-radius: 6px; background: var(--ppx-soft); color: var(--ppx-ink); font-size: 13px; }
.ppx-ac__terms { display: flex; flex-direction: column; padding-bottom: 4px; border-bottom: 1px solid var(--ppx-line); }
.ppx-term { display: flex !important; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 6px 10px !important; border: 0 !important; border-radius: 6px; background: none !important; color: var(--ppx-ink) !important; font-size: 15px !important; font-weight: 400 !important; text-align: left; cursor: pointer; }
.ppx-term svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--ppx-muted); stroke-width: 2; stroke-linecap: round; }
.ppx-term { font-weight: 700 !important; }
.ppx-term:hover, .ppx-term[aria-selected="true"] { background: var(--ppx-soft) !important; }
.ppx-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 6px 8px; }
.ppx-chip { display: inline-flex !important; align-items: center; gap: 6px; min-height: 34px; padding: 4px 12px !important; border: 1px solid var(--ppx-line) !important; border-radius: 999px !important; background: #fff !important; color: var(--ppx-ink) !important; font-size: 13px !important; font-weight: 500 !important; line-height: 1.2; text-decoration: none !important; cursor: pointer; }
.ppx-chip small { color: var(--ppx-muted); font-size: 11px; }
.ppx-chip--recent::before { content: ""; width: 13px; height: 13px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a6679' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
.ppx-chip:hover, .ppx-chip[aria-selected="true"] { border-color: var(--ppx-accent) !important; color: var(--ppx-accent) !important; background: var(--ppx-soft) !important; }
.ppx-ac__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 6px; color: var(--ppx-ink) !important; text-decoration: none !important; }
.ppx-ac__row:hover, .ppx-ac__row[aria-selected="true"] { background: var(--ppx-soft); }
.ppx-ac__row img { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; background: #f6f5f9; }
.ppx-ac__ico { display: grid; place-items: center; width: 36px; height: 36px; margin-left: 4px; border-radius: 6px; background: var(--ppx-soft); color: var(--ppx-accent); font-size: 16px; }
.ppx-ac__count { color: var(--ppx-muted); font-size: 12px; white-space: nowrap; }
.ppx-ac__title { display: block; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.ppx-ac__sub { display: block; margin-top: 2px; color: var(--ppx-muted); font-size: 12px; }
.ppx-ac__price { color: var(--ppx-ink); font-size: 13px; font-weight: 700; white-space: nowrap; }
.ppx-ac__all { position: sticky; bottom: 0; display: block; margin: 6px -6px 0; padding: 12px 8px; background: #fff; border-top: 1px solid var(--ppx-line); color: var(--ppx-accent) !important; font-size: 13px; font-weight: 700; text-align: center; text-decoration: none !important; }
.ppx-ac__msg { padding: 12px 10px; color: var(--ppx-muted); font-size: 13px; }
.ppx-ac mark { background: none; color: var(--ppx-accent); font-weight: 800; }
button.ppx-ac__ai { display: flex !important; align-items: center; gap: 10px; width: 100%; min-height: 42px; margin: 2px 0 6px; padding: 8px 12px !important; border: 1.5px solid transparent !important; border-radius: 8px !important; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(100deg, var(--ppx-accent), #ff5fae) border-box !important; color: var(--ppx-accent) !important; font-size: 14px !important; font-weight: 600 !important; text-align: left; text-transform: none; cursor: pointer; }
button.ppx-ac__ai span { color: var(--ppx-accent); font-size: 16px; }
button.ppx-ac__ai:hover, button.ppx-ac__ai[aria-selected="true"] { background: linear-gradient(var(--ppx-soft), var(--ppx-soft)) padding-box, linear-gradient(100deg, var(--ppx-accent), #ff5fae) border-box !important; }
.ppx-ac .ppx-term mark { color: inherit; font-weight: 400; }
.ppx-ac > :last-child:not(.ppx-ac__all) { margin-bottom: 6px; }

/* Search overlay (opened from the mobile bar): white sheet on top, the page stays visible but blurred behind it */
.ppx-search-overlay { position: fixed; inset: 0; z-index: 100001; padding: 0; background: rgba(27, 24, 48, .28); -webkit-backdrop-filter: blur(10px) saturate(1.15); backdrop-filter: blur(10px) saturate(1.15); animation: ppxFade .18s ease; }
.ppx-search-overlay[hidden] { display: none; }
.ppx-search-overlay__form { position: relative; display: flex; gap: 8px; max-width: 760px; margin: 0 auto; padding: 14px 14px 16px; background: #fff; border-radius: 0 0 20px 20px; box-shadow: 0 24px 48px rgba(27, 24, 48, .22); animation: ppxDrop .2s ease; }
.ppx-search-overlay input[type=search] { flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; border: 2px solid var(--ppx-accent); border-radius: 12px; background: #fff; color: var(--ppx-ink); font-size: 16px; }
.ppx-search-overlay__close { display: grid; place-items: center; width: 50px; min-height: 50px; padding: 0 !important; border: 0 !important; border-radius: 12px !important; background: #f3f1f6 !important; color: var(--ppx-ink) !important; cursor: pointer; }
.ppx-search-overlay .ppx-ac { left: 0; right: 0; top: calc(100% - 14px); min-width: 0; max-height: calc(100dvh - 90px); padding: 4px 10px 0; border: 0; border-radius: 0 0 20px 20px; box-shadow: 0 30px 50px rgba(27, 24, 48, .25); }
@supports not (height: 100dvh) { .ppx-search-overlay .ppx-ac { max-height: calc(100vh - 90px); } }

/* Theme search drawer (Avanam #search-drawer): suggestions are no longer cut off, the page behind is blurred */
#search-drawer .drawer-overlay { background: rgba(27, 24, 48, .28) !important; -webkit-backdrop-filter: blur(10px) saturate(1.15); backdrop-filter: blur(10px) saturate(1.15); }
#search-drawer .drawer-inner { overflow: visible !important; }
#search-drawer .ppx-ac { top: calc(100% + 10px); max-height: calc(100dvh - 140px); border-radius: 14px; box-shadow: 0 24px 48px rgba(27, 24, 48, .22); }
@media (max-width: 1024px) {
    #search-drawer .ppx-ac { left: -15px; right: -15px; top: calc(100% + 6px); min-width: 0; padding: 4px 10px 0; border: 0; border-radius: 0 0 20px 20px; box-shadow: 0 30px 50px rgba(27, 24, 48, .25); }
    #search-drawer button.ppx-ac__ai, .ppx-search-overlay button.ppx-ac__ai { font-size: 13px !important; line-height: 1.35; }
}
@keyframes ppxFade { from { opacity: 0; } }
@keyframes ppxDrop { from { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .ppx-search-overlay, .ppx-search-overlay__form { animation: none; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ppx-search-overlay, #search-drawer .drawer-overlay { background: rgba(27, 24, 48, .55) !important; }
}

/* Sub-category squares */
.ppx-tiles { margin: 0 0 28px; }
.ppx-tiles__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 14px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.ppx-tiles__grid li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.ppx-tiles__grid li::before { content: none !important; }
.ppx-tile { display: flex; flex-direction: column; gap: 6px; color: var(--ppx-ink) !important; text-decoration: none !important; }
.ppx-tile__img { display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--ppx-line); border-radius: 4px; background: #f7f6fa; transition: border-color .15s; }
.ppx-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ppx-tile__ph { color: var(--ppx-accent); font-size: 24px; font-weight: 800; opacity: .7; }
.ppx-tile__name { font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; }
.ppx-tile__count { color: var(--ppx-muted); font-size: 12px; text-align: center; }
.ppx-tile:hover .ppx-tile__img, .ppx-tile:focus-visible .ppx-tile__img { border-color: var(--ppx-accent); }
.ppx-tile:hover .ppx-tile__img img { transform: scale(1.05); }
.ppx-tile:hover .ppx-tile__name { color: var(--ppx-accent); }
@media (max-width: 600px) {
    .ppx-tiles__grid { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px !important; scroll-snap-type: x mandatory; }
    .ppx-tiles__grid li { flex: 0 0 104px; scroll-snap-align: start; }
}

/* Product page: code / brand / stock + trust list */
.ppx-meta { display: grid; gap: 6px; margin: 4px 0 18px; padding: 0; }
.ppx-meta__row { display: flex; gap: 10px; margin: 0; font-size: 14px; line-height: 1.4; }
.ppx-meta dt { min-width: 74px; margin: 0; color: var(--ppx-muted); font-weight: 500; }
.ppx-meta dd { margin: 0; color: var(--ppx-ink); font-weight: 600; }
.ppx-meta dd a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ppx-stock { display: inline-flex; align-items: center; gap: 6px; }
.ppx-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ppx-stock--in { color: #157347; }
.ppx-stock--low { color: #a05a00; }
.ppx-stock--out { color: #b4232f; }
.ppx-trust { display: grid; gap: 10px; margin: 18px 0 !important; padding: 14px 16px !important; list-style: none !important; border: 1px solid var(--ppx-line); border-radius: 6px; background: #fbfafc; }
.ppx-trust li { display: flex; align-items: center; gap: 10px; margin: 0 !important; color: var(--ppx-ink); font-size: 14px; list-style: none !important; }
.ppx-trust li::before { content: none !important; }
.ppx-trust .ppx-ico { color: var(--ppx-accent); }
.ppx-trust a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* B2B box */
.ppx-b2b { margin: 0 0 24px; padding: 18px 20px; border: 1px solid #f6c6df; border-radius: 6px; background: var(--ppx-soft); }
.ppx-b2b__list { display: grid; gap: 8px; margin: 0 0 12px !important; padding: 0 !important; list-style: none !important; }
.ppx-b2b__list li { position: relative; padding-left: 26px; color: var(--ppx-ink); font-weight: 600; list-style: none !important; }
.ppx-b2b__list li::before { content: ""; position: absolute; left: 0; top: .25em; width: 16px; height: 16px; border-radius: 50%; background: var(--ppx-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat; }
.ppx-b2b__process { margin: 0 0 6px !important; color: var(--ppx-ink); font-size: 14px; }
.ppx-b2b__legend { margin: 0 !important; color: var(--ppx-muted); font-size: 13px; }

/* WhatsApp / Viber */
.ppx-chat { position: fixed; right: 18px; bottom: 22px; z-index: 9990; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ppx-chat__btn { display: inline-flex; align-items: center; gap: 8px; height: 54px; min-width: 54px; padding: 0 15px; border-radius: 27px; color: #fff !important; text-decoration: none !important; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); transition: transform .15s; }
.ppx-chat__btn:hover { transform: translateY(-2px); }
.ppx-chat__btn--wa { background: #25d366; }
.ppx-chat__btn--viber { justify-content: center; padding: 0; width: 54px; background: #7360f2; }
.ppx-chat__label { font-size: 14px; font-weight: 700; }
.ppx-chat__btn:focus-visible { outline: 3px solid var(--ppx-ink); outline-offset: 2px; }

/* Mobile bottom bar */
.ppx-mbar { display: none; }
@media (max-width: 1024px) {
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    .ppx-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9995; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--ppx-line); box-shadow: 0 -6px 18px rgba(27, 24, 48, .06); }
    .ppx-mbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ppx-ink) !important; font-size: 11px; font-weight: 600; letter-spacing: .01em; text-decoration: none !important; }
    .ppx-mbar a[aria-current="page"] { color: var(--ppx-accent) !important; }
    .ppx-mbar a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: var(--ppx-accent); }
    .ppx-mbar__icon { position: relative; display: inline-flex; }
    .ppx-cart-count { position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ppx-accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
    .ppx-cart-count.is-empty { display: none; }
    .ppx-chat { bottom: calc(76px + env(safe-area-inset-bottom)); right: 12px; }
    .ppx-chat__label { display: none; }
    .ppx-chat__btn--wa { justify-content: center; width: 54px; padding: 0; }
}
.ppx-mbar .ppx-cart-count { pointer-events: none; }

/* Sticky add-to-cart (mobile) */
.ppx-sticky { display: none; }
@media (max-width: 1024px) {
    .ppx-sticky { position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); z-index: 9994; display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #fff; border-top: 1px solid var(--ppx-line); box-shadow: 0 -6px 18px rgba(27, 24, 48, .08); transform: translateY(120%); transition: transform .2s ease; }
    .ppx-sticky.is-visible { transform: none; }
    .ppx-sticky[hidden] { display: none; }
    .ppx-sticky img { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; }
    .ppx-sticky__info { flex: 1; min-width: 0; }
    .ppx-sticky__name { display: block; overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
    .ppx-sticky__price { display: block; color: var(--ppx-accent); font-size: 14px; font-weight: 700; }
    .ppx-sticky .ppx-btn { min-height: 42px; padding: 0 14px; font-size: 13px; }
    body.ppx-has-sticky .ppx-chat { bottom: calc(140px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
    .ppx-tile__img img, .ppx-chat__btn, .ppx-sticky { transition: none !important; }
}

/* Shop filters */
.ppx-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 18px; padding: 10px 12px; border: 1px solid var(--ppx-line); border-radius: 10px; background: #fff; color: var(--ppx-ink); font-size: 14px; }
.ppx-filters select, .ppx-filters input[type=number] { min-height: 40px; margin: 0; padding: 0 12px; border: 1px solid #d9d5e3; border-radius: 8px; background-color: #fff; color: var(--ppx-ink); font-size: 14px; }
.ppx-filters select { max-width: 240px; padding-right: 30px; }
.ppx-filters input[type=number] { width: 104px; }
.ppx-filters select:focus, .ppx-filters input:focus { border-color: var(--ppx-accent); outline: 2px solid transparent; box-shadow: 0 0 0 3px rgba(232, 25, 133, .16); }
.ppx-filters__price { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; }
.ppx-filters__field { margin: 0; }
.ppx-filters .ppx-btn { min-height: 40px; border-radius: 999px; }
.ppx-filters__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex-basis: 100%; }
.ppx-fchip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid var(--ppx-accent); border-radius: 999px; background: var(--ppx-soft); color: var(--ppx-accent-ink) !important; font-size: 13px; font-weight: 600; text-decoration: none !important; }
.ppx-fchip:hover { background: #fde3f0; }
.ppx-filters__clear { color: var(--ppx-muted) !important; font-size: 13px; text-decoration: underline !important; text-underline-offset: 3px; }
.ppx-switch { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; margin: 0; font-weight: 600; cursor: pointer; }
.ppx-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ppx-switch__track { position: relative; width: 40px; height: 22px; border-radius: 11px; background: #cfcbd9; transition: background .15s; }
.ppx-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.ppx-switch input:checked + .ppx-switch__track { background: var(--ppx-accent-ink); }
.ppx-switch input:checked + .ppx-switch__track::after { transform: translateX(18px); }
.ppx-switch input:focus-visible + .ppx-switch__track { outline: 2px solid var(--ppx-accent); outline-offset: 2px; }
.ppx-filters .screen-reader-text, .ppx-filters legend.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
@media (max-width: 600px) {
    .ppx-filters { gap: 10px; padding: 10px; }
    .ppx-filters__field, .ppx-filters select { flex: 1 1 100%; max-width: none; width: 100%; }
    .ppx-filters__price { flex: 1 1 auto; }
    .ppx-filters__price label { flex: 1; } .ppx-filters input[type=number] { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ppx-switch__track, .ppx-switch__track::after { transition: none; } }
