/* re-match gallery loop/swipe */
.nav-btn {
    width: 74px !important;
    height: 58px !important;
    min-width: 74px !important;
    min-height: 58px !important;
    max-width: 74px !important;
    max-height: 58px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    font-family: Arial, sans-serif !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 10px !important;
    background: rgba(0,0,0,0.62) !important;
    color: white !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    text-align: center !important;
    touch-action: manipulation !important;
}

.nav-btn:hover,
.nav-btn:active {
    background: rgba(255,255,255,0.22) !important;
}

#lightbox {
    touch-action: none !important;
    overscroll-behavior: contain !important;
}

#lightbox-img {
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
    touch-action: none !important;
}

body.gallery-open {
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .nav-btn {
        width: 62px !important;
        height: 50px !important;
        min-width: 62px !important;
        min-height: 50px !important;
        max-width: 62px !important;
        max-height: 50px !important;
        font-size: 28px !important;
        padding: 0 !important;
        margin: 8px !important;
        line-height: 1 !important;
    }

    #lightbox-img {
        max-width: 94% !important;
        max-height: 78% !important;
    }
}

body {
  font-family: Arial, sans-serif;
  background: #dcceb3;
  padding: 20px;
  margin: 0;
}

h1 {
  text-align: center;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

header img {
  max-width: 100%;
  height: auto;
}

.search-box {
  text-align: right;
  flex: 1;
  min-width: 220px;
}

.search-box input {
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #b8a781;
  border-radius: 5px;
  width: 200px;
}

.search-box input:focus {
  outline: none;
  border-color: #8b7a55;
}

/* tabela */
table {
  white-space: normal;

  table-layout: fixed;

  display: table;

  width: 80%;
  margin: 0 auto;
  border-collapse: collapse;
  background: #f2e5cb;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  border: 1px solid #cbbd9b;
  padding: 10px;
  vertical-align: top;
  text-align: left;
  color: #2a2a2a;

  overflow-wrap: anywhere;
  word-wrap: break-word;
  text-overflow: ellipsis;
}

th {
  background: #172236;
  color: #fff;
}

tr:nth-child(even) {
  background: #e9d9b9;
}

tr:nth-child(odd) {
  background: #ded0b5;
}

td img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* dopasowane szerokości kolumn */
td:nth-child(1), th:nth-child(1) { width: 30px; }
td:nth-child(2), th:nth-child(2) { width: 300px; }
td:nth-child(4), th:nth-child(4) { width: 80px; }
td:nth-child(5), th:nth-child(5) { width: 400px; }
td:nth-child(3) { white-space: normal; word-break: break-word; }




table { width: 80%; font-size: 13px; }
th, td { padding: 6px; }
h1 { font-size: 20px; }
.search-box { text-align: center; margin-top: 10px; }

/* nagłówek przyklejony u góry */
thead th {
  position: sticky;
  top: 0;
  background: #172236;
  color: #fff;
  z-index: 2;
}


#product-filters input[type="checkbox"] {
    transform: scale(0.75);
    margin-right: 3px;
    vertical-align: middle;
}

#clearFiltersBtn {
    margin-left: 25px;
    padding: 5px 12px;
    border: 1px solid #b8a781;
    border-radius: 6px;
    background: #fff8ea;
    color: #172236;
    cursor: pointer;
    font-weight: 600;
}

#clearFiltersBtn:hover {
    background: #172236;
    color: white;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.filter-actions {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

@media (max-width: 768px) {
    .filter-header {
        flex-direction: column;
    }

    .filter-actions {
        align-items: flex-start;
        margin-left: 0;
    }
}

.image-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    cursor: pointer;
}

.image-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

.sold-item img {
    filter: grayscale(80%) brightness(40%);
}

.sold-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    background: rgba(120, 0, 0, 0.72);
    color: white;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 3px;
    padding: 8px 18px;
    border: 3px solid white;
    border-radius: 8px;
    pointer-events: none;
}


.items-per-page {
    text-align: center;
    margin: 10px 0;
    color: #172236;
    font-weight: 600;
}

.items-per-page button {
    margin: 0 4px;
    padding: 5px 10px;
    border: 1px solid #b8a781;
    background: #fff8ea;
    border-radius: 6px;
    cursor: pointer;
}

.items-per-page button.active {
    background: #172236;
    color: white;
}


#resultsCounter {
    text-align: center;
    margin: 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #172236;
}


@media (max-width: 768px) {
    table {
        min-width: 1000px;
    }

    body {
        overflow-x: auto;
    }

    td:nth-child(4), th:nth-child(4) {
        min-width: 110px;
    }

    td:nth-child(5), th:nth-child(5) {
        min-width: 220px;
    }
}

.sold-btn {
    background: #777 !important;
    color: #ddd !important;
    border-color: #777 !important;
    cursor: not-allowed !important;
    opacity: 0.75;
}

.product-link-icon {
    cursor: pointer;
    margin-left: 4px;
    font-size: 12px;
    opacity: 0.7;
    transition: 0.2s;
}

.product-link-icon:hover {
    opacity: 1;
    transform: scale(1.15);
}

td.price-cell {
    position: relative;
}

.share-btn {
    border: 1px solid #b8a781;
    border-radius: 6px;
    background: #fff8ea;
    color: #172236;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 7px;
    white-space: nowrap;
}

.share-btn:hover {
    background: #172236;
    color: white;
}

/* DESKTOP */
td.price-cell .share-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

