.pbtpx {
    --pbtpx-ink: #191a1e;
    --pbtpx-orange: #e9963d;
    --pbtpx-line: #e5e5e5;
    --pbtpx-muted: #666;
    box-sizing: border-box;
    color: var(--pbtpx-ink);
    margin: 0 auto;
    max-width: 1100px;
    width: 100%;
}

.pbtpx,
.pbtpx * { box-sizing: border-box; }
.pbtpx button,
.pbtpx input,
.pbtpx select { font: inherit; }
.pbtpx [hidden] { display: none !important; }
.pbtpx > h2.screen-reader-text {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
}

.pbtpx__primary {
    display: grid;
    gap: 7px 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto 40px;
    max-width: 840px;
}
.pbtpx__primary button {
    align-items: center;
    background: #fff;
    border: 2px solid var(--pbtpx-ink);
    border-radius: 5px;
    color: var(--pbtpx-ink);
    cursor: pointer;
    display: flex;
    font-size: 18px;
    font-weight: 500;
    justify-content: center;
    line-height: 1.2;
    min-height: 43px;
    padding: 5px 2px;
    transition: background-color .16s ease, color .16s ease;
    white-space: nowrap;
}
.pbtpx__primary button.is-active,
.pbtpx__primary button:hover { background: var(--pbtpx-ink); color: #fff; }

.pbtpx__other {
    align-items: end;
    border-top: 0;
    display: grid;
    grid-template-columns: minmax(260px, 460px);
    justify-content: center;
    margin: 0 auto 26px;
    max-width: 840px;
    padding-top: 0;
}
.pbtpx__combobox { min-width: 0; position: relative; }
.pbtpx__combobox > label {
    color: var(--pbtpx-muted);
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 7px;
}
.pbtpx__combobox-control { position: relative; }
.pbtpx__combobox-control input {
    background-color: #fff;
    border: 2px solid var(--pbtpx-ink);
    border-radius: 5px;
    color: var(--pbtpx-ink);
    font-size: 18px;
    font-weight: 500;
    height: 43px;
    margin: 0;
    max-width: none;
    padding: 0 44px 0 12px;
    width: 100%;
}
.pbtpx__combobox-control input::-webkit-search-cancel-button { margin-right: 3px; }
.pbtpx__combobox-control > button {
    align-items: center;
    background: transparent;
    border: 0;
    bottom: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
}
.pbtpx__combobox-control > button span {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #333;
    transition: transform .14s ease;
}
.pbtpx__combobox.is-open .pbtpx__combobox-control > button span { transform: rotate(180deg); }
.pbtpx__combobox-menu {
    background: #fff;
    border: 1px solid #c8c8cc;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    left: 0;
    margin-top: 6px;
    max-height: 360px;
    overflow-y: auto;
    padding: 5px;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 60;
}
.pbtpx__combobox-group > p {
    background: #f5f5f6;
    color: #666;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .03em;
    margin: 0 !important;
    padding: 7px 10px;
}
.pbtpx__combobox-group > button {
    background: #fff;
    border: 0;
    border-radius: 3px;
    color: var(--pbtpx-ink);
    cursor: pointer;
    display: block;
    font-size: 14px;
    min-height: 40px;
    padding: 9px 12px;
    text-align: left;
    width: 100%;
}
.pbtpx__combobox-group > button:hover,
.pbtpx__combobox-group > button.is-focused { background: #f2f2f4; }
.pbtpx__combobox-group > button[aria-selected="true"] { background: var(--pbtpx-ink); color: #fff; }
.pbtpx__combobox-empty { color: #777; font-size: 12px; margin: 0 !important; padding: 18px 12px; text-align: center; }
.pbtpx__other > p { display: none; }

.pbtpx__filters {
    background: #fff;
    border: 2px solid var(--pbtpx-line);
    border-radius: 20px;
    display: flex;
    margin: 0 0 20px;
    overflow: hidden;
}
.pbtpx__filters input,
.pbtpx__filters select {
    background-color: #fff !important;
    border: 0;
    border-right: 1px solid var(--pbtpx-line);
    border-radius: 0;
    box-shadow: none !important;
    color: var(--pbtpx-ink);
    height: 68px;
    margin: 0;
    outline: none;
    padding: 20px !important;
}
.pbtpx__filters input::placeholder { color: #777; opacity: 1; }
.pbtpx__filters input[data-pbtpx-name],
.pbtpx__filters input[data-pbtpx-model] { width: 24%; }
.pbtpx__filters select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #666 50%), linear-gradient(135deg, #666 50%, transparent 50%);
    background-position: calc(100% - 18px) 31px, calc(100% - 13px) 31px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    cursor: pointer;
    padding-right: 34px !important;
    width: 20%;
}
.pbtpx__search,
.pbtpx__reset {
    border: 0;
    border-radius: 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .08em;
    min-height: 68px;
    padding: 18px 15px;
}
.pbtpx__search { background: var(--pbtpx-orange); color: #fff; width: 15%; }
.pbtpx__reset { background: #000; color: #fff; flex: none; white-space: nowrap; width: 17%; }
.pbtpx__filters input:focus,
.pbtpx__filters select:focus,
.pbtpx__combobox-control input:focus,
.pbtpx__pack-combobox-control input:focus,
.pbtpx button:focus-visible,
.pbtpx__results-wrap:focus-visible { outline: 3px solid rgba(233, 150, 61, .4); outline-offset: -3px; }

.pbtpx__packs { margin: 0 0 20px; }
.pbtpx__pack-combobox {
    max-width: 460px;
    min-width: 0;
    position: relative;
}
.pbtpx__pack-combobox > label {
    color: var(--pbtpx-muted);
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 7px;
}
.pbtpx__pack-combobox-control { position: relative; }
.pbtpx__pack-combobox-control input {
    background-color: #fff;
    border: 2px solid var(--pbtpx-ink);
    border-radius: 8px;
    color: var(--pbtpx-ink);
    font-size: 15px;
    height: 46px;
    margin: 0;
    max-width: none;
    padding: 5px 44px 5px 14px;
    width: 100%;
}
.pbtpx .pbtpx__pack-combobox-control > button[data-pbtpx-pack-toggle] {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 8px 8px 0 !important;
    bottom: 0;
    box-shadow: none !important;
    color: inherit;
    display: flex;
    justify-content: center;
    margin: 0 !important;
    max-width: 44px !important;
    min-height: 0;
    padding: 0 !important;
    position: absolute;
    right: 0;
    top: 0;
    width: 44px !important;
}
.pbtpx .pbtpx__pack-combobox-control > button[data-pbtpx-pack-toggle] span {
    display: block;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #333;
    transition: transform .14s ease;
}
.pbtpx .pbtpx__pack-combobox.is-open .pbtpx__pack-combobox-control > button[data-pbtpx-pack-toggle] span { transform: rotate(180deg); }
.pbtpx__pack-combobox-menu {
    background: #fff;
    border: 1px solid #c8c8cc;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    left: 0;
    margin-top: 6px;
    max-height: min(360px, 55vh);
    overflow-y: auto;
    padding: 5px;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 60;
}
.pbtpx__pack-option {
    background: #fff !important;
    border: 0 !important;
    border-radius: 4px !important;
    color: var(--pbtpx-ink) !important;
    display: block;
    font-size: 14px !important;
    min-height: 40px;
    max-width: none !important;
    overflow: visible !important;
    padding: 9px 12px !important;
    text-align: left;
    text-overflow: clip !important;
    white-space: normal !important;
    width: 100%;
}
.pbtpx__pack-option:hover,
.pbtpx__pack-option.is-focused { background: #f2f2f4 !important; }
.pbtpx__pack-option[aria-selected="true"] { background: var(--pbtpx-ink) !important; color: #fff !important; }
.pbtpx__pack-option.is-all {
    border-bottom: 1px solid #e6e6e8 !important;
    font-weight: 700;
    margin-bottom: 4px;
}
.pbtpx__pack-option.is-all span {
    display: block;
    font-size: 10px;
    font-weight: 400;
    opacity: .68;
}
.pbtpx__pack-empty {
    color: #777;
    font-size: 12px;
    margin: 0 !important;
    padding: 18px 12px;
    text-align: center;
}
.pbtpx__pack-select-label {
    color: var(--pbtpx-muted);
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 7px;
}
.pbtpx__pack-select {
    appearance: none;
    background-color: #fff;
    background-image: linear-gradient(45deg, transparent 50%, #666 50%), linear-gradient(135deg, #666 50%, transparent 50%);
    background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    border: 2px solid var(--pbtpx-ink);
    border-radius: 8px;
    color: var(--pbtpx-ink);
    cursor: pointer;
    display: block;
    font-size: 15px;
    height: 46px;
    margin: 0;
    max-width: 460px;
    padding: 5px 42px 5px 14px;
    width: 100%;
}
.pbtpx__pack-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.pbtpx__pack-scroll::-webkit-scrollbar { display: none; }
.pbtpx__packs ul {
    display: grid;
    gap: 8px;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    width: max-content;
}
.pbtpx__packs li { list-style: none; margin: 0 !important; padding: 0 !important; }
.pbtpx__packs li::before,
.pbtpx__packs li::after { display: none !important; }
.pbtpx__packs button {
    background: #f2f2f4;
    border: 0;
    border-radius: 20px;
    color: #323232;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    max-width: 260px;
    overflow: hidden;
    padding: 6px 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pbtpx__packs button:hover,
.pbtpx__packs button.is-active { background: #222; color: #fff; }
.pbtpx__pack-scrollbar {
    background: #e9e9ef;
    border-radius: 999px;
    height: 8px;
    margin-top: 6px;
    position: relative;
}
.pbtpx__pack-scrollbar span {
    background: #bcbcc8;
    border-radius: 999px;
    cursor: grab;
    height: 8px;
    left: 0;
    min-width: 32px;
    position: absolute;
    top: 0;
}

.pbtpx__results-wrap {
    background: #fff;
    border: 2px solid #230a43;
    margin: 20px auto 40px;
    max-height: 800px;
    max-width: 1100px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 15px;
    position: relative;
    scrollbar-gutter: stable;
    width: 100%;
}
.pbtpx__results {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}
.pbtpx__result {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    list-style: none;
    margin: 0 !important;
    min-height: 240px;
    min-width: 0;
    padding: 15px 5px 10px;
}
.pbtpx__result::before,
.pbtpx__result::after { display: none !important; }
.pbtpx__title,
.pbtpx__meta {
    cursor: pointer;
    display: block;
    line-height: 1.3;
    margin: 0 !important;
    max-width: 100%;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pbtpx__title { color: var(--pbtpx-ink); font-size: 13px; font-weight: 700; min-height: 17px; }
.pbtpx__meta { color: #959595; font-size: 13px; min-height: 17px; }
.pbtpx__result.is-expanded .pbtpx__title,
.pbtpx__result.is-expanded .pbtpx__meta { overflow: visible; white-space: normal; }
.pbtpx__result figure {
    align-items: center;
    aspect-ratio: .72;
    background: #f4f4f4;
    cursor: pointer;
    display: flex;
    justify-content: center;
    margin: 5px 0 10px !important;
    overflow: hidden;
    padding: 10px;
}
.pbtpx__result figure img { height: 100%; object-fit: contain; width: 100%; }
.pbtpx__result figure span { color: #aaa; font-size: 10px; }
.pbtpx__price {
    color: #e80000;
    font-size: 20px;
    line-height: 1.2;
    margin: 0 !important;
    text-align: left;
    white-space: nowrap;
}
.pbtpx__price.is-pending { color: #777; font-size: 13px; }
.pbtpx__date { color: #323232; font-size: 12px; margin: 3px 0 0 !important; text-align: left; white-space: nowrap; }
.pbtpx__empty { color: #666; margin: 0; padding: 50px 20px; text-align: center; }
.pbtpx__loading {
    background: rgba(255,255,255,.92);
    bottom: 8px;
    color: #555;
    font-size: 12px;
    left: 50%;
    margin: 0;
    padding: 6px 12px;
    position: sticky;
    text-align: center;
    transform: translateX(-50%);
    width: max-content;
}
.pbtpx.is-loading .pbtpx__results { opacity: .55; transition: opacity .15s ease; }

@media (max-width: 960px) {
    .pbtpx__primary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pbtpx__results { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pbtpx__results-wrap { aspect-ratio: 1.2; max-height: none; padding: 10px; }
    .pbtpx__result { min-height: 150px; padding: 10px 5px; }
}

@media (max-width: 767px) {
    .pbtpx__primary { gap: 5px 2%; margin-bottom: 15px; padding: 0 10px; }
    .pbtpx__primary button { font-size: 10px; min-height: 36px; padding: 3px 2px; }
    .pbtpx__other { display: block; margin: 0 10px 22px; }
    .pbtpx__other > p { margin: 9px 0 0; text-align: right; }
    .pbtpx__combobox-control input { font-size: 14px; height: 36px; padding-left: 10px; }
    .pbtpx__combobox-menu { max-height: min(360px, 55vh); }
    .pbtpx__filters {
        background: transparent;
        border: 0;
        border-radius: 0;
        display: grid;
        gap: 12px;
        grid-template-columns: 1fr 1fr;
        overflow: visible;
        padding: 0 10px;
    }
    .pbtpx__filters input,
    .pbtpx__filters select {
        border: 1px solid #c7c7c7;
        border-radius: 10px;
        font-size: 15px;
        height: 46px;
        padding: 5px 10px !important;
        width: 100% !important;
    }
    .pbtpx__filters input[data-pbtpx-name] { grid-column: 1 / -1; }
    .pbtpx__filters select { background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; }
    .pbtpx__search,
    .pbtpx__reset { border-radius: 30px; font-size: 14px; min-height: 44px; padding: 10px; width: 100%; }
    .pbtpx__packs { margin: 0 10px 18px; }
    .pbtpx__pack-combobox { max-width: none; }
    .pbtpx__pack-select { max-width: none; }
    .pbtpx__packs button { font-size: 12px; max-width: 180px; padding: 5px 10px; }
    .pbtpx__results-wrap { aspect-ratio: .7; margin-bottom: 20px; }
    .pbtpx__results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pbtpx__result figure { margin-bottom: 5px !important; padding: 10px 5px; }
    .pbtpx__title { font-size: 12px; }
    .pbtpx__meta,
    .pbtpx__date { font-size: 10px; }
    .pbtpx__price { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .pbtpx * { scroll-behavior: auto !important; transition: none !important; }
}