/* MOBILE */
.mobile-card {
    position: relative;
}

.mobile-card .share-btn {
    position: absolute;
    right: 35px;
    bottom: 28px;

    width: auto !important;
    max-width: fit-content;
    min-width: 45px;

    display: inline-block;
    font-size: 10px;
    padding: 4px 8px;
}

.highlight-product {
    outline: 3px solid #e74c3c;
    box-shadow: 0 0 15px rgba(231,76,60,0.8);
}

.mobile-card .mobile-price,
.mobile-card .mobile-price span,
.mobile-card .mobile-price .price-pln,
.mobile-card .mobile-price .price-eur,
.mobile-card .mobile-price .price-dkk {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600;
}

img {
    max-width: 100%;
    height: auto;
}



#product-filters {
    max-width: 600px;
    margin: 12px auto;
    padding: 8px 12px;
    background: #f2e5cb;
    border-radius: 10px;
    color: #172236;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.filter-section {
    margin-bottom: 6px;
}

.filter-title {
    font-size: 11px;
    font-weight: bold;
    color: #172236;
    margin-bottom: 3px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.filter-actions {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    min-width: 150px;
}

.filter-group {
    display: flex;
    align-items: center;
    margin: 2px 0;
    flex-wrap: wrap;
}

.filter-group-title {
    width: 70px;
    font-weight: bold;
    color: #5f4d2f;
    font-size: 10px;
}

#product-filters label {
    display: inline-block;
    margin: 1px 5px 1px 0;
    white-space: nowrap;
    font-size: 10px;
}

#product-filters input[type="checkbox"] {
    transform: scale(0.75);
    margin-right: 3px;
    vertical-align: middle;
}

.filter-group label {
    margin-right: 6px;
}

#clearFiltersBtn {
    padding: 4px 10px;
    border: 1px solid #b8a781;
    border-radius: 6px;
    background: #fff8ea;
    color: #172236;
    cursor: pointer;
    font-size: 10px;
    font-weight: 600;
}

#clearFiltersBtn:hover {
    background: #172236;
    color: white;
}

.hide-sold-label {
    display: flex !important;
    justify-content: flex-end;
    width: 100%;
    margin-top: 1px;
    font-size: 10px;
    color: #172236;
}

@media (max-width: 768px) {
    #product-filters {
        margin: 10px 0;
        padding: 8px;
    }

    .filter-header {
        flex-direction: column;
        gap: 6px;
    }

    .filter-actions {
        align-items: flex-start;
        margin-left: 0;
        min-width: auto;
    }

    #product-filters label {
        font-size: 10px;
        margin: 2px 5px 2px 0;
    }

    .filter-title {
        font-size: 11px;
    }

    .filter-group-title {
        width: 65px;
        font-size: 10px;
    }
}

.highlight-product {
    outline: 3px solid #e74c3c;
    box-shadow: 0 0 15px rgba(231,76,60,0.8);
}

/* DESKTOP */
.mobile-list,
.mobile-pagination {
    display: none !important;
}

/* MOBILE */
@media (max-width: 768px) {

    table,
    #pagination-top,
    #pagination-bottom {
        display: none !important;
    }

    .mobile-list {
        display: block !important;
    }

    .mobile-pagination {
        display: flex !important;
    }

    .mobile-card {
        background: #1f2937;
        color: white;
        margin: 15px 0;
        padding: 15px;
        border-radius: 12px;
    }

    .mobile-card img {
        width: 100%;
        border-radius: 10px;
    }
}

.pagination{display:flex;justify-content:center;gap:6px;margin:16px 0}
.pagination button{padding:6px 10px;border:1px solid #b8a781;background:#fff8ea;cursor:pointer;border-radius:6px;font-weight:600}
.pagination button.active{background:#172236;color:#fff;border-color:#172236}

.mobile-pagination {
    display: none;
}

@media (max-width: 768px) {
    .mobile-pagination {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        max-width: 100%;
        overflow-x: hidden;
        margin: 16px auto;
    }

    .mobile-pagination button {
        padding: 8px 11px;
        font-size: 14px;
        border-radius: 6px;
    }

    body {
        overflow-x: hidden;
    }
}

#kursy-walut {
    font-size: 11px;
    color: #172236;
    line-height: 1.1;
}

#kursy-walut p {
    margin: 1px 0;
}

.filter-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.hide-sold-label {
    font-size: 13px;
    color: #172236;
}
#copy-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #172236;
    color: #f2e5cb;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

#copy-toast.show {
    opacity: 1;
}

/* re-match table narrow test v1
   Cel: na desktopie zwęzić tabelę o ok. 20% głównie kosztem kolumny Opis.
   Nie rusza mobile, menu, filtrów ani galerii. */
@media (min-width: 769px) {
    table {
        width: 64% !important; /* było ok. 80%, czyli ~20% mniej */
        table-layout: fixed !important;
    }

    /* Nr. */
    td:nth-child(1),
    th:nth-child(1) {
        width: 30px !important;
    }

    /* Tytuł */
    td:nth-child(2),
    th:nth-child(2) {
        width: 300px !important;
    }

    /* Opis — elastyczny środek, to on najmocniej oddaje miejsce */
    td:nth-child(3),
    th:nth-child(3) {
        width: auto !important;
    }

    /* Cena */
    td:nth-child(4),
    th:nth-child(4) {
        width: 80px !important;
    }

    /* Zdjęcie */
    td:nth-child(5),
    th:nth-child(5) {
        width: 400px !important;
    }
}

/* re-match filters under menu v3
   Osobny kafel filtrów pod kaflem translate/kursy/Menu/Koszyk. */
@media (min-width: 769px) {
    #rematch-sidebar-filters-tile {
        position: fixed !important;
        z-index: 9998 !important;
        box-sizing: border-box !important;
        background: rgba(233, 216, 182, 0.94) !important;
        border: 1px solid #c8b58d !important;
        border-radius: 10px !important;
        padding: 10px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,.15) !important;
        color: #172236 !important;
        overflow: visible !important;
    }

    #rematch-sidebar-filters-tile #product-filters {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    #rematch-sidebar-filters-tile .filter-section {
        margin-bottom: 12px !important;
    }

    #rematch-sidebar-filters-tile .filter-title {
        font-size: 13px !important;
        font-weight: 700 !important;
        margin-bottom: 8px !important;
    }

    #rematch-sidebar-filters-tile .filter-header {
        display: block !important;
    }

    #rematch-sidebar-filters-tile .filter-header > div:first-child,
    #rematch-sidebar-filters-tile .filter-group,
    #rematch-sidebar-filters-tile .filter-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        margin-left: 0 !important;
    }

    #rematch-sidebar-filters-tile label {
        display: block !important;
        margin-left: 0 !important;
        white-space: nowrap !important;
        font-size: 13px !important;
    }

    #rematch-sidebar-filters-tile .filter-actions {
        margin-top: 10px !important;
    }

    #rematch-sidebar-filters-tile #clearFiltersBtn {
        margin-left: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {
    #rematch-sidebar-filters-tile {
        display: none !important;
    }
}

/* re-match filters compact layout v4
   Rozmiary w rzędach po 3 checkboxy, akcje filtrów na dole. */
@media (min-width: 769px) {
    #rematch-sidebar-filters-tile .filter-group {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        column-gap: 8px !important;
        row-gap: 6px !important;
        align-items: center !important;
        margin-bottom: 12px !important;
    }

    #rematch-sidebar-filters-tile .filter-group-title {
        grid-column: 1 / -1 !important;
        font-weight: 700 !important;
        margin-bottom: 2px !important;
    }

    #rematch-sidebar-filters-tile .filter-group label {
        display: inline-flex !important;
        align-items: center !important;
        gap: 3px !important;
        margin: 0 !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    #rematch-sidebar-filters-tile .filter-group input[type="checkbox"] {
        margin: 0 2px 0 0 !important;
    }

    #rematch-sidebar-filters-tile .filter-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        align-items: stretch !important;
        margin-top: 14px !important;
        padding-top: 10px !important;
        border-top: 1px solid rgba(23,34,54,0.25) !important;
    }

    #rematch-sidebar-filters-tile #clearFiltersBtn {
        order: 1 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #rematch-sidebar-filters-tile .hide-sold-label {
        order: 2 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        font-size: 13px !important;
    }
}

/* re-match visual polish v5
   Checkboxy, czcionki, centrowanie kolumn i +1 px szerokości kolumn. */
@media (min-width: 769px) {
    /* Czcionki +1 px na stronie desktopowej */
    body {
        font-size: 17px !important;
    }

    input,
    button,
    select,
    textarea,
    table,
    th,
    td,
    label,
    .filter-title,
    .filter-group-title,
    #resultsCounter,
    .pagination,
    .mobile-pagination,
    .items-per-page {
        font-size: calc(1em + 1px);
    }

    /* Kluby i Reprezentacje w jednym wierszu */
    #rematch-sidebar-filters-tile .filter-header > div:first-child {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        margin-left: 0 !important;
        margin-bottom: 8px !important;
    }

    #rematch-sidebar-filters-tile .filter-header > div:first-child label {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }

    #rematch-sidebar-filters-tile .filter-header > div:first-child label[style] {
        margin-left: 0 !important;
    }

    /* Schowaj sprzedane maksymalnie do lewej względem kafla */
    #rematch-sidebar-filters-tile .hide-sold-label {
        justify-content: flex-start !important;
        align-self: flex-start !important;
        text-align: left !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    /* Przywrócenie czytelnych rozmiarów po globalnym +1 px */
    #rematch-sidebar-filters-tile label {
        font-size: 13px !important;
    }

    #rematch-sidebar-filters-tile .filter-title {
        font-size: 14px !important;
    }

    #rematch-sidebar-filters-tile .filter-group-title {
        font-size: 13px !important;
    }

    /* Kolumny tabeli +1 px względem v4 */
    td:nth-child(1),
    th:nth-child(1) {
        width: 31px !important;
        text-align: center !important;
        vertical-align: middle !important;
    }

    td:nth-child(2),
    th:nth-child(2) {
        width: 301px !important;
    }

    td:nth-child(3),
    th:nth-child(3) {
        width: auto !important;
    }

    td:nth-child(4),
    th:nth-child(4) {
        width: 81px !important;
        text-align: center !important;
        vertical-align: middle !important;
    }

    td:nth-child(5),
    th:nth-child(5) {
        width: 401px !important;
    }

    td:nth-child(4) .price-cell,
    td:nth-child(4) div,
    td:nth-child(4) button {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .price-cell {
        text-align: center !important;
    }
}

/* re-match table size polish v6
   Tabela +10% szerokości i delikatnie mniejsza czcionka w samej tabeli. */
@media (min-width: 769px) {
    table {
        width: 70.4% !important; /* 64% + 10% */
    }

    table th,
    table td {
        font-size: 16px !important;
        line-height: 1.32 !important;
    }

    table td:nth-child(3) {
        font-size: 15.5px !important;
        line-height: 1.3 !important;
    }

    table .price-cell,
    table .price-pln,
    table .price-dkk,
    table .price-eur,
    table .add-to-cart,
    table .share-btn,
    table button {
        font-size: 15.5px !important;
    }
}

/* re-match table/link polish v7
   Tabela 75%, szerszy tytuł, mniejsze opisy i subtelniejszy LINK. */
@media (min-width: 769px) {
    table {
        width: 75% !important;
        table-layout: fixed !important;
    }

    /* Nagłówki tabeli zostają bez dodatkowego pomniejszania */
    table th {
        font-size: inherit !important;
    }

    /* Komórki tabeli delikatnie czytelne, ale nie za duże */
    table td {
        font-size: 15.8px !important;
        line-height: 1.3 !important;
    }

    /* Nr. */
    td:nth-child(1),
    th:nth-child(1) {
        width: 31px !important;
        text-align: center !important;
        vertical-align: middle !important;
    }

    /* Tytuł — najbardziej poszerzony */
    td:nth-child(2),
    th:nth-child(2) {
        width: 355px !important;
    }

    /* Opis — jeszcze delikatniej mniejszy */
    td:nth-child(3) {
        font-size: 14.9px !important;
        line-height: 1.27 !important;
    }

    th:nth-child(3) {
        width: auto !important;
    }

    /* Cena */
    td:nth-child(4),
    th:nth-child(4) {
        width: 81px !important;
        text-align: center !important;
        vertical-align: middle !important;
    }

    /* Zdjęcie */
    td:nth-child(5),
    th:nth-child(5) {
        width: 401px !important;
    }

    .price-cell,
    td:nth-child(4) {
        text-align: center !important;
    }

    table .price-cell,
    table .price-pln,
    table .price-dkk,
    table .price-eur,
    table .add-to-cart {
        font-size: 15px !important;
    }

    /* Subtelniejszy przycisk LINK */
    table .share-btn {
        font-size: 11px !important;
        line-height: 1.1 !important;
        padding: 3px 7px !important;
        min-height: 0 !important;
        height: auto !important;
        border-radius: 5px !important;
        font-weight: 600 !important;
        opacity: 0.78 !important;
        box-shadow: none !important;
    }

    table .share-btn:hover {
        opacity: 1 !important;
    }
}

/* re-match currency price tile v9
   Prosty trzeci kafelek pod filtrami — bez obserwatorów i bez ciężkich operacji. */
@media (min-width: 769px) {
    #rematch-price-tile-v9 {
        position: fixed !important;
        z-index: 9997 !important;
        box-sizing: border-box !important;
        background: rgba(233, 216, 182, 0.94) !important;
        border: 1px solid #c8b58d !important;
        border-radius: 10px !important;
        padding: 10px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,.15) !important;
        color: #172236 !important;
        font-size: 13px !important;
    }

    #rematch-price-tile-v9 .price-title-v9 {
        font-size: 14px !important;
        font-weight: 700 !important;
        margin-bottom: 8px !important;
    }

    #rematch-price-tile-v9 label {
        display: block !important;
        margin: 0 0 8px 0 !important;
        font-size: 12px !important;
    }

    #rematch-price-tile-v9 select,
    #rematch-price-tile-v9 input[type="number"] {
        width: 100% !important;
        box-sizing: border-box !important;
        margin-top: 4px !important;
        padding: 5px 6px !important;
        border: 1px solid #b8a781 !important;
        border-radius: 6px !important;
        background: #fff8ea !important;
        color: #172236 !important;
        font-size: 13px !important;
    }

    #rematch-price-tile-v9 .price-row-v9 {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    #rematch-price-tile-v9 input[type="range"] {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #rematch-price-tile-v9 .range-text-v9 {
        text-align: center !important;
        font-size: 12px !important;
        margin-top: 3px !important;
    }
}

@media (max-width: 768px) {
    #rematch-price-tile-v9 {
        display: none !important;
    }
}


/* re-match integrated price filter v11 */
@media (min-width: 769px) {
    #rematch-price-tile-v9 input:focus,
    #rematch-price-tile-v9 select:focus {
        outline: 2px solid rgba(23,34,54,0.35) !important;
        outline-offset: 1px !important;
    }
}

/* re-match table body font smaller v12
   Zmniejsza czcionkę w całej treści tabeli, ale nie rusza nagłówków tabeli. */
@media (min-width: 769px) {
    table th {
        font-size: inherit !important;
    }

    table td {
        font-size: 14.8px !important;
        line-height: 1.28 !important;
    }

    table td:nth-child(3) {
        font-size: 14.1px !important;
        line-height: 1.25 !important;
    }

    table .price-cell,
    table .price-pln,
    table .price-dkk,
    table .price-eur,
    table .add-to-cart {
        font-size: 14.4px !important;
    }

    table .share-btn {
        font-size: 10.5px !important;
    }
}

/* re-match subtle pagination/buttons v13
   Mniejsze i subtelniejsze przyciski paginacji oraz ilości koszulek na stronie. */
@media (min-width: 769px) {
    .items-per-page {
        font-size: 13px !important;
        gap: 5px !important;
        margin-top: 8px !important;
        margin-bottom: 8px !important;
    }

    .items-per-page button,
    .pagination button,
    .mobile-pagination button {
        font-size: 12px !important;
        line-height: 1.1 !important;
        padding: 4px 8px !important;
        min-width: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        border-radius: 5px !important;
        font-weight: 600 !important;
        box-shadow: none !important;
        opacity: 0.82 !important;
    }

    .items-per-page button:hover,
    .pagination button:hover,
    .mobile-pagination button:hover {
        opacity: 1 !important;
    }

    .pagination,
    .mobile-pagination {
        gap: 4px !important;
        margin-top: 8px !important;
        margin-bottom: 8px !important;
        font-size: 12px !important;
    }

    .pagination button.active,
    .mobile-pagination button.active,
    .items-per-page button.active {
        opacity: 1 !important;
        font-weight: 700 !important;
    }
}


/* re-match right cart spacing v14 */
@media (min-width: 769px) and (max-width: 1250px) {
    .rematch-header-tools #cart-link {
        width: 190px !important;
        min-width: 190px !important;
        max-width: 190px !important;
        right: 20px !important;
    }
}


/* re-match mobile compact filter rows v17
   Mobile: XXL w jednym rzędzie + produkty na stronę w jednej linii. */
@media (max-width: 768px) {
    #product-filters {
        width: calc(100% - 28px) !important;
        max-width: calc(100% - 28px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 14px 12px !important;
        box-sizing: border-box !important;
    }

    #product-filters .filter-group {
        display: grid !important;
        grid-template-columns: 78px repeat(7, auto) !important;
        align-items: center !important;
        column-gap: 10px !important;
        row-gap: 8px !important;
        margin-bottom: 14px !important;
    }

    #product-filters .filter-group-title {
        grid-column: auto !important;
        margin: 0 !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    #product-filters .filter-group label {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
        font-size: 15px !important;
        line-height: 1.1 !important;
    }

    #product-filters .filter-group input[type="checkbox"] {
        width: 18px !important;
        height: 18px !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
    }

    /* Damski ma 5 rozmiarów, dziecięcy 4 — zostają w pierwszym rzędzie po tytule. */
    #product-filters .filter-group:nth-of-type(2),
    #product-filters .filter-group:nth-of-type(3) {
        grid-template-columns: 78px repeat(5, auto) !important;
    }

    /*
      Produkty na stronę: wszystko w jednej linii.
      Zmniejszamy napis i przyciski tylko na mobile.
    */
    .items-per-page {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin: 18px auto 16px !important;
        font-size: 18px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    .items-per-page button {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 48px !important;
        height: 42px !important;
        padding: 5px 9px !important;
        box-sizing: border-box !important;
        font-size: 18px !important;
        line-height: 1 !important;
        border-radius: 8px !important;
        margin: 0 !important;
    }
}

@media (max-width: 420px) {
    #product-filters .filter-group {
        grid-template-columns: 64px repeat(7, auto) !important;
        column-gap: 7px !important;
    }

    #product-filters .filter-group:nth-of-type(2),
    #product-filters .filter-group:nth-of-type(3) {
        grid-template-columns: 64px repeat(5, auto) !important;
    }

    #product-filters .filter-group-title,
    #product-filters .filter-group label {
        font-size: 14px !important;
    }

    #product-filters .filter-group input[type="checkbox"] {
        width: 17px !important;
        height: 17px !important;
    }

    .items-per-page {
        gap: 5px !important;
        font-size: 16px !important;
    }

    .items-per-page button {
        min-width: 43px !important;
        height: 39px !important;
        padding: 4px 7px !important;
        font-size: 16px !important;
    }
}


/* re-match mobile filters/actions v18
   Poprawka po v17: męski rząd ciaśniejszy + akcje filtrów na dole. */
@media (max-width: 768px) {
    #product-filters {
        padding: 13px 10px !important;
    }

    /*
      Kluczowa zmiana: bardzo ciasna siatka, żeby:
      Męski: XXS XS S M L XL XXL
      weszło w jednym rzędzie.
    */
    #product-filters .filter-group {
        display: grid !important;
        grid-template-columns: 54px repeat(7, minmax(26px, auto)) !important;
        column-gap: 5px !important;
        row-gap: 7px !important;
        align-items: center !important;
        margin-bottom: 14px !important;
    }

    #product-filters .filter-group-title {
        grid-column: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 13px !important;
        line-height: 1.1 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    #product-filters .filter-group label {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 3px !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
        font-size: 13px !important;
        line-height: 1 !important;
        min-width: 0 !important;
    }

    #product-filters .filter-group input[type="checkbox"] {
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
        margin: 0 !important;
        flex: 0 0 15px !important;
    }

    #product-filters .filter-group:nth-of-type(2),
    #product-filters .filter-group:nth-of-type(3) {
        grid-template-columns: 54px repeat(5, minmax(28px, auto)) !important;
    }

    /*
      Przeniesione akcje na dół kafla:
      Schowaj sprzedane po lewej, Wyczyść filtry po prawej.
    */
    #product-filters .filter-actions.mobile-bottom-actions-v18 {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 12px 0 0 0 !important;
        padding: 12px 0 0 0 !important;
        border-top: 1px solid rgba(23,34,54,0.16) !important;
    }

    #product-filters .filter-actions.mobile-bottom-actions-v18 .hide-sold-label {
        order: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 14px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        flex: 0 1 auto !important;
    }

    #product-filters .filter-actions.mobile-bottom-actions-v18 .hide-sold-label input[type="checkbox"] {
        width: 17px !important;
        height: 17px !important;
        min-width: 17px !important;
        margin: 0 !important;
    }

    #product-filters .filter-actions.mobile-bottom-actions-v18 #clearFiltersBtn {
        order: 2 !important;
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        padding: 7px 10px !important;
        font-size: 13px !important;
        line-height: 1.1 !important;
        border-radius: 7px !important;
        white-space: nowrap !important;
    }

    /*
      Góra kafla Rodzaj bez dawnych akcji, aby nie robiła bałaganu.
    */
    #product-filters .filter-header {
        display: block !important;
    }

    #product-filters .filter-header > div:first-child {
        display: flex !important;
        align-items: center !important;
        gap: 18px !important;
        margin: 0 !important;
    }
}

@media (max-width: 390px) {
    #product-filters {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    #product-filters .filter-group {
        grid-template-columns: 48px repeat(7, minmax(23px, auto)) !important;
        column-gap: 4px !important;
    }

    #product-filters .filter-group:nth-of-type(2),
    #product-filters .filter-group:nth-of-type(3) {
        grid-template-columns: 48px repeat(5, minmax(25px, auto)) !important;
    }

    #product-filters .filter-group-title,
    #product-filters .filter-group label {
        font-size: 12px !important;
    }

    #product-filters .filter-group input[type="checkbox"] {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
        flex-basis: 14px !important;
    }

    #product-filters .filter-actions.mobile-bottom-actions-v18 .hide-sold-label {
        font-size: 13px !important;
    }

    #product-filters .filter-actions.mobile-bottom-actions-v18 #clearFiltersBtn {
        padding: 6px 8px !important;
        font-size: 12px !important;
    }
}


/* re-match mobile final layout v19
   Search/logo szerzej, menu jako floating left, cena pod filtrami, akcje pod rozmiarami. */
@media (max-width: 768px) {
    #product-search {
        width: calc(100% - 28px) !important;
        max-width: calc(100% - 28px) !important;
        margin: 18px auto 18px !important;
        box-sizing: border-box !important;
    }

    #product-search input,
    #searchInput {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        font-size: 15px !important;
    }

    #product-filters {
        width: calc(100% - 28px) !important;
        max-width: calc(100% - 28px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 14px 12px !important;
        box-sizing: border-box !important;
    }

    /*
      Męski: wymuszamy sensowne zawinięcie:
      1. rząd: Męski XXS XS S M L
      2. rząd:       XL XXL
      Dzięki temu XL/XXL są pod XXS/XS, a nie pod słowem Męski.
    */
    #product-filters .filter-group:first-of-type {
        display: grid !important;
        grid-template-columns: 54px repeat(5, auto) !important;
        column-gap: 8px !important;
        row-gap: 9px !important;
        align-items: center !important;
        margin-bottom: 15px !important;
    }

    #product-filters .filter-group:first-of-type .filter-group-title {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    #product-filters .filter-group:first-of-type label:nth-of-type(1) { grid-column: 2 !important; grid-row: 1 !important; }
    #product-filters .filter-group:first-of-type label:nth-of-type(2) { grid-column: 3 !important; grid-row: 1 !important; }
    #product-filters .filter-group:first-of-type label:nth-of-type(3) { grid-column: 4 !important; grid-row: 1 !important; }
    #product-filters .filter-group:first-of-type label:nth-of-type(4) { grid-column: 5 !important; grid-row: 1 !important; }
    #product-filters .filter-group:first-of-type label:nth-of-type(5) { grid-column: 6 !important; grid-row: 1 !important; }
    #product-filters .filter-group:first-of-type label:nth-of-type(6) { grid-column: 2 !important; grid-row: 2 !important; }
    #product-filters .filter-group:first-of-type label:nth-of-type(7) { grid-column: 3 !important; grid-row: 2 !important; }

    #product-filters .filter-group:first-of-type .filter-group-title,
    #product-filters .filter-group:first-of-type label {
        font-size: 13px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #product-filters .filter-group:first-of-type label {
        display: inline-flex !important;
        align-items: center !important;
        gap: 3px !important;
    }

    #product-filters .filter-group:first-of-type input[type="checkbox"] {
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
        margin: 0 !important;
        flex: 0 0 15px !important;
    }

    /*
      Pozostałe grupy zostają kompaktowe, ale bez agresywnego wciskania.
    */
    #product-filters .filter-group:not(:first-of-type) {
        display: grid !important;
        grid-template-columns: 70px repeat(5, auto) !important;
        column-gap: 8px !important;
        row-gap: 8px !important;
        align-items: center !important;
        margin-bottom: 14px !important;
    }

    #product-filters .filter-group:not(:first-of-type) .filter-group-title,
    #product-filters .filter-group:not(:first-of-type) label {
        font-size: 13px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    #product-filters .filter-actions.mobile-bottom-actions-v18,
    #product-filters .filter-actions.mobile-bottom-actions-v19 {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 14px 0 0 0 !important;
        padding: 12px 0 0 0 !important;
        border-top: 1px solid rgba(23,34,54,0.16) !important;
    }

    #product-filters .filter-actions.mobile-bottom-actions-v18 .hide-sold-label,
    #product-filters .filter-actions.mobile-bottom-actions-v19 .hide-sold-label {
        order: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 13px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        flex: 0 1 auto !important;
    }

    #product-filters .filter-actions.mobile-bottom-actions-v18 #clearFiltersBtn,
    #product-filters .filter-actions.mobile-bottom-actions-v19 #clearFiltersBtn {
        order: 2 !important;
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        padding: 7px 10px !important;
        font-size: 12px !important;
        line-height: 1.1 !important;
        border-radius: 7px !important;
        white-space: nowrap !important;
    }

    /*
      Kafelek ceny/waluty pod filtrami na mobile.
    */
    #rematch-price-tile-v9,
    #rematch-price-tile-v9.mobile-price-tile-v19 {
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 14px 0 0 0 !important;
        padding: 12px 0 0 0 !important;
        border: 0 !important;
        border-top: 1px solid rgba(23,34,54,0.16) !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #172236 !important;
        font-size: 13px !important;
    }

    #rematch-price-tile-v9 .price-title-v9 {
        font-size: 14px !important;
        font-weight: 800 !important;
        margin-bottom: 9px !important;
    }

    #rematch-price-tile-v9 label {
        font-size: 12px !important;
        font-weight: 700 !important;
    }

    #rematch-price-tile-v9 select,
    #rematch-price-tile-v9 input[type="number"] {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 7px 8px !important;
        font-size: 13px !important;
        border-radius: 7px !important;
    }

    #rematch-price-tile-v9 .price-row-v9 {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 9px !important;
        margin-top: 8px !important;
    }

    #rematch-price-tile-v9 input[type="range"] {
        width: 100% !important;
        margin-top: 8px !important;
    }
}

@media (max-width: 390px) {
    #product-filters .filter-group:first-of-type {
        grid-template-columns: 50px repeat(5, auto) !important;
        column-gap: 6px !important;
    }

    #product-filters .filter-group:first-of-type .filter-group-title,
    #product-filters .filter-group:first-of-type label,
    #product-filters .filter-group:not(:first-of-type) .filter-group-title,
    #product-filters .filter-group:not(:first-of-type) label {
        font-size: 12px !important;
    }

    #product-filters .filter-group:first-of-type input[type="checkbox"],
    #product-filters .filter-group:not(:first-of-type) input[type="checkbox"] {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
        flex-basis: 14px !important;
    }
}


/* re-match mobile stable filters/header v20
   Stabilne akcje filtrów + header strony głównej taki jak na podstronach. */
@media (max-width: 768px) {
    /*
      Strona główna: logo, tłumacz i kursy walut mają zachowywać się jak na podstronach.
      Usuwamy nietypowe odsunięcia/skalowania dla indexu.
    */
    .rematch-header {
        padding-top: 4px !important;
        margin-bottom: 14px !important;
    }

    .rematch-logo-box {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        margin: 10px auto 8px auto !important;
        box-sizing: border-box !important;
    }

    .rematch-logo-wrap,
    .rematch-logo-wrap img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    #google_translate_element,
    .rates-box,
    .exchange-rates,
    .currency-rates {
        max-width: calc(100% - 32px) !important;
        box-sizing: border-box !important;
    }

    /*
      Akcje filtrów: jedno stabilne miejsce pod sekcją Rozmiar.
      v18/v19 nie mogą już zmieniać ich układu.
    */
    #product-filters .filter-actions.mobile-actions-stable-v20,
    #product-filters .filter-actions.mobile-bottom-actions-v18,
    #product-filters .filter-actions.mobile-bottom-actions-v19 {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 12px 0 0 0 !important;
        padding: 12px 0 0 0 !important;
        border-top: 1px solid rgba(23,34,54,0.16) !important;
        position: static !important;
        transform: none !important;
    }

    #product-filters .filter-actions.mobile-actions-stable-v20 .hide-sold-label,
    #product-filters .filter-actions.mobile-bottom-actions-v18 .hide-sold-label,
    #product-filters .filter-actions.mobile-bottom-actions-v19 .hide-sold-label {
        order: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 13px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        flex: 0 1 auto !important;
    }

    #product-filters .filter-actions.mobile-actions-stable-v20 #clearFiltersBtn,
    #product-filters .filter-actions.mobile-bottom-actions-v18 #clearFiltersBtn,
    #product-filters .filter-actions.mobile-bottom-actions-v19 #clearFiltersBtn {
        order: 2 !important;
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        padding: 7px 10px !important;
        font-size: 12px !important;
        line-height: 1.1 !important;
        border-radius: 7px !important;
        white-space: nowrap !important;
    }

    /*
      Cena/waluta zawsze pod akcjami filtrów.
    */
    #rematch-price-tile-v9.mobile-price-stable-v20,
    #rematch-price-tile-v9.mobile-price-tile-v19,
    #rematch-price-tile-v9 {
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 14px 0 0 0 !important;
        padding: 12px 0 0 0 !important;
        border: 0 !important;
        border-top: 1px solid rgba(23,34,54,0.16) !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}


/* re-match mobile stable html actions v21
   Akcje filtrów są w HTML pod rozmiarami, więc nie skaczą przy scrollu. */
@media (max-width: 768px) {
    #product-filters .filter-actions-stable-html {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 12px 0 0 0 !important;
        padding: 12px 0 0 0 !important;
        border-top: 1px solid rgba(23,34,54,0.16) !important;
        position: static !important;
        transform: none !important;
    }

    #product-filters .filter-actions-stable-html .hide-sold-label {
        order: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 13px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        flex: 0 1 auto !important;
    }

    #product-filters .filter-actions-stable-html #clearFiltersBtn {
        order: 2 !important;
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        padding: 7px 10px !important;
        font-size: 12px !important;
        line-height: 1.1 !important;
        border-radius: 7px !important;
        white-space: nowrap !important;
    }

    #rematch-price-tile-v9.mobile-price-stable-v21,
    #rematch-price-tile-v9 {
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 14px 0 0 0 !important;
        padding: 12px 0 0 0 !important;
        border: 0 !important;
        border-top: 1px solid rgba(23,34,54,0.16) !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}


/* re-match product hash highlight v23 */
.rematch-hash-highlight-v23 {
    outline: 3px solid rgba(23,34,54,0.65) !important;
    outline-offset: 4px !important;
}


/* re-match product hash highlight v24 */
.rematch-hash-highlight-v24 {
    outline: 3px solid rgba(23,34,54,0.70) !important;
    outline-offset: 4px !important;
}



/* re-match price/mobile filters final fix v30
   1) Desktop: podwójny suwak ceny od/do.
   2) Mobile: waluta i cena pod filtrami, bez rozjeżdżania desktopu.
   3) Mobile: rozmiary nie wpadają między nagłówki grup. */
#rematch-price-tile-v9.rematch-price-tile-v30 {
    box-sizing: border-box !important;
}

#rematch-price-tile-v9 #rematchPriceResetV30 {
    width: 100% !important;
    margin-top: 8px !important;
    padding: 7px 10px !important;
    border: 1px solid #172236 !important;
    border-radius: 7px !important;
    background: #172236 !important;
    color: #fff !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

#rematch-price-tile-v9 .dual-range-v30 {
    position: relative !important;
    height: 30px !important;
    margin: 8px 0 4px 0 !important;
}

#rematch-price-tile-v9 .dual-range-v30::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 14px !important;
    height: 4px !important;
    background: rgba(23,34,54,0.28) !important;
    border-radius: 999px !important;
}

#rematch-price-tile-v9 .dual-range-v30 input[type="range"] {
    position: absolute !important;
    left: 0 !important;
    top: 4px !important;
    width: 100% !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    pointer-events: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

#rematch-price-tile-v9 .dual-range-v30 input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 17px !important;
    height: 17px !important;
    border-radius: 50% !important;
    border: 2px solid #172236 !important;
    background: #fff8ea !important;
    cursor: pointer !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.25) !important;
}

#rematch-price-tile-v9 .dual-range-v30 input[type="range"]::-moz-range-thumb {
    pointer-events: auto !important;
    width: 17px !important;
    height: 17px !important;
    border-radius: 50% !important;
    border: 2px solid #172236 !important;
    background: #fff8ea !important;
    cursor: pointer !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.25) !important;
}

#rematch-price-tile-v9 .dual-range-v30 input[type="range"]::-webkit-slider-runnable-track {
    background: transparent !important;
    border: 0 !important;
}

#rematch-price-tile-v9 .dual-range-v30 input[type="range"]::-moz-range-track {
    background: transparent !important;
    border: 0 !important;
}

@media (min-width: 769px) {
    #rematch-price-tile-v9.mobile-price-stable-v21,
    #rematch-price-tile-v9.mobile-price-stable-v30,
    #rematch-price-tile-v9.desktop-price-stable-v30,
    #rematch-price-tile-v9 {
        display: block !important;
        position: fixed !important;
        z-index: 9997 !important;
        box-sizing: border-box !important;
        background: rgba(233, 216, 182, 0.94) !important;
        border: 1px solid #c8b58d !important;
        border-radius: 10px !important;
        padding: 10px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,.15) !important;
        color: #172236 !important;
        font-size: 13px !important;
    }
}

@media (max-width: 768px) {
    #product-filters {
        overflow: visible !important;
    }

    #rematch-price-tile-v9,
    #rematch-price-tile-v9.mobile-price-stable-v21,
    #rematch-price-tile-v9.mobile-price-stable-v30,
    #rematch-price-tile-v9.rematch-price-tile-v30 {
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 14px 0 0 0 !important;
        padding: 12px 0 0 0 !important;
        border: 0 !important;
        border-top: 1px solid rgba(23,34,54,0.16) !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #172236 !important;
        font-size: 13px !important;
        left: auto !important;
        top: auto !important;
    }

    #rematch-price-tile-v9 .price-row-v9 {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 9px !important;
        margin-top: 8px !important;
    }

    #rematch-price-tile-v9 select,
    #rematch-price-tile-v9 input[type="number"] {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 7px 8px !important;
        font-size: 13px !important;
        border: 1px solid #b8a781 !important;
        border-radius: 7px !important;
        background: #fff8ea !important;
        color: #172236 !important;
    }

    #product-filters .filter-group,
    #product-filters .filter-group:first-of-type,
    #product-filters .filter-group:not(:first-of-type) {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px 10px !important;
        width: 100% !important;
        margin: 0 0 12px 0 !important;
        padding: 0 !important;
    }

    #product-filters .filter-group-title,
    #product-filters .filter-group:first-of-type .filter-group-title,
    #product-filters .filter-group:not(:first-of-type) .filter-group-title {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        display: block !important;
        margin: 0 0 2px 0 !important;
        padding: 0 !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    #product-filters .filter-group label,
    #product-filters .filter-group:first-of-type label,
    #product-filters .filter-group:not(:first-of-type) label {
        flex: 0 0 auto !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 13px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }

    #product-filters .filter-group input[type="checkbox"],
    #product-filters .filter-group:first-of-type input[type="checkbox"],
    #product-filters .filter-group:not(:first-of-type) input[type="checkbox"] {
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
        flex: 0 0 15px !important;
        margin: 0 !important;
    }
}
